when do i need an unlocked bootloader & flashing methodes - Xiaomi Mi 5 Questions & Answers

[email protected]
i'm little bit confused about unlocking the bootloader on an mi5 device. I read somewhere that it's not needed if you use the updater app on the phone. i think this is only true for official rom's which came from en.miui.com it self?
can i use the updater app if i want to install the official en.miui.com 8 global rom without unlocking the bootloader?
if i want to install an xiaomi.eu rom, i will have to unlock the bootloader first?
does root on an official rom need an unlocked bootloader too?
there are more then one way to flash an rom on an mi5 device, updater app, fastboot and miflash tool, twrp(which is not preinstalled i mean?). but i read something about an edl mode, but cant find out what this does mean? is this maybe the fastboot and miflash tool mode?
many thanks!
best regards
adnan

Hello there,
what ROM are you running currently? Broadly speaking, you have 2 tools to change the ROM on Your device: the updater app and Fastboot (miflash uses fastboot too, and twrp requires fastboot to be installed). The updater app allows you only to upgrade your current ROM to the newest version. Fastboot (and the related tools) allow you to change ROM completely (e.g. switching from China Stable to China Dev or from China Stable to Global Stable or from China Stable to miui.eu Stable), and will also allow you to root your device through TWRP. To use fastboot, however, you will need to unlock Your bootloader.
Regarding EDL mode, it is the Miui stock recovery mode, which can be used together with the Xiaomi desktop application to flash new ROMs. It is not a widely used method, because the desktop app is quite buggy.

hello
many thanks for your replay.. i'm currently on miui 8, the global alpha version, so i already do an flash.. your answer is toop, again thanks for that!! but there are some new questions, edl is the miui stock recovery mode, does this mean the recovery as i know it already in a form from recovery.img? if i also want root i will have to flash twrp, this would then mean that the miui stock recovery (edl) wouldn't work anymore? so if i want to go back to an official global rom, do i need to flash the stock miui recovery first? the way to do that would be through fastboot? where can i get the stock miui recovery?
have an nice day!

Related

Mi Mix 2 official global developer rom available

Official global rom is available for Xiaomi mi mix 2, even if it's not listed on the miui website yet.
This is the download link: http://bigota.d.miui.com/7.9.21/miui_MIMIX2Global_7.9.21_7f94ca393f_7.1.zip
This is the recovery version, fastboot version is not out yet, so there are only two ways to install it:
Method 1 (works on both locked and unlocked bootloaders):
- Download the rom on your pc
- Download and install my tool on your pc: www.xiaomitool.com/latest (read more about it here: https://forum.xda-developers.com/mi-5/how-to/tool-xiaomitool-xiaomi-rom-changing-easy-t3627081 )
- Plug your device to your pc, launch the tool and use it until you reach the rom selection view
- Select "show advanced options", then "Official Miui rom (.zip)" and then select the file of the rom you have downloaded before
- The tool will install it automatically
Method 2 (works only on unlocked bootloaders):
- Download the rom and supersu zip on your device
- Install twrp to your device
- Install the rom file through twrp
- Patch the rom by flashing supersu
PLEASE NOTICE: if you use this method dont update your device because this will soft brick it. You need to flash manually from twrp the rom and supersu if you want to do that. This method is for those who want to try the rom, not to keep for a long term. If you want to keep the rom, use method 1 or wait for fastboot rom.
FAQs:
Q: This link is official and how did you get it?
A: It's official (just look at the download url) and I have it by emulating an ota update call
Q: Have you tried installing it on your device?
A: I have not mi mix 2 so no
Q: This may brick my device?
A: It may brick it, I have not tried yet. This is to tell you to do on your own risk, I'm not responsible
Q: Why I have to flash SuperSU?
A: Official rom are not compatible with twrp natively, your device will not boot if you don't flash supersu.
Q: What is the difference with your tool?
A: My tool uses stock recovery to flash official roms, so there is no need to unlock bootloader to install twrp, neither to flash supersu
Q: This method(s) doesn't work!
A: Ok, sorry to hear that, leave your feedback. This methods are not tested yet with mi mix 2, so there is the chance they might not work. Just leave both positive and negative feedback about it.
franztesca said:
Official global rom is available for Xiaomi mi mix 2, even if it's not listed on the miui website yet.
This is the download link: http://bigota.d.miui.com/7.9.21/miui_MIMIX2Global_7.9.21_7f94ca393f_7.1.zip
This is the recovery version, fastboot version is not out yet, so there are only two ways to install it:
Method 1 (works on both locked and unlocked bootloaders):
- Download the rom on your pc
- Download and install my tool on your pc: www.xiaomitool.com/latest (read more about it here: https://forum.xda-developers.com/mi-5/how-to/tool-xiaomitool-xiaomi-rom-changing-easy-t3627081 )
- Plug your device to your pc, launch the tool and use it until you reach the rom selection view
- Select "show advanced options", then "Official Miui rom (.zip)" and then select the file of the rom you have downloaded before
- The tool will install it automatically
Method 2 (works only on unlocked bootloaders):
- Download the rom and supersu zip on your device
- Install twrp to your device
- Install the rom file through twrp
- Patch the rom by flashing supersu
PLEASE NOTICE: if you use this method dont update your device because this will soft brick it. You need to flash manually from twrp the rom and supersu if you want to do that. This method is for those who want to try the rom, not to keep for a long term. If you want to keep the rom, use method 1 or wait for fastboot rom.
FAQs:
Q: This link is official and how did you get it?
A: It's official (just look at the download url) and I have it by emulating an ota update call
Q: Have you tried installing it on your device?
A: I have not mi mix 2 so no
Q: This may brick my device?
A: It may brick it, I have not tried yet. This is to tell you to do on your own risk, I'm not responsible
Q: Why I have to flash SuperSU?
A: Official rom are not compatible with twrp natively, your device will not boot if you don't flash supersu.
Q: What is the difference with your tool?
A: My tool uses stock recovery to flash official roms, so there is no need to unlock bootloader to install twrp, neither to flash supersu
Q: This method(s) doesn't work!
A: Ok, sorry to hear that, leave your feedback. This methods are not tested yet with mi mix 2, so there is the chance they might not work. Just leave both positive and negative feedback about it.
Click to expand...
Click to collapse
Would you care to share the ota update call for those of us too lazy to use wireshark?
Should i continue?
i tried the tool with a locked bootloader but it says i cant flash it with a locked bootloader.
I have unlocked my bootloader.
vic20nl said:
I have unlocked my bootloader.
Click to expand...
Click to collapse
Works for you ? And which option did you choose .. And did you do anything before ?
Didn't work for me, see my previous post
Hi vic20nl,
So you continued but had no luck ?
Or did you abandoned the flashing ?
If you decided not to proceed, I might say that installing a custom recovery is an easy thing.
And I cannot recommend too much to install such a custom ROM as it will allow a lot of things, especially to back-up before installing a new ROM or to install a custom ROM like Mokee or EPIC ROM.
Regards.
Heading has come up on the MIUI ROM download page for the Mi MIX 2 Global, so it should not be long for an official ROM
Stable ROM available
It's up for download
kcc1982 said:
It's up for download
Click to expand...
Click to collapse
Yeah just noticed that. Shame it's still miui 8 not miui 9.
Maybe soon for miui 9 global.
Did somebody manage to flash the developer ROM (that is what is what mentioned in first post) as that is suppose to be MIUI 9?
gardien said:
Did somebody manage to flash the developer ROM (that is what is what mentioned in first post) as that is suppose to be MIUI 9?
Click to expand...
Click to collapse
Yes, I did. You need to use fastboot.
Hello Guys!
First at all, thank you @franztesca for your great work on the flashing tool and bring us early the Global Dev Rom for Mi MIX 2.
I would like to ask and/or bring in this discussion here an other aspect to flash the Global Dev.
First an unlocked bootloader is requiered. I used this method at another Xiaomi, the Xiaomi Mi 5.
I am actually on the Xiaomi.eu Rom and i would like to change to the Global Dev. My bootloader is open. I flashed the Xiaomi.eu Rom with TWRP, but i dont install TWRP, i just boot into TWRP by using the commend : "fastboot boot twrp.img", just booted not flashed! After the boot i flashed the Rom via ADB Sideload an performe a Data Rest befor.
In this case i am able to keep the original Recovery, but i could also have an Custom Rom.
Now i want to change my Rom again, to your brought Global DEV.
Iam loking and asking me, how could i flash it the easyest Way, without loosing any Data and of course without any Bootloops and with regular Updates for the future.
So i think you musst Add a Variant Number 3, please correct my if iam wrong, but for me it is the easyest way with an unlocked Bootloader.
1. Download Rom and TWRP
2. Set Mi MIX 2 in Fastboot Mode
3. Boot via Fastboot iside TWRP (fastboot boot twrp.img"
4. Flash the Rom an reboot
Now you have Global Rom with offical Recovery for futher upadates!
Greetz
Thanks, I cannot do it via the updater app from Xiaomi by coying the zip file to the device and then choose the package in the updater?
gardien said:
Thanks, I cannot do it via the updater app from Xiaomi by coying the zip file to the device and then choose the package in the updater?
Click to expand...
Click to collapse
You can't go from the China ROM to the Global ROM via the updater app. You'll have to use fastboot/Mi Flash.
Sent from my Mi MIX 2 using Tapatalk
Ulver said:
You can't go from the China ROM to the Global ROM via the updater app. You'll have to use fastboot/Mi Flash.
Sent from my Mi MIX 2 using Tapatalk
Click to expand...
Click to collapse
So if I get it right:
- Unlock your bootloader trough a Xiaomi website and wait for an sms.
- Use fastboot to flash the global rom. (Do I need to wipe before using the Mi tool to flash?)
Jamezs said:
So if I get it right:
- Unlock your bootloader trough a Xiaomi website and wait for an sms.
- Use fastboot to flash the global rom. (Do I need to wipe before using the Mi tool to flash?)
Click to expand...
Click to collapse
I didn't have to go through getting permission, my account already had it from previous Xiaomi devices. If you haven't yet, then yeah wait to get permission.
Mi Flash gives you the option to relock the bootloader upon flashing or not. There is also an option to keep data, but I would advise not doing that when switching to the Global ROM.
Also, after getting permission to unlock your bootloader, if you relock it again, you can always use the Mi Unlock tool to unlock it as much as you want since you already got permission to do so. When I had the Mi5, I can't even count how many times I unlocked/relocked the bootloader.
Sent from my Mi MIX 2 using Tapatalk
Once re-locked can you use banking apps etc?
Wrong recovery
When I try with method 1, he tells me I got the wrong recovery. Bootloader is open ..

MIUI 11

So finally there's MIUI 11 officially announced in China. XDA recently provided the links to download recovery ROM based on MIUI 11 for certain devices here- https://www.xda-developers.com/download-miui-11-beta-now-for-13-xiaomi-devices-changelog/amp/
These ZIPs are chinese beta builds and my question as a xiaomi.eu 's ROM user is-
HOW CAN I FLASH A CHINESE BETA ROM USING TWRP WHILE CURRENTLY I'M USING XIAOMI.EU ROM?
Thanks in advance ;p
u don't. I tried them. they have anti-rollback feature. u will be stuck in them. u won't be able to flash twrp. fastboot will reject everything saying anti rollback hszghsjcklsj........ like something. I tried. my phone got bricked. but somehow fastboot was on and I unlocked bootloader then in edl mode flashed stock ROM. I must say that I was not able to access even recovery.
in short, the way to go back to using custom ROMs/recoveries are destructive and could brick ur device and u may not be able to recover it anytime soon.
So, I risked my phone and tried (that was the only option I had). Here's how to flash Chinese beta (or official MIUI) when your Xiaomi device is running unofficial MIUI like xiaomi.eu's MIUI or even a custom ROM-
Again HOW TO FLASH OFFICIAL MIUI CHINESE/GLOBAL ON A XIAOMI DEVICE THAT IS CURRENTLY ON A CUSTOM ROM
DISCLAIMER: THE BELOW MENTIONED METHOD IS WHAT WORKED IN MY CASE, I thought to help if someone needs help in this case because I didn't get any
Step 1. Make a backup of your data and wipe every partition (except Internal storage, USB OTG & SD card)
Step 2. Since MIUI has anti-rollback, you've gotta flash the recovery ROM with a lazyflasher like tool. (Lazyflasher didn't work at all in my case. So use Dm-verity disabler, Force encryption by @Zackptg5).
Note: You don't need this tool while flashing xiaomi.eu ROM or custom ROM. YOU DON'T!
Step 3. As mentioned above flash both zips and reboot to system.

Question mi 11 pro - from eu rom+twrp to chinese original stock rom with the fastboot loader

Hello friends ,
I need your help because I'm already lost , openning many threads , and I dont know what to do.
I have mi11 Pro with eu rom+ TWRP bootloader. the boot loader is unloacked.
I dont know what I did, but I played with the settings of the phone and the TWRP and currently the phone is running with the eu rom , but I can not install a new rom because the TWRP does not recognize the zip file of the rom .
i tried to fix the problem in the twrp , but failed .
All I want at the moment is to go back to the original Chinese stock rom of the device as on the day I took it out of the box along with the fastboot recovery, so that I ll be able later to install any rom .
Is this process possible without causing a brick to the device?
Is there a link to the original Chinese stock rom with its fastboot recovery and how to install it without using TWRP?
thnx a lot
Just download fastboot rom for Mi 11 pro (google it), and flash in fastboot mode using miflash
Nothing brick, u can relock bootloader if u want there

Question Downgrading from stock A12 to Xiaomi EU A11

I'm planning to go from stock 13.0.2 A12 to Xiaomi EU 13.0.10 A11. Based on what I read, this is what I have to do:
- Unlock bootloader (which will factory reset the phone).
- Start fastboot mode.
- Connect to PC.
- Download the ROM (Recovery for RN11, since it's downgrade I'll have to factory reset but it'll already be done during bootloader unlock)
- Run first_time_installation.bat (or something like that).
Are these steps correct? This will be the first time I flash a ROM and I really don't want to mess it up. Thanks in advance!
The first step is correct, you must unlock the booloader. However, you can't install Xiaomi.eu ROM on fastboot mode, that's only for stock ROMs. If you try to do that using a custom ROM, it could brick your phone. For Xiaomi.eu (or any other custom ROM) you need to install first a custom recovery like TWRP: first downlaod the custom recovery file, then copy it into the storage and then install it. You can do the last 2 things with CMD commands . Then copy the custom ROM file like any other file into the phone's storage, restart the phone on recovery mode and install the ROM from the TWRP interface. I did it like a month ago, I don't remember all the details though. Just look for a tutorial, it's not that hard.
Good luck.
lenny73 said:
The first step is correct, you must unlock the booloader. However, you can't install Xiaomi.eu ROM on fastboot mode, that's only for stock ROMs. If you try to do that using a custom ROM, it could brick your phone. For Xiaomi.eu (or any other custom ROM) you need to install first a custom recovery like TWRP: first downlaod the custom recovery file, then copy it into the storage and then install it. You can do the last 2 things with CMD commands . Then copy the custom ROM file like any other file into the phone's storage, restart the phone on recovery mode and install the ROM from the TWRP interface. I did it like a month ago, I don't remember all the details though. Just look for a tutorial, it's not that hard.
Good luck.
Click to expand...
Click to collapse
Haha thanks for your reply! This came a bit late, it has been exactly a month since I flashed but I hope this could help someone else. Spes/spesn is listed as recovery on the list but the Android 11 versions only come in Fastboot. When I unlocked bootloader, I had already prepared Pixel Experience and Xiaomi.eu ROM. PE's recovery gave me bootloop so I used the next thing available and flashed Xiaomi.eu .bat file.
I was a bit worried when it was stuck on the same screen for 15 minutes but then it loaded with no problem. Not really sure if I did the right thing or I was just lucky
Indonesia global rom work call recording mi dialer and step counter intalled in eea and no problem

Question Question about firmware and fastboot rom when downgrading

Hi, I am about to downgrade my sweet global from MIUI 14 to the latest version of MIUI 12 since I find it the most stable.
At the Xiaomi firmware updater site, I see firmware, vendor and rom.
I learnt that to downgrade, I need to use a fastboot rom. I donwloaded both the 12.5.9 fastboot rom and the corresponding 12.5.9 "firmware".
Do I need to flash firmware first before the fastboot rom? Or can I flash the fastboot rom directly?
And do I need to enable any extra options in the Mi Flash Tool before flashing?
Thank you for any information.

Categories

Resources