a guest Dec 21st, 2018 242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. platform-tools$ ./fastboot help
  2. usage: fastboot [OPTION...] COMMAND...
  4. flashing:
  5.  update ZIP                 Flash all partitions from an package.
  6.  flashall                   Flash all partitions from $ANDROID_PRODUCT_OUT.
  7.                             On A/B devices, flashed slot is set as active.
  8.                             Secondary images may be flashed to inactive slot.
  9.  flash PARTITION [FILENAME] Flash given partition, using the image from
  10.                             $ANDROID_PRODUCT_OUT if no filename is given.
  12. basics:
  13.  devices [-l]               List devices in bootloader (-l: with device paths).
  14.  getvar NAME                Display given bootloader variable.
  15.  reboot [bootloader]        Reboot device.
  17. locking/unlocking:
  18.  flashing lock|unlock       Lock/unlock partitions for flashing
  19.  flashing lock_critical|unlock_critical
  20.                             Lock/unlock 'critical' bootloader partitions.
  21.  flashing get_unlock_ability
  22.                             Check whether unlocking is allowed (1) or not(0).
  24. advanced:
  25.  erase PARTITION            Erase a flash partition.
  26.  format[:FS_TYPE[:SIZE]] PARTITION
  27.                             Format a flash partition.
  28.  set_active SLOT            Set the active slot.
  29.  oem [COMMAND...]           Execute OEM-specific command.
  31. boot image:
  33.                             Download and boot kernel from RAM.
  35.                             Create boot image and flash it.
  36.  --cmdline CMDLINE          Override kernel command line.
  37.  --base ADDRESS             Set kernel base address (default: 0x10000000).
  38.  --kernel-offset            Set kernel offset (default: 0x00008000).
  39.  --ramdisk-offset           Set ramdisk offset (default: 0x01000000).
  40.  --tags-offset              Set tags offset (default: 0x00000100).
  41.  --page-size BYTES          Set flash page size (default: 2048).
  42.  --header-version VERSION   Set boot image header version.
  43.  --os-version MAJOR[.MINOR[.PATCH]]
  44.                             Set boot image OS version (default: 0.0.0).
  45.  --os-patch-level YYYY-MM-DD
  46.                             Set boot image OS security patch level.
  48. Android Things:
  49.  stage IN_FILE              Sends given file to stage for the next command.
  50.  get_staged OUT_FILE        Writes data staged by the last command to a file.
  52. options:
  53.  -w                         Wipe userdata.
  54.  -s SERIAL                  Specify a USB device.
  55.  -s tcp|udp:HOST[:PORT]     Specify a network device.
  56.  -S SIZE[K|M|G]             Break into sparse files no larger than SIZE.
  57.  --slot SLOT                Use SLOT; 'all' for both slots, 'other' for
  58.                             non-current slot (default: current active slot).
  59.  --set-active[=SLOT]        Sets the active slot before rebooting.
  60.  --skip-secondary           Don't flash secondary slots in flashall/update.
  61.  --skip-reboot              Don't reboot device after flashing.
  62.  --disable-verity           Sets disable-verity when flashing vbmeta.
  63.  --disable-verification     Sets disable-verification when flashing vbmeta.
  64.  --wipe-and-use-fbe         Enable file-based encryption, wiping userdata.
  65.  --unbuffered               Don't buffer input or output.
  66.  --verbose, -v              Verbose output.
  67.  --version                  Display version.
  68.  --help, -h                 Show this message.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!