Magsik install in A/B partition - OnePlus 6 Questions & Answers

Hello
Currently I am on oss 10.3.3 stable
I am trying to install magisk in both A/b but not able to everytime bootloop
Can someone help me how to install
I have full rom zip and twrp right now

Related

Upgrade to OOS 5.1.6 from 5.1.5 using unofficial TWRP

I am using the Oos 5.1.5 and running unofficial TWRP 3.2.1-0 (i think, but sure its the unofficial build). I am rooted using magisk 16.4.
I want to upgrade to oos 5.1.6 using the zip file and also be rooted and also upgrade to twrp official version for oneplus 6 (if its better than unofficial).
So i want to upgrade to oos 5.1.6 using the twrp through the oos zip file.
If its possible please guide me. Btw i dont want to lose twrp or root or magisk......
Thank you in advance.....
I have upgraded my device using vpn for my phone now frequently freezes after so.e time of usage. I need to than power off and on the phome again.
You will lose twrp, root and magisk when you upgrade - it is unavoidable because of how the A/B partitions work. However , it's easy to get back.
There are multiple how-to guides in the Guides forum. Here's one: https://forum.xda-developers.com/oneplus-6/how-to/how-to-update-oos-5-1-6-install-t3801822
Just download the full zip locally. Flash it in twrp. Boot into fastboot. Flash twrp boot img through adb command which boots you into temporary official twrp. Then flash the official OP5 twrp zip which your can find through Google. Reflash magisk.
Suraj6ironman said:
I am using the Oos 5.1.5 and running unofficial TWRP 3.2.1-0 (i think, but sure its the unofficial build). I am rooted using magisk 16.4.
I want to upgrade to oos 5.1.6 using the zip file and also be rooted and also upgrade to twrp official version for oneplus 6 (if its better than unofficial).
So i want to upgrade to oos 5.1.6 using the twrp through the oos zip file.
If its possible please guide me. Btw i dont want to lose twrp or root or magisk......
Thank you in advance.....
Click to expand...
Click to collapse
Reboot recovery
Flash twrp installer zip (official)
Reboot twrp
Flash 5.1.6 full rom
Flash twrp installer zip ( official)
Flash magisk 16.0
Wipe cache/davlik
Reboot system

Losing TWRP and Magisk after update

I'm running stock ROM on unlocked bootloader with root through Magisk. I've been using TWRP, but changed over to Blu_spark TWRP recently.
Every time I update my OS Ota, I lose TWRP and Magisk. The Magisk app is installed, but the ROM is not rooted. If course, if I try to install patch the system so it's rooted through the Magisk app, it says that it can't unpack the file. If I reboot to recovery to install from there, I get the stock recovery, not TWRP.
I tried to re-install TWRP and Magisk once before, and borked my phone. I had to quote and start from scratch. I lost all data since I wasn't rooted and Titanium Backup would not run.
What is the proper way to get TWRP and Magisk back after an OTA update?
Flash them after you flash update zip. If you don't you will lose recovery and root every time. Gets overwritten by stock recovery. Normal behavior
Sent from my ONEPLUS A6003 using Tapatalk
So you're saying that instead of doing the OTA update, I should download the update from here, and manually update it ? Can I just install the update? I'm rooted, (well, I was) so the OTA will only download the full update. Is that required instead of the update?
I really have to do a full re-install for every update? That sucks. A lot.
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
MickyFoley said:
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
Click to expand...
Click to collapse
Ok. Cool. I tried that last time, but it failed. As a result, I'm a bit anxious about doing it again. Hopefully, I won't have any problems this time.
Thanks for the info.
I have had similar troubles as you, here's an overview of how to solve those problems.
OTA through OS:
Download and install OTA
Use Magisk Manager to download the TWRP A/B retention script and install it
Install Magisk to current and inactive slot
Reboot
Guys I am using latest blu_spark twrp. my bootloader is unlocked and I am running oxygenOS openbeta23. Following is my problem.
My flash order: (Note: already I have bue_spark twrp recovery running without issues)
1. Flash the full OTA(openbeta)
2. Flash the blu_spark twrp zip file on both active and non active slots.
3. Flash the latest magisk zip file. If step 3 is not successful means I will try to reboot in to recovery and again flash the magisk installer zip.
Until some time back all this worked fine. But for last 2-3 times although the flashing process of twrp zip on both slots ends with success message, when I reboot to recovery from twrp in order to flash magisk, the device boots in to stock recovery. I don't know how even after flashing twrp zip on both slots successfully why the devices bootbback to stock recovery. Then to have blu_spark twrp I have to connect my device to a computer in fastboot mode and then boot in to custom recovery using the blu_spark twrp image file and again flash the blu_spark twrp zip file which is inconvenient and also requires a computer.
Am I missing anything here?? If yes why this method was working perfectly before? Please somebody help.
Regards,
Sivabalan K
I flash in following order my stable updates
Flash full rom zip
Flash bluespark recovery
Restart into bluespark recovery
Flash magisk
Restart into Android
Everything works flawless. Magisk installed with all the modules running
Hi guys,
Don't you need to disable lock pattern/PIN or fingerprint/face ID? And don't need to uninstall magisk modules?
I never update my OP6 from my initial unlock/twrp/magisk and I'm a bit anxious to do it now...
Thanks
PS : I'm using original twrp (3.2.3-1), is this a problem?

Suggestion on installing OOS v9.5.4 on GM1917-GM21AA

Seems I am not finding a definitive guide to flash OTA or full OOS v9.5.4 on GM1917-GM21AA
Current setup:
OOS v9.5.3, rooted with Magisk patched boot, Magisk app and TWRP "non-decrypt"
Plan for upgrade to v9.5.4:
Place all files on USB OTG, TWRP zip, Magish v19.2, Magisk un-installer v2.0, OTA v9.5.4 182mb/Full 1.99gb "in case"
Boot to TWRP, access OTG, flash Magisk un-installer
Flash OTA v9.5.4
Flash TWPR zip, reboot TWRP
Flash Magisk v19.2
Am I on the right track? Am I missing some steps?
I want to minimize any bootloop scenario.
Tx guys.

[TUTORIAL_5/11/2019] Switch from TWRP_rooted OOS 9.0.9 to TWRP_rooted OOS 10 stable

Requirements:
1)Make sure you have working TWRP in your OOS pie 9.0.9
2)Download latest bluespark TWRP from the link https://github.com/engstk/android_device_oneplus_enchilada/releases
3)Download Magisk 20.1 from the link https://github.com/topjohnwu/Magisk/releases/download/v20.1/Magisk-v20.1.zip
4)Download android 10 stable rom
Procedure:
1)Boot in to TWRP recovery from your OOS 9.0.9
2)Flash latest bluespark TWRP_twrp-3.3.1-x_blu_spark_v9.107_op6.zip(downloaded from above link)
3)Reboot recovery
4)Flash OOS 10 stable rom
5)Flash latest bluespark TWRP(again)
6)Reboot recovery
7)Flash magisk 20.1
8)Reboot recovery
9)Reboot system
freeshared said:
Procedure:
1)Boot in to TWRP recovery from your OOS 9.0.9
2)Flash latest bluespark TWRP (downloaded from above link)
3)Reboot recovery
4)Flash OOS 10 stable rom
5) Reboot recovery
6)Flash magisk 20.1
7)Reboot recovery
8)Reboot system
Click to expand...
Click to collapse
you should flash twrp again after step 4, otherwise you will face yourself in stock recovery and you won't be able to flash magisk afterwards.
mcdachpappe said:
you should flash twrp again after step 4, otherwise you will face yourself in stock recovery and you won't be able to flash magisk afterwards.
Click to expand...
Click to collapse
Thanks,forgot typing that step in hurry,now updated
Code:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended with ERROR: 1
This is when flashing OOS stable 10 zip. What is wrong?
Kpenguin.5284 said:
Code:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended with ERROR: 1
This is when flashing OOS stable 10 zip. What is wrong?
Click to expand...
Click to collapse
Had the same issue. You have to be on a TWRP meant for android Q.
https://forum.xda-developers.com/oneplus-6/how-to/how-to-flash-twrp-magisk-android-10-t3988213
Follow this guide for TWRP, if it doesn't boot after using the slightly different ADB command they have, flash 9.0.9, do a local upgrade to A10 through OOS updater, then boot into the TWRP I linked, and then optionally (not neccessary, but going to 10 from 9 without a clean install felt wrong for me), do a clean install of A10 by doing wipe cache, data, and system, and then installing/flashing the A10 zip.
Once installed, don't reboot to system yet, instead see what A/B slot you're in, switch to the other slot that you're not in currently (maybe you have to boot to system first, and then reboot into android 10 twrp through ADB if that doesn't work), and flash magisk and reboot to system. I'm not sure if step #8 is neccesary, but if it is and your device isn't booting, boot into TWRP through ADB and switch into the other A/B slot.
freeshared said:
Requirements:
1)Make sure you have working TWRP in your OOS pie 9.0.9
2)Download latest bluespark TWRP from the link https://github.com/engstk/android_device_oneplus_enchilada/releases
3)Download Magisk 20.1 from the link https://github.com/topjohnwu/Magisk/releases/download/v20.1/Magisk-v20.1.zip
4)Download android 10 stable rom
Procedure:
1)Boot in to TWRP recovery from your OOS 9.0.9
2)Flash latest bluespark TWRP (downloaded from above link)
3)Reboot recovery
4)Flash OOS 10 stable rom
5)Flash latest bluespark TWRP(again)
6)Reboot recovery
7)Flash magisk 20.1
8)Reboot recovery
9)Reboot system
Click to expand...
Click to collapse
if i am using blu_spark extras v9.107 (A10 support) i will not run into any problems i hope.
when updating in Pie, i usualy will disable all magisk modules before updating, did you do that for updating to 10?
ferr4ri said:
when updating in Pie, i usualy will disable all magisk modules before updating, did you do that for updating to 10?
Click to expand...
Click to collapse
Yes, I always uninstall Magisk when flashing any OTA update.
freeshared said:
Requirements:
1)Make sure you have working TWRP in your OOS pie 9.0.9
2)Download latest bluespark TWRP from the link https://github.com/engstk/android_device_oneplus_enchilada/releases
3)Download Magisk 20.1 from the link https://github.com/topjohnwu/Magisk/releases/download/v20.1/Magisk-v20.1.zip
4)Download android 10 stable rom
Procedure:
1)Boot in to TWRP recovery from your OOS 9.0.9
2)Flash latest bluespark TWRP (downloaded from above link)
3)Reboot recovery
4)Flash OOS 10 stable rom
5)Flash latest bluespark TWRP(again)
6)Reboot recovery
7)Flash magisk 20.1
8)Reboot recovery
9)Reboot system
Click to expand...
Click to collapse
Just to be clear, you used TWRP 3.3.1-x blu_spark v9.107 from the Github link? I ask only because I currently have TWRP 3.2.3-x blue_spark and I want to make sure that the 3.3.1-x is for Android 10.
Kpenguin.5284 said:
Code:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended with ERROR: 1
This is when flashing OOS stable 10 zip. What is wrong?
Click to expand...
Click to collapse
Flash the correct TWRP recovery, go through the op once again,I haven't encountered any error,every thing went smoothly
ferr4ri said:
if i am using blu_spark extras v9.107 (A10 support) i will not run into any problems i hope.
when updating in Pie, i usualy will disable all magisk modules before updating, did you do that for updating to 10?
Click to expand...
Click to collapse
I only use busybox module and never disabled it while updating,but i suppose it will be safe to disable the magisk modules to be safe
djkidd said:
Just to be clear, you used TWRP 3.3.1-x blu_spark v9.107 from the Github link? I ask only because I currently have TWRP 3.2.3-x blue_spark and I want to make sure that the 3.3.1-x is for Android 10.
Click to expand...
Click to collapse
Yes use "twrp-3.3.1-x_blu_spark_v9.107_op6.zip"
To be honest, we now got to the point where it's as simple as "Just use the latest Blu.Spark TWRP and do as usual" haha, everything works as it should now !
Thanks for the tutorial.
It's works.
So I need to update from 9.0.2 before following the tutorial or can I jump straight to 10.0.1?
Any recommendations for stable oos 10 rom?
Haven't flashed yet but I've heard magisk 20.1 doesn't work and Android 10, is it working for anyone here?
ryanallaire said:
Haven't flashed yet but I've heard magisk 20.1 doesn't work and Android 10, is it working for anyone here?
Click to expand...
Click to collapse
Currently on Oos 10.0.1 with magisk 20.1 with no issues whatsoever.
Did standard dirty flashing with blu spark twrp 9.107.
Tapatalk'ed over the intertubes from my awesome enchilada
So i tried to follow the guide, but after i installed the full OOS rom, then install TWRP again, it said unsupported android version, and it went downhill from there... I ended using msmtool to recover, maybe it's cuz i used a 10.0.1 rom?

Question LineageOS 18.1 + Magisk OTA howto?

hi
i have a poco x3 pro, rooted (magisk) and running LineageOS 18.1
Now i get my first OTA and wonder how to retain root, after upgrading.
with my Mi A1 it was
* restore boot image from within magisk manager
* install OTA
* reinstall magisk after OTA in magisk manager in second partition
* reboot
as far as i see X3 Pro has no A/B scheme
I'm using TWRP and Magisk flashed as zip by TWRP. This way a proper addon script is installed and Magisk survives OTA. The same goes for gapps.
If you install Magisk by flashing prepared boot.img, then you have to repeat this procedure after each OTA update.
You don't have to restore original boot.img before OTA. LineageOS is not an incremental update, it is full system, which overwrites boot.img, regardless of what it contains.
thanks for answering. i did my first install this way:
install LOS via lineageos recovery, add gapps, add magisk, reboot
i now installed the OTA from inside Lineagos. root lost. i checked for the existance of /system/addon.d/99-magisk.sh and the script was (and still is) there. do i need to download OTA and afterwards install the update from recovery?
Maybe it is a problem of LineageOS recovery. I'm using official TWRP. You probably have to install Magisk again. I think you can switch to TWRP at any time, it is compatible with Lineageos.
worked, thanks for pointing me into the correct direction!
the steps so far:
1* reinstall magisk (by patching boot.img from the OTA and booting into that and reinstall magisk)
2* download the next OTA
3* install twrp (i used the path through play-store)
4* start the installation of OTA (from inside android)
5* poco reboots into twrp
6* unlock with my password/pin
7* twrp does some magic/installs OTA
8* boot into system
9* everything is fine
from now on it should work from step 4
merry xmas!

Categories

Resources