How to recovery back to factory version?

Hi friends,

My board is dead after I flash my BSP build with GMS enable.

I can’t use any more image to normal boot, even using Edge_Qt_V200908 factory image.

How can I do on next step?

My board is Khadas Egde-V Pro

uart log:

normal power on
boot wol: disable
detect_board val=204
board type = Edge-V (2)(val=204)
mac address: c8:63:14:70:57:41
Hit any key to stop autoboot: 0
ANDROID: reboot reason: “recovery”
optee api revision: 2.0
Vboot=0, AVB images, AVB verify
read_is_device_unlocked() ops returned that device is LOCKED
avb_ab_flow.c:30: ERROR: Magic is incorrect.
avb_ab_flow.c:107: ERROR: Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk.
avb_slot_verify.c:757: ERROR: vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED
AVB verify failed
Android boot failed, error -1.

Booting Rockchip Format Image

Could not find kernel partition, ret=-1
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **
starting USB…
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3a0000: USB OHCI 1.0
Bus usb@fe3c0000: USB EHCI 1.00
Bus usb@fe3e0000: USB OHCI 1.0
scanning bus usb@fe380000 for devices… 1 USB Device(s) found
scanning bus usb@fe3a0000 for devices… 2 USB Device(s) found
scanning bus usb@fe3c0000 for devices… 1 USB Device(s) found
scanning bus usb@fe3e0000 for devices… 1 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found

Device 0: unknown device
Speed: 1000, full duplex
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 46
*** Unhandled DHCP Option in OFFER/ACK: 46
DHCP client bound to address 192.168.1.27 (1 ms)
*** Warning: no boot file name; using ‘C0A8011B.img’
Using ethernet@fe300000 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.27
Filename ‘C0A8011B.img’.

Load address: 0x800800
Loading: T T T T T T T T T T
Retry count exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-d6-53-39-75-84-1b
Speed: 1000, full duplex
Using ethernet@fe300000 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.27
Filename ‘pxelinux.cfg/01-d6-53-39-75-84-1b’.
Load address: 0x600000
Loading: T T T T

Hello, use the instruction

2 Likes

@edentw Do you know how to upgrade via usb burn tools ? you can try follow our docs .

Or you can try it with SD Card

1 Like

Hi, Awesome support team

After reference your solution, I got a conclusion that
I just missed one step, ERASE FLASH.
So I use command line tool to do the following 2 steps:

  1. erase flash
    $ upgrade_tool ef update.img

  2. upgrade flash
    $ upgrade_tool uf update.img

Finally, the board is back, thank you, Khadas Team!
You are the best! :smiley:

PS:
GMS seems not easy to configuration.
So boot failed messages are not clear enough to show
what I can do something to figure it out.

Have a nice day,
Eden

2 Likes

Yes, you can use Khadas.docs or search the forum!
Good luck and welcome!
:slightly_smiling_face::+1: