ADB and Fastboot have become essential Tools for every Developer and advanced Android User nowadays. 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. Let's say that your PC isn't working or maybe you are traveling and the PC available doesn't have ADB/Fastboot installed. 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.
- Rooted Android Phone or Tablet
- Termux or Terminal Emulator for Android
- Root Explorer App (e.g: Root Explorer, Es File Explorer, MiXplorer)
- ADB and Fastboot Binaries thanks to dingyi222666
- OTG Cable (Make sure that your Device supports OTG)
List of ADB and Fastboot Commands
- Root Explorer: Extract the downloaded ADB and Fastboot Files and copy the Contents to /system/bin Folder
or
- Terminal:
- Download and extract the ADB and Fastboot Files on the Device (e.g: /sdcard/Download/)
- Install and launch a Terminal App, type the following Commands in sequence:
su
Gains Root Priviledges
cd /sdcard/Download
Changes the working Directory to Download Folder
mount -o remount,rw /system
Remounts the System Partition
cp adb /system/bin/adb
cp fastboot /system/bin/fastboot
Copys the adb and fastboot Files to the bin Folder
chmod 755 /system/bin/adb
chmod 755 /system/bin/fastboot
- Type:
su
, connect another Device using a OTG Cable and use ADB and Fastboot Commands