[ GUIDE ] [ ANDROID 10 ROOT ] [ HOW TO ] Patching Boot.img with Magisk

Muledeer

Senior Member
Aug 19, 2007
69
11
0
Baton Rouge, LA
Magisk install Oct update Android 11

vers 21000 does not work you need to use vers 21004

I just completed a clean install from unlock all the way to patching Oct update android 11 (Pixel 3)

Magisk is working - Only issue is I cant install an APK to system\priv-app - keeps failing (same for system\app

Any ideas?

thanks

Mule
 

Pakabidu

Senior Member
Aug 27, 2013
50
5
8
Flashed clean Android 11 and then rooted by pathcing boot with canary manager. SafetyNet fails, but GooglePay works fine (had to change dg.db values again though) and AdAway is also working, so I'm happy.
 

dadu1257

Member
Oct 28, 2020
15
0
1
How did you resolve the "error boot prepare", I was following the guide to create the patch and flashed and ended up bricked in fastboot mode, not able to get anywhere.

I have also tried flashing firmware and resulted in not able to write to partition.

Any help is appreciated.

Kenenth
Same problem, how did you solve it?
 

Jcxmt125

New member
Aug 29, 2020
2
1
3
Here's how to root the Pixel 3 running on official and stock Android 10 release, step by step :

(not tested on Pixel 3 XL but it might work the same, just use the right firmware for your device)

What do you need :
> Pixel 3 phone with Android 10
> Unlocked bootloader on your Pixel device
> Latest ADB and FASTBOOT tools on your computer


1 ) Download the latest Android 10 factory image for your device ("Blueline" is the regular Pixel 3) :
Link > Android 10 factory image

2 ) Extract the "boot.img" file on your phone

3 ) Download latest Magisk Manager application on your phone and install it :
Link > https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

4 )Press on the Install Magisk button (the one on the top, not the Magisk Manager), then Install > Select and Patch a File and now select the Boot.img file you extracted earlier. When the process is done, just put the patched boot.img file on your computer in the same folder as your ADB and FASTBOOT tools, the file's name is magisk_patched

5 ) Enable adb debugging on your Pixel phone and connect it to your computer via USB.
Open a command prompt on your computer and migrate to the folder where the ADB and Fastboot tools are located.
(for exemple, for me it's : cd C:\\adb).

7 ) Reboot your phone to fastboot by typing adb reboot bootloader

8 ) Flash the Boot.img you just patched with magisk by typing fastboot flash boot magisk_patched.img

9 ) When i'ts done, reboot by typing fastboot reboot

10 ) Open your Magisk Manager app and chek if everything is good, and it should be ! You can now install Adaway after you enable Systemless root in the Magisk settings and rebooting your phone.

Note that this guide is actually for using adaway. I don't know if it will work for any other root related feature on your phone.
I did exactly that, but now my phone refuses to boot. It says there aren't any valid slots to boot. could you please help? BTW I fixed it by flashing my phone with factory image but I still want root. I am on android 11(R)
 
Last edited:

fyrmd

Senior Member
Sep 25, 2011
79
2
28
Phone not connecting

I cannot for the life of me get my phone to connect to my computer. I have tried different cables, checking all of the settings I can think of, updating platform tools.

Device manager says "Device Descriptor Request Failed" and code 43. The phone shows up fine on my chromebook, although there is a problem with Linux there so that is not an option, but that lends me to believe this has something to do with my Win 10 computer. I am Android 11 September update, unrooted. The phone says it is up to date, will not load October or November update so possibly an issue with the September update?

Any direction would be appreciated-thanks!
 
Last edited: