Related
I've successfully unlocked bootloader, rooted (Magisk) and installed TWRP Blu Spark on my Oneplus 6.
The next step is to flash a custom ROM, but I keep running into the instruction "Flash Rom and TWRP Installer (blu_spark)", no matter what custom ROM I'm looking at.
Is it really necessary to reflash TWRP right after the ROM, or can I skip that step since Blu Spark TWRP is already on my phone?
Borat38 said:
I've successfully unlocked bootloader, rooted (Magisk) and installed TWRP Blu Spark on my Oneplus 6.
The next step is to flash a custom ROM, but I keep running into the instruction "Flash Rom and TWRP Installer (blu_spark)", no matter what custom ROM I'm looking at.
Is it really necessary to reflash TWRP right after the ROM, or can I skip that step since Blu Spark TWRP is already on my phone?
Click to expand...
Click to collapse
You need to reflash TWRP everytime you flash a rom becuase recovery partition does not more exist and recovery is integrated in boot.img
1. Wipe everything except internal storage in TWRP.
2. Flash OOS 9.0.X in twrp and flash twrp zip
3. Now reboot to twrp and repeat step 2.
4. Now flash your rom + twrp zip and reboot to twrp.
5. Flash Gapps, magisk or any other zip you want.
You should be good now.
Apachyx said:
1. Wipe everything except internal storage in TWRP.
2. Flash OOS 9.0.X in twrp and flash twrp zip
3. Now reboot to twrp and repeat step 2.
4. Now flash your rom + twrp zip and reboot to twrp.
5. Flash Gapps, magisk or any other zip you want.
You should be good now.
Click to expand...
Click to collapse
AH! Now that's the secret sauce--flashing 2x. The guides just indicate once, which is probably why when I restart, there's no OS and I get kicked back to TWRP. Thank you sir!! :good:
Can someone explain why I have to format internal data? My guess is the encryption key is changing. And I have no pin or password when I flash.
RUNNERX said:
Can someone explain why I have to format internal data? My guess is the encryption key is changing. And I have no pin or password when I flash.
Click to expand...
Click to collapse
Your guess is correct. Encryption. It has nothing to do with FP, or code. It's Googles securety patches basically. If you don't want to format look in the decrypt guide and run in decrypted.
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.
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
I am on 9.5.11 at the moment. I am rooted with magisk but don't have twrp at the moment. What are the correct steps to go to full stock android 10 and then root the phone again (either with twrp or not. Doesn't matter)?
I am downloading android 10 full rom as I am writing this post.
eltarod said:
I am on 9.5.11 at the moment. I am rooted with magisk but don't have twrp at the moment. What are the correct steps to go to full stock android 10 and then root the phone again (either with twrp or not. Doesn't matter)?
I am downloading android 10 full rom as I am writing this post.
Click to expand...
Click to collapse
You can't flash twrp on Android 10. You have to have twrp while in P and then carry it over to Q.
Or flash a patched magisk boot.img then flash twrp installer in magisk manager.
Easiest is to do a local upgrade and flash twrp rentension zip and then install magisk to other slot and reboot system
After that, you can reboot into twrp and do a factory reset to have a fresh install of Q.
harpin14789 said:
You can't flash twrp on Android 10. You have to have twrp while in P and then carry it over to Q.
Or flash a patched magisk boot.img then flash twrp installer in magisk manager.
Easiest is to do a local upgrade and flash twrp rentension zip and then install magisk to other slot and reboot system
After that, you can reboot into twrp and do a factory reset to have a fresh install of Q.
Click to expand...
Click to collapse
So...
1. Install twrp
2. Flash android 10 full rom .zip
3. While still in twrp install twrp retention zip
4. Flash magisk as it is
5. Boot to system
6. Go back to twrp and then go: wipe-format data-yes
7. Restart and phone should boot up normally
8. Go back to twrp and install magisk to gain root again
Correct?
eltarod said:
So...
1. Install twrp
2. Flash android 10 full rom .zip
3. While still in twrp install twrp retention zip
4. Flash magisk as it is
5. Boot to system
6. Go back to twrp and then go: wipe-format data-yes
7. Restart and phone should boot up normally
8. Go back to twrp and install magisk to gain root again
Correct?
Click to expand...
Click to collapse
First, do u currently have twrp?
If you do then:
1. Flash the Android 10 through local upgrade
2. Then in magisk flash twrp rentension module
3. Then in magisk, click install and install it to other slot
4. Reboot system
5. After booting into system, reboot to recovery
6. Do a factory reset in twrp and reboot into system
7. Go through setup.
So I'm bootloader unlocked for 10.0.0.1 I'm about to update to 10.0.3.
Everytime I try to flash recovery or boot recovery with twrp it doesn't work.
If I load it via magisk it works sometime but other times causes bootloops.
My biggest issue is booting/flashing twrp and When I flash a custom rom.
It says to flash on A and B. Sometime I can flash to one but when u change to other slot it wolnt flash or it'll show like it's encrypted any help? I've been on basic OS with NoLimits but now I wanna do kernel, rom flashing etc. Help?
If you want to update from .1 to .3 just do this(keeping in mind that you already had twrp and magisk)
Put update.zip in your internal storage
Go to settings>system>updates>local upgrade
Select update and install
Wait to finish but DONT REBOOT
go to magisk and install twrp installer(I use V3.3.1-74)
Then install magisk to inactive slot(after ota)
Reboot and that's it!
You can install custom kernel from twrp or fk kernel or any other app
If you want to install a rom you had to install to both slots(keep in mind that ROMs always be installed on inactive slot)
So make a factory reset(default by twrp wipes data and dalvik)
Install your rom and don't reboot(example if you are on A slot it will be installed to B)
Install twrp installer
Reboot to recovery( this will change slots A to B for example)
Install your rom (slot B to A and you will have your rom in both slots right?)
Again install twrp installer
Reboot to recovery
Flash gapps( if rom don't have it) magisk and kernel I personally recommend to flash after first boot
EDIT:
And another thing, if you get your internal storage encrypted and you can't access your rom,gapps,magisk you can always use adb sideload:
In your platform tools folder put your rom,magisk, etc and in twrp go to advanced>adb sideload and swipe to initiate.
In your command window use this:
adb sideload <nameofyourfile.zip>
Example: adb sideload magisk.zip
This will transfer and install magisk, ROMs and gapps
Sent from my OnePlus7Pro using XDA Labs
Here's the hinge on the rom right? Install on slot in recovery OK good got it. Reboot recovery try to install on other slot there is nothing on phone or its encrypted.