[RECOVERY][DUALBOOT][V7.2] TWRP/OrangeFox for the OnePlus 6/6t [28-Aug-2022]

Search This thread

Wishmasterflo

Senior Member
Nov 21, 2018
1,532
1,128
Stockholm
OnePlus 8T
Dualboot TWRP / OrangeFox
For the Oneplus 6 series


Dualboot_TWRP.JPG
Dualboot_Orangefox.png

Code:
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this mod
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

You can choose to install this Dualboot-mod with a blacked themed TWRP or with OrangeFox recovery.
Modified TWRP/OrangeFox and installer script for Oneplus 6 series that re-purposes userdata for true dual booting. You can also just use this as a regular stock recovery for flashing TWRP/Orangefox (Stock without Dualboot).
This mod has Magisk 21.4 build in as of now but you can just manually flash the latest Magisk afterwards if needed or you can install the lastest Magisk Version from the Magisk app.

You can select between A/B/(C) partition layout or stock partition layout (Dualbooting is only possible with A/B or A/B/C partition Layout not with Stock Layout!!)
On Stock Layout you can now choose to have a seperate partition called StockSD.
Seems that the StockSD Layout is not working correctly means if you flash a ROM it will just Bootloop.
I had no luck in finding out why this is happening.

You have to choose to install Magisk from the Dualboot-mod while flashing if you want to use the Common Data partition on A/B/C Layout or StockSD partition on Stock Layout.
A limitation of this Dualboot-mod is that you can only set a PIN/Password in one of the ROMs not on both.
more

Download

Download Bootable recovery.img files

Installation instructions or here more detailed instructions (thanks to @Joker)

Installation Video

EFI/NTFS Windows Installation instructions from Renegate Project

Source Code

Telegram Group


Changelog
08/28/2022 - 3.6.2-9 v7.2
- Updated with offical TWRP Version 3.6.2 (based on Android 9)
- new fresh Updated Orangefox Version with all the latest changes from Orangefox
- added Dualboot logo to Orangefox again
- Fixes in the Dualboot flashing script which caused the Data not getting mounted from recovery
- added back automatic installation of Magisk as that is needed for some patching from the script
view older Changelogs


Screenshots
Dualboot_TWRP2.pngDualboot_TWRP3.pngDualboot_TWRP4.pngDualboot_TWRP5.pngDualboot_TWRP_Companion_app.pngDualboot_Companion_app_2.pngOrangeFox_Dualboot_2.pngOrangeFox_Dualboot_4.pngOrangeFox_Dualboot_5.png

Dualboot Version: 7.2
TWRP Version: 3.6.2-9
Orangefox Version: R11.1
Companion app Version: 2.9.2
Devices: Oneplus 6 (enchilada) / Oneplus 6t (fajita)
Latest Update: 28-Aug-2022
Maintainer: Wishmasterflo


Credits:
Zackptg5
Teamwin
The OrangeFox Team
Mauronofrio
TopJohnWu
Ae3NerdGod
Invernomut0
acuicultor
Morphine1
4U Tech
Renegade Project
Joker
 
Last edited:

Wishmasterflo

Senior Member
Nov 21, 2018
1,532
1,128
Stockholm
OnePlus 8T
Oooooooo how Exciting! Can't wait to try this :D

Yes that is really cool stuff. I used the Version which Zackptg5 did for the Oneplus 7 series since I had a Oneplus 7 before which is dead now so I got a Oneplus 6t now.
Then of course I missed to have Dualboot on that so I tried to adjust the one from Zackptg5 from the Oneplus 7 series to the Oneplus 6 series.

This is really an Alpha stage of this mod now since I have not gotten everything to work as it should, also it seems to have issues when one of the slots is having Android 11 installed.
I am trying to fix all the things which are not working right now within the next days.
So one thing is that the Common data partition is not getting mounted from inside the ROM and I have not figured out yet what exactly is failing there.
The other thing is that it seems that sometimes for formatting of the partitions after changing to A/B/C Layout is not working so you have to manually do that. I have updated this information how to do this in the OP now.
 

koobie777

Senior Member
Sep 15, 2009
469
134
OnePlus 6T
Google Pixel 6 Pro
Yes that is really cool stuff. I used the Version which Zackptg5 did for the Oneplus 7 series since I had a Oneplus 7 before which is dead now so I got a Oneplus 6t now.
Then of course I missed to have Dualboot on that so I tried to adjust the one from Zackptg5 from the Oneplus 7 series to the Oneplus 6 series.

This is really an Alpha stage of this mod now since I have not gotten everything to work as it should, also it seems to have issues when one of the slots is having Android 11 installed.
I am trying to fix all the things which are not working right now within the next days.
So one thing is that the Common data partition is not getting mounted from inside the ROM and I have not figured out yet what exactly is failing there.
The other thing is that it seems that sometimes for formatting of the partitions after changing to A/B/C Layout is not working so you have to manually do that. I have updated this information how to do this in the OP now.
The last one I used was dualsix which was looking very promising with a custom twrp too but failed to work with the 6T, would be cool to see the black opo themed twrp with this for sure. Very glad to see this is coming to light and will gladly test as much as I can, was also going to suggest what you did there with further instructions which is always a good thing. Keep up the good work!
 

YousifG7

Senior Member
Feb 28, 2018
131
26
OnePlus 6
OnePlus 6T
could i suggest adding a ~48gb userdata_a and userdata_b option to the re-partitioning script for 128gb models so that we'd have a bit of a large space for each data slot and maybe leaving behind the rest of the space ~10gb for that commondata partition?... if not, is it possible to manually edit the script to achieve a similar result? Thanks in advance ?
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,532
1,128
Stockholm
OnePlus 8T
could i suggest adding a ~48gb userdata_a and userdata_b option to the re-partitioning script for 128gb models so that we'd have a bit of a large space for each data slot and maybe leaving behind the rest of the space ~10gb for that commondata partition?... if not, is it possible to manually edit the script to achieve a similar result? Thanks in advance

Hi! Thanks for your input. Yes, I can adjust that.
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,532
1,128
Stockholm
OnePlus 8T
Is It possible to have a video guide? Please?

I can do that later. First I have to fix some other things in the script to get everything working correctly. As of now by some reason the script is failing when trying to format the new partitions so that has to be done manually and is of cause not the best thing so I am focusing right now on to getting this fixed!
 

brajesh.sharma87

Senior Member
Jan 27, 2011
2,091
2,836
Kolkata
I can do that later. First I have to fix some other things in the script to get everything working correctly. As of now by some reason the script is failing when trying to format the new partitions so that has to be done manually and is of cause not the best thing so I am focusing right now on to getting this fixed!
Yes, give priority to making it better for now. Havent tried it yet but will do it tonight. Good job done.

Please tell if following combination of rom can work:
1. AOSP 10 based rom and AOSP 11 based rom
2. OOS 10 and AOSP 10 based rom
3. OOS 11 (once released) and AOSP 10 based rom

Is there any complications with kernels or they totally are independent

How do you handle booting into each rom, is it handled by twrp?
 

Wishmasterflo

Senior Member
Nov 21, 2018
1,532
1,128
Stockholm
OnePlus 8T
Yes, give priority to making it better for now. Havent tried it yet but will do it tonight. Good job done.

Please tell if following combination of rom can work:
1. AOSP 10 based rom and AOSP 11 based rom
2. OOS 10 and AOSP 10 based rom
3. OOS 11 (once released) and AOSP 10 based rom

Is there any complications with kernels or they totally are independent

How do you handle booting into each rom, is it handled by twrp?

Hi!
Yes it works with AOSP 10 and AOSP 11 based ROM.
Yes OOS 10 will work as well I guess the latest OOS Beta had some issues when used with Dualboot so I guess there needs
to be some more changes done here in order to get it better working with future OOS 11 updates and so on.

Yes you switch the slots (A to B or B to A) from within TWRP and boot to system then.

There is actually a way to create a shortcut on your Homescreen which will boot you to the opposite slot done by another user for here.
 

Causical

Senior Member
Feb 4, 2016
764
333
OnePlus 6T
Yes, give priority to making it better for now. Havent tried it yet but will do it tonight. Good job done.

Please tell if following combination of rom can work:
1. AOSP 10 based rom and AOSP 11 based rom
2. OOS 10 and AOSP 10 based rom
3. OOS 11 (once released) and AOSP 10 based rom

Is there any complications with kernels or they totally are independent

How do you handle booting into each rom, is it handled by twrp?
Great Questions!

Hi!
Yes it works with AOSP 10 and AOSP 11 based ROM.
Yes OOS 10 will work as well I guess the latest OOS Beta had some issues when used with Dualboot so I guess there needs
to be some more changes done here in order to get it better working with future OOS 11 updates and so on.

Yes you switch the slots (A to B or B to A) from within TWRP and boot to system then.

There is actually a way to create a shortcut on your Homescreen which will boot you to the opposite slot done by another user for here.
This is incredibly cool and the stuff in that link is dope af!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    Dualboot TWRP / OrangeFox
    For the Oneplus 6 series


    Dualboot_TWRP.JPG
    Dualboot_Orangefox.png

    Code:
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this mod
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.

    You can choose to install this Dualboot-mod with a blacked themed TWRP or with OrangeFox recovery.
    Modified TWRP/OrangeFox and installer script for Oneplus 6 series that re-purposes userdata for true dual booting. You can also just use this as a regular stock recovery for flashing TWRP/Orangefox (Stock without Dualboot).
    This mod has Magisk 21.4 build in as of now but you can just manually flash the latest Magisk afterwards if needed or you can install the lastest Magisk Version from the Magisk app.

    You can select between A/B/(C) partition layout or stock partition layout (Dualbooting is only possible with A/B or A/B/C partition Layout not with Stock Layout!!)
    On Stock Layout you can now choose to have a seperate partition called StockSD.
    Seems that the StockSD Layout is not working correctly means if you flash a ROM it will just Bootloop.
    I had no luck in finding out why this is happening.

    You have to choose to install Magisk from the Dualboot-mod while flashing if you want to use the Common Data partition on A/B/C Layout or StockSD partition on Stock Layout.
    A limitation of this Dualboot-mod is that you can only set a PIN/Password in one of the ROMs not on both.
    more

    Download

    Download Bootable recovery.img files

    Installation instructions or here more detailed instructions (thanks to @Joker)

    Installation Video

    EFI/NTFS Windows Installation instructions from Renegate Project

    Source Code

    Telegram Group


    Changelog
    08/28/2022 - 3.6.2-9 v7.2
    - Updated with offical TWRP Version 3.6.2 (based on Android 9)
    - new fresh Updated Orangefox Version with all the latest changes from Orangefox
    - added Dualboot logo to Orangefox again
    - Fixes in the Dualboot flashing script which caused the Data not getting mounted from recovery
    - added back automatic installation of Magisk as that is needed for some patching from the script
    view older Changelogs


    Screenshots
    Dualboot_TWRP2.pngDualboot_TWRP3.pngDualboot_TWRP4.pngDualboot_TWRP5.pngDualboot_TWRP_Companion_app.pngDualboot_Companion_app_2.pngOrangeFox_Dualboot_2.pngOrangeFox_Dualboot_4.pngOrangeFox_Dualboot_5.png

    Dualboot Version: 7.2
    TWRP Version: 3.6.2-9
    Orangefox Version: R11.1
    Companion app Version: 2.9.2
    Devices: Oneplus 6 (enchilada) / Oneplus 6t (fajita)
    Latest Update: 28-Aug-2022
    Maintainer: Wishmasterflo


    Credits:
    Zackptg5
    Teamwin
    The OrangeFox Team
    Mauronofrio
    TopJohnWu
    Ae3NerdGod
    Invernomut0
    acuicultor
    Morphine1
    4U Tech
    Renegade Project
    Joker
    11
    Hi all!

    FYI

    I got display issues on my Oneplus 6t so I can not use it anymore.
    Got a Oneplus 8t now so I will not do any more big development for this Dualboot for the Oneplus 6 series anymore unfortunately. :cry:
    Of course if it is just to Update Orangefox or TWRP to a newer Version I will still update it but I dont think I will be able to release much with new feature anymore.
    I know it is so sad.
    Have to see how I will live with my Oneplus 8t without Dualboot now.
    I can say that I already miss that I do not have my Dualboot on the Oneplus 8t now but since this device has dynamic partitions I can not implement/build a Dualboot for this device!
    8
    Dualboot_Orangefox_new_update.png


    Hi all!

    New Dualboot Update is up now. :)

    07/25/2021 - 3.5.2-9 v6.1

    Changelog:
    - Updated to OrangeFox
    Version R11.1
    - Updated Dualboot Companion App to V2.9.2
    - Added parted Tool to manage EFI/Windows partitions
    - Added quickmode option to create EFI partition Layout (more info will come!)


    Download Link is updated in the OP.
    I also linked an Installation Video (done by user 4U Tech) in the OP.
    More info regarding some more new stuff besides of the new Orangefox and Companion App Version will come soon.

    Have fun!
    7
    Hi all!

    A have uploaded a new Version with a small bug-fix now.
    Download Link is updated in the OP.

    Dualboot TWRP v4.4

    02/07/2021 - 3.5.0-9 v4.4
    - Fixed bug which caused that the quickmode options were not working
    7
    FYI

    I am just testing my Dualboot with creating EFI and NTFS Windows Partitions.
    Have successfully repartitioned to EFI, NTFS, Android (ext4) partitions now and can boot the UEFI Shell from Windows.

    I am using the Renegate Project Windows 11 on ARM for this. :)
    So the next Update of my Dualboot will have options to create the EFI, NTFS partitions if someone wants to try it out with the above mentioned project.