Disclaimer:
ADB tool isn't working on your Ubuntu/Mandriva/Arch Linux/openSUSE system(Linux)? When you type adb in Terminal you get a command not found? I'll show you how to fix it.
You'll need:
Extract android-sdk_r11-linux_x86.tgz and with the Terminal give:
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait about 30 minutes and you will have all SDK packages installed,adb too.
Go into your terminal and type:
Then paste in 99-android.rules this:
Then in terminal type:
Type this too:
Add this to the bottom of the file:
Reboot your PC.
ADB Is now fixed.
Check if your device is known by adb.
On your phone,go to Settings>Applications>Development and check USB debugging.
Type ./adb devices in the terminal.If you get an output like this:
Your phone is recognized.
Code:
#include <std_disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
ADB tool isn't working on your Ubuntu/Mandriva/Arch Linux/openSUSE system(Linux)? When you type adb in Terminal you get a command not found? I'll show you how to fix it.
You'll need:
Extract android-sdk_r11-linux_x86.tgz and with the Terminal give:
Code:
$ cd /home/user/extracted_folder/android-sdk-linux_x86/tools
$ ./android
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait about 30 minutes and you will have all SDK packages installed,adb too.
Go into your terminal and type:
Code:
$ sudo gedit [SIZE=4]/etc/udev/rules.d/99-android.rules[/SIZE]
Code:
#Google
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
#Acer
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
#Dell
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
#Foxconn
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
#Garmin-Asus
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
#HTC
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
#Huawei
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
#Kyocera
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
#LG
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
#Motorola
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#Nvidia
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
#Pantech
SUBSYSTEM=="usb", SYSFS{idVendor}=="10a9", MODE="0666"
#Samsung
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
#Sharp
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
#Sony Ericsson
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
#ZTE
SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", MODE="0666"
Code:
sudo chmod a+rx /etc/udev/rules.d/99-android.rules
Type this too:
Code:
sudo gedit .bashrc
Add this to the bottom of the file:
Code:
export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools
Reboot your PC.
ADB Is now fixed.
Check if your device is known by adb.
On your phone,go to Settings>Applications>Development and check USB debugging.
Type ./adb devices in the terminal.If you get an output like this:
Code:
[I]List of devices attached
XXXXXXXXXXXX device
[/I]
Your phone is recognized.
Last edited: