• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY][DUALBOOT][MAGISK][V6.3] TWRP/OrangeFox for the OnePlus 6/6t [29-Nov-2021]

Search This thread

Wishmasterflo

Senior Member
Nov 21, 2018
1,065
576
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

Installation instructions

Installation Video

EFI/NTFS Windows Installation instructions from Renegate Project

Source Code

Telegram Group


Changelog
11/29/2021 - 3.6.0-11 v6.3
- Updated with TWRP 3.6.0-11
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: 6.3
TWRP Version: 3.6.0-11
Orangefox Version: R11.1
Companion app Version: 2.9.2
Magisk Version: 21.4 (Magisk App 23.0)
Devices: Oneplus 6 (enchilada) / Oneplus 6t (fajita)
Latest Update: 29-Nov-2021
Maintainer: Wishmasterflo


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

Wishmasterflo

Senior Member
Nov 21, 2018
1,065
576
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
456
127
OnePlus 6T
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
115
13
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,065
576
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,065
576
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,089
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,065
576
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
761
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.
  • 3
    Hi all! :)

    FYI

    I am right now trying to fix that the Dualboot will work with Android 12 ROMs.
    That seems not to work right now.

    Also I have now fixed a bug in the black themed TWRP where the password decryption screen and some other parts were not shown because if was set to black instead of white and therefor not visible on the black theme!

    I will upload a new Version when I have fixed the Android 12 flashing.
    2
    Yes I think so. I remember that someone used my Dualboot with Android 9 and 10/11 as Dualboot.
    Well that's interesting I might have to try that.
    Yes, you can use A9 on 1 slot and A9, A10, A11 on the other. It was me lol. I I have RR 9 for pokemon go on slot a and AICP A11 on slot b
    2
    Can you Tell me in what order you installed it?
    I started from oss 10 and the tried to downgrade slot a. That didnt work i think i messed up the System a bit.
    I had OOS 10 on both slots. Twrp installed. Flashed dualboot from otg. Then flashed OOS 9 to inactive slot a, so A9 is now on slot a and A10 is on a lot b
    1
    Thanks for continuing the project, i always looking for it, this is the best👍😁😁😁
    1
    Yes I think so. I remember that someone used my Dualboot with Android 9 and 10/11 as Dualboot.
    Well that's interesting I might have to try that.
  • 24
    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

    Installation instructions

    Installation Video

    EFI/NTFS Windows Installation instructions from Renegate Project

    Source Code

    Telegram Group


    Changelog
    11/29/2021 - 3.6.0-11 v6.3
    - Updated with TWRP 3.6.0-11
    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: 6.3
    TWRP Version: 3.6.0-11
    Orangefox Version: R11.1
    Companion app Version: 2.9.2
    Magisk Version: 21.4 (Magisk App 23.0)
    Devices: Oneplus 6 (enchilada) / Oneplus 6t (fajita)
    Latest Update: 29-Nov-2021
    Maintainer: Wishmasterflo


    Credits:
    Zackptg5
    Teamwin
    The OrangeFox Team
    Mauronofrio
    TopJohnWu
    Ae3NerdGod
    Invernomut0
    acuicultor
    Morphine1
    4U Tech
    Renegade Project
    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.