[SOLVED] X20 recovery failed

Hello,

I was trying to recover my x20 to normal, following http://www.96boards.org/documentation/ConsumerEdition/MediaTekX20/Installation/BoardRecovery.md/ (but the link on the page was broken, so I used http://builds.96boards.org/releases/helio-x20/mediatek/aosp/latest/mediatek-x20-aosp-16.10.tar.xz ).

The gpt did not work, there was no recovery.img and the preloader was just preloader.img not preloader_amt6797_64_open.bin and after the fastboot reboot, it does not do much.

Over uart0, I get

[DL] 00009C40 00000000 010701

and after a while

F0: 102B 0000
F3: 0000 0000
L0: 8005 0000 [0001]
00: 1012 0000
F3: 0000 0000
L0: 8005 0000 [0001]
01: 102A 0001
02: 1027 0001
03: 1012 0000
BP: 0000 00D0 [0001]
EC: 0000 0000 [0001]
T0: 0000 9D65 [000F]
System halt!

and then it repeats.

Any way to recover (the recovery)?

Edit:

Trying the xflash again, it gives me

START.
wait for device.
remove@/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/tty/ttyACM0remove@/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0remove@/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1remove@/devices/pci0000:00/0000:00:14.0/usb3/3-48/dev/ttyACM0
connect boot rom.
connect boot rom error. code 0x1
END.

Nevermind, turns out the problem was ModemManager was interfering with xflash (/dev/ttyACM0, found it out after doing lsof). After doing

sudo systemctl stop ModemManager

I got the xflash to work.
Sorry for the noise

EDIT: Recovery seems to have succeeded after changing xflash.sh

fastboot flash preloader preloader_amt6797_64_open.bin

to

fastboot flash ../Special\ Image/preloader preloader_amt6797_64_open.bin