OTA update with Magisk - Sony Xperia XZ Questions & Answers

Hi everybody,
Since a few days, a new version of Nougot went out but I can't install it. I'm on stock rom with AndroPlus Kernel, TWRP and Magisk root.
How should I process to make the update install ?
Thanks a lot for your answers.

Just flash the ftf with flashtool then reroot

I know it will work but I think I'll loose all my apps and data and that is what I don't want.
How could I apply this update without wiping my phone?

ulysse132 said:
I know it will work but I think I'll loose all my apps and data and that is what I don't want.
How could I apply this update without wiping my phone?
Click to expand...
Click to collapse
flashtool doesn't wipe any data if you don't check the wipe box

Thanks a lot for your answer! I will try it tonight.
Should I reflash androplus, twrp and magisk after update?

Related

Updating from 4.4.4 to 6.0.1

Hey everyone,
I have a Nexus 5 that I haven't updated in a long time that I'd like to get the latest possible OS for. The only modifications I've made which I think might be important are:
Unlocked bootloader
Rooted using SuperSU (v2.8.2 currently)
Installed XPosed (installer v2.6.1, not sure what version of the framework but it should be the latest supported by 4.4.4) with a few modules
Installed App Ops and removed permissions from some apps
Installed StickMount
I don't believe I have any custom recovery installed (I'd used a script to root and install XPosed originally and I don't know if it made any other changes). I'm comfortable using adb if needed but I'm cool with tools like FlashFire too.
My end goal is to have an updated OS with root and XPosed. I assume I'll need Magisk for XPosed, but not sure about root.
How should I go about doing this? I'm cool with losing all of my data (I'll be making backups with Titanium Backup) though knowing ahead of time if that'll be the case would be nice. If it's possible to update without losing data and without affecting anything that'd be nice, but maybe a clean start would be good? The OTA guide on this forum is only for 5, not 6, and most online guides start with 5. I don't want to mess up obviously. xD
Any advice/steps would be appreciated! Thanks!
Aecyl said:
Hey everyone,
Click to expand...
Click to collapse
You need TWRP. Then to install it. https://forum.xda-developers.com/go...om-android-m-preview-2-flashable-zip-t3157299
pavik62 said:
You need TWRP. Then to install it. https://forum.xda-developers.com/go...om-android-m-preview-2-flashable-zip-t3157299
Click to expand...
Click to collapse
The link you gave doesn't have the latest 6.0.1 build and it also says that it requires a minimum bootloader (HHZ12h) that I don't have (I have HHZ11k). Would it be possible to use the latest build from Google? What do I do about the bootloader? And would using TWRP as the recovery prevent me from passing SafetyNet?
Thanks for replying!
Could I follow this guide with the latest factory image and then install Magisk, root, and XPosed? https://android.gadgethacks.com/how...actory-images-android-using-fastboot-0175277/
If you're on stock, update using the built in updates. That'll get you all the latest firmware. I'm pretty sure the N5 goes up to 5.0 normally.
Roxasmaker said:
If you're on stock, update using the built in updates. That'll get you all the latest firmware. I'm pretty sure the N5 goes up to 5.0 normally.
Click to expand...
Click to collapse
Would I have to do anything to XPosed or supersu first? I'd like to update to 6.0.1, too. I've seen online that there are OTA updates for it too.
Nope. But you may have to reinstall root, which is very easy once you're updated. Just let the updates do their thing, and you'll be on your merry way! Hope I helped
I think what I'll do is flash stock 4.4.4 keeping user data and then use the OTAs to update to 6. That way I have a clean system install to use Magisk with without losing any user data. (If that doesn't work I'll just flash 6.0.1 for a clean install.)

Apply monthly update, with Magisk and Xposed, without booting...

I want to update my Pixel phone with the latest monthly update, but also install Magisk and Xposed. But I want to do this without rebooting so that Xposed is always working.
How do I do this?
Is Flashfire the best way to do this, or can I do this manually.
I used to update my Nexus5 by downloading the full monthly update, opening the zip on my PC and then flashing the system update before booting into TWRP to apply Xposed.
But how do I do this on a pixel with the A/B partitions and the like.
Any help would be appreciated.
Ta.
scutworker said:
I want to update my Pixel phone with the latest monthly update, but also install Magisk and Xposed. But I want to do this without rebooting so that Xposed is always working.
How do I do this?
Is Flashfire the best way to do this, or can I do this manually.
I used to update my Nexus5 by downloading the full monthly update, opening the zip on my PC and then flashing the system update before booting into TWRP to apply Xposed.
But how do I do this on a pixel with the A/B partitions and the like.
Any help would be appreciated.
Ta.
Click to expand...
Click to collapse
I could be wrong but I don't think flashfire works with magisk but essentially no there is no way to do what it is you want. You could manually flash the factory images and re-mod or wait for a custom kernel you like to integrate latest security patches and flash that.
KittyRgnarok said:
I could be wrong but I don't think flashfire works with magisk but essentially no there is no way to do what it is you want. You could manually flash the factory images and re-mod or wait for a custom kernel you like to integrate latest security patches and flash that.
Click to expand...
Click to collapse
Thanks.
So is it just a case of boot to bootloader, manually flashing the factory image, then boot TWRP and flash Magisk and Xposed?
Ta.
scutworker said:
Thanks.
So is it just a case of boot to bootloader, manually flashing the factory image, then boot TWRP and flash Magisk and Xposed?
Ta.
Click to expand...
Click to collapse
Yep. You can also remove the -w in the flash-all.sh file so you can keep your data. (Or flash-all.bat if on windows)

Unable to update Honor View 10

Guys, i am unable to update to latest .161. I have unlocked bootloader, twrp and installed magisk.
Update manager download the update but it fails to update in twrp recovery.
Please suggest. I don't want to lose data.
Can someone provide zip update package so that i can update in twrp??
You have to remove majisk
Relock boot
Then you will receive official update
Then unlock and reinstall majisk
br54 said:
You have to remove majisk
Relock boot
Then you will receive official update
Then unlock and reinstall majisk
Click to expand...
Click to collapse
Since when do you need to relock to install updates?
br54 said:
You have to remove majisk
Relock boot
Then you will receive official update
Then unlock and reinstall majisk
Click to expand...
Click to collapse
freeza said:
Since when do you need to relock to install updates?
Click to expand...
Click to collapse
There is no need to relock.
I didnt whe 110 came out and it still updated... rooted with Magisk as well
@any_thing
Check the ROMs/Kernels/Recoveries section, there's a modified stock recovery that allows for updating w/o relocking the Bootloader.*
Once complete, put TWRP back & root, you will not lose any data/apps/etc...... as you would by simply relocking your Bootloader....
* YMMV,this modified recovery may not be compatible w/your model.
https://forum.xda-developers.com/ho.../recovery-bkl-nocheck-recovery-flash-t3778085
Sent from my HUAWEI BKL-L04 using XDA Labs
Good luck then.... Personally I don't care.. Mine works fine
any_thing said:
Guys, i am unable to update to latest .161. I have unlocked bootloader, twrp and installed magisk.
Update manager download the update but it fails to update in twrp recovery.
Please suggest. I don't want to lose data.
Can someone provide zip update package so that i can update in twrp??
Click to expand...
Click to collapse
I have the BKL-L04 model & got an update notice earlier today:
While on stock rooted with TWRP & Magisk,the update downloaded & attempted to install,but,it failed.
So,just flash the stock recovery for your model & take the update w/o relocking your bootloader.
You will not lose any data from switching recoveries,at least on this phone.
(If you want to unroot 1st,that's fine,but,not necessary,flashing the modified stock recovery image unroots your phone anyway.)
After taking the update,flash the TWRP & Magisk (& Magisk Manager App,if it disappeared) as you did previously.
Just posting what worked for me,& in no way are my experiences/usage intended to contradict posts/suggestions from others,especially if they have the exact same model of phone as yours.
Hope this helps. :good:
any_thing said:
Guys, i am unable to update to latest .161. I have unlocked bootloader, twrp and installed magisk.
Update manager download the update but it fails to update in twrp recovery.
Please suggest. I don't want to lose data.
Can someone provide zip update package so that i can update in twrp??
Click to expand...
Click to collapse
Just install stock ram disk...
It would automatically remove twrp and root.. And u will b able to install update once updated just reflash twrp ram disk and install magisk zip to get root back..
That's how I did it on c675
(--light--) said:
Just install stock ram disk...
It would automatically remove twrp and root.. And u will b able to install update once updated just reflash twrp ram disk and install magisk zip to get root back..
That's how I did it on c675
Click to expand...
Click to collapse
will i lose my data?
any_thing said:
will i lose my data?
Click to expand...
Click to collapse
No not at all... Ramdisk is a different partation
I had rooted phone with magisk installed, I received 2 updates like that - automatically lost root privileges, but I didn't receive .161 update (EIS update still not available for me?) any way to get this update?
PS my bootloader is unlocked... do I need lock it to get an update? and how to lock it?

Avoid installing updates from recovery, possible?

Hi guys, is there any way to "uninstall" a pre-installed system update?? Currently at OS 5.1.11 but idk what happened suddenly it says "system update (OS 9.0.2) is installed, please reboot". So the last thing I want is to reboot, since I WILL lose my root, and afraid that my TWRP version not compatible for Android P. THANKS!
QUESTIONS
1) IF I were to reboot into recovery, make a backup and install that backup, will that help? Will the update be installed once I reboot into recovery or not? IF I am not mistaken, the updates are only applied when you reboot into the system., but I'm not sure now.
2) I already have a backup of my system but that is months ago. Would I be able to make a complete backup of today's sytem without applying the installed update?
3) Any other way to remove the pre-installed system update besides rebooting into recovery to do a factory reset and restore system settings?
4) Do I need to reinstall TWRP and MAGISK before applying the backup/system restore?
Thanks in advanced!
kahtsin said:
Hi guys, is there any way to "uninstall" a pre-installed system update?? Currently at OS 5.1.11 but idk what happened suddenly it says "system update (OS 9.0.2) is installed, please reboot". So the last thing I want is to reboot, since I WILL lose my root, and afraid that my TWRP version not compatible for Android P. THANKS!
QUESTIONS
1) IF I were to reboot into recovery, make a backup and install that backup, will that help? Will the update be installed once I reboot into recovery or not? IF I am not mistaken, the updates are only applied when you reboot into the system., but I'm not sure now.
2) I already have a backup of my system but that is months ago. Would I be able to make a complete backup of today's sytem without applying the installed update?
3) Any other way to remove the pre-installed system update besides rebooting into recovery to do a factory reset and restore system settings?
4) Do I need to reinstall TWRP and MAGISK before applying the backup/system restore?
Thanks in advanced!
Click to expand...
Click to collapse
If you are rooted then update will not get install; you need to flash full package through twrp
If you dont want to update to pie then flash oos5.1.11 full package through twrp use bluspark twrp
Suggestion: update to pie build
siddhrsh said:
If you are rooted then update will not get install; you need to flash full package through twrp
If you dont want to update to pie then flash oos5.1.11 full package through twrp use bluspark twrp
Suggestion: update to pie build
Click to expand...
Click to collapse
Hi, thanks for the reply.
I think the update WILL be installed after a reboot. And I don't want that, which is why I am avoiding any sort of reboot atm.
kahtsin said:
Hi, thanks for the reply.
I think the update WILL be installed after a reboot. And I don't want that, which is why I am avoiding any sort of reboot atm.
Click to expand...
Click to collapse
Update WILL NOT installed if you have pached boot image
You can flash oos 5.1.11 or 9.0.2 directly through twrp but use only blu_spark twrp
If you have installed magisk then go to magisk manager select uninstall then restore image after select install magisk second slot after ota

Updated to 9.0.2 and now I want to go back

Updated to 9.0.2 and lost xposed, I want to go back to any 8 version so I can use xposed again. My question is, what is the easiest and safest way of doing this? And will I have to re-root? My last question is will I lose all my data? Thanks
bt1740 said:
Updated to 9.0.2 and lost xposed, I want to go back to any 8 version so I can use xposed again. My question is, what is the easiest and safest way of doing this? And will I have to re-root? My last question is will I lose all my data? Thanks
Click to expand...
Click to collapse
Download the ROM version you want, flash it in TWRP, flash TWRP, reboot recovery, flash magisk, kernel etc. You don't have to wipe data, but know that if there are any issues, data will be the cause of them since there was an Android version upgrade.
you can back up your data and nuke it with the MSMdownload tool

Categories

Resources