Guest DanH48 Posted January 10, 2010 Report Posted January 10, 2010 Here is something I have just had to do so I dont have to keep switching back to my windows box to use adb using Ubuntu 9.10. This is assuming that you have already added the SDK to your path and made ADB an executable. 1. Check USB Debugging is enabled 2. Connect phone to PC with USB cable 3. Open a terminal and type lsusb There should be a line that shows up that looks like this Bus 001 Device 003: ID 0bb4:0c02 High Tech Computer Corp. This is our HTC Hero with vendorID 0bb4 and productID 0c02 4. Back to terminal and type sudo gedit /etc/udev/rules.d/51-android.rules 5. Now add in the following SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", MODE="0666" 6. Save and close the text editor 7. In terminal type sudo service udev reload 8. Reconnect phone and ADB away!
Guest commodoor Posted January 10, 2010 Report Posted January 10, 2010 If this isnt working, for example you are using older ubuntu distro. you have to name the file "50-android.rules"
Guest venturerider Posted January 10, 2010 Report Posted January 10, 2010 (edited) I just run the adb daemon as root, at startup: Create /etc/init.d/adbd: #!/bin/sh # # For ADB deamon (Android Device Bridge) # case "$1" in start) /opt/android-sdk-linux_86/tools/adb start-server ;; stop) /opt/android-sdk-linux_86/tools/adb kill-server ;; *) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac And link in /etc/rc2.d: lrwxrwxrwx 1 root root 16 2010-01-10 13:11 /etc/rc2.d/S10adbd -> /etc/init.d/adbd Edited January 10, 2010 by venturerider
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now