Can i relock the bootloader after flashing stock global rom? - Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers

Due to some banking apps now detecting and not working with custom roms (even without root) I am using Xiaomi V2 tool to download the official rom and flash it back. I was using the xiaomi . eu version. It will be missed
Two questions:
1. Just installing stock global rom will work with apps that detect custom roms? It will say it's an oem licensed OS or i need to relock the bootloader too?
2. Is relocking the bootloader doable in this device?
Thanks.

Just did and it worked fine. Thanks!

Related

Stock Android on MI 5

Hi,
I would like to know if there is a tutorial, or if it's possible, to have a rooted stock version of Android on the Xiaomi MI 5. If possible Marshmallow.
Cause the problem I have with two MI 5 is there is some "chinese" apps installed, and there is some bugs I think are caused by the Xiaomi MIUI like problems with alarm apps, problem with the 4G which sometimes just disappear.
So I would like to put a clean Android version.
Thanks for your help.
You've to unlock your bootloader first. Then you can root your phone and uninstall bloatware.
Flash a global variant of miui. Or, flash AOSP based custom roms. But you must have unlocked bootloader and twrp installed first.

Flashing Global Rom from Russian Global Rom

I just received my phone today and it came with unlocked bootloader and Russian global rom V9.5.14.0.OEARUFA.
Question is, can I download the updater ZIP file of Global Rom V9.5.13.0.OEAMIFA and use the updater app to flash instead of using Fastbook/Miflash Tools. Is this a safe way? Will it work? Thanks in advance!
Note : It is China Mi8 device.
I also wait for solution... Buy online and got russian rom and unlocked bootloader... What suitable twrp version for this rom because i scare bootloop will happen when install the unsuitable version... And does anyone here already try the miui pro rom from miuipro website.. does it good? Any feedback is appreciated..
The latest recovery-TWRP-3.2.3-0806 will do the trick.
https://www.androidfilehost.com/?fid=5862345805528068853
Flashing with twrp is probably the safest way as mi flash you can accidentally re-lock your bootloader.
Since the OP phone is china mi8. It's compatible with all the rom in this forum (EU, global, etc) with unlock bootloader of course.
I do not wish to change my recovery to twrp. So it's the only way is to use miflash tools? No direct zip flash global from from updater app from phone ?
yvliew said:
I do not wish to change my recovery to twrp. So it's the only way is to use miflash tools? No direct zip flash global from from updater app from phone ?
Click to expand...
Click to collapse
To my knowledge you can't change channel with updater app. With channel I mean Global stable, Global developer, Chinese stable, Chinese developer etc etc.
So global and global Russia can be used with updater app ? Is that correct?
But if can't, it will only show error and nothing will happen to y device right?
markkenzy said:
The latest recovery-TWRP-3.2.3-0806 will do the trick.
https://www.androidfilehost.com/?fid=5862345805528068853
Flashing with twrp is probably the safest way as mi flash you can accidentally re-lock your bootloader.
Since the OP phone is china mi8. It's compatible with all the rom in this forum (EU, global, etc) with unlock bootloader of course.
Click to expand...
Click to collapse
Ok i already successful install twrp and magisk but there one question when my device is booting its said unlocked but when i go to the developer setting its said device still locked? So does this gonna have effect?
ShafiX94 said:
Ok i already successful install twrp and magisk but there one question when my device is booting its said unlocked but when i go to the developer setting its said device still locked? So does this gonna have effect?
Click to expand...
Click to collapse
Magisk is probably tricking the firmware to see the bootloader is locked. For purposes of online banking and stuff? I believe bootloader is still actually unlocked.

Firmware and custom ROMs help

Hello all,
I did some searching here on XDA and on the internet regarding the flashing but I was unable to find any definitive answer to this so maybe someone here can help me out, here goes:
As far as I'm aware, Xiaomi does not provide a source code for their drivers (firmware) which means we need to use precompiled binaries for specific android versions, downloadable for example here:
https://forum.xda-developers.com/k2...mware-xiaomi-mi-9t-pro-redmi-k20-pro-t3955317
What I don't exactly understand is how can one go about installing a custom ROM (e.g LineageOS) and drivers in case there is a difference between Android versions when flashing a ROM (e.g going from Android 9 based MIUI 10 to Android 10 based LineageOS 17)
Most of the how-to's I found on installing a custom ROM specify that I should update to MIUI 11 (Android 10) first before installing LineageOS 17 so the firmware is up to date and working but I would like to avoid this due to Xiaomi's anti-rollback "feature" (fastboot getvar anti) which will then prevent me from installing back MIUI 10 (in case I might want to roll back)
Does anyone know how/where is the firmware stored exactly? As I understand, the firmware is installed via TWRP therefore I believe it's stored somewhere on filesystem, do I need to flash the firmware/ROM in specific order when flashing a new ROM via TWRP (ROM first, then firmware)?
For now, I came up with these steps:
1. Unlock bootloader - already done
2. Install TWRP
3. Flash custom ROM (Android 10 / LineageOS 17)
4. Flash Firmware (Extracted from Android 10 / MIUI 11)
5. Wipe data/dalvik/etc. + install gapps/magisk/etc.
6. Reboot
Will this work?
Thanks a bunch!
our phone doesn't have anti-rollback. Source: xiaomi.eu
my guide: bit.do/raphaelguide
I'd advise updating the firmware of stock miui, so you are up-to-date normally. The firmware is located in the vendor. the vendor and firmware files are combined. (links in my guide as well.
Updating to an AOSP rom from miui is also in my guide.
Hello there, I have bought an Xiaomi Mi 9t pro in Germany 2 Days ago.
The guy who used it before had unlocked the Bootloader and installed the TWRP. This is working great and I've got no Problem with that.
He Also installed another ROM. In The beginning there was the Original EEA Rom. Now it is runnning with "MIUI 11 | V11.0.5.0QFKCNXM|(stable)".
He said this ROM is the original Global ROM from China and because of that the Phone identifys as Redmi K20 Pro. I've got no Problem with that, because I know These are the same phones. But my Question is: What is the difference between these two ROM's and does it make sense to use the ROM witch is installed already? Because actually i wanted to test the phone with the original ROM. And where can I find the actuall original ROM?
Thanks a bunch!
duma218 said:
Hello there, I have bought an Xiaomi Mi 9t pro in Germany 2 Days ago.
The guy who used it before had unlocked the Bootloader and installed the TWRP. This is working great and I've got no Problem with that.
He Also installed another ROM. In The beginning there was the Original EEA Rom. Now it is runnning with "MIUI 11 | V11.0.5.0QFKCNXM|(stable)".
He said this ROM is the original Global ROM from China and because of that the Phone identifys as Redmi K20 Pro. I've got no Problem with that, because I know These are the same phones. But my Question is: What is the difference between these two ROM's and does it make sense to use the ROM witch is installed already? Because actually i wanted to test the phone with the original ROM. And where can I find the actuall original ROM?
Thanks a bunch!
Click to expand...
Click to collapse
Your phone now has the Chinese ROM, not global.
The Chinese ROM is not so good for use outside of China.
You would be better using the latest EEA ROM, which you can download from here
http://bigota.d.miui.com/V11.0.3.0....EUXM_20191029.0000.00_10.0_eea_80e1c5de81.tgz
This is a fastboot ROM and needs to be flashed in fastboot mode, not with TWRP.
There are plenty of guides here on flashing a fastboot ROM, just be careful not to re-lock the bootloader.
Thank you for the fast answer. I will try to install the original ROM as fast as i can find a good guide on how to install via fastboot .
Can you please tell me whats the difference in the methods of installing a ROM via fastboot or TWRP? Up to now I always worked with TWRP. But this is my first Xiaomi device.
And why the bootloader should be re-locked when I'm installing the ROM? And is there any problem with re-locking the bootloader?
duma218 said:
Thank you for the fast answer. I will try to install the original ROM as fast as i can find a good guide on how to install via fastboot .
Can you please tell me whats the difference in the methods of installing a ROM via fastboot or TWRP? Up to now I always worked with TWRP. But this is my first Xiaomi device.
And why the bootloader should be re-locked when I'm installing the ROM? And is there any problem with re-locking the bootloader?
Click to expand...
Click to collapse
Xiaomi release 2 ROMs for each version, a recovery ROM and a fastboot ROM.
The recovery ROM is a standard ROM that is flashed via recovery, i.e. TWRP. Fastboot ROMs are more for recovering a soft bricked phone. They include most of the phones partition images, not just the system image. When changing to a different region ROM, you need to flash a fastboot ROM, not the recovery ROM.
Flashing fastboot ROMs is normally done with the Mi Flash Tool. The tool defaults to flash and lock the bootloader. You need to manually change the flash option from the default to flash only option (called 'clean all' in the tool)
It is only possible to re-lock the bootloader when you are flashing a ROM that is for the original region of the phone, if you try and lock the bootloader when flashing a ROM for a different region, it will brick the phone.
Because you've bought the phone second hand, and the seller already lied about the Chinese ROM being global, then there is no guarantee that the phone is a genuine European model, so it is best to play safe and not re-lock the bootloader when flashing the EEA ROM.
Robbo.5000 said:
Xiaomi release 2 ROMs for each version, a recovery ROM and a fastboot ROM.
The recovery ROM is a standard ROM that is flashed via recovery, i.e. TWRP. Fastboot ROMs are more for recovering a soft bricked phone. They include most of the phones partition images, not just the system image. When changing to a different region ROM, you need to flash a fastboot ROM, not the recovery ROM.
Flashing fastboot ROMs is normally done with the Mi Flash Tool. The tool defaults to flash and lock the bootloader. You need to manually change the flash option from the default to flash only option (called 'clean all' in the tool)
It is only possible to re-lock the bootloader when you are flashing a ROM that is for the original region of the phone, if you try and lock the bootloader when flashing a ROM for a different region, it will brick the phone.
Because you've bought the phone second hand, and the seller already lied about the Chinese ROM being global, then there is no guarantee that the phone is a genuine European model, so it is best to play safe and not re-lock the bootloader when flashing the EEA ROM.
Click to expand...
Click to collapse
Thank you for this great description. I will try top flash the european ROM this weekend. After everything works succesfull i will write here .
Only one more question.. flashing the original ROM with re-locking the Phone will deinstall TWRP and install an original bootloader?
duma218 said:
Thank you for this great description. I will try top flash the european ROM this weekend. After everything works succesfull i will write here .
Only one more question.. flashing the original ROM with re-locking the Phone will deinstall TWRP and install an original bootloader?
Click to expand...
Click to collapse
Yes.
costorektypico said:
Yes.
Click to expand...
Click to collapse
So now I flashed it by fastboot and its running. I had to watch some videos an dread some sides to understand what to do to make the Mi Flash tool run. But all in all its not that complicated as i thought.
When I start the phone its still unlocked, but i think there is no TWRP anymore. Thats not that important for me now. But I'm missing some Features witch were in the chinese ROM already. For example the App drawer. I Thougt it would be normal to have one because up to now i only had Phones with it :/. I've read it will come with some extra updates, and i hope it will come soon.
Thank you for your help. I hope i will accustom myself to use the phone without the app drawer.

Question Flashing advice

Have stock m11 from vodafone....12.5.1 ending euvf so cant update unless vodafone approve that...its delayed by months etc.
I will unlock bootloader...my question is how can i change rom to stock eu without bricking the phone.....
Can i use fastboot or miflash and simply flash stock rom over the vodafone trash?
Just to mention i have facebook and twiter and some more and i cant disable them or remove...so wanna go stock eu....
Can anyone advise me a safe mode to switch please.
Thabk you
unlock your phone and flash this : https://bigota.d.miui.com/V12.5.4.0...EUXM_20210730.0000.00_11.0_eea_b20356b7dc.tgz
Hunteres said:
Have stock m11 from vodafone....12.5.1 ending euvf so cant update unless vodafone approve that...its delayed by months etc.
I will unlock bootloader...my question is how can i change rom to stock eu without bricking the phone.....
Can i use fastboot or miflash and simply flash stock rom over the vodafone trash?
Just to mention i have facebook and twiter and some more and i cant disable them or remove...so wanna go stock eu....
Can anyone advise me a safe mode to switch please.
Thabk you
Click to expand...
Click to collapse
You don't need to open the bootloader to get rid of the Vodafone ROM.
Just use the XiaoMiTool, follow the instructions and flash the Global or EEA ROM.
pittrich said:
You don't need to open the bootloader to get rid of the Vodafone ROM.
Just use the XiaoMiTool, follow the instructions and flash the Global or EEA ROM.
Click to expand...
Click to collapse
Will that wipe my data?
Pikaone41 said:
unlock your phone and flash this : https://bigota.d.miui.com/V12.5.4.0...EUXM_20210730.0000.00_11.0_eea_b20356b7dc.tgz
Click to expand...
Click to collapse
Flash through twrp? As mentioned before i already applied for bootloader unkock but if possible i wanna avoid it...
Hunteres said:
Flash through twrp? As mentioned before i already applied for bootloader unkock but if possible i wanna avoid it...
Click to expand...
Click to collapse
No flash it with miflash
Hunteres said:
Will that wipe my data?
Click to expand...
Click to collapse
Yes
I have debranded my Mi11 from SFR (french operator) to Global EEA: you MUST unlock bootloader. Then, flash ROM with MiFlash and, if you want, relock the bootloader. Unlocking bootloader wipe internal storage.
ohtoulouz said:
I have debranded my Mi11 from SFR (french operator) to Global EEA: you MUST unlock bootloader. Then, flash ROM with MiFlash and, if you want, relock the bootloader. Unlocking bootloader wipe internal storage.
Click to expand...
Click to collapse
Yup....tried today with locked boot.. but its not possible without locked bootloader indeed.
So have to wait... Thursday is the day when my time will be up...
Thank you
pittrich said:
You don't need to open the bootloader to get rid of the Vodafone ROM.
Just use the XiaoMiTool, follow the instructions and flash the Global or EEA ROM.
Click to expand...
Click to collapse
False, flash EEA Branded ROM EU?? to EUXM (Global EEA) is like flash a ROM to an another Canal (EEA / CH / GLOBAL / TW etc...), ROM don't have the same signature so it's a mandatory to unlock bootloader for flash / erase ROM to EEA Global.
After that, yes you can flash full EEA rom/update directly from the system.
Pho3nX said:
False, flash EEA Branded ROM EU?? to EUXM (Global EEA) is like flash a ROM to an another Canal (EEA / CH / GLOBAL / TW etc...), ROM don't have the same signature so it's a mandatory to unlock bootloader for flash / erase ROM to EEA Global.
After that, yes you can flash full EEA rom/update directly from the system.
Click to expand...
Click to collapse
Can only confirm that.... As mentioned
How can you even think to flash your phone without unlocking your bootloader? Obviously you MUST unlock it. Then you can flash what you want.
xNAPx said:
How can you even think to flash your phone without unlocking your bootloader? Obviously you MUST unlock it. Then you can flash what you want.
Click to expand...
Click to collapse
I though if i flash official rom without changing region...aka eu to global i could....and even senior user mentioned its possible i tried....
Probably you missed the fact that the EU rom is a custom ROM and so not official. The only official ROM you can install is the one your phone come preinstalled with. All the others official or not, are not flashable without unlocking your bootloader
xNAPx said:
Probably you missed the fact that the EU rom is a custom ROM and so not official. The only official ROM you can install is the one your phone come preinstalled with. All the others official or not, are not flashable without unlocking your bootloader
Click to expand...
Click to collapse
No... EU ROM is the Global EEA MIUI Genuine, you talked about Xiaomi.eu rom (Custom MIUI).
You know here a lot of people have some good knowledge.
And you can upgrade without unlock bootloader when it's the same ROM/Country (EEA/TW/MIX,CH etc).
In this exemple @Hunteres can't flash the lastest EEA ROM 12.5.4.0.RKBEUXM under system (on the fly) because he have a vodafone EEA ROM 12.X.X.X.RKBEUVD (phone with custom vendor partition, custom settings and pre-installed apps from carrier)
Pho3nX said:
No... EU ROM is the Global EEA MIUI Genuine, you talked about Xiaomi.eu rom (Custom MIUI).
You know here a lot of people have some good knowledge.
And you can upgrade without unlock bootloader when it's the same ROM/Country (EEA/TW/MIX,CH etc).
In this exemple @Hunteres can't flash the lastest EEA ROM 12.5.4.0.RKBEUXM under system (on the fly) because he have a vodafone EEA ROM 12.X.X.X.RKBEUVD (phone with custom vendor partition, custom settings and pre-installed apps from carrier)
Click to expand...
Click to collapse
I have vf rom eea..i cant change it to stock eea with locked bootloader....
I have never wanted xiaomi.eu rom nor i mentioned it...sorry for misunderstanding
Hunteres said:
I have vf rom eea..i cant change it to stock eea with locked bootloader....
I have never wanted xiaomi.eu rom nor i mentioned it...sorry for misunderstanding
Click to expand...
Click to collapse
Yes so it's exactly that i said just before even if you have a EEAS RKBEUVF, you can't update to Global EEA RKBEUXM without unlock bootloader because they don't have the same signature.
Pho3nX said:
Yes so it's exactly that i said just before even if you have a EEAS RKBEUVF, you can't update to Global EEA RKBEUXM without unlock bootloader because they don't have the same signature.
Click to expand...
Click to collapse
Thank you
Hunteres said:
Have stock m11 from vodafone....12.5.1 ending euvf so cant update unless vodafone approve that...its delayed by months etc.
I will unlock bootloader...my question is how can i change rom to stock eu without bricking the phone.....
Can i use fastboot or miflash and simply flash stock rom over the vodafone trash?
Just to mention i have facebook and twiter and some more and i cant disable them or remove...so wanna go stock eu....
Can anyone advise me a safe mode to switch please.
Thabk you
Click to expand...
Click to collapse
Hi.
Yeah that absolutely fine with stock EU with mi flash. The bootloader can be locked also on the new stock ROM. I think the only way you will brick is if you accidentally enable anti-rollback and relock. But yeah I done the same thing reflashing over VF ****ty rom and relocking.
gazt1888 said:
Hi.
Yeah that absolutely fine with stock EU with mi flash. The bootloader can be locked also on the new stock ROM. I think the only way you will brick is if you accidentally enable anti-rollback and relock. But yeah I done the same thing reflashing over VF ****ty rom and relocking.
Click to expand...
Click to collapse
Did you relock with mi flash? There is option...wipe data...leave data and wipe data and lock

Question Rom 12.5.5.0 RKDEUVF

I have the Rom from Vodafone which however does not receive updates. Would it be possible to install the standard European ROM RKDEUXM without unlocking the bootloader and without losing the phone configuration?
I have the full rom file for fastboot installation 12.5.19.0.
Really thanks
Unfortunately, no, without losing configuration and data, you wont be able to flash any other version roms.
goodsale said:
I have the Rom from Vodafone which however does not receive updates. Would it be possible to install the standard European ROM RKDEUXM without unlocking the bootloader and without losing the phone configuration?
I have the full rom file for fastboot installation 12.5.19.0.
Really thanks
Click to expand...
Click to collapse
1. It's impossible to flash different rom without unlocking bootloader.
2. It's impossible to unlock bootloader without wiping the phone.
I see that is possible for Xiaomi phone using XiaomiTool V2 via ADB (debug usb enable).
You loose data but you don't have to unlock bootloader.
I don't know if it works with 11t pro...
I'd say DON'T DO IT. Switching ROM like that without unlocking the bootloader is a very bad idea. If something goes wrong your recovery options will be very limited. For sure though if you don't format data after flashing a different region ROM the device will end up soft bricked. Either a bootloop or perma fastboot mode. Adb doesn't work with stock recovery and stock recovery doesn't offer the "format data" option anymore just "wipe" which is not the same and won't fix anything. So unlock bootloader first.
Thanks!
But is it possible to re-lock after rom installed and is it possible to have ota regular updates?
goodsale said:
Thanks!
But is it possible to re-lock after rom installed and is it possible to have ota regular updates?
Click to expand...
Click to collapse
You can only relock bootloader when the rom installed in your phone is the stock ROM came with your phone or else you'll brick it and have to reflash in EDL mode using test point.
Now I'm with RKDEUXM Rom...no brand Vodafone.
I've closed bootloader After flash and small test.
All work fine, no brick and Ota updates downloaded and installed.
Thanks!!!
goodsale said:
Now I'm with RKDEUXM Rom...no brand Vodafone.
I've closed bootloader After flash and small test.
All work fine, no brick and Ota updates downloaded and installed.
Thanks!!!
Click to expand...
Click to collapse
Care to share the process so others can learn as well?
Yes look here
Lock bootloader on change ROM from Vodafone to EEA
Hello dears! A pleasure to be here. I recently got a Xiaomi 11T Pro from Vodafone (MIUI Global 12.5.6 Estable RKDEUVF) and I want to change it to the global one (I have read that operator roms does not work properly good) so If Im not wrong It...
forum.xda-developers.com

Categories

Resources