Before I try the "Update and Root Automatic OTA" approach, is there anything to watch out for?
The instructions say to uninstall magisk before downloading the OTA.
I haven't asked the Android device to update but I am seeing the prompt to restart to install the OTA. Does this mean it's too late for me to take this approach as the OTA has already downloaded and I have yet to uninstall magisk?
When I updated the last two times I did a factory update, I want to try to avoid that as I don't want to reset up all my two-factor authentications in Google Authenticator.
Don't uninstall, just restore images - but this shouldn't be necessary because of the below:Before I try the "Update and Root Automatic OTA" approach, is there anything to watch out for?
The instructions say to uninstall magisk before downloading the OTA.
No. It apparently already passed block verification. Just open Magisk, disable any modules you have installed, then tap Install > Install to Inactive Slot. Magisk will patch the boot image in the other slot then force a reboot to that slot.I haven't asked the Android device to update but I am seeing the prompt to restart to install the OTA. Does this mean it's too late for me to take this approach as the OTA has already downloaded and I have yet to uninstall magisk?
Just follow the instructions and you'll be fine. Make sure you disable modules just to be safe. If for whatever reason you get a boot loop, flashing the factory boot image should get you running while you figure out the problem.When I updated the last two times I did a factory update, I want to try to avoid that as I don't want to reset up all my two-factor authentications in Google Authenticator.
Initial Root essentially describes the process to root your device, coming from unrooted factory firmware. A patched boot image is required for root. An unpatched boot image does not have root.Hi,
I would like to understand the part "Initial Root / Create Master Root Image"
Is it compulsory ? because last time I had to use the phone.
I'm updating with Android Flash Tool.
Thx !
Make sure you've enabled DenyList on GPay as well. There do seem to be some occasional quirks upon initial root, but generally GPay continues to work as long as everything is set up correctly. I'm able to add/remove cards and use NFC without a problem.Anyone else having issue with google pay?
I just rooted with latest factory image and the wallet tile is disabled...
All I have done after root is add modules
- MagiskHide Props Config 6.1.2-v137
- Universal SafetyNet Fix 2.2.1
I pass safetynet attestation in YASNAC
And add followings in Magisk DenyList (all sub-component for each) :
- Google Play Protect Service
- Google Play Store
Google Play Service as well, but it doesnt stay after reboot (I saw on page 9 that it's normal behaviour)
Am I missing something or is it related to latest firmware update?
Edit : maybe some more details can be interesting:
- Magisk canary
- in Settings / Google / Settings for Google Apps / Google Pay : my bank card is set and seem to be operational (bank validated it and the NFC logo isnt greyed or crossed)
It's called "Google Pay"Can you share what's on your DenyList? I don't see any GPay while searching for it in Magisk...
Here's mine (and yes, I have a nice butt thanks to the 30 days challenge app)
And the wallet tile
I don't have any "Google Pay" app in the deny list entries, but I found the sneaky bastard so now my denied apps are
Can you share what's on your DenyList? I don't see any GPay while searching for it in Magisk...
Here's mine (and yes, I have a nice butt thanks to the 30 days challenge app)
And the wallet tile
Hi,Initial Root essentially describes the process to root your device, coming from unrooted factory firmware. A patched boot image is required for root. An unpatched boot image does not have root.
If you have not unlocked your bootloader, you will be forced to wipe data when you do so. There is no way around this. Fortunately, most of your data on your device backs up to the cloud, so you won't lose everything. Keep in mind that Photos does not back up every time your system takes a snapshot, so make sure you perform a manual backup in the Photos app.Hi,
In what order to do it ? As I said, last time I was afraid to lose everything
Sorry, but it's a bit confusing for me.
Thx !
My phone is already rooted and unlocked , I have the January version.If you have not unlocked your bootloader, you will be forced to wipe data when you do so. There is no way around this. Fortunately, most of your data on your device backs up to the cloud, so you won't lose everything. Keep in mind that Photos does not back up every time your system takes a snapshot, so make sure you perform a manual backup in the Photos app.
To root your device, follow the instructions under Initial Root.
Okay, so you're asking how to best update without wiping data?My phone is already rooted and unlocked , I have the January version.
Yes no wiping,Okay, so you're asking how to best update without wiping data?
Any of the methods described in the OP will allow you to do this. I personally recommend dirty flashing the factory image, but you'll need to update bootloader and radio.
After the flash, before you reboot.Yes no wiping,
just know when exactly should I install my modified boot.img
After the flash or the flash/reboot?
fastboot update --skip-reboot --slot=all <update image file path>
fastboot flash boot --slot=all <patched boot image file path>
You're on the right track.I followed instructions for rooting my Pixel but absentmindedly forgot to disable automatic updates. Phone was rebooted after the update. On page 11 of this thread, I noticed a user (a4abbas) with a similar situation. Could you confirm that the steps to regain root are:
(I am on stock ROM with just magisk and no modules. )
download factory image for current update I am on.
extract boot.img
patch with magisk in phone
fastboot the updated file
reboot
I apologize if this question has been asked over and over.
thanks for your contributions to the forum.
Don't flash an old boot image after updating. You can temporarily boot it to give Magisk root so that it can patch the new image.I did what it says exactly, but I always ended up with an old version. But I was able to solve it with your "Update and Root OTA Sideload" method. After flashing the old master-root.img, I did the described steps and now I have the newest firmware with root. Thanks![]()
Oh, okay. You should be able to update to the latest release using the method of your choice. I would personally recommend dirty flashing the factory image.No, still on the Android 12 beta which I had to install to get out of a mess that you helped me with back in January (see post #128).
I wouldn't try without updating again.It says SP2A.220305.012 Is there any way to boot from the other slot?
adb devices
adb reboot bootloader
fastboot flashing unlock
fastboot flash boot <drag and drop master root.img here>
adb reboot sideload
adb sideload ota.zip
fastboot boot <drag and drop master root.img here>
fastboot flash bootloader <drag and drop new bootloader.img here>
fastboot flash radio <drag and drop radio.img here>
fastboot update --skip-reboot image-codename-buildnumber.zip
fastboot boot <drag and drop master root.img here>
flash-all
script included in the factory zip. You will have to copy the script, bootloader image, radio image, and update zip into the Platform Tools folder; you will then have to edit the script to remove the -w
option so it doesn't wipe your device.fastboot flash bootloader <bootloader image name>
fastboot reboot bootloader
ping -n 5 127.0.0.1 > nul
fastboot flash radio <radio image name>
fastboot reboot bootloader
ping -n 5 127.0.0.1 > nul
fastboot update --skip-reboot --slot=all <image-device-buildnumber.zip>
fastboot boot <drag and drop master root.img here>
fastboot update device-image-buildnumber.zip
fastboot boot magisk_patched-23016_xxxxx.img
--skip-reboot
when applying the update, then simply rebooting to bootloader and flashing the patched boot image.Confirmed workingFor those who are wondering, this is how I updated my Pixel 5 (and my wife's 5a):
You can potentially save a couple steps by using
- Download and extract the factory image
- Extract boot.img from the factory update image
- Copied boot.img to device, patched in Magisk, copied patched boot image back to update folder
- Reboot device to bootloader
- Apply update:
Code:fastboot update device-image-buildnumber.zip
- Let device boot and finish update; reboot to bootloader
- Boot patched image:
Code:fastboot boot magisk_patched-23016_xxxxx.img
- Open Magisk, tap Install, Direct Install, then reboot.
- Done.
--skip-reboot
when applying the update, then simply rebooting to bootloader and flashing the patched boot image.
Note: I manually patched the boot image because I didn't have a 23016 boot image handy.