How To, Tutorials

How To Install ADB And Fastboot On Android Device And Use Your Phone/Tablet Like a PC

How To Install ADB And Fastboot On Android Device And Use Your Phone/Tablet Like a PC
You may have heard and used ADB and Fastboot on a computer but in this article, I’m going to share with you a totally different ways to use these tools. Did you ever think you can use ADB and Fastboot without a PC? Well, actually, you can. ADB and Fastboot can be installed on another Android device and you can use it the same way as a computer.
ADB and Fastboot are very useful tools. They come in handy for various purposes. Via Fastboot you can flash almost everything. It might happen we don’t have access to a computer all the time but we always have our smartphone with us. So why not installing ADB and Fastboot on Android device? If you want to do it, keep reading below.

Requirements

  • A rooted Android phone or tablet.
  • OTG cable, but first make sure your device supports OTG.
  • A root browser like Root Explorer, ES file explorer. Both are free on Play Store.
  • Terminal emulator.

You can’t use ADB and Fastboot binary files for Linux on an Android device because those files are not compiled for ARM. However, thanks to Google there is ADB compiled for ARM. This file is already included in most of the newest Android devices.

Open your favorite file explorer and go to system/bin or system/xbin folder and search for ADB. If you can find this file there, there is no need to download it again.

Thanks to a developer named josteink we have also Fastboot binary compiled for ARM. This is not coming with your device natively so you will need to download it.

 Warning
We shall not hold any kind of responsibility if you run into troubles by following the instructions in this guide. Everything we share is tested before by developers and random users and they are reported as fully working. This doesn’t mean you may not experience problems. Just in case we strongly recommend to backup all your files. Nandroid backup is the best option because you can restore it easily back.
install adb and fastboot on android and use it like a pc

How to install ADB and Fastboot on Android phone or tablet

Step 1

  • Download ADB file here
  • Download Fastboot here

Step 2

  • Copy the two downloaded files to /system/bin folder

Step 3

  • Set permissions manually if you know how to do it. If not open terminal emulator and enter the following code:
Code:
su
mount -o remount,rw /system
chmod 755 /system/bin/fastboot
chmod 755 /system/bin/adb

Step 4

  • Reboot your device.

Step 5

  • Open terminal emulator and type:
 Code:
fastboot

If you see some text like this: ‘Fastboot is working’

Code:
u0_a60@grouper:/ $ fastboot
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot + recovery + system
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> ]              download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  devices                                  list all connected devices
  continue                                 continue with autoboot
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader
  help                                     show this help message

options:
  -w                                       erase userdata and cache
  -s <serial number>                       specify device serial number
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address
  -n <page size>                           specify the nand page

Type:

Code:
adb version

If you see some text like this: ‘ADB is working’

Code:
u0_a60@grouper:/ $ adb version
Android Debug Bridge version 1.0.31
You have ADB and fastboot in your tablet/phone.
Step 6
Connect another android device to your device by OTG cable. And try out ADB and fastboot. (use “su” command before using fastboot and ADB in terminal. Otherwise fastboot/adb will not function well)

Related posts

1 Comment

  1. Clinton

    Can you update the link?

Leave a Reply

Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

WordPress Theme built by Shufflehound. © 2023 All rights reserved by DoryLabs