Go Back   Android Forums > Android Forums Community > FAQs
FAQs Android, Device, and Forum FAQs

New Forums: Nexus Player | Nexus 9
Like Tree38Likes
  • 12 Post By El Presidente
  • 24 Post By EarlyMon
  • 2 Post By palmtree5

Closed Thread
LinkBack Thread Tools
Old November 10th, 2011, 08:20 AM   #1 (permalink)
Beware The Milky Pirate!
Thread Author (OP)
El Presidente's Avatar
Join Date: Jan 2011
Location: Scotland
Posts: 27,305
Device(s): Xperia Z1, Nexus 7 3G, HTC One X, SGS3 Mini
Carrier: EE

Thanks: 14,363
Thanked 16,370 Times in 8,759 Posts
Default ADB Guide (updated 2013/05/21)

All credit for this goes to scary alien! Go click the Thanks button on one of his posts to show your appreciation.
(LOL, El Presidente, just saw this (12/25/2011)...you are too kind, sir! Thank you for that nice note...SA)

The adb (Android Debug Bridge) is a useful utility, often used for root-related operations.

To use the adb utility, you'll need to:

1. install the Android SDK (Software Development Kit) and its platform-tools package

2. for Windows PCs, you'll need to have the adb USB device drivers specific to your Android device; for Apples Macs, this is not a stumbling block, but often is for Windows machines; finding and installing the adb USB device drivers for Windows is beyond the scope of this tutorial, please see post #4 below

Details and options for installing the Android SDK and the adb utility follow below:

Manual / Standard Method

Mini-SDK (contains adb and fastboot utilities for Windows, Mac, and Linux)

Please see the next post in this thread for the Mini-SDK.


How to update your PATH environment variable to include adb and your Java installation
(courtesy of txwolf1980)


Hope that helps!


change log:

2011-11-12 scary alien: 1) minor edits, 2) additional instructions, 3) include example images
2011-11-25 scary alien: replace attachments with better imageshack links
2011-12-02 scary alien: include link to alternative, pre-packaged adb/SDK installation
2011-12-04 scary alien: include another, mini-SDK alternative installation option
2011-12-05 scary alien: add Mac and Linux adb and fastboot utilities to sdk-tools.zip
2011-12-07 scary alien: adding information for updating PATH environment variable (courtesy of txwolf1980)
2013-05-21 EarlyMon: removed mini-SDK

also, here are the original attachments/thumbnails:
Attached Images
File Type: jpg sdk-install-01.jpg (51.0 KB, 1937 views)
File Type: jpg sdk-install-02.jpg (63.1 KB, 1323 views)
File Type: jpg sdk-install-03.jpg (65.6 KB, 1064 views)
File Type: jpg sdk-install-04.jpg (64.3 KB, 956 views)
File Type: jpg sdk-install-05.jpg (30.6 KB, 833 views)
File Type: jpg sdk-install-06.jpg (48.3 KB, 864 views)
File Type: jpg sdk-install-07.jpg (121.1 KB, 1035 views)

Site Rules & Guidelines / Staff List / Ask the Staff
Want to bring naughty posts to our attention? Use:
Be respectful to each other - That's what we're all about.
El Presidente is online now  
Last edited by EarlyMon; November 27th, 2013 at 12:47 AM. Reason: add chmod / sudo reference for linux adb/fastboot references
The Following 143 Users Say Thank You to El Presidente For This Useful Post:
1991Syclone (March 19th, 2013), adamus (June 16th, 2012), adcross (January 31st, 2013), agent86 (June 30th, 2012), agentc13 (December 8th, 2011), alfick3 (June 4th, 2012), AndyOpie150 (December 1st, 2011), anoniemouse (April 12th, 2014), antonvl (August 4th, 2014), arpee (August 11th, 2012), asheehanjr (January 22nd, 2012), atljatl (August 18th, 2012), avinashmeena (February 13th, 2012), awesomeofsauce (July 17th, 2012), aznkp (January 26th, 2012), badblue1 (June 24th, 2013), benyart (November 18th, 2012), bhunnu16 (July 1st, 2014), Blublud (January 19th, 2013), brulez (August 2nd, 2013), bszaki (May 17th, 2012), bud_watcher (January 12th, 2013), candyflip (May 30th, 2012), Caveman419 (February 12th, 2013), cgaWolf (April 14th, 2014), cheza0021 (August 6th, 2012), Cmaker3 (May 3rd, 2014), D-U-R-X (March 14th, 2012), darkrealm001 (January 13th, 2013), DeepEmissions (April 22nd, 2013), demo3827 (June 6th, 2012), dennisormesher (October 7th, 2013), Din0777 (November 8th, 2012), dlinderaz (December 4th, 2012), downthemachine (June 10th, 2012), EarlyMon (December 29th, 2011), el bandido (June 11th, 2013), fiatandroid (December 17th, 2011), flasherNoob (January 18th, 2013), GalaxyNexus (January 21st, 2012), garryweil (January 14th, 2012), gatgat23 (March 15th, 2013), gbiggie (February 6th, 2012), generek (August 31st, 2014), gkinsella2 (February 28th, 2012), gotdotdigital (December 16th, 2013), Granite1 (March 7th, 2012), hacoihb (May 14th, 2014), Hadiir (May 10th, 2012), Harish Harris (December 23rd, 2011), Hashtag (June 2nd, 2012), hvrc (May 22nd, 2012), I luv trolling (July 25th, 2013), ivanprskalo (June 21st, 2012), jbdan (February 8th, 2012), jbreezy (August 1st, 2012), jerofld (March 1st, 2012), Jewelz37 (January 10th, 2013), JKDS87 (March 15th, 2013), jubair07 (May 12th, 2012), Kajangist (October 5th, 2014), kenako (September 18th, 2012), kmpatel (August 1st, 2013), kojoe (July 8th, 2012), KOLIO (June 21st, 2014), kool kat2 (February 17th, 2012), korimo (October 15th, 2012), kristopher5823 (April 29th, 2012), lancemitrex (April 1st, 2013), lazyme (December 29th, 2011), leramak (October 6th, 2013), ljpolaris (August 25th, 2012), lunatic59 (February 11th, 2012), mcandtf2lover (September 23rd, 2014), Metroid Prime (December 8th, 2012), mind0rz (October 16th, 2013), missykai (July 9th, 2012), mistaj33 (July 27th, 2014), mistermistery (June 22nd, 2012), Mobstergunz (December 4th, 2011), monac66 (June 22nd, 2012), msafstrom (April 12th, 2012), nawwaf (April 13th, 2012), ninadchaudhari (March 14th, 2012), ocnbrze (February 7th, 2013), OlderGuy (October 9th, 2013), palmtree5 (January 17th, 2013), Pappy62 (January 10th, 2013), paragoneer (February 2nd, 2014), pato500 (October 18th, 2013), PolicyWonk (December 22nd, 2011), Pred-a-tor (March 24th, 2012), Puppetmaster (December 11th, 2013), rafsheen (September 16th, 2014), RainSaeid (January 28th, 2012), rapskallyun (April 13th, 2012), rayzore (October 24th, 2012), RedheadTarn (January 23rd, 2012), rlh445 (March 28th, 2012), rodriguez27298 (October 1st, 2012), romanlynch (October 5th, 2014), ronaele (December 8th, 2012), roseangel (March 26th, 2012), Rxpert83 (June 19th, 2012), ryancmatchett (January 10th, 2012), SamuraiBigEd (February 7th, 2012), scary alien (November 11th, 2011), Sedigh (January 2nd, 2014), SelfElevated2 (August 26th, 2012), sh4dowpriest (December 1st, 2013), shreymehrotra (May 3rd, 2012), skyechan (February 5th, 2014), Slim1001 (May 4th, 2013), Slubgob (December 18th, 2011), soniraj (June 12th, 2013), SRISRIANDROID (August 11th, 2012), sthree (December 26th, 2011), Stinky Stinky (September 13th, 2012), sufaz76 (July 1st, 2012), sunnyrt (July 30th, 2012), surushm (July 15th, 2014), teddyearp (August 28th, 2013), thforrtnor (August 24th, 2013), thornev (November 25th, 2011), tujuhtigatujuh (December 27th, 2013), varun.chitre15 (July 17th, 2012), Victoriaaa (August 12th, 2012), vijaya1028 (August 17th, 2012), Waykam (August 2nd, 2012), wellshaman (June 18th, 2013), xenoblade (January 1st, 2014), xMiXaLx (July 20th, 2014), zzyzzyzzx (June 2nd, 2013)
sponsored links
Old January 2nd, 2013, 03:08 PM   #2 (permalink)
The PearlyMon
EarlyMon's Avatar
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,462
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,774
Thanked 57,265 Times in 23,020 Posts

The Mini-SDK

During the course of rooting, you'll likely be instructed to go grab the Android SDK.

You very likely don't need that.

If you go and download the whole Android SDK shebang and get a platform tools folder, you'll have everything to begin development in Android. And a big waste of space on your hard drive if you're not into that.

Use our forums' Mini-SDK (below) and unzip that to C:\sdk-tools under Windows
- or -
... under an sdk-tools folder inside your home directory or Documents Mac or Linux.

Then, wherever you see instructions telling you to go to "platform tools" - just use your sdk-tools folder and you're all set.

  • Version.txt
  • Windows:
    • adb.exe
    • AdbWinApi.dll
    • AdbWinUsbApi.dll
    • fastboot.exe
    • md5sums.exe
  • Linux:
    • adb-linux
    • fastboot-linux
  • Mac OS X:
    • adb-mac
    • fastboot-mac
  • sdk.sh
    • installer for Linux and Mac OS X only
    • To use: sh sdk.sh
Good for both 32/64-bit Windows or Linux, 64-bit OS X. (The only 32/64-bit differences are elsewhere in the full SDK - adb and fastboot are the same regardless. Now aren't you glad you're using the Mini-SDK so you don't have to care? )

Note to 64-bit Fedora users or others using distros based on that -
HOWTO Setup Android Development - FedoraProject

Note that the md5 checksum utility is included in Linux and Mac OS X but added here for Windows.

On Windows, the commands from inside the sdk-tools directory are:

adb rest of command line

fastboot rest of command line

md5sums filename

For Linux or Mac OS X, please run the installer first -
  • unzip sdk-tools.zip, double-clicking in your file explorer or Mac Finder is ok
  • bash sdk.sh

On a Mac from within the sdk-tools folder, to use -

./adb rest of command line

./fastboot rest of command line

md5 filename (see note following Linux)

On Linux from within the sdk-tools folder, to use -

sudo ./adb rest of command line

sudo ./fastboot rest of command line

md5sum filename (see note following)

Note - on Mac/Linux, adb and fastboot are added to your path by the installer. Thereafter, the ./ file location qualifier won't be needed in new terminal windows.

Windows users please refer to post 1 to get the Mini-SDK into your path, substitute "C:\sdk-tools" as the proper path. You don't need to worry Java or the JDK with the Mini-SDK.

Hope this helps!


Updated sdk.sh and instructions on May 18, 2014. And we really need to update this to the latest sdk for everyone.

Updated May 20, 2013 to reflect the February 13, 2013 sdk.

Attached Files
File Type: zip sdk-tools.zip (1.71 MB, 4377 views)

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)

For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
Last edited by EarlyMon; July 1st, 2014 at 04:44 PM.
The Following 87 Users Say Thank You to EarlyMon For This Useful Post:
93stang (November 9th, 2013), acupofcoffee (March 4th, 2014), amjadraadq (July 19th, 2013), AMOCO (October 6th, 2014), anoniemouse (April 12th, 2014), apdiaz (August 31st, 2014), badblue1 (June 24th, 2013), BETITO111 (August 2nd, 2014), bleinert (January 8th, 2014), brulez (August 2nd, 2013), CapedCrusader (December 20th, 2013), catonkatonk (July 3rd, 2013), cesartefacto (June 18th, 2014), cgaWolf (April 14th, 2014), Cmaker3 (May 3rd, 2014), cvic (August 8th, 2013), D Ashley (September 10th, 2014), dalecooper (August 22nd, 2013), darkrealm001 (January 13th, 2013), dennisormesher (October 7th, 2013), doogald (February 7th, 2013), dustwun77 (March 28th, 2013), el bandido (June 11th, 2013), El Presidente (January 2nd, 2013), fdetti (March 17th, 2014), forforums6 (August 13th, 2014), funkylogik (May 18th, 2013), garuta (January 14th, 2014), gnulab (August 13th, 2013), Granite1 (June 5th, 2013), iowabowtech (November 26th, 2013), itsameluigi007 (March 8th, 2014), jdub22 (July 23rd, 2014), JeffinCA (December 10th, 2013), JLibra (August 25th, 2014), Kajangist (October 4th, 2014), kar4ken (May 31st, 2014), kashifarain (November 6th, 2013), KOLIO (June 21st, 2014), littlewhiteowl (January 6th, 2014), macfeegle (Yesterday), maxmaxwell (November 12th, 2013), mcandtf2lover (September 23rd, 2014), md ali Bhuyan (February 3rd, 2014), MibsXX (October 11th, 2013), mlwilcox86 (February 2nd, 2014), mothergooser (August 5th, 2013), mrhop (August 4th, 2013), nexusdreamer (February 23rd, 2013), nlsdaddy (September 26th, 2013), NL_Derek (March 27th, 2014), OlderGuy (October 9th, 2013), OutOfPhase (May 21st, 2013), palmtree5 (February 15th, 2013), paragoneer (February 2nd, 2014), paul (October 26th, 2013), pleomax (March 7th, 2013), rainster14 (October 11th, 2014), rlg118 (May 10th, 2014), roboswimmer (August 4th, 2014), rojey (July 6th, 2014), romanlynch (October 5th, 2014), Rush (November 14th, 2013), russellvone (November 7th, 2013), sam_0829 (September 21st, 2013), scary alien (March 10th, 2013), scotty85 (January 1st, 2014), sh4dowpriest (December 1st, 2013), shoaibmirzaa (July 30th, 2013), TAKSHZ (October 4th, 2014), thforrtnor (August 24th, 2013), tomchan1 (December 17th, 2013), trandn (March 27th, 2014), tujuhtigatujuh (December 27th, 2013), Twisted21 (December 30th, 2013), uriel40 (August 12th, 2013), Wallago67 (July 31st, 2013), wellshaman (June 18th, 2013), whj58 (February 2nd, 2014), wvtrap (June 8th, 2014), wyelkins (July 12th, 2013), xMiXaLx (July 20th, 2014), yentnar (March 22nd, 2013)
Old August 18th, 2013, 04:06 PM   #3 (permalink)
Sunny Vacation Supporter!
palmtree5's Avatar
Join Date: May 2012
Location: USA
Gender: Male
Posts: 3,879
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 2,513
Thanked 2,318 Times in 1,223 Posts

Originally Posted by EarlyMon View Post
Point here is 64-bit Linux (doesn't really matter what distro) needs certain 32-bit libraries in order for adb and fastboot to work.
EarlyMon and james12345 like this.
Find a post helpful? Hit
See spam or something offensive? Hit
New to the site? Site Rules/Guidelines and Introductions
Not a member yet but want to join? Join here!
Want to chat with staff?Here
Want to chat with mods?Here
palmtree5 is online now  
Last edited by palmtree5; December 7th, 2013 at 08:13 PM.
The Following 7 Users Say Thank You to palmtree5 For This Useful Post:
EarlyMon (May 18th, 2014), HwDzBeAzT (September 24th, 2013), maxmaxwell (November 12th, 2013), pato500 (October 18th, 2013), thforrtnor (August 24th, 2013)
Old November 27th, 2013, 12:45 AM   #4 (permalink)
The PearlyMon
EarlyMon's Avatar
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,462
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,774
Thanked 57,265 Times in 23,020 Posts

Having trouble finding the right drivers?

Maybe this will help -

OEM USB Drivers | Android Developers
EarlyMon is online now  
The Following 8 Users Say Thank You to EarlyMon For This Useful Post:
BETITO111 (August 2nd, 2014), Cmaker3 (May 3rd, 2014), D-U-R-X (November 27th, 2013), daw1561 (August 12th, 2014), Granite1 (April 5th, 2014), ocnbrze (December 1st, 2013), scary alien (December 1st, 2013), Twisted21 (December 30th, 2013)
Closed Thread

Go Back   Android Forums > Android Forums Community > FAQs

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 01:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.