Question about upgrading A/B system and keeping TWRP - OnePlus 6 Questions & Answers

So when we upgrade the system, it erases TWRP.
From the experts out there, I just want to try to get this clear on what we need to do to keep TWRP. This is how I understand the process.
1) Have a copy of the twrp.zip in the phone internal storage.
2) Download the full stock system upgrade zip file (not partial).
3) Boot into TWRP, and use TWRP to flash the system upgrade, and don't reboot.
4) Flash TWRP from phone internal storage to put it back. Then I'm good to reboot.
Look correct?

Sepero said:
So when we upgrade the system, it erases TWRP.
From the experts out there, I just want to try to get this clear on what we need to do to keep TWRP. This is how I understand the process.
1) Have a copy of the twrp.zip in the phone internal storage.
2) Download the full stock system upgrade zip file (not partial).
3) Boot into TWRP, and use TWRP to flash the system upgrade, and don't reboot.
4) Flash TWRP from phone internal storage to put it back. Then I'm good to reboot.
Look correct?
Click to expand...
Click to collapse
use blu_spark twrp
1.Flash full OOS zip
2.Flash twrp.zip
3.reboot to system
optional
reboot to twrp after flashing twrp zip and flash magisk zip

Related

Downgrade OS

Is it possible to downgrade from cm13 to lollipop or cm 12.
You have a backup of your important data and a custom recovery installed, right?
0.- Download CM rom zip and GAPPS zip, and place them in your internal storage.
1.- Go to your custom recovery. Wipe Dalvik, Cache, Data and System Partitions (I use TWRP recovery on my devices)
2.- Flash the rom file
3.- Flash the gapps zip file.
4.- Reboot
If you want to go back to stock ROM, in the step 0 just download the zip for your device from this post and don't do the step 3 (these zips have gapps already installed).

Bootloop on one of the partitions

Hello. I've got my oneplus 6 with twrp, magisk, and custom kernel. I am currently on partition B. When i change partition to A on twrp and reboot, my Phone is bootlooping few Times until it changes back to partition B.
My thoughts are that i screwed something in the process of instalation and i don't understand fully the idea and workings of the A/B partition. So i have got a question.
When i want to install update and i want to retain root and kernel and twrp, i Will do:
1.Download full 1gb+ update from xda when it Will be available
2.Reboot into twrp (it Will be on slot B, where i have my system now)
3.Flash rom(it Will flash on A probably? But i Will still be on B for now until next reboot? )
4.Flash twrp as it flashes on both partitions
5.Reboot to recovery (Will be on A partition now?)
6.Flash magisk(it flashes on A?)
7.Flash kernel(it flashes on A?)
8.Reboot to system (i am on A with my updated system now, my bootloop is fixed and there is old, working version of system on partition B?)
9.Repeat the process when new updates are available.
primus19 said:
Hello. I've got my oneplus 6 with twrp, magisk, and custom kernel. I am currently on partition B. When i change partition to A on twrp and reboot, my Phone is bootlooping few Times until it changes back to partition B.
My thoughts are that i screwed something in the process of instalation and i don't understand fully the idea and workings of the A/B partition. So i have got a question.
When i want to install update and i want to retain root and kernel and twrp, i Will do:
1.Download full 1gb+ update from xda when it Will be available
2.Reboot into twrp (it Will be on slot B, where i have my system now)
3.Flash rom(it Will flash on A probably? But i Will still be on B for now until next reboot? )
4.Flash twrp as it flashes on both partitions
5.Reboot to recovery (Will be on A partition now?)
6.Flash magisk(it flashes on A?)
7.Flash kernel(it flashes on A?)
8.Reboot to system (i am on A with my updated system now, my bootloop is fixed and there is old, working version of system on partition B?)
9.Repeat the process when new updates are available.
Click to expand...
Click to collapse
When you flash system partition contained in the zip, recovery change slot.. so:
1) in TWRP flash update zip, it will be flashed in the unused slot (so if you're on A it goes on B and vice versa
2) flash TWRP zip (this is because in full zip you're going to flash even the original boot IMG so you'll lose TWRP if you don't reflash it instantly after the update
3) reboot to recovery, the system will now change partition A to B or B to A obviously depend on what partition you are
4) now you can flash magisk and kernel and whatever you want
5) reboot to system and enjoy
Sent from my OnePlus6 using XDA Labs
Hitman478™ said:
When you flash system partition contained in the zip, recovery change slot.. so:
1) in TWRP flash update zip, it will be flashed in the unused slot (so if you're on A it goes on B and vice versa
2) flash TWRP zip (this is because in full zip you're going to flash even the original boot IMG so you'll lose TWRP if you don't reflash it instantly after the update
3) reboot to recovery, the system will now change partition A to B or B to A obviously depend on what partition you are
4) now you can flash magisk and kernel and whatever you want
5) reboot to system and enjoy
Sent from my OnePlus6 using XDA Labs
Click to expand...
Click to collapse
Exactly what i wanted to know. Thanks for clarifying that, i forgot to reboot to recovery after flashing it, so it didn't change slot. Now i will remember. Cheers!
Thread can be closed

Recovery Rom Flashing - Steps

Please follow the Steps Correctly..
Use this Twrp ( SD card access enabled thanks to CosmicDan):
http://www.mediafire.com/file/cbiy2084dylmb1h/twrp-3.2.3.0-beryllium-20180831_microSD.img.7z/file
For New Recovery Rom Flashing...
1.Flash Fastboot recovery , Go to recovery ( Volume+ Power)
2.From Twrp Reboot into Recovery
3.Format data
4.Reboot to recovery
5.Wipe everything
(If you are not to access the internal storage even, then check if you have mounted the all the partitions in twrp.)
6.Flash the Rom + FE Disabler(Must)
7.Magisk (Optional)
.
Done
Reboot into system
Kindly check ... During 1st boot there is encryption or not...if it occurs ..u have do again these steps correctly
If Encryption is not there in First Boot ...U are done ....
Future Rom installation will be very easy
1.Juat boot into recovery
2.No need to backup restore wipe anything
3.From Twrp reboot into recovery
4.Flash the Rom - FE Disabler - Magisk(Optional)
Done
Reboot to System
Enjoy
Yuvi8870 said:
I don't know, These are 100% Correct...But it works for me..
Unless Otherwise U know perfectly..Please follow the Steps Correctly..
For New Recovery Rom Flashing...
1.Flash Fastboot recovery , Go to recovery ( Volume+ Power)
2.From Twrp Reboot into Recovery
3.Format data
4.Install FE Disabler ( If u can't access internal storage...do this step after reboot to recovery)
5.Reboot to recovery
6.Wipe everything
7.Flash the Rom + FE Disabler
8.Format data
9.Reboot to recovery
10.Again Flash FE Disabler + Magisk (Optional)
11.Install Recovery image file through Twrp ( Install -Select image - recovery -flash)
Done
Reboot into system
Kindly check ... During 1st boot there is encryption or not...if it occurs ..u have do again these steps correctly
If Encryption is not there in First Boot ...U have done ....
Future Rom installation very easy
1.Juat boot into recovery
2.No need to backup restore wipe anything
3.From Twrp reboot into recovery
4.Flash the Rom - FE Disabler - Magisk(Optional) + Recovery image
Done
Reboot to System
If anyone knows which Steps are unnecessary ... Kindly Reply here ...
Click to expand...
Click to collapse
do i need FE disabler if I want to go to global beta from global stable?
Fahim Ferdoush said:
do i need FE disabler if I want to go to global beta from global stable?
Click to expand...
Click to collapse
It doesn't matter... Whether it is beta or Stable..... If U want to access internal storage again via twrp( For again flash Rom in future without format internal storage) ...U definitely flash FE Disabler
Yuvi8870 said:
I don't know, These are 100% Correct...But it works for me..
Unless Otherwise U know perfectly..Please follow the Steps Correctly..
For New Recovery Rom Flashing...
1.Flash Fastboot recovery , Go to recovery ( Volume+ Power)
2.From Twrp Reboot into Recovery
3.Format data
4.Reboot to recovery
5.Wipe everything
(If you are not to access the internal storage even, then check if you have mounted the all the partitions in twrp.)
6.Install FE Disabler
7.Flash the Rom + FE Disabler
[[[[[8.Format data
9.Reboot to recovery
10.Again Flash FE Disabler + Magisk (Optional)]]]] Optional ... Safety Purpose
Done
Reboot into system
Kindly check ... During 1st boot there is encryption or not...if it occurs ..u have do again these steps correctly
If Encryption is not there in First Boot ...U have done ....
Future Rom installation very easy
1.Juat boot into recovery
2.No need to backup restore wipe anything
3.From Twrp reboot into recovery
4.Flash the Rom - FE Disabler - Magisk(Optional) + Recovery image
Done
Reboot to System
If anyone knows which Steps are unnecessary ... Kindly Reply here ...
Click to expand...
Click to collapse
Hi Sir,
i was in Stock miui9+unlocked bootloader+TWRP
I tried to follow these steps, but at some point i could no longer access the internal files, after doing step 9, was unable to see FE Disabler file.
Installed the miui 10, During 1st boot encryption appeared, i lost TWRP
What should i do from here? Can i install TWRP by fastboot again normaly, it will restore well to the miui10 beta that is in my system.
PS: I thing i made a mistake here, because e mark some boxs : (If you are not to access the internal storage even, then check if you have mounted the all the partitions in twrp.)
Thanks!
I think step no 6 can be skip
jimdorky said:
I think step no 6 can be skip
Click to expand...
Click to collapse
Safety Purposes ?
pack21 said:
Hi Sir,
i was in Stock miui9+unlocked bootloader+TWRP
I tried to follow these steps, but at some point i could no longer access the internal files, after doing step 9, was unable to see FE Disabler file.
Installed the miui 10, During 1st boot encryption appeared, i lost TWRP
What should i do from here? Can i install TWRP by fastboot again normaly, it will restore well to the miui10 beta that is in my system.
PS: I thing i made a mistake here, because e mark some boxs : (If you are not to access the internal storage even, then check if you have mounted the all the partitions in twrp.)
Thanks!
Click to expand...
Click to collapse
1st mount the first four boxes(Cache, System, Vendor,Data) in the mount screen
Whenever no access on internal...it means either u have nothing in internal or Permission not granted ...For nothing means u have to copy again... Permission issue means u have to reboot to recovery
(((Whenever u wipe everything (Include internal) or Format data ...it delete all files in internal ....So u have to connect the phone (From Twrp Screen) with Computer... again Copy those files to internal....and flash ...Bcz this Twrp can't read ur External Memory card ...so u have to copy those files again to internal... These steps only need during first installation..)))
New Twrp- enabled SD card access: (U can flash from SD card) http://www.mediafire.com/file/cbiy2084dylmb1h/twrp-3.2.3.0-beryllium-20180831_microSD.img.7z/file
If Force encryption appears on first boot ....U have to flash .. again from first ..... Otherwise Twrp is removed automatically ...and future Rom installation will be not easy..Bcz Internal ll be encrypted..so u can't access until u format it .... U have to do these 10 steps again in future ...If u done correctly these 10 now... future installation will be easy

custom Rom install never works!

Hey guys,
General custom Rom question. Each time I install any custom, following the directions 100% it will never install properly. No matter what when I reboot back into TWRP it doesn't mount data.
Here's some instructions for an example from the latest one I tried Havok.
What am I doing wrong?
How to install
+ if you are coming from OOS then you will need to wipe your data as well as internal storage due to encrypted data but if you had any custom ROM before then just wipe data. No need to wipe internal storage.
for updating
1: Flash ROM
2: Flash TWRP installer
3: reboot again to recovery to boot from second slot.
4: Flash Gapps
5: Flash magisk
6: wipe dalvik cache and reboot to system.
That's all.
use tool all in one to decrypt internal storage

[GUIDE] How to remove Encryption and Flash Any ROM without Wiping/formatting Internal Storage

As Thread title says, Guide for how to remove Encryption and flash any ROM if you are coming from Encrypted storage without wiping Internal Storage...
Requirement :-
1. Pitch Black recovery :- Download
2. No-Verity-Treble :- Download
3. fstab-ext4-noencrypt :- Download
4. Decrypted/patched Vendor ZIP :- Download
Steps to do it :-
1.Download Pitch Black Recovery
2. Flash it through existing recovery & reboot to recovery
3. After you enter pin & Recovery UI comes in, go to Wipe section the select Advanced wipe
4. Select Dalvik, cache, data & FBE Cache & wipe them
5. Now go in Tools & select Pin/Pass Remover, Flash it and done
6. Reboot into Recovery & it won't be asking for any password which means now we have unencrypted storage..
How to flash ROM on decrypted storage :-
1. Download Decrypted Vendor ZIP, Pitch Black Recovery, ROM, Gapps, Magisk (Optional), No-Verity-Treble & fstab-ext4 zip & Copy them into Device
2. Reboot Into Recovery
3. Wipe > Advanced Wipe > Select Cache, Data & Swipe to wipe it(No need to Wipe Internal storage)
4. Flash Decrypted Vendor ZIP, ROM, Recovery & Reboot to Recovery
5. Flash Gapps, Magisk, No-Verity-Treble & Reboot to System(If fails to boot or reboot into recovery, wipe cache & flash fstab-ext4 zip & reboot)
6. Done
When installing New Update
1. Download ROM Update ZIP, Recovery, Gapps, Magisk(optionsl), No-Verity-Treble & fstab-ext4 zip & Copy them into Device
2. Reboot Into Recovery
3. Flash ROM, TWRP & Reboot to Recovery
4. Flash Gapps, Magisk, No-Verity-Treble & Reboot to System(If fails to boot or reboot into recovery, wipe cache & flash fstab-ext4 zip & reboot)
5. Done
All the feedback/suggestions/complaints are welcomed..
Credits :-
@HatRiGt for No-Verity-Treble Zip
@Siddk for Pitch Black recovery
I had to do format my internal storage to get it working...but eventually it works ..now my phone is unencrypted.. Thanks for ur work.
raj3534 said:
I had to do format my internal storage to get it working...but eventually it works ..now my phone is unencrypted.. Thanks for ur work.
Click to expand...
Click to collapse
Hence it didn’t work you didn’t need to flash all of those zip but just format data.
Will this work for OnePlus 6T?

Categories

Resources