yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi!

You can aftter booted a TWRP.img just flash the dualboot from TWRP and choose to leave the Stock layout. Then you can use it as a normal recovery without Dualboot.
[OnePlus 6 & 6T Cross Device Development] Evon88:
thank you for reply, but what file? orange recovery or twrp?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
First you have to boot the normal TWRP.img for your device.

From there yopu can then flash the Dualboot TWRP or Orangefox zip file and just keep the Stock Layout while flashing it.
[OnePlus 6 & 6T Cross Device Development] Evon88:
thank you again, you are awesome dev, much love and respect
[OnePlus 6 & 6T Cross Device Development] Evon88:
sorry im annoying sometimes, but i get bootloop to recovery but i fix it from recovery by click on something like settings and " FIX RECOVERY BOOTLOOP "

and now my lineage works again

btw this is my log from twrp if u want to take a look

and thx again, btw the theme is amazing like u 😅

edit: oppss i didnt see, its not register what i chose
[OnePlus 6 & 6T Cross Device Development] merlin tm:
Will it be updated to twrp 3.6.0-11?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
New Version with Updated TWRP 3.6.0-9 is uploaded now. :)

I took the original blue Theme of TWRP as of now.

Download link is updated in the OP.

Please check if it is working as I can not test this now since I dont have a Oneplus 6 device anymore.
[OnePlus 6 & 6T Cross Device Development] merlin tm:
3.6.0-9? Not 3.6.0-11?
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Thanks boss thanks for the update. Please consider some update in future too if you have free time.
[OnePlus 6 & 6T Cross Device Development] koobie777:
3.6.0-9 is definitely not working on fajita with or without dualboot partition, no partition will mount. Had to go back to 6.2
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Ohh yes I see what I did wrong when doing that now.

Will fix it now and uploaded a fixed Version for TWRP 6.3 for fajita and enchilada!
[OnePlus 6 & 6T Cross Device Development] koobie777:
Thanks! You the best!
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all!

The issue with the Dualboot 6.3 TWRP Versions should be fixed now and I just uploaded the fixed files to the download page on my Github. :cowboy:

The download Link is updated in the OP.

Hope that it works now, sorry for that.
[OnePlus 6 & 6T Cross Device Development] NSH021:
should we use finalize zip in dual boot too
[OnePlus 6 & 6T Cross Device Development] Cats_PJs:
No. That will put your rom on both slots and defeats the purpose of dualboot.
[OnePlus 6 & 6T Cross Device Development] jamescable:
Can I use this on Pie based ROMs?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
I have not tried that but it should work with Pie ROMS.
[OnePlus 6 & 6T Cross Device Development] NSH021:
It works 5n
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
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.
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Thanks for continuing the project, i always looking for it, this is the best👍😁😁😁
[OnePlus 6 & 6T Cross Device Development] Daffy555:
I want to dualboot Ubuntu Touch and an Android System.

Ubuntu needs Android 9, is it possible to flash Android 11 or 12 Custom Rom on Slot B?

And is there a dualboot Mod for Android 9?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
It should be no problem to use Android 9 with this Dualboot.
[OnePlus 6 & 6T Cross Device Development] Brettroth:
But can you use 9 as well as 10 or 11? I kind of doubt it
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes I think so. I remember that someone used my Dualboot with Android 9 and 10/11 as Dualboot.
[OnePlus 6 & 6T Cross Device Development] Brettroth:
Well that's interesting I might have to try that.
[OnePlus 6 & 6T Cross Device Development] Daffy555:
My first try failed, atm im busy with orher Things will try again next week.
[OnePlus 6 & 6T Cross Device Development] jamescable:
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
[OnePlus 6 & 6T Cross Device Development] Daffy555:
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.
[OnePlus 6 & 6T Cross Device Development] jamescable:
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
[OnePlus 6 & 6T Cross Device Development] Brettroth:
Curious if after setting up dual boot and repartitioning it is possible to restore a previously backed up twrp backup to a slot?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
I have actually never tried that but I think it should work.
[OnePlus 6 & 6T Cross Device Development] jamescable:
Any guess on when this will work for A12 Roms?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
No. I did not had time yet to take a deeper look at this.
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
i used it al lot in the past sinds update 6.2 and 6.3 i cant get it to partion the data partition even if i try to install from laaste oss 10.3.12 also try 10.3.8 not working and from android 11 also nog working ?
[OnePlus 6 & 6T Cross Device Development] Brettroth:
I've set up dual boot. Installed pe12. Wondering how to use the common storage? I see it in root but it's not mounted anywhere and dual boot app doesn't show a total size for it.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Is Magisk installed and working?

Have you reflashed the Dualboot.zip after booting to the ROM and having Magisk installed?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hmmm I have never tried that with OOS11 but with latest OOS 10 it should work afaik.

Is it working correctly when using a custom ROM?
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
i just flashed CRdroid 11 gone try that next fridaY !
[OnePlus 6 & 6T Cross Device Development] yoruuba2:
Is it possible to use this dual boot to run A11 and 12 ROM?

Currently running twrp 3.6.0 along with LOS 18.1 latest nightly on my OP6T.

I'd like to continue running LOS 18.1 on one slot while trying one of the new A12 ROM (PE12 or Syberia) for the 6T.

I've searched the 6T forums with no luck so far.

Any help from past experiences/guide would be appreciated. Trying to avoid bricking my phone since it's my daily driver.
[OnePlus 6 & 6T Cross Device Development] jamescable:
No. Only A9, 10 and 11 only. A12 currently is broken
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
that was oxy 10.3.12 :?
[OnePlus 6 & 6T Cross Device Development] yoruuba2:
Thanks🍻
[OnePlus 6 & 6T Cross Device Development] blade_boy:
@Wishmasterflo i installed OOS 10.3.11 in slot A and Evolution A11 Rom in slot B

1st I install OrangeFox 6.3 dual boot

2nd I flash oxygen Os 10.3.11 in slot A

3rd Flash dual boot again and reboot to recovery

4th Flash custom Rom Evolution A11 in Slot B

5th Install dual boot zip OrangeFox 6.3

5th format Data

6th Booted system

Custom rom is working fine But OOS in slot A having some storage issue i cant download anything nor i can anything on storage Storage via usb while i am booted in OSS 10.3.11 but i can copy files to that slot A while i am in orangefox recovery.........

:( I am Not able to access STORAGE ON OOS10.3.11
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello. Ok seems that there are some issues with the Dualboot when using it with OOS.

I have to check of I can find out what is causing this.
[OnePlus 6 & 6T Cross Device Development] blade_boy:
Okay Thanks
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all! :)

I created a new beta v7 Version of my Dualboot with updated TWRP now.

Changelog:

- Updated with new unified TWRP from Siddk

- Fixed some displaying issue for the decryption on the black themed TWRP

Download

Can someone test if it is working and if flashing A12 custom ROMS (without using encryption) is working?

As I dont have a Oneplus 6/t device anymore now I can not test this myself now.

Thanks!
[OnePlus 6 & 6T Cross Device Development] jamescable:
I'll test
[OnePlus 6 & 6T Cross Device Development] jamescable:
So, I have been able to flash OOS 11 before. Now this happened
[OnePlus 6 & 6T Cross Device Development] jamescable:
I tried wiping the data on slot to no help and can't access common data c slot
[OnePlus 6 & 6T Cross Device Development] jamescable:
And, now I can't use userdata on any slot including common but thankfully I was able to boot my slot a rom
[OnePlus 6 & 6T Cross Device Development] jamescable:
Can't test anymore. Won't even let me mount USB storage and not near a computer to install v6 dualboot twrp
[OnePlus 6 & 6T Cross Device Development] jamescable:
@Wishmasterflo , let me know when you have another test for me and I'll do it
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
@jamescable Thanks for testing. Ohh ok that I was not expecting that this happens. Do you have the v7 beta Version file left?

If so, do you have the possibility to flash it again on a fresh system and send me the recovery.log file from /tmp after flashing and seeing that error?

That would be helpful to see why it is failing.

Since I do not have a working Oneplus 6/6t anymore I can not test that myself.
[OnePlus 6 & 6T Cross Device Development] jamescable:
Yeah I can do that....maybe.... Couldn't do anything in recovery before. Had to boot twrp and adb push dualboot to tmp in order to be able to access data again. Using the newer dualboot, I couldn't even use adb, USB, data, access system or anything but I'll try again to see if I can get a recovery log but if it won't access data it won't save
[OnePlus 6 & 6T Cross Device Development] jamescable:
No way for me to actually get log lol. Plugged into computer, no storage detected. Adb not detected. USB not detected
[OnePlus 6 & 6T Cross Device Development] jamescable:
I did a FULL msm clean install. Still had all the exact same issues. Did NOT install dualboot v6, ONLY v7
[OnePlus 6 & 6T Cross Device Development] jamescable:
So, in a nutshell, do NOT flash v7
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes thanks a lot for testing. :)

I have already removed the Dualboot v7 download from my download link.

I think I might have an idea what is causing this issue.

Do we know if that is happening on both OOS10 and OOS11 or only one of them?

I will try to figure it out, try to fix it and upload a new Version during this Weekend!
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello!

It seems that the OrangeFox V6.3 Version for the Oneplus 6t is faulty so I have removed it from the downloads now.

I have to take a look at that. I could not even create a new ZIP file for that now as it is throwing an error.

Seems that some file or something got broken.

OK the issue should be fixed now.

I have reuploaded the files here.
[OnePlus 6 & 6T Cross Device Development] jamescable:
Anything I need to test?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
@jamescable Which Version of OOS is flashed on your device?
[OnePlus 6 & 6T Cross Device Development] jamescable:
9 on 1, 11 on other
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello!

I have uploaded a new v7 (beta) Version where I have removed Magisk from the Dualboot installation now, since that was still an old Magisk 21.4 and it is not so easy now anymore to replace that with a newer Magisk Version as so much has changes on the Magisk side now.

Download v7 (beta)
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Thanks you for working on this 🤗👏👏👍
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
OK I guess I have found the issue now why mounting Data is not working anymore. It seems that in the newer TWRP Versions there is one file which is called different now. I have updated that information in my Dualboot script and uploaded an updated Version V7 (Beta) now.

Download v7 (beta)

Changelog:

02/10/2022 - 3.6.0-11-v7 (beta)

Fixed some displaying issue for the decryption on the black themed TWRP

Removed Magisk from the Dualboot installation

Added new TWRP from siddk.

Fixed data mounting issue in TWRP.
[OnePlus 6 & 6T Cross Device Development] jamescable:
I'll report back in a few if it works lol
[OnePlus 6 & 6T Cross Device Development] jamescable:
Not sure what's going on. Now I get basic twrp theme, no back theme, also, still can't access data. Here in a bit, I'll try it on a11 ROM. But won't work with a9 nor a10 ROMs
[OnePlus 6 & 6T Cross Device Development] jamescable:
Actually, now I can't boot to system. Gonna have to install twrp, then dualboot 6.3 in tmp first
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
OK got it.

Yes it seems there are different things messed up now and not working.

I wonder if it is TWRP 3.6 which is having things and files changed so that they are no longer as my Dualboot script expects them.

And/or things in the latest OOS which are different now.

So I guess it could take some time to get that sorted out and fixed now.

I have removed the v7 (beta) downloads again as it is not working as expected!
[OnePlus 6 & 6T Cross Device Development] ApicoNamaco:
Hello developer! I was wondering when you will have some free time if you could help me a little bit with the installation of your custom recovery, i am trying to dual boot windows 11.. if you have the time of course.. thanks in advance dev!
[OnePlus 6 & 6T Cross Device Development] jamescable:
I thought that project was abandoned, or at least not updated
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello!

What issue or question do you have regarding Windows 11?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
No it is not I just need some more time to fix some things until I will upload a mew Version.
[OnePlus 6 & 6T Cross Device Development] ApicoNamaco:
I am starting with a fresh oos from edl mode with msm tool

Unlocking the bootloader

Fastboot boot normal twrp

then i flash your dualboot orangefox recovery

at flashing i am chosing a/b/c layout and i have everying as in the video instructions

then i reboot to recovery

then i flash oos ota zip and above that a dos os 5.2.1 and above that the dualboot zip with -efi256

after that nothing works.. my pc cant recognise the device storage and i am getting a bootloop and when i reboot to recovery.. orangefox doesnt exit and i only see the dot os recovery.. after that i again start with a fresh oos from edl to repartition the phone to stock.

have been to that loop for 3 days now.. any ideas? or am i doing something wrong? have read instructions
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
OK,

Can you send me the recovery log file after flashing the dualboot zip with -efi256 ?

EDIT:

I guess I see what you are doing wrong. You do the partition to A/B/C layout before.

That is not needed when you want to repartition to the EFI Layout!

So from MSM and a fresh OOS install you flash the dualboot zip with -efi256 to create the EFI and Dualboot partition layout.

After that you can go ahead and flash Android ROMS on slot A and B and install Windows on the EFI partition.

EFI/NTFS Windows Installation instructions

Download latest Boot image for Oneplus 6 or Oneplus 6t from: https://github.com/edk2-porting/edk2-sdm845/releases

Download WinPE and Dism++ from: https://drive.google.com/drive/folders/1GrX9JTVpKwo3WNshqIljPRc9Q6dPJDJJ that WinPE is in Chinese. A English one can be downloaded from https://drive.google.com/file/d/1kZbm51xn6Z4YxPB9tvOLy_MvLrSR8HGA

Download WOA-Drivers from: https://github.com/edk2-porting/WOA-Drivers

Create and Download Windows 10/11 ARM64 Image from: https://uupdump.net/

Use the quickmode/fastmode options "efi128" or "efi256" to partition your Oneplus 6 device to the EFI/NTFS Layout. It will create the partitions as follows.

For 128GB devices: NTFS partition with 50 GB Userdata_a with 20 GB Userdata_b with 20 GB Commondata with 25 GB

For 256GB devices: NTFS partition with 100 GB Userdata_a with 40 GB Userdata_b with 40 GB Commondata with 60 GB

reboot to recovery

mount /dev/block/by-name/pe /mnt

open CMD/Powershell on the Computer and navigate to the path where WinPE is located

adb push boot /mnt

adb push efi /mnt

adb push sources /mnt

adb push bootmgr.efi /mnt

in Recovery. File Manager check if the copied files/folders are shown in mnt folder

in Recovery. Reboot Bootloader

Fastboot boot Windows 11\Boot\boot-fajita.img or Fastboot boot Windows 11\Boot\boot-enchilada.img

Copy the below files to USB Stick (Format to NTFS): Windows 11\commands.txt Windows 11\Windows 11 ISO\Windows ISO file Windows 11\Drivers\WOA-Drivers-Main Windows 11\Tools\Dism++ Windows 11\Tools\TouchScreen.reg

Partition Disks in Windows 10/11

diskpart

select disk 0

list part

select part 17

assign letter=Y

exit

Windows 11\Tools\dism++\dism++_arm64.exe

Apply Image - select Windows11.iso file from USB Stick

Install Windows on Partiton C:\

Check "add Boot"

OK

Wait until done...

Drivers - add - select WOA-Drivers from USB Stick

cmd

bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) testsigning on

bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) nointegritychecks on
[OnePlus 6 & 6T Cross Device Development] ApicoNamaco:
i want to install dot os on a slot and windows 11 on b slot, but i am flashing first the oos 10 and then the dot os, so on the first install i should flash it with the -efi256? and then flash the rom on slot a and then on the efi partition the windows? Because i wanna use the app on dot os to change from slot a to slot b, in other words to enter in windows from the power menu of android 11
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Windows will be installed on a seperate partition. So you have slot A and slot B for dualbooting 2 different Android ROMS and in addition to that you have a parition to install Windows on.

Directly after the OOS / MSM you flash the dualboot with -efi256 to create the partition layout for slot A , slot B and the EFI and NTFS partitons for Windows.

Then you can flash a Android ROM on slot A and another Android ROM on slot B.

To get Windows installed you follow these steps after having done the above:

Download latest Boot image for Oneplus 6 or Oneplus 6t from: https://github.com/edk2-porting/edk2-sdm845/releases

Download WinPE and Dism++ from: https://drive.google.com/drive/folders/1GrX9JTVpKwo3WNshqIljPRc9Q6dPJDJJ that WinPE is in Chinese. A English one can be downloaded from https://drive.google.com/file/d/1kZbm51xn6Z4YxPB9tvOLy_MvLrSR8HGA

Download WOA-Drivers from: https://github.com/edk2-porting/WOA-Drivers

Create and Download Windows 10/11 ARM64 Image from: https://uupdump.net/

reboot to recovery

mount /dev/block/by-name/pe /mnt

open CMD/Powershell on the Computer and navigate to the path where WinPE is located

adb push boot /mnt

adb push efi /mnt

adb push sources /mnt

adb push bootmgr.efi /mnt

in Recovery. File Manager check if the copied files/folders are shown in mnt folder

in Recovery. Reboot Bootloader

Fastboot boot Windows 11\Boot\boot-fajita.img or Fastboot boot Windows 11\Boot\boot-enchilada.img

Copy the below files to USB Stick (Format to NTFS): Windows 11\commands.txt Windows 11\Windows 11 ISO\Windows ISO file Windows 11\Drivers\WOA-Drivers-Main Windows 11\Tools\Dism++ Windows 11\Tools\TouchScreen.reg

Partition Disks in Windows 10/11

diskpart

select disk 0

list part

select part 17

assign letter=Y

exit

Windows 11\Tools\dism++\dism++_arm64.exe

Apply Image - select Windows11.iso file from USB Stick

Install Windows on Partiton C:\

Check "add Boot"

OK

Wait until done...

Drivers - add - select WOA-Drivers from USB Stick

cmd

bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) testsigning on

bcdedit /store Y:\efi\microsoft\boot\bcd /set (DEFAULT) nointegritychecks on
[OnePlus 6 & 6T Cross Device Development] ApicoNamaco:
Okey, so eventualy everything worked! but.. i did a silly thing and i cleared from windows 11 diskpart drive c, wich is the partition 17.. it made my phone non functional and exept from that.. i tried msm tool and it worked.. but my phone is in a bootloop.. i tried to flash it again but again bootloop... any ideas... i have none to help me...
[OnePlus 6 & 6T Cross Device Development] jamescable:
Probably because msm only fllashes to slot a. It may be that something is on slot b screwing with you?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all! :)

Good news.

I got my Oneplus 6t repaired now.

I just updated my TWRP to the new Version 3.6.1-11 and indeed I got the same issue as all of you that data will not be mounted.

It is because the modififed file does not get updated to mount userdata_a or userdata_b instead of just userdata.

I think I found the issue.

It seems that on the newer TWRP Versions the file recovery.fstab and some other files are in system/etc instead of only /etc as it was before on older TWRP Versions.

I will try to adjust that and hope to get a working new Version of the Dualboot with new TWRP running soon!
[OnePlus 6 & 6T Cross Device Development] jamescable:
Awesome! Glad my testing was accurate lol.
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Yes yes yes welcome back, i hope my prayers answered at last 🤩😁
[OnePlus 6 & 6T Cross Device Development] koobie777:
This is great news! I recently upgraded to the pixel 6 pro but still mess around with my 6T. Think you'll fix the STOCKSD option too? Also these instructions for installing windows are extremely unclear. still gonna try them though and see how far i can get.

EDIT: Well I did it! Got windows installed with dual boot android too. Gonna be really nice when I can use A12 with v7 Dualboot TWRP. When I have time I'll type up a better guide since the current one isn't exactly the steps I took with a few tweaks, and bundle all the files needed in one link on my drive with said instructions in a txt file (if you don't use notepad++ I highly recommend). The 6T is more or less my play toy now since I got the Pixel. Here's some screen shots of Windows 11.

EDIT 2: I've installed the lastest insider preview so settings app etc is non working. Gonna do a DISM in cmd and see if that resolves it. If not I'll try a different windows version maybe the main release. Just a heads up for those who haven't done this, it runs real hot. I'm also gonna see if I can install in compact mode to create more space.
[OnePlus 6 & 6T Cross Device Development] koobie777:
Ok everyone, I've made a comprehensive guide and all files needed here. Some files are still uploading. Also for some reason even after downgrading a release of Windows 11 I can't open settings app so if anyone has any insight into that. I'll try other windows 11 versions tomorrow or maybe even 10.
[OnePlus 6 & 6T Cross Device Development] alp47470:
Great news. Welcome to 6T gang again 😁
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
That is great.

I am still trying to get the Dualboot working with the new TWRP Version but had no luck until now.
[OnePlus 6 & 6T Cross Device Development] kmr168401:
No problem take your time everybody have personal life too, so first personal life then time for everything 🥰