EVERYTHING YOU NEED TO KNOW - MINIMAL ADB & FASTBOOT
This is my first "Everything You Need To Know" Post. Under this I will be covering all the important Codes and their Executions plus Results of MINIMAL ADB & FASTBOOT - one of the most important aplication needed for handling your android device.
Now, the Useful Informations:
Minimal ADB and Fastboot Setup Screen
3. After installing it, open it, you will get the command screen as shown below:
START CODING!!!
LIST OF IMP ADB FASTBOOT CODES
INTRO - The Boring Part First ;)
ADB and Fastboot are arguably two of the most indispensable tools used when working with Android devices. If you really want to modify, debug, and tweak along with their countless uses in rooting, and other procedures ADB and Fastboot are a must for any Android device owner. Typically if you want to install ADB and Fastboot you have to download and setup the Android SDK (If you really want to learn about Android Development I highly recommend downloading and installing the full Android SDK from here), but this can be unnecessary for people who just want to install ADB and Fastboot and do basics such as rooting, unlocking, flashing roms, etc. To simplify the process xda developer shimp208 created a windows installer that will install the latest version of ADB and Fastboot for you quickly and easily. The total installation of Minimal ADB and Fastboot is around 2 MB in size (Compared to the 500+ MB size of the complete Android SDK) making it very lightweight.
Now, the Useful Informations:
- Let us first see how to install Minimal Adb and fastboot
- Download the Minimal ADB and Fastboot from here or select from the remaining eight mirror downloads from here . If nothing works, go here , select "begin download", and then "primary download".
- Open it and install it to the location that is given by default. If no location is set, it is preferred to install here- C:\Program Files (x86)\Minimal ADB and Fastboot
Minimal ADB and Fastboot Setup Screen
3. After installing it, open it, you will get the command screen as shown below:
START CODING!!!
LIST OF IMP ADB FASTBOOT CODES
- BASIC COMMANDS
- adb devices - Shows a list of devices attached to the computer.
- adb reboot - Reboots a device connected to the PC.
- adb reboot recovery - Reboots a device into recovery mode.
- adb reboot download - Reboots the connected device into download mode {For Samsung Galaxy Series}.
- adb reboot bootloader - Reboots a device into Bootloader.
- adb reboot fastboot - Reboots a connected device into Fastboot mode.
- INSTALLING/UNSTALLING/UPDATING APPS WITH ADB
- adb install<ApplicationpathPackagename>.apk - ADB install let’s you install APK files directly to your phone. To use this command type adb install application path, as shown in the commands part and hit enter key and it will start installing the app on your phone. e.g adb installC:/Users/Sadiq/Desktop/CandyCrushSaga.apk. If process succeeds it will show you “Success” in the command window.
- adb install -r<ApplicationpathPackagename>.apk - If you have already installed an app, and you just want to update it then this command will let you do so. e.g adb install -r C:/Users/Sadiq/Desktop/CandyCrushSaga.apk
- PUSH/PULL FILES:
- adb pull <path-of-the-file> - E.G. : adb pull system/apps/Settings.apk .The Settings.apk file will be pulled to the adb folder on your pc.
- adb push <source-path> <target-path> - It takes the file from the source address on your pc and transfer it to the target path on your device.
- BACKING UP SYSTEM AND INSTALLED APPS:
- adb pull /system/app backup/system_apps - backs up all the system apps of your phone to the Systemapps folder that you created in the ADB folder.
- adb pull /system/app backup/installed_apps - backs up all the installed apps of your phone to the installedapps folder that you created in the ADB folder.
- BACKGROUND TERMINALS:
- adb shell - starts the background terminal.
- exit - exits the background terminal.
- adb shell <command you want> - E.g. adb shell su . Switches to the root of your phone. Please make sure that you’re rooted in case you wish to use adb shell su.
- FASTBOOT COMMANDS:
NOTE: TO FLASH FILES USING THE FASTBOOT COMMANDS, FIRST PLACE THE DESIRED FILES WHERE YOU HAVE INSTALLED ADB FATSBOOT. {In my Case- C:\Program Files (x86)\Minimal ADB and Fastboot}
- fastboot flash file.zip - Flashes a .zip file to your device.
- fastboot flash recovery recoveryname.img - flashes the recovery file to your device.
- Fastboot flash boot bootname.img - Flashes a boot or kernel image
- Fastboot getvar cid - shows you the CID of your phone.
- <fastboot erase system> <fastboot erase data> <fastboot erase cache> - {use the codes without <>, one by one }- In case you want to restore a nandroid backup, you’ll have to delete the current system/data/cache of your phone first. Before doing this, it is always recommended to have backed up your system using a custom recovery>backup option and copy the backed up .img files to Fastboot folder. Then performing these commands will erase everything.
- <fastboot flash system system.img> <fastboot flash data data.img> <fastboot flash cache cache.img> - {use the codes without <>, one by one }- These commands will restore the backup that you made using a custom recovery on your phone and placed in the Fastboot folder.
- <fastboot oem get_identifier_token> <fastboot oem flash Unlock_code.bin> <fastboot oem lock> - {use the codes without <>, one by one }- These commands help you to get the identifier token of your phone that can be used for unlocking the bootloader. The second command helps your to flash the bootloader unlock code, and the 3rd commands helps you to lock your phone’s bootloader once again if locking it is actually allowed.
- LOGCAT:
- adb logcat - Shows you the real time logs of your phone, these logs represent the ongoing process on your device.It is recommended that you run this command while your device boots up to check what’s going on.
- adb logcat > logcat.txt - Creates a .txt file containing the logs in the Platform-tools folder or Fastboot folder in Android SDK tools directory.
tags{ignore}: minimal adb and fastboot zip minimal adb and fastboot commands how to use minimal adb and fastboot motorola device manager minimal adb and fastboot mac minimal adb and fastboot zip for moto e minimal adb and fastboot moto g minimal adb and fastboot 32bit
No comments:
Post a Comment