Canary Magisk 24305 is working fine for me on the April update. However, I would not suggest using "Install to Inactive Slot" to update to the April build, as people are having problems with that method and the April build, even on the Stable Magisk.I am on magisk 24304 and seen an update to 24305. Someone mentioned downgrading magisk. Didn't find an way method besides unrooting and rerooting. Did anyone have issues with 24305? Don't want to start April update unless know magisk is good
I think I did something wrong or missed a step. Wanted to do a double check.
Flashed raven-slider-1.1-8167057.img
Restarted Bootloader
Flashed Radio img
Flashed modified magiskpatched image
I think I missed the update raven zip without the disable verify .
It rebooted fine, and its all working,
nice, gonna try this myselfAnd it should be something like this? I dont want to mess it up again.
fastboot --disable-verity --disable-verification --skip-reboot update raven-sp2a.220405.004-factory-bce807a6.zip
Edit: Ok I got it, this was full package, did extract and do the included zip file.
Posting for my own reference and others if interested, even though its posted a lot of times already
Here was my full order and worked fine. No issues, April 2022
Magisk 24306
1: Download update from https://developers.google.com/android/images
2: Extract the factory zip, then extract the embeded factory zip to get boot.img
3: Put boot.img onto phone.
4: Magisk install Select and Patch a file. Select the boot.img
5: Find the patched img file. Mine was under download folder.
6: Place adb, all zip files , modified magisk under same folder and open cmd
7: Phone to fastboot: Volume down, power button on boot or restart.
I did the rest manually instead of using the bat file, bat file is automated but wanted to do it this way instead.
And this is the exact commands I put into fastboot (Change the img and others according to update)
I also verified fastboot devices before starting process
8: fastboot flash bootloader bootloader-raven-slider-1.1-8167057.img
fastboot reboot-bootloader
9: fastboot flash radio radio-raven-g5123b-97927-220225-b-8226700.img
fastboot reboot-bootloader
This is the zip included in your main zip file. The command may be slightly different,(May have an extra -image in that command)
10: fastboot --skip-reboot update image-image-raven-sp2a.220405.004.zip
fastboot reboot-bootloader
11: fastboot flash boot magisk_patched-24306_jgjCY.img
fastboot reboot
Should reboot and all should be good
And it should be something like this? I dont want to mess it up again.
fastboot --disable-verity --disable-verification --skip-reboot update raven-sp2a.220405.004-factory-bce807a6.zip
Edit: Ok I got it, this was full package, did extract and do the included zip file.
Posting for my own reference and others if interested, even though its posted a lot of times already
Here was my full order and worked fine. No issues, April 2022
Magisk 24306
1: Download update from https://developers.google.com/android/images
2: Extract the factory zip, then extract the embeded factory zip to get boot.img
3: Put boot.img onto phone.
4: Magisk install Select and Patch a file. Select the boot.img
5: Find the patched img file. Mine was under download folder.
6: Place adb, all zip files , modified magisk under same folder and open cmd
7: Phone to fastboot: Volume down, power button on boot or restart.
I did the rest manually instead of using the bat file, bat file is automated but wanted to do it this way instead.
And this is the exact commands I put into fastboot (Change the img and others according to update)
I also verified fastboot devices before starting process
8: fastboot flash bootloader bootloader-raven-slider-1.1-8167057.img
fastboot reboot-bootloader
9: fastboot flash radio radio-raven-g5123b-97927-220225-b-8226700.img
fastboot reboot-bootloader
This is the zip included in your main zip file. The command may be slightly different,(May have an extra -image in that command)
10: fastboot --skip-reboot update image-image-raven-sp2a.220405.004.zip
fastboot reboot-bootloader
11: fastboot flash boot magisk_patched-24306_jgjCY.img
fastboot reboot
Should reboot and all should be good
That method has never seemed to work well. At least I never got it to work. I am so afraid to update now after 2 full resets where I lost all my data. My phone is finally working flawlessly and I don't want to screw that up.So the above method (Uninstall Magisk and then taking the OTA) doesn't work.
So I reflashed the complete Factory image.
Rebooted.
Then flashed the patched magisk boot image.
Now all is fine with working root and Magisk modules.
Using Magisk 24300.
Just use this methodThat method has never seemed to work well. At least I never got it to work. I am so afraid to update now after 2 full resets where I lost all my data. My phone is finally working flawlessly and I don't want to screw that up.
I have use similar methods in the past and that works, just cumbersome to update monthly with a computer.Just use this method
![]()
Method to upgrade every month, without wiping data and retaining root
Caution: I originally wrote this guide when it was necessary to disable verity and verification before flashing patched boot.img. Now Magisk has overcome this requirement and some users have reportedly flashed updates without disabling...forum.xda-developers.com
Good day everyone! I have the same problem, phone P6Pro OS SP2A.220405.004 tell me how to update to the May side.My bad, that's exactly what I did....
But now I'm getting this system 1/4 error?
I started a fresh with the extracted factory image too..... ?
View attachment 5447353
What version of magisk are you using?Just used this method to update to the May release. No issues. Root retained, versions checked, SafetyNet passes, Gpay launches. All is good.
Good luck everyone
Thanks for the heads up!I updated the App, (but not the actual Magisk) to 24306 right before I started. I then copied over the boot.img, patched it with the new App, and copied it back to the PC. I then followed the instructions in the OP.
FYI. I still have "--disable-verity --disable-verification" in my update command line. I know it's not required with the new Magisk, but it's been working since the beginning and I see no reason to change it as I've had zero problems updating every month with it in there.
Best of luck!
adb reboot sideload
adb sideload "insert OTA file name here.zip"
adb reboot bootloader
fastboot flash boot "patched_boot.img"
Thanks for the guide bro, very useful. Out of curiosity, which Magisk did you use to patch the May boot.img?I don't know why folks continue to have issues updating when a new Android update is released. Despite Magisk having the option to install to an inactive slot for easy OTA updating, I simply avoid it and go the old-school route of updating via sideload to prevent any issues.
In hopes of putting to rest issues some of you face, here is what I do:
- Make a backup of all my important files in case something goes wrong
- Disable any Magisk modules if it makes you feel any safer
- Download the OTA image online and NOT from the system update!
- Reboot to recovery and sideload the OTA by using:
Code:adb reboot sideload
- Then, in recovery I load up the file by using:
Code:adb sideload "insert OTA file name here.zip"
I then proceed to root the device as I normally would, by:
- Once it finishes, you will be in recovery mode. Select "Reboot to system now".
- Once the system reboots, I unlock the device and let it finish completing the update before anything else.
- Getting the NEW boot.img file from the full factory image
- Copy it to my mobile device
- Open up Magisk and patch the boot.img file
- Copy the patched file to my PC
- Reboot into bootloader using:
Code:adb reboot bootloader
Then, patch the new boot.img using:
Code:fastboot flash boot "patched_boot.img"
Reboot / Done.
I have not had it fail once using this process on stable Magisk and NO "disable" tags. The only reason I can see for anyone to use Canary versions of Magisk or "disable" tags, is if its absolutely required for some modules, ROMs, or kernels you are using. If it's not needed, just leave it alone.
You could technically just dirty flash the entire full factory image using the Android Flash Tool or flash-all.bat script on your PC, but the script file is where I find most folks mess up because they copy and pasted instructions improperly, or there's a line of code they forgot to add or remove without proofreading before running the script. I'd rather take matters into my own hands, even if it means completing more steps to make sure things go smoothly.
Anyway, I hope this helps someone!
Current stable release, 24.3.Thanks for the guide bro, very useful. Out of curiosity, which Magisk did you use to patch the May boot.img?
Cheers
ExcellentJust used the method in the OP to update. All good! Checked version, root retained, SafetyNet Passes, Gpay launches, Duo Mobile passes all checks. No issues.
This method has been the fastest most consistent way for me to update since day 1 of the P6P. In total it takes about 10 minutes. Five minutes to extract the boot.img, copy it to the phone, patch, copy patched image back, and modify the flash-all.bat. Then slightly under 5 minutes to reboot into the bootloader and run the .bat file. Which basically consists of watching the screen for errors. Much easier for me than all the convoluted steps in some of the procedures previously described. It has been 100% successful every time.
Best of luck to everyone!
Dave
fastboot --skip-reboot update [****image_name****]
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot magisk_patched.img
fastboot reboot
echo Press any key to exit...
adb reboot sideload
adb sideload "insert OTA file name here.zip"
adb reboot bootloader
fastboot flash boot "patched_boot.img"
holy poop that worked!! i was scared to try it myself but since i have a backup phone with all my data on it, it wouldnt be so bad to wipe the pixel if i messed it up doing it this way! But hey, it actually worked!!couldnt we just add step 5 into the flash-all file? for example:
fastboot reboot-bootloader
fastboot flash boot magisk_patched-xxxxx.img
fastboot reboot
like in the picture? or would it not actually run that way?
View attachment 5465521