[TUTORIAL] ADB Workout Tutorial for Linux+Windows (100% working)
I found many having difficulty in getting adb working especially in linux so created this seperate fullproof thread as tried,tested & working method to get adb working.
This method can also be used for other Android phones which are not supported by google drivers (so called third party usb vendors).Replace 0x1d91 with your device vendor id.If u don't know vendor id then ask here I will guide u how to know vendor id.
If u don't have usb drivers for your device then also ask me I will guide how u can modify google usb drivers to use with your device.
Install JDK and Android SDK and update SDK.(google if u want to know how)
Turn on USB Debugging in phone in Settings>Applications>Development
Connect phone to PC & install drivers
Your pc may not find the drivers so go to Device Manager n Update Driver n choose location of the downloaded drivers.
Now Most important part.
Create adb_usb.ini file in C:\Users\YOUR USERNAME\.android folder and add following to the file.
0x1d91
(filename is adb_usb.ini, if u already have that file then delete it & create new one OR u can add 0x1d91 to next line without deleting anything in file.)
Save the file and exit.
OR
Download this adb_usb.ini file n place it in C:\Users\YOUR USERNAME\.android
Now open command prompt and navigate to platform-tools directory of android sdk.
Type "adb devices" without quote and hit enter.
Your Micromax A70 will show up in connected devices for sure.
No need to install 91pc suite anymore.
WINDOWS 7 64bit:
Same steps of above 32bit system but I added this to avoid Driver not signed problem at boot which forced to use F8 option to disable driver signing check.
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 and you will have all SDK packages installed,adb too.
Code:
sudo gedit /etc/udev/rules.d/99-android.rules
Then paste following in it.(I am writing code for Micromax only,there is a list of all manufactures,if u want I can give it.U can also get it using link at bottom from xda)
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'mdb' from package 'mono-debugger' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'mdb' from package 'mono-debugger' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
My ubuntu 11.04 doesn't recognize ADB!
did u updated your sdk?if not then 1st update it coz adb is not provided in tar.gz package of sdk.
@terminal, cd to android-sdk/tools and run ./android
this will open avd & sdk manager, install all available packages.
I had this problem earlier n solved by updating sdk.
Figured out the problem. The driver was not installed properly as it is not digitally signed. Now adb working. Thanks for the tutorial
Well good it worked.
And dude please use that big Thanks button on the post if u really thankful, anywhere in forum if u find something useful to u, hit the Thanks button.
i am getting access denied when i press enter on adb devices
Well it will help if u specify which system u r on n all steps u took.
Just make sure USB Debugging is on in Settings on phone & Device manager shows your device.
Try running command prompt with administrative privileges.
These are not solutions but wild guess only cause I don't know which system u r on...i m taking it for granted that u r on windows 7 32 bit.
Last edited by mastermind1024; December 2nd, 2011 at 01:47 PM.
just do this
right click on computer>click manage>click device manager>expand the adb interface section and see whether there is exclamation mark under Micromax A70 ADB Interface
Try what varun has said and did u created adb_usb.ini file and added 0x1d91 to it in .android folder which is in your home directory???
And man please elaborate your problem a little bit,answer what are u asked and possibly u can attach screenshots.
Quote:
Originally Posted by varun.chitre15
just do this
right click on computer>click manage>click device manager>expand the adb interface section and see whether there is exclamation mark under Micromax A70 ADB Interface
I told him in 1st place to check that i don't know why he is not explaining nicely.
Last edited by mastermind1024; December 2nd, 2011 at 11:57 PM.
i did that
i got that file already in the .android folder
there was something already written
i deleted that
and typed 0x1d91
saved
there was no exclamation mark on micromax a70 in adb
i did that
i got that file already in the .android folder
there was something already written
i deleted that
and typed 0x1d91
saved
there was no exclamation mark on micromax a70 in adb
was there another adb_usb.ini file already??????
hows that possible.
you have to create it.
i think that u must have edited another file.
i did that
i got that file already in the .android folder
there was something already written
Strange!!!
Dude it will sound strange(don't mind) but let me make it sure that u r using Micromax A70...(because 0x1d91 is for micromax only,u had adb_usb.ini file already so i suspected this.if u have some other phone then u have to change that value thats y i m asking,don't mind)
Make sure that USB Debugging is ON...
We are here to help,just give us what we ask.
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
this i got in the preloaded adb_usb.ini file
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
this i got in the preloaded adb_usb.ini file
Strange!!!
No idea.
Just try to uninstall and reinstall sdk and drivers also.
Or wait for other members.
They might have some proper soln
Last edited by varun.chitre15; December 3rd, 2011 at 04:25 AM.
Reason: Typo
I think google added this to its latest sdk revision 15 and platform-tools revision 9.
I m having sdk revision 13 and platform-tools revision 7.
I will update my sdk tonight and check for it.
Update u if I find something on this meanwhile just check what is your sdk & platform-tools revision in SDK Manager.
I think google added this to its latest sdk revision 15 and platform-tools revision 9.
I m having sdk revision 13 and platform-tools revision 7.
I will update my sdk tonight and check for it.
Update u if I find something on this meanwhile just check what is your sdk & platform-tools revision in SDK Manager.
i think i got the solution
delete that pre loaded file and create a new one
in the list of devices attached you will find b0da700505000150
i think i got the solution
delete that pre loaded file and create a new one
in the list of devices attached you will find b0da700505000150
Well I deleted the one which I created and then went to C:\SDK\tools & applied "android update adb" like I read in your post and it created adb_usb.ini file with the stuff u posted.
I tried adb then & it didn't show my device.
I opened that file again & without deleting anything added 0x1d91 to next line.
And again tried adb and guess what device showed in Connected devices list.
The Following User Says Thank You to mastermind1024 For This Useful Post:
Then paste following in it.(I am writing code for Micromax only,there is a list of all manufactures,if u want I can give it.U can also get it using link at bottom from xda)
It's easy, just open the logcat box, press ctrl+A to select all and right click -> export to files.
Problem: The log is not clear as it is in DDMS.
The sequence is not right
The Following User Says Thank You to akshaybz For This Useful Post: