[Guide] Use your tablet/phone as PC for Fastboot and ADB
In this guide i will show you how to use tablet/phone as a computer for adb and fastboot purposes.
With android devices most of people here in xda can't stay away from using Fastboot or adb. I'm changing kernel of my xperia neo frequently. Unlike samsung, in sony, kernels cannot be flashed without fastboot. So I'm using adb and fastboot frequently,
But what happens if u don't own a PC, or of ur PC is not working.
This guide is helpful for people who doesn't have a PC, who are too lazy to turn on their pc
, who are outside from the house, etc.
Okay.. Enough talk. Let's get into work.
* Rooted android Tablet / Phone.
* OTG cable [ Make sure that your device supports OTG. (If not search your device's thread for OTG )]
* A root browser ( eg:- Root Explorer, ES file explorer)
* Terminal emulator
( um not responsible for your bricked device.)
You may think that we can use adb and fastboot binary files for linux in our android devices. No. We can't use them. Because those files are not compiled for ARM. So we can't use them.
Thanks to google we have adb compiled for ARM. This file is already included in some new devices. ( search "adb" in /system/bin or /system/xbin folder. If you have this you don't need to download this again)
Thanks to josteink we have Fastboot binary compiled for ARM. This isn't coming with your device natively.
1. Download adb file here
2. Download fastboot file here
* Copy those two files to /system/bin to folder.
* set permissions manually if you know how to do it.
If not open terminal emulator. Then enter following,
mount -o remount,rw /system
chmod 755 /system/bin/fastboot
chmod 755 /system/bin/adb
*Reboot your device.
Now you're done.
*Open terminal emulator and type
If you see some text like this, Fastboot is working.
u0_a60@grouper:/ $ fastboot
usage: fastboot [ <option> ] <command>
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
-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 size. default: 2048
If you see some text like this, adb is working.
u0_a60@grouper:/ $ adb version
Android Debug Bridge version 1.0.31
Tada... You have adb and fastboot in your tablet/phone.
*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)
*Report here if adb and fastboot working in your device
Last important STEP
*press thanks button.