FORUMS
Remove All Ads from XDA

[MAGISK][Android 10]Patched Boot Image For OnePlus 7 Pro

5,299 posts
Thanks Meter: 4,765
 
Post Reply Email Thread
Hi guy's I created a rooted stock boot.img for people that don't want to use TWRP and only have root.

Make sure you have an unlocked bootloader and make a backup before using this. There is a stock boot.img pulled from each release zip in my Gdrive folder if you forget to back yours up.

This is for Android 10 only. I've tested it multiple times and worked each time, Make sure you have updated fastboot from here before flashing.

Downloads: Android 10 Images.

Code:
1. Download the patched boot.img from the link above

2. Using CMD or Powershell flash the image with this command: fastboot flash boot magisk_patched.img

3. Reboot to OS and check Magisk Manger is there and Root installed correctly. 

4. Install Magisk Manager APK after booting to OS if it's not there for you.

5. Profit? :cool:

6. (Optional) To flash TWRP grab the latest installer and flash it as a module in Magisk Manager reboot to recovery and install Magisk 19.4 zip.

7. To return to stock boot image "Non" rooted download the stock boot.img from the link above and run this command: fastboot flash boot boot.img
Instructions to patch your own images.

Code:
 1. Download payload_dumper-win64.zip And extract/copy it to Desktop.

2. Extract your payload.bin from the stock rom zip and copy it into the payload_input folder.

3. Run the payload_dumper exe.

4. When it's finished open the payload_output folder and copy the Boot.img to Desktop keep it there as a backup.

5. Copy the same boot.img to your internal storage on your phone.

6. Install the magisk manager APK from here: Magisk Manager

7. Open Magisk Manager and go to settings and change Update Channel to Beta and go back to main screen and choose install and select "Select and Patch a file"

8. Navigate to where you copied your boot.img on the phone.

9. Once it's patched you'll have an magisk_patched.img on your phone in the the folder it says on the screen when done.

10. Copy that image to your fastboot folder on your PC and flash it with fastboot flash boot magisk_patched.img

Done!
I'll try keep the thread updated with new boot.img's for new releases if you're having any issues tag me as I don't see the replies on time.

As always I'm not responsible for any issues your device might have or if your cat sets on fire.

Credits:

topjohnwu for Magisk/Manger

geminids14 for payload_dumper-win64
The Following 40 Users Say Thank You to liam_davenport For This Useful Post: [ View ] Gift liam_davenport Ad-Free
4th September 2019, 01:46 PM |#2  
marko94's Avatar
Senior Member
Flag Zagreb
Thanks Meter: 1,119
 
More
Nice, that is what we need .. Thanks Liam
The Following 2 Users Say Thank You to marko94 For This Useful Post: [ View ] Gift marko94 Ad-Free
4th September 2019, 04:16 PM |#3  
Senior Member
Thanks Meter: 11
 
More
How can i load twrp? Fastboot boot command, didnt work
4th September 2019, 04:34 PM |#4  
liam_davenport's Avatar
OP Senior Member
Flag Wakefield
Thanks Meter: 4,765
 
More
Quote:
Originally Posted by DevrimSeven60

How can i load twrp? Fastboot boot command, didnt work

Ask in the TWRP thread
4th September 2019, 05:10 PM |#5  
dajumper's Avatar
Senior Member
Thanks Meter: 307
 
Donate to Me
More
Not working for me get a error file is to large to download when try to flash
4th September 2019, 05:23 PM |#6  
liam_davenport's Avatar
OP Senior Member
Flag Wakefield
Thanks Meter: 4,765
 
More
Quote:
Originally Posted by dajumper

Not working for me get a error file is to large to download when try to flash

You're on OB1? It worked fine for me I flashed it multiple times already

I think I know the issue try updating your fastboot files from here: https://developer.android.com/studio...platform-tools
4th September 2019, 06:00 PM |#7  
dajumper's Avatar
Senior Member
Thanks Meter: 307
 
Donate to Me
More
Quote:
Originally Posted by liam_davenport

You're on OB1? It worked fine for me I flashed it multiple times already

I think I know the issue try updating your fastboot files from here: https://developer.android.com/studio...platform-tools


Still the same
4th September 2019, 07:42 PM |#8  
Senior Member
Thanks Meter: 87
 
More
Im already rooted with bootimg having lat pie release. Is it possible to flash Android Q on top of last pie release and be rooted? Again I am rooted with magisk, not having twrp.
To update I always flash full updat from local, not reboot, install magisk to other slot and I was ready to go.

Will this work with Q update?
4th September 2019, 09:20 PM |#9  
Member
Thanks Meter: 21
 
More
Not working for me. Both sims dissapear and phone keeps FC.
4th September 2019, 09:58 PM |#10  
liam_davenport's Avatar
OP Senior Member
Flag Wakefield
Thanks Meter: 4,765
 
More
Quote:
Originally Posted by pister

Not working for me. Both sims dissapear and phone keeps FC.

Issue is on your end, I've flashed this multiple times no issue.

Working perfectly here I've clean flashed and redownloaded from the link and flashed. I've noticed sometime magisk causes sims to not show on boot before reboot the device and they should show again.


Click image for larger version

Name:	Screenshot_20190904-205205.jpg
Views:	1302
Size:	255.0 KB
ID:	4815257Click image for larger version

Name:	Screenshot_20190904-205153.jpg
Views:	1316
Size:	187.9 KB
ID:	4815258
The Following User Says Thank You to liam_davenport For This Useful Post: [ View ] Gift liam_davenport Ad-Free
4th September 2019, 10:01 PM |#11  
Member
Thanks Meter: 21
 
More
I see that when I root, both IMEIs disappears. Very strange

Sent from my [device_name] using XDA-Developers Legacy app
Post Reply Subscribe to Thread

Tags
magisk, patched boot image, root

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes