MENU BAR

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Thursday, 6 October 2016

FAST BOOT COMMANDS




  1. fastboot
  2. usage: fastboot [ <option> ] <command>
  3. commands:
  4.   update <filename>                        reflash device from update.zip
  5.   flashall                                 flash boot + recovery + system
  6.   flash <partition> [ <filename> ]         write a file to a flash partition
  7.   erase <partition>                        erase a flash partition
  8.   format <partition>                       format a flash partition
  9.   getvar <variable>                        display a bootloader variable
  10.   boot <kernel> [ <ramdisk> ]              download and boot kernel
  11.   flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  12.   devices                                  list all connected devices
  13.   continue                                 continue with autoboot
  14.   reboot                                   reboot device normally
  15.   reboot-bootloader                        reboot device into bootloader
  16.   help                                     show this help message
  17. options:
  18.   -w                                       erase userdata and cache (and format
  19.                                            if supported by partition type)
  20.   -u                                       do not first erase partition before
  21.                                            formatting
  22.   -s <specific device>                     specify device serial number
  23.                                            or path to device port
  24.   -l                                       with "devices", lists device paths
  25.   -p <product>                             specify product name
  26.   -c <cmdline>                             override kernel commandline
  27.   -i <vendor id>                           specify a custom USB vendor id
  28.   -b <base_addr>                           specify a custom kernel base address
  29.   -n <page size>                           specify the nand page size. default:
  30. 2048
  31.   -S <size>[K|M|G]                         automatically sparse files greater th
  32. an
  33.                                            size.  0 to disable




if you want to know the oem commands then type: fastboot oem ?






an eng or "patched" hboot will less restrictions(for example fastboot flash all partitions),and more oem commands.

for comparison,the above oem ? output was from a normal,ship s-on rezound. the following is from an eng(or engineering) hboot: