US996 - Boot.img // Magisk - LG V20 Questions & Answers

I was wondering if anybody had a stock boot.img for the US996, version h if its important.
The reason I'm looking for it is to install magisk on my device. I'm on WETA if it matters.
NOTE:
I downloaded the .kdz from lg-firmwares but it didnt seem to contain a 'boot.img' file, and the only source I've found for a boot.img is at
Code:
https://build.nethunter.com/misc/us996/v10d/?C=N&O=D
but it seems this is a very old version (assuming they change).
Thanks!
Also, If anyone has tips/guide for installing magisk on the US996 it would be awesome! Been having some troubles with it.

Give a thanks to @dwertz for this post, it might help.
dwertz said:
For Verizon:
You don't need to do the entire root process over. Get the KDZ for 12A from here https://forum.xda-developers.com/v20/development/vs995-kdz-t3527538
Get the LGExtract tool from here https://forum.xda-developers.com/showthread.php?t=2600575
Extract the kdz. It will be a bunch of files and a dz file. Extract the dz file. There should be a boot_6.bin file. Rename it to boot.img. Put that on your sdcard
Here is the link to my VS995 boot.img (This is the already extracted VS995 12A boot.img) skip the above steps https://drive.google.com/file/d/0B-JjsdrM6j0bQWRuVTNkX1FkWHc/view?usp=sharing
Magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
UnSu https://forum.xda-developers.com/showpost.php?p=63615067&postcount=2439
Install a terminal emulator - it makes it easier.
Make sure you have these files below on your sdcard:
boot.img from above kdz that you extracted
Magisk 11.1.zip
UnSU.zip
ReStock1.0 kernel
1. Install the Magisk Manager App
2. Go into SuperSu app do a full unroot.
3. Go into Terminal emulator and type "Reboot Recovery"
4. In TWRP Flash UnSu.zip (to remove any traces of SU)
5. Flash boot.img (this is the stock boot.img)
6. Flash Magisk.zip (magisk contains its own SU)
7. Flash ReStock 1.0 kernel.
8. Reboot
9. Open Magisk app and check to see if Safetynet passes. It should.
Maybe I will upload the boot.img when I get home from work to make the process a little easier.
Click to expand...
Click to collapse

Here's a US996 10h stock boot image,
https://mega.nz/#!SZoQBITQ!PUl1Q4wFb2rVMv8qzbf8p1Jp6yp8sFwRLSW8LnrszaM
Extracted from the kdz

McNutnut said:
Here's a US996 10h stock boot image,
https://mega.nz/#!SZoQBITQ!PUl1Q4wFb2rVMv8qzbf8p1Jp6yp8sFwRLSW8LnrszaM
Extracted from the kdz
Click to expand...
Click to collapse
Where is the boot.img file? is it 'system.img'?

Related

Wanted: 9.0.11 Patched Boot Image

Hi all
I am wondering if anyone knows how I can get my hands on OOS 9.0.11 Patched Boot Image.
I have honestly looked everywhere and the only one I could find was for OOS 9.0.7
I would like to use the boot image to install Magisk for root without a custom bootloader.
Thanks
anasbourini said:
Hi all
I am wondering if anyone knows how I can get my hands on OOS 9.0.11 Patched Boot Image.
I have honestly looked everywhere and the only one I could find was for OOS 9.0.7
I would like to use the boot image to install Magisk for root without a custom bootloader.
Thanks
Click to expand...
Click to collapse
You can temporarily boot TWRP and flash magisk. It's that simple..
anasbourini said:
Hi all
I am wondering if anyone knows how I can get my hands on OOS 9.0.11 Patched Boot Image.
I have honestly looked everywhere and the only one I could find was for OOS 9.0.7
I would like to use the boot image to install Magisk for root without a custom bootloader.
Thanks
Click to expand...
Click to collapse
Above method by @indian84 is using twrp boot image
1. fastboot boot twrp_boot_image
2. Download Magisk then sideload or install
or
Without twrp you need to patch stock boot.img yourself
1.Install MagiskManager
2. Dowload stock boot.img
https://drive.google.com/file/d/1U8LD1C84CVmv8CVQJgdwmZUsQqSE2m3s/view?usp=drivesdk
3. Patch stock boot.img with MagiskManager and you will get patch_boot.img then transfer it to your pc
5. phone - start fastboot mode
6. pc - fastboot flash boot patch_boot.img
7. pc - fastboot reboot
8. done
Thank you. Exactly what I was looking for.
If you use this method to convert TMobile to international software, could you them download the full international firmware and reflash and have OTA working then?

[Guide] Magisk Modules Disabler for booting into Magisk core-only Mode

Tools needed: boot.img extractor. I recommend the one created by osm0sis from this thread:
https://forum.xda-developers.com/sho....php?t=2073775
The first method was developed by osm0sis and removes magisk and all modules.
1. Unpack magisk_patched.img
2. Unzip overlay.dremove1.zip and place overlay.d folder in ramdisk folder.
3. Repack IMG
4. fastboot boot image-new.img created by repacking 8mg
This method is an offshoot of osm0sis version but boots core-only mode. Afterwards, remove the .disable-magisk file from the /cache folder for modules to work. Dot files are hidden files so if your root explorer can't see hidden files, run the "Remove disable_magisk" bat file in ADB.
1. Same as above but use the overlay.dcoreonly1.zip
For both methods you must be rooted for it to work. These are not cure all's for all bootloops.
Remove .disable_magisk bat file
https://www.androidfilehost.com/?fid=4349826312261684994
****************************************
Here is a fastboot bootable image to boot you into Magisk core-only mode in case you bootloop due to flashing a bad module and TWRP is not enough.
Once in fastboot:
fastboot boot image-newpixel3a.img
You will boot with root but modules disabled. After you remove the offending module you will need to go to /cache folder and delete the .disable_magisk file before your modules will work.
fastboot boot image-newpixel3aRemove.img
This one should remove magisk and all modules, then reboot and magisk should reinstall itself (ask to install necessary binaries). This is what osm0sis uses to recover from failed flashes. See this post:
https://forum.xda-developers.com/pi...odules-disabler-booting-magisk-t3976625/page2
Images are in this common folder. Pick the appropriate image for your phone.
6-4-20
https://www.androidfilehost.com/?w=files&flid=313291
oh my gosh would you believe i desperately needed this on tuesday and, after several hours spent trying unsuccessfully to get magisk manager for recovery working, ended up reflashing and starting again from scratch! crazy timing. anyway thanks for this, will definitely come in handy as i am too stupid to learn from my mistakes, ever.
c_tho said:
oh my gosh would you believe i desperately needed this on tuesday and, after several hours spent trying unsuccessfully to get magisk manager for recovery working, ended up reflashing and starting again from scratch! crazy timing. anyway thanks for this, will definitely come in handy as i am too stupid to learn from my mistakes, ever.
Click to expand...
Click to collapse
Relatable. I've had to hard wipe twice as I'm not used to this a/b stuff without TWRP lol. I've learnt my lesson though and finally granted shell root access, so assuming the phone boots past the bootloader I can use adb to fix up my magisk install.
Sent from my Google Pixel 3a XL using XDA Labs
Thank you! I've been running the stock kernel for the past several days because of a borked Magisk module. I couldn't fix the problem through TWRP since I'm on Android 10. This boot image allowed me to get back root without wiping. So thanks again!
Do you mind explaining how you made the image? I saw on the Magisk website that such a thing was possible but was unable to actually find details on how to create a core only image.
benji said:
Thank you! I've been running the stock kernel for the past several days because of a borked Magisk module. I couldn't fix the problem through TWRP since I'm on Android 10. This boot image allowed me to get back root without wiping. So thanks again!
Do you mind explaining how you made the image? I saw on the Magisk website that such a thing was possible but was unable to actually find details on how to create a core only image.
Click to expand...
Click to collapse
You have to build your own copy of magisk from GitHub.
Clone magisk
Go to native/jni/core folder and edit the boot stages.cpp file in notepad++ like this:
Approx line 667
If (access(DISABLEFILE, F_ok) ==0)
Change == to !=
Now build magisk as per instructions on GitHub
One you have built it and there were no errors go to native/out/armeb-v7a folder and get a copy of the magiskini64 file.
Unpack a copy of your magisk_patched.img.
In the ramdisk folder replace the init file with the .magiskini64 file (rename to init)
Repack your magisk_patched.img
The results are a patched IMG that will boot core only mode.
I definitely need to make sure I have this handy. A few questions, if you don't mind.
1. I would assume one should make a new version everytime they update to the latest security patch, correct? For example, I should not use a patched boot.ing from the December patch if I'm on the January, patch, correct?
2. Do your instructions assume that someone already put a .disable_magisk file in /cache, or does the boot.img itself do that job?
Bramton1 said:
I definitely need to make sure I have this handy. A few questions, if you don't mind.
1. I would assume one should make a new version everytime they update to the latest security patch, correct? For example, I should not use a patched boot.ing from the December patch if I'm on the January, patch, correct?
2. Do your instructions assume that someone already put a .disable_magisk file in /cache, or does the boot.img itself do that job?
Click to expand...
Click to collapse
To update boot would be best but you are just booting the image, not flashing. The old method required building a modded version of Magisk. The new method you just unpack the magisk_patched.img and drop in the overlay folder.
The boot image installs the .disable_magisk file for you.
March boot fix images uploaded.
Thank god for this one. I almost did a fullwipe because I couldn't get Magisk to work after flashing the March factory image in order to update. Turns out I forgot to remove your center clock/battery icon gone module. I didn't expect it to be the culprit, but it seems it was. Regardless, I'm back to working root after days of trying to find a fix
Is it possible to fastboot boot (not flash) the modified boot image for disabling modules and then install Magisk via Magisk Manager?
cucumbersmell said:
Is it possible to fastboot boot (not flash) the modified boot image for disabling modules and then install Magisk via Magisk Manager?
Click to expand...
Click to collapse
You should be able to boot with the modified image, but you don't "install" Magisk then - Magisk is already installed, just you booted with all the modules disabled
Just open Magisk Manager, go to Modules and mark to remove the module(s) causing bootloop.
Pay also attention to remove
.disable-magisk file from /cache
as described in OP post #1
Then reboot with your proper Magisk patched image (no more Core Only) and if you have removed the module in the previous step, this time you should be booted to Magisk with no bootloop and with your other modules re-enabled again
zgfg said:
You should be able to boot with the modified image, but you don't "install" Magisk then - Magisk is already installed, just you booted with all the modules disabled
Just open Magisk Manager, go to Modules and mark to remove the module(s) causing bootloop.
Pay also attention to remove
.disable-magisk file from /cache
as described in OP post #1
Then reboot with your proper Magisk patched image (no more Core Only) and if you have removed the module in the previous step, this time you should be booted to Magisk with no bootloop and with your other modules re-enabled again
Click to expand...
Click to collapse
I used Tulsadiver's core-only boot.img for the OP7T to root the phone by fastboot booting it and then using Magisk Manager to install to the active and inactive slots. Was hoping the boot.img for the 3a would work similarly. Was nice and simple and saved the time of having to download and patch the boot.img.
cucumbersmell said:
I used Tulsadiver's core-only boot.img for the OP7T to root the phone by fastboot booting it and then using Magisk Manager to install to the active and inactive slots. Was hoping the boot.img for the 3a would work similarly. Was nice and simple and saved the time of having to download and patch the boot.img.
Click to expand...
Click to collapse
It is based off of a magisk_patched.img so you might be able to use it like that. You would need to remove the .disable_magisk file from the cache folder though. This is a little different than the one I helped out with on the 7T forum.
cucumbersmell said:
I used Tulsadiver's core-only boot.img for the OP7T to root the phone by fastboot booting it and then using Magisk Manager to install to the active and inactive slots. Was hoping the boot.img for the 3a would work similarly. Was nice and simple and saved the time of having to download and patch the boot.img.
Click to expand...
Click to collapse
Edit: Sorry, seems I just missed the thread ?

Failed Update/Root Android 11

So I followed the steps to update to Android 11 while keeping Magisk. During this process, you uninstall magisk, you update, then you install magisk again before you reboot...more to it than that but you get the picture.
I got temporarily stuck in a boot loop, and when the phone did successfully reboot, it didn't update to Android 11 and Magisk isn't installed anymore. The system update page basically says 'restart now.'
I don't really want to lose root, I don't want to update and lose root and somehow lose my data trying to figure this out.
Any thoughts?
If you aren't using Magisk Canary, it won't work.
coachmarino said:
So I followed the steps to update to Android 11 while keeping Magisk. During this process, you uninstall magisk, you update, then you install magisk again before you reboot...more to it than that but you get the picture.
I got temporarily stuck in a boot loop, and when the phone did successfully reboot, it didn't update to Android 11 and Magisk isn't installed anymore. The system update page basically says 'restart now.'
I don't really want to lose root, I don't want to update and lose root and somehow lose my data trying to figure this out.
Any thoughts?
Click to expand...
Click to collapse
just back up your data first and then play around with it. just fresh install a11 then root
Losing root is only temporary and won't cause any trouble.
You just have to update to android 11, reboot, then once it boots with a clean boot img you can patch the boot img file with the latest magisk manager canary, then go in fastboot and flash the patched img.
TENN3R said:
Losing root is only temporary and won't cause any trouble.
You just have to update to android 11, reboot, then once it boots with a clean boot img you can patch the boot img file with the latest magisk manager canary, then go in fastboot and flash the patched img.
Click to expand...
Click to collapse
I don't tinker with my phone as much anymore...what's the process here?
coachmarino said:
I don't tinker with my phone as much anymore...what's the process here?
Click to expand...
Click to collapse
I usually do like this:
- Download full factory image, extract it from the zip and edit the "flash-all.bat" removing the "-w" from the last line, so it won't wipe the data while updating
- Inside the folder you extracted there is another zip, extract the boot.img from it
- Copy the boot image to the phone, and using the latest magisk canary select to install magisk updating a file, and select the image you just copied
- In generates a magisk_patched img, copy that on your adb folder on your pc
- Put phone in fastboot, start the edited flash all bat, once it ends the phone will reboot with your data but no root
- Go again in fastboot and run "fastboot flash boot magisk_patched.img --slot=all"
- Reboot, you should have root now
TENN3R said:
I usually do like this:
- Download full factory image, extract it from the zip and edit the "flash-all.bat" removing the "-w" from the last line, so it won't wipe the data while updating
- Inside the folder you extracted there is another zip, extract the boot.img from it
- Copy the boot image to the phone, and using the latest magisk canary select to install magisk updating a file, and select the image you just copied
- In generates a magisk_patched img, copy that on your adb folder on your pc
- Put phone in fastboot, start the edited flash all bat, once it ends the phone will reboot with your data but no root
- Go again in fastboot and run "fastboot flash boot magisk_patched.img --slot=all"
- Reboot, you should have root now
Click to expand...
Click to collapse
Perfect thank you

[GUIDE] Root OOS with TWRP

Update 220823: Update for TWRP 12 and some other minor changes due to the switch from SafetyNet API to Play Integrity API
Updated 211203: include Magisk Canary
Edited 220113: correct a mistake in the Keeping Root process; some formatting changes
I keep seeing posts that say you can't root OOS after an OTA unless you have a full image installation zip. That's just not true these days (September 2021).
You can use @osm0sis' method in https://forum.xda-developers.com/t/...ices-platforms.2239421/page-149#post-84764713
And @g96818 suggests using "Install to inactive slot" which works provided you do it properly - see https://forum.xda-developers.com/t/...00-kb2001-kb2003-kb2005.4178675/post-85801253.
And here's how to do it using TWRP.
What you'll need:
OOS 11: TWRP image (.img) and (optionally) installer zip from https://forum.xda-developers.com/t/recovery-11-alpha-teamwin-recovery-project-8t-kebab.4302449
OOS 12: TWRP image (.img) and (optionally) installer zip from https://forum.xda-developers.com/t/...win-recovery-project-8t-9r-2022-07-27.4473983
Magisk apk - using stable from https://github.com/topjohnwu/Magisk/releases or using Canary from https://github.com/topjohnwu/magisk-files/tree/canary
Universal SafetyNet Fix (UNSF-MOD) by @Displax from https://github.com/Displax/safetynet-fix/tree/integrity
I'm also assuming you have an unlocked bootloader, know how to use fastboot, how to use TWRP, and how to use Magisk.
I'll go through rooting a currently unrooted version of OOS and then doing an incremental update OTA.
Root unrooted OOS
Install the Magisk APK. I find that this works nicer than letting the stub download the full app the first time you use it.
Boot into bootloader mode.
Boot TWRP using fastboot boot x.img where x.img is the TWRP image file.
Take a backup of the current boot and recovery partitions as you'll need them for successfully updating when the next incremental OTA becomes available.
Install the Magisk APK, just like you would install any zip file in TWRP. Note: the APK must be named Magisk-*.apk otherwise TWRP won't list it. Also install USNF if you are using Magisk Canary.
If you want to keep TWRP then install the TWRP installer zip.
Reboot.
If you are using Magisk Canary, in Magisk>Settings enable Zygisk, Enforce DenyList, and Configure DenyList. Then reboot.
Keeping Root on an incremental OTA update
Note: you do NOT need to (but can if you want to) follow this process if you're installing a full OTA. You only need to install the full OTA and then install Magisk to the inactive slot and reboot from Magisk when it prompts you.
If your phone tells you you have an update:
If you have TWRP installed, then boot into TWRP and restore the stock recovery and reboot.
In Magisk tap on "Uninstall Magisk" and select "Restore images".
Install the OTA update but don't reboot yet.
Turn on airplane mode so that apps can't call SafetyNet when you reboot the phone without root.
Reboot
When the phone has successfully rebooted the updated system, boot into bootloader mode.
Boot TWRP using fastboot boot x.img where x.img is the TWRP image file.
Take a backup of the current recovery partition as you'll need it for successfully updating when the next incremental OTA becomes available.
Install the Magisk APK, just like you would any zip file in TWRP. Note: the APK file name must start with Magisk- otherwise TWRP won't list it. Your existing Magisk settings, modules, and [hidden] Magisk app will be preserved.
If you want to keep TWRP then flash the TWRP installer zip.
Reboot and disable airplane mode.
BillGoss said:
I keep seeing posts that say you can't root OOS after an OTA unless you have a full image installation zip. That's just not true these days (September 2021).
You can use @osm0sis' method in https://forum.xda-developers.com/t/...ices-platforms.2239421/page-149#post-84764713
And @g96818 suggest this method (https://forum.xda-developers.com/t/...1-kb2003-kb2005.4178675/page-25#post-85386145) but this doesn't work for everybody (it doesn't for me).
And here's how to do it using TWRP.
What you'll need:
• TWRP image (.img) and (optionally) installer zip from https://forum.xda-developers.com/t/recovery-11-alpha-teamwin-recovery-project-8t-kebab.4302449/
• Magisk apk - I'm using v23.0 stable from https://github.com/topjohnwu/Magisk/releases/
I'm also assuming you have an unlocked bootloader, know how to use fastboot, how to use TWRP, and how to use Magisk.
I'll go through rooting a currently unrooted version of OOS and then doing an incremental update OTA.
Root unrooted OOS
1. Install the Magisk APK. I find that this works nicer than letting the stub download the full app the first time you use it.
2. Boot into bootloader mode
3. Boot TWRP using fastboot boot x.img where x.img is the TWRP image file
4. Take a backup of the current boot and recovery partitions as you'll need them for successfully updating when the next incremental OTA becomes available
5. Install the Magisk APK, just like you would install any zip file in TWRP. Note: the APK must be named Magisk-*.apk otherwise TWRP won't list it.
6. If you want to keep TWRP then install the TWRP installer zip.
7. Reboot
Keeping Root on an OTA update
If your phone tells you you have an update:
1. If you have TWRP installed, then boot into TWRP and restore the stock recovery and reboot
2. In Magisk tap on "Uninstall Magisk" and select "restore images". Or, if you're like using terminal commands, restore the stock boot image (you backed it up with TWRP) to the current slot using dd
3. Install the OTA update but don't reboot yet.
4. Turn on airplane mode so that apps can't call SafetyNet when you reboot the phone without root
5. Reboot
6. When the phone has successfully rebooted the updated system, boot into bootloader mode
7. Boot TWRP using fastboot boot x.img where x.img is the TWRP image file
8. Take a backup of the current boot and recovery partitions as you'll need them for successfully updating when the next incremental OTA becomes available
9. Clean up old Magisk backup copies of stock boot images by using File Manager to delete /data/magisk_backup_* directories
10. Install the Magisk APK, just like you would any zip file in TWRP. Note: the APK file name must start with Magisk- otherwise TWRP won't list it. Your existing Magisk settings, modules, and [hidden] Magisk app will be preserved.
11. If you want to keep TWRP then flash the TWRP installer zip.
12. Reboot and disable airplane mode
Click to expand...
Click to collapse
ctsProfile fails. Is there a way to fix it? Tried stable Magisk and Canary.
morphius88 said:
ctsProfile fails. Is there a way to fix it? Tried stable Magisk and Canary.
Click to expand...
Click to collapse
Best place for getting support for Magisk is https://forum.xda-developers.com/t/magisk-general-support-discussion.3432382/
Hi,
Thanks for the guide!
What can i do if i forgot to backup stock boot and recovery?
berthur said:
Hi,
Thanks for the guide!
What can i do if i forgot to backup stock boot and recovery?
Click to expand...
Click to collapse
You have a number of options:
If your update was an incremental OTA:
1. Ask in the Q&A forum or in one of the update threads if someone can share those two partitions with you.
2. If you're on 11.0.10.10kb05aa then you can get boot from a number of the update/rooting threads and the recovery from this thread by @mslezak https://forum.xda-developers.com/t/...-rooted-users-install-from-fastbootd.4316147/
3. Use this tool by @mslezak to create the full partitions from an incremental update https://forum.xda-developers.com/t/...urrently-op8t-11-0-9-9-kb05aa-posted.4314677/
If you updated using a full installation zip:
- use payload dumper to extract the two partitions from payload.bin
BillGoss said:
You have a number of options:
If your update was an incremental OTA:
1. Ask in the Q&A forum or in one of the update threads if someone can share those two partitions with you.
2. If you're on 11.0.10.10kb05aa then you can get boot from a number of the update/rooting threads and the recovery from this thread by @mslezak https://forum.xda-developers.com/t/...-rooted-users-install-from-fastbootd.4316147/
3. Use this tool by @mslezak to create the full partitions from an incremental update https://forum.xda-developers.com/t/...urrently-op8t-11-0-9-9-kb05aa-posted.4314677/
If you updated using a full installation zip:
- use payload dumper to extract the two partitions from payload.bin
Click to expand...
Click to collapse
Than you!
Hello!
Does someone have a backup of the Stock recovery from OOS 11.0.10.10.KB05BA and can share it here?
Thanks in advance.
Wishmasterflo said:
Hello!
Does someone have a backup of the Stock recovery from OOS 11.0.10.10.KB05BA and can share it here?
Thanks in advance.
Click to expand...
Click to collapse
Download the zip from https://forum.xda-developers.com/t/oneplus-8t-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4193183/ and then use payload dumper to extract the files.
That worked like a charm. Thanks a lot.
I'm Magisk rooted and I have TWRP installed on my 8T EU model.
The OnePlus updater app registers that I am rooted and wants to download the full OTA.
Do I also have to do all the things you described after "Keeping Root on an OTA update" or is there a simpler way?
If yes, then I have a question regarding this step:
2. In Magisk tap on "Uninstall Magisk" and select "restore images".
Click to expand...
Click to collapse
Did Magisk automatically backup these images? Because I didn't do it myself. I only have backed up all my partitions (including boot) after I had installed TWRP and before I rooted.
EDIT:
BillGoss has thankfully already replied in another thread (in which I have basically asked the same question because I am an impatient bast***) where I suggested the overly present "easy" update scheme, which he expects to work. So this should be fine for other people in my situation:
1. Let the system download and install full OTA and DO NOT let the device reboot after it's done
2. Install TWRP A/B Retention Script
3. Install Magisk to inactive slot and reboot
EDIT2:
I just want to add that before having done the above mentioned steps 1-3, I have disabled all Magisk modules and rebooted the device. So the full procedure is the following:
1. Disable all Magisk modules and reboot
2. Let the system download and install full OTA and DO NOT let the device reboot after it's done
3. Install TWRP A/B Retention Script
4. Install Magisk to inactive slot and reboot
Youtube step by step video (he says that he "uninstalls" the Magisk modules but he just deactivates them):
Thanks @haitower
I've updated the OP to make it clear that the process described there only applies to incremental updates.
Also, to answer your question re Magisk backups: Magisk writes a copy of the installed boot image to /data/Magisk* before patching it. A "restore image" uses that backup.
BillGoss said:
I keep seeing posts that say you can't root OOS after an OTA unless you have a full image installation zip. That's just not true these days (September 2021).
You can use @osm0sis' method in https://forum.xda-developers.com/t/...ices-platforms.2239421/page-149#post-84764713
And @g96818 suggests using "Install to inactive slot" but this doesn't work for everybody (it doesn't for me) which works provided you do it properly - see https://forum.xda-developers.com/t/...00-kb2001-kb2003-kb2005.4178675/post-85801253.
And here's how to do it using TWRP.
What you'll need:
• TWRP image (.img) and (optionally) installer zip from https://forum.xda-developers.com/t/recovery-11-alpha-teamwin-recovery-project-8t-kebab.4302449/
• Magisk apk - I'm using v23.0 stable from https://github.com/topjohnwu/Magisk/releases/
I'm also assuming you have an unlocked bootloader, know how to use fastboot, how to use TWRP, and how to use Magisk.
I'll go through rooting a currently unrooted version of OOS and then doing an incremental update OTA.
Root unrooted OOS
1. Install the Magisk APK. I find that this works nicer than letting the stub download the full app the first time you use it.
2. Boot into bootloader mode
3. Boot TWRP using fastboot boot x.img where x.img is the TWRP image file
4. Take a backup of the current boot and recovery partitions as you'll need them for successfully updating when the next incremental OTA becomes available
5. Install the Magisk APK, just like you would install any zip file in TWRP. Note: the APK must be named Magisk-*.apk otherwise TWRP won't list it.
6. If you want to keep TWRP then install the TWRP installer zip.
7. Reboot
Keeping Root on an incremental OTA update
Note: you do NOT need to follow this process if you're installing a full OTA. You only need to install the full OTA and then install Magisk to the inactive slot and reboot from Magisk when it prompts you
If your phone tells you you have an update:
1. If you have TWRP installed, then boot into TWRP and restore the stock recovery and reboot
2. In Magisk tap on "Uninstall Magisk" and select "restore images". Or, if you're like using terminal commands, restore the stock boot image (you backed it up with TWRP) to the current slot using dd
3. Install the OTA update but don't reboot yet.
4. Turn on airplane mode so that apps can't call SafetyNet when you reboot the phone without root
5. Reboot
6. When the phone has successfully rebooted the updated system, boot into bootloader mode
7. Boot TWRP using fastboot boot x.img where x.img is the TWRP image file
8. Take a backup of the current boot and recovery partitions as you'll need them for successfully updating when the next incremental OTA becomes available
9. Clean up old Magisk backup copies of stock boot images by using File Manager to delete /data/magisk_backup_* directories
10. Install the Magisk APK, just like you would any zip file in TWRP. Note: the APK file name must start with Magisk- otherwise TWRP won't list it. Your existing Magisk settings, modules, and [hidden] Magisk app will be preserved.
11. If you want to keep TWRP then flash the TWRP installer zip.
12. Reboot and disable airplane mode
Click to expand...
Click to collapse
Hello,
Thank You for the detailed description, it helped me a lot.
I'm new with the Oneplus 8T phone. The last handset I had was the Mi MIX 2. The rules of using root are familiar to me and I understand everything from your description. I only have a question about TWRP, once I have them permanently installed on device, can I backup the system or date partition via TWRP? I always made backups in case i messed up something and didn't work properly.
This question came from https://twrp.me/oneplus/oneplus8t.html
They write there:
"This device uses Dynamic Partitions
This means that TWRP will not allow modifications to any of the partitions that make up the Super partition on the stock ROM. All backups and restores will include the full Super partition rather than the individual dynamic partitions.
In order to flash the individual partitions, you will have to boot into fastbootd."
I would be grateful for Your information, Thank You.
e1thx said:
Hello,
Thank You for the detailed description, it helped me a lot.
I'm new with the Oneplus 8T phone. The last handset I had was the Mi MIX 2. The rules of using root are familiar to me and I understand everything from your description. I only have a question about TWRP, once I have them permanently installed on device, can I backup the system or date partition via TWRP? I always made backups in case i messed up something and didn't work properly.
This question came from https://twrp.me/oneplus/oneplus8t.html
They write there:
"This device uses Dynamic Partitions
This means that TWRP will not allow modifications to any of the partitions that make up the Super partition on the stock ROM. All backups and restores will include the full Super partition rather than the individual dynamic partitions.
In order to flash the individual partitions, you will have to boot into fastbootd."
I would be grateful for Your information, Thank You.
Click to expand...
Click to collapse
See post #3 in https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2021-29-11.4302449/
Hello!
Today I saw that EU: 11.0.12.12.KB05BA was available as OTA Update so I started to download it using the "Keep root on OTA Update".
During the download I recognized that I was still only connected to mobile network 4G instead of WiFi.
So I stopped the download of the OTA, restarted the phone and turned on WiFi but now I don't get the notification for the new OTA Update anymore and when checking for new Updates it says that my OOS 11.0.11.11 is up to date.
I guess the system has somewhere already stored that I started the download of the new 11.0.12.12 OTA but did not finish it and now I don't get the message to download it anymore.
Any idea how I can fix this so that I can download the new OTA again?
Thanks a lot!
EDIT: I am downloading it now via OxygenOS Updater (the full OTA).
BillGoss said:
See post #3 in https://forum.xda-developers.com/t/...recovery-project-8t-kebab-2021-29-11.4302449/
Click to expand...
Click to collapse
I understand that if I want to restore system and data when something doesn't work for me then I just do recovery for all the partitions, system, data etc that I do in twrp?
Please see the update in the OP regarding OOS 12.

Twrp and Magisk Not Installing on OnePlus 8 Pro. Android 13

I want to install twrp and magisk on op 8 pro but I couldn't find any resources. I tried to install twrp in fastboot mode, this time it does not enter recovery mode. I found some information for Magisk installation, but I couldn't find anything for Android 13. Can anyone help me out with this please.
There's no TWRP for the OP8 series on Android 13. There's nothing to help you with.
FreshlyBaked 420 said:
There's no TWRP for the OP8 series on Android 13. There's nothing to help you with.
Click to expand...
Click to collapse
Then how can I install magisk?
Hasancaktar said:
Then how can I install magisk?
Click to expand...
Click to collapse
try it here: https://forum.xda-developers.com/t/discussion-magisk-the-age-of-zygisk.4393877/
It working, I using magisk + lposed on OnePlus 8 pro with android 13. I waiting for Twpr on tiramisu.
marcinx777 said:
It working, I using magisk + lposed on OnePlus 8 pro with android 13. I waiting for Twpr on tiramisu.
Click to expand...
Click to collapse
How did you install Magisk
Hasancaktar said:
How did you install Magisk
Click to expand...
Click to collapse
Download the firmware image, extract the boot.img file with python in cmd. Install magisk on one plus add the boot.img file to magisk it will generate its own and use flash adb on that file that's it
https://forum.xda-developers.com/t/...-payload-bin-using-payload-dumper-go.4468781/
marcinx777 said:
Download the firmware image, extract the boot.img file with python in cmd. Install magisk on one plus add the boot.img file to magisk it will generate its own and use flash adb on that file that's it
https://forum.xda-developers.com/t/...-payload-bin-using-payload-dumper-go.4468781/
Click to expand...
Click to collapse
How do I extract the img file and flash magisk. The link you gave is for 10r.
Hasancaktar said:
How do I extract the img file and flash magisk. The link you gave is for 10r.
Click to expand...
Click to collapse
You need to download the full firmware same as you have on your phone. Unpack the zip file, then unpack the payload.bin file with the program (payload-dumper), there will be a lot of files we only need boot.img . You install magisk applications in the application you click install magisk(root) you point to your boot.img file. Magisk generates its img file which you need to flash in fastboot. Remember to unlock OEM in developer options and then in adb and enable usb debugging.
There is working TWRP for A13. It works pretty good and I have used it. Check it out here
[TWRP][3.7.0-13][instantnoodle]TWRP for OnePlus 8/8Pro ][OFFICIAL][BETA 3]
TWRP for OnePlus 8 and 8 Pro TWRP is an open source, community project. TWRP development is done by a large support community with many people who are willing to answer questions and help people with their devices either through our IRC...
forum.xda-developers.com
Hasancaktar said:
I want to install twrp and magisk on op 8 pro but I couldn't find any resources. I tried to install twrp in fastboot mode, this time it does not enter recovery mode. I found some information for Magisk installation, but I couldn't find anything for Android 13. Can anyone help me out with this please.
Click to expand...
Click to collapse
I recently rooted my IN2025.F62.
At first, you need to unlock the bootloader. Let us know if you need help for that
To be rooted:
1. What DID NOT work: FLASH the official IMG file of TWRP downloaded from their website
I had to use MSM tool to install stock OOS 11 then slowly upgrade to OOS 13 through OTA.
2. What DID work: BOOT into TWRP thanks to twrp_op8_erofs-3.7.0-b3.img (source).
Then download Magisk.apk from Github, rename it to Magisk.zip and flash it from TWRP.
I didn't try yet but you can normally install TWRP from Magisk as reported here.

Categories

Resources