How to Properly Set up ADB and Fastboot for Your Windows 7 PC
#1
Posted 02 January 2013 - 12:01 PM
Why do I want to do this? You will be able to not only have ADB at your disposal but also have it in your system path. So now, no matter where you are in your command line (C:\, C:\Users\Tucs\, C:\Windows\Desktop\, etc) when you type ADB or Fastboot followed by a command, it will work. You do not have to browse your command line to the folder where ADB and Fastboot are stored. If you become more comfortable with ADB and Fastboot you will find that this can save a lot of time.
Now, on to the good stuff!
Step 1: Use your browser and head over to http://developer.android.com/sdk/ and download the Android SDK, save it to your desktop for now.
Step 2: Unzip the package to your desktop and click to run the SDK Manager. From this window check the box for Android SDK Platform-tools. No other boxes need to be checked at this moment. After it's checked click Install
Step 3: Click on Accept All and click Install
Step 4: Open your Windows Explorer, browse to the root of your hard drive (most cases) C:\. Create a folder an call it "Android-SDK". So you will now have C:\Android-Sdk.
Step 5: ​Drag all of the Folders/Files from the SDK folder on your desktop to the newly created Android-SDK folder that's on the root of your hard drive.
Step 6: Right click on Computer (or My Computer for older Windows) and select "Properties".
Step 7: Click on "Advanced system settings"
Step 8: Click on the "Advanced" tab and then click "Environment Variables..."
Step 9: Scroll down to the Variable called "Path" (JUST Path, not PATHEXT or anything else).Then click "Edit..."
Step 10: Go to the very END of the "Variable value" input box. If there is not already, place a semi-colon ( at the end of the last value. Then type into this box C:\Android-SDK\platform-tools; (make sure you end with a semi-colon and if for any reason your SDK is NOT on the C:\ drive, replace the C with whatever drive letter you created your Android-SDK folder in. Then hit OK, OK, and OK again to complete. You may close the System Properties Window now.
Step 11: The SDK should now be installed and placed into your system path. Now we will test to confirm. Click on the "Start" button or Windows Flag (Windows version dependent). Type in the box at the bottom CMD. Press Enter or click on "cmd" under programs.
Step 12a: A Windows command line window will open. Simply type adb and press enter. You should be given a list of adb commands.
Step 12b: Now type into the prompt fastboot and press enter. You should be given a similar list of commands only this type for the Fastboot tool.
You are done!
- mattlgroff, etrorteepe, droidian1441 and 14 others like this
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#2
Posted 02 January 2013 - 03:25 PM
Very nice writeup tucs, lots of detail.
- prozac4me likes this
#3
Posted 02 January 2013 - 05:54 PM
Very little has changed at all. The ONLY thing I could suggest, like it's been mentioned already, is browse to where you stored your SDK's platform-tool. So let's just say "C:\Android\SDK\Platform-tools" then, depending on whether you normally deal with OG Razr/Bionic OR Razr HD/M download the appropriate motorola fastboot binary and overwrite the AOSP one. Matt keeps copies of them
OMAP (OG Razr/Bionic) Fastboot
or
Snapdragon (Razr HD, M) Fastboot
Make sure you grab the Windows executable from Matts zip as he supplies Windows, OSX and Linux binaries in those zips. (I'm gonna amend this write up soon to include the same process for OSX I think.)
If you're dealing with NON Moto devices, you can stick with the SDK supplied fastboot binary. The reasoning behind this has been mentioned in the thread, the Moto FB binary will nicely split the larger partitions up.
- etrorteepe and JerryWhete like this
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#4
Posted 03 January 2013 - 12:10 PM
I've used the fastboot included in the sdk to flash my razr before
I tried to use it to fast boot the .215 kernel it gave me errors? Damaged fastboot binary maybe? Imma look into this.
Sent from my DROID RAZR using Tapatalk 2
#5
Posted 04 January 2013 - 04:49 PM
It will fail on webtop for being too large but I think thats it.I've used the fastboot included in the sdk to flash my razr before
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#6
Posted 04 January 2013 - 06:00 PM
Yeah, I think I've experienced that. But who flashes webtop?It will fail on webtop for being too large but I think thats it.
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#7
Posted 04 January 2013 - 06:12 PM
Sent from my DROID BIONIC using Tapatalk 2
#8
Posted 04 January 2013 - 06:40 PM
#9
Posted 05 January 2013 - 07:47 AM
Thank you very much for starting this topic. I noticed with the advent of 4.1.2 that we now have the option to flash udates through moto recovery using abd. Maybe it was possible before...I don't know, but I think it's great that doing a sideload is supported. I would love to try this with an OTA update. Maybe there will be a small package to drop the OS to 4.2 when and if it comes to the og razr.
The stuff that comes out of OTA packages can not be flashed with Fastboot. OTA's are sets of patches, they are different from FXZ Files that we use to flash in a fastboot command line.
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#10
Posted 05 January 2013 - 10:32 AM
There used to be webtop mods on GB so I had to include it.Yeah, I think I've experienced that. But who flashes webtop?
Sent from my DROID RAZR HD using Tapatalk 2
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#11
Posted 08 January 2013 - 06:21 PM
#12
Posted 19 March 2013 - 11:53 PM
#13
Posted 20 March 2013 - 11:54 AM
thank you worked grerat
Dude! That was the easiest tutorial that I've ever read! Kudo's, man. Thanks.
Thank you
Sent from my HTC6435LVW using Tapatalk 2
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#14
Posted 14 April 2013 - 05:26 AM
#15
Posted 16 April 2013 - 10:20 AM
I dont have enough post to pm at te moment. But I am having a problem. After I download SDK to desktop I click run on SDK Manager and the only thing that happens is a command window pops up and disappears. I am no sure how to bring up the windows needed to resume your tutorial afer the download to desktop. Im a noob butwilling tolearn. Thank you in advance.
Is it possible that your computer does not have an up to date version of Java on it? I'm not 100% sure, but I thought the SDK Manager requires Java. Download it here
Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!
#16
Posted 16 April 2013 - 05:26 PM
Check the environment variable to make sure the path for Java is there.
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_33\bin\java.exe
I am running Windows 7 64 bit version BTW.
''Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.'' - Albert Einstein
#17
Posted 21 April 2013 - 03:40 PM
so I tried this again, seemed to follow all steps until I got to command line. adb is not recognized. Checked to make sure enviromental path for java was thee but did not see it and not sure where to put it in advance settings. any help is appreciated. if I need to elaborate on it more just let me know. Thanks
#18
Posted 21 April 2013 - 03:44 PM
nevermind, I figured it out. I was entering a colon, not a semi colon
- gunner31 likes this
#19
Posted 24 April 2013 - 09:34 AM
ive followed the op to a T and when i enter cmd and enter adb i get 'adb' is not recognized as an internal or external command. HELP!!!!!!! lol
#20
Posted 01 June 2013 - 04:25 PM
Great job. Im new to this and your tutorial work perfect. Thank you for taking the time to post this!!
Also tagged with one or more of these keywords: adb, fastboot, command line, how to, windows
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users