The poco x6 pro 'duchamp' uses the chipset MT6897, These chipsets use a new protocol called V6 and the bootrom is patched, thus you need a valid DA (Download_Agent) via -- loader option.
For all devices with SLA
(Serial Link Authentication) and DAA
(Download Agent Authentication) and Remote-Auth activated no public solution currently exists (for various reasons).
As we have seen in the past " begonia CFW Megathread", MTK devices are pretty easy to brick. All it takes is one wrong move and you are FUCKED!.
The same concept of a brick also applies to duchamp
devices "Example of what a brick looks like".
!!! note If you are already in this state and have not flashed the Engineering preloader images, the only way out is to visit an authorised Xiaomi Center.
It's not that easy to avoid bricking these devices. Just follow the instructions and don't do anything stupid.
However, by flashing the factory preloader
image, you can save yourself a lot of headaches.
Usually, MTK devices follow this boot pattern:
`BootROM` -> `preloader` -> `Little Kernel (lk)` -> `kernel`
Preloader runs after BROM, and does not require any security verification to write partitions. Normal HyperOs preloader
has download disabled. When you brick, you have Preloader starting and rebooting constantly. There's no way to talk to the Normal HyperOs preloader
. The Engineering preloader
A.K.A ENG preloader
on the other hand, has download enabled. so, after flashing the Engineering preloader
image, (with ever boot) the preloader
exposes an insecure VCOM
port with SLA
(Serial Link Authentication) and DAA
(Download Agent Authentication) checks disabled, allowing you to flash images with SP Flash tool V6 without worrying about having an authorised Mi account.
that means, if something goes wrong, as long as the Factory Engineering Preloader is present you CAN unbrick!
If you use the normal HyperOs preloader
image, the only "download" mode you can access in case of a brick is BootROM
(which is burnt into the SoC). This requires an authorised Mi account to access and write partitions from it.
There is currently no way to bypass these checks on duchamp
, as BootROM
has a bunch of checks to prevent unauthorised attacks.
Of course, at your own risk :P.
-
Download the correct
preloader
image:- [Engineering Hyperos preloader] (you can find it in this repository inside the docs/preloader folder)
- https://github.com/TheFormidable/Unbrick/tree/main/docs/Preloader
There are two versions, one installable by twrp and the other by fastboot FlashablePreloader.zip (twrp) preloader_duchamp_eng.bin(fastboot)
- Reboot your device into fastboot mode by holding down the appropriate button combination (
Volume Down
+Power
) until the wordFASTBOOT
in ORANGE appears on the screen. - Open a
ADB & Fastboot tools
window on your PC and flash thepreloader
image you downloaded before.
# Mention the path of the images before running the commands (Mention the path of the images before running the command)
# Ex: fastboot flash preloader1 C:/home/USER/duchamp/preloader_duchamp.bin
fastboot flash preloader_ab <preloader_duchamp_eng.bin>
-
Reboot your device by holding the
Power
button. -
You are good to go :D
-
...
So you have managed to brick your device and you have previously flashed the factory preloader
image? You can easily restore it by following these simple steps:
!!! warning
This method only works properly if executed on Slot A.
If it doesn't works, you are probably on Slot B, ence the only way out is to use the Format all + Download
option instead of Download only
, which ERASES the whole device UFS.
Always make a backup of your partitions
- Turn off your device.
- Open the SP Flash tool V6.
- On
BROM Connection
, make sure is set onauto
. - Load the Fastboot ROM of your choice by pressing the
Download XML
button and selecting theimages/download_agent/flash.xml
file. - Deselect the
preloader
option.
- Press the
Download
button. - Connect the device to your PC (if it doesn't detect, press and hold the
Power
button for 8-10 seconds). - The flash process should start.
You can get the latest SP Flash tool V6 from here and the latest duchamp
Fastboot ROM from here (make sure you choose the right MIUI Fastboot ROM for your device :D).