Huh. Download factory image, manually patch boot image and flash.
Huh. Download factory image, manually patch boot image and flash.
I am not sure what you are asking.Hi,
I have an important issue on the security of an application.
In Magisk it is possible to make an application invisible to hide it from root.
But does Magisk make him only invisible or then he unooys the application ?
In other words, is the application secured ?
Ok, I'm going to post there.I am not sure what you are asking.
I don't provide support for Magisk. Magisk specific questions should be posted in this thread.
Yes, you're missing the most critical step: Always read the OP. Your questions have already been answered and the necessary information provided.My Pixel 5 is rooted, and still on Android 11. I haven't updated yet, because I didn't want to use disable-verity and disable-verification and be forced to wipe data.
With the new Canary version of Magisk (23017), should I be able to finally update to Android 12 without wiping data, and still maintain (or re-patch boot.img) root?
My thought process is this. Either sideload the OTA or flash factory image removing "-w" from the update line. Install Magisk, patch the boot.img file, then fastboot flash boot boot.img.
Does that sound like it would work, and let me keep my data?
Am I missing any steps?
To state it more clearly, since this seems to be a huge problem...Note: If you have hidden the Magisk app, update from within Magisk! Multiple instances of Magisk will break root!
Updating from within the app is the preferred method. I'll update my posts.To state it more clearly, since this seems to be a huge problem...
If you have previously hidden the Magisk app, make certain you PERFORM ALL UPDATES FROM WITHIN THE MAGISK APP. If you don't do it this way, you'll end up with with multiple installs of the app, which will break root.
That sucks, I was trying to find a way for you to transfer data without having to factory reset. I believe you might be able to do that using Swift Backup as long as you have root on both devices.@V0latyle
I am currently rooted with your Update and Root OTA Sideload method. I forgot to use phone transfer tool before setting up the phone. AFAIK now to do that I need to factory reset my phone. What steps do I have to follow to get rooted again? . Please advice.
That sucks, I was trying to find a way for you to transfer data without having to factory reset. I believe you might be able to do that using Swift Backup as long as you have root on both devices.
If you are currently rooted and perform a factory reset, it only wipes /data. It doesn't restore the factory boot image, so your existing boot image will still be patched; the only thing you should have to do to regain root is install Magisk. It shouldn't matter what version of Magisk you install, either, because a data wipe removes all the signatures and other "links" between the Magisk app and the boot image patch.
adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Seems legit. Give it a try and let us know!Someone suggested me to try this method below. Is it safe to do so considering that I am rooted:
Run this adb command from your computer:
My Pixel 5 also says it's up to date. However, a friend of mine with a Pixel 5 was able to download it after doing a manual check for updates. Mine doesn't have an update available yet.Anyone else having trouble downloading the OTA? My phone keeps insisting that it's up to date.
First restore the original factory image, can you receive the ota update? It used to be so.Anyone else having trouble downloading the OTA? My phone keeps insisting that it's up to date.
Yes, that is correct. It worked on my wife's 5a, but for some reason my 5 didn't think an OTA was available.First restore the original factory image, can you receive the ota update? It used to be so.
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).
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.