ADB and Fastboot have become essential tools for every developer nowadays. And without them, it’s impossible to perform any sort of development on your phone. One of the main advantages of using ADB or fastboot in you can install system updates, custom ROMs, boot images, custom kernel and applications as well.
There are certain devices out there that don’t support the traditional custom recovery flashing methods instead you have to use ADB/fastboot to flash the files. But let’s say that your PC isn’t working or maybe you are traveling and the PC available doesn’t have ADB/fastboot installed. It would be a real dilemma.
This guide here will show you how to install ADB and fastboot on any Android smartphone or tablet, so can perform all the activities you would on your PC.
You may think that we can use ADB and fastboot binary files for Linux on our Android devices. No. We can’t use them because those files are not compiled for ARM.
Thanks to Google ADB has been compiled for ARM. This file is already included in some new devices. (Search “adb” in /system/bin or /system/xbin folder.
For this tutorial, you will require a few things
- A Rooted Android Tablet / Smartphone.
- OTG cable – Make sure that your device supports OTG. (If not then search how to enable it on your device).
- A Root browser ( eg:- Root Explorer, ES file explorer)
- Terminal emulator.
Download ADB and Fastboot for Android: ADB-Fastboot.zip
Install ADB/Fastboot on your Android Device
First, copy those downloaded files from above to /system/bin folder using a root explorer.
Then open the Terminal Emulator app on your device and type the following commands in sequence:
sumount -o remount,rw /systemchmod 755 /system/bin/fastbootchmod 755 /system/bin/adb
Restart your phone after it’s done and your device will now have ADB and fastboot installed.
Once your device restarts, open up terminal again and type
If you get a reply like this:
It means fastboot is working.
Next to check ADB, just type “ADB version” and if you get a reply like this:
It means ADB is also working. And that’s it! You can now connect another device using the OTG cable and try out different ADB and fastboot commands.
For any more queries, feel free to ask us in the comments section below.