Whats is Fastboot? - Technastic
Fastboot Commands List and Cheat Sheet with Explanation
fastboot-commands-list/ By Rakesh
Fastboot Commands List
Warning: Please note that Fastboot commands can brick or damage your device. Please use them carefully. If you are new to such things, please refer to a reliable tutorial. Also, Fastboot commands do not necessarily work on all Android devices. Their compatibility differs from OEM to OEM.
Check Fastboot Connection Status
fastboot devices
fastboot devices [-l] (with the path of the device/s)
Using this Fastboot command, you can check if your device has been detected and recognized by your computer or not. It shows the list of device/s connected to your computer as shown below.
Find Device Information via Fastboot
fastboot oem
There are some interesting variations of the `fastboot oem' command that work with different parameters as described below:
fastboot oem device-info
The above command, for instance, will display a detailed list of information about your Android device. Similarly, you can add the following parameters after fastboot oem to perform certain tasks and get more info.
1/5
setbrightness
get_config
set_config
rm_config
esim_erase
esim_atp
uart
HALT
sha1sum
ddrtest
ramdump
dmesg
rma
ramdump_sahara
dump-chipid
check-hw-security
get_platform_info
set_platform_info
select-display-panel
off-mode-charge
set_display_power_mode
enable-factory-lock
factory-lock
continue-factory
Display Miscellaneous Info about Your Device
fastboot getvar [NAME]
fastboot getvar battery-status
fastboot getvar battery-voltage
fastboot getvar boot-mode
fastboot getvar build-mode
fastboot getvar cidnum
fastboot getvar gencheckpt
fastboot getvar imei
fastboot getvar meid
fastboot getvar modelid
fastboot getvar partition-layout
fastboot getvar platform
fastboot getvar product
fastboot getvar security
fastboot getvar serialno
fastboot getvar version
fastboot getvar version-baseband
fastboot getvar version-bootloader
fastboot getvar version-cpld
fastboot getvar version-main
fastboot getvar version-microp
fastboot getvar version-misc
To get even more information about your Android phone or tablet using the Fastboot commands listed above.
Fastboot Command to Unlock the Bootloader
2/5
fastboot oem unlock
This command can unlock the bootloader on Android devices from OEMs like Google (Nexus/Pixel), OnePlus, Motorola, Nokia, etc. You may also need an unlock key from your device manufacturer to unlock the bootloader. Alternatively, you can also use the following Fastboot command to unlock the bootloader.
fastboot flashing unlock
Read Also: How to Unlock Android PIN and Pattern using ADB Commands
Relock the Bootloader
fastboot oem lock
or
fastboot flashing lock
Once unlocked the bootloader, you can relock it later by using the above command.
Reboot Android Device
fastboot reboot
Reboots your device into the ROM.
Reboot the Device into the Recovery Mode
fastboot reboot recovery
Reboots Android devices into Recovery mode.
Reboot the Device into the Bootloader Mode
fastboot reboot bootloader
Sometimes, you may need to reboot the Fastboot or Bootloader mode while flashing images. This command will do that for you.
Fastboot Commands to Flash TWRP and System Image
fastboot flash
This command can be used to flash zip files, factory images, recovery, boot, radio, system, and other images to your Android device. Check out these examples:
3/5
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
Similarly, you can use the following command to flash TWRP recovery.
fastboot flash recovery twrp.img
If the TWRP recovery file you have is a flashable ZIP, you can use the following command.
fastboot flash recovery TWRP-recovery.zip
Boot into TWRP via Fastboot
fastboot boot recovery twrp.img
Use the above command if you need to just boot your Android device into a custom recovery mode temporarily without flashing it.
Format the Userdata Partition
fastboot erase userdata
You can use this command to erase your phone's data.
Flash All Partitions at Once
fastboot -w flashall
If you want to flash all partitions on your Android device at once, you can use the above Fastboot command.
Restore from Backed-up Images
If you have backed up the system, data, and cache image files from your phone and want to restore them, you can do that by erasing the current partitions followed by flashing the backed-up images saved on your computer. Make sure to issue the commands given below in the same sequence.
fastboot erase system
fastboot erase data
fastboot erase cache
4/5
Once you have erased the above partitions, use these commands to restore your backup:
fastboot flash system system.img
fastboot flash data data.img
fastboot flash cache cache.img
Should you have any questions to ask about ADB and Fastboot commands, feel free to drop us a comment. Before you go, don't forget to check out our huge list of ADB Shell commands with a detailed explanation.
Flash Update.zip via Fastboot
fastboot update ZIP
You can use this command to flash all partitions from an update.zip package.
5/5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- how to retrieve deleted text messages from textfree app
- wondershare drfone for android crack torrent
- downloadaiseesoft fone lab rar
- easeus mobisaver 76 crack activation serial key 2020
- impact of covid 19 response on global surgical
- 2020 internet crime report
- 1 2 https 21ohu7
- licensed email and registration code for wondershare data
- ipod classic user guide b h photo
- data privacy policy
Related searches
- whats trendy 2019
- whats in whats out fashion 2019
- whats the best credit card
- whats your goal in life
- whats meant to be will be quotes
- whats meant to be quotes
- whats your why simon sinek
- whats the earliest you can detect pregnancy
- whats half of 1 3
- not knowing whats going on
- whats going on in china right now
- whats a period