Go Back   Android Forums > Community Info & Talk > FAQs
FAQs Android, Device, and Forum FAQs
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree9Likes
  • 8 Post By El Presidente
  • 1 Post By EarlyMon

Closed Thread
 
LinkBack Thread Tools
Old November 10th, 2011, 08:20 AM   #1 (permalink)
Captain of the Moon
Thread Author (OP)
 
El Presidente's Avatar
 
Join Date: Jan 2011
Location: Scotland
Posts: 20,394
 
Device(s): Nexus 4, Nexus 7 3G, HTC One X, Wildfire S
Carrier: Orange UK

Thanks: 9,567
Thanked 9,912 Times in 5,692 Posts
Default ADB Guide (updated 12/05/2011)

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

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)




Alternative Method

Here's an alternative method for getting adb (and some other parts of the Android SDK) installed. Its got some screenshots and a video to help with the installation):

New pre-packaged ADB installation

----------------------------------------------------------------------

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




----------------------------------------------------------------------

Hope that helps!

Cheers!

---------------------------
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)

also, here are the original attachments/thumbnails:
Attached Images
File Type: jpg sdk-install-01.jpg (51.0 KB, 1289 views)
File Type: jpg sdk-install-02.jpg (63.1 KB, 897 views)
File Type: jpg sdk-install-03.jpg (65.6 KB, 737 views)
File Type: jpg sdk-install-04.jpg (64.3 KB, 674 views)
File Type: jpg sdk-install-05.jpg (30.6 KB, 576 views)
File Type: jpg sdk-install-06.jpg (48.3 KB, 600 views)
File Type: jpg sdk-install-07.jpg (121.1 KB, 693 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 offline  
Last edited by scary alien; January 10th, 2012 at 09:04 PM. Reason: add chmod / sudo reference for linux adb/fastboot references
The Following 102 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), arpee (August 11th, 2012), asheehanjr (January 22nd, 2012), atljatl (August 18th, 2012), avinashmeena (February 13th, 2012), awesomeofsauce (July 17th, 2012), aznkp (January 26th, 2012), benyart (November 18th, 2012), Blublud (January 19th, 2013), bszaki (May 17th, 2012), bud_watcher (January 12th, 2013), candyflip (May 30th, 2012), Caveman419 (February 12th, 2013), cheza0021 (August 6th, 2012), ckxng (December 17th, 2011), D-U-R-X (March 14th, 2012), darkmagician08 (April 27th, 2012), darkrealm001 (January 13th, 2013), DeepEmissions (April 22nd, 2013), demo3827 (June 6th, 2012), Din0777 (November 8th, 2012), dlinderaz (December 4th, 2012), downthemachine (June 10th, 2012), EarlyMon (December 29th, 2011), fiatandroid (December 17th, 2011), flasherNoob (January 18th, 2013), GalaxyNexus (January 21st, 2012), garryweil (January 14th, 2012), gatgat23 (March 15th, 2013), gbiggie (February 6th, 2012), Genozzz (July 14th, 2012), gkinsella2 (February 28th, 2012), Granite1 (March 7th, 2012), Hadiir (May 10th, 2012), Harish Harris (December 23rd, 2011), Hashtag (June 2nd, 2012), hvrc (May 22nd, 2012), ivanprskalo (June 21st, 2012), ivo_13 (December 19th, 2012), jaiswal8790 (January 5th, 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), kenako (September 18th, 2012), kojoe (July 8th, 2012), kool kat2 (February 17th, 2012), korimo (October 15th, 2012), kristopher5823 (April 29th, 2012), lancemitrex (April 1st, 2013), lazyme (December 29th, 2011), ljpolaris (August 25th, 2012), lunatic59 (February 11th, 2012), Metroid Prime (December 8th, 2012), missykai (July 9th, 2012), 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), palmtree5 (January 17th, 2013), Pappy62 (January 10th, 2013), PolicyWonk (December 22nd, 2011), Pred-a-tor (March 24th, 2012), RainSaeid (January 28th, 2012), rapskallyun (April 13th, 2012), rayzore (October 24th, 2012), RedheadTarn (January 23rd, 2012), rlh445 (March 28th, 2012), rodriguez27298 (October 1st, 2012), 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), SelfElevated2 (August 26th, 2012), shreymehrotra (May 3rd, 2012), Slim1001 (May 4th, 2013), Slubgob (December 18th, 2011), SRISRIANDROID (August 11th, 2012), sthree (December 26th, 2011), Stinky Stinky (September 13th, 2012), sufaz76 (July 1st, 2012), sunnyrt (July 30th, 2012), thornev (November 25th, 2011), Usha Rani (September 4th, 2012), varun.chitre15 (July 17th, 2012), Victoriaaa (August 12th, 2012), vijaya1028 (August 17th, 2012), Waykam (August 2nd, 2012), Zingaro (October 1st, 2012)
Sponsors
Old January 2nd, 2013, 03:08 PM   #2 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 35,377
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 34,425
Thanked 40,644 Times in 16,805 Posts
Default

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 and unzip that to c:\sdk-tools or under an sdk-tools folder inside your Documents on Windows, 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.

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

adb rest of command line
fastboot rest of command line

On a Mac from within that folder -

./adb-mac rest of command line
./fastboot-mac rest of command line

And on Linux, prior to its first use, go into the sdk-tools tools folder and say -

chmod 755 *

You only have to do that once. Afterwards, the commands to use it are -

sudo adb-linux rest of command line
sudo fastboot-linux rest of command line

Hope this helps!

CHANGELOG:

2/15/2013: Updated ADB to latest version for all platforms. If you have issues, use the old version below

Attached Files
File Type: zip sdk-tools.zip (1.81 MB, 564 views)
dustwun77 likes this.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

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

Please support BabyBlues - or someone you know - to fight breast cancer - here's her pledge button -

EarlyMon is online now  
Last edited by palmtree5; February 15th, 2013 at 06:33 PM. Reason: Updated toolkit with latest version of ADB
The Following 10 Users Say Thank You to EarlyMon For This Useful Post:
darkrealm001 (January 13th, 2013), doogald (February 7th, 2013), dustwun77 (March 28th, 2013), El Presidente (January 2nd, 2013), funkylogik (May 18th, 2013), nexusdreamer (February 23rd, 2013), palmtree5 (February 15th, 2013), pleomax (March 7th, 2013), scary alien (March 10th, 2013), yentnar (March 22nd, 2013)
Closed Thread


Go Back   Android Forums > Community Info & Talk > 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 02:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.