[GUIDE] (For Noobs) SDK, ADB, and Drivers

Search This thread

MLIGN

Senior Member
Sep 7, 2009
464
198
Houston
Hello all! Here is a guide I am going to show for you so you can get Android SDK and ADB working on your computer and learn your way around Android.


[Note] I am doing this on a Windows 7 Home Premium 64bit computer.


Step 1. Get Java. Download Links Here

First what we need to do is download and install Java for your computer.
Since mine is a 64bit I will need to download both the 64 and 32 bit versions of Java.
If your computer is 64bit you will need to download both.
If 32bit download only the 32bit version.

Once you have Java installed we can move on to the next step.


Step 2. Get Android SDK Download Link Here

Since we have installed Java now we move on to Android SDK.

For Windows users you have 2 options to download SDK.
I chose the .zip file over the .exe Download to the zip
Once finished with the download extract the .zip file.

After zip is extracted open the folder called "android-sdk_r11-windows"

With that open click on the folder, "android-sdk-windows", to rename it.
Rename it AndroidSDK
Open Computer from the Start Menu

For me my Local Disk is C: so I am going to place the folder AndroidSDK in my Local Disk C: drive

Now we have SDK placed in our Local Disk drive now we are going to open the folder and run the .exe called "SDK Manager"
After it loads up it will show you a screen like this.

Just hit Cancel
From the next menu click "Available packages"
Click the drop down arrow on the "Android Repository"
Check the box "Android SDK Platform-tools, revision 5"

At the bottom right of the windows you will see a box "Install Selected" click that and then you will be prompted to download and install the package click "Install"
After it is downloaded you will be prompted with this.

Click Yes, then it should say "Done. 1 Package installed."
Click close and close out of the SDK Manager, bring back up your AndroidSDK.
You should have a file named "platform-tools" open it and select all the files.
Right click and select cut.

Now we are going to go back in our SDK folder open "tools" and paste
You will get a message saying there are already files with the same name, just tell it to replace that file.
This is what it should look like afterwards.

Now we are done with AndroidSDK!

Step 3. Download HTC Sync Download Page Here

Now we have our SDK setup we are close to having our phone ready for ADB.
Download HTC Sync (It is a rather large file 148MB)

This will give us our Drivers for our Sensation.
Once downloaded run the .exe file and follow the on screen instructions.

Once finished go to your phone and go to Settings/Applications/Development and Check USB debugging is on. Now connect your phone to your computer.

Now that your computer has installed your drives we can now use ADB!

Step 4. Conclusion
So far the things we have done were to get us to use our phones for ADB to use a program like, "Fre3vo" to where we can have a temp-root.

Now lets see if our hard work has paid off.

Go to the Start and open command prompt (type cmd in the search and hit enter)

Once your at this stage on the command prompt
type
"cd\"
"cd androidsdk\tools\"
"adb devices"
(don't include the quotation marks)

You should see your device come up like so.


Congratulations you now have everything you need to being!
 
Last edited:

salman saso

Senior Member
Sep 21, 2008
159
23
Thanks.

This is really cool man.

I have a dumb qustion after I do all this then what should I do
and how I push ADB ?:p
 
Last edited:
  • Like
Reactions: CoX26

MLIGN

Senior Member
Sep 7, 2009
464
198
Houston
Last edited:

bobsbbq

Senior Member
Jun 8, 2008
5,208
356
Cleveland, TX
Just a little tip to save a few key strokes. To get to a cmd prompt and be ready to start typing commands right away, just navigate to the AndroidSDK directory and open it. Then hold the shift key + right click on Tools folder, you will see a option for opening a cmd prompt here.

Just saves a few strokes.
 

PiloterB

Member
Oct 19, 2009
35
0
First Of all tnx for the !

i did exactly how you wrote.
but i have a problem

i have win7 64 bit
 

Attachments

  • Capture.jpg
    Capture.jpg
    92.9 KB · Views: 586

MLIGN

Senior Member
Sep 7, 2009
464
198
Houston
i did exactly how you wrote.
but i have a problem

i have win7 64 bit

Do you have a virus protection program open?
Try to disable the virus protection program first, if that doesn't work. I have another way to get the drivers.
It's a bit more complicated but it works.

I made this guide on a brand new computer, and wrote this guide from a brand new computer stand point. So I didn't have any virus protection or any firewall programs.

Try to reboot and uninstall HTC Sync and reinstall.

Hope this helps!
 

EddyOS

Senior Member
Jan 2, 2010
15,279
4,034
London
Slightly easier way to get ADB and Fastboot running in ANY window without having to go to the SDK folder each time (this is for Windows 7 but should work in other Windows version too):

1. Click 'Start and right-click on 'Computer'
2. Go to 'Properties'
3. Click on 'Advanced system settings' in the top-left corner
4. Click the 'Environment variables...' button
5. In the bottom pane, scroll down to the 'Path' entry and then add the location of the SDK to the end of the line, using a ; to seperate it from the previous entry

Voila, you can just open a CMD windows and type adb and you're good to go!
 

Attachments

  • ADB.jpg
    ADB.jpg
    94.1 KB · Views: 514

shorty87

Senior Member
Jun 8, 2011
402
44
Austin, TX
Thanks so much for this guide. This is my first Android phone so I am a complete noob. I'm gonna try the temp root now!

Sent from my HTC Sensation 4G using XDA App
 

MLIGN

Senior Member
Sep 7, 2009
464
198
Houston
Slightly easier way to get ADB and Fastboot running in ANY window without having to go to the SDK folder each time (this is for Windows 7 but should work in other Windows version too):

1. Click 'Start and right-click on 'Computer'
2. Go to 'Properties'
3. Click on 'Advanced system settings' in the top-left corner
4. Click the 'Environment variables...' button
5. In the bottom pane, scroll down to the 'Path' entry and then add the location of the SDK to the end of the line, using a ; to seperate it from the previous entry

Voila, you can just open a CMD windows and type adb and you're good to go!

I have this done to mine, I just didn't want to overload newcomers on all this info real quick.
 
  • Like
Reactions: sargonkano

Top Liked Posts

  • There are no posts matching your filters.
  • 142
    Hello all! Here is a guide I am going to show for you so you can get Android SDK and ADB working on your computer and learn your way around Android.


    [Note] I am doing this on a Windows 7 Home Premium 64bit computer.


    Step 1. Get Java. Download Links Here

    First what we need to do is download and install Java for your computer.
    Since mine is a 64bit I will need to download both the 64 and 32 bit versions of Java.
    If your computer is 64bit you will need to download both.
    If 32bit download only the 32bit version.

    Once you have Java installed we can move on to the next step.


    Step 2. Get Android SDK Download Link Here

    Since we have installed Java now we move on to Android SDK.

    For Windows users you have 2 options to download SDK.
    I chose the .zip file over the .exe Download to the zip
    Once finished with the download extract the .zip file.

    After zip is extracted open the folder called "android-sdk_r11-windows"

    With that open click on the folder, "android-sdk-windows", to rename it.
    Rename it AndroidSDK
    Open Computer from the Start Menu

    For me my Local Disk is C: so I am going to place the folder AndroidSDK in my Local Disk C: drive

    Now we have SDK placed in our Local Disk drive now we are going to open the folder and run the .exe called "SDK Manager"
    After it loads up it will show you a screen like this.

    Just hit Cancel
    From the next menu click "Available packages"
    Click the drop down arrow on the "Android Repository"
    Check the box "Android SDK Platform-tools, revision 5"

    At the bottom right of the windows you will see a box "Install Selected" click that and then you will be prompted to download and install the package click "Install"
    After it is downloaded you will be prompted with this.

    Click Yes, then it should say "Done. 1 Package installed."
    Click close and close out of the SDK Manager, bring back up your AndroidSDK.
    You should have a file named "platform-tools" open it and select all the files.
    Right click and select cut.

    Now we are going to go back in our SDK folder open "tools" and paste
    You will get a message saying there are already files with the same name, just tell it to replace that file.
    This is what it should look like afterwards.

    Now we are done with AndroidSDK!

    Step 3. Download HTC Sync Download Page Here

    Now we have our SDK setup we are close to having our phone ready for ADB.
    Download HTC Sync (It is a rather large file 148MB)

    This will give us our Drivers for our Sensation.
    Once downloaded run the .exe file and follow the on screen instructions.

    Once finished go to your phone and go to Settings/Applications/Development and Check USB debugging is on. Now connect your phone to your computer.

    Now that your computer has installed your drives we can now use ADB!

    Step 4. Conclusion
    So far the things we have done were to get us to use our phones for ADB to use a program like, "Fre3vo" to where we can have a temp-root.

    Now lets see if our hard work has paid off.

    Go to the Start and open command prompt (type cmd in the search and hit enter)

    Once your at this stage on the command prompt
    type
    "cd\"
    "cd androidsdk\tools\"
    "adb devices"
    (don't include the quotation marks)

    You should see your device come up like so.


    Congratulations you now have everything you need to being!
    6
    Just a little tip to save a few key strokes. To get to a cmd prompt and be ready to start typing commands right away, just navigate to the AndroidSDK directory and open it. Then hold the shift key + right click on Tools folder, you will see a option for opening a cmd prompt here.

    Just saves a few strokes.
    4
    Very good tutorial, thx.

    Sent from my HTC Sensation Z710e using XDA Premium App

    I tried to add every bit of detail that is why it is so long and with many pictures for new people coming to the Sensation and don't know where or what to do. Thanks for you complement. :)
    3
    Very good tutorial, thx.

    Sent from my HTC Sensation Z710e using XDA Premium App
    3
    excellent guide . very positive approach /

    now waiting for permanent root /


    Thanks for the comment! I hope this gets pinned so many new comers will know where to start. I hope we get S-OFF soon!

    Sent from my HTC Sensation 4G using XDA App