[Honor 7 Q&A, Help & Troubleshooting] aamszia:
C:\Program Files\Minimal ADB and Fastboot>fastboot oem unlock

< waiting for device >

...

OKAY [ 12.991s]

finished. total time: 12.991s

C:\Program Files\Minimal ADB and Fastboot>

C:\Program Files\Minimal ADB and Fastboot>fastboot reboot-enter-fastboot-common-

func

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot, system, vendor and if fou

nd,

recovery

flash <partition> [ <filename> ] write a file to a flash partition

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> [ <second> ] ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and

flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

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

C:\Program Files\Minimal ADB and Fastboot>fastboot common

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot, system, vendor and if fou

nd,

recovery

flash <partition> [ <filename> ] write a file to a flash partition

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> [ <second> ] ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and

flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

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

C:\Program Files\Minimal ADB and Fastboot>fastboot reboot

rebooting...

finished. total time: 0.125s

C:\Program Files\Minimal ADB and Fastboot>fastboot flash recovery recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (11776 KB)...

OKAY [ 0.374s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.390s

C:\Program Files\Minimal ADB and Fastboot>fastboot getvar all

< waiting for device >

getvar:all FAILED (remote: Command not allowed)

finished. total time: -0.000s

C:\Program Files\Minimal ADB and Fastboot>fastboot getvar all

getvar:all FAILED (remote: Command not allowed)

finished. total time: 0.000s

C:\Program Files\Minimal ADB and Fastboot>fastboot -w

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: Command not allowed)

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: Command not allowed)

erasing 'userdata'...

FAILED (remote: Command not allowed)

finished. total time: -0.000s

C:\Program Files\Minimal ADB and Fastboot>