- adb stands for "Android debug bridge" it works as a bridge between Android phone and a Computer, where user connects the Phone with computer using USB, User can Debug the android with adb commands
- Fastboot is a android recovery software used to perform operations related to boot loader, Fastboot mainly used to Unlock bootloader, Flash Partitions like recovery, system, vendor, etc. This all things can be done by passing commands to phone with Fastboot through computer
Requirements
- Windows/Linux based computer
- Adb setup file - Download
- Android Device and USB cable
if you have Linux based PC then type the following commands in terminal
- sudo apt-get update
- sudo apt-get install android-tools-adb
- sudo apt-get install android-tools-fastboot
- click 7 times on about phone to enable Developer Mode
- search for Developer mode and enable USB Debugging
- Open Command prompt/ Terminal in your PC
- Type the command and you can operate the adb and fastboot
- Check adb connected devices- "adb devices"
- Install/uninstall apks using adb- "adb install <package_name>" , "adb uninstall <package_name>
- Reboot to bootloader/fastboot- "adb reboot bootloader"
- Use terminal/shell of android- "adb shell"
- Normally reboot from fastboot- "fastboot reboot"
- Unlock bootloader in fastboot mode- "fastboot flashing unlock"
- Flash partitions in fastboot mode- "fastboot flash <partition_name> <file_name> Example- fastboot flash recovery Twpr_recovery.img
By customrom.co.in
Comments
Post a Comment