SOLVED: 'abd devices' can't recognize my device

JB_User

Member
Mar 16, 2013
10
0
1
I can't get 'Hello World' to work on my Android Device, which is a Samsung Galaxy Player running firmware version 2.3.5. I'm doing this on a Linux machine.

I ran the command 'adb devices' as suggested in Using Hardware Devices | Android Developers. It's supposed to recognize my device, but it's output is:
?????????? no permissions
.
I think that must be the source of the problem, but it's difficult to do a web search on '?????????? no permissions'. Does anyone know what I must do to fix this so that 'adb' recognizes my device? Thank you!
 
Last edited:
Re: 'abd devices' can't recognize my device

Run the commands:
Code:
adb kill-server
adb start-server
as root.

Then try adb devices as a normal user
 
Re: 'abd devices' can't recognize my device

Hey! I fixed it. In case anyone else runs into this problem, I did these steps

Create file: /etc/udev/rules.d/51-android.rule with content (I have no idea what this actually does):
KERNEL=="sd[b-g]", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="galaxy-%k-%n", IMPORT{program}="ata_id --export $tempnode"

Then I stopped and restarted the adb server (as root)
adb kill-server
adb start-server

And after that, my device shows in 'adb devices'.

Thanks to all that were about to help me, but didn't get a chance to respond in time. :)
 
Re: 'abd devices' can't recognize my device

Thanks, Jerry. I didn't see your reply but I figured it out.
 
Re: 'abd devices' can't recognize my device

Cool deal.

What that 51-android.rule file did was put a udev rule in place that lets you run adb as a normal user. That was our next step if stopping/starting as root worked :P
 

Trending Posts

Forum statistics

Threads
956,768
Messages
6,969,942
Members
3,163,616
Latest member
tonga94