prboy1969 (11-12-2011)
We are a friendly community of Android custom Roms developers and users. If this is your first visit, be sure to check out the forum rules. You will need to register before you can post, and as a registered user you will also see fewer advertisements. Join us now to become a part of one of the most helpful Android community online and get the max from your phone!
ADB Guide - How to install, setup, and use ADB.
First off I am not the originator of this guide, I just combined a couple of guides from two guys over on xda, nephron and joeykrim. I just updated it with some updated links and instructions. The newer version seemed to do a lot of the steps that were in his guide therefore I didn't need to do them to get adb to work.
Jadeboy and Coiledwire help me with this guide as well, so be sure to give them some imaginary thanks!![]()
If you are using a mac or linux machine search joeykrims guide for the download links.
I am no expert at adb commands, however if you post in here your questions I can guarantee that Jadeboy will have you an answer in about 10.5 seconds or you can go to Tommy "the Killer" Tomatoes thread he started here (work in progress).
Link to the Android SDK site, you might check here to see if there is an updated version of the SDK that I have link below(installer_r10)
--------------------------------------------------------------------------
Things you need:
Android SDK - Download
7-zip - Download
Win 7 Drivers- Download-thanks shep 211
HTC Sync-The one that is in the SD card that came with your phone will work
Windows PC
USB Cable
A Rooted HTC EVO
--------------------------------------------------------------------------
Setting up the Android SDK
I installed the drivers and htc sync first, I am not sure if that matters or not.
Download the file SDK file from above and accept defaults to install it.
Once installed make sure the box is checked that says "Start SDK Manager" and hit finish.
Once SDK Manager opens click on the accept all radio button and hit install. Be patient it will take awhile.
Any problems or questions go here.
Once completed move the "android-sdk" folder from c:\program files(x86)\android to the root of your hard drive C:\.
This is a large folder so be patient it's going to take awhile, good time to go get some coffee, potty break, etc.![]()
Right click on My Computer and click properties
Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
Select Environment Variables...
On the bottom half (system variables)
go to PATH and edit it to include C:\android-sdk\platform-tools
Make sure to separate it from the rest of the ones in there by a semicolon
Hit Ok
*The reason for this is so that you can run adb from any folder on your drive so that you don't have to copy your files to the tools folder. Big thanks to jadeboy and coiledwire for helping me figure this out.
--------------------------------------------------------------------------
Preparing your phone for ADB
If you are running MikFroyo USB Debugging should be checked by default but you can double check it if you want.
Go to Settings on your phone
Select Applications
Select Development
Make sure 'USB Debugging' is checked
--------------------------------------------------------------------------
Installing Drivers
Plug in your phone through USB and it should automatically install the drivers. I've done this 4 times and every time it finds the phone just fine.
If not check out nephron's thread on xda linked above.
--------------------------------------------------------------------------
Check if your phone is detected by ADB
Open up Command Prompt (Go to run, type in cmd, press enter)
Type in
Now you are all set to run adb commands. Tommy "the Killer" Tomatoe has a thread started here, not much on there yet, just the beginning. Listed below are some basic command you can do through adb.Code:cd C:\android-sdk\platform-tools === Press Enter adb devices === You should see your device listed adb shell === you should see # in the next line
Reboot phone command
Pull System apps from your phone onto computerCode:adb reboot
Push apps back to phone from the computerCode:adb pull /system/app
Delete existing apps on SDCode:adb push app /system/app
From Recovery ScreenCode:adb shell rm -r /system/sd/app adb shell rm -r /system/sd/app-private
Sending an update file to your SD card:
Remount remounts the /system partition as writable (or readonly if it is already writeable)Code:adb shell mount /sdcard adb shell rm /sdcard/update.zip adb push *filename* /sdcard/update.zip
To control the phone remotely. Like you were in terminal on phoneCode:adb remount
Another good place to look for common commands is here and also in Tommy's thread.Code:adb shell
Note: for a list of commands type in 'adb' in cmd
CONGRATS YOU NOW HAVE ADB FULLY RUNNING!![]()
![]()
Current Device: HTC Thunderbolt
Help me get some more space on dropbox please!!!! http://db.tt/eBClH7r
If you like/support/use my work. Feel free to
Thank you very much
Samsung Galaxy S 3 / HTC EVO Shift 4G / OG EVO4G
Forum Rules and Usage ------------INSTRUCTIONS FOR FLASHING
Have a Problem ? LOOK HERE FIRST ( Thank you jadeboy7 )
Exploding Noema: The precise moment when your mind cannot differentiate between perception and reality
ok i have a problem i finally got around to installing all the bells and whistles of sdk and what not set the environmental variables installed sync and drivers multiple times but adb is not finding my phone?????? help please
Well i do adb devices
List of attached devices
Nothing shows up
Adb shell
Error no device detected
Ill try thr remount later
Last edited by turkbot; 03-06-2012 at 04:41 PM.
mine says no device connected ??
Try a different USB cable. Also try rebooting the PC, and the device.
What i did to get it to work is go into device manager after uninstall the htc drivers is manually install drivers from the link in the post and then reboot and boom it works......for me anyway
Bookmarks