Skip to content

[EFIDroid] fastboot commands

Michael Zimmermann edited this page Nov 2, 2016 · 5 revisions

this list does contain custom commands implemented by EFIDroid, not the standard ones.

LK and UEFI

oem poweroff

shuts the device down. Since most devices can't shutdown with usb connected, LK gives you 5s to do that after issuing the command

oem reboot-download

reboot into Qualcomm emergency download mode

oem reboot-recovery

reboot into recovery mode

oem help

lists all available commands

LK

oem dump-atags [FILE]

dumps the atags(legacy or fdt) that the stock bootloader generated for EFIDroid. needs fastbootwrapper

oem dump-mem ADDR LEN [FILE]

dumps a memory range. needs fastbootwrapper

oem memfill ADDR SIZE

fills a memory range with the specified byte value. This can be useful for testing LCD drivers.

oem dump-partitiontable [qcom]

prints the partition table of all internal or external storage devices supported by LK

if you add the argument 'qcom' the table of Qualcomm's partition parser is shown, which only scans the first storage device(usually internal MMC)

oem findbootimages

search all partitions for known boot images.

oem bootaddresses

show boot addresses used for loading linux kernels

oem fbconfig

show framebuffer information

oem ram-ptable

show memory mapping table from Qualcomm SMEM

oem lk_log

show LK debug log, using fastbootwrapper is optional but improves readability and colorizes messages depending on the log level

UEFI

oem displayinfo

show display information

oem exit

exit fastboot mode and go back to the menu

oem screenshot [ID] [FILE]

Downloads screenshots previously taken using the power+volume down key combination. needs fastbootwrapper

oem getnvvar [NAME]

list EFIDroid's non-volatile storage variables

oem setnvvar [NAME] [VALUE]

set a EFIDroid non-volatile storage variable