Do i lost OTA If I install Magisk and TWRP - Xiaomi Mi A1 Questions & Answers

Question is in title: can i root my phone with magisk and install OTA updates normaly just like in Lineage OS?
Thanks.

Bazilli said:
Question is in title: can i root my phone with magisk and install OTA updates normaly just like in Lineage OS?
Thanks.
Click to expand...
Click to collapse
As far as I know, OTA updates are functioning if you use Magisk root method. There is a guide that says the OTA updates are not broken when Magisk root method is used.
Btw, you're not installing TWRP, you are just booting into it, because of non-existent recovery partition on the device

Related

Unable to install OTA updates since root

Yo all,
I've rooted my op5 and installed twrp recovery, and ever since - after downloading OTA update and rebooting, it always boots into TWRP recovery and when i'm rebooting into system i get notificaiton that the update was failed.
i don't recall i had any issues with TWRP and ota updates with my old op3, is this normal?
any suggetions on how to keep my phone rooted and get the automatic updates to work?
Thx:fingers-crossed:
segevngr said:
Yo all,
I've rooted my op5 and installed twrp recovery, and ever since - after downloading OTA update and rebooting, it always boots into TWRP recovery and when i'm rebooting into system i get notificaiton that the update was failed.
i don't recall i had any issues with TWRP and ota updates with my old op3, is this normal?
any suggetions on how to keep my phone rooted and get the automatic updates to work?
Thx:fingers-crossed:
Click to expand...
Click to collapse
That's normal. If you are rooted, you won't be able to install ota, instead you need to install full zip
Yousvel said:
That's normal. If you are rooted, you won't be able to install ota, instead you need to install full zip
Click to expand...
Click to collapse
Too bad
Once I'll flash the update and my root will be gone, will it work? I mean, it's related only to root and not to TWRP?
segevngr said:
Too bad
Once I'll flash the update and my root will be gone, will it work? I mean, it's related only to root and not to TWRP?
Click to expand...
Click to collapse
Just when flashing full zip, flash SuperSU or Magisk before first boot and everything will be fine. If you flash SuperSU or Magisk before booting, you will need loose twrp either.
I'm rooted with Magisk and can do OTA's no problem

Will OTA updates by LG still work with TRWP and Magisk/SU installed?

Dear all,
my question is: will OTA updates by LG still work if a have an BL unlocked, TRWP installed and Magisk installed?
I would like to keep my stock ROM and get the OTA, but I would like to make backups and be able to install software with needs root.
Can you recommend SU or Magisk?
Thanks.
you can recieve OTA but you can't install it , You need a zip update file and flash it with twrp
i use SU i never tested magisk
paabel said:
Dear all,
my question is: will OTA updates by LG still work if a have an BL unlocked, TRWP installed and Magisk installed?
I would like to keep my stock ROM and get the OTA, but I would like to make backups and be able to install software with needs root.
Can you recommend SU or Magisk?
Thanks.
Click to expand...
Click to collapse
With TWRP you cannot install OTA, so in any case you would need to remove it.
Also i don't advise to make OTA on a rooted device, doesn't matter if it's Magisk or SuperSU

ZE520KL how to inatall Magisk and problem with updates

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

BL unlock and Magisk, will OTA updates work?

Hi,
So I'm just step before unlocking Bootloader and flashing Magisk but the question is - will I be able to install OTA updates directly from android without triggering bootloop?
meciu99 said:
Hi,
So I'm just step before unlocking Bootloader and flashing Magisk but the question is - will I be able to install OTA updates directly from android without triggering bootloop?
Click to expand...
Click to collapse
I'm not 100% sure but I think once you obtain root OTAs won't get applied because you would have flashed custom recovery while getting root access.
Sent from my ONEPLUS 6T using XDA-Legacy App
meciu99 said:
Hi,
So I'm just step before unlocking Bootloader and flashing Magisk but the question is - will I be able to install OTA updates directly from android without triggering bootloop?
Click to expand...
Click to collapse
treetolber said:
I'm not 100% sure but I think once you obtain root OTAs won't get applied because you would have flashed custom recovery while getting root access.
Sent from my ONEPLUS 6T using XDA-Legacy App
Click to expand...
Click to collapse
Just answered a similar question here and here
Alternatively follow the update thread for easy instructions :good:
Funk Wizard said:
Just answered a similar question here and here
Alternatively follow the update thread for easy instructions :good:
Click to expand...
Click to collapse
Alright so the full zip will be auto downloaded if there's something modified. Can it detect magisk and replace the boot image as well since it's not a system modification?
Is anyone having issues installing the OTA?
My device saw the update but when I hit install I get "Couldn't update installation problem" I have Magisk installed on the Tmobile oneplus 6T and I've tried to update after removing Magisk but it did not work, please advise.
taxi333 said:
Is anyone having issues installing the OTA?
My device saw the update but when I hit install I get "Couldn't update installation problem" I have Magisk installed on the Tmobile oneplus 6T and I've tried to update after removing Magisk but it did not work, please advise.
Click to expand...
Click to collapse
Flash full ota zip via sideload
taxi333 said:
Is anyone having issues installing the OTA?
My device saw the update but when I hit install I get "Couldn't update installation problem" I have Magisk installed on the Tmobile oneplus 6T and I've tried to update after removing Magisk but it did not work, please advise.
Click to expand...
Click to collapse
Uninstall magisk and then try installing the OTA, if no go, flash the unmodified fastboot files and then try again.
H4X0R46 said:
Alright so the full zip will be auto downloaded if there's something modified. Can it detect magisk and replace the boot image as well since it's not a system modification?
Click to expand...
Click to collapse
As long as you don't hide system updates in Magisk hide system will prompt and download full zip instead of incremental and upon flash the full zip it will replace the boot to stock boot.
taxi333 said:
Is anyone having issues installing the OTA?
My device saw the update but when I hit install I get "Couldn't update installation problem" I have Magisk installed on the Tmobile oneplus 6T and I've tried to update after removing Magisk but it did not work, please advise.
Click to expand...
Click to collapse
Uninstall Magisk and download and install full zip, you may require t-mobile certitied full zip if the global does not work so make sure you download from the system instead of the links floating around which will be the global rom.

How to install twrp temporarily?

My stock rom has a wifi problem and I want to flash a fix via twrp, but I still want to obtain ota updates. Is booting into twrp via command prompt temporary? Like once I exit twrp without flashing installer zip it would be gone, right?
Sorry, for the noob question. I'm still new to a/b devices.
Try
fastboot boot twrp (the name of your twrp-image)
I am using this all the time to uninstall / install magisk and do an OTA-update inbetween
Tiemichael said:
Try
fastboot boot twrp (the name of your twrp-image)
I am using this all the time to uninstall / install magisk and do an OTA-update inbetween
Click to expand...
Click to collapse
There won't be any problems with stock pie, right?
As I need Xposed, I have not tried PIE yet.
If you are worried trying PIE, flash OREO (Nov 2018) and then do an OTA-update before rooting with TWRP and MAGISK
Tiemichael said:
As I need Xposed, I have not tried PIE yet.
If you are worried trying PIE, flash OREO (Nov 2018) and then do an OTA-update before rooting with TWRP and MAGISK
Click to expand...
Click to collapse
I'm on latest Jan patch. :/
WhatzIt2Ya said:
There won't be any problems with stock pie, right?
Click to expand...
Click to collapse
I think theres only one TWRP version which will work with Pie.

Resources