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

Search This thread

Statixx91

New member
Mar 13, 2012
4
0
No device listed

First off, really nice Guide. :)
I did everything and it worked fine so far but now I'm encountering a problem.

When I enter adb devices, daemon starts but my device is not shown. I've aleady searched for a solution but couldn't find anything helpful.

Would be great if someone could help me. Thanks in advance.
 

xdaco

Senior Member
Jun 26, 2011
863
444
Kolkata
www.musarraf.com
First off, really nice Guide. :)
I did everything and it worked fine so far but now I'm encountering a problem.

When I enter adb devices, daemon starts but my device is not shown. I've aleady searched for a solution but couldn't find anything helpful.

Would be great if someone could help me. Thanks in advance.


which phone do you use ? are you on windows?? did you install driver?? Is you device listed in device manager??
 

Statixx91

New member
Mar 13, 2012
4
0
Sorry, was kinda stupid to ask without any information :/

I have the HTC Sensation and I use Windows 7. I have installed every driver and it is also listed in the device manager.
HTC Sync and everything else works well on my pc.
 

Statixx91

New member
Mar 13, 2012
4
0
I killed HTC Sync but it's still not working.
I also tried the whole guide on my laptop (win Vista 32bit) but it's the same problem. If I get the chance I'll try it out on another computer (win xp 32bit) tomorrow.

Thanks so far musarraf172 =)
 
Last edited:

xdaco

Senior Member
Jun 26, 2011
863
444
Kolkata
www.musarraf.com
I killed HTC Sync but it's still not working.
I also tried the whole guide on my laptop (win Vista 32bit) but it's the same problem. If I get the chance I'll try it out on another computer (win xp 32bit) tomorrow.

Thanks so far musarraf172 =)


kill HTC sync

Then RUN

adb kill-server
adb start-server
adb devices


If it fails , then may be the HTC new driver causing the issue. I had no pain to setup adb on win7 32bit /64 bit and Ubuntu 10.10 / 11.04 /11.10 32bit .
Some guys got problem with new HTC driver. Try to use the old driver available on XDA.
 
Last edited:

fandroid93

Senior Member
Aug 30, 2009
378
55
Nice tutorial but OP check out this tutorial, really just step 3. Adding the path makes it so you can enter adb commands from any directory which is nice for obvious reasons.

Also I needed JDK and not just standard Java.
 

pipz

Member
Apr 16, 2011
6
0
Thank you for your quick response.

I already paste this file PG58IMG.zip on the sd sard root folder. the android-info.txt inside that zip is modified with a value I get from CID getter. below is the CID and MID of my sensation xe phone

modelid: PG5813001
cidnum: HTC_044

can you help me to create the correct android-info.txt? it seems that some syntax is missing or with spaces.

Thank you very much in advance.....
 

Statixx91

New member
Mar 13, 2012
4
0
kill HTC sync

Then RUN

adb kill-server
adb start-server
adb devices


If it fails , then may be the HTC new driver causing the issue. I had no pain to setup adb on win7 32bit /64 bit and Ubuntu 10.10 / 11.04 /11.10 32bit .
Some guys got problem with new HTC driver. Try to use the old driver available on XDA.

This didn't work either but I managed to get a connection when I changed the connection type from charge only to htc sync and back =)

But now I've tried installing about 5 different ICS roms but I always end up in a bootloop. I already did a data and cache wipe but it didn't change anything :/


EDIT:
Nevermind, it seems that there was a Problem with the Firmware version. After installing it again, everything went fine and I got my Sensation with Android 4.0 Sensless =)
Thx Musarraf172
 
Last edited:

xdaco

Senior Member
Jun 26, 2011
863
444
Kolkata
www.musarraf.com
This didn't work either but I managed to get a connection when I changed the connection type from charge only to htc sync and back =)

But now I've tried installing about 5 different ICS roms but I always end up in a bootloop. I already did a data and cache wipe but it didn't change anything :/


EDIT:
Nevermind, it seems that there was a Problem with the Firmware version. After installing it again, everything went fine and I got my Sensation with Android 4.0 Sensless =)
Thx Musarraf172

Glad to see that you figured it out. !! :D:D
 

bigchunks_atb

Member
Jan 24, 2012
7
1
I did everything as written by OP, but there is no fastboot in \tools\ folder. Am I doing something wrong? Got "Android SDK Tools Rev. 15" and "Android SDK Platform-tools Rev. 9" installed. No fastboot, anywhere :(

As far as I recall, the fastboot executable has been moved from /tools to /platform-tools

---------- Post added at 11:43 AM ---------- Previous post was at 11:35 AM ----------

First off, really nice Guide. :)
I did everything and it worked fine so far but now I'm encountering a problem.

When I enter adb devices, daemon starts but my device is not shown. I've aleady searched for a solution but couldn't find anything helpful.

Would be great if someone could help me. Thanks in advance.

Try enabling USB debugging on your phone at Settings > Applications > Development > USB debugging. There should be a checkmark beside USB debugging. See if "adb devices" now works. :)

---------- Post added at 11:51 AM ---------- Previous post was at 11:43 AM ----------

What exactly is all this for?

The guide is for setting up the Android Software Development Kit (SDK) on one's computer. :) It is most useful to those who develop Android apps. It is also useful to non-developers of apps, especially the tools called adb and fastboot.

Before getting ICS on my Sensation XE, I've always wondered how ICS looked and felt like. I installed the SDK and ran an Android Virtual Device through the emulator. T'was uber cool. But, now I have ICS on my Sensation XE.
 

ravi_mytouch

Senior Member
Jan 23, 2012
58
3
When should you flash the Kernel?

When you are changing ROMs, should you always flash the kernel separately. If I have understood correctly, CWM does not flash the kernel.. right?
 

MLIGN

Senior Member
Sep 7, 2009
464
198
Houston
People still use this? If it is still any bit helpful let me know I will try to update it the best I can!

Cheers!
 

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