-
After playing with UBTouch I decided to try PMos too but unfortunately I didn't like it and I would like to go back and install UBtouch.
The phone is no longer reachable via ADB/Fastboot or even EDL by shorting the pins on the motherboard. I took it to an authorized Xiaomi center and they couldn't even flash the Android ROM again.
I believe the problem is due to pmos installation which requires loading custom u-boot, custom kernel boot partition and deleting the factory dtbo partition.
I tried a wipe from Recovery but I complicated the situation because I deleted the boot partition and I'm stuck in debug shell.
I'd like to know if it's possible to reload the boot partition using a micro SD or SSD connected via USB. The debug shell commands are limited, and I don't have the advanced experience to do so.
Thanks so much to anyone who can help.

-
C CiberSheep moved this topic from Xiaomi Poco X3 NFC
-
@toniox
Hello.
Normally, installing UT requires Android to be installed first.
Do you think this is possible given the state of the phone?
https://devices.ubuntu-touch.io/device/surya/ -
@Vlad-Nirky I've tried everything, but I can't install the stock Android ROM because the phone no longer appears through fastboot/adb/edl.
It could be a motherboard malfunction, but before throwing the phone in the trash, I wanted to see if anyone has experience using the debug shell to restore Android partitions.
-
@mrt10001
Any idea? -
@toniox EDL is different on Xiaomi devices. You have to use the MIFlash tool and use a MI account to log in (a complete f*&*&^$$ around to put it politely to get that done), then download the latest fastboot ROM for that device and I mean the latest fastboot ROM, unzip it and direct the MI flash tool to that. Hold Volume UP and Volume down together and plug the device into the PC and it has to be a Windows PC, MiFlash will not work otherwise, ensure you leave the bottom right box ticked for clean and install, do NOT lock the bootloader. Then start the process. If it fails, keep trying, it will work eventually. Unbricked my Mi A3 using this and it took a lot of attempts.
The other EDL mode is mutch the same, but requires opening the back, removing the mainboard cover and shorting the two EDL points, which requires fashioning a tool to do so so you can short the points and plug the USB cable in without requiring 4 pairs of hands.
EDL mode should work as it is the lowest point of entry to reflash the stock ROM and as the phone boots with that dialogue it should work.
What I cannot understand is an Xiaomi repair centre couldn't do this procedure! Any pro repair shop should be able to do this.
The other alternative is to buy a broken one and swap mainboards to get a functioning device.
It depends how far you want to take this.