We all know the wonders of rooting and what magic it can bring to our boring phone device, it is used to enlarge the number of options one can get to customize and utilize the device at the admin level. Smartphone device becomes smarter with rooting it. Now you might wonder how this happens. It can all be done easily with Android Debug Bridge otherwise known as ADB. The page provides you with all of the ADB and Fastboot commands in a list format along with a PDF file that is the Cheat Sheet.
These are crucial in the process which allows you enough freedom to enjoy your device. Who knows what this is and perform it. Moreover, know that how they shall cross their paths with these commands. Follow through to know about the command that assists and help to reboot the system to enter the bootloader.
You need to know what a specific command line does therefore it is important to have a look at the uses of a particular command at first.
Table of Contents
- 1 About ABD and Fastboot Commands History
- 2 ADB vs Fastboot (Major Differences)
- 3 Where are such ADB Fastboot Commands used generally
- 4 ADB & Fastboot Commands List for 2022 (PDF Cheatsheet Download Available)
- 4.1 ADB Reboot Recovery
- 4.2 ADB Reboot Bootloader
- 4.3 Fastboot device
- 4.4 ADB Device
- 4.5 ADB Reboot
- 4.6 Fastboot Flash XYZ.zip
- 4.7 Fastboot Flash Recovery XYZ.img – Great for recovery
- 4.8 Fastboot Reboot Bootloader
- 4.9 ADB Install
- 4.10 ADB Shell wm density (dpi)
- 4.11 ADB Uninstall
- 4.12 ADB sideload
- 4.13 ADB Shell
- 4.14 ADB Restore
- 4.15 ADB Backup
- 4.16 ADB Pull
- 4.17 Fastboot OEM Unlock & Lock (Unlocks your bootloader)
- 4.18 ADB Push
- 4.19 Fastboot Format:ext4dara
- 5 Fastboot Flash
- 6 Download All ADB and Fastboot Commands Cheat Sheet (PDF Format)
- 7 Conclusion: Which Fastboot commands have you used?
About ABD and Fastboot Commands History
These are seemed to be system utilities that aid in accessing the back end android system when the device has been connected to a Windows system or Mac or Linux. The basic structure is the same for all OS but is quite easier for windows. You need to be sure to send APK or zip files to android phone or tablet via Linux or Mac OS than windows.
ADB vs Fastboot (Major Differences)
ADB stands for “Android Debug Bridge” and is used when android OS is running on the device. It allows you to access the system folder, make changes and also open hidden files. Keep in mind that you need to root the device before beginning this procedure.
Fastboot is used when android OS is not running on the device. To use this, you need to boot the device into Fastboot mode, you shall have access partition of the device that shall not reflect in real-time even after changes.
Where are such ADB Fastboot Commands used generally
Many users prefer this on windows terminal on Mac or Linux, but the issue is seen when users are scared to use a code without any full knowledge of it and steps to perform next. Following are some pre-requisites that you need to follow before making use of code and using these commands.
Make sure to enable the developer option on the device by:
- Going to “settings”.
- About phone.
- After this click on the “build number” option for the time when the screen shows the message “you have successfully enabled developer”.
- After this go back to settings> developer options and select “USB Debugging”
- Hit “OK”.
ADB & Fastboot Commands List for 2022 (PDF Cheatsheet Download Available)
ADB Reboot Recovery
This is used by developers to install phone updates that are not released officially. When it is installed on the device already then you can sideload an update.zip firmware when it comes to updating the APK file which already exists on the device.
Many functions such as “flashing ROMs” to the device do not require to boot in the recovery mode. For this, you need to hold down a certain set of keys or buttons of the device for some seconds. With this command boot into the recovery mode directly.
ADB Reboot Bootloader
Enter into this further for entering the bootloader or Fastboot mode. With this jump into the bootloader of your phone by booting it in that mode, just like the recovery command, this one is more convenient to boot the device into this mode with a command on your system than by using a particular number of keys and patience.
With this get to know about all the connected devices.
With this, you are able to check the connection and gather information regarding devices that are connected to the system. While using this, this is the command which you need to run at first. It shall then show you a list of all the devices which have been connected to your system.
The device could be rebooted in normal mode by using this, use after flashing the APK file in the system. Moreover, you can also reboot the device getting back to android after recovery of the older operating system.
Fastboot Flash XYZ.zip
Flash this through Fastboot mode.
Fastboot Flash Recovery XYZ.img – Great for recovery
Use this to flash recovery image file into custom recovery.
Must Read: Top Android Cloner Apps that are premium.
Fastboot Reboot Bootloader
With this, you can wish to reboot your device when you are going for further changes there in the back end. Still, you shall have to reboot back to Fastboot.
This is used by debugging professionals and application developers. This aids to install zip files or the APK file on an Android device.
Use this to install a specific application on the device without even bothering it at all. Though this is not much of a handy method with Google Playstore applications that can be installed, uninstalled, updated with some clicks on the screen, it proves to be helpful and convenient to sideload an application.
ADB Shell wm density (dpi)
With this altered pixels density of phone display without facing any hurdles.
Want to remove an application from the RAM of the device? Then do this by entering in the full name of that package. Use this to vanish the application completely.
This is used by developers especially to uninstall phone updates which is not been released officially. Along with custom recovery, sideload update.zip firmware when it comes to updating the APK file which exists already on the system. Push the flash customs ROMs and zip files from your system.
Open or run commands in the terminals on the host of an Android phone or tablet.
Restore or backup to the device.ADB restore encourages you towards a point to an existing backup file and then restoring it to your tablet or phone.
Create a backup of the Android device and save it to your system. Though you can create backup otherwise but if you going to do something risky like rooting then it is suggested that you have a complete backup of the device.
Use this only when custom recovery has been installed on the device, moreover copy a file placed anywhere on the phone plus save a file in any folder you want to.
You can also copy files from your phone to the system. When you are pulling files you can leave the destination parameter, files can be copied to the folder on the system where it is present. Move this file to any place you want.
Fastboot OEM Unlock & Lock (Unlocks your bootloader)
With this unlock bootloader for android devices, makes root access possible.
Relock the bootloader of the device with this.
Make use of this only when you have a custom recovery installed on the device. Send ZIP or APK file from windows system to android device with this. The file which you wish to copy is there in the tools folder where it is already present then you need to enter the name of the file as source.
It helps you to copy files from system to phone without bothering the device. It has turned out to be useful while working with bugger files from the system towards the phone. An example includes ROMs or movies, etc. Make sure that you know the complete file path for both system and device to copy files.
Must Read: Download Samsung FRP Tool (Pro).
Use this to erase data of your phone device
Use this to flash zip files, recovery, factory images, system, radio and other pictures to android device. Following are some examples:
fastboot flash boot boot.img fastboot flash system system.img fastboot flash recovery recovery.img fastboot flash cache cache.img fastboot flash modem NON-HLOS.bin fastboot flash sbl1 sbl1.mbn fastboot flash dbi sdi.mbn fastboot flash aboot emmc_appsboot.mbn fastboot flash rpm rpm.mbn fastboot flash tz tz.mbn fastboot flash LOGO logo.bin
For TWRP flash recovery use:
Fastboot flash recovery twrp.img
If the recovery file which you carry is a flashable ZIP then you need to use the following command:
Fastboot flash recovery TWRP-recovery.zip
Note: Keep in mind that such commands can break or damage the device, so use this carefully. If you are a newbie to all these things then please check out reliable tutorials. Moreover, these commands do not work on all Android devices as their compatibility differs from OEM to OEM.
Download All ADB and Fastboot Commands Cheat Sheet (PDF Format)
Conclusion: Which Fastboot commands have you used?
This was all for the complete list of ADB Fastboot commands for Android that you can find anywhere. The most popular ones are the “Reboot recovery” and “Flash Recovery” ones that can save your smartphone from being bricked. These should work on any device such as Nokia, Samsung or Xiaomi. There is a PDF file made available too for ease of access should you wish to save it locally.