Errors to avoid for Noobs & Advanced Users ! - Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers

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 (9ie) ... 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 !

Thank you, very helpful! Can you provide a source about Mi 9 Lite/CC9 definitely NOT having anti-rollback enabled?

.M.D. said:
Thank you, very helpful! Can you provide a source about Mi 9 Lite/CC9 definitely NOT having anti-rollback enabled?
Click to expand...
Click to collapse
fastboot getvar anti
anti : 1 means anti-rollback disabled
read here

gringo80 said:
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 (9ie) ... However, you can't relock your bootloader even if you use a firmware for the same region !
Click to expand...
Click to collapse
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.

obiwanbartek said:
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.
Click to expand...
Click to collapse
They are both 9ie !
Downgrade means from a higher android version to a lower one.

gringo80 said:
They are both 9ie !
Downgrade means from a higher android version to a lower one.
Click to expand...
Click to collapse
OK. So downgrading within one major android version is possible without relock, but going down with major android version requires unlock, right?

I have successfully downgraded from 10 to 9 without re-locking. so its possible

kingofmb said:
I have successfully downgraded from 10 to 9 without re-locking. so its possible
Click to expand...
Click to collapse
Ok, but did you unlocked it first? Or was it locked all the time?

obiwanbartek said:
OK. So downgrading within one major android version is possible without relock, but going down with major android version requires unlock, right?
Click to expand...
Click to collapse
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.

gringo80 said:
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 !
Click to expand...
Click to collapse
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!

Hi, is the november 2018 version the latest version of MiFlashTools?

Related

Getting my device in few days need help

Guys getting my device in few days need some help
How can I install Google store iam little nervous to root this device
Is that safe to use default rom?
yajur said:
Guys getting my device in few days need some help
How can I install Google store iam little nervous to root this device
Is that safe to use default rom?
Click to expand...
Click to collapse
Chances are Google will come pre-installed, problem is with vendor rom as well just follow the guides (in the guide section, you don't have to root if you flash genuine Chinese ROM don't even need TWRP. If you want EU ROM then TWRP is needed but not root, need to flash dm-verify before first boot if you don't root. If you go Chinese ROM can get Google from mi store.
Hi,
Your device should come with a Vendor ROM pre-installed which already has all the Google apps built in.
Its okay to use the vendor ROM if you dont mind not getting any updates. Just check with Malwarebytes to see if there is any malware. Malwarebytes flagged the default MIUI Notes app as a downloader trojan for me and a few others.
I personally wouldnt advice being on the Vendor ROM but thats just my opinion.
Anyway, as you wait for your phone to arrive, you can try applying for an Unlock code using the guide posted by underlines.
I would recommend switching to the EU ROM as it is a very clean and stable ROM with no bloatware. You can also refer to the guide I've posted if you wish to switch to the EU ROM from a Vendor ROM.
Its simple and as long as you follow the steps, you shouldn't face any issues.
Thanks guy I keep you posted.
How can you check if boot loader is unlock already
cheapshot789 said:
How can you check if boot loader is unlock already
Click to expand...
Click to collapse
fastboot OEM device-info
Boot your phone in fastboot mode and from command prompt type the above, assuming you have adb and fastboot installed on PC
guys got my device
How to find my rom in vendor rom or official rom ?
in the model number i can able to see MIUI global stable 8.0.8.0.0(MAHCNDI)
yajur said:
guys got my device
How to find my rom in vendor rom or official rom ?
in the model number i can able to see MIUI global stable 8.0.8.0.0(MAHCNDI)
Click to expand...
Click to collapse
You have a Vendor ROM on the device. Follow one of the guides and flash a ROM of your choice!
As long as you follow all the steps carefully, you shouldn't face any issues.
satishp said:
You have a Vendor ROM on the device. Follow one of the guides and flash a ROM of your choice!
As long as you follow all the steps carefully, you shouldn't face any issues.
Click to expand...
Click to collapse
Thanks for the reply
I applied for bootloader unlocking and it possible to flash official rom with bootloader locked?
yajur said:
Thanks for the reply
I applied for bootloader unlocking and it possible to flash official rom with bootloader locked?
Click to expand...
Click to collapse
Did you check whether bootloader is locked? There is a possibility that it is already unlocked.
And yes, you can flash official ROM via fastboot mode even if your bootloader is locked but it requires a special flash cable. Another way is to flash via EDL mode which bypasses a locked bootloader but this is a risky process and is usually only recommended as a last resort. Anyway none of the official ROMS have GAPPS built-in so I'd suggest its best you wait till you get the unlock code if your device isnt already unlocled.
satishp said:
Did you check whether bootloader is locked? There is a possibility that it is already unlocked.
And yes, you can flash official ROM via fastboot mode even if your bootloader is locked but it requires a special flash cable. Another way is to flash via EDL mode which bypasses a locked bootloader but this is a risky process and is usually only recommended as a last resort. Anyway none of the official ROMS have GAPPS built-in so I'd suggest its best you wait till you get the unlock code if your device isnt already unlocled.
Click to expand...
Click to collapse
oem device-info came fales only i already requested for unlocking i think i have to wait only.

Mi8 Bootloader and Fashing questions

Hello everyone, I'm waiting my phone to arrive next week with unlocked bootloader and Official Global ROM (the phone itself is the Chinese version), but after seeing so many threads regarding bricked phones I got afraid I will brick mine too. So I want to ask a few questions and summarize all the things around the Bootloader and ROMs about MI 8.
1. How I can find if the phone's Bootloader is Unlocked for real or not, because i see there are some Fake Unlocks which is not good of course.
2. IF the Bootloader is really unlocked can I flash TWRP through fastboot like on all other devices with these commands:
fastboot flash recovery twrp.img
fastboot reboot
or there is another way to flash TWRP to Mi 8?
3. Can you flash a ROM to Mi8 using TWRP or only through Mi FlashTool? And again - is there something more special or unusual in flashing ROM to Mi8?
4. IF the Bootloader is Unlocked is it possible for the phone to RE-LOCK or getting into boot loop after updating through OTA or by Hard Resetting the phone, because I read here and there people had unlocked Mi 8, but after updating the phone through OTA or after hard resetting the phone they went into boot loop/-relocked. I'm not quite sure if I believe this, based on my previous experience with flashing phones, but who knows... so if someone can confirm or deny this, please answer.
Up
straightup said:
Hello everyone, I'm waiting my phone to arrive next week with unlocked bootloader and Official Global ROM (the phone itself is the Chinese version), but after seeing so many threads regarding bricked phones I got afraid I will brick mine too. So I want to ask a few questions and summarize all the things around the Bootloader and ROMs about MI 8.
1. How I can find if the phone's Bootloader is Unlocked for real or not, because i see there are some Fake Unlocks which is not good of course.
2. IF the Bootloader is really unlocked can I flash TWRP through fastboot like on all other devices with these commands:
fastboot flash recovery twrp.img
fastboot reboot
or there is another way to flash TWRP to Mi 8?
3. Can you flash a ROM to Mi8 using TWRP or only through Mi FlashTool? And again - is there something more special or unusual in flashing ROM to Mi8?
4. IF the Bootloader is Unlocked is it possible for the phone to RE-LOCK or getting into boot loop after updating through OTA or by Hard Resetting the phone, because I read here and there people had unlocked Mi 8, but after updating the phone through OTA or after hard resetting the phone they went into boot loop/-relocked. I'm not quite sure if I believe this, based on my previous experience with flashing phones, but who knows... so if someone can confirm or deny this, please answer.
Click to expand...
Click to collapse
1. You will see a lock icon under the kernel logo if it's unlocked.
2. Yep
3. I use TWRP to flash stuff to my Mi 8 SE, I doubt the Mi 8 is a magical exception
4. Not sure, don't even do a dumb thing like that, use Xiaomi.eu builds instead. I flashed a pure stock firmware once and it only overwrote TWRP with the stock recovery ( it became completely stock, simply put )
Thank you Marionette
Hello guys,
I am new to the forum and a proud owner of Mi 8 /dipper/. I read every post in this tread /and in many others/ and I have some questions:
1. Currently my device is on 8.8.9 eu rom so I would like to update to 8.8.16 eu rom. From settings I check for update and it shows "up to date". My options are that I can download the new rom, transfer it to the phone and from there either hit "choose update package" from settings or flash via twrp. What is the difference between the two choices? I read that if flash via twrp then I need to wipe dalvik/cache, but can I update via os settings and if "yes" do I need then to boot twrp and again wipe dalvik/cache?
2. My device came with unlocked bootloader so I presume it was unlocked with someone else account. If I decide to go china stable/stock for my phone/ and lock the bootloader, then will I apply and wait to unlock it again? If I download Mi unlock and hit "unlock", while the bootloader is unlocked /dont know is it possible/ will my account bind to the device?
Thank you in advance,
s7eVe90 said:
Hello guys,
I am new to the forum and a proud owner of Mi 8 /dipper/. I read every post in this tread /and in many others/ and I have some questions:
1. Currently my device is on 8.8.9 eu rom so I would like to update to 8.8.16 eu rom. From settings I check for update and it shows "up to date". My options are that I can download the new rom, transfer it to the phone and from there either hit "choose update package" from settings or flash via twrp. What is the difference between the two choices? I read that if flash via twrp then I need to wipe dalvik/cache, but can I update via os settings and if "yes" do I need then to boot twrp and again wipe dalvik/cache?
2. My device came with unlocked bootloader so I presume it was unlocked with someone else account. If I decide to go china stable/stock for my phone/ and lock the bootloader, then will I apply and wait to unlock it again? If I download Mi unlock and hit "unlock", while the bootloader is unlocked /dont know is it possible/ will my account bind to the device?
Thank you in advance,
Click to expand...
Click to collapse
You've already received answers to your questions? https://xiaomi.eu/community/threads/8-8-16.45718/post-437870
_katho_ said:
You've already received answers to your questions?
Click to expand...
Click to collapse
Partially I have received answer to my question but its never bad to receive a second opinion. I still don't know am I able to flash china stable, lock the bootloader and everything be okey /there won't be any bricks/. Then if I decide to unlock should I wait to unlock the bootloader and can I bind now my account to the device trough unlocking while its unlocked or smth like that?

ReUnlocking converted A2 (6X)

I have a converted A2 (+ARB 4), with UNLOCKED bootloader.
I read somewhere if you relock the BL , you will not able to UNLOCK it again ever after! (is it true?)
and other thing: If it try the MIUI BL Unlocker Official Application to unlock my device (even when it is still unlocked) what could be happen? (I've just followed the steps till the warning msg: "Unlocking Bootloader will erase user Data" ). (I read somewhere else that for unlocking miui devices you need to submit the request and you need to wait for a long time to get the code, and I was going to get the code for a case of necessity in future.)
I need to know how far I can play with these stuffs on my devices and left a practical way to recover a Bricked phone. ( I consider even TEST POINT as a practical option [tried once and it is damn easy and fun ] )
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Tech_jetoncesaj said:
Im sorry bro but the actual model and serial code of your phone is a A2.And that means you probably wont unlock it it will give a hardware error.But pls try it and report.Dont worry there will be a fix!!
Click to expand...
Click to collapse
If it locked again my BL, what would be the solution? I didn't find any.
the mi unlock app requires a mi account with unlock permissions (account! not phone)
if you try to unlock an unlocked a2 you should either get unsuported - it's meant for miui devices - or already unlocked.
The app first checks the account and passes to further steps, then recognizes my phone, and warns me about wiping Data. ( At this step I declined and closed the app)
Your hypothesis seems correct, but if in any circumstances I would be left with relocked converted A2 , ist there any chance to reunlock it again?
that's why the test point method exists, for locked that you try to fastboot flash
I tried, and it just says: Device Unlocked, no need to reunlock again!
So now is it safe to lock my bootloader and try the app again?
if you lock the bootloader via fastboot commands it wont boot any more.
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
what are you trying to do anyway?
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
laviniu_c said:
if you lock the bootloader via fastboot commands it wont boot any more.
Click to expand...
Click to collapse
So if I run the command and re-lock it by Fastboot, how can I re-unlock it again?
laviniu_c said:
only way to safely lock is with miflash and you cannot miflash a wayne miui on a converted a2. it will see that it's the jasmine.
if you miflash the a2 fastboot rom it will relock ok - if the flashing works...might not cuz of the arb - but you wont be on miui any more.
Click to expand...
Click to collapse
So do you mean there is no safety way to re-lock a converted A2 which runs MIUI ?
(and If I had a Banking app which needs a Locked BL to work, there will be no chance to run it at all?)
laviniu_c said:
what are you trying to do anyway?
Click to expand...
Click to collapse
As I said I want to know all the aspects of practical ways to deal with my phone, right now I am totally happy with it, but actually the opportunity of dealing with all these technical stuffs convinced me to buy this phone.
laviniu_c said:
i think what you dont understand is the unlock on miui and android one are the same end result but different steps. for miui you godda use the mi unlock, for and1 its just the dev options switch
Click to expand...
Click to collapse
I've heard that some ROMs may re-lock the phone, since then I would like to know if in any circumstances I would be stuck on that situation how can I re-unlock my phone.
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
laviniu_c said:
any official miui rom that has the firmware folder in it might do it for example, so will bad ports....
Click to expand...
Click to collapse
So lets assume it has been happened, what would be the procedure to rescue my phone? since as you said if the BL locked again it will not boot to OS.
laviniu_c said:
try to use the magisk hide options to fix the banking app, add it to the list of apps for which it specifically hides root. add also the google services and make sure you pass the safetynet tests and your device shows as certified in the playstore settings. i think there were some modules to fix the bl check
Click to expand...
Click to collapse
I would'nt like to root the phone, isn't there any other option?
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash. that's the basic difference between locked and unlocked, it checks what os it loads and it makes sure the loaded os is the official rom for the phone. converting the a2 means it needs to be unlocked and you load a rom that's a ported miui10 from wayne to jasmine_sprout. if you flash the full rom, that has the locked bootloader from wayne which will fail to start since:
1 - the phone still isnt wayne
2- the rom isnt quite the official one (since it's renamed to work on jasmine)
3 - even if the phone was fully wayne, you dont really want the official mi 6x rom since that's china only. i.e. no google services
the only unknown in all this is the ARB, but edl should ignore that.
somehow i was under the impression you already have magisk (root/hide) up and running on the converted miui 10. yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root.
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
laviniu_c said:
if you lock the bootloader with any kind of non official rom for your phone (i.e. jasmine_sprout) which in your case is android one it wont boot. the end. only way out of that is the edl mode and miflash.
Click to expand...
Click to collapse
So please consider these situations:
The phone is A2 converted to 6X &
The BL has been re-locked &
ARB 4 has been triggered
how can I use EDL mode to unlock it?
(I think miflash would not help because the LOCKED BL and the phone is actually A2)
(I think also Fastboot wont be able to unlock it since it is A2 Converted to 6X)
laviniu_c said:
yes, there are good miui 10 ports (for example xiaomi.eu) that give you the miui experience on a2 except they will never have the full ota support that the official rom has.
Click to expand...
Click to collapse
I'm afraid but I didt't get the point, now every week I receive Pie beta updates (besides there are stable versions too) which actually stable enough, almost Bug & Lag Free (it differs Rom to Rom, but believe me it is COOL ) , and by PitchBlack you can use direct update. (I prefer to install it by myself since I LOVE TWRP & its child PB). so what exactly we miss of original OTA service of XIAOMI?
laviniu_c said:
my advice? stick to the stock a2 rom. locked and full stock. the moment you need to start experimenting is when the android one support stops OR if you really want root..
Click to expand...
Click to collapse
But I think it wouldn't be an option for who has triggered ARB4! isn't it? (I read when you got ARB4 you must forget AndroidOne! even TestPoint won't help)
laviniu_c said:
if you wanted miui and you're outside china, mi 6x is still NOT the way to go. cuz it doesnt have an official global rom anyway. i dont get why everyone is jumping through hoops to get unofficial roms installed with stock support available.
Click to expand...
Click to collapse
Again I didn't get what do you mean, could you please explain it a bit more? (since my current MIUI 10.4 has almost everything)
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
there's a few problems with your approach.
1) not official. any time the guys maintaining the custom rom can decide to stop producing it.
2) all work into these custom roms is voluntary. are they sometime better? sure, never said they werent but again, xiaomi/google/android have far far more resources at their disposal and while the phone is under the official period it will be maintained.
3) did you bother to read the first lines in any custom rom? they take 0 responsibility for whatever happens to your phone. they do not intend to break it, but they dont have to support you if you're in trouble either. if you dont have a valid warranty, that's understandable, you don't lose anything. but guess what? there are official vendors for xiaomi all over the world, offering official warranty. that holds as long as you're on STOCK.
4) though most custom roms are well intended, there is nothing assuring you there's nothing inside there that you dont want installed. you move your trust from xiaomi/google/android (which you can hold accountable) to whoever made that rom (who just carpet say, it's your phone you're doing the flashing, anything happens you're on your own). in most cases those devs don't mean harm, but they could and there's nothing to stop them (and they would never put in the hours of work if there was accountability for their action - i perfectly understand them. it's sortof like, i can try to do this, but because my work is not paid for by the end user they do not have any hold over me. it's correct and yet at the same time it's very very dangerous.). ever seen a custom miui built by a shop? i have, it's packed full of junk, bugs and malware. another thing here is testing. the official rom goes through a bunch of tests/beta versions. not saying it's perfect but it's better then the "known bugs: you tell me". custom rom devs cannot do it any other way, they dont have the time to test or the team to test.
5) the official devs don't have this option, they have a job and do it. it's a completely different approach.
this is not a rant against custom rom devs, i understand them 100%, they're trying to help. what i'm saying is there's always 2 sides to each story. there's no right or wrong, there's just what's best for each user. some of us will want the safe and easy way of the stock roms. some will want custom roms. in the end everyone is doing what they choose with their phone.
laviniu_c said:
http://bigota.d.miui.com/V10.0.2.0....0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz this should work with the testpoint/edl method and miflash. (unless arb does something to stop it)
Click to expand...
Click to collapse
I think it will not work, the Actual duty of ARB4 is to preventing you to use these things! as much as I know after ARB4 you have two options: MIUI 10 or custom ROMs such as Havoc or so, for AndroidONE we need to wait a version of AndroidONE which be compatible with ARB4! otherwise flashing STOCK AndroidONE will simply brick your phone! THE whole IDEA of this THREAT is this!
And BTW as much as I know XIAOMI.EU is cooperating now with the XIAOMI ! besides we do not keep a phone for a whole life time, 2-3 years of supports would be far enough. and they do offer it right now!
and I would like to lock the BL for further security reasons but it seems to be impossible so far otherwise someone suggests a practical way for it.
I guess you need to contact me.
sz.hatef said:
If it locked again my BL, what would be the solution? I didn't find any.
Click to expand...
Click to collapse
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
 @blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Tech_jetoncesaj said:
Hey its not very good to talk here in xda.We can try some methods!
Chat with me in telegram.
@blackgryphon1
Dont worry about brick,bcz im the only one who can unbrick,downgrade a xiaomi phone even if its arb4.
Feel free to contact me.
Also join my group i will be there too.
Since i cant post links,search this on telegram <<its my group>><<iT HAS A BLACK PHONE WALLPAPER AND IT HAS 86 MEMBERS!
Mi A2 & Mi 6X
Click to expand...
Click to collapse
Just as I said, I would like to know the possible ways, currently I haven't any problem, could you explain it a bit , how could it possible to reunlock my BL if it get locked on MIUI?
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Letzen said:
ahem.
There is NO way to unlock an A2 device that has been converted to an 6X with ARB anti 4.
Your bootloaders are important in this case (xbl.elf and abl.elf). ARB and bootloader status is also managed here.
If you are using A2, with 6X system without ARB anti 4, that phone uses A2 bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will still accept any flashes without authentication. You may or may not be able to unlock it again through fastboot.
If you are using A2, with 6X system and firmware with ARB anti 4, that phone uses 6X bootloader. So if you lock your bootloader, it will brick to fastboot (The system has been destroyed / Press any key to shutdown). EDL will not accept any flashes without authentication*. You cannot unlock the phone through fastboot**.
*There is a workaround to this but you need to open your phone's back.
**Because MIUI devices need Mi Unlock to be unlocked, and Mi Unlock wants you to log in, and the system is not accessible, your phone will stay bricked.
You can still unbrick the phone with the above workaround, but you will be stuck with China MIUI and won't be able to unlock your phone's bootloader even if you logged in because your phone is not registered on Mi Unlock database (since Android One devices do not need/use Mi Unlock because of Google's enforcements).
Too long, didn't read?
Do not attempt to lock your phone. Even if you are on fully stock with your phone's own firmware. Locking is extremely risky due to the fact that even unlocking the bootloader corrupts the system integrity in some way.
Click to expand...
Click to collapse
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
sz.hatef said:
Thanks a lot, it explains everything and totally sounds right to me,
Just couple questions:
so in any circumstances it could be again usable just with a Chinese ROM, and so there will be no way to install Google Play on it, since there will be no custom recovery , no root accessibility , ... , It will be for ever with a Pure Chinese ROM (which practically would be unusable for us). Am I right?
Considering above situation, sending the device to a Xiaomi Center could help us to get back to any kind of global ROM (AndroidONE / MIUI) or not?
Right now I am totally happy with Xiaomi.eu MIUI BETA roms, no need to switch to other projects, I need to know is there any chance to stuck with a locked BL while attempting the new Beta ROMs? I use PitchBlack to flash new ROMs every week. Or if I want to ask it in short: How to prevent to get a Locked BL?
Thanks a lot again.
Click to expand...
Click to collapse
does flashing a MIUI.eu beta ROM without deleting the firmware folder lock the bootloader ?
what's the benefit from not deleting the firmware folder?
i'm using a converted MI A2
thanks

Question Re-lock bootloader

I have a Mi11 with a preliminary Global official ROM but it's rooted and of course bootloader in unlocked: unfortunately Google Pay and some bank apps do not work.
I first removed root, by deleting /system/xbin/su but Google Pay still complains so I think I need to unlock bootloader.
I think I have two options:
- 1 - put phone in fastboot and run "fastboot oem lock" from adb
- 2 - use Mi Flash tool to flash an official ROM and choose "clean all and lock"
What would be the best?
Do I loose data with both or either methods?
I've read that method 2 may put the phone in an unusable state...
Thanks
thegios said:
I have a Mi11 with a preliminary Global official ROM but it's rooted and of course bootloader in unlocked: unfortunately Google Pay and some bank apps do not work.
I first removed root, by deleting /system/xbin/su but Google Pay still complains so I think I need to unlock bootloader.
I think I have two options:
- 1 - put phone in fastboot and run "fastboot oem lock" from adb
- 2 - use Mi Flash tool to flash an official ROM and choose "clean all and lock"
What would be the best?
Do I loose data with both or either methods?
I've read that method 2 may put the phone in an unusable state...
Thanks
Click to expand...
Click to collapse
Where can I get this official global ROM for the Mi 11? Or do you mean xiaomi.eu? What I know is if you flash a different ROM than the original one with the bootloader open and close the bootloader again, you have a brick.
pittrich said:
Where can I get this official global ROM for the Mi 11? Or do you mean xiaomi.eu? What I know is if you flash a different ROM than the original one with the bootloader open and close the bootloader again, you have a brick.
Click to expand...
Click to collapse
You cannot it's a test device and got it sorted out with Xiaomi engineer: being a test rom, locking bootloader will make phone unusable. Now O have to unlock it and keep it like it is till official build arrives. In the meantime I could try with magisk hide
thegios said:
I have a Mi11 with a preliminary Global official ROM but it's rooted and of course bootloader in unlocked: unfortunately Google Pay and some bank apps do not work.
I first removed root, by deleting /system/xbin/su but Google Pay still complains so I think I need to unlock bootloader.
I think I have two options:
- 1 - put phone in fastboot and run "fastboot oem lock" from adb
- 2 - use Mi Flash tool to flash an official ROM and choose "clean all and lock"
What would be the best?
Do I loose data with both or either methods?
I've read that method 2 may put the phone in an unusable state...
Thanks
Click to expand...
Click to collapse
Is there a official global Rom for MI 11? Shure?
There are 2 ways:
1. Use Magisk and Hide Root and Unlock from apps you need, worked for me at MI 10 Ultra with xiaomi.eu-Rom
2. Relock Bootloader, but keep an eye on the fact, that relock is only possible with original delivered ROM, otherwise your phone will be bricked...
and after relock you will not be able to flash any rom, so, please flash first and do relock after flashing rom
Regards
Michael
Crackeds said:
Is there a official global Rom for MI 11? Shure?
There are 2 ways:
1. Use Magisk and Hide Root and Unlock from apps you need, worked for me at MI 10 Ultra with xiaomi.eu-Rom
2. Relock Bootloader, but keep an eye on the fact, that relock is only possible with original delivered ROM, otherwise your phone will be bricked...
and after relock you will not be able to flash any rom, so, please flash first and do relock after flashing rom
Regards
Michael
Click to expand...
Click to collapse
No official ROM: I have a test global device with a test global ROM.
ANyhow all is solved: I installed xiaomi.eu and all is working fine...

Question Anti Roll Back

Hi, im running miui 13.0.13, battery life isnt as good as previous versions, before i roll back i wanted to check, im in the UK, my phone is redmi note 10 pro, SWEET. Im pretty sure it says rom version is Global. Does this have ARB? is there a way to roll back?, ive read some conflicting posts which threw me, some say the firmware has when global and its only EU versions that dont have ARB. Thanks.
gazza35 said:
Hi, im running miui 13.0.13, battery life isnt as good as previous versions, before i roll back i wanted to check, im in the UK, my phone is redmi note 10 pro, SWEET. Im pretty sure it says rom version is Global. Does this have ARB? is there a way to roll back?, ive read some conflicting posts which threw me, some say the firmware has when global and its only EU versions that dont have ARB. Thanks.
Click to expand...
Click to collapse
Anti-roll back isn't currently active on any version of Redmi Note 10 Pro, all versions so far have the roll back index value of 3 so it's ok. Meaning you can roll back to previous versions if you're unhappy with the update. Though, to downgrade you would have to unlock he bootloader and downgrade using MiFlash or by directly flashing the Recovery ROM.
imho he meant rollback without bootloader unlock.
Thanks guys. Elinx yer i did mean that exactly, i really dont want to mess around unlocking bootloaders etc, i just assumed as you can flash a stock rom to upgrade without unlocking it, youd be able to flash any stock rom without needing to unlock, strange having to unlock it just to downgrade, there must be a way to flash a downgrade from the phone itself without having to unlock BL.
gazza35 said:
.... strange having to unlock it just to downgrade, there must be a way to flash a downgrade from the phone itself without having to unlock BL.
Click to expand...
Click to collapse
No, that isn't that strange, because Xiaomi thoughts are that older versions mostly are less secure.
With bootloader unlock you take that responsibility.
Elinx said:
No, that isn't that strange, because Xiaomi thoughts are that older versions mostly are less secure.
With bootloader unlock you take that responsibility.
Click to expand...
Click to collapse
I get that, what i really mean is, theres lots of posts and videos online that suggest you dont need to unlock BL to rollback. this is why i ask these questions on here, to be sure and accurate and get the right info. im assuming once ive reflashed and older version, i can the relock the BL anyway.
gazza35 said:
I get that, what i really mean is, theres lots of posts and videos online that suggest you dont need to unlock BL to rollback. this is why i ask these questions on here, to be sure and accurate and get the right info. im assuming once ive reflashed and older version, i can the relock the BL anyway.
Click to expand...
Click to collapse
MiFlash has an option to relock BL (checkbox at bottom of screen).
gazza35 said:
.... lots of posts and videos online that suggest you dont need to unlock BL to rollback .....
.... im assuming once ive reflashed and older version, i can the relock the BL anyway.
Click to expand...
Click to collapse
Imho ARB is about Android versions and it could be that rollback of Miui versions is possible if the Android version stays the same.
Personally with the knowledge about AntiRollBack I never will take a risk without unlocked bootloader.
If something goes wrong you are done.
gazza35 said:
Thanks guys. Elinx yer i did mean that exactly, i really dont want to mess around unlocking bootloaders etc, i just assumed as you can flash a stock rom to upgrade without unlocking it, youd be able to flash any stock rom without needing to unlock, strange having to unlock it just to downgrade, there must be a way to flash a downgrade from the phone itself without having to unlock BL.
Click to expand...
Click to collapse
There are two ways I know how to downgrade but the first one is the one which I haven't tested personally (but people on TG tested and it seems to work for them, do more research about it)
1. The rename trick, you can fool the Updater app to upgrading by downloading two roms (one is the upgrade rom and one is the downgrade rom). Just after selecting the upgrade package on the Updater, switch both file name of the two roms so the upgrade rom gets the downgrade ROM name and vice versa. Munchy from YouTube did a great tutorial on this trick. Try watching it for the complete guide. This method doesn't require bootloader unlocking too (and no data wipe afaik)
2. This downgrade method is a lot more straight forward, we unlock the bootloader, and use MiFlash to downgrade the ROM and select the flash_all_and_lock option to relock the bootloader. This method does use data wipe. I've tested this personally downgrading from 13.0.9.0 to 12.5.6.0 but I didn't relock the bootloader on mine.
BigChungus321 said:
...
1. The rename trick, ...
Click to expand...
Click to collapse
I can imaging that fooling is possible, but can't imaginge this is only done by renaming a file, without changing something inside the rom. So before you even try this I would check and doublecheck all info about that method.
edit:
I see that a sort of the same method is done here for upgrading to a beta build
Personally I find this very tricky with locked bootloader, because Xiaomi can change something without notifying and you have a bricked phone.
Thanks again chaps. Yer ive seen the rename thing, 6 different posters have done it with success, in all honesty i dont think id try it, i was only bothered mainly about ARB on RN10Pro. I will unlock and wait however long the time period is then just downgrade, ive tried looking for tutorial vids but all seem posted by an Indian chap so ive no idea what hes saying, ive downloaded Miflash but when i start it up it keeps saying i need to install drivers, which ive already done, ill keep looking tho, there must be a good tut somewhere with all the drivers and tools needed.
Guide
Official unlock instructions
gazza35 said:
... ive tried looking for tutorial vids ....
Click to expand...
Click to collapse
Elinx said:
Guide
Official unlock instructions
Click to expand...
Click to collapse
Do you know where i can download official stock roms please. Im on Note 10 pro -- Miui13, 13.0.13 Global. (SKFEUXM).
imho this is the most complete database
NB.
SKFEUXM is EEA version and SKFMIXM is Global version
gazza35 said:
... download official stock roms ......
Click to expand...
Click to collapse
Elinx said:
imho this is the most complete database
NB.
SKFEUXM is EEA version and SKFMIXM is Global version
Click to expand...
Click to collapse
Cheers thats what i thought, i was just thrown a bit because it says miui is miui global, and 13.0.13 matches the global roms, i dont see that version for EEA. Yet as you said SKFEUXM says its EU not global, Maybe Xiaomi need to work on that so its clearer.

Categories

Resources