Skip to content

Instantly share code, notes, and snippets.

@formerandroider
Forked from zhuowei/fastboot_commands.txt
Last active November 27, 2022 00:32
Show Gist options
  • Save formerandroider/3b9f28111470af7874fddb6b827cbbab to your computer and use it in GitHub Desktop.
Save formerandroider/3b9f28111470af7874fddb6b827cbbab to your computer and use it in GitHub Desktop.
Huawei Nexus 6P Angler fastboot commands
List grabbed from running `strings` on the bootloader; it's probably incomplete.
Most of these commands are untested, and all of them sound like they can seriously break your phone. Be careful.
Tested: (all on a bootloader unlocked device)
fastboot oem uart enable: changes "Console" on the bootloader screen to say "ttyHSL0,115200,n8";
probably enables serial messages; haven't checked since I don't know where the Nexus 6P's uart is
fastboot oem ramdump enable: changes "Download mode" on the bootloader screen to say "ENABLED" instead of "DISABLED".
Probably for dumping memory using QCT's Memory Debug App in download mode - I don't know how to activate Download Mode though, since the usual key sequence (Vol Up and Vol Down) didn't work
fastboot oem ramdump disable: changes "Download mode" back to "DISABLED"
fastboot oem off-mode-charge disable: disables offline charging (charging when the device is off). Causes the device to be turned on when plugged into charge.
fastboot oem off-mode-charge enable: enables offline charging
fastboot oem get-imei1: prints the IMEI
fastboot oem get-meid: prints the MEID
fastboot oem get-sn: prints the serial number
fastboot oem get-bsn: prints a string, probably the 'bsn'?
fastboot oem enable reduced-version: Fails, (remote: Command not allowed).
Full list:
reboot-bootloader
flashing unlock
oem unlock-go
oem frp-unlock
oem frp-erase
oem enable reduced-version
flashing lock
oem device-info
preflash
flashing get_unlock_ability
oem enable-charger-screen
oem disable-charger-screen
oem enable-bp-tools
oem disable-bp-tools
oem enable-hw-factory
oem disable-hw-factory
oem select-display-panel
oem off-mode-charge enable
oem off-mode-charge disable
oem ramdump enable
oem ramdump disable
oem uart enable
oem uart disable
oem hwdog certify begin
flash:slock
oem hwdog certify close
oem get-imei1
oem get-meid
oem get-sn
oem get-bsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment