English
Ask Your Question
1

udev rules for android device fedora 21

asked 2015-01-19 21:34:39 +0000

precz gravatar image

Hi,

I have a problem setting up my android device. It's not being detected by adb.

I've tried the configration from http://developer.android.com/tools/device.html -> '3. Set up your system to detect your device.' -> 'If you're developing on Ubuntu Linux...'

It have worked on older version of fedora but it fails now. Could you please help me with that?

edit retag flag offensive close merge delete

Comments

Read here https://ask.fedoraproject.org/en/question/9871/mount-ntfs-partition-on-demand-without-password/ You need change the rules for udisk and PolicyKit

davidva ( 2015-01-20 06:53:40 +0000 )edit

putting things in /etc/udev/rules.d/ works for me. But didn't yet try adb on fedora 21

Aleksandar Kostadinov ( 2015-01-20 07:00:56 +0000 )edit

what is the output of adb devices?

jcuenod ( 2015-01-20 09:41:30 +0000 )edit

the output is: $ adb devicesList of devices attached???????????? no permissions

precz ( 2015-01-20 19:46:01 +0000 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2015-01-21 19:52:23 +0000

precz gravatar image

When I copied rule from Mozilla page it has been copied with instead of ".

Thanks for help!

edit flag offensive delete link more

Comments

Glad you figured it out; now you can ACCEPT your answer as the solution to your problem.

ILMostro ( 2015-01-21 21:24:05 +0000 )edit

20 points required to accept or unaccept your own answer to your own question

precz ( 2015-03-21 19:46:07 +0000 )edit

Good job; there you go.

ILMostro ( 2015-03-23 09:43:28 +0000 )edit
0

answered 2015-01-27 07:48:03 +0000

M0Rf30 maintains a Github repo for udev rules for most of the popular devices. You can get them easily as follows.

cd /etc/udev/rules.d
wget https://raw.githubusercontent.com/M0Rf30/android-udev-rules/master/51-android.rules
chmod a+r /etc/udev/rules.d/51-android.rules
edit flag offensive delete link more

Comments

Thanks for the link, but this is not the best practice... to just copy random untrusted code from github into your linux configs. Some sort of verification screen would be preferable... perhaps a tunnel to nano and save as a requirement. Still, thank you!

rayfoss ( 2015-08-24 15:42:11 +0000 )edit

If you would like to turn this into proper rpm package that would be very appreciated.

sudhirkhanger ( 2015-08-30 19:23:13 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-19 21:34:39 +0000

Seen: 3,164 times

Last updated: Jan 27 '15