How to revert from cm14 to MIUI? - Xiaomi Mi 5 Questions & Answers

Can anyone help me on how to install xiaomi.eu rom from cm14? thanks.
aelzki said:
Doing the one in the video on the first response will really brick the phone. I figured it out. I downloaded china fastboot developer rom officially and flashed it with MiFlash. That does the trick.
After booting, I installed the xiaomi.eu version to use a clean one without the chinese apps.
Click to expand...
Click to collapse

aelzki said:
Can anyone help me on how to install xiaomi.eu rom from cm14? thanks.
Click to expand...
Click to collapse
simply install the zip from the recovery.the instructions are already given on their site.you need the latest twrp recovery.you can find the links in the description of the following video
https://youtu.be/YHEhgwPtEKE

I tried to install it but my phone died. It seems you must not manually wipe system. Also after installing supersu my second Sim didnot work

Doing the one in the video on the first response will really brick the phone. I figured it out. I downloaded china fastboot developer rom officially and flashed it with MiFlash. That does the trick.
After booting, I installed the xiaomi.eu version to use a clean one without the chinese apps.

aelzki said:
Doing the one in the video on the first response will really brick the phone. I figured it out. I downloaded china fastboot developer rom officially and flashed it with MiFlash. That does the trick.
After booting, I installed the xiaomi.eu version to use a clean one without the chinese apps.
Click to expand...
Click to collapse
actually i also had installed the china developer rom first but it gave me bootloop after that i installed the latest recovery restored my earlier cm14.1 backup and then installed xiaomi.eu version.no problems occured so far

Yeah first time I did this I hard bricked the phone. This is the process I use now:
1) Download MiFlash
2) Download Mi5 Fastboot ROM that you want to use
3) Reboot phone into Fastboot
4) Put phone into EDL using the command "fastboot oem edl" (without quotes)
5) Launch MiFlash - it should detect it as a COM device. Flash the ROM you downloaded earlier.
6) Once it's done, you'll be back to original MIUI. Be aware that this also flashes the recovery too, so you'll need to reinstall TWRP if you want to use it.
Since I was going to use a Xiaomi.eu rom, I re-flashed TWRP and then installed the Xiaomi.eu rom. It's really important that if you are going to flash the Xiaomi.eu rom, that you never wipe the system partition. Otherwise you will definitely brick your phone.
---------- Post added at 08:36 AM ---------- Previous post was at 08:21 AM ----------
IMTLD said:
I tried to install it but my phone died. It seems you must not manually wipe system. Also after installing supersu my second Sim didnot work
Click to expand...
Click to collapse
I encountered that as well but it's because of an old supersu version. Use 2.78 SR5.

Related

Installing Official MIUI using TWRP Discussion

Hey Guys, anyone already tried the link below on installing Official MIUI using TWRP?
How to Install Official Rom with TWRP Recovery!
I've been meaning to try Official MIUI for a long time now, and by doing so I ran obstacles along the way either using MIFlash tool or TWRP - nothing works. But I just saw the method I linked above, and could be the missing piece I need to install the rom thru TWRP.
The OP of that tried it with Redmi 3S. So I'm just wondering maybe someone here already made it worked with MI5?
I could update from global dev 6.11.10 to global dev 7.1.19 with miui built in updater . After downloading nougat it rebooted to twrp and installed the rom normally. The only thing is i lost twrp replaced by stock one .
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
selmandeli said:
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
Click to expand...
Click to collapse
recommended is for you to wipe data,system,dalvik and cache to avoid possible force close window pop out when opening an app, however if you are going to one rom to another eg. aosp-miui global-dev or anything in particular i found out that wiping everything (avoid the efs partition of course) is the best choice for peace of mind, one final thought is only do this if you had other means to bring your phone back to life if other recovery method such as the ability to boot into edl mode is working for you and always do a full system backup of your current rom just in case, hope that helps
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Click to expand...
Click to collapse
Currently, I am using MIUI EU rom and TWRP 3.0.2.0 . Ive tried several times of flashing official global MIUI and failed several times. So tried my luck with miflash tool months ago, but still unsuccessfull. And that's the reason I posted the method above, maybe it is the thing that I am missing.
But, it still continues to puzzle me why others , and even you, can successfully install official MIUI thru TWRP. weird.
can't find the line they talk about in that script. Did anyone managed to install miui trough TWRP on the Mi5?

Flashing chinese Mi9 issues and getting stuck in bootloop

Hi all,
So over the last day I have decided to install twrp and flash a new rom on my Chinese Mi9. Previously I have locked the bootdoader and installed the global rom. I have adb set up correctly and all relevant PC drivers.
So this is what I did and the problems I encountered. Hoping I can get some feedback as to what may have happened.
1 - Installed TWRP (mauronofrio) then it would get stuck on splash screen. Was told to install TWRP (LR.Team/wzsx150) which I did and it worked. I formatted and wiped my drive to get rid of encryption.
2 - I flashed EU rom (after editing script) using TWRP (wzsx150) then after install it would get stuck in bootloop.
3 - I installed TWRP (mauro) then installed EU rom and success, everything worked well. But I found with this EU rom, most of my apps would not install from play store or my Mi restore would not work, there were apps everywhere. Also EU rom was very buggy flashed it again and still the same issues so decided to go back to global rom. Too many apps would crash for no reason and even clearing cahce/data in app settings would not fix it.
4 - I flashed global rom on TWRP (mauro) and installed fine. But when restarted phone it got stuck in bootloop and couldn't get out of there. Had to use Miflash to flash the rom and start from scratch. I now lost TWRP and got Mi recovery back because of this.
5 - I flashed TWRP (mauro) again and tried global rom once again, flashed magisk etc and once installed rom, the thing got stuck in bootloop again.
6 - I now have flashed TWRP (wzsc150) and have installed global rom and it is installing and restoring fine. Once global rom has installed I have lost TWRP. I am also stuck in bootloop and can't get out.
So basically no TWRP works on my phone.
I have managed to flash phone back to original condition with the global rom. On a positive it still works and the storage is unencrypted.
Does anyone have any ideas or suggestions why my Chinese Mi9 doesn't like TWRP (mauro) and it always gets stuck in bootloop. I just want root access on my phone and google pay to work with unlocked bootloader.
Thank you
This seems to be the theme with 8GB version? I have this version too and makes me worried. I still have about 5 days till unlock insha Allah
These TWRP for Mi 9 are quite beta (no working decryption, no proper backup and restore for example).
If you want to have it, you must use custom rom like EU one.
Stock rom auto re-flashs Mi recovery, period.
BTW, I don't find any unbearable bug the EU rom (most of guys here also have no problem with it), just reinstall the app, backup program such as Titanium backup may introduce a lot of errors...
Sent from my MI 9 using Tapatalk
The apps were fresh installation from Google restore. Even when I deleted them and installed again they still crashed. Gmail, Waze and even checking software version in settings all made it crashed.
So now if I were to install twrp and euro rom again, it shouldn't delete my user data as I no longer need to unencrypt my storage right? Will euro rom just overwrite global rom and keep all my data
ted presley said:
These TWRP for Mi 9 are quite beta (no working decryption, no proper backup and restore for example).
If you want to have it, you must use custom rom like EU one.
Stock rom auto re-flashs Mi recovery, period.
BTW, I don't find any unbearable bug the EU rom (most of guys here also have no problem with it), just reinstall the app, backup program such as Titanium backup may introduce a lot of errors...
Click to expand...
Click to collapse
Do you think when I installed this rom I never did a wipe and all my apps were there on start up. Do you think this might be a cause of certain apps crashing?
Rommco05 said:
...for example I have EEA variant and lastly using Global Dev rom. I still geting regulary updates even when I have TWRP (mauronofrio) and root. Only before every update I need flash stock boot and recovery. Then update phone and then flash back TWRP and Magisk. All the time working my old Magisk + Xposed (Ed) modules working without reinstalling them. Little out of topic here but just wanted to say
Click to expand...
Click to collapse
So with a custom rom like EU rom, everytime there is an update do you have to flash back twrp etc? Do the updates work OTA?
Rommco05 said:
I was talking about official Global Developer rom. To answer your questions. With EU you always need reflash Magisk for sure, if also twrp I don't remember. Yes EU have OTA updates but only full packages and need be flashed over twrp so all bloadware is back.
Click to expand...
Click to collapse
But when you flash back, you don't wipe the cache/data and lose all your stuff do you?
Ok, managed to flash to EU rom with no problems. Works great. Will updating with the updater delete my stuff?
perryano said:
Ok, managed to flash to EU rom with no problems. Works great. Will updating with the updater delete my stuff?
Click to expand...
Click to collapse
It won't.
Sent from my MI 9 using Tapatalk
ted presley said:
It won't.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
Thank you for all your help with this Ted. It has helped a lot.
So I did the OTA update this morning successfully, but noticed before doing the flash in TWRP, there was a message saying it had to do it that way due to my device been encrypted. That's funny because I have formatted then wiped the drive before installing the rom. Is this a true message?
Always do a full wipe when flashing to a different variant of miui since current twrp has issues on decryption. I also had tons of problems from just resetting only without wiping data. For example flashing to eu from china stable everything worked from just doing factory reset. But google play cannot download any app that has an obb attached for some reason. Most likely problems with file encryption so i did a full wipe now everything works properly.
I'm not able to make TWRP work, its successfully install on terminal and when I reboot and hot volume Up key it bringing me to FASTBOOT mode, and if I do restart system, it and then hold Volume Up key, its again the stock Recovery.
My device is Chinese 8GiB 128GiB. any help will be appreciated. I want to install Xiaomi.eu rom as my current stock Chinese rom with google app giving me horrible battery life, standby battery drain is too bad.
QuakeString said:
I'm not able to make TWRP work, its successfully install on terminal and when I reboot and hot volume Up key it bringing me to FASTBOOT mode, and if I do restart system, it and then hold Volume Up key, its again the stock Recovery.
My device is Chinese 8GiB 128GiB. any help will be appreciated. I want to install Xiaomi.eu rom as my current stock Chinese rom with google app giving me horrible battery life, standby battery drain is too bad.
Click to expand...
Click to collapse
You need to do it quickly.
After successfully installed TWRP in fastboot, hold power button to power off (it will restart instead of completely off), when the screen gone black, very quickly hold the volume up button, hold it until you see the twrp screen.
If you are not quick enough, the phone will boot up and stock recovery will be automatically intstall back, you have to start over: install twrp again.
Sent from my MI 9 using Tapatalk

stuck on "MI"

I'm on twrp and I can't install any aosp rom anymore. format "yes", install fw 0.9.0. start with the flash seems to be all right, reboot system and get stuck on MI and nothing happens, try again with another rom and it is the same. I returned to the initial state with XiaomiFlash, I install twrp, I redo all the procedures and start again as before. any idea about it?
if i install a rom xiaomi.eu with twrp the phone works, if i install a rom always with different twrp inside it does not install anything. It had never happened to me, the problem appeared after I tried xiaomi.eu 12 how do you suggest me to proceed?
baggino said:
I'm on twrp and I can't install any aosp rom anymore.
Click to expand...
Click to collapse
Unfortunately you're not very clear with what you did. So I only can assume that you probably didn't flash vbmeta.
Cheers
Toscha
thanks tosca, I don't know how but I had used the wrong firmware ..., now all solved

Question Root Mi 11 Ultra

Want to confirm before proceeding, I find this instruction.
How to Root Xiaomi Mi 11 Ultra and Unlock Bootloader
Want to root Xiaomi Mi 11 Ultra with Magisk? Here's how to root Mi 11 Ultra along with a guide to unlock bootloader.
www.ytechb.com
I've already unlocked the bootloader, want to make sure it is safe to do so (won't brick etc)
bump, anybody successfully rooted the phone?
linnil said:
Want to confirm before proceeding, I find this instruction.
How to Root Xiaomi Mi 11 Ultra and Unlock Bootloader
Want to root Xiaomi Mi 11 Ultra with Magisk? Here's how to root Mi 11 Ultra along with a guide to unlock bootloader.
www.ytechb.com
I've already unlocked the bootloader, want to make sure it is safe to do so (won't brick etc)
Click to expand...
Click to collapse
You need to patch to boot image a and boot image b
As descriped here. This worked on my MI11
https://www.getdroidtips.com/root-xiaomi-mi-11/
linnil said:
bump, anybody successfully rooted the phone?
Click to expand...
Click to collapse
Yes. I patched my boot.img with magisk, then flashed it using "fastboot flash boot_ab magisk_patched(boot.img file name).omg"
Caveat: I bricked my device like many others after unlocking the bootloader and flashing xiaomi.eu ROM. I had to have a authorized EDL account holder flash a factory ROM (in my case I had a China variant flashed with the Global ROM), after which I flashed xiaomi.eu latest stable ROM and then rooted it.
does google pay still work after root?
xreactx said:
Caveat: I bricked my device like many others after unlocking the bootloader and flashing xiaomi.eu ROM. I had to have a authorized EDL account holder flash a factory ROM (in my case I had a China variant flashed with the Global ROM), after which I flashed xiaomi.eu latest stable ROM and then rooted it.
Click to expand...
Click to collapse
I still don't get, how you all bricked your phones? I was able to unlock (granted, after 7 days) successfully and update CN with EU-ROM... There's thread for it in this forum.
[ROM][MIUI][star/mars] Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra
How to install Xiaomi.eu ROM for Xiaomi MI 11 Pro / Ultra We will release fastboot ROM versions until TWRP for star/mars is released TWRP RELEASED Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on...
forum.xda-developers.com
SanHelios said:
I still don't get, how you all bricked your phones? I was able to unlock (granted, after 7 days) successfully and update CN with EU-ROM...
Click to expand...
Click to collapse
Seems it was an issue with setting the active slot in the installation script. Solution is described here and since then it looks as if no more bricks occur
s3axel said:
Seems it was an issue with setting the active slot in the installation script. Solution is described here and since then it looks as if no more bricks occur
Click to expand...
Click to collapse
Oh thanks, mate. I missed that one..
Now back to issue, does it work, rooting the device the way it is descibred on that page?
SanHelios said:
Oh thanks, mate. I missed that one..
Now back to issue, does it work, rooting the device the way it is descibred on that page?
Click to expand...
Click to collapse
My pleasure
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.
For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
s3axel said:
My pleasure
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.
For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
Click to expand...
Click to collapse
well, i just rooted it according to the site's instructions.. it booted up, BUT the Safety-Net-Check was negative... Did i miss something?
you n
SanHelios said:
well, i just rooted it according to the site's instructions.. it booted up, BUT the Safety-Net-Check was negative... Did i miss something?
Click to expand...
Click to collapse
you need to hide Magisk Manager and also Magisk hide Google Play, Play services and Google Services Framework
s3axel said:
My pleasure
And yes, I rooted my device this way although I took the "fastboot flash boot_ab" approach instead of the separate flashing of a and b.
For updating the ROM I took the boot image before installing, patched it with Magisk, copied it back to the images installation folder and let the update script do its magic - thus I got instant-root for the update...
Click to expand...
Click to collapse
I flashed it separately on the second attempt for 12.5.3. The first time I tried flashing the patched boot.img I was greeted with an error.
Hi! I have the latest xiaomi eu weekly installed (21.6.23) as well as unofficial twrp.
I would like to root the phone with magisk, but I don't understand a few things.
Magisk manager require patching the boot.img file from the zip firmware.
I can not just simply install magisk zip file in twrp to root mi11 ultra?
If not, I understand that I have to patch the boot.img- but do I have to do it every time I want to install update of the latest xiaomi.eu firmware?
The second question is about data.
Am I loosing the data by rooting the device by this method?
EDIT:
Ok, I managed. So those are the steps that I did:
I unpacked the boot.img from the xiaomi.eu firmware in my phone. Then I patched the file, and copy this file to the adb installation folder of my pc.
Later it's easy- usb debugging needs to be active in developer options, then connect your phone by the cable to your pc, accept usb debugging in your phone, start CMD in the adb folder in your pc and write the command:
fastboot flash boot_ab nameofthefilewhatmagiskgenerated.img
then
fastboot reboot
And done, root works. Data are untouched.
I did it easier, boot into twrp and flash magisk.zip done
Also I'm on official EEA firmware, with original stock recovery, so doesn't matter what rom you use. On xiaomi EU you don't even need adb because you already have twrp injected
Is there anything to worry about when you update the phone while having root access?
Is the following order right?
1) update Rom over twrp and delete dalvik&cache
2)flash magisk.zip again
3)boot into system
Right ?
I have the latest EU Rom 12.5.7...
Just take this bat with decrypted Star twrp 3.5.1
unzip and klick Install-Star.bat
fastboot boot star.img are the commands in there
xNAPx said:
I did it easier, boot into twrp and flash magisk.zip done
Click to expand...
Click to collapse
how did you get twrp on your mi 11??? I cannot find a working method. I have Global ver
ottjoshua said:
how did you get twrp on your mi 11??? I cannot find a working method. I have Global ver
Click to expand...
Click to collapse

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

Categories

Resources