-
-
Save CodyToombs/65eff7ea850d0d6279ae to your computer and use it in GitHub Desktop.
Android M Preview (Platform Tools v23 rc2): Fastboot usage page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage: fastboot [ <option> ] <command> | |
commands: | |
update <filename> reflash device from update.zip | |
flashall flash boot, system, vendor and if found, | |
recovery | |
flash <partition> [ <filename> ] write a file to a flash partition | |
flashing lock locks the device. Prevents flashing | |
partitions | |
flashing unlock unlocks the device. Allows user to | |
flash any partition except the ones | |
that are related to bootloader | |
flashing lock_critical Prevents flashing bootloader related | |
partitions | |
flashing unlock_critical Enables flashing bootloader related | |
partitions | |
flashing get_unlock_ability Queries bootloader to see if the | |
device is unlocked | |
erase <partition> erase a flash partition | |
format[:[<fs type>][:[<size>]] <partition> format a flash partition. | |
Can override the fs type and/or | |
size the bootloader reports. | |
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 [bootloader] reboot device, optionally into bootloader | |
reboot-bootloader reboot device into bootloader | |
help show this help message | |
options: | |
-w erase userdata and cache (and format | |
if supported by partition type) | |
-u do not first erase partition before | |
formatting | |
-s <specific device> specify device serial number | |
or path to device port | |
-l with "devices", lists device paths | |
-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. | |
default: 0x10000000 | |
-n <page size> specify the nand page size. | |
default: 2048 | |
-S <size>[K|M|G] automatically sparse files greater | |
than size. 0 to disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment