Errors to avoid for Noobs & Advanced Users !

gringo80

Senior Member
Jun 8, 2018
467
438
63
Hi,

This is gonna be very short :

As you can see, flashing custom roms/firmwares on (all) Xiaomi devices (after introducing project treble by Google) became a high risky business especially for noobs.

So here is some advice to avoid problems :

1- before flashing any firmware/custom rom : make sure you never choose relock bootloader in MiFlashTools (to avoid hard brick)

2- if you want to relock your bootloader : for example, if your device was shipped with a chinese firmware and you already have unlocked your bootloader, make sure you flash the same regional firmware (chinese one) before relocking it again. Any region mixing = hard brick ! (common error)

3- Mixing firmwares : if your device was shipped with a global/eea firmware and you want to flash a chinese firmware (for a specific rom) or vice versa, use fastboot one but again "don't relock your bootloader" (otherwise = hard brick)

4- tips : before using MiFlashTools, delete .bat files with relock and factory (if you want to keep your bootloader unlocked)

5- never buy a device with unlocked bootloader !

*********​

About Anti-Rollback :

Mi 9 Lite / CC9 is not an anti-rollback enabled device, so here you can downgrade from a higher firmware version (10:Q) to the lower one (9:pie) ... However, you can't relock your bootloader even if you use a firmware for the same region !

=> Downgrade = possible / Relocking the bootloader is not allowed for a lower android version +++

Conclusion :

NEVER RELOCK YOUR BOOTLOADER IN ALL CASES !
 
Last edited:

obiwanbartek

Senior Member
Apr 1, 2010
97
22
0
Chorzów
www.ichlebak.pl
Mi 9 Lite / CC9 is not an anti-rollback enabled device, so here you can downgrade from a higher firmware version (10:Q) to the lower one (9:pie) ... However, you can't relock your bootloader even if you use a firmware for the same region !
Are you sure about that? I just asked similar question (downgrading 11.3.9.0 -> 11.3.5.0) a few days ago, and people here stated that this is possible with relocking, and even without unlocking at all.
 

gringo80

Senior Member
Jun 8, 2018
467
438
63
Are you sure about that? I just asked similar question (downgrading 11.3.9.0 -> 11.3.5.0) a few days ago, and people here stated that this is possible with relocking, and even without unlocking at all.
They are both 9:pie !
Downgrade means from a higher android version to a lower one.
 

gringo80

Senior Member
Jun 8, 2018
467
438
63
OK. So downgrading within one major android version is possible without relock, but going down with major android version requires unlock, right?
Always Unlock your bootloader before taking any action in your device !

Flashing = Bootloader unlocked (always for your safety)

Staying always locked = Staying in Official MIUI (for your safety)

Read again the OP for more information.
 
Last edited:

definho

Senior Member
Jun 11, 2011
92
11
38
4- tips : before using MiFlashTools, delete .bat files with relock and factory (if you want to keep your bootloader unlocked)
NEVER RELOCK YOUR BOOTLOADER IN ALL CASES !
this saved my xiaomi life, after few attempts i got some errors, then i rerun miflashtool, selected IMG and everything and as I forgot that i reran miflashtool it stayed on default "Clean all and lock" and i pressed flash, few seconds of mini hearth attacks as I realised my Xiaomi is now dead, luckily before starting anything I deleted all lock files from image rom folder and it said error: "could not find flash_all_relock.bat"
thanks once again, really best advice since u can forget to tick clean all and when you rerun MiFlashTool it goes back to default which is clean all and lock!
 
  • Like
Reactions: dstojic