[HOWTO] Linux ADB, fastboot, mass storage

[HOWTO] Linux ADB, fastboot, mass storage by sado1


1. Download and unpack somewhere Linux SDK: Android SDK | Android Developers

2.Download fastboot: http://android-dls.com/files/linux/fastboot and adb: http://floe.butterbrot.org/external/adb.gz.
Copy adb&fastboot to the sdk/tools folder; cd to that folder in terminal and add necessary permissions:

chmod +x adb
chmod +x fastboot

3. In folder /etc/udev/rules.d/ create files(don’t forget to replace user with your username!):
50-android.rules

SUBSYSTEM==”usb”, SYSFS{idVendor}==”18d1″, MODE=”0666″, OWNER=”user”

90-android.rules

SUBSYSTEM==”usb”, SYSFS{idVendor}==”04e8″, MODE=”0666″, OWNER=”user”

4. Refresh udev rules:

reload udev

5. In file /home/user/.bashrc (replace user with your username) add line:

export PATH=${PATH}:/home/user/android-sdk-linux_x86/tools

Replace /home/user/android-sdk-linux_x86/tools with your sdk/tools directory path.

6. Log out&in to the terminal/start new terminal window if in X. Everything should work now.

sado@sado-pc ~/ $ adb devices

List of devices attached

I7500T9UxvXGy9F device

sado@asdf-pc:~$ fastboot devices
???????????? fastboot

Done.
Source: Androidforums.com

Leave a comment

Your email address will not be published. Required fields are marked *

One thought on “[HOWTO] Linux ADB, fastboot, mass storage”