("Solved") Ideas on recovering files from bricked locked cepheus global after OTA update to stock 12.5?

Search This thread

toshe4real

New member
Feb 22, 2022
3
0
Hi, guys, I have problem with my phone:
  • MI 9 cepheus global
  • Locked bootloader
  • No xiaomi account ever connected to the phone
  • In a boot loop after OTA update from stock 12.0.5 to stock 12.5.1
  • adb sideload update failes every time
I know that I can flash the phone via EDL or wipe the data and adb sideload the update. But I would like to save my data and my pictures that somehow did not sync with the google account for a year.

(History: I bought two phones of the same type. The screen of the aforementioned phone had a slightly broken screen that I paid to be replaced by Xiaomi and it was also reflashed by them. When it came back everything was wiped and while setting it I must have forgotten to click sync pics. The Xiaomi support is sadly not helpful at all and keeps asking the same questions and spinning me in a circle. They also did not agree that it is their fault although it only happened to the phone they serviced and apparently you have to have at least 10GB of free storage to update otherwise the phone gets bricked easily. Sadly I lost a lot of time, hopes and effort in describing the problem but they answer with standard messages, refusing to help on unlocking the bootloader or giving EDL account. Their only offer was sending it to a service center for paid mainboard replacement.)

So I am on my own here and after reading a lot and came to the following ideas:
  1. EDL flash but commenting the userdata lines in partition.xml and rawprogram0.xml so they will not be overridden. Will it work? Do I need to comment other lines?
  2. Transfer the IMEI to my second phone and register it in Xiaomi. This way I can hopefully unlock the bootloader on the bricked phone because Xiaomi will think with it is connected to the account. The risk is to break my working phone.
  3. Man in the middle intercept (with Fiddler) my working phone and replace the REST request with the IMEI of the bricked phone. But I need to root the working phone in order to install new trusted root CA.
  4. Complete backup through EDL with Hydra for example? -> Flash with EDL -> register the phone -> unlock bootloader -> restore the backup –> use shell or twrp to access the files.
  5. Flash over EDL a script that will delete all files in the download folder. I know it is possible over fastboot but I do not know about EDL.
What should I try first and what would probably work best? I would appreciate any help, experience or tools on the above ideas. Is there more to try out? Will the second phone help somehow?

OT: Thanks to all the forum members for posting their knowledge. You saved me a lot of time during the decades!
 

toshe4real

New member
Feb 22, 2022
3
0
While trying 5. I firstly wrote "fastboot oem lock" and "fastboot oem unlock". My phone started counting progress and booted but all the data was gone. I have a working phone but no data and I don't know what happened. I am closing the thread because I cannot proceed recovering the data. :(