Can I flash Magisk on stock ROM? - Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers

I have bought a Xiaomi Mi 9 Lite after using Xiaomi Mi A1. I used stock ROM and never had TWRP installed on my old device. I only used Magisk for root. And I restored boot images every time I needed to perform a system update, and then booted TWRP via Fastboot and re-flashed Magisk.
I would like to do the same with my new Xiaomi Mi 9 Lite. Is that possible? Can I just boot TWRP via Fastboot and flash Magisk while continuing to use stock ROM?
Thanks in advance for your replies.

Filip013 said:
I have bought a Xiaomi Mi 9 Lite after using Xiaomi Mi A1. I used stock ROM and never had TWRP installed on my old device. I only used Magisk for root. And I restored boot images every time I needed to perform a system update, and then booted TWRP via Fastboot and re-flashed Magisk.
I would like to do the same with my new Xiaomi Mi 9 Lite. Is that possible? Can I just boot TWRP via Fastboot and flash Magisk while continuing to use stock ROM?
Thanks in advance for your replies.
Click to expand...
Click to collapse
yes, Im on stock miui11 and have twrp, latest magisk and xposed yahfa

holymoz said:
yes, Im on stock miui11 and have twrp, latest magisk and xposed yahfa
Click to expand...
Click to collapse
Do you still receiving updates? And what about widevine? In Wich level do you have it?

ffpp.2003 said:
Do you still receiving updates? And what about widevine? In Wich level do you have it?
Click to expand...
Click to collapse
I don't know if any updates have arrived since the release of miui11, widevine l1

Related

OTA updates after unlocking bootloader

Hey guys I'd like to know if i can have OTA updates after unlocking bootloader (NO TWRP & ROOT).
live4speed said:
Hey guys I'd like to know if i can have OTA updates after unlocking bootloader (NO TWRP & ROOT).
Click to expand...
Click to collapse
based on other phones i would say yes, but dont quote me on that ^^
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Can anyone confirm this? There's a new OTA update available for mi max 2 but I'm not updating coz I'm waiting for 72 hours to complete so I can unlock bootloader. I'm kinda worried that if I update my device to miui 9.2 I might have problem unlocking my bootloader. So I'm thinking to unlock my bootloader first & then update my device thru OTA update.
I've got them but don't launch the upgrade because, if I do that, it remove my twrp by re-flashing xioami stock recovery.
I've got a global beta rom, bootloader unlocked, twrp installed and rom rooted.
lightman33 said:
I've got them but don't launch the upgrade because, if I do that, it remove my twrp by re-flashing xioami stock recovery.
I've got a global beta rom, bootloader unlocked, twrp installed and rom rooted.
Click to expand...
Click to collapse
oh wow, so even with all that ota updates are possible, good to know
flashing twrp isnt a big deal though, just boot into fastboot, connect to pc and input a command, thats it not like u need hours of work to get it done
would be interesting to know if the rom gets unrooted on update.
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
I received a phone with an unlocked bootloader. It just received V9.0.3.0.NDDMIEI
I don't know if it's just the China model reflashed with the English ROM or what, but it's definitely got an unlocked bootloader and I'm not sure why.
ZHNN said:
I received a phone with an unlocked bootloader. It just received V9.0.3.0.NDDMIEI
I don't know if it's just the China model reflashed with the English ROM or what, but it's definitely got an unlocked bootloader and I'm not sure why.
Click to expand...
Click to collapse
lucky you, no need to unlock BL anymore
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
jbmc83 said:
lucky you, no need to unlock BL anymore
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Click to expand...
Click to collapse
Am I correct in thinking that the update would have reflashed the recovery area and eliminated anything that didn't belong? I put TWRP on it and I'm going to load a stock ROM through TWRP.
I'm wondering whether I've gotten ahead of myself and I should have gone Stock ROM-->TWRP-->Stock ROM with root.
I'm also not sure if the rooted stock ROM will allow me to enable LTE bands just by changing NVRAM settings in QPST. Does anyone know if the bands are blocked in MIUI as well?
I run unlocked boot loader, global stable and Magisk.
Every OTA, I gotta reflash TWRP, and reinstall Magisk, but yeah, I can OTA.
Chisame said:
I run unlocked boot loader, global stable and Magisk.
Every OTA, I gotta reflash TWRP, and reinstall Magisk, but yeah, I can OTA.
Click to expand...
Click to collapse
How do you install OTA? from the updater app in the device OR full Rom in twrp?
I just use the updater app, it reboots, and then proceeds to flash and remove TWRP and Magisk.
The only time that I've used TWRP is to flash Magisk.
Just I want. I only need TWRP to flash Magisk to enable use of Titanium Backup Pro and any adsblocker.
So Flashing TWRP via fastboot, then using TWRP flash Magisk. Use mobile as usually and when i update via OTA, reflash TWRP and Magisk, true?
EDIT: After flashing Magisk, flash stock recovery via fastboot so mobile is ready to OTA update. Right?
Chisame said:
I just use the updater app, it reboots, and then proceeds to flash and remove TWRP and Magisk.
The only time that I've used TWRP is to flash Magisk.
Click to expand...
Click to collapse
Yeah, just choose to download the full rom press reboot and it'll upgrade, then flash TWRP and Magisk again.
Chisame said:
Yeah, just choose to download the full rom press reboot and it'll upgrade, then flash TWRP and Magisk again.
Click to expand...
Click to collapse
so you are saying ota update through updater app is not working?
do i need mi app on pc to update,that too after downloading the full rom for every update?
status: bl UNLOCKED ,root-NO
I dont think so, if you allow replacement of twrp by stock recovery after magisk flashing i think it should be possible install ota using update app. When its done, then reflash twrp and magisk from it.
sirarisma said:
I dont think so, if you allow replacement of twrp by stock recovery after magisk flashing i think it should be possible install ota using update app. When its done, then reflash twrp and magisk from it.
Click to expand...
Click to collapse
It works. unless something is modified in system partition
Right.
reversegear said:
It works. unless something is modified in system partition
Click to expand...
Click to collapse
I have redmi note 11 pro (china) which it's bootloader unlocked and installed global miui rom cause with stock recovery and not rooted so will I receive OTA updates?
And is there anything I should do specifically for this case while updating the phone

Rooting and installing xposed on the new Xiaomi Mi 6x

Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
No idea about Xposed
Here is twrp https://romprovider.com/2018/05/xiaomi-mi-6x-root-twrp/
have a look at https://www.xiaomigeek.com/ - they are always up2date and fast with new ROMs, rootkits and flashtools.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
magisk is do able.
in fact I did root my mi 6x with magisk, just grab the beta version (magisk 16.7), since the phone is a treble device.
as for twrp, you can get it here (you can even d/l the unofficial LOS 15.1 as well) :
https://www.cyanogenmods.org/forums/forum/xiaomi/mi-6x-wayne/
the annoying part is, whenever you're in miui, you need to format data for twrp to be able to read/write the data partition.
I haven't really play with this phone just yet, and yes I didn't install the lazyflasher as well.
but the good news, this device is bootable with GSI
as for exposed, I had no luck with systemless exposed... got bootloop on the MI screen.
but maybe that's because I didn't flash the lazy flasher, or should I learn about exposed on a treble device
Can someone give me mi stock recovery 3.0 for this device?
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
hi i can tell you that in Android8 based miui10 xposed will not work every device
NK600 said:
hi i can tell you that in Android8 based miui10 xposed will not work every device
Click to expand...
Click to collapse
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
coolman7 said:
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
Click to expand...
Click to collapse
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
StannerG said:
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
Click to expand...
Click to collapse
Thanks for reply. Can I install Xposed to MIUI 10?
coolman7 said:
Thanks for reply. Can I install Xposed to MIUI 10?
Click to expand...
Click to collapse
Hi! I'm not use MIUI and cannot answer on this question.
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
yes i can
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
you need some magisk mods
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
Xposed need a DEODEXED rom for working and MIUI is a ODEXED rom so xposed don't work and that's why you got bootloop

How to update without losing TWRP and root?

Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
MagikGab said:
Hello, I have a Mi 9T Pro with 10.3.3, TWRP and Magisk. I received the update to 10.4.0. As stated in the title, how could I update the system without losing the TWRP and root through Magisk? Thank you in advance
Click to expand...
Click to collapse
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Robbo.5000 said:
You can't. The best way to update is to download the 10.4.0 recovery ROM, then flash that in TWRP. This will still overwrite Magisk, so you will need to install that again straight after installing the update. If you don't install Magisk immediately, then booting into system would also restore stock recovery, so it needs to be done before you reboot to system.
Click to expand...
Click to collapse
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
i have the same question too..
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
MagikGab said:
Many thanks! In this way I could at least save the TWRP! Should I have to take some other precautions? Like deactivate all Magisk modules, perform a backup of apps ecc?
Click to expand...
Click to collapse
P12AV33N said:
No, you can simply flash the ROM and right after that, flash Magisk. This way you won't loose twrp or Magisk.
Click to expand...
Click to collapse
I would just add to this that, although this is all that is required, I would still backup things, just in case.
It's always good practice when flashing things to backup what you can, even when it's not needed should things go smoothly. It only takes an absent minded moment of stupidity in TWRP to do some serious damage. As many people, myself included, can vouch for.
Thank you everyone!
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
macanovic88 said:
I've read a lot about this, some say it's better with fastboot rom and Miflash, but twrp method with recovery seems to be easier method.
Can anybody confirm is it necessary to remove compatibility.zip file from flashable zip file before flashing?
Clean flash or dirty should work for 10.3.4.0 update?
I'm using 9T Pro (EU), rooted, stock 10.3.3.0, TWRP 3.3.1-15
Click to expand...
Click to collapse
Flashing a minor update is fine to do as a dirty flash in TWRP.
Doing a major update is 50/50 (going from 10.3.x to 10.4.x as it's s change from Android 9 to 10, or going from 10.x.x to 11.x.x). You may be fine, you may have issues. It might be a better option to try using the 'save data' option in the Mi Flash Tool, which is the same as a dirty flash, but will still update vendor and firmware files, should they have changed between the versions.
You might be guided by what the OTA would do. Occasionally when an OTA provides a major version change, it will perform a clean flash and give you big warnings that this will happen first. If an OTA tells you this will happen, then I would definitely use the Mi Flash Tool and use the 'clean all' option.
As for the compatibility zip, it depends on the TWRP you are using. Just try as is first and if your get an error about the wrong device, then remove it and try again.
Thanks a lot, your answers are very helpful in this thread! ?
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
cgdams said:
I got the OTA update to 10.3.4.0 on my Mi 9T Pro, too, but it wouldn't install via TWRP (mauronofrios version 3.3.1-15). I also tried to flash the full 10.3.4.0 ROM (https://bigota.d.miui.com/V10.3.4.0...EAGlobal_V10.3.4.0.PFKEUXM_964826982c_9.0.zip) with TWRP, but that didn't work either, not even after removing compatibility.zip.
I then changed my TWRP to OrangeFox Recovery 10.0_7 stable (via fastboot) and dirty flashed the full ROM via OrangeFox. That worked flawlessly, it even seems that it will be able to install future OTA updates, but that remains to be seen when the next OTA update arrives.
Click to expand...
Click to collapse
You need to confirm if orangefox is actually ready for OTA by checking in its settings.
Sent from my Redmi K20 Pro using Tapatalk

Help with Magisk

I have the global model of the 9t Pro and I'm currently on the Evolution X rom and is using Twrp version 3.4.0-1. I'm been trying to flash the latest Magisk, but everytime I do it in Twrp, I get stuck in a boot loop. Was wondering if anyone had a fix?
Are you on Android 10 or 11? In A11 you will get stuck in a bootloop. If u really want magisk u can install magisk Canary but safetynet will fail.
Otherwise in A10 u simply flash v20.4 and voila
Yeah, it's was Android 11. Thanks for the info.
BIGPHILL316 said:
I have the global model of the 9t Pro and I'm currently on the Evolution X rom and is using Twrp version 3.4.0-1. I'm been trying to flash the latest Magisk, but everytime I do it in Twrp, I get stuck in a boot loop. Was wondering if anyone had a fix?
Click to expand...
Click to collapse
Today I tried two times to root my device with MIUI 12.0.3.0 with TWRP and Magisk but when I install Magisk my cell boot always in recovery mode, I don't know why
lantuin said:
Today I tried two times to root my device with MIUI 12.0.3.0 with TWRP and Magisk but when I install Magisk my cell boot always in recovery mode, I don't know why
Click to expand...
Click to collapse
Simply flash miui global stable 12.0.2 via mi flash tool. Then flash twrp & magisk 12.4
Enjoy
Sent from my Redmi K20 Pro using Tapatalk
JimzFreebies said:
Simply flash miui global stable 12.0.2 via mi flash tool. Then flash twrp & magisk 12.4
Enjoy
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
I started from miui global stable 12.0.2 but I had this kind of problem. To recover my phone I installed the global stable 12.0.3 and retrying to root with no success
lantuin said:
I started from miui global stable 12.0.2 but I had this kind of problem. To recover my phone I installed the global stable 12.0.3 and retrying to root with no success
Click to expand...
Click to collapse
But i have no issue with 12.0.2
Everything working absolutely fine
Sent from my Redmi K20 Pro using Tapatalk
JimzFreebies said:
But i have no issue with 12.0.2
Everything working absolutely fine
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Probably I'm doing something wrong, I'm curious to know what!

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

Categories

Resources