Sanchtech's Blog

• Tutorial on ADB and Fastboot

Posted on: April 15, 2012

By

HaroldG

I decided to start this tutorial with ADB and FASTBOOT, but am definitely going through Rooting and Flashing Android Phones

What are ADB and Fastboot? HOW DO YOU INSTALL AND USE EACH OF THEM?

ADB (Android debug bridge) and Fastboot are two applications that enable the user to control android devices from a personal computer, including flashing firmwares and issuing commands to an Android device.  Both ADB and Fastbook are included in the ANDROID SDK (Software Development Kit).

Step 1.  Install the Java Runtime Environment (most of you, already have this, but if not, the link is:   http://www.java.com/en/download/index.jsp

 
 

And Java SE 7u2 http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html.  Be sure to select the version that works with your PC’s operating system:  (jdk-7u2-windows-i586.exe is for Windows7, 32bit version).

Step 2.  Get the ADK.  Go to: Android SDK | Android Developers http://developer.android.com/sdk/index.html , and download the version for your PC’s operating system.  Most users will download the installer_r16-windows.exe, which is for Windows XP/Vista/7.

Normally the Android SDK is installed in Program Files, but I recommend using a simple path like C:\Android.

Step 3.  Get the API.  After the installation is finished, run the Android SDK for the first time, at which point you will be prompted to download and install the Android SDK tools as well as the required API’s.  For instance, my tablet is running Android version 2.3.3 so I downloaded the Android 2.3.3 API.

Step 4.  Add the path to the SDK to your environment.  Using Windows explorer, navigate to the folder where you installed your Android SDK tools and from the address bar copy the path.  (So, if you installed the SDK in
C:\Android\Android-sdk\platform-tools, that will be the location to which you will navigate.)

Now COPY that path from the address bar.  

Go to My Computer, right click, and select “Properties.”  Click on the “Advanced” tab, then click on the “Environment Variables” button.  The lower section will include a list of system variables.  Use the scroll bar to navigate to “Path”, then click “edit”.  Make sure you locate your cursor at the END of the “variable value” field, then type (without quotation marks) “;” then paste the path you just copied.  The end of your path should now look like 

;c:\android-sdk-windows\platform-tools  (depending upon where your path is) OR

;C:\Program Files\Android\android-sdk\platform-tools  (if you permitted it the SDK to install in \Program Files).

In either case, make sure there is no space after the semicolon!

Keep in mind that if you accidentally delete the existing Path information, you may inadvertently corrupt your Windows installation (so if you think you have made a mistake, press [CANCEL] repeatedly to back out of any changes and start over.

 

Step 5.  Install the Arnova drivers.  Go to ftp://support.archos.com/ARCHOS%20it/ADB/.  (If you already have the drivers installed, you can skip ahead to Step 6.)

and download the adb_winusb_driver.zip. Next go to http://forum.xda-developers.com/showthread.php?t=803682 and download “Super One Click.”

Extract the files (remembering where you put them), then connect your tablet in debug mode.)  Debug mode is not the same as recovery mode (required to flash the RK29xx tablet).  You set Debug Mode from your tablet by going into Settings –> Applications –> Development –> check the “USB Debugging” box.  When you connect the tablet to the PC, the PC will attempt to load new drivers.  Tell the PC you will choose the drivers, and point it to the location where you extracted the driver files.  If you get a warning that the drivers are not signed, be sure to let the OS continue anyway.

 

Step 7.  Check the connection.  Open a command line box by pressing [Start], [run] and then type “cmd” (without the quotes), then press [Enter].

 

At the DOS prompt, type:

C:\Android\android-sdk\platform-tools\adb devices

then press [Enter] and you should get a result similar to the following:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0123456789ABCDEF        device

Try the command again this time using Fastboot.  At the command prompt, type:

C:\Android\android-sdk\platform-tools\fastboot devices [Enter] and you should get a similar result.

Congratulations, you can now use Adb and Fastboot to issue commands to your tablet while it is connected to the PC.  Advanced users of rooted tablets will even be able to pass commands to Superuser and busybox via adb, but that’s for another tutorial!

This tutorial has been edited in English from an adapted translation in English from DanielVd tutorial

http://www.androidiani.com/forum/archos-arnova-series/112950-configurare-adb-e-fastboot-e-installare-driver-adb-arnova.html

The original translation was made by globula_neagra, and edited further by arctablet.com.

Edited by Sanchtech

Leave a comment

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5 other subscribers