Question Re-lock device - Xiaomi Mi 11 Lite 4G

Hello all,,
i unlock my device and install twrp,, and flash miui eu rom, now i want re-lock my device how can i do it, because some apps not working in unlock (root) device
Regards

almuhajir said:
Hello all,,
i unlock my device and install twrp,, and flash miui eu rom, now i want re-lock my device how can i do it, because some apps not working in unlock (root) device
Regards
Click to expand...
Click to collapse
Firstly, you shouldn't re-lock your device while you are running something "custom" on it.
And in case you switched from Chinese to Global, no matter that it is a stock one, neither.
You should completely return to stock and re-lock device either through fastboot commands or using the option "Flash all and lock" through Mi Flash tool.

technically it is possible to relock the bl on some phones and some roms (graphene os for example)
the process is ... let's say complicated. and risky.
as subway said, no do not try to relock if you want to run a custom rom.

Thanx Dear,
i found the problem, its in Magisk, i disable it and every thing goes normal

Related

Bootloader unlock problems?

Hello,
I bought a 64gb version throw gearbest and they installed a vendors version 7.3.14.0.0 not oficial rom. With defeats the purpose of the bootloader being locked.
I want to install the original miui 8 china or miui 8 from xiaomi.eu.
If I unlock my bootloader by submitting the request to xiaomi what I lose? What are the disavantages?
Does the fingerprint reader works on a bootloader unlocked phone with official miui 8 china?
Does it work with xiaomi.eu rom?
What are the features that cease to work with an unlocked bootloader with these two roms?
If I install xiaomi.eu rom without unlock the bootloader using Doom Slayer method I must not update by OTA or I will brick it, right?
And oficial miui 8 can I update by OTA?
Sorry for these questions but is my first xiaomi with locked bootloader and don't want to screw up by not knowing the consequences of each method?
Thanks in advance
filtragem said:
Hello,
I bought a 64gb version throw gearbest and they installed a vendors version 7.3.14.0.0 not oficial rom. With defeats the purpose of the bootloader being locked.
I want to install the original miui 8 china or miui 8 from xiaomi.eu.
If I unlock my bootloader by submitting the request to xiaomi what I lose? What are the disavantages?
Does the fingerprint reader works on a bootloader unlocked phone with official miui 8 china?
Does it work with xiaomi.eu rom?
What are the features that cease to work with an unlocked bootloader with these two roms?
If I install xiaomi.eu rom without unlock the bootloader using Doom Slayer method I must not update by OTA or I will brick it, right?
And oficial miui 8 can I update by OTA?
Sorry for these questions but is my first xiaomi with locked bootloader and don't want to screw up by not knowing the consequences of each method?
Thanks in advance
Click to expand...
Click to collapse
The fingerprint will work. But Find phone will not work and it will not be secure. But your phone will be less secure like if gets stolen anybody can flash firmware and you will be loser. With find my phone nobody could even flash firmware . I have got permission within 2 days for unlocking but i have not done but i have flashed chinese firmware by using miflash. the link is here http://en.miui.com/thread-326039-1-1.html. it is very safe that way.
seking said:
The fingerprint will work. But Find phone will not work and it will not be secure. But your phone will be less secure like if gets stolen anybody can flash firmware and you will be loser. With find my phone nobody could even flash firmware . I have got permission within 2 days for unlocking but i have not done but i have flashed chinese firmware by using miflash. the link is here http://en.miui.com/thread-326039-1-1.html. it is very safe that way.
Click to expand...
Click to collapse
Security is not about flashing, is about protecting your data. Encryption makes phone more secure, not locked bootloader. We have ways to flash whatever we want with locked bootloader... how about that? Do you still fil secure?
Thank you both,
@seking for what I could understand this is the xiaomi.eu rom with even more stuff, right?
Do you have the helium version?
For that rom you just need the miflash to flash the rom via fastboot, right?
This is different from the Doom Slayer method because with it we fastboot the TWRP recovery and then use it to flash the xiaomi rom.
@nijel8, that is my question also the locked bootloader doesn't add security, gearbest flashed a custom rom even with it locked, so the security reason isn't a valid one.
Partition encrypting is only available when the bootloader is locked? If so that is one feature that is gone with unlocking.
If one unlock the bootloader can later lock it again?
With the bootloader locked we can't use miflash tool to flash fastboot rom, right? Only using EDL, and even then from what I could understand the system and data partition need to be formatted and that removes the encryption...
I just want to get rid of a rom that I don't know what is it and install a oficial rom or a rom from good sources like xiaomi.eu
After replace my rom can I update it by OTA or after I must update only by fastboot ot TWRP?
Thanks again
Bootloader status has nothing to do with encryption. Encryption always is a user option in any ROM... Not sure about MIUI though b/c they enforce encryption on both system and userdata partitions in ramdisk fstab so no user choice as far as I know. And yes... You can always lock bootloader back but will loose your data in process.
Not going to answer the second set of questions (see my signature ) not b/c I don't know but b/c never done it myself so yeah...
mi max is comparatively new phone. there are notnmany roms. development still new. therefore be careful of what you flash. for hardbrick solving we have to open the back cover which is risky. i have taken the safe mthod of not unlocking it. i flashed the rom on the locked rom with miflash via EDL. one can always flash the official rom through twrp and you will be safe.
Thanks a lot you two.
Trying to get the most information before doing something wrong.
Don't worry... Mi Max poves to be die hard phone...

CustomROM possible without root and (re)locked bootloader?

Hi,
Long story short:
is it possible to install customROM without root and to (re)lock the bootloader, and are there experiences with a similar situation where Apps check for closed bootloader and root (and stop working if detected)?
=> Goal: activate WiFi-Calling as my provider tuned down 2G-transmitpower due to the 5G-advances (without having enough 3G-coverage to make calls on UMTS-net)... BUT: I'm using two banks; one uses a PhotoTAN-App, that stops working if it detects an open Bootloader, the other Bank-App checks for Root & open Bootloader, and likewise stops working if detected. I have no idea about the PhotoTAN and Magisk, but the 2nd bank confirmed they checked rooted devices with Magisk, and that it does not work with it....
Thus, if I go for a CustomROM, I need to be sure that I can run it unrooted and with a locked bootloader....
Is there a way to install a CustomROM on the 5X with (re)locked bootloader and without root?
(or, if not possible: is there a way I can activate WiFi-Calling on StockROM if said one does not have the Carrier-Entitlements?)
Thanks for the help
@theunlucky: you don't need root to flash a custom ROM, only an unlocked bootloader. IMO you can lock it after flashing ROM.
rp158 said:
@theunlucky: you don't need root to flash a custom ROM, only an unlocked bootloader. IMO you can lock it after flashing ROM.
Click to expand...
Click to collapse
Are you sure about locking the bootloader after flashing a CustomROM? I've read several threads now, and it seems a locked BL only works with StockROM?
Not sure, therefore IMO IMO a locked BL prevents flashing CustomROM, not running. Try. If it doesn't work, you unlock BL again (triggers factory reset). In the worst case you've to flash latest firmware for a clean base..

Unlock bootloader, Install Custom Recovery and Lock Again?

Hi everyone,
Well my doubt it's really simple as you can see.
I tried to search on forum and internet, but I didn't found nothing solid.
Only achism (Incluing Mi official Forum)
It's really simple to Lock/Unlock the bootloader on Mi 5s, a simple command on promt and it's DONE. You lose nothing, no need to flash NOTHING.
I heard about bootloop, but does it real? Anyone here already tried it?
Why Am I asking it?
Well, if my bootloader is unlocked, I dunno why, but even with magisk Applications can detect some incoherence in my smartphone.
Even passing all steps of SafetyNet, the apps detect.
I think it's some flag on build.prop or another option available on MIUI Rom (and ofc they will read it to check everything).
My GF has magisk and custom recovery (Unlock Boot) and the same apps don't detect on her phone and works normally. (I configured both)
So I would like to know if it's really possible use a Custom Recovery and Magisk and just block the Bootloader again...
If you have the original bootloader from the original rom you can lock it. If you don't, the phone will stop booting with lock and custom bootloader.
patoberli said:
If you have the original bootloader from the original rom you can lock it. If you don't, the phone will stop booting with lock and custom bootloader.
Click to expand...
Click to collapse
No. Even using stock ROM after unlock bootloader and Install TWRP and lock again we got a message "the system has been destroyed" on Mi 5/5s/5x.
It's a Soft Brick, but if anyone on future want to try it and before do it, found this post so, stay away.
TWRP = different bootloader.
patoberli said:
TWRP = different bootloader.
Click to expand...
Click to collapse
Read the post again and if you don't understand, read again.
Thank you.

Locked bootloader, stuck in recovery mode.

Hello guys.
I recently bought this phone and wanted to use netflix, but didn't allow me because it outdated and said it was not compatible with my phone. So I did a bit of research and found a post in "mi community" that said it was because phone had bootloader unlocked. The phone was new and I didn't change anything of it, but I found the bootloader was unlocked.
Installed fastboot and adb drivers, locked bootloader and got myself into a... Brick?
-I can still load into fastboot.
-If I turn on the phone, It tries to load android but loads Mi-Recovery 3.0 instead. Recovery also says "This MIUI version can't be installed on this device"
I'm so lost from this point, I need to know if there is a way to flash any rom, and which one do I need.
Thanks in advice
stuck on recovery
Most likely a chinese phone that came with global rom. If it came with global rom try flashing chinese rom and then unlocking bootloader and reflash global. Do not lock bootloader after flashing global.
toxiccat said:
Most likely a chinese phone that came with global rom. If it came with global rom try flashing chinese rom and then unlocking bootloader and reflash global. Do not lock bootloader after flashing global.
Click to expand...
Click to collapse
Thanks for your answer, that is exactly what I've.
The problem is I tried to flash a Chinese from but it always denie it. Tried to flash the last global rom and allows me to do it with the same program.
Not sure where I can get the official chinese rom or how to bypass the xiaomi protection.
Thanks for helping! Hope I can somehow do it
Locked bootloader
Try searching for tools below which might help.
Saki / XiaomiADBFastbootTools
XiaomiADBFastbootTools-6.5.1-Win
I had hard bricked mine and had to take back off and use EDL to revive.
toxiccat said:
Try searching for tools below which might help.
Saki / XiaomiADBFastbootTools
XiaomiADBFastbootTools-6.5.1-Win
I had hard bricked mine and had to take back off and use EDL to revive.
Click to expand...
Click to collapse
I don't find the way to reboot (via software) to EDL from fastboot, is still possible to access it by opening the phone?
Locked bootloader
23javi23 said:
I don't find the way to reboot (via software) to EDL from fastboot, is still possible to access it by opening the phone?
Click to expand...
Click to collapse
If you can flash global ROM. I think you just need to unlock bootloader and then flash China ROM once you have unlocked bootloader.
China ROM link below
https://xiaomifirmware.com/roms/latest-official-miui-roms-for-xiaomi-mi-max-3/
toxiccat said:
If you can flash global ROM. I think you just need to unlock bootloader and then flash China ROM once you have unlocked bootloader.
China ROM link below
https://xiaomifirmware.com/roms/latest-official-miui-roms-for-xiaomi-mi-max-3/
Click to expand...
Click to collapse
It lets me flash de global one, but when I try to do the same with chinese rom, it says the version is lower, so I can't "downgrade".
It's weird because according to version number, the global one was a few versions lower
Solved the issue
The same issue , i was also encountered , After Flashing with "Xiaomi_Mi_Max_3_V10.2.1.0.PEDMIXM_20190226.0000.00_Global_9.0" Mi Max 3 with the MiFlash20191206 tool , by default the tool used "Clear data and Lock".
The tool saying "Flashing" and my phone got rebooted and went to MI Recovery 3.0 and also i got the message as
"This MIUI version can't be installed on this device".
I am not clueless how to proceed. So downloaded the Chinese version and again i tried to flash with above tool. Now tool said that "Can't Erase Locked" phone.
So Now i connected to Miflash_unlock with fastboot and connected to mi account and again i unlocked the phone.
Now my phone automatically booted to the Global version.
So i hope the issue is selecting the option as "Clear data and lock" . We need to select only "Clear data" in the flash tool.
23javi23 said:
Hello guys.
I recently bought this phone and wanted to use netflix, but didn't allow me because it outdated and said it was not compatible with my phone. So I did a bit of research and found a post in "mi community" that said it was because phone had bootloader unlocked. The phone was new and I didn't change anything of it, but I found the bootloader was unlocked.
Installed fastboot and adb drivers, locked bootloader and got myself into a... Brick?
-I can still load into fastboot.
-If I turn on the phone, It tries to load android but loads Mi-Recovery 3.0 instead. Recovery also says "This MIUI version can't be installed on this device"
I'm so lost from this point, I need to know if there is a way to flash any rom, and which one do I need.
Thanks in advice
Click to expand...
Click to collapse
Hi there,
I encountered the same issue. I tried to flash some CN Rom without enough research, without knowing that you can't just flash an Android 10 rom from 9 directly by recovery (even TWRP). So I ended up Fastboot or TWRP but never able to boot into system. Fortunately I didn't flash my Max3 by fastboot rushly, so my phone was still unlocked.
This is how I solved it:
1. Download an official CN ROM (the below I used is MIUI 11 with Android 9.9.x);
I can't post link here but search "miui通过线刷升级" - you shall see a miui.com link ending with shuaji-393.html. That's the page I download the Mi Max3 ROM from.
2. Use MiFlash to flash the official ROM with the flash option "clean all", NOT "clean All and lock";
3. The phone shall reboot into system, give it 5-10 minutes;
4. Flash the miui.eu ROM you like (DO make sure it is Android 9 tho) by recovery (tutorial given under every official xiaomi.eu ROM download).
Again it's easy to search
It took me less than an hour to do it (I don't have much experience with new XiaoMi phone). So don't worry about bricking your phone forever.
Hope it helps to destress
Hi guys. I need some help too because I'm not totally sure what I have to do here so if anyone can give me some tips I would appreciate it.
I just ordered the 128gb 6gb ram version of Mi Max 3 and it might come with the global rom and already unlocked. Should I use the Mi flash tool to install the file MIUI 11 V11.0.3.0.PEDCNXM android 9 fastboot file? then after that installs I should lock the bootloader and then unlock it again myself with my mi own account? I just want to make sure that this is the correct way to do it.
Also after it I unlock it should I flash the newest xiaomi.eu rom with android 10 or do i have to do something else first? Thank you

Can I flash a global version ROM to a Redmi Note 8 Pro CN version?

Hello all,
As a consequence of a recent OTA update to MIUI 12.5.2, Google Play and Google apps ceased to work on my Redmi Note 8 Pro (begonia) CN version. In order to have them back again, I am considering switching to a stock ROM for the global version of the RN8Pro.
Does this sound like a reasonable plan?
Are there hardware differences between the CN version and the global version of the RN8Pro?
Can I go ahead and flash a global version ROM over a CN version ROM?
Would this allow me to install Google Play and Google apps on the RN8Pro?
Thanks!
You can. You are not asking for impossible. But it will cost you your data as your phone will be wiped in the process.
The procedure is Unlock bootloader -> Flash Global/EEA/Indonesia/Xiaomi.eu ROM (but the guys at xiaomi.eu stopped the development of the ROM long ago, so only ancient version of MIUI is available) OR even a custom ROM (wichever you like). You will find the corresponding tutorial in this device's forum.
@kekesed97: Thanks!
After a one-week wait (Xiaomi imposes this waiting period for bootloader unlocking), I was able to unlock the bootloader and flash a stock global ROM to my RN8Pro. Everything went fine. The phone was working perfectly, with its bootloader still unlocked.
Then I fell into a trap.
After reading about things that would not work on a phone with unlocked bootloader (Google Pay, banking apps, etc.), I decided to relock the bootloader of my RN8Pro. Did that by running "fastboot oem lock" on a PC connected to the phone.
Relocking the bootloader kind of bricked the phone. The RN8Pro is now stuck in the menu for "MIUI Recovery 5.0", with the following message at the bottom of the screen:
"This MIUI version can't be installed on this device"
Is there a way out of this trap?
reverbel said:
After a one-week wait (Xiaomi imposes this waiting period for bootloader unlocking), I was able to unlock the bootloader and flash a stock global ROM to my RN8Pro. Everything went fine. The phone was working perfectly, with its bootloader still unlocked.
Then I fell into a trap.
After reading about things that would not work on a phone with unlocked bootloader (Google Pay, banking apps, etc.), I decided to relock the bootloader of my RN8Pro. Did that by running "fastboot oem lock" on a PC connected to the phone.
Relocking the bootloader kind of bricked the phone. The RN8Pro is now stuck in the menu for "MIUI Recovery 5.0", with the following message at the bottom of the screen:
"This MIUI version can't be installed on this device"
Is there a way out of this trap?
Click to expand...
Click to collapse
Some GooglePay and banking apps can be used after pass safetynet by doing something with Magisk. And you should read something about lock bootloader before doing that. China phone only can be locked with China Miui roms, by chose clean and lock on Miflashtool (best way to prevent brick). So if you want to do that, better downgrade to Miui 12.0.x to use Google apps and no more updates. And if anything else you want to be helped, join group on Telegram and get help.
Kirasu2080 said:
Some GooglePay and banking apps can be used after pass safetynet by doing something with Magisk. And you should read something about lock bootloader before doing that. China phone only can be locked with China Miui roms, by chose clean and lock on Miflashtool (best way to prevent brick). So if you want to do that, better downgrade to Miui 12.0.x to use Google apps and no more updates. And if anything else you want to be helped, join group on Telegram and get help.
Click to expand...
Click to collapse
Thanks, @Kirasu2080. Now I see that I should have flashed a MIUI 12.0.x China version ROM, rather than a global ROM.
But I still don't see how to fix things... Since phone is stuck in recovery with its bootloader locked, it appears as there is no way for me to downgrade now.
reverbel said:
Thanks, @Kirasu2080. Now I see that I should have flashed a MIUI 12.0.x China version ROM, rather than a global ROM.
But I still don't see how to fix things... Since phone is stuck in recovery with its bootloader locked, it appears as there is no way for me to downgrade now.
Click to expand...
Click to collapse
Use free unbrick hardbrick method for this. You can search Youtube videos, some solve problems, some not work, some make you lose Imei. That's why i told you join Telegram group for direct chat.
I have the global vesrsion of the Redmi note 8 pro. I want to flash the Euro version on it without unlocking the bootloader. Is this possible with the MiFlash tool?
reverbel said:
Thanks, @Kirasu2080. Now I see that I should have flashed a MIUI 12.0.x China version ROM, rather than a global ROM.
But I still don't see how to fix things... Since phone is stuck in recovery with its bootloader locked, it appears as there is no way for me to downgrade now.
Click to expand...
Click to collapse
You need to do the "EDL mode or Test point".
Lock xiaomi devices can be unbricked using that method.
Flash firmware using EDL or Test point mode. Please search in youtube.

Categories

Resources