ZE520KL how to inatall Magisk and problem with updates - Asus ZenFone 3 Questions & Answers

Hi all
I have ze520kl updated to oreo via ota update. Then I unlocked bootloader with official asus app.Now I want to know how to install Magisk without Twrp recovery. And what about future updates of fw? How to install it on my phone when I will have unlocked bootloader with official app, stock recovery and rooted with Magisk?

ktl20 said:
Hi all
I have ze520kl updated to oreo via ota update. Then I unlocked bootloader with official asus app.Now I want to know how to install Magisk without Twrp recovery. And what about future updates of fw? How to install it on my phone when I will have unlocked bootloader with official app, stock recovery and rooted with Magisk?
Click to expand...
Click to collapse
In order to root your device, you need to flash TWRP .
Future ASUS firmware will be posted on ASUS website & you need to install the new update via STOCK RECOVERY

ZenFone_3 said:
In order to root your device, you need to flash TWRP .
Future ASUS firmware will be posted on ASUS website & you need to install the new update via STOCK RECOVERY
Click to expand...
Click to collapse
So when I flash Twrp recovery to root my phone when The update release i have to flash stock recovery to update? What about magisk manager option to patch boot.img and flash it with fastboot? Then I dont need twrp? Am I right?

ktl20 said:
So when I flash Twrp recovery to root my phone when The update release i have to flash stock recovery to update? What about magisk manager option to patch boot.img and flash it with fastboot? Then I dont need twrp? Am I right?
Click to expand...
Click to collapse
You need stock bootloader to install OTA updates [RECOMMENDED]
(I found a thread to flash OTA's using TWRP by flashing no-verity but I am not sure that it will work on TWRP 3.2.1)
I am not really sure about the Magisk Manager (I'm still new to Magisk)

ktl20 said:
So when I flash Twrp recovery to root my phone when The update release i have to flash stock recovery to update? What about magisk manager option to patch boot.img and flash it with fastboot? Then I dont need twrp? Am I right?
Click to expand...
Click to collapse
When the new update released just flash it via twrp and reflash magisk, anything will okay. And the option patch boot.img it really not work since the oreo rom, you will get error while patching boot and installing module magisk.

Which unlock tool did you use?
The nougat one unlocked oreo too? Great!!!!

This weekend, I try Oreo stock with Magisk, and Titanium Backup can't restore apps+data. I thinking Magisk issue and I return to LOS14 because I need my phone with my data.

[email protected] said:
Which unlock tool did you use?
The nougat one unlocked oreo too? Great!!!!
Click to expand...
Click to collapse
I used tool for nougat from Asus website. So what is The best way for root this phone and make future updates?
I would like to finally know how it is with these updates. Unlocked the bootloader with the official application I would like to be able to upload updates. If I download TWRP and root my phone, I will be able to upload updates from Asus (the whole software file). Will the phone detect this file and update the system as it used to do? Will I have to upload it via TWRP? If by TWRP is how to do it step by step? dm-verity file needed? Is it possible to root my phone without uploading TWRP? Patching the boot.img oreo file with the Magisk manager does not work. Or give up magisk and upload supersu? Could anyone write instructions on how to proceed to root and upload system updates as they will be released by the manufacturer in the future? There are no step by step solution on this forum that can help me finally understand my problem and doubts

ktl20 said:
I used tool for nougat from Asus website. So what is The best way for root this phone and make future updates?
I would like to finally know how it is with these updates. Unlocked the bootloader with the official application I would like to be able to upload updates. If I download TWRP and root my phone, I will be able to upload updates from Asus (the whole software file). Will the phone detect this file and update the system as it used to do? Will I have to upload it via TWRP? If by TWRP is how to do it step by step? dm-verity file needed? Is it possible to root my phone without uploading TWRP? Patching the boot.img oreo file with the Magisk manager does not work. Or give up magisk and upload supersu? Could anyone write instructions on how to proceed to root and upload system updates as they will be released by the manufacturer in the future? There are no step by step solution on this forum that can help me finally understand my problem and doubts
Click to expand...
Click to collapse
As you officially unlocked the BL, you will not get the ota notification in the future but you can download the full firmware zip from asus website and flash it normally ( you should be on the full stock recovery and boot to flash the ota or the firmware zip and remove magisk before flashing then re-flash it again after the update ). When you rooted your phone and don't have the stock recovery and boot images needed for flashing the updates, you can flash the RAW firmware and you will getback to full stock again without losing your data.

Eng.Raman said:
As you officially unlocked the BL, you will not get the ota notification in the future but you can download the full firmware zip from asus website and flash it normally ( you should be on the full stock recovery and boot to flash the ota or the firmware zip and remove magisk before flashing then re-flash it again after the update ). When you rooted your phone and don't have the stock recovery and boot images needed for flashing the updates, you can flash the RAW firmware and you will getback to full stock again without losing your data.
Click to expand...
Click to collapse
so one person says that I can install updates via twrp and then magisk or no-verity zip and the second one says that I must have stock fw in order to update .... so how exactly is that?
Can i flash updates from asus website for e.g UL-ASUS_Z017D_1-WW-15.0410.1801.40-user with TWRP then flash magisk? or no-verity? to boot my device normally and everything working?

ktl20 said:
so one person says that I can install updates via twrp and then magisk or no-verity zip and the second one says that I must have stock fw in order to update .... so how exactly is that?
Can i flash updates from asus website for e.g UL-ASUS_Z017D_1-WW-15.0410.1801.40-user with TWRP then flash magisk? or no-verity? to boot my device normally and everything working?
Click to expand...
Click to collapse
No you can't and you don't need the no-verity zip after magisk 15.4 released.

@Eng.Raman @ktl20
Eng.Raman said:
No you can't and you don't need the no-verity zip after magisk 15.4 released.
Click to expand...
Click to collapse
if you want to use stock recovery, you don't need magisk or the no-verity file. If you want to use twrp, because it works for the 100th time, you will need either.
Ktl20, you will not brick your phone trying either method, so why don't you experiment and find out for yourself, that's the best way to learn.

wang1chung said:
@Eng.Raman
if you want to use stock recovery, you don't need magisk or the no-verity file. If you want to use twrp, because it works for the 100th time, you will need either.
Click to expand...
Click to collapse
I mean when updating ota via stock recovery then root with magisk we don't need to flash the no-verity zip after magisk 15.4 released.

Eng.Raman said:
I mean when updating ota via stock recovery then root with magisk we don't need to flash the no-verity zip after magisk 15.4 released.
Click to expand...
Click to collapse
my apologies, I misunderstood

ktl20 said:
so one person says that I can install updates via twrp and then magisk or no-verity zip and the second one says that I must have stock fw in order to update .... so how exactly is that?
Can i flash updates from asus website for e.g UL-ASUS_Z017D_1-WW-15.0410.1801.40-user with TWRP then flash magisk? or no-verity? to boot my device normally and everything working?
Click to expand...
Click to collapse
Magisk only, no-verity file is not work. You can install the updates through twrp 3.1.1 and then flash magisk.

[email protected]@ said:
Magisk only, no-verity file is not work. You can install the updates through twrp 3.1.1 and then flash magisk.
Click to expand...
Click to collapse
twrp-3.1.1 is not compatible with oreo and installing ota / firmware zips via twrp is NOT recommended and NOT the safest way.

Eng.Raman said:
twrp-3.1.1 is not compatible with oreo and installing ota / firmware zips via twrp is NOT recommended and NOT the safest way.
Click to expand...
Click to collapse
Have you tried that yet. I have done it too many time to know exact it would be. And i agree with your opinion that flash raw file is the safest way but my way is not too bad to make it trouble.

ktl20 said:
Hi all
I have ze520kl updated to oreo via ota update. Then I unlocked bootloader with official asus app.Now I want to know how to install Magisk without Twrp recovery. And what about future updates of fw? How to install it on my phone when I will have unlocked bootloader with official app, stock recovery and rooted with Magisk?
Click to expand...
Click to collapse
How did u unlocked via official app please help me

Ive just clicked The app icon and it did it.

[email protected] said:
How did u unlocked via official app please help me
Click to expand...
Click to collapse
Please use unofficial unlock method (retains warranty & you will get OTAs)
https://forum.xda-developers.com/zenfone-3/how-to/updated-unlock-relock-bootloader-t3749456

Related

How to get OTA updates after rooting my device?

I own the 6GB Ram version of the phone and wants to root it so as to use Titanium backup to restore all the contents of my previous phone.
But the Problem is that we are still going to get some big OTA updates regarding camera and maybe more bug fixes.
I know the general procedure for rooting the device i.e. first unlock the bootloader then install a custom recovery then root.
I just wanted to ask if I just install back the stock recovery after rooting the device then will I get the Ota updates?
And I am sorry if any similar question has already been asked, I searched but didn't find any. Thanks
nitish.4you said:
I just wanted to ask if I just install back the stock recovery after rooting the device then will I get the Ota updates?
Click to expand...
Click to collapse
im using twrp and magisk for root. i still get OTA updates. but only the full updates, the 1,5 gb size
after that i need to flash twrp again and then install magisk again too.
but no data lost or anything so if you can live with that, its no biggy.
Hastaloego said:
im using twrp and magisk for root. i still get OTA updates. but only the full updates, the 1,5 gb size
after that i need to flash twrp again and then install magisk again too.
but no data lost or anything so if you can live with that, its no biggy.
Click to expand...
Click to collapse
Can you throw some more light on this.I just want the latest updates. Download size etc doesn't matter.
Can you tell me the procedure what you do to retain rooted access and still get latest updates.? Thanks
nitish.4you said:
Can you throw some more light on this.I just want the latest updates. Download size etc doesn't matter.
Can you tell me the procedure what you do to retain rooted access and still get latest updates.? Thanks
Click to expand...
Click to collapse
i assume you know how to get root ? unlock bootloader, flash twrp, install magisk or supersu ?
well from there its just the same.
getting ota updates see attachment.
after the update you are back to stock recovery without data lost.
so just flash twrp again and install root again, thats all.
nitish.4you said:
Can you throw some more light on this.I just want the latest updates. Download size etc doesn't matter.
Can you tell me the procedure what you do to retain rooted access and still get latest updates.? Thanks
Click to expand...
Click to collapse
1. Unlock Bootloader and Flash TWRP
2. Flash and Download APK Magisk 13.3 (Root + Pass SafetyNet)
3. If there is a new update go to OnePlus 5 Downloads
4. Boot into TWRP and Flash the new update.
5. Everytime you flash a new update you must also flash Magisk Root.
6. Done
Should we flash twrp recovery and root zip right away after flashing full ota package??
PrakashGD said:
Should we flash twrp recovery and root zip right away after flashing full ota package??
Click to expand...
Click to collapse
You don't have to flash twrp recovery again.
You can flash a root zip right after flashing the full OTA package

ZE520kl OTA upgrade doesn't work

Hi,
I've downgraded my phone ZE520KL couple months ago but I've forgotten that VOLTE is only available on 7.0...
I've recieved the OTA notification, downloaded the package on the phone, but when it reboots it is going on TWRP & then if I'm rebooting it doesn't continue the upgrade process.
What am I missing? (on my previous phones this wasn't so tricky...) Should I use the Install method directly from TWRP? If Yes on which zip? Is it possible to find the one that I've downloaded directly with my phone?
bibile said:
Hi,
I've downgraded my phone ZE520KL couple months ago but I've forgotten that VOLTE is only available on 7.0...
I've recieved the OTA notification, downloaded the package on the phone, but when it reboots it is going on TWRP & then if I'm rebooting it doesn't continue the upgrade process.
What am I missing? (on my previous phones this wasn't so tricky...) Should I use the Install method directly from TWRP? If Yes on which zip? Is it possible to find the one that I've downloaded directly with my phone?
Click to expand...
Click to collapse
Same like me before. Have you rooted your phone yet? if yes then try this, it work for me though (Backup your phone is recommended)
1. Download busybox, supersu and no-verity file
2. Using flashfire app, choose flash zip or ota option
3. Add ota 'WW-ZE520Kl-.....'
4. Add firmware 'UL-ASUS-....'
5. Remove tickmark from 'Inject supersu'
And flash, it will reboot but do not boot to system. You must boot to twrp, flash no-verity file, busybox and supersu or your phone will not boot. Then reboot, done.
If this method is helpful, do reply to me
Btw, sorry for my poor english.
[email protected]@ said:
Same like me before. Have you rooted your phone yet? if yes then try this, it work for me though (Backup your phone is recommended)
1. Download busybox, supersu and no-verity file
2. Using flashfire app, choose flash zip or ota option
3. Add ota 'WW-ZE520Kl-.....'
4. Add firmware 'UL-ASUS-....'
5. Remove tickmark from 'Inject supersu'
And flash, it will reboot but do not boot to system. You must boot to twrp, flash no-verity file, busybox and supersu or your phone will not boot. Then reboot, done.
If this method is helpful, do reply to me
Btw, sorry for my poor english.
Click to expand...
Click to collapse
Thanks, works wonderfully! Flashfire flashed the new OTAs successfully but the phone didn't then boot (or it bootlooped). A quick Google search led me to your response and the dm-verity file fixed the boot!
I also didn't flash Busybox in case you needed to know and before flashing the OTAs I checked the "Automount" and "Mount systeam as R/W" in Flashfire otherwise the app would just get stuck in a blank screen.
EDIT: WiFI isn't working, tried already deleting the files in /data/misc/wifi, /persist and /data/misc/dhcp as suggested in various threads but still nothing. Anyone know how to fix it before I attempt to do a full backup and wipe?
vEEGAZ said:
Thanks, works wonderfully! Flashfire flashed the new OTAs successfully but the phone didn't then boot (or it bootlooped). A quick Google search led me to your response and the dm-verity file fixed the boot!
I also didn't flash Busybox in case you needed to know and before flashing the OTAs I checked the "Automount" and "Mount systeam as R/W" in Flashfire otherwise the app would just get stuck in a blank screen.
EDIT: WiFI isn't working, tried already deleting the files in /data/misc/wifi, /persist and /data/misc/dhcp as suggested in various threads but still nothing. Anyone know how to fix it before I attempt to do a full backup and wipe?
Click to expand...
Click to collapse
Deleting files in /data/misc is not helped. Try this:
1. Check your selinux permissive or enforcing. If permissive, you should re-root your phone. Remember to flash busybox too or it will may some crash. Still not working follow step 2.
2. Re-flash the ROM using twrp. No data will be lost. Don't forget to re-root or it will not boot.
3. Try the lastest fw .68 or .75 though someone told that the .28 ota file had issue on wifi.
[email protected]@ said:
Deleting files in /data/misc is not helped. Try this:
1. Check your selinux permissive or enforcing. If permissive, you should re-root your phone. Remember to flash busybox too or it will may some crash. Still not working follow step 2.
2. Re-flash the ROM using twrp. No data will be lost. Don't forget to re-root or it will not boot.
3. Try the lastest fw .68 or .75 though someone told that the .28 ota file had issue on wifi.
Click to expand...
Click to collapse
Reflashing through TWRP worked Although I did it after backing up all the apps and did a factory reset which didn't even fix the wi-fi problem. But then Flashfire is useless if TWRP is capable of flashing OTAs right?
vEEGAZ said:
Reflashing through TWRP worked Although I did it after backing up all the apps and did a factory reset which didn't even fix the wi-fi problem. But then Flashfire is useless if TWRP is capable of flashing OTAs right?
Click to expand...
Click to collapse
Not really. Since OTA file can't flash through twrp. It really annoying for someone (like me ), so for the easiest way is just flash it using Flashfire, no need to use computer to flash stock recovery .
@vEEGAZ
yep, that's what I've been saying for months. I've never used anything but TWRP to flash my phone. I've downgraded, gone custom and back to stock many times.
@[email protected]@
I flash OTA's through TWRP every time there's an update.
wang1chung said:
@vEEGAZ
yep, that's what I've been saying for months. I've never used anything but TWRP to flash my phone. I've downgraded, gone custom and back to stock many times.
@[email protected]@
I flash OTA's through TWRP everything there's an update.
Click to expand...
Click to collapse
When my phone still in 6.0.1, flashed OTA's throgh twrp it said 'not correct phone...' but after upgraded 7.0 it succeeded although i don't need it anymore.
[email protected]@ said:
When my phone still in 6.0.1, flashed OTA's throgh twrp it said 'not correct phone...' but after upgraded 7.0 it succeeded although i don't need it anymore.
Click to expand...
Click to collapse
edit your updater-script and it'll flash no problem.
[email protected]@ said:
When my phone still in 6.0.1, flashed OTA's throgh twrp it said 'not correct phone...' but after upgraded 7.0 it succeeded although i don't need it anymore.
Click to expand...
Click to collapse
Yeah that's what I encountered aswell back 2-3 years ago, I remember I couldn't flash any OTAs via TWRP but apparently now you can. That's why I also used Flashfire in the first place but after running out of all options for the wi-fi problem I decided to give TWRP a try et voilà, it worked
wang1chung said:
edit your updater-script and it'll flash no problem.
Click to expand...
Click to collapse
I've tried that and still not working.
@[email protected]@
I JUST did it....on 1711.75 now. There was no recovery partition update either so I didn't have to reflash TWRP after :good:
I did have a bootloop issue after but fixed that by flashing the no-verity file. I'm not sure if that's related to having magisk installed though.
wang1chung said:
@[email protected]@
I JUST did it....on 1711.75 now. There was no recovery partition update either so I didn't have to reflash TWRP after :good:
I did have a bootloop issue after but fixed that by flashing the no-verity file. I'm not sure if that's related to having magisk installed though.
Click to expand...
Click to collapse
1. After reflashing rom through twrp, i lost my twrp. Oh, but when i use Flasfire, it isn't lost.
2. Not sure but after flashing ROM your boot will change to normal so it may not related to magisk or supersu. Maybe it beacause of the twrp, i've tried reflash stock recovery once and i can updated it without flash no-verity file though i've installed magisk.
[email protected]@ said:
1. After reflashing rom through twrp, i lost my twrp. Oh, but when i use Flasfire, it isn't lost.
2. Not sure but after flashing ROM your boot will change to normal so it may not related to magisk or supersu. Maybe it beacause of the twrp, i've tried reflash stock recovery once and i can updated it without flash no-verity file though i've installed magisk.
Click to expand...
Click to collapse
1. You will only lose TWRP if there is a recovery partition update in the stock firmware, yes, but that doesn't happen with every update. I think I read of a way to block it from updating the recovery partition but can't find the article right now. If flashfire works, use it, I just like TWRP for the other features like making and restoring nandroid backups.
2. I dirty flashed the update again through TWRP, verified the bootloop issue and then installed magisk (through TWRP) and it resolved the bootloop issue. No-verify file not required.
wang1chung said:
1. You will only lose TWRP if there is a recovery partition update in the stock firmware, yes, but that doesn't happen with every update. I think I read of a way to block it from updating the recovery partition but can't find the article right now. If flashfire works, use it, I just like TWRP for the other features like making and restoring nandroid backups.
2. I dirty flashed the update again through TWRP, verified the bootloop issue and then installed magisk (through TWRP) and it resolved the bootloop issue. No-verify file not required.
Click to expand...
Click to collapse
1.Ok, i got it.
2. The way using TWRP is keep the root ( root or not boot) and stock recovery is contrary ( can't root but will boot) or just flash custom kernel through twrp (not root required).
simple question :
- you are talking about OTA & Firmware...
I've downloaded again from asus website Version WW-V14.2020.1711.75 (I assume it is the latest firmware). Are you simply giving the example of an OTA that is released post the firmware version I have to install to have the 7.0 base?
Or is it anything that I'm missing...
From your explanations I should only :
- install flashfire
- flash the latest firmware
- boot into TWRP & flash no verity
- reboot the system
Right?
bibile said:
simple question :
- you are talking about OTA & Firmware...
I've downloaded again from asus website Version WW-V14.2020.1711.75 (I assume it is the latest firmware). Are you simply giving the example of an OTA that is released post the firmware version I have to install to have the 7.0 base?
Or is it anything that I'm missing...
From your explanations I should only :
- install flashfire
- flash the latest firmware
- boot into TWRP & flash no verity
- reboot the system
Right?
Click to expand...
Click to collapse
Yep, you can also flash the latest .zip via TWRP instead of using Flashfire, it's 100% working for me. Just REMEMBER to flash the no-verity file otherwise you'll end up in a bootloop.
I have newest oreo fw from asus website. Ive unlocked bootloader with official app. Now i want WTRP and root with magisk. I want to know how to flash updates to get all wroking?
1. Flash TWRP via fastboot?
2. Flash Magisk via TWRP?
3. When update will release i must flash whole fw from asus website with TWRP and then no-verity file to boot?
4. Or can i use flashfire app to flash fw from asus website and then no-verity zip?
What is the best solution to have updated system without use PC? Step by step guide will be great THX
Im confuse.
Im using 1711.75 with magisk 15.3 and twrp 3.2.1.0
I have the full firmware of initial oreo
I just have to install flashfire
Flash the full firmware oreo that i have then rboot to twrp to flash no verify zip?
ktl20 said:
I have newest oreo fw from asus website. Ive unlocked bootloader with official app. Now i want WTRP and root with magisk. I want to know how to flash updates to get all wroking?
1. Flash TWRP via fastboot?
2. Flash Magisk via TWRP?
3. When update will release i must flash whole fw from asus website with TWRP and then no-verity file to boot?
4. Or can i use flashfire app to flash fw from asus website and then no-verity zip?
What is the best solution to have updated system without use PC? Step by step guide will be great THX
Click to expand...
Click to collapse
iamROOTX said:
Im confuse.
Im using 1711.75 with magisk 15.3 and twrp 3.2.1.0
I have the full firmware of initial oreo
I just have to install flashfire
Flash the full firmware oreo that i have then rboot to twrp to flash no verify zip?
Click to expand...
Click to collapse
The safest and true way to flash any ota update without any issues by using stock recovery, don't use twrp or flashfire or any other apps.
follow the steps below:
1. When you are rooted and twrp installed, to getback to full stock boot and recovery without wiping data, flash the latest raw image available. For oreo the latest available one for ze520kl is WW_ZE520KL_15.0410.1712.31_M3.10.47.16_Phone-user.raw.zip.
2. Now flash the ota update available normally via stock recovery.
3. Flash oreo support twrp-3.2.1-0 and magisk zip.
4. Done.
I'm periodically upload the latest available ota update for ze520kl in the ze520kl ota update links thread.
Here is the latest one.

Installed TWRP, no access to sdcard

I've got my hands on this phone today. So I went on and unlocked bootloader and installed TWRP (with all in one tool).
But now when I want to root my phone through twrp, i can't access my files. I see the root folders, but when I go to /sdcard there are only a bunch of folder with random letters.
I don't know what's wrong. It is not asking for a password or anything.
Twrp has decryption issues currently. It's mentioned in the thread.
No need to install it yet, just boot to it.
If you're wanting to install magisk, just go into adb sideload in twrp and sideload magisk from your PC.
hartleyshc said:
Twrp has decryption issues currently. It's mentioned in the thread.
No need to install it yet, just boot to it.
If you're wanting to install magisk, just go into adb sideload in twrp and sideload magisk from your PC.
Click to expand...
Click to collapse
Thank you for your quick reply!
Is it bad that it is already flashed permanent? Or do I need to flash original recovery again?
I'll try and sideload it. Haven't done that before.
bokkoman said:
I've got my hands on this phone today. So I went on and unlocked bootloader and installed TWRP (with all in one tool).
But now when I want to root my phone through twrp, i can't access my files. I see the root folders, but when I go to /sdcard there are only a bunch of folder with random letters.
I don't know what's wrong. It is not asking for a password or anything.
Click to expand...
Click to collapse
The current TWRP has decryption issues as its based on the Oreo tree and encryption/decryption works differently on pie.
Here is a post i did so follow it for easy instructions.
Funk Wizard said:
The current TWRP has decryption issues as its based on the Oreo tree and encryption/decryption works differently on pie.
Here is a post i did so follow it for easy instructions.
Click to expand...
Click to collapse
I read in your post that you not recommend to flash twrp, but I already did. How do return to original recovery?
bokkoman said:
I read in your post that you not recommend to flash twrp, but I already did. How do return to original recovery?
Click to expand...
Click to collapse
Nothing to worry about. You can dirty flash the latest full zip from my update thread or just wait for the next OTA as and when it comes flash the full zip that will overwrite the recovery partition to stock. For now TWRP is basically useless so i did not recommend to flash the installer instead just boot in it sideload magisk or kernel if you need to and retain stock recovery.
Feel free to ask anything if you are still in doubt :fingers-crossed:
Funk Wizard said:
Nothing to worry about. You can dirty flash the latest full zip from my update thread or just wait for the next OTA as and when it comes flash the full zip that will overwrite the recovery partition to stock. For now TWRP is basically useless so i did not recommend to flash the installer instead just boot in it sideload magisk or kernel if you need to and retain stock recovery.
Feel free to ask anything if you are still in doubt :fingers-crossed:
Click to expand...
Click to collapse
Thanks for the info! I'll wait for an update.
When that update comes, can i just install it from the settings? Or would i have to manually download it and install it thru TWRP/sideload?
And i guess I lose root after i update so i would have to boot into twrp and install magisk again.
bokkoman said:
Thanks for the info! I'll wait for an update.
When that update comes, can i just install it from the settings? Or would i have to manually download it and install it thru TWRP/sideload?
And i guess I lose root after i update so i would have to boot into twrp and install magisk again.
Click to expand...
Click to collapse
As and when the update comes, just let the system download and install the zip. It will auto download and install the full zip when it detects root/system modifications, just make sure you uninstall/deactivate all mods/magisk modules/ substratum overlays before you update. You can check for easy instruction on the third post of the update thread. I will update the thread as and when the OTA is released.
Also you guessed it right the update will unroot the device so you have to root it again so you can either do the same sideload way or just do it from the magisk manager - uninstall - install ota (do not reboot) - install magisk to second slot - reboot :good:
I will again update the detailed instructions for easy understanding and and when we have the update :good:
Just stay subscribed to the update thread :good:

Rooting with official rom?

Hi fellows
I wanted to root my Mi 9T, but I don't want to flash a custom rom, I just want to have root on the official rom (global stable).
As I understand, the correct procedure is:
-unlock nootloader
-flash twrp
-flash magisk
But I have a couple of doubts about this, in particular about updates:
-If my phone is unlocked and I have root, will I still receive official updates from xiaomi?
-if yes, do they install via twrp? Do they fail installation? Do I loose root/bootloader unlock if I install them on unlocked/rooted phone?
-if no, is there an alternative way to install updates without losing root every time?
In other words, what is the best way to have a rooted phone but with official, up-to-date rom? (I have no problems downloading/installing updates manually, but having to reapply root every time would be annoying)
Master_T said:
Hi fellows
I wanted to root my Mi 9T, but I don't want to flash a custom rom, I just want to have root on the official rom (global stable).
As I understand, the correct procedure is:
-unlock nootloader
-flash twrp
-flash magisk
But I have a couple of doubts about this, in particular about updates:
-If my phone is unlocked and I have root, will I still receive official updates from xiaomi?
-if yes, do they install via twrp? Do they fail installation? Do I loose root/bootloader unlock if I install them on unlocked/rooted phone?
-if no, is there an alternative way to install updates without losing root every time?
In other words, what is the best way to have a rooted phone but with official, up-to-date rom? (I have no problems downloading/installing updates manually, but having to reapply root every time would be annoying)
Click to expand...
Click to collapse
As I know you could receive updates if you unlock your bootloader and flash magisk, I don't have experience with that, I've read that from other brands people do this and still get their updates.
If I'm wrong correct my.
• You will receive the ota but it won't install
• You'll have to install the full rom and reflash Magisk everytime
• Orange Fox recovery can install ota BUT not available for Mi 9T/K20
I'm not sure about Mi 9t (have to wait for bootloader unlock), but it was so on Redmi 3s: I can install OTA updates, it goes through TWRP, but after every update I have to flash Magisk.
It was several years ago, so probably they've changed something
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected ?
Master_T said:
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected
Click to expand...
Click to collapse
Which twrp and magisk do you use?
grinandbearit said:
Which twrp and magisk do you use?
Click to expand...
Click to collapse
First TWRP that came out (LR Team), but that is because it was the only one available at the time, there might be better ones out now, check the TWRP thread for more info.
Magisk, I used the latest stable release.
Master_T said:
Thanks for your replies guys.
I can now confirm (just tested) that to update a rooted mi9t all you have to do is this:
-flash update zip with twrp (you have to download the update zip from somewhere, like mifirm website, the one downloaded by the update tool is encrypted and won't work!)
-flash magisk
-reboot
Very simple! No need to reflash magisk modules, just the magisk base package and everything works as expected
Click to expand...
Click to collapse
I think it is more simple to do the update and reflash magisk instead of searching for the update package manually, isn't it?
Edit: wrong quote
fabsen said:
I think it is more simple to do the update and reflash magisk instead of searching for the update package manually, isn't it?
Click to expand...
Click to collapse
You mean flash the fastboot rom using a computer and then reinstall twrp and magisk?
Seems more convoluted to me, since you still need to download the rom from an external website and additionally you need a pc and you need to reflash twrp every time.... it'll probably work fine, but it seems more complicated to me
Master_T said:
You mean flash the fastboot rom using a computer and then reinstall twrp and magisk?
Seems more convoluted to me, since you still need to download the rom from an external website and additionally you need a pc and you need to reflash twrp every time.... it'll probably work fine, but it seems more complicated to me
Click to expand...
Click to collapse
Nah, I mean you flash the update you get the usual way. And then magisk afterwards. At least I've never lost twrp with OTA updates.
fabsen said:
Nah, I mean you flash the update you get the usual way. And then magisk afterwards. At least I've never lost twrp with OTA updates.
Click to expand...
Click to collapse
You mean the one downloaded through the miui updater? I can't flash that with twrp, it's encrypted. In fact, I can't even open the zip file with file manager, it says the file is corrupted. How do you decrypt/use it?
Few days ago I got OTA update while having magisk root and TWRP installed. It rebooted phone into TWRP and installed itself through TWRP. So it seems Xiaomi can now detect what recovery you are using and instead send you recovery OTA instead? Sadly I lost TWRP and root this way and needed to find newer TWRP (old one didnt boot and caused bootloop). Rom also didnt boot (after flashing new TWRP) until I flashed magisk.
Thank you all, it's nice to find this post before I create a new with the same questions.
I bought a new "Mi 9t", it received the latest OTA update, and it has been unlocked after waiting 170 hours.
MIUI Version: MIUI Global 10.3.11 Stable
Android Version: 9 PKQ1.190302.001
Model Name: M1903F10G
Now I need to root it without flashing twrp, I need to be on the Stock recovery because I don't want to lose the OTA update.
I ran this command :
Code:
C:\adb>fastboot boot recovery.img
Downloading ‘boot.img’ OKAY [ 1.404s]
booting OKAY [ 0.127s]
Finished. Total time: 1.560s
but the device reboot to MI-Recovery 3.0, can someone correct me if I'm wrong? also which twrp version support MIUI Global 10.3.11 Stable?
Matthas said:
Few days ago I got OTA update while having magisk root and TWRP installed. It rebooted phone into TWRP and installed itself through TWRP. So it seems Xiaomi can now detect what recovery you are using and instead send you recovery OTA instead? Sadly I lost TWRP and root this way and needed to find newer TWRP (old one didnt boot and caused bootloop). Rom also didnt boot (after flashing new TWRP) until I flashed magisk.
Click to expand...
Click to collapse
Weird, I tried that (downloading update from the updater app and rebooting to twrp to auto-flash it), but TWRP said update was corrupted. I had to download an unencrypted version from mifirm site to flash it with twrp.
Maybe it's a problem with the version of twrp? Which one are you using? I'm using the one from LR Team
Master_T said:
Weird, I tried that (downloading update from the updater app and rebooting to twrp to auto-flash it), but TWRP said update was corrupted. I had to download an unencrypted version from mifirm site to flash it with twrp.
Maybe it's a problem with the version of twrp? Which one are you using? I'm using the one from LR Team
Click to expand...
Click to collapse
oh I wish I knew After update when I went to flash back old twrp and magisk it resulted in bootloop so I was flashing all twrp I could find just to make them boot and then be able to flash magisk. However name of my file is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" I think its "fixed" chinese one.
Is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" support for MIUI Global 10.3.11 Stable?
Can I boot from it to root Mi 9T without flashing?
akha666 said:
Is "recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150" support for MIUI Global 10.3.11 Stable?
Can I boot from it to root Mi 9T without flashing?
Click to expand...
Click to collapse
Is any expert have an answer to my questions?
Schnedi said:
• You will receive the ota but it won't install
• You'll have to install the full rom and reflash Magisk everytime
• Orange Fox recovery can install ota BUT not available for Mi 9T/K20
Click to expand...
Click to collapse
How do i root global stable rom 10.3.11 without bootlooping? Just rooting and no twarp .

Root for RMX1931 Realme UI Android 10

fastboot flash recovery OrangeFox-R10.1_1.img
boot in twrp
flash OrangeFox-R10.1_1.zip
rebbot in recovery
flash magisk 20.4
reboot recovery
flash vbmeta.img (FOR RECOVERY)
Clean caches
Reboot
fingerprint, no
Files
https://forum.xda-developers.com/realme-x2-pro/development/orangefox-recovery-x2-pro-t4063301
use vbmeta from this post
Magisk
https://github.com/topjohnwu/Magisk/releases/tag/v20.4
hi, any idea to fix fingerprint?
[email protected] said:
hi, any idea to fix fingerprint?
Click to expand...
Click to collapse
We need to wait for Realme to release a fix, just like what happened on color os when fingerprint wasn't working
On C.27 Bootloader Unlock and Root, Fingerprinter works
How to upgrade from Android 9 Color OS 6 rooted and with magisk 20.4 to new C.27? Is there a tutorial? Thank You
minoccio said:
How to upgrade from Android 9 Color OS 6 rooted and with magisk 20.4 to new C.27? Is there a tutorial? Thank You
Click to expand...
Click to collapse
Uninstall Magisk with the .zip from their site. Github here
Instal stock recovery like you did to install custom recovery.
Next, download the C.27 update and run it from the file manager. Phone will reboot and start updating
After update, just do the whole process to root C.27 version like for Android 9.
deviantor said:
Instal stock recovery like you did to install custom recovery.
Uninstall Magisk with the .zip from their site. Github here
Next, download the C.27 update and run it from the file manager. Phone will reboot and start updating
After update, just do the whole process to root C.27 version like for Android 9.
Click to expand...
Click to collapse
So basically if I'm on c27 already, it's okay to use the same root method?
adsubzero said:
So basically if I'm on c27 already, it's okay to use the same root method?
Click to expand...
Click to collapse
Yea. I was on C27 total stock then followed these tips to root and custom recovery. Its all working well so far and fingerprint works.
deviantor said:
Yea. I was on C27 total stock then followed these tips to root and custom recovery. Its all working well so far and fingerprint works.
Click to expand...
Click to collapse
I tried several thins to install Magisk succesfully with no luck.
I received my Global x2 Pro this thursday and i successfully unlocked the bootloader and flashed twrp recovery. But when I flask the magisk 20.4 zip and reboot my device, i get an error saying that my boot / recovery partition is corrupt. I have to install C27 again from twrp and it boots up.
Can anybody help me how to install Magisk succesfully? It's driving me nuts. Also, i cant download the vbmeta.img from the OP. So i tried to extract the vbmeta.img from the c27 image to flash, but also no lucck
Edit: Finally having it working with the Orangefox recovery with the vbmeta.img. I thought that the link in OneDrive wasnt working, but it was my home networks which was blocking OneDrive. Problem solved!
deviantor said:
Uninstall Magisk with the .zip from their site. Github here
Instal stock recovery like you did to install custom recovery.
Next, download the C.27 update and run it from the file manager. Phone will reboot and start updating
After update, just do the whole process to root C.27 version like for Android 9.
Click to expand...
Click to collapse
Isn't it possible to install ota update from twrp? (I use mauronofrio). Is it mandatory to unroot, install C27 and then re-root?
minoccio said:
Isn't it possible to install ota update from twrp? (I use mauronofrio). Is it mandatory to unroot, install C27 and then re-root?
Click to expand...
Click to collapse
It's possible if someone makes a flashable zip, though I dont know of that can be done for every phone. Otherwise you need a stock recovery to install the OTA.
minoccio said:
Isn't it possible to install ota update from twrp? (I use mauronofrio). Is it mandatory to unroot, install C27 and then re-root?
Click to expand...
Click to collapse
Like @adsubzero said. Unless you have a custom ozip file to flash on TWRP, you need to have stock recovery to install a standard ozip.
ogutolopes said:
fastboot flash recovery OrangeFox-R10.1_1.img
boot in twrp
flash OrangeFox-R10.1_1.zip
rebbot in recovery
flash magisk 20.4
reboot recovery
flash vbmeta.img (FOR RECOVERY)
Clean caches
Reboot
fingerprint, no
Click to expand...
Click to collapse
for recovery mean recovery ka option ckick krna hai..vbmeta krty huay
In the backup options I don't see system, only system image. Does anyone else have this issue?

Categories

Resources