View Single Post
Old January 2nd, 2013, 03:08 PM   #2 (permalink)
EarlyMon
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 35,440
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 34,487
Thanked 40,740 Times in 16,845 Posts
Default

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

Contents:
  • 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 -
https://ask.fedoraproject.org/question/8969/installing-android-sdk-on-64-bit-fedora/
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
  • sh 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!

CHANGELOG:

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



Attached Files
File Type: zip sdk-tools.zip (1.71 MB, 58 views)
EarlyMon is offline  
Last edited by EarlyMon; May 21st, 2013 at 12:53 PM. Reason: Updated toolkit with latest version of ADB
The Following 11 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), OutOfPhase (May 21st, 2013), palmtree5 (February 15th, 2013), pleomax (March 7th, 2013), scary alien (March 10th, 2013), yentnar (March 22nd, 2013)