I'm new to this and twrp keeps disappearing - OnePlus 7 Pro Questions & Answers

Okay so this is my first device that I kept rooted (I'm a noob)
Every time I do an update and reinstall magisk and everything to keep root I lose my twrp installation, is this normal?
I use the tool all in one to install twrp and I make a point to make a twrp backup once a week.

- Flash OTA Update
If you are on slot A and flash a ROM / update, it goes to slot B
- Flash TWRP Installer zip
Keeps TWRP on both slots, patches boot.img
- Reboot to TWRP, not system
- Flash OTA Update again
This installs ROM to the other slot, now both slots are updated
- Flash TWRP installer zip again
Keeps TWRP on both slots, patches boot.img
- Flash Magisk
Patches the TWRP-patched ROM, allowing it to boot
- Wipe Dalvik
You can wipe data and dalvik instead for a clean flash
- Reboot to system
-------
The above process is the most sure-fire way to update and keep root. I'm assuming you're missing a step and losing TWRP in the process.

i.Design said:
- Flash OTA Update
If you are on slot A and flash a ROM / update, it goes to slot B
- Flash TWRP Installer zip
Keeps TWRP on both slots, patches boot.img
- Reboot to TWRP, not system
- Flash OTA Update again
This installs ROM to the other slot, now both slots are updated
- Flash TWRP installer zip again
Keeps TWRP on both slots, patches boot.img
- Flash Magisk
Patches the TWRP-patched ROM, allowing it to boot
- Wipe Dalvik
You can wipe data and dalvik instead for a clean flash
- Reboot to system
-------
The above process is the most sure-fire way to update and keep root. I'm assuming you're missing a step and losing TWRP in the process.
Click to expand...
Click to collapse
Now when I update do I need to reinstall custom kernels?

spart0n said:
Now when I update do I need to reinstall custom kernels?
Click to expand...
Click to collapse
Yes installing an update installs the stock kernel which is why you need to reinstall twrp and magisk.

i.Design said:
- Flash OTA Update
If you are on slot A and flash a ROM / update, it goes to slot B
- Flash TWRP Installer zip
Keeps TWRP on both slots, patches boot.img
- Reboot to TWRP, not system
- Flash OTA Update again
This installs ROM to the other slot, now both slots are updated
- Flash TWRP installer zip again
Keeps TWRP on both slots, patches boot.img
- Flash Magisk
Patches the TWRP-patched ROM, allowing it to boot
- Wipe Dalvik
You can wipe data and dalvik instead for a clean flash
- Reboot to system
-------
The above process is the most sure-fire way to update and keep root. I'm assuming you're missing a step and losing TWRP in the process.
Click to expand...
Click to collapse
This defeats the purpose of the A/B partition system. Also, the installation of the update, TWRP, and magisk can be done without booting into TWRP.
OP, there is a guide on how to do an OTA in the Guides section of XDA for this device

Related

twrp issue

Follow up from magisk thread
Twrp data mount issue
https://forum.xda-developers.com/ap...v1-universal-systemless-t3432382/post78395499
Did you do a factory wipe after installing TWRP?
Beanvee7 said:
Did you do a factory wipe after installing TWRP?
Click to expand...
Click to collapse
No, I didn't. Is that a necessity?
Because of encryption TWRP can't read the data partition until you've wiped in TWRP using the wipe method that makes you type in 'yes' to wipe.
After wipe TWRP can then read it. Afaik this is the only work around, you can flash things to turn off encryption, but iirc it doesn't undo encryption already there.
Are you using latest twrp version 3.2.3.0
Did you flash version 6 of the no verity opt zip
And I am going to assume that you formated data and not wipe data partition.
Are you running Oreo?
Because Samsung added quota support in their Oreo update for the /data partition. The official TWRP version isn't able to deal with the quota support yet, so you can't mount /data.
You should check out this post of Tkkg1994:
https://forum.xda-developers.com/ga...rp-herolte-t3333770/post77296102#post77296102
Tkkg1994 added quota support in that TWRP version he links in his post.
Don't use the official or twrp version in the 1st post, because those don't have the quota support yet.
@haro_h yes he is running on Oreo. Didn't know twrp for the s7 hasn't been updated for Oreo and the quota support many thanks.
@kiwigi follow the link provided by @haro_h it should take you straight to the post and at the bottom the download links. You can use either method (Odin or twrp ) it will overwrite current twrp.
Once done you will have to repeat the steps you have done already ie::
Format data
Flash no verity opt zip
Flash rmm state bypass zip
spawnlives said:
Are you using latest twrp version 3.2.3.0
Did you flash version 6 of the no verity opt zip
And I am going to assume that you formated data and not wipe data partition.
Click to expand...
Click to collapse
Thanks @spawnlives
also
thanks to @haro_h
and thanks @Beanvee7
That is exactly how I did it.
So a little change to what you mentioned here
1. Back apps and data
2. Unlock bootloader
3. Flash twrp with Odin - use latest version of twrp
4. Boot straight into twrp and FORMAT data.
5. When finished the format using twrp menu reboot back into twrp
At this stage if you reboot back into system it will re-encrypt your phone.
6. Flash no verity opt encrypt zip - this will prevent phone from re encrypting when booting into system.
https://build.nethunter.com/android-...y-opt-encrypt/
Flash RMM-State_Bypass_v2.zip(The only such file I found here)
7. Flash magisk
8. Reboot into system
kiwigi said:
Thanks @spawnlives
also
thanks to @haro_h
and thanks @Beanvee7
That is exactly how I did it.
So a little change to what you mentioned here
1. Back apps and data
2. Unlock bootloader
3. Flash twrp with Odin - use latest version of twrp
4. Boot straight into twrp and FORMAT data.
5. When finished the format using twrp menu reboot back into twrp
At this stage if you reboot back into system it will re-encrypt your phone.
6. Flash no verity opt encrypt zip - this will prevent phone from re encrypting when booting into system.
https://build.nethunter.com/android-...y-opt-encrypt/
Flash RMM-State_Bypass_v2.zip(The only such file I found here)
7. Flash magisk
8. Reboot into system
Click to expand...
Click to collapse
Glad it is all working.
It should be noted the rmm state bypass zip is the same version ( 1 or 2 ) doesn't matter where you download it from same as no verity zip.
Also you should.keep the no verity zip and rmm state bypass zip on your SD card or PC as I think you mentioned that you are moving and planning on re-,flashing your rom so you will have to redo all the steps again.
FYI all the rmm state zip does is modify a value in the build prop file and delete a system folder/file which prevents relocking of your bootloader when restarting your phone.

How to upgrade rooted/unlocked OOS 9 to latest without losing anything?

I am unlocked + rooted with Magisk. I want to stay that way.
Last time I upgraded from OOS 9.0.1 > 9.0.2 via UI, the upgrade wiped everything and I needed to start from scratch (as if I just got a new phone). Is there a way to make the upgrade seamless without losing everything? I want to upgrade to 9.0.3
https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
Post #3 has the instructions you need
Long story short you need to flash the update via TWRP.
unknown00 said:
I am unlocked + rooted with Magisk. I want to stay that way.
Last time I upgraded from OOS 9.0.1 > 9.0.2 via UI, the upgrade wiped everything and I needed to start from scratch (as if I just got a new phone). Is there a way to make the upgrade seamless without losing everything? I want to upgrade to 9.0.3
Click to expand...
Click to collapse
1. Download full ROM
2. Reboot to recovery
3. Flash full ROM
4. Flash TWRP
5. Reboot to recovery
6. Flash magisk
7. Reboot to system
tabletalker7 said:
1. Download full ROM
2. Reboot to recovery
3. Flash full ROM
4. Flash TWRP
5. Reboot to recovery
6. Flash magisk
7. Reboot to system
Click to expand...
Click to collapse
Just to confirm that this is how I have upgraded to 9.0.3 without problems days ago.
For 4. I have used blue spark twrp
Sent from my ONEPLUS A6003 using Tapatalk
RASTAVIPER said:
Just to confirm that this is how I have upgraded to 9.0.3 without problems days ago.
For 4. I have used blue spark twrp
Sent from my ONEPLUS A6003 using Tapatalk
Click to expand...
Click to collapse
tabletalker7 said:
1. Download full ROM
2. Reboot to recovery
3. Flash full ROM
4. Flash TWRP
5. Reboot to recovery
6. Flash magisk
7. Reboot to system
Click to expand...
Click to collapse
2 questions - why can't I do #6 after #3? Can I?
Also, do I need to do #4 since I have it already installed?
unknown00 said:
2 questions - why can't I do #6 after #3? Can I?
Also, do I need to do #4 since I have it already installed?
Click to expand...
Click to collapse
You can't do either thing you want to do there because of the added fun of the OnePlus 6 having A/B partitioning. With A/B partitioning there is no recovery partition, and recovery is now a part of boot. You need to flash TWRP again because the update will overwrite TWRP with stock recovery. And you have to wait til after the reboot to recovery to install magisk so it gets the partitioning right.
Like above.
Flashing ROM Will also flash stock recovery so after ROM you need to flash twrp again,if you reboot without it it's lost.
Also why magisk isn't flashed right away is because: when you choose to reboot to twrp after the twrp flash it Will change slot, this way you Will get magisk on the correct slot.
All this can be done from the OS.
Install the ROM upgrade as usual,don't reboot.
Open magisk app
Search for a module a/b twrp (you Will only find one module) and install it.ndont reboot just yet.
Go to main screen of magisk
Press install, install, install to inactive slot (after OTA). After this install you can reboot.
Both works, I find the twrp way to be more convenient
I don't about stable i am on open beta 10 i root every beta without twrp using patch boot image i got update every time around 1.5 GB because i am rooted after update i just lose root everything same before update phone not wipe anything
I upgraded vom 9.0.1 to 9.0.3 by
- Downloading the full 9.0.3
- Copy them to the sdcard root directory
- Update via settings / manual update - DO NOT REBOOT
- Reinstall Magisk into inactive slot with Magisk Manager
- Reboot
Works. But Magisk 18 MagiskHide does not work properly on my OP6, so I had to downgrade to Magisk 17.2.
- Download latest TWRP BluSpark .img, Magisk 18 uninstaller, Magisk 17.2
- Copy uninstaller and Magisk 17.2 to sdcard root
- Reboot into Fastboot
- Boot into TWRP by fastboot boot <name of TWRP BluSpark .img file)
- flash uninstaller
- flash Magisk 17.2
- Clear Dalvik cache
- Reboot and setup Magisk (settings in Magisk manager regarding Hide and root permissions were lost).
- Uninstall duplicate Magisk Manager 6.1.x (not compatible with Magisk 17.2).
akxak said:
I upgraded vom 9.0.1 to 9.0.3 by
- Downloading the full 9.0.3
- Copy them to the sdcard root directory
- Update via settings / manual update - DO NOT REBOOT
- Reinstall Magisk into inactive slot with Magisk Manager
- Reboot
Works. But Magisk 18 MagiskHide does not work properly on my OP6, so I had to downgrade to Magisk 17.2.
- Download latest TWRP BluSpark .img, Magisk 18 uninstaller, Magisk 17.2
- Copy uninstaller and Magisk 17.2 to sdcard root
- Reboot into Fastboot
- Boot into TWRP by fastboot boot <name of TWRP BluSpark .img file)
- flash uninstaller
- flash Magisk 17.2
- Clear Dalvik cache
- Reboot and setup Magisk (settings in Magisk manager regarding Hide and root permissions were lost).
- Uninstall duplicate Magisk Manager 6.1.x (not compatible with Magisk 17.2).
Click to expand...
Click to collapse
No need to reinstall TWRP in the first method?
unknown00 said:
No need to reinstall TWRP in the first method?
Click to expand...
Click to collapse
I do not have TWRP installed, it is basically not necessary as OOS can be updated with the settings/manual update tool and Magisk can be reinstalled via Magisk manager.
I had to use TWRP solely to downgrade to Magisk 17.2 from Magisk 18 as this cannot be done with Magisk Manager. But for that purpose, it's enough to temporarly make TWRP available via fastboot boot command without permanently installing it.
If you have TWRP and want to keep it, that easy process doesn't work to upgrade the OS.
unknown00 said:
No need to reinstall TWRP in the first method?
Click to expand...
Click to collapse
If you wanna keep TWRP you do the way I described few posts up.....
tabletalker7 said:
You can't do either thing you want to do there because of the added fun of the OnePlus 6 having A/B partitioning. With A/B partitioning there is no recovery partition, and recovery is now a part of boot. You need to flash TWRP again because the update will overwrite TWRP with stock recovery. And you have to wait til after the reboot to recovery to install magisk so it gets the partitioning right.
Click to expand...
Click to collapse
So magisk installs to the opposite partition you're currently booting from? Only reason I ask is because previously, I missed the second reboot before installing magisk and the phone wouldn't boot (long boot logo and eventual automatic restart to recovery). Ultimately, I just permanently installed twrp and was going to wait till the weekend to try root again in case there were issues. I'm currently booting from slot A. How do I install magisk now in recovery? Should I be in slot A or B in recovery for install? Or can I now just do it from magisk manager? Thanks for the info.
thejase said:
So magisk installs to the opposite partition you're currently booting from? Only reason I ask is because previously, I missed the second reboot before installing magisk and the phone wouldn't boot (long boot logo and eventual automatic restart to recovery). Ultimately, I just permanently installed twrp and was going to wait till the weekend to try root again in case there were issues. I'm currently booting from slot A. How do I install magisk now in recovery? Should I be in slot A or B in recovery for install? Or can I now just do it from magisk manager? Thanks for the info.
Click to expand...
Click to collapse
I am not entirely sure if it does or not, but again the A/B partitioning puts things in the boot partition instead of the partitions you are used to. Installing TWRP changes the boot partition, so you need to reload that boot partition before installing magisk will work right.
tabletalker7 said:
I am not entirely sure if it does or not, but again the A/B partitioning puts things in the boot partition instead of the partitions you are used to. Installing TWRP changes the boot partition, so you need to reload that boot partition before installing magisk will work right.
Click to expand...
Click to collapse
I guess I'll just try this upcoming weekend to install magisk via the manager inside Android. I'll try to remember to report back. Thanks for the help.
thejase said:
So magisk installs to the opposite partition you're currently booting from? Only reason I ask is because previously, I missed the second reboot before installing magisk and the phone wouldn't boot (long boot logo and eventual automatic restart to recovery). Ultimately, I just permanently installed twrp and was going to wait till the weekend to try root again in case there were issues. I'm currently booting from slot A. How do I install magisk now in recovery? Should I be in slot A or B in recovery for install? Or can I now just do it from magisk manager? Thanks for the info.
Click to expand...
Click to collapse
tabletalker7 said:
I am not entirely sure if it does or not, but again the A/B partitioning puts things in the boot partition instead of the partitions you are used to. Installing TWRP changes the boot partition, so you need to reload that boot partition before installing magisk will work right.
Click to expand...
Click to collapse
thejase said:
I guess I'll just try this upcoming weekend to install magisk via the manager inside Android. I'll try to remember to report back. Thanks for the help.
Click to expand...
Click to collapse
As promised, I'm writing back with my findings. I believe some enabled module in magisk was the issue. What I did was uninstall magisk 18 with the latest uninstaller. Thinking it was V18 itself that was the problem, I then proceeded to install v17.3 on both slots (reboot to recovery in betweene). This worked and booted! It started to occur to me that I had not disabled any of my modules before installation of the rom/magisk. This is a big mistake as a lot of magisk modules are still using old formatting and cause new installations to fail if left enabled. Since an uninstall also disables all modules, I believe using 17.3 was not necessarily the solution but rather either disabling modules before an install, or uninstalling whatever version magisk was installed to begin with (which essentially disables/uninstalls those modules anyway). After installing 17.3 and getting it to boot, I just updated via magisk manager to v18 with no issues to speak of! Now comes the part where I need to remember all the installed modules I had and test them one by one.
For uninstallation of modules in twrp, you can use https://forum.xda-developers.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165 Or https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242&nocache=1
I hope this helps someone!

100% proper way to install roms?

Hi
In every rom thread I see about a million different answers on how to properly install the rom. Usually the official instructions are very vague. I've been flashing roms for years but this ab partition is very confusing to me. I just got my oneplus 6 a few days ago. It would be great if someone very knowledgeable in how to do this could make a how to guide for both stock and custom roms. I think it would really help everyone and threads for each rom wouldn't be full of people asking it over and over (and getting different answers). Thank you devs for all that you do.
Custom if you don't know if you have the recommend base installed to both slots:
Flash OOS
Flash twrp
Reboot to twrp
Flash OOS
Flash twrp
Reboot to twrp
Wipe data, dalvik cache
Flash custom
Flash twrp
Reboot to twrp
Flash gapps
Flash magisk
Boot system
Custom update:
Flash updated custom rom
Flash twrp
Reboot to twrp
Flash gapps (not needed, but updated gapps is most likely better to use anyhow..)
Flash magisk.
From custom back to OOS:
Info: Format data needed because you will trigger encryptionsince you're on different securety patch. This is also the same way to go from beta branch of oos to stable since the securety patches is lower (in general) on stable.
How to:
Boot twrp
Plug phone in to pc and take backup of everything
When done format data
Transfer oos, twrp, magisk to phone
Flash oos
Flash twrp
Reboot to twrp
Flash magisk
Update oos from... Let's say 9.0.4 to 9.0.5
From Twrp:
Flash oos
Flash twrp
Reboot to twrp
Flash magisk
Boot
From oos:
Use ota update, let it install until it asks you to reboot.. DON'T DO IT.
instead go to magisk and search for "a/b" one module will be found, install it. DON'T REBOOT
Go to main screen of magisk and press install, install, install to inactive slot (after ota) when it's done you can reboot.
General ****ups:
Don't boot after update?
Flash magisk uninstaller
Try to boot (yes.. Without magisk)
If it boots you know it was magisk issue, most likely you had substratum overlays installed or modules that messed it up.
Reboot to twrp and flash magisk again and set up your modules one by one or apply themes or whatever you do with your root.

Oneplus 7 Pro can install updates anymore

Hello xda-comunity
I'm unable to install the oxygenos update 9.5.8 GM21BA
So I was following this guide to unlock my bootloader and root my phone with magisk.
( https://www.google.com/amp/s/www.xda-developers.com/unlock-bootloader-root-oneplus-7-pro/amp/ )
All went well. I got the notification that there is a new update (see above)
In the guide there was a step - by - step instruction on how to update the phone and keep root. I did that.
And now when try to install the update I get a bootloop into recovery. I figured out that the op7pro is a 2 slot phone ( slot a, slot b) and when I install a update it sets the for example slot b (where the update is installed) as default.
So when something goes wrong it just loads up the "previous" slot (in this example slot a) as default again and says that the update failed to install. Correct me if I'm wrong .
And now to the my problem, the phone doesn't load on slot b nor does it default back to slot a, instead I get a recovery bootloop when I'm in slot b.
The fix here is to flash twrp via fastboot and load slot a again, my phone then boots up like normal.
And here is the problem I can't install the update because I probably messed up slot b.
I know it's a long post and I appreciate every possible answer. Thanks in advance.
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
whatthekj said:
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
Click to expand...
Click to collapse
Thanks for the quick response I will try that as soon as I'm home from work. How do I find the ota? Can I download it? Or is it saves in a folder on the phone? Because I downloaded it like 3 times now.
jollyjumper2000 said:
Thanks for the quick response I will try that as soon as I'm home from work. How do I find the ota? Can I download it? Or is it saves in a folder on the phone? Because I downloaded it like 3 times now.
Click to expand...
Click to collapse
Use this thread https://forum.xda-developers.com/oneplus-7-pro/how-to/oneplus-7-pro-global-repo-oxygen-os-t3930585 and download the correct OTA for your phone. Copy it to the root of your phone then flash it in TWRP and follow the steps I gave you.
whatthekj said:
Wipe Data, Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and other zips like roms or kernels
Reboot system
This will install on both slots
Click to expand...
Click to collapse
On step 3 do I need to flash the rom new? even tho if i keep it stock? or do you mean the ota?
jollyjumper2000 said:
On step 3 do I need to flash the rom new? even tho if i keep it stock? or do you mean the ota?
Click to expand...
Click to collapse
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
whatthekj said:
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
Click to expand...
Click to collapse
No need to say sorry i´m so greatful for your help.
thanks again
whatthekj said:
Sorry I worded that oddly.
If you want to keep it stock then:
Wipe Data (Optional but recommended), Dalvik.
Flash the OTA, TWRP Installer.
Reboot to Recovery.
Flash the OTA, TWRP Installer again.
Reboot to Recovery.
Flash Magisk and/or kernels (Step is optional)
Reboot system
If youre installing a custom ROM like Havoc then:
Wipe Data, Dalvik.
Flash the OTA, ROM then TWRP Installer.
Reboot to Recovery.
Flash the ROM, TWRP Installer again.
Reboot to Recovery.
Flash GApps and Magisk (Step is optional)
Reboot system
Click to expand...
Click to collapse
Ok so I flashed the ota and twrp installer and rebooted into recovery
but now I cant find the ota and twrp installer files in the root folder. Maybe bec I´m on slot b now?
I dont know how to flash it the second time
Can i flash it from ADB on the PC? Because i flashed it from twrp. when yes what are the commands for it?
jollyjumper2000 said:
Ok so I flashed the ota and twrp installer and rebooted into recovery
but now I cant find the ota and twrp installer files in the root folder. Maybe bec I´m on slot b now?
I dont know how to flash it the second time
Can i flash it from ADB on the PC? Because i flashed it from twrp. when yes what are the commands for it?
Click to expand...
Click to collapse
You can drag the files back into the root of your phone and flash them on the other slot. You could ADB fastboot but just dragging the zips to your phone is easier in my opinion.
whatthekj said:
You can drag the files back into the root of your phone and flash them on the other slot. You could ADB fastboot but just dragging the zips to your phone is easier in my opinion.
Click to expand...
Click to collapse
Sorry if Iam stupid but is that how it works?
I flash the zips on slot a then reboot to boot into slot b to flash it there again?
Because I dont get it, am I missing something here?
Edit: Seems like I Bootloop into recovery on slot b.
jollyjumper2000 said:
Sorry if Iam stupid but is that how it works?
I flash the zips on slot a then reboot to boot into slot b to flash it there again?
Because I dont get it, am I missing something here?
Edit: Seems like I Bootloop into recovery on slot b.
Click to expand...
Click to collapse
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Edit: If youre getting a bootloop or having bugs then follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-f to get back to stock international
Then follow https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322 then flash Magisk and reboot
This is ONLY if you cannot get it to boot after updating
whatthekj said:
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Click to expand...
Click to collapse
Ok but how do i do that when slot b is empty?
I dont know how to put files on slot b.
When I switch slots I have to reboot.
I can only boot into system on slot a.
whatthekj said:
Yes you flash on both slots. If youve already flashed both then flash magisk and reboot to system. It should take about 10min to boot so dont worry.
Edit: If youre getting a bootloop or having bugs then follow this https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-f to get back to stock international
Then follow https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322 then flash Magisk and reboot
This is ONLY if you cannot get it to boot after updating
Click to expand...
Click to collapse
Your link gets me to the front page of the Oneplus 7 pro Guides, News, etc....
It should've taken you to the Fastboot thread. Look at this one instead https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Alright i flashed the ROM new
Was able to install the newest ota just perfect.
Kept it unrooted, I think I'm gonna let it unrooted because of all the work I have to do Everytime a new ota comes (maybe later when the phone is older)
Thank you so much for your help.

Android 10 & Custom ROM & Slot A + B

Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
First Time Install / Clean Flash
- Have OOS 10.3 flashed to both slots!!
- Boot to recovery
- Flash BUILD.zip (TWRP built-in)
- Wipe Cache
- Format data
- Reboot to recovery (optional)
- Flash Magisk.zip (optional)
- Reboot to system & #KeepEvolving
Click to expand...
Click to collapse
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
roel1976 said:
Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
Click to expand...
Click to collapse
Hi!
I had this exact same problem a couple months ago. Rebooting to recovery used to change slots for me, but then it stopped.
What you can do is change active slot manually on Reboot section. By doing this, you don't even have to reboot to recovery in other to flash the other slot (altough I do it just to be safe).
And remember: the rom is flashed on the inactive slot, so after the final flash you gotta change slots one more time.
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Thanks for the info, it really helps.
One question: in your experience can you wipe your phone and then installl OOS on the wiped phone?
So I just booted into TWRP, did standard wipe action: Data, Cache, and Dalvik. I then try to flash the latest OOS zip and I then get this error:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended withL ERROR: 1.
Error installing zip file: '/usbstorage/00, INSTALL/OnePlus6Oxygen_22_OTA_044_all_2002220042_a46425f1bfe43d2.zip
FIXED: I was using TWRP 3.3.1.11 and I then found out there was a newer version: 3.3.1.18 which you can get here: https://sourceforge.net/projects/mauronofrio-twrp/files/Enchilada/
I am now able to install OOS from scratch (ie wiped phone).
remewer said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
harshybar said:
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
Click to expand...
Click to collapse
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
remewer said:
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
Click to expand...
Click to collapse
When you say local update you mean while I am running the rom, go to settings then do update from local source?
harshybar said:
When you say local update you mean while I am running the rom, go to settings then do update from local source?
Click to expand...
Click to collapse
Exactly
GuestD2559 said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
@Cypher_01, Try this guide. This worked for me. I did not reinstall Nikgapps. Maybe that's where the problem lies? Don't forget to change the update slot at the end before you restart.​

Categories

Resources