Ask Your Question
1

udev rules for android device fedora 21

asked 2015-01-19 15:34:39 -0500

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

davidva gravatar imagedavidva ( 2015-01-20 00:53:40 -0500 )edit

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

Aleksandar Kostadinov gravatar imageAleksandar Kostadinov ( 2015-01-20 01:00:56 -0500 )edit

what is the output of adb devices?

jcuenod gravatar imagejcuenod ( 2015-01-20 03:41:30 -0500 )edit

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

precz gravatar imageprecz ( 2015-01-20 13:46:01 -0500 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2015-01-21 13:52:23 -0500

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 gravatar imageILMostro ( 2015-01-21 15:24:05 -0500 )edit

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

precz gravatar imageprecz ( 2015-03-21 14:46:07 -0500 )edit

Good job; there you go.

ILMostro gravatar imageILMostro ( 2015-03-23 04:43:28 -0500 )edit
0

answered 2015-01-27 01:48:03 -0500

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 gravatar imagerayfoss ( 2015-08-24 10:42:11 -0500 )edit

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

sudhirkhanger gravatar imagesudhirkhanger ( 2015-08-30 14:23:13 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-01-19 15:34:39 -0500

Seen: 4,334 times

Last updated: Jan 27 '15