- Title: How to Set Up ADB and Fastboot
- Listed: 06/04/2014 1:32 am
- ROM Version: N/A
You must be logged for ROM download.
14742 total views, 3 today
17 Total favorites
Android SDK brings with itself the two most important tools needed for tweaking your Android phone, ADB (Android Debug Bridge) and Fastboot
Why do we need them? ADB and fastboot helps us install a custom recovery, which allows us to root our Android devices, install custom ROMs and perform many other system tweaks which are not otherwise possible.
Here are the step-by-instructions to set up ADB / Fastboot on your computer. Follow the steps carefully and make sure you read the tutorial once before actually performing it.
1. Download and Install Java Platform (JDK) from [Java SE Software Development Kit (SDK)] downloads. Once installed, proceed to the next step.
2. Download Android SDK ([android-sdk_r20.0.3-windows.zip]) from the Android Developers website. Preferably: Click on Other platforms and download the ZIP package file for Windows.
3. Extract the zip file anywhere in your computer. We extracted in D:\ drive. So now we have, D:\android-sdk-windows.
4. Open SDK Manager and wait till it loads (fetches) all the packages.
5. Now only select two pakcages. Check Android SDK Platform-tools and Google USB Driver options. Uncheck everything else as shown below. Then click on the “Install 2 packages…” button.
6. Confirm the packages that you selected. Select Accept All and click the “Install” button.
7. Wait till the downloading finishes.
8. Once you get the following screen, this means all the packages have been successfully installed.
9. If you again go to the Android SDK folder (D:\android-sdk-windows), you will see the following directories now. extras and platform-tools are the most important ones that we need.
10. Enable USB Debugging on your device by visiting Settings > Applications > USB Debugging and tick the check box. Leave this step if you have already got it turned on.
11. Reboot your Phone into the bootloader.
This can either be done via
- powering off and keeping volume up & the power-button pressed
- the extended power-menu (If your ROM has it, just select "reboot" & then "bootloader")
- via adb, connect your phone with the pc, make sure it says "USB debugging connected", go to Android/platform-tools/ & then press shift while you perform a right click with the mouse, then choose "open prompt here", type
press enter. Your One S should then reboot into the bootloader
I personally prefer one of the last two methods, depending which way occurs faster to me at that specific moment.
12. Make sure it says "Fastboot USB" like in the following picture
13. Test if it your device has been detected with the following command:
if it gives you an answer other than a blank one or an error there you go
14. Copy the boot.img you want to flash into the folder C:\android\platform-tools\ & then execute the command
fastboot flash boot boot.img
(if your boot.img is named differently then adjust the last part of the command)
wait for it to succeed.
if it says okay two times & the prompt reappears everything should be fine
15. Reboot your device with
16. If you want check
Settings -> About phone -> Kernel
if it matches the boot.img you just flashed
17. The whole process should look something like this in your CMD:
Finish ! and thx fipsib: XDA
Tutorial on youtube
※Please make a backup of your device before installing or updating ROM