How to Fix Magisk Error "Stock Backup Does Not Exist" by Forcing it to Create a Backup

Описание к видео How to Fix Magisk Error "Stock Backup Does Not Exist" by Forcing it to Create a Backup

In this video I show you how to fix the "Stock Backup Does Not Exist" error in Magisk after trying the "Restore Images" option when using the Uninstall feature.

~~~~~
Hi! Don't forget to hit the "Thanks" button on this video, if you can, and join our channel community here -    / @explainingandroid  


Video Description
~~~~~~~~~~~~~~~~~
This week Google pushed out the montly security update for May to its Pixel smartphones and I can confirm that if you are running the Canary version of Magisk right now (version 24307 or later), then you can follow my tutorial that walks you through installing the latest update while rooted, and it will keep your data across the OTA update.

However, when I followed my own tutorial I was greeted with an error in Magisk after I attempted the "restore images" part of uninstalling Magisk. See, in order to install these OTA updates seamlessly on a rooted device, we need Magisk to have a backup of our original boot.img file.

Depending on how you rooted your phone, you may not be able to complete that "Restore Images" part becauase of the lack of said backup.

So in this video I want to you show how I forced Magisk to create a backup of my original boot.img file on the Google Pixel 6.

I was then able to proceed with the usual update method and now I'm on the May update for this phone and I was able to keep root and all of my data in the process.

So if you have ever tried to use the "Restore Images" part of Magisk and were told that a "stock backup does not exist" then I'm going show you how I fixed this error.

The first thing I needed to do was download the firmware that I'm currently running on the device so I could extract the boot.img file. For Google Pixel devices, that means I just went to the Factory Images website Google has set up and then downloaded the firmware that matches the monthly security update I have running on the device.

I then extracted the contents of that firmware, and copied the boot.img file from the PC over to my smartphone. If you download the firmware to the phone itself, you can just extract that boot.img file and leave it on the device.

Now, with this boot.img file we need a way to flash it while we're still booted into Android. Some people suggest using ADB for this but that requires getting the SHA1 checksum to execute complex commands and it wasn't a method I was willing to test out yesterday. I will look into this later when I have more time to test thing out.

However, I was able to complete this much faster with a root application instead. This method is MUCH easier than executing ADB commands but the app does costs money. I'm looking for a free alternative to the app and will update the video description below if I come across one.

So we open up Franco kernel manager and grant it root access. We're then going to use the kernel flasher built into the app to copy over your current boot.img file with a stock one that we just downloaded.

We will retain root access as long as we do not reboot

So after its flashed, we open up Magisk and tell it to do a direct install

Now let the phone reboot and you'll see a backup has been created by the Magisk app


Step by Step Tutorial
~~~~~~~~~~~~~~~~~
1. Intro [00:00]
2. Download the matching firmware [02:08]
3. Extract the boot.img file [02:40]
4. Flash the file with Franco Kernel Manager [04:32]
5. Use Magisk to do a Direct Install [05:34]
6. Restart the phone [06:17]
7. Try the "Restore Images" option in Magisk again [07:25]


As an Amazon associate, I may earn a commission on sales from the links below.

The Gear I Use
~~~~~~~~~~~~~~~~~
5W "Slow" Charger - https://amzn.to/2OaUMV8
Fast Charger - https://amzn.to/3rtBsC6
MicroUSB Cable - https://amzn.to/38dkpeM
USB-C Cable - https://amzn.to/2OqlTvi
TPU Cases - https://amzn.to/38g9b9w
USB-C to 3.5mm Dongle - https://amzn.to/3rVt7c3
onn 4K Android TV - https://bit.ly/3hHCpTc
NVIDIA Shield TV - https://bit.ly/3KA17RV

Комментарии

Информация по комментариям в разработке