OOPS! How do I redo initial setup after rooting with Magisk? - OnePlus 8 Pro Questions & Answers

Please help! After unlocking the bootloader, I used the wrong Google account and skipped through everything during the initial setup. Now that I'm rooted with Magisk (no TWRP due to being on OS 11.0.2.2), how can I redo the initial setup process for the phone so I can do it using a different Google account, and without skipping things like fingerprint setup or apps/data import?
Can I do a factory reset without losing root or Magisk? Should I?
Is there some easier way to wipe the data and start over from the initial setup without losing root or Magisk?
A huge THANK YOU! in advance to anyone who can help me figure this out! ❤

You can use fastboot and use fastboot -w

MariusKv said:
You can use fastboot and use fastboot -w
Click to expand...
Click to collapse
Perfect! Seems to have worked. Back in the initial setup now. Will know for sure once I am finished with the setup and can verify root and Magisk status. Thanks again!

MariusKv said:
You can use fastboot and use fastboot -w
Click to expand...
Click to collapse
I spoke too soon. I just was trying to browse the file system and having some trouble. installed root check to test if I was still rooted. Apparently not.

leveleyed said:
I spoke too soon. I just was trying to browse the file system and having some trouble. installed root check to test if I was still rooted. Apparently not. ☹
Click to expand...
Click to collapse
Scratch that. After posting that, I launched Magisk and it prompted me to reinstall the manager. then I reinstalled Magisk and rebooted. It seems fine now. Hooray!

Glad you got it sorted!

Related

[Q] Twrp in android N

After i boot in twrp with n preview asking a password for decrip device. I cannot install any kernel,need change anything?
You need to flash a modified boot.img for it to be able to decrypt properly, there's a link in section 2 of my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
There is an updated TWRP that you can flash that is able to read/write and doesn't ask for a password.
Heisenberg said:
You need to flash a modified boot.img for it to be able to decrypt properly, there's a link in section 2 of my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
I try but stuck in twrp first screen.
matheus_sc said:
After i boot in twrp with n preview asking a password for decrip device. I cannot install any kernel,need change anything?
Click to expand...
Click to collapse
Disable forced-encryption, and decrypt your 6P first. Here is my tutorial: http://www.droidorigin.com/decrypt-nexus-6p/
Once you have, you can flash TWRP easily.
matheus_sc said:
I try but stuck in twrp first screen.
Click to expand...
Click to collapse
What version of TWRP are you using?
Heisenberg said:
What version of TWRP are you using?
Click to expand...
Click to collapse
3.0.0.1, without format user data/decrypt, i cannot flash any kernel?
I made flash a kernel with flashfire app now all fine here.
I'm stuck too. What should I do? Did you figure it out?
Drewski_1987 said:
I'm stuck too. What should I do? Did you figure it out?
Click to expand...
Click to collapse
It is an issue with TWRP right now. It wouldn't work until you have disabled forced-encryption and decrypted your device.
Here is what you could do: http://forum.xda-developers.com/showpost.php?p=66354239&postcount=746
So does twrp work at all with the n previews? How does one root the previews without twrp? Looking at installing the fourth one, but I'm not willing to lose root.
I accidentally let the OTA try to update from Preview 3 to 4. It stuck on the TWRP splash screen 3.0.2-0 (I think). It didn't seem to fail or anything but it just would never go past that splash screen. I was being dumb, updating without access to a C to A cable so I thought I was screwed but I decided to try something else out. I hit the BP Tools button on the Bootloader menu and for some reason that booted my phone up like normal. I then tried to see if I could boot it up normally. No luck, same TWRP splash screen. BP Tools worked again, but I know its some developer setting and I don't want to mess with anything that could mess me up later. Does anyone know how to get past the TWRP screen? Also anyone know why BP Tools would boot but the regular boot wouldn't work? I guess this is what I get for being a dumbass. I knew I shouldn't but I get so damn excited about updates!
Thanks a lot.
51D7H3K1D said:
I accidentally let the OTA try to update from Preview 3 to 4. It stuck on the TWRP splash screen 3.0.2-0 (I think). It didn't seem to fail or anything but it just would never go past that splash screen. I was being dumb, updating without access to a C to A cable so I thought I was screwed but I decided to try something else out. I hit the BP Tools button on the Bootloader menu and for some reason that booted my phone up like normal. I then tried to see if I could boot it up normally. No luck, same TWRP splash screen. BP Tools worked again, but I know its some developer setting and I don't want to mess with anything that could mess me up later. Does anyone know how to get past the TWRP screen? Also anyone know why BP Tools would boot but the regular boot wouldn't work? I guess this is what I get for being a dumbass. I knew I shouldn't but I get so damn excited about updates!
Thanks a lot.
Click to expand...
Click to collapse
Same issue for me. Stuck on the splash screen with both 3.0.2-0 and 3.0.1-0.
Im here in N preview 4 also stuck on TWRP splash screen
Edit: i guess is because im encrypted
matheus_sc said:
I try but stuck in twrp first screen.
Click to expand...
Click to collapse
Drewski_1987 said:
I'm stuck too. What should I do? Did you figure it out?
Click to expand...
Click to collapse
DJBhardwaj said:
It is an issue with TWRP right now. It wouldn't work until you have disabled forced-encryption and decrypted your device.
Here is what you could do: http://forum.xda-developers.com/showpost.php?p=66354239&postcount=746
Click to expand...
Click to collapse
if you have a backup (titanium or nandroid), or don't mind starting from scratch you can make TWRP work with DP4 by:
fastboot erase cache
fastboot erase userdata
There's got to be a way to get around the encryption problem without decrypting the phone...
Would this work: when twrp asks for passcode to decrypt, say skip. Then take the SuperSU zip from my computer and put it on my phone via USB, and flash it from twrp.
Would it work even though twrp can't read my storage?
If your phone is encrypted, the only twrp that works is 3.0.0.0
You can use it to adb sideload supersu zip and root the phone. But won't be able to mount my partitions as it cant decrypt the phone.
Sent from my Nexus 6P using Tapatalk
asj0422 said:
So does twrp work at all with the n previews? How does one root the previews without twrp? Looking at installing the fourth one, but I'm not willing to lose root.
Click to expand...
Click to collapse
Look for CF Auto Root. This worked for me without TWRP on DP4.
mochamoo said:
Look for CF Auto Root. This worked for me without TWRP on DP4.
Click to expand...
Click to collapse
So you're encrypted and rooted on dp4? I might have to try that then...
asj0422 said:
So you're encrypted and rooted on dp4? I might have to try that then...
Click to expand...
Click to collapse
Yes.
Sent from my Nexus 6P using Tapatalk

[GUIDE] Log in to Snapchat on Stock Rooted ROM (NOOB-friendly)

tl;dr: fastboot boot to stock boot.img, log in to snapchat, reboot.
Hello All,
I was trying to log in to Snapchat and I discovered that it won't let you log in if you're rooted. I searched the forums and I found a lot of different solutions, but they required me to install Xposed or fully unroot, which seemed like a hassle. So, I decided to make a guide for the best way to do this on a stock rooted ROM.
1. Download the full system image for your device + build (https://developers.google.com/android/images)
This worked on my Pixel, it should work for other Nexus/Pixel/Pixel XL devices as well though.
2. Unzip the file
3. Unzip the image-sailfish-XXXXXX.zip inside the new folder
4. Connect your device to your computer with ADB and reboot to bootloader
5. fastboot boot path/to/boot.img (inside the folder from step 3.)
NOTE: Please make sure to fastboot BOOT, NOT fastboot FLASH.
6. Once booted, log in to Snapchat. It should work.
7. Reboot.
8. Backup Snapchat in Titanium Backup so you don't have to do this again.
You should now be logged in to Snapchat! Since you only booted to the stock unrooted image, you should still be rooted after you reboot in step 7.
Doesn't work babe
I just use magisk yes it's limited but it does what it need it for
avenator14 said:
tl;dr: fastboot boot to stock boot.img, log in to snapchat, reboot.
Hello All,
I was trying to log in to Snapchat and I discovered that it won't let you log in if you're rooted. I searched the forums and I found a lot of different solutions, but they required me to install Xposed or fully unroot, which seemed like a hassle. So, I decided to make a guide for the best way to do this on a stock rooted ROM.
1. Download the full system image for your device + build (https://developers.google.com/android/images)
This worked on my Pixel, it should work for other Nexus/Pixel/Pixel XL devices as well though.
2. Unzip the file
3. Unzip the image-sailfish-XXXXXX.zip inside the new folder
4. Connect your device to your computer with ADB and reboot to bootloader
5. fastboot boot path/to/boot.img (inside the folder from step 3.)
NOTE: Please make sure to fastboot BOOT, NOT fastboot FLASH.
6. Once booted, log in to Snapchat. It should work.
7. Reboot.
8. Backup Snapchat in Titanium Backup so you don't have to do this again.
You should now be logged in to Snapchat! Since you only booted to the stock unrooted image, you should still be rooted after you reboot in step 7.
Click to expand...
Click to collapse
This method wont work with the stock kernel. You would need to use a kernel that includes the safetynet patch since Snapchat checks against this. Magisk does work though. Just select Snapchat from the Magisk Hide settings menu once you get it installed properly.
uodii said:
This method wont work with the stock kernel. You would need to use a kernel that includes the safetynet patch since Snapchat checks against this. Magisk does work though. Just select Snapchat from the Magisk Hide settings menu once you get it installed properly.
Click to expand...
Click to collapse
I got this to work on my own stock rooted Pixel with the stock kernel. You are booting into an unrooted image using my method, so the SU binary will not be present. This was sufficient to allow me to log in to Snapchat, even though my bootloader was still unlocked. This works because the Pixel uses a systemless root.
real_stacky said:
Doesn't work babe
Click to expand...
Click to collapse
Are you using the right image? Make sure you are downloading the factory image, not the OTA image. This will only work if you are on stock firmware, and make sure to download the right factory image for your device and version.
avenator14 said:
Are you using the right image? Make sure you are downloading the factory image, not the OTA image. This will only work if you are on stock firmware, and make sure to download the right factory image for your device and version.
Click to expand...
Click to collapse
SafetyNet checks for an unlocked bootloader. That's why I said a patched kernel is required...Unless they changed something again, but this was definitely required a few months back.
uodii said:
SafetyNet checks for an unlocked bootloader. That's why I said a patched kernel is required...Unless they changed something again, but this was definitely required a few months back.
Click to expand...
Click to collapse
Hm yeah I can't really speak to the inner workings of SafetyNet, however I did have an unlocked bootloader at the time of performing this, so from my own anecdotal experience I can say that this method allows Snapchat to log in with an unlocked bootloader (I haven't tried it with other apps) on build NHG47K.
avenator14 said:
Hm yeah I can't really speak to the inner workings of SafetyNet, however I did have an unlocked bootloader at the time of performing this, so from my own anecdotal experience I can say that this method allows Snapchat to log in with an unlocked bootloader (I haven't tried it with other apps) on build NHG47K.
Click to expand...
Click to collapse
If that's the case, then it's good info. Maybe it only does a SU check instead of SafetyNet. Good info.
avenator14 said:
Are you using the right image? Make sure you are downloading the factory image, not the OTA image. This will only work if you are on stock firmware, and make sure to download the right factory image for your device and version.
Click to expand...
Click to collapse
Nvm i found an app on the play store that does the trick called Hide Rooting Lite. (Can't link it soz)
thanx this actually worked flawlessly. latest build twrp rc1 and rooted. I follow your instruction and it worked. now TB backup. thanx and rep for u.
Edit: after doing this I actually did a TB backup. deleted snapchat app and restore app+data using TB. having root and it still works.
Failed to boot boot.img ..... "dtb not found"....?
+1 mate
Titanium backup is also good for me cause I use the app kik and when you sign out you lose all your messages so I make backups and when restoring all my messages are back!!
Going be using that app more often now!!
https://www.youtube.com/watch?v=a-PtwtQFBWg
I made a video on how to increase your snap score. Hope you enjoy it!
cgrimm9 said:
I just use magisk yes it's limited but it does what it need it for
Click to expand...
Click to collapse
What do you mean it's limited? More features than SuperSU
---------- Post added at 11:29 AM ---------- Previous post was at 11:14 AM ----------
eduardmc said:
thanx this actually worked flawlessly. latest build twrp rc1 and rooted. I follow your instruction and it worked. now TB backup. thanx and rep for u.
Edit: after doing this I actually did a TB backup. deleted snapchat app and restore app+data using TB. having root and it still works.
Click to expand...
Click to collapse
Just use Magisk m8

January Images Posted

The January updates are up.
OTA is live too. Just 50.8 MB for 1st Gen XL.
ylapas said:
OTA is live too. Just 50.8 MB for 1st Gen XL.
Click to expand...
Click to collapse
Installing now
ylapas said:
Installing now
Click to expand...
Click to collapse
I just flashed January Factory image...standard process as past months. Same platform tools, same TWRP. Magisk v18. ElementalX v4.10. Up and running. Root works fine. Experimenting with BlackenedMod3.0 now. But all seems to be fine on this update so far. Good luck to all.
sb1893 said:
I just flashed January Factory image...standard process as past months. Same platform tools, same TWRP. Magisk v18. ElementalX v4.10. Up and running. Root works fine. Experimenting with BlackenedMod3.0 now. But all seems to be fine on this update so far. Good luck to all.
Click to expand...
Click to collapse
TWRP just booted of flashed?
The last update I heard about bootloops when flashing recovery and magisk 18, atm I only boot recovery to avoid any kind of problem. For you works fine?
TENN3R said:
TWRP just booted of flashed?
The last update I heard about bootloops when flashing recovery and magisk 18, atm I only boot recovery to avoid any kind of problem. For you works fine?
Click to expand...
Click to collapse
I have always just booted TWRP - I never have flashed it. Sorry for the confusion.
Has anyone been able to root the January update with Magisk?
UPDATE:
I haven't had any boot loop issues after updating, flashing TWRP, and routing with Magisk, so I thought I would post my steps:
Note: My bootloader is unlocked.
Before updating, I flashed the Magisk Uninstaller zip.
Once completed, I rebooted to bootloader and flashed the January factory image (saving data) > booted TWRP > flashed TWRP > rebooted recovery > flashed Magisk 18.0 > rebooted.
I haven't had any boot loop issues.
Magisk is installed and passes Safety Net check, but I wasn't able to grant root privileges for apps right away. It took a while (5 minutes) to get the prompt to grant root privileges. Finally got the prompt and now everything seems to be working correctly.
I hope this helps someone!
Does anyone have the January pre-rooted boot.img?
BoboBrazil said:
Does anyone have the January pre-rooted boot.img?
Click to expand...
Click to collapse
Not handy anymore, I deleted the .zip once I updated. But you should be able to grab it from the Factory image .zip readily available on the Google Developers site.
sb1893 said:
Not handy anymore, I deleted the .zip once I updated. But you should be able to grab it from the Factory image .zip readily available on the Google Developers site.
Click to expand...
Click to collapse
I need it pre-rooted. I'm trying to root someone else's phone for them and would be easier to just be able to flash it than transferring, using magisk manager, then transferring back to flash.
^^^
This is a 1st.........never seen anyone ask for it........LoL
BoboBrazil said:
I need it pre-rooted. I'm trying to root someone else's phone for them and would be easier to just be able to flash it than transferring, using magisk manager, then transferring back to flash.
Click to expand...
Click to collapse
Sorry - my mistake - when you said "pre-rooted" I took that to mean "before rooted" - meaning the stock boot.img. Unfortunately, I do not have the Magisk rooted boot.img handy. But, it only takes a few minutes to root using the standard process with Magisk....might be quicker than waiting for a response to your request??? Just a thought...good luck...
crackerjack1957 said:
^^^
This is a 1st.........never seen anyone ask for it........LoL
Click to expand...
Click to collapse
Pretty common on the newer pixel and OnePlus forums. Someone usually shares it to save others some of the work

Unsure what I did

but ....... I am in twrp unable to reboot into my rom. When I click on Install I see all these folders with letters and numbers and what my original folders.
Can somone help me boot into my rom again?
ms.journie said:
but ....... I am in twrp unable to reboot into my rom. When I click on Install I see all these folders with letters and numbers and what my original folders.
Can somone help me boot into my rom again?
Click to expand...
Click to collapse
You will more than likely need to format data. This will cause you to loose everything. But that is what you are seeing, those folders, are your data. Just encrypted.
Also make sure you are on the latest version of TWRP. Sometimes the older unsupported version had encryption errors.
Omg this saddens me! So there's no way I am unable to at least retrieve my pictures?
Scott said:
You will more than likely need to format data. This will cause you to loose everything. But that is what you are seeing, those folders, are your data. Just encrypted.
Also make sure you are on the latest version of TWRP. Sometimes the older unsupported version had encryption errors.
Click to expand...
Click to collapse
Have u tested change boot partition ?
yup
J3zz said:
Have u tested change boot partition ?
Click to expand...
Click to collapse
ms.journie said:
yup
Click to expand...
Click to collapse
Simple test are:
- change boot partition
- reflash system
- Say goodbye too all
Got the same problem, Solved After reboot in twrp and enter the good decryption code
I'm right in the middle of reflashing. I am trying everything else before I do say goodbye to my pictures! :crying:
How did you figure out the decryption code?
J3zz said:
Simple test are:
- change boot partition
- reflash system
- Say goodbye too all
Got the same problem, Solved After reboot in twrp and enter the good decryption code
Click to expand...
Click to collapse
ms.journie said:
I'm right in the middle of reflashing. I am trying everything else before I do say goodbye to my pictures! :crying:
How did you figure out the decryption code?
Click to expand...
Click to collapse
First time entering in twrp after flashing update, I did not get folder to flash magisk, did a reboot and get it, just a bad encryption code I think
Did u flash rom or anything else before getting this problem ?
Yup, I sure did! 4am couldn't sleep so I thought I would finally put a fingerprint mod on; which I have done this before with no issues. For the life of me, I don't remember which mod I tried to install thru Magisk.
My phone is currently stuck on "Phone is starting"
I also think it's time to look into some sort of automatic back up service..... Got any ideas?
J3zz said:
First time entering in twrp after flashing update, I did not get folder to flash magisk, did a reboot and get it, just a bad encryption code I think
Did u flash rom or anything else before getting this problem ?
Click to expand...
Click to collapse
ms.journie said:
Yup, I sure did! 4am couldn't sleep so I thought I would finally put a fingerprint mod on; which I have done this before with no issues. For the life of me, I don't remember which mod I tried to install thru Magisk.
My phone is currently stuck on "Phone is starting"
I also think it's time to look into some sort of automatic back up service..... Got any ideas?
Click to expand...
Click to collapse
Use msmdownloadtool, have u tried using magisk uninstall in twrp with zip file ? Then boot and uninstall the "****in" fantastic module... maybe it works
I did try to uninstall Magisk in twrp using adb shell. I never had any luck with that msmdownloadtool and not only that it relocks your bootloader.
I usually go this route [ROM][STOCK][FASTBOOT][OP6T] Stock Fastboot ROMs for OnePlus 6T https://forum.xda-developers.com/oneplus-6t/how-to/rom-stock-fastboot-roms-oneplus-6t-t3862516
Thanks for trying to me!
J3zz said:
Use msmdownloadtool, have u tried using magisk uninstall in twrp with zip file ?
Click to expand...
Click to collapse
ms.journie said:
I did try to uninstall Magisk in twrp using adb shell. I never had any luck with that msmdownloadtool and not only that it relocks your bootloader.
I usually go this route [ROM][STOCK][FASTBOOT][OP6T] Stock Fastboot ROMs for OnePlus 6T https://forum.xda-developers.com/oneplus-6t/how-to/rom-stock-fastboot-roms-oneplus-6t-t3862516
Thanks for trying to me!
Click to expand...
Click to collapse
Good luck !!
I saw this happen when I used the official TWRP app.
It went away when I used this TWRP. Hope that helps.
I'm glad you already know not to use the MSM tool. Too many people jump straight to this.....
You just need to boot the correct recovery and your data will decrypt, and you will be able to back it up to a PC, then you can reload your ROM via TWRP or Fastboot to get the phone bootable again. So now it's a question of what ROM were you running before. Do you need a recovery with the latest security patch or something older? What TWRP are you running. Try 3.3.1-6 psychen6 linked too first. Boot that image from Fastboot. See if your password/pin will work to decrypt your data.

How could I reset everything, update to 10.3.0 and then reinstall TWRP+Magisk?

Heya everyone,
I've got my 6T with Android 10 rooted that it's giving me some troubles. I made some mistakes when I updated to android 10 so now I would like someone to help me doing these steps the proper way.
I would like to:
Reset the whole phone with a fresh install of Android like factory, if possibile already updated to the Android 10.3.0 (i've already downloaded the full OTA and Ive got ADB installed and working),
then I'll want to install TWRP and Magisk from scratch too and at the end I'll install apps and I'll restore datas (only those needed like pictures or google drive/whatsapp backups).
I'm not sure which steps do I have to follow to do this without breaking something during the process.
Thanks
All is written here and still valid, read first posts carefully.
Use latest .30 twrp version and latest Magisk zip
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Striatum_bdr said:
All is written here and still valid, read first posts carefully.
Use latest .30 twrp version and latest Magisk zip
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Click to expand...
Click to collapse
Thanks. I'll follow the guide.
Before rooting how could I factory reset everything and update the phone. I would like to be sure that everything done in the past will be cleared.
Thanks
Sent from my ONEPLUS A6013 using Tapatalk
RikiBez said:
Thanks. I'll follow the guide.
Before rooting how could I factory reset everything and update the phone. I would like to be sure that everything done in the past will be cleared.
Thanks
Click to expand...
Click to collapse
Unlocking the bootloader is a factory reset. If already done, reboot in recovery and do it from there
Striatum_bdr said:
Unlocking the bootloader is a factory reset. If already done, reboot in recovery and do it from there
Click to expand...
Click to collapse
Do you mean from the TWRP recovery? I checked it but I don't know from which menu to do it.
Or is it possible and better to do it from ADB? If yes which command do I need to use?
RikiBez said:
Do you mean from the TWRP recovery? I checked it but I don't know from which menu to do it.
Or is it possible and better to do it from ADB? If yes which command do I need to use?
Click to expand...
Click to collapse
There is a factory reset function in phone settings > system
If not enough
https://twrp.me/faq/whattowipe.html
Please use Google that's exactly what I do to answer you
Striatum_bdr said:
There is a factory reset function in phone settings > system
If not enough
https://twrp.me/faq/whattowipe.html
Please use Google that's exactly what I do to answer you
Click to expand...
Click to collapse
I used Google and searched the forum. I read some guides but I made the thread cause I would like to have an help from someone that knows what I need to do step by step cause I don't want to fail.
Sent from my ONEPLUS A6013 using Tapatalk
[deleted]
Follow this thread to rollback to pie..
This will wipe your data and do the reset that you want..
From there you can update to latest 10.3.0 and install twrp and magisk afterwards...
https://forum.xda-developers.com/on...owngrade-oos-android-10-t4000645/post80843523
An important question is. Do you need TWRP? Because you don't need TWRP for root. If you want root, i suggest just flashing the patched boot.img.
You can factory reset from any recovery by wiping everything.
bokkoman said:
An important question is. Do you need TWRP? Because you don't need TWRP for root. If you want root, i suggest just flashing the patched boot.img.
You can factory reset from any recovery by wiping everything.
Click to expand...
Click to collapse
I'm not really sure for what I need TWRP but I always used to install it with Magisk.
Sent from my ONEPLUS A6013 using Tapatalk
Steps that I followed to solve
I would like to thanks @Striatum_bdr and @cultofluna for their tips.
I solved doing this:
I saved camera pictures, downloads folder and anything else I need by dragging and dropping from phone to PC. I also made backups of Whatsapp, Nova Launcher and other tools I would to restore.
I downloaded the rollback and folloed the instructions from here: https://forum.xda-developers.com/on...owngrade-oos-android-10-t4000645/post80843523
After that I started the phone skipping most of the requests
Updated it a couple of times until I was on Android 10.3.0
Then I followed the standard rooting guide for the OnePlus 6T: https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789 using files from this new post related to Android 10: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
When I finished I had a fully rooted Android 10.3.0 with TWRP on both slots.
At the end I made a factory reset from the system setting to clear the my answers to the questions that I skipped at the beginning and I configured it as I wish.
I downloaded apps and restored files and backups from PC and cloud drives
List of files that I've used:
https://drive.google.com/file/d/1L7EZGx5mgeQYXO19Vsp9FWu9GXhF45Qs/view (PC)
https://drive.google.com/file/d/1-uWQn-oHu_ROuDVCzIyrExoRbsSBYTtU/view (PC)
https://www.androidfilehost.com/?fid=4349826312261677894 (PC)
https://www.androidfilehost.com/?fid=4349826312261677893 (Phone)
https://github.com/topjohnwu/Magisk/releases/download/v20.1/Magisk-v20.1.zip (Phone)
https://github.com/topjohnwu/Magisk/releases/download/manager-v7.4.0/MagiskManager-v7.4.0.apk (Phone)
I guess the easiest way would to just go to recovery, wipe everything (after backup first of course).
Then adb sideload your ROM (in this example OOS 10.3.0) in recovery and let it install.
Reboot your phone and go thru first steps.
Go to fastboot and flash patched boot.img (magisk patched, look for the boot corresponding to your ROM) to gain root and reboot again.
Now you're all set.
No need for TWRP or anything. Just update the normal way and install magisk through magisk manager to inactive slot before you reboot after update.

Categories

Resources