How-tos

Use Android Device as PC for ADB and Fastboot


Use Android Device as PC for ADB and Fastboot

Here’s how you can use Android device as PC for ADB and Fastboot. Learn how you can execute ADB and Fastboot command on Android devices.

ADB and Fastboot have become essential tools for every developer and advanced Android user 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 and 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.

Preparations

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.

Downloads

Download ADB and Fastboot for Android: ADB-Platform-Tools.zip

Use Android Device as PC for ADB and Fastboot

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:

su
mount -o remount,rw /system
chmod 755 /system/bin/fastboot
chmod 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

fastboot

If you get a reply like this:

Android Device as PC for ADB and Fastboot
Fastboot-Screenshot

It means that Fastboot is working.

Next to check ADB, just type “ADB version” and if you get a reply like this:

Android Device as PC for ADB and Fastboot
adb screenshot

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.



READ SOURCE

This website uses cookies. By continuing to use this site, you accept our use of cookies.