How come Magisk did not back up my stock boot image?

Droid_Nut

Senior Member
Feb 19, 2015
500
71
0
Kingston NY
Hi all I got a 7T in the US. I got an update notification, and i wanted to uninstall Magisk, perform the update, reinstall Magisk and reboot. In Magisk I get the message, "stock image does not exist." I never had this problem with my Pixel, how can I get Magisk to save an image after I update and reroot?

Thanks
 

Kollachi

Senior Member
Aug 24, 2013
2,139
967
193
Osnabrück
Hi all I got a 7T in the US. I got an update notification, and i wanted to uninstall Magisk, perform the update, reinstall Magisk and reboot. In Magisk I get the message, "stock image does not exist." I never had this problem with my Pixel, how can I get Magisk to save an image after I update and reroot?

Thanks
Why do you want to uninstall magisk?

1. Install update and don't reboot.
2. Go to magisk and install after ota
3. Reboot

I don't know about restore stock image with magisk and never did that.
If you really want to unroot your phone now, download the correct boot.img and flash it. There are a few threads available here to find that image you need.
Also you can download the ota.zip and dump that payload.bin which is inside the zip.
 
  • Like
Reactions: Droid_Nut

ziddey

Senior Member
Aug 26, 2007
1,788
1,552
0
Like kollachi said, you don't need to follow the standard pattern of uninstall/ota/install-inactive with the 7t. I imagine that's because with a rooted device, it pulls the full rom instead of a diff.

But it sounds like you directly flashed a rooted boot.img which is why magisk doesn't have a backup. Instead, you should have done a `fastboot boot patched_boot.img` and then done a magisk install. It would have taken a backup of your original boot.img and then installed a patched version.
 
  • Like
Reactions: Droid_Nut

Droid_Nut

Senior Member
Feb 19, 2015
500
71
0
Kingston NY
So basically install the Ota right over root, open magisk manager and install root, then finally reboot?

With the pixels and others, you have to uninstall magisk with restore boot image, install the update, install magisk again, then reboot.

Thanks for all of the help.
 

Droid_Nut

Senior Member
Feb 19, 2015
500
71
0
Kingston NY
Like kollachi said, you don't need to follow the standard pattern of uninstall/ota/install-inactive with the 7t. I imagine that's because with a rooted device, it pulls the full rom instead of a diff.

But it sounds like you directly flashed a rooted boot.img which is why magisk doesn't have a backup. Instead, you should have done a `fastboot boot patched_boot.img` and then done a magisk install. It would have taken a backup of your original boot.img and then installed a patched version.
I installed magisk with twrp, the twrp that you boot off of pc into temporary memory.
 

Droid_Nut

Senior Member
Feb 19, 2015
500
71
0
Kingston NY
yes it does..

backups are saved to /data/magisk_backup_<hash>/boot.img.gz

I have one for every time I've (re)installed magisk
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.

Lots to learn, but I am gaining. :good:
 

Kollachi

Senior Member
Aug 24, 2013
2,139
967
193
Osnabrück
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.

Lots to learn, but I am gaining. :good:
Yep the correct way is install after ota.
 

ziddey

Senior Member
Aug 26, 2007
1,788
1,552
0
I still do not have a backup I did the OTA, and then reinstalled Magisk "Direct Install (Recommended)", but I guess I should have picked "After OTA to slot A or B" as I had no root on reboot. So I had to TWRP it back to root.

Lots to learn, but I am gaining. :good:
I mean you did that last time and it didn't backup your boot. Fair to assume you'll get the same results if you do it again.

When you install to inactive next time, it should create a backup since the boot image will be intact
 
Last edited:
  • Like
Reactions: Droid_Nut

jazzy ╰_╯

Member
Jan 24, 2015
32
4
0
Hi,

I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device

The phone gets reboot but doesn't update also attaching my magisk log here
 

Attachments

jazzy ╰_╯

Member
Jan 24, 2015
32
4
0
Hi,

I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device

The phone gets reboot but doesn't update also attaching my magisk log here
 

wfred

Senior Member
Mar 15, 2014
60
15
28
Upstate, NY
Hi,

I was trying to update my OnePlus 7t to 10.3.3HD65AA but I am not able to do it. This is what I am doing
1) downloading the update package from oxygen updater application
2) going to setting then in system update I am clicking on more option and then on selecting local update then selecting the package waiting for upgrade to complete.
3) now going to magisk manager and installing the manager in inactive slot and rebooting the device

The phone gets reboot but doesn't update also attaching my magisk log here
I used method 3 to root my 7T a while back and did the update from 10.0.9 to 10.0.11 this morning. Did you do the full update? AFAIK the incremental update won't work

  1. Used Oxygen Updater to download the update (DO NOT FOLLOW THEIR INSTALLATION INSTRUCTIONS)
  2. Did local upgrade from Settings/System/System updates (options wheel) DO NOT REBOOT
  3. Opened Magisk Manager and did a direct reinstall of Magisk (not manager) then
  4. Installed Magisk into inactive slot
  5. Reboot.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone