[GUIDE] how to set up SDK to use ADB

If you have java installed or sdk please remove them from your pc its best you start from scratch...

1. Download JAVA the right one for your pc 32bit or 64bit: Java SE Downloads

JAVAdownload.png



2. Download SDK:
Android SDK | Android Developers

SDkdownload.png


3. After you install sdk it will open automatically, uncheck all but android sdk platform tools revision 3 and google usb driver. click install at the end

SDKsetup.png



4. download htc sync :
HTC Desire - Application - HTC Sync for all HTC Android Phones
 
Last edited by a moderator:
  • Like
Reactions: Guntherm
Common ADB commands

adb devices : as you have seen above this command allows you to see all devices connect

adb pull: it allows you to copy a file from your phone and place it in your Quick ADB folder.
for example:
i have a picture of Lloyd on my sdcard and i want to copy it into my computer and so i need to command to pull(copy from) tell it where and what i am pulling i need to state the path and the file i want copied. then i need to tell it what i want it called in the destination folder (in this case quick adb folder) so my command will look like this

adb pull /sdcard/Lloyd.jpg Lloyd.jpg

or lets say i want it to be called Cool.jpg

adb pull /sdcard/Lloyd.jpg Cool.jpg

This file will now appear in my Quick ADB folder

adb push: it allows you to copy a file from your Quick ADB folder and place it in on your phone.
for example:
This is the opposite of pull, so lets say i have a picture of Lloyd on my computer and i want to copy it into my phone, first i place it in my Quick ADB folder. Then i need to command to push(copy to). tell it what i am pushing, then tell it where in the phone i want it to go and what to call it

adb push Lloyd.jpg /sdcard/Lloyd.jpg

or lets say i want it to be called Cool.jpg

adb push Lloyd.jpg /sdcard/Cool.jpg

This file will now appear on my sdcard on my phone

adb reboot: this one is pretty simply just type adb reboot and your phone reboots without you even touching it.

adb reboot recovery: this is one of my favorites, not only does it reboot your phone but also reboots straight into recovery without you touching any button combination at all. this is great for people who flash alot of roms or if you have damaged keys

adb install : this is great for those of you who cannot sideload apps or just like to install quickly from your computer.
for example: lets say i have googlemaps.apk on my computer and want to install it on my phone. I simply move the googlemaps.apk to my quick adb folder and from the command prompt i type

adb install googlemaps.apk

when its done it will tell me if it was successful or not. you can then go to your app drawer and enjoy your new application, that simple.

MORE TO COME
 
Last edited by a moderator:
I've got both applications downloaded. Java is installed but when I try to open sdk to install it, it doesn't see java installed and it wants me to click on the link the DL again... Help?
 
I've got both applications downloaded. Java is installed but when I try to open sdk to install it, it doesn't see java installed and it wants me to click on the link the DL again... Help?

yeah thats what the enviroment variables section will be for in the mean time try this
http://forum.androidcentral.com/gen...sion-screen-capture-thru-sdk-windows-7-a.html
follow the same method but find the java path, it will probably be found somewhere like this
C:\Program Files\Java\jre6\bin
 
  • Like
Reactions: bkorver
did back and forward work?

yeah it did. im stuck now though. already renamed the PGO51MG file and flashed it. im trying to... Set up the two part exploit, to gain root and unlock MMC. but when i enter the command prompt. type in adb devices to see if my phone is connected it says its offline and i cant go any further. any ideas?:confused:
 
yeah it did. im stuck now though. already renamed the PGO51MG file and flashed it. im trying to... Set up the two part exploit, to gain root and unlock MMC. but when i enter the command prompt. type in adb devices to see if my phone is connected it says its offline and i cant go any further. any ideas?:confused:

did you put it in debugging mode again,
if thats done try
adb start-server
 
Huge props to Upstreammiami and DroidXcon. I was having crazy trouble getting adb to work, and between the two of them and combining advice from several different threads (by them especially), my kung fu is now strong! Perfect storm up and running!!! Thanks again, guys!
 
Huge props to Upstreammiami and DroidXcon. I was having crazy trouble getting adb to work, and between the two of them and combining advice from several different threads (by them especially), my kung fu is now strong! Perfect storm up and running!!! Thanks again, guys!

thanks bro , what steps were we missing that we can include here that would help others?
 
Once I found the path to get to my system tools it was money. Also helps to unzip the exploit file in the system tools folder. It may be common sense for some, but now I know, thanks to your helpful posts. I just had to bounce around a bit...

Sent from my ADR6400L using Tapatalk
 
Did all of these things...now what???

I'm a noob to droid coming from a bb storm2, interested in learning how to root. not afraid of command line, but would like someone "over my shoulder" looking on to make sure I'm doing everything ok...

Someone interested in walking me through this on pm or chat?
 
Did all of these things...now what???

I'm a noob to droid coming from a bb storm2, interested in learning how to root. not afraid of command line, but would like someone "over my shoulder" looking on to make sure I'm doing everything ok...

Someone interested in walking me through this on pm or chat?

There's a few members here that will walk you through every step. But reading and following directions are just as easy. Head over to YouTube and search for a "root thunderbolt" video. They're extremely handy to watch along the process.

Tbolt meatclaws via talkatap
 

Forum statistics

Threads
956,382
Messages
6,967,925
Members
3,163,525
Latest member
dextriminator