Thanks to screaminbug for clue about udev rules.
On Android 2.x modified adb file may be no longer needed, 1.x probably does still need it though - try without changing adb file first.
1. Download and unpack somewhere Linux SDK: Android SDK | Android Developers and install Platform Tools with SDK Manager that you can run in terminal with
(there should be some way to install them in console with that tool, can't check it out now since I'm not on Linux at the moment... try 'tools/android help')
2.Download fastboot for Linux: HTC - Developer Center and adb: http://floe.butterbrot.org/external/adb.gz. Copy adb&fastboot to the sdk/platform-tools folder; cd to that folder in terminal and add necessary permissions:
3. In folder /etc/udev/rules.d/ create files(don't forget to replace user with your username!):
50-android.rules
90-android.rules
4. Refresh udev rules:
5. In file /home/user/.bashrc (replace user with your username) add line:
Replace /home/user/android-sdk-linux_x86 with your sdk directory path.
6. Log out&in to the terminal/start new terminal window if in X. Everything should work now.
On Android 2.x modified adb file may be no longer needed, 1.x probably does still need it though - try without changing adb file first.
1. Download and unpack somewhere Linux SDK: Android SDK | Android Developers and install Platform Tools with SDK Manager that you can run in terminal with
Code:
tools/android
2.Download fastboot for Linux: HTC - Developer Center and adb: http://floe.butterbrot.org/external/adb.gz. Copy adb&fastboot to the sdk/platform-tools folder; cd to that folder in terminal and add necessary permissions:
Code:
chmod +x adb
chmod +x fastboot
50-android.rules
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666", OWNER="user"
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666", OWNER="user"
Code:
reload udev
Code:
export PATH=${PATH}:/home/user/android-sdk-linux_x86/tools:/home/user/android-sdk-linux_x86/platform-tools
6. Log out&in to the terminal/start new terminal window if in X. Everything should work now.
Code:
sado@sado-pc ~/ $ adb devices
List of devices attached
I7500T9UxvXGy9F device
sado@asdf-pc:~$ fastboot devices
???????????? fastboot