[GUIDE] Set up Android SDK (ADB) for Windows 8 / 8.1 / [ADB][Bootloader][Fastboot]

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
Android SDK - Powerful tool and easy to set up for use with your HTC One M8


Note - Java is needed to Run SDK Manager -
Install JAVA​



The Reason that you would want to use Android SDK is because its very easy, it's well updated and it just WORKS! There is much more use with HTC devices with adb then with Samsung when it comes to the daily things like splash screens, radio updates, firmware. You will be dealing a lot with the bootloader and fastboot flashing. So to help out, I will post a helpful guide to help you get started for use with the HTC One M8.​




USB 3.0 Information if Needed








Part 1. Follow These Steps Below - (Preparation)



1. Download Android SDK For Windows


2. Click the
either the 32bit version or 64bit version


3. Create a folder in the C: and name it Android. See below



4. Place adt-bundle-windows in the Android Folder you just created. Use WinZip, WinRAR or 7-Zip to extract the contents inside the folder. See Below



5. Once extracted, Double click SDK Manager and instal all 4.4.2 and 4.3 items and under tools (SDK Tools and Platform Tools). See Picture Below



6. After all packages are installed and updated, download the latest HTC Sync Manager and install once download completes

7. Once Sync Manager completes installation process, go to control panel and uninstall HTC Sync Manager only, you will see HTC Driver in there as well (LEAVE IT THERE)

8. Important, make sure you enable developer options and turn on USB Debugging. Instructions Below if you are unsure how to do that



1. Go to Settings > About > Software information > More > Tap Build Number 5x
2. Once you get notification saying Developer options is unlocked go back to > settings
3. Click Developer options
4. Add check in the box USB Debugging



9. Plug phone into the computer and let it install all the drivers, you should see pop ups.


The Computer and Phone are now prepped for you to start the whole ADB Process


Part 2. Verifying ADB is set up properly and Working




1. Open Command Prompt and Change directories to your platform-tools folder. This is where all the adb files are located. See Below


In Command Prompt Type - Refer to Part 3 so you no longer need to Change Directory

Code:
cd c:\Android\sdk\platform-tools


2. In Command prompt type
Code:
adb devices


3. If your output shows your device attached like below, then you are good to go!!!







YOU ARE FINISHED!!! Below is a command to get into the bootloader if interested!! Good Luck


Part 3. Environment Variables - No need to Change Directory in Command Prompt Anymore (This is if you want to - Not Required)




1. Press Win+R, then type sysdm.cpl



2. Click Advanced Tab



3. Click Environment Variables Button



4. Under System Variables, find Path, click to highlight it and then hit the edit button



5. Go to the end of the Variable Value and add the following exactly as you see it in the code box below

Code:
;C:\Android\sdk\platform-tools


6. Click OK to accept the changes you just added

7. Open Command Prompt again to verify by pressing Win+R and type cmd and hit enter



8. Once Command Prompt is open -> Simply type adb devices with your device connected with USB Debugging already enabled



9. If you did everything correctly, there is no need to change paths anymore



Getting into the Bootloader

In Command Prompt Type:

Code:
adb reboot bootloader

Thanks To:
Ashraf - Images used for Environment Variables - Not all were his since the guide was modified
 
Last edited:

detr0yt

Senior Member
Dec 8, 2011
231
69
0
Thanks! Good stuff.. I just installed Windows 8 and totally forgot that I had to reinstall this... ( which originally took me 8 hours to figure out the first time! Lol ) this will definitely help future HTC people out...
 
  • Like
Reactions: bdorr1105

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
OP Updated

Updated OP

1. Added Environment Variables to no longer have to Change Directory
2. Cleaned up OP
3. Added Thanks
 

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
Thanks for the guide but will this work with USB 3.0? I have an Asus G750JW with 4x usb 3.0 ports and no usb 2.0 :(
USB 3.0 gets a bad rep. I do a lot of my adb with a USB 3.0 with few issues

Sent from my HTC6525LVW using Tapatalk
I am aware that USB 3.0 does cause issues with adb, mostly the longer running ones it hangs sometimes, I don't have an answer for that right now, I am running with 2.0 still and I have zero issues.

This is something that I came across that seemed to resolve a lot of adb issues

USB 3.0 Help with ADB

also

XDA Thread I found that in
 

davidmatt34

Senior Member
Oct 16, 2010
69
8
0
cant launch sdk manager

After installing abd on Windows8.1 64 is there a trick to launch so that i can add and update?


Fixed issue. New pc and forgot to install java...?

Android SDK - Powerful tool and easy to set up for use with your HTC One M8







USB 3.0 Information if Needed








Part 1. Follow These Steps Below - (Preparation)











Part 2. Verifying ADB is set up properly and Working








Part 3. Environment Variables - No need to Change Directory in Command Prompt Anymore (This is if you want to - Not Required)








Getting into the Bootloader

In Command Prompt Type:

Code:
adb reboot bootloader

Thanks To:
Ashraf - Images used for Environment Variables - Not all were his since the guide was modified
 
Last edited:
  • Like
Reactions: bdorr1105

jbarcus81

Senior Member
Jul 30, 2010
3,001
613
253
Marietta, OH
I feel like such an idiot, but I want to be sure I'm getting the latest HTC Sync... I follow the link in the OP and it takes me to support.. I Google and the same thing happens.. They move it over at HTC?


I found it here... http://www.htc.com/us/support/software/htc-sync-manager.aspx


And this worked flawlessly!! I was always afraid of going back to Windows 8.1 because of ADB/Fastboot being broken.. so far so good!! Side loading soon!!
 
Last edited:

bdorr1105

Senior Member
Sep 6, 2008
4,129
3,112
0
I feel like such an idiot, but I want to be sure I'm getting the latest HTC Sync... I follow the link in the OP and it takes me to support.. I Google and the same thing happens.. They move it over at HTC?


I found it here... http://www.htc.com/us/support/software/htc-sync-manager.aspx


And this worked flawlessly!! I was always afraid of going back to Windows 8.1 because of ADB/Fastboot being broken.. so far so good!! Side loading soon!!
Glad everything is working, the link in my OP went to the same exact HTC Sync Manager yours did, pull yours you posted and mine side by side its the same, not sure what happened, either way glad you are up and running
 

MotoTurbo

Senior Member
Mar 14, 2014
391
102
0
Vale, NC
Also make sure you don't have drivers installed for another phone.. ADB couldn't find my M8 until I uninstalled my lg spectrums drivers on Win 8.1

Sent from my HTC6525LVW using XDA Free mobile app
 
  • Like
Reactions: bdorr1105

jakTomas

Senior Member
Mar 16, 2011
821
98
0
Guys can someone help ,,

everything is installed and still getting the following error :


C:\Android\android-sdk\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
SH44FWM09049 device


C:\Android\android-sdk\platform-tools>
C:\Android\android-sdk\platform-tools>
C:\Android\android-sdk\platform-tools>fastboot reboot-bootloader
< waiting for device >

i've been trying to fix this for the past 4 hours but no luck ,, anyone ??