• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Mi 9T Hard Brick After MIUI11 Test

Status
Not open for further replies.
Search This thread

Waidowai

Senior Member
Jul 17, 2017
74
4
I was at 11 last night then messed something up. Can you try to put a rom on internal storage and see if it goes through?

I'm trying to flash the latest eu beta now. i think 9.8.15??? I hope it goes through.
If it does I'll update how I did stuff.
I would prefer to be on stable but if beta is the only thing that works that's fine by me.

If it does not work I have 1 more twrp to try. I would like to try the chinese twrp that came installed with mi11 but i don't remember where i put it/ i'm not able to boot into it anymore???

I did was however able to boot into stock recovery.

Anyhow I'll let u know when the flash goes through. For now it will take some time I think.

---------- Post added at 09:46 PM ---------- Previous post was at 09:13 PM ----------

Ok after 2hours ish flash went through.
Unfortunately it said again the partition is write protected.
So again we have to bypass or decrypted our phones somehow :(
 

Soapy!

Senior Member
Feb 28, 2014
495
116
Philadelphia
I can help you with that!!!!

Basically I helped a guy fix his Mi 9 which had the same issue

Download this: https://forum.xda-developers.com/attachment.php?attachmentid=4494670&d=1525641258

Then transfer the "gdisk" to your phone in TWRP with adb push

With adb shell do the following commands:
chmod 777 gdisk
./gdisk

Then in gdisk show the info of userdata partition and copy its GUID code. Then delete the userdata partition and create a new partition (with default first and last sector) and change its GUID code to the one you copied from userdata and change its name to userdata

Then in TWRP click Format Data, type in yes, continue and you're done!

I trailed back to your solution and found the correct path: /dev/block/sda. I was able to delete userdata (sda32) through gdisk and create a new userdata partition but after exiting, it seems like nothing has changed. When I reboot into TWRP, it still remains stuck on the splash screen and while browsing through the files in adb shell, it appears that the old userdata partition is restored. If this extra information helps, data is encrypted with AES 128-bit w/ ICE key wrapper (or something along those lines). Do you have anything else I could try?
 
Last edited:

Arif Ferdian

Senior Member
Dec 10, 2016
68
13
I seem to have hard bricked my 9T after flashing the MIUI 11 rom from xiaomi.eu. I think culprit is a totally botched/corrupted boot loader and I have no idea how it happened. I've tried reflashing back to stock through stock image .bat files, but no dice. It flashed everything but the device still refuses to boot past the MI screen. If I try to boot into TWRP, my device gets stuck at the TWRP splash screen, no matter which version it is. Does anyone know what I can do or try at this point? Thanks.

Finally, i can pass the splash screen, now its on the boot animation, ill wait will this pass the animation boot or not.
 

Attachments

  • 1570182316695714073908715693557.jpg
    1570182316695714073908715693557.jpg
    334.5 KB · Views: 101

Waidowai

Senior Member
Jul 17, 2017
74
4
Finally, i can pass the splash screen, now its on the boot animation, ill wait will this pass the animation boot or not.

I've been there 2 days ago. I waited 8 hours nothing happened.

---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------

I give up with this device. Best of luck.

Yeah I gave up.
I managed to get access to the internal storage from my pc and could move stuff without adb commands, basically I could move stuff normally and my pc recognized the memory but again that doesn't fix anything if we can't flash stuff.
 

Arif Ferdian

Senior Member
Dec 10, 2016
68
13
I've been there 2 days ago. I waited 8 hours nothing happened.

---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------



Yeah I gave up.
I managed to get access to the internal storage from my pc and could move stuff without adb commands, basically I could move stuff normally and my pc recognized the memory but again that doesn't fix anything if we can't flash stuff.

Buakkakakka yaaaass... im also gave up.
You are right, nothing happened...
Ill send it back with guarantee card.
 

Soapy!

Senior Member
Feb 28, 2014
495
116
Philadelphia
Any volunteers?

Out of boredom and a bit of depression, I "deleted" /dev/block/sda with gdisk and now I'm met with: "System is destroyed" on boot. TWRP is gone and the bootloader relocked itself. Fastboot can't erase or flash jack since the BL is locked. I feel like if I bought an EDL cable, put the phone in EDL mode, and use miflash to flash the fastboot rom on it, it will magically be fixed. I don't know if anyone is crazy enough to try on their end though.

Steps performed (THIS IS NOT A FIX, DO NOT TRY WITHOUT EDL):
1. download zip provided by nicolassmart and extract gdisk file into the same directory as adb
2. connect phone and boot into TWRP
3. on splash, open CMD
4. type in adb push gdisk /etc/ then press enter
5. enter adb shell and change directory to /etc/
6. type in chmod 777 gdisk then press enter
7. type in ./gdisk /dev/block/sda then press enter
8. navigate to extra functionality menu (or something along those lines) then select zap blah blah
9. yes to all prompts
10. Reboot

From there you could pry the K20 open or buy an EDL cable, boot into EDL mode, and then use miflash to flash fastboot rom.
 

Waidowai

Senior Member
Jul 17, 2017
74
4
Out of boredom and a bit of depression, I "deleted" /dev/block/sda with gdisk and now I'm met with: "System is destroyed" on boot. TWRP is gone and the bootloader relocked itself. Fastboot can't erase or flash jack since the BL is locked. I feel like if I bought an EDL cable, put the phone in EDL mode, and use miflash to flash the fastboot rom on it, it will magically be fixed. I don't know if anyone is crazy enough to try on their end though.

Steps performed (THIS IS NOT A FIX, DO NOT TRY WITHOUT EDL):
1. download zip provided by nicolassmart and extract gdisk file into the same directory as adb
2. connect phone and boot into TWRP
3. on splash, open CMD
4. type in adb push gdisk /etc/ then press enter
5. enter adb shell and change directory to /etc/
6. type in chmod 777 gdisk then press enter
7. type in ./gdisk /dev/block/sda then press enter
8. navigate to extra functionality menu (or something along those lines) then select zap blah blah
9. yes to all prompts
10. Reboot

From there you could pry the K20 open or buy an EDL cable, boot into EDL mode, and then use miflash to flash fastboot rom.

I gave up on the phone I tried EDL too but EDL wouldn't even boot. Or it would have taken hours too and I didn't have the patients.
After the EDL reboot command the screen turned just black ( I waited 1 hour nothing happened, maybe more time woulda helped but like I said I gave up on the phone).
 

Soapy!

Senior Member
Feb 28, 2014
495
116
Philadelphia
I gave up on the phone I tried EDL too but EDL wouldn't even boot. Or it would have taken hours too and I didn't have the patients.
After the EDL reboot command the screen turned just black ( I waited 1 hour nothing happened, maybe more time woulda helped but like I said I gave up on the phone).

Yes but this is EDL after wiping the entire sda storage.
 

Waidowai

Senior Member
Jul 17, 2017
74
4
Yes but this is EDL after wiping the entire sda storage.

I did wipe everything. Data, Cache, persist, internal storage, everything that you could wipe.
Like I said I've had access to every partition again.

My guess is if you wan't to fix it you have to wait until a new twrp version comes out. But even then it's questionable.

There are to possibilities. Either the device "forgot" that it is a Mi9T and therefore no ROM wheter it's costume or stock is flashable/ is accepted after the flash. Or the current twrp versions are not able to flash, but that would not explain why stock doesn't work.

But my guess is that former option. Because even stock recovery can't get through the encryption even after formatting every single damn thing on the storage (without errors). Basically my storage was kinda like it was a new one.

Again the furthest that I've gotten is having the device recognized on my PC with the "full 56gb storage" i guess the rest was taken by the OS. And my pc could normally move stuff in and out like a fully functional phone would.
But even than after flashing stock or costume rom it says no OS installed, even if you remove safety lines from the zip file to remove error 7 and decrypt the storage. Cuz after flashing anything the storage just gets encrypted again and the storage size goes back to 11gb and the pc won't recognize the phone anymore.

Maybe there is something wrong with the mobo or there is some kind of memorie that stored inforation about the device being on miui11 and now not a signle flash with for any rom that's mi10 works.

Your best shot is to wait for a stable miui11 or a costume working rom that is based on mi11. maybe you could try and flash an asoap rom and this works. But i'm 99% sure that you won't have any luck getting this device running with a miui10 version again.

But I'm not gonna waste any more time on this phone. The fact that every try takes 4ish hours because booting up twrp and flashing/formatting anything takes 2 hours each is just way to long for a slim chance to get it working again. If it was not for the slowdown I could try all the other stuff that I just mentioned but yeah. Someone else with patients might do.
For me I'm gonna stick on stock rom now, since eu was not that different tbh. That being said the current stock rom is 10.3.12 on global at least that is what my phone says. So 10.3.11 isn't even up to date.
 

wives1989

Member
Feb 12, 2011
6
1
Out of boredom and a bit of depression, I "deleted" /dev/block/sda with gdisk and now I'm met with: "System is destroyed" on boot. TWRP is gone and the bootloader relocked itself. Fastboot can't erase or flash jack since the BL is locked. I feel like if I bought an EDL cable, put the phone in EDL mode, and use miflash to flash the fastboot rom on it, it will magically be fixed. I don't know if anyone is crazy enough to try on their end though.

Steps performed (THIS IS NOT A FIX, DO NOT TRY WITHOUT EDL):
1. download zip provided by nicolassmart and extract gdisk file into the same directory as adb
2. connect phone and boot into TWRP
3. on splash, open CMD
4. type in adb push gdisk /etc/ then press enter
5. enter adb shell and change directory to /etc/
6. type in chmod 777 gdisk then press enter
7. type in ./gdisk /dev/block/sda then press enter
8. navigate to extra functionality menu (or something along those lines) then select zap blah blah
9. yes to all prompts
10. Reboot

From there you could pry the K20 open or buy an EDL cable, boot into EDL mode, and then use miflash to flash fastboot rom.

Ive been hiring into a job all week and plan on trying whatever methods this weekend.

PS - you dont need an edl cable if you cn get to fastboot just endter 'fastboot oem edl' from your windows powershell.
 

Soapy!

Senior Member
Feb 28, 2014
495
116
Philadelphia
I did wipe everything. Data, Cache, persist, internal storage, everything that you could wipe.
Like I said I've had access to every partition again.

My guess is if you wan't to fix it you have to wait until a new twrp version comes out. But even then it's questionable.

There are to possibilities. Either the device "forgot" that it is a Mi9T and therefore no ROM wheter it's costume or stock is flashable/ is accepted after the flash. Or the current twrp versions are not able to flash, but that would not explain why stock doesn't work.

But my guess is that former option. Because even stock recovery can't get through the encryption even after formatting every single damn thing on the storage (without errors). Basically my storage was kinda like it was a new one.

Again the furthest that I've gotten is having the device recognized on my PC with the "full 56gb storage" i guess the rest was taken by the OS. And my pc could normally move stuff in and out like a fully functional phone would.
But even than after flashing stock or costume rom it says no OS installed, even if you remove safety lines from the zip file to remove error 7 and decrypt the storage. Cuz after flashing anything the storage just gets encrypted again and the storage size goes back to 11gb and the pc won't recognize the phone anymore.

Maybe there is something wrong with the mobo or there is some kind of memorie that stored inforation about the device being on miui11 and now not a signle flash with for any rom that's mi10 works.

Your best shot is to wait for a stable miui11 or a costume working rom that is based on mi11. maybe you could try and flash an asoap rom and this works. But i'm 99% sure that you won't have any luck getting this device running with a miui10 version again.

But I'm not gonna waste any more time on this phone. The fact that every try takes 4ish hours because booting up twrp and flashing/formatting anything takes 2 hours each is just way to long for a slim chance to get it working again. If it was not for the slowdown I could try all the other stuff that I just mentioned but yeah. Someone else with patients might do.
For me I'm gonna stick on stock rom now, since eu was not that different tbh. That being said the current stock rom is 10.3.12 on global at least that is what my phone says. So 10.3.11 isn't even up to date.

gdisk's zap doesn't wipe, I think** it deletes/zeroes the partitions on the sda disk and everything would need to be re-partitioned again. But I get you, I gave up and bought a Pixel lol.

Edit:
I'm going to tag a mod to lock this thread since we've all given up.
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I seem to have hard bricked my 9T after flashing the MIUI 11 rom from xiaomi.eu. I think culprit is a totally botched/corrupted boot loader and I have no idea how it happened. I've tried reflashing back to stock through stock image .bat files, but no dice. It flashed everything but the device still refuses to boot past the MI screen. If I try to boot into TWRP, my device gets stuck at the TWRP splash screen, no matter which version it is. Does anyone know what I can do or try at this point? Thanks.
    I got exactly the same problem after installing miui 11rom. Installing firmware via fastboot was unsuccessful. God, help us ...

    ---------- Post added at 07:44 AM ---------- Previous post was at 07:33 AM ----------

    So do I, first time I successfully instal first beta v25 miui 11, and than when the v26 comes, stupidly, i flash it from twrp, it tells me that i succeed installing that zip, and than i wipe art and cache and reboot system, but what next i know, my phone brick, i can not instal anyrom, from mi flash tool, or from anywhere. I did everything and still can not fix the problem.
    Anyway, you still can enterin TWRP UI, after waiting about 10 to 30 minutes, because after intalling that rom, automatically your data format change from ext4 to f2fs, and twrp will need a lot of time to read your disk.
    But, even after doing anything in twrp, still can not make my phone successfully boot into system.
    And theres moun I/O error everytime i tried to wipe everything, or fix disk, or change disk format. Everything... and i just dont know what to do anymore.

    So may be you can wait patiently until you can entering twrp ui, and please lemme know if you know how to fix this problem
    Just the exact same problem as mine. If you know anything about how to solve this problem, please tell us.
    1
    I had the same problem with a miui 10 weekly beta but unfortunately I wasn't able to fix it but lucky me my phone was still in a return period so I returned it back to Amazon and got my money back since then I have always stayed away from beta ROMs . I tried everything but it wasn't booting pass the mi logo as you said
    1
    i have experience that, then i flash the twrp chinese version and it works.

    I had the same problem with a miui 10 weekly beta but unfortunately I wasn't able to fix it but lucky me my phone was still in a return period so I returned it back to Amazon and got my money back since then I have always stayed away from beta ROMs . I tried everything but it wasn't booting pass the mi logo as you said

    Ahhhh yes, i was thinking to using my guaranteed card, as i still can relock bootliader with mi flash tools, already trying anything for couples day with zero result, and im giving up hahaha
    1
    This makes sense as I remember trying to boot into stock recovery early in the morning. I woke up and it finally booted, but the recovery was in Chinese. I will give 4PDA TWRP about an hour and see what I can do. Thanks.

    If you can not use 4pda, i suggest u to use greek one, thats twrp version the must successfully booting in my experiences
    1
    I am thankful that I saw this before updating to newest miui 11

    But v25 more stable and has no problem