Procedure for custom rom to stock or custom rom to custom rom - OnePlus 6 Questions & Answers

guys, i have a little confusion:
What's the correct procedure for reinstall the stock OOS from a custom rom and the procedure for change custom rom to another one?
i ask this because every time i try i brick the phone. (so msmntool and lose internal storage)
my latest experiment:
i was on Havoc, rooted and blue_twrp
full wiped (cache's, data and system)
installed Full 9.0 OTA+ twrp on slot A
rebooted to twrp
installed again Full 9.0 OTA+ twrp on slot B
installed magisk
rebooted to system...
keep boot on recovery and also i canno't decrypt sdcard because twrp doesn't ask me the pin....
someone suggested to me to format data, but i don't want to lose my internal storage anytime...
help?

The best thing to do to avoid all of thi bs is to follow this guide:
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643

vivmar said:
guys, i have a little confusion:
What's the correct procedure for reinstall the stock OOS from a custom rom and the procedure for change custom rom to another one?
i ask this because every time i try i brick the phone. (so msmntool and lose internal storage)
my latest experiment:
i was on Havoc, rooted and blue_twrp
full wiped (cache's, data and system)
installed Full 9.0 OTA+ twrp on slot A
rebooted to twrp
installed again Full 9.0 OTA+ twrp on slot B
installed magisk
rebooted to system...
keep boot on recovery and also i canno't decrypt sdcard because twrp doesn't ask me the pin....
someone suggested to me to format data, but i don't want to lose my internal storage anytime...
help?
Click to expand...
Click to collapse
You dont have to flash the rom to both the slots. Just make a clean flash without format data.
First of all, Stay Encrypted :laugh:
Now from custom rom to Oxygen OS make a clean flash so follow the below:
Must Use Bluspark TWRP
1. Wipe Dalvik, System, Data & Cache
2. Flash the Full OxygenOS Rom Full Zip (Links available on my threads Beta or Stable Pie)
3. Flash the TWRP installer Zip
4. Reboot to RECOVERY to make sure TWRP stays and continue to root.
5. Flash Magisk Stable to maintain root (Avoid Beta)
6. Reboot System and Enjoy the latest firmware without any data loss
Make sure you follow above and also make sure:
1. Use Bluspark TWRP
2. Move from Pie To Pie / Pie to Oreo or Oreo to Pie might require a format.
Similarly follow the same if you want to move from Oxygen OS to Custom Rom, check the rom thread if the developer needs you to flash anything extra or firmware files.
Hope the above helps :good:

Funk Wizard said:
You dont have to flash the rom to both the slots. Just make a clean flash without format data.
First of all, Stay Encrypted :laugh:
Now from custom rom to Oxygen OS make a clean flash so follow the below:
Must Use Bluspark TWRP
1. Wipe Dalvik, System, Data & Cache
2. Flash the Full OxygenOS Rom Full Zip (Links available on my threads Beta or Stable Pie)
3. Flash the TWRP installer Zip
4. Reboot to RECOVERY to make sure TWRP stays and continue to root.
5. Flash Magisk Stable to maintain root (Avoid Beta)
6. Reboot System and Enjoy the latest firmware without any data loss
Make sure you follow above and also make sure:
1. Use Bluspark TWRP
2. Move from Pie To Pie / Pie to Oreo or Oreo to Pie might require a format.
Similarly follow the same if you want to move from Oxygen OS to Custom Rom, check the rom thread if the developer needs you to flash anything extra or firmware files.
Hope the above helps :good:
Click to expand...
Click to collapse
Thanks so much!

Related

OB10 to custom roms

Hi there, can someone enlighten me how yo flash custom roms?my device already unlocked bootloader and i know how to flash cuz i play with xiaomi mi5, sams galaxy3 , sony x8.
For now i dont have a twrp. Im going twrp by fastboot before this.
Im really sure that i already go through all of the post. But seems from OB10 is really complicated.
1.ready fastboot twrp, bluspark twrp,roms, gapps and magisk( if necessary) and custom kernel
2.fastboot twrp by cmd or else
3.wipe what here? Or just factory reset and leave internal storage?
*Here i confused, do i need to wipe for both slot. Im still new to a/b partition. And do i need to do that for both slot to flash as steps 4-10 as below?
4.flash roms then bluspark twrp
5.reboot to recovery
6.flash gapps,magisk? Then twrp back?
7.reboot to twrp
8.flash custom kernel then twrp again?
9.reboot system
10. End right?
Please help me here. I cant find the real and proper steps. The only way i found is from OB7 to custom roms as they share same security patch.
Thanks for any help.
1. Flash any strock rom.zip partition A.
2. After that recovery.zip
3. Reboot back to recovery
4. Confirm you are in another slot B
5. Flash stock rom.zip. Which slot first is not important.
6. After that flash recovery.zip and then reboot.
After that you can install whatever you want.
That what I do if im switching roms and trying new stuff.
Working everytime.
Until OB7 and stable 9.0.2 I used fasboot roms, flashed via AIO tool, but new fastboot roms working different and I got laggy video and audio.
Okeh thats clear for both slot. But for OB10 to any customs rom is it needed to flash OB7?
What do you mean by stock rom?bete rom or stable rom?
slayerliar said:
Okeh thats clear for both slot. But for OB10 to any customs rom is it needed to flash OB7?
What do you mean by stock rom?bete rom or stable rom?
Click to expand...
Click to collapse
Stock any offical rom for OP6
9.0.2 or 9.0.3 or any OB3,4,5,6,7,8,9,10
If you want custom rom, look instructions, there is mentioned what is base rom. That you need flash.
If there is custom rom based OB7 then you need flash OB7(probably working lower builds also)
Thank brotha. I think they need to state which firmware do we need to start from. Otherwise it will be like me that confusing as they will patch up more and more security.
slayerliar said:
Thank brotha. I think they need to state which firmware do we need to start from. Otherwise it will be like me that confusing as they will patch up more and more security.
Click to expand...
Click to collapse
Pie ROM, pie firmware. (Except pre release betas)
Oreo ROM, Oreo firmware.
ROM - always flash latest firmware of the OS you want pie or Oreo (I always go for latest and don't have any issues . Tho I'm back to oos ,debloated now.)
Twrp - Always after ROMs, before roboot.
Gapps - after twrp and reboot, to make sure it installs to the right slot, that's why you install twrp and then reboot.. this will change your slot from A to B or from B to A. Manual switch is never necessary
Flashing gapps flashes to the slot you are in right now, so flashing before the first reboot (after twrp flash) Will get it to the wrong slot.
Magisk - if you want root. After all.
After all this you can, if you want, flash decrypt ..if you don't need your device to be encrypted,this Will give you more to think of tho.. let's just not go into this now.
i understand the process, but get confused at which file to specifically flash twice when they say
"latest firmware of the OS". So lets say the custom ROM i want to flash needs a PIE firmware 9.0.2 or higher,
what file am i supposed to flash?
9.0.2-PIE-OnePlus6Oxygen_22_OTA_027_all_1810260000_d46787d2c9-FASTBOOT.zip
or
OnePlus6Oxygen_22_OTA_027_all_1810260000_d46787d2c9.zip

[Q] do we need to flash base ROM if another custom ROM needs the exact same base ROM?

Hey OP6 users
i thought of something. that might have been obvious for some people but maybe not for everyone.
when doing a clean flash for a custom ROM it is often needed that we flash a required base. Either OOS stable or a OOS beta version.. which ever is needed by the custom ROM.
we don't need to flash the base again when we're just updating the custom ROM (unless the custom ROM needs a newer version of the base
knowing that, is it still needed to flash the base when changing to a custom ROM that needs the exact same base?
correct me if I'm wrong, but it would save some time for us to not have to flash the same required base for another custom ROM which needs the same one we previously flashed.
it would save: two OOS + TWRP flashes every time and two TWRP reboots, which would be pretty nice?
it would also be nice to save that time if we just wanted to re flash the current ROM I/you/we were using for any reason.
then a clean flash of a current custom ROM in use or changing to another ROM with the requirement of the same base would just be as simple/fast as
Format Data !!!!(optiona)!!!!
Flash Custom ROM + TWRP.zip
Reboot TWRP
Flash Custom ROM + TWRP.zip
Reboot TWRP
Flash GApps.zip + Magisk
Reboot System
In general you don't have to flash the base ROM again to change your custom ROM. Even if one base is 9.0.3 and the other is 9.0.4 it is normally not necessary. The base Rom is foremost used for it's vendor (and other partitions) which are not touched by Custom Roms.
But you have to pay attention to your security patch level before you switch between ROMs.
And of course (strongly recommended) to wipe cache, data and system before switching to another ROM (a complete format is only needed uf you are rolling back to an earlier security patch level)
At least this is my experience and (little) knowledge about how android etc works.
Allthough, If you run into problems, rebasing your phone is always a good option. Helped me out a few times.
How much time do you think you are wasting out of your life when you have to flash a base file (give me seconds and % of HP)? ROFL...?
If I am flashing a new ROM, usually I clean flash, test the ROM... IF I LIKE --> clean flash again, and set it up proper.
Feels good coming fresh out of the box, knowing everything is working optimized.
Anways, with xXx.NoLimits and how smooth OOS is, personally I don't really see any point on flashing custom ROMs anyways anymore.
castrum_doloris said:
In general you don't have to flash the base ROM again to change your custom ROM. Even if one base is 9.0.3 and the other is 9.0.4 it is normally not necessary. The base Rom is foremost used for it's vendor (and other partitions) which are not touched by Custom Roms.
But you have to pay attention to your security patch level before you switch between ROMs.
And of course (strongly recommended) to wipe cache, data and system before switching to another ROM (a complete format is only needed uf you are rolling back to an earlier security patch level)
At least this is my experience and (little) knowledge about how android etc works.
Allthough, If you run into problems, rebasing your phone is always a good option. Helped me out a few times.
Click to expand...
Click to collapse
Aight yeah it thougt so. Ofc I wipe data before flashing a new rom. But thanks for your input/confirmation feels good to have other opinions and experiences then there's also the fact you also have to wait until your rom supports the new base, so u don't flash a new base then switch to your custom Rom and stuff won't work correctly hehe
@castrum_doloris
or anyone else here on the forum
now that our oneplus 6 got an official update i want to ask something. is this okey/safe to do
currently having omnirom installed in both slots and to update base could this work? or will it give problems
1 have custom rom installed with 9.0.4 base
2 flash oxygenos (9.0.5) x2
3 flash custom rom x2
4 reboot twrp
5 flash gapps + magisk
6 reboot system
if i flash oxygenos over omnirom just to update the base and never reboot system to oxygenos will this still give me problems with data? or is it a safe way to update the base ? or is the only way to go to do factory reset?
kewinhw said:
@castrum_doloris
or anyone else here on the forum
now that our oneplus 6 got an official update i want to ask something. is this okey/safe to do
currently having omnirom installed in both slots and to update base could this work? or will it give problems
1 have custom rom installed with 9.0.4 base
2 flash oxygenos (9.0.5) x2
3 flash custom rom x2
4 reboot twrp
5 flash gapps + magisk
6 reboot system
if i flash oxygenos over omnirom just to update the base and never reboot system to oxygenos will this still give me problems with data? or is it a safe way to update the base ? or is the only way to go to do factory reset?
Click to expand...
Click to collapse
Don't do it.
First, it is unneccessary (and useless) and second the security patch of 9.0.5 is too old compared to omni. Even if you don't boot into OOS System your whole storage won't get decrypted anymore (so you have to format your complete internal storage)
You have to get away a bit from this thought of the "Rom base". If you install a custom rom, you install a completely new system. The need of installing OOS "as a base" is mainly the vendor (and some other) partitions. And as long as these don't get updated/changed, your exact "base rom" is irrelevant.
9.0.5 doesn't have any significant changes. And these few changes are only relevant for the system itself (which would get deleted by installing a custom rom)
castrum_doloris said:
Don't do it.
First, it is unneccessary (and useless) and second the security patch of 9.0.5 is too old compared to omni. Even if you don't boot into OOS System your whole storage won't get decrypted anymore (so you have to format your complete internal storage)
You have to get away a bit from this thought of the "Rom base". If you install a custom rom, you install a completely new system. The need of installing OOS "as a base" is mainly the vendor (and some other) partitions. And as long as these don't get updated/changed, your exact "base rom" is irrelevant.
9.0.5 doesn't have any significant changes. And these few changes are only relevant for the system itself (which would get deleted by installing a custom rom)
Click to expand...
Click to collapse
okey I'm using the disable dm-verity, forceencrypt script btw. but okey i see now hehe. thanks for your answer

[GUIDE][FLASHABLE][H990] Downgrade Firmware [Oreo 8.0] to [Nougat 7.0] and back

About
**********
I created this to make it easier for users of the H990 (single SIM) variant to downgrade to Nougat from Oreo.
This is untested on any other variant. If anyone does brave the unknown, please let me know the outcome.
This is particularly helpful when using LOS 16 with working fingerprint sensor,
as previously we needed to KDZ to Nougat and then reroot. This is not the case anymore.
How
**********
This is a tricky process, so I cannot stress this enough: BACKUP EVERYTHING. Your ROM, your pictures, files, Whatsapps, Internal storage etc.
1 - The Downgrade
Do not reboot out of Recovery at all during this process.
Put all these files on a USB OTG or External SD Card.
1. Reboot to Recovery
2. Install the "old" TWRP 3.0.2.1 (for some reason only this version wipes data correctly)
3. Reboot to recovery
4. (This will delete all of your data) Format Data (type "yes")
5. Wipe Data, Cache, Dalvik and System
6. Flash the downgrade zip
7. Flash SuperRom 4.1. Do not choose a kernel in AROMA. Do not reboot in AROMA.
8. Flash MK2000 BTTF Nougat kernel
9. Flash Magisk
10. Reboot
2 - Going to LOS 16
1. Reboot to Recovery.
2. Flash the latest TWRP
3. Reboot to recovery
4. Wipe Data, Cache, Dalvik and System
5. Flash LOS 15.1
6. Reboot
7. Check camera and rotation work
8. Reboot to Recovery
9. Flash LOS 16
10. Flash Gamma Kernel (if desired)
11. Flash GApps Pie (9.0) Nano
12. Flash Magisk
13. Reboot
3 - Going back to Stock oreo
Do not reboot out of Recovery at all during this process.
Put all these files on a USB OTG or External SD Card.
1. Reboot to Recovery
2. Install the "old" TWRP 3.0.2.1 (for some reason only this version wipes data correctly)
3. Reboot to recovery
4. (This will delete all of your data) Format Data (type "yes")
5. Wipe Data, Cache, Dalvik and System
6. Flash my Rooted Stock H990 Oreo ROM (this restores all Oreo partitions)
7. Flash MK2000 Oreo kernel
8. Flash Magisk
9. Reboot
10. (Optional) You can now flash the latest TWRP again and restore an Oreo ROM backup.
Downloads
**********
Downgrade (8.0 to 7.0): Downgrade ZIP by @jl10101
Nougat ROM: SuperRom 4.1 (H990)
Nougat Kernel: MK2000 BTTF Nougat
Oreo Kernel: MK2000 Oreo
Oreo ROM: Rooted Stock H990 Oreo ROM by @jl10101
Root: Magisk
Thanks
**********
@i95swervin for the inspiration and instructions here
@dudeawsome for SuperRom 4.1 for the H990
@x86cpu for maintaining LOS for our V20 family
@askermk2000 for the fantastic MK2000 kernel
Hi JL
You have kindly help me rooting my phone ( I posted in Q&A and you gave me helpful answers. I have the DS version, and I am now now rooted with the 10B ame version. I would be tempted to install this, which seems straightforward. I will probably loose the dual sim, right? Anything I can do. I think I should backup EFS and modem,, and re-install them, right? (BTW, I am looking for how to back up these - the method I found doesn't seem to work with Magisk)
henrylar said:
Hi JL
You have kindly help me rooting my phone ( I posted in Q&A and you gave me helpful answers. I have the DS version, and I am now now rooted with the 10B ame version. I would be tempted to install this, which seems straightforward. I will probably loose the dual sim, right? Anything I can do. I think I should backup EFS and modem,, and re-install them, right? (BTW, I am looking for how to back up these - the method I found doesn't seem to work with Magisk)
Click to expand...
Click to collapse
Sure, I can try help
My first question though, is what the aim is? If you are on Nougat, and you want to go to LOS, then you don't need this.
This is mainly to go from stock Oreo to Nougat again (or Nougat again, then to LOS).
Thank you very much for responding.
I am going for stock oreo, just trying to recognise what I need to be aware of before upgrading. Can I just install this or alternatively the oreo AME in this track?
https://forum.xda-developers.com/v20/development/rom-h990ds-20a-ame-flashable-t3883897
Will I run into any problems about oreo partitions/ modem or is it simply to install this or alternatively yours?
Another q. - you use the old twrp, there is quite a lot about encryption in the twrp track, and the fhashable 20a ame I just linked to insists on the newest TWRP. j
thanks so much great guide
Hello bro, can you make one for 990DS or this can also be used for the same without any problem? All I want is to make fingerprint sensor to work with Oreo rooted. Please suggest how to go about it.
yes, I am asking the same question. is it working for H990DS? if not, could u make one for us?
thanks
Can you pleas re-upload:
Downgrade (8.0 to 7.0): Downgrade ZIP by @jl10101
Thanks in advance
Herman1990 said:
Can you pleas re-upload:
Downgrade (8.0 to 7.0): Downgrade ZIP by @jl10101
Thanks in advance
Click to expand...
Click to collapse
Anyone? @jl10101
fikhl said:
Anyone? @jl10101
Click to expand...
Click to collapse
Anyone has the files? Or can @jl10101 help? Thanks!
Can you please re-upload Downgrade ZIP by @jl10101

Update from OOS 5.1.4 to 9.0.7 with unlocked bootloader + magisk... is it safe?

Hello! I have my OP6 with OOS but I unlocked the bootloader, installed Magisk and now I would like to update via OTA to the OOS 9.0.7 but I need to know if there can be some problemsor consequences like brick or I will lose something. The phone already said that after updating I will lose root :crying:
Can somebody tell me how can I update to Pie safely?
If I need to do a nandroid backupora backupof media I can do it without prob with TWRP and storing all my data in the cloud.
Thanks a lot!
Make a full backup
1-Download the full rom 9.0.7
2-boot to twrp
3-flash the rom (dont wipe anything )and dont reboot because you need to flash twrp just after the rom
4-reflash twrp while you are still in recovery (or you can flash twrp just after the rom by adding it in the queue)
5-reboot to recovery (dont boot to system yet)
6-flash magisk
7reboot to system

Probably encrypted device TWRP files with weird file names - Android 12

Since oneplus 6 nas no security updates i decide to install custom ROM LineageOS 19.1 the newest build from official website.
Before installing this ROM i do all steps gently from Funky Wizard guide.
I have ADB drivers, unlock bootloader, installed magisk (rootet phone) backup my OOS and EFS, and installed twrp.
All basic stuff. Now i was ready to go to installed lineageOS.
I install lineage and i do all steps by their official website but with twrp. ( only what i dont flash copy partition zip file i wasnt sure if that will be work with twrp ).
After restart to recovery i must install gapps. Unfortunely the recovery was replaced i was assumed istead of twrp.
I installed gapps with their recovery and all work fine until i want to replace to twrp.
Now when i boot temporarly from img to install it perm. I have weird folder names wihtout any possibility to add ZIP file.
With some research i guess that folders are somehow encrypted.
Could you help me to install twrp with lineageOS when i have still access to this files? I need it for ex. recovery to stock if something in future goes wrong.
And i am currently on android 12 for sure.
Thank you from feedback!
first of all, you'd be better of if you posted this in the right area ==> https://forum.xda-developers.com/t/rom-official-enchilada-12-lineageos-19.4437321/ ==> more chance to get help related to LOS 19 questions (it's pure chance I saw your post here)
second: make sure to follow the instructions given at the LOS instructions pages ==> https://wiki.lineageos.org/devices/enchilada/
Mostly it is important that you have latest OOS 11 firmware installed in both slots before you start with LOS.
For the first steps never mind which recovery you have, just follow the instructions using LOS recovery. Reason is that TWRP is having problems wiping data / performing factory reset, at least it never worked for me. Then later on you can switch to TWRP
Back in May this year I wrote an instruction set here: https://forum.xda-developers.com/t/rom-official-enchilada-12-lineageos-19.4437321/post-86879331
Interesting for you right now is everything below 1.x
2.x is a separate instructiopn set for OTA updates coming later on
Good luck!
Thank you for response. You have right its better to install it directly from dedicated recovery (lineage) and than replace with twrp. Also i fill missing steps (install recovery again and flash parition integration file) and also wipe all data as instruction says. Now after reinstall lineageos and then install twrp i have all normal structure files as before. Thanks again

Categories

Resources