FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[Guide] How to set up fastboot/adb to be used in system wide command prompt Windows

401 posts
Thanks Meter: 297
 
Post Reply Email Thread
I see a lot of tools for installing fastboot/adb easily on your PC but I havent found any updated how-to's that show you how to install it manually using Google newest fastboot/adb binary they release separately from the SDK tools. So i wanted to fix that! We will be adding their locations as Environmental paths in cmd. This all will be shown on Windows 10

To start off, download the fastboot/adb bianarys from the xda article below (writen by Mishaal Rahman back in January)
XDA Article with fastboot links
- Extract the fastboot/adb binary fold "platform-tools" to a out of the way folder (I recommend a folder named "Android" in the root of the C drive like so C:\Android\)
Click image for larger version

Name:	Capture.JPG
Views:	5784
Size:	122.4 KB
ID:	4117055
- Goto Control Panel> System and Security > System
Click image for larger version

Name:	Capture2controlpannel.JPG
Views:	5412
Size:	131.8 KB
ID:	4117056
Click image for larger version

Name:	Capture3systemandsec.JPG
Views:	4716
Size:	176.8 KB
ID:	4117057
- Under "Computer name, domain, and workgroup settings" click "Change settings"
Click image for larger version

Name:	Capture4system.JPG
Views:	3906
Size:	155.4 KB
ID:	4117058
- From this new window go to the "Advanced" tab then at the bottom click "Environment Variables"
Click image for larger version

Name:	Capture5SystemProps.JPG
Views:	3832
Size:	66.3 KB
ID:	4117062
Click image for larger version

Name:	Capture6advanced.JPG
Views:	3754
Size:	73.8 KB
ID:	4117063
- In the new window under the "System Variables" section, double click "Path"
Click image for larger version

Name:	Capture7envirmontal.JPG
Views:	4182
Size:	121.5 KB
ID:	4117064
- In this window click "New" and put in the location of your platform-tools folder we extracted and put aside earlier
Click image for larger version

Name:	Capture9beforeadd.JPG
Views:	4300
Size:	102.2 KB
ID:	4117066
- (Example: Mine looks like C:\Android\platform-tools)
Click image for larger version

Name:	Capture8entered.JPG
Views:	4716
Size:	73.1 KB
ID:	4117065
- Press enter and it should be the newest entry at the bottom.
- Click okay and REBOOT YOUR PC
- Now you have to latest fastboot/adb binary installed system wide!
Test this by just pressing the windows key and type cmd. in the command line type "fastboot" This should return you with all the other available fastboot commands.

Feel free to ask any questions!
The Following 57 Users Say Thank You to eqbirvin For This Useful Post: [ View ] Gift eqbirvin Ad-Free
 
 
19th April 2017, 07:23 PM |#2  
Senior Member
Thanks Meter: 22
 
More
thanks , thats very helpful
The Following User Says Thank You to fardeenah For This Useful Post: [ View ] Gift fardeenah Ad-Free
19th April 2017, 08:04 PM |#3  
Senior Member
Thanks Meter: 14
 
More
I've installed everthing(whole sdk, tools, and all) on Linux. Is this article to be updated on that? I got tired of all the extra work that windows requires for setup, and I do everything thru Ubuntu now.
19th April 2017, 10:13 PM |#4  
Quote:
Originally Posted by reggjoo

I've installed everthing(whole sdk, tools, and all) on Linux. Is this article to be updated on that? I got tired of all the extra work that windows requires for setup, and I do everything thru Ubuntu now.

I'm not sure what you're asking
19th April 2017, 11:07 PM |#5  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by eqbirvin

I'm not sure what you're asking

I'm asking can you put in instructions for Linux setup for adb+fastboot, since a lot of people on xda use Linux, instead of Windows.
20th April 2017, 06:05 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Thanks its working fine in my windows.
20th April 2017, 07:59 AM |#7  
rirozizo's Avatar
Recognized Contributor
Flag wonderland... soon
Thanks Meter: 1,528
 
Donate to Me
More
Hi,

Kind of a shameless plug here (mods, please remove my post if it truly is nothing but a shameless plug), but I actually made a video guide following almost the same steps mentioned in OP.

Here's the video:



Feel free (dear OP) to put this up on your first post as well, if you'd like to

Good luck with setting them up!
The Following 3 Users Say Thank You to rirozizo For This Useful Post: [ View ] Gift rirozizo Ad-Free
20th April 2017, 12:03 PM |#8  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by reggjoo

I'm asking can you put in instructions for Linux setup for adb+fastboot, since a lot of people on xda use Linux, instead of Windows.

websearch should suffice for an XDAer (e.g. to stuff like https://wiki.lineageos.org/adb_fastb....html#on-linux ), esp for choice since can be distro-dependent (could be "sudo apt-get install android-sdk-platform-tools" on Ubuntu & derivatives). HTH
The Following User Says Thank You to wodinotus For This Useful Post: [ View ] Gift wodinotus Ad-Free
20th April 2017, 02:27 PM |#9  
Senior Member
Flag Varna
Thanks Meter: 20
 
More
Good work.

Thank you.
The Following User Says Thank You to rlamba For This Useful Post: [ View ] Gift rlamba Ad-Free
20th April 2017, 02:38 PM |#10  
zelendel's Avatar
Retired Senior Moderator / Mod. Cttee. Retired - The Dark Knight
Flag Watching from the Shadows
Thanks Meter: 19,956
 
More
That is alot of work when just dropping the needed files in the main Windows directory will do the same thing without the instability of variables.
20th April 2017, 03:20 PM |#11  
Senior Member
Thanks Meter: 116
 
More
Quote:
Originally Posted by zelendel

That is alot of work when just dropping the needed files in the main Windows directory will do the same thing without the instability of variables.

There is a risk that any files placed into the main Windows directory will be lost when Windows is upgraded, because the way a Windows 10 upgrade works these days is to effectively create a new Windows installation. The previous main Windows directory is renamed 'Windows.old' before being deleted automatically after 30 days.

So far, there have been 3 new upgrade versions of Windows 10 since the RTM was launched in July 2015 (1507):
  • November 2015 (1511)
  • July 2016 (1607)
  • March 2017 (1703)
The Following 4 Users Say Thank You to m00head For This Useful Post: [ View ] Gift m00head Ad-Free
Post Reply Subscribe to Thread

Tags
adb, fastboot, guide, windows

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes