yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] koobie777:
Well everyone I made my own WinPE with the updated DISM++ and created some scripts for diskpart and BCDEdit so no more typing on a small screen or really the need for a mouse and keyboard during install. I've also bundled everything up nicely with a 100% working version of Windows 11 (downgraded to the latest public release instead of insider preview). Went ahead and updated instructions as well. You can find everything Here. Still uploading USB files should be done tonight. Things to note. Never power on while charging you'll get crash dump and never update drivers in windows update or you'll get bsod. I've also included how to Dualboot and switch between windows and android in the instructions. Enjoy 😊
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all!

I have updated the OP and download link with the last working Version which is 6.2 now with TWRP 3.5.2-9

I still had no luck to get this working with newer TWRP Versions, also I am failing in building a new Updated OrangeFox for it right now.

It seems that a lot of things have changed with the new TWRP 3.6.x Versions which broke a lot of things in the Dualboot script and also the Orangefox building script is not working as before now with all updated stuff. :confused:
[OnePlus 6 & 6T Cross Device Development] jamescable:
I'm confused. We went from 6.3 down to 6.2?

Its says 6.2 was released in September 2021
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes because 6.3 was never working correctly due to Updated TWRP 3.6 which is not working with the Dualboot right now.
[OnePlus 6 & 6T Cross Device Development] jamescable:
6.3 has always worked for me...it was the 7.x branch that didn't

I'm literally using 6.3 right now
[OnePlus 6 & 6T Cross Device Development] jamescable:
This is when issues started
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
And you use the TWRP Version of 6.3 or OrangeFox?
[OnePlus 6 & 6T Cross Device Development] jamescable:
Twrp. I can flash and boot, A9,A10,A11 and OOS 9, 10 and 11.

Also use a/b/c partition
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hmmm intressting.

When I flashed the TWRP 6.3 Version on my Oneplus 6t some days ago I got the same issue as a lot of others had here, that data could not be mounted anymore.

Then I even tried the new unified TWRP 3.6.0-11 and that would not work as well with my Dualboot script.

With that I even got some additional issues that the sgdisk command was not recognized anymore so it could not get the partition info etc.

EDIT: What OOS Version do you had as Base?
[OnePlus 6 & 6T Cross Device Development] koobie777:
I still have 6.3 backed up I'll test it out tonight when I get home but I think I was facing issues booting TWRP when using Dualboot with Syberia A12 I can't remember.
[OnePlus 6 & 6T Cross Device Development] jamescable:
Dualboot 6.3 has never given me issues. When I test v7 for you, that was when I started having issues, especially data encryption issues
[OnePlus 6 & 6T Cross Device Development] jamescable:
Dualboot 6.3 could not handle a12 Roms. That was why Dev released a beta v7 which that cause a lot of issues
[OnePlus 6 & 6T Cross Device Development] koobie777:
Oh Yeah I never go a chance to test v7. I never had any problems with A11 roms on 6.3. in the early stages of the A12 development I was able to use A12 with Dualboot I think. It was months ago though I can't remember.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello :)

OK I guess I have found the issue now.

At least I could just use my "new" Dualboot v7 TWRP and flash it without issues.

(tried with both TWRP 3.6.0 and the new TWRP 3.6.1)

I will upload a new Version later today or at the weekend.

Have to tweek some other things and then checkl if I can build an updated OrangeFox Dualboot as well.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
View attachment 5558101

Hello! :)

Now I have uploaded v7 of my Dualboot.

The Download link is updated in the OP.

Changelog

03/11/2022 - 3.6.1-11 v7

- Flash latest OrangeFox.zip for your device from here before flashing Dualboot!

(the Orangefox.img files are not updated with the needed changes yet!)

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

- Removed Magisk from the Dualboot installation

- Updated with new TWRP 3.6.1-11

- The Dualboot TWRP now unified for the Oneplus 6 and Oneplus 6t

- Fixed that the Dualboot Companion app will get flashed correctly to both slots now.

- The Orangefox v7 has just some updates to the Dualboot flashing script but is still based on old Orangefox and TWRP Versions!

I still need to get my Orangfox build environment for the Oneplus 6/6t up and working again therfor the OrangeFox Version is still a really old one and still based on a old TWRP Version as base!
[OnePlus 6 & 6T Cross Device Development] jamescable:
Same issues as your beta v7
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Have you flashed it from the latest Orangefox.zip I uploaded today?
[OnePlus 6 & 6T Cross Device Development] alp47470:
No issues so far. Thanks @Wishmasterflo for the update. (y)
[OnePlus 6 & 6T Cross Device Development] jamescable:
Orangefox works fine. Twrp v7 doesn't
[OnePlus 6 & 6T Cross Device Development] alp47470:
This is latest DualBoot TWRP v7 from OP and it works fine.

i have also applied black theme myself.
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Hi i have a question, can you format data typing yes, because new twrp having issues formatting the data or else after formatting the data we can't access the data partition
[OnePlus 6 & 6T Cross Device Development] koobie777:
How did you put the black theme on it?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Here you can download the black theme and flash that in TWRP.
[OnePlus 6 & 6T Cross Device Development] jamescable:
OK, I have tried everything except clean wipe. I have android 9 on slot b, android 11 on slot a. A/b/c setup, no encryption. Was on fully working dualboot twrp. Flashed newest orangefox dualboot like you all said. Once again, can't access data at all, not in windows nor orangefox itself. Can't wipe data. Can't format data. Booting orangefox does same thing. Now, if I boot twrp, flash older dualboot twrp, all my files and downloads are still in a/b/c with no changes
[OnePlus 6 & 6T Cross Device Development] jamescable:
So, I did a full msm 10. Local upgrade latest OOS 11 to both slots. Unlocked bootloader. Booted OOS so internal data builds itself. Flashed Twrp from the unofficial a11 thread for a11 and a12. Flashed orangefox dualboot(never gave me options like twrp version), tho it did say dualboot mod logo. Flashed twrp dualboot, moved itself to dev. Chose options to a/b/c, rebooted recovery. And once again, can't see data partition. Going back to dualboot 6.3
[OnePlus 6 & 6T Cross Device Development] jamescable:
Screw it. I don't use a12 on my 6t anyways. My 6t is my backup phone with pokemon go lol
[OnePlus 6 & 6T Cross Device Development] kmr168401:
That's what happening on some a11 roms and a12 it is totally lost because a12 aosp having decryption issue, google f... Up, so no twrp updated to decrypt data partition. 😭
[OnePlus 6 & 6T Cross Device Development] jamescable:
https://xdaforums.com/t/recovery-11-unofficial-twrp-for-oneplus-6-6t.4382121/

this works fine for me on A11 roms, orangefox too. also twrp and dualboot 6.3. all of that works fine for me on A11, A10 and A9. also OOs 11, 10 and 9. only newer dualboot twrp 7 doesnt work, even clean flash from new orangefox, and even then oirangefox doesnt let me choose a/b/c method
[OnePlus 6 & 6T Cross Device Development] kmr168401:
Well i am waiting for my rom to update because march sp is added and they are internally testing so i am waiting for it to release so i can test v7 currently using twrp test2 created by terminator_j from crdroid op6 series maintainer only drawback is we need to remove password before reboot to recovery so data partition is decrypt so we can see all the file we copied to internal in mobile as well as in pc. I am using it to flash Awaken a12 rom now. 👍
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi!

Thats great instructions. Even a bit more detailed then the ones I did so I will updated my instructions as well. :)

Also here I found some useful instructions regarding slot switching when you have flashed the UEFI boot.img to the phone.

Then you can enter the UEFI Boot manager on the phone like this:

Press any volume key during boot to enter UEFI Menu;

Use volume keys and power button to navigate to Boot Manager > Reboot to other slot.
[OnePlus 6 & 6T Cross Device Development] koobie777:
Excellent! Btw v7 isn't working with UEFI partitions
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Oh ok. Good to know.

I will have a look. Have to repatition to EFI layout again. I guess my Oneplus 6t is back to Stock layout right now.
[OnePlus 6 & 6T Cross Device Development] arminantondm:
Could you include in the script the ability to create a custom size for the system partition as well? Thanks
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
No. I have no plans to modify the script that it will touch the system partition.
[OnePlus 6 & 6T Cross Device Development] alp47470:
Did you fix it yet ?
[OnePlus 6 & 6T Cross Device Development] ashish1989:
any bugs in the latest version, using A11 stock?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
I dont think so.
[OnePlus 6 & 6T Cross Device Development] marcioafoliveira:
Hello guys, I'm using OrangeFox Recovery, is there any retention script to keep the recovery after an OTA + Install Magisk on inactive slot?
[OnePlus 6 & 6T Cross Device Development] bahha:
I updated to A12 with a/b/c partition layout.

commondata doesn't mount on boot. I had to change the script to mount userdata2 to /mnt/media_rw instead of /commondata .

because /commondata cannot be created.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all :)

I was so busy doing and testing stuff on my Oneplus 8t that I did not had much time to do things for my Dualboot for the Oneplus 6 series now.

Just put on my Oneplus 6t again and will install my Dualboot again.

Lots of things have changed in TWRP and in regards of which OOS Firmware should be used, also with Android 12

there is a seperate TWRP Version needed which will only work on Android 12 Firmware so I think it will be complicated to get Dualboot working with TWRP 12.

I will try to build a new working v7.1 Version in the next days.

The v7 one here is not fully working as it uses a newer TWRP Version and there it seems that things have changed so that my Dualboot script will not execute the partitioning steps.

I will have to go back to an older TWRP Version to get that working again I guess.

I will check and try to Upload an updated Dualboot Version during the weekend.

Stay tuned!
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
OK I guess I got it now.

The issue here seems to be the TWRP 3.6.2-11 Version which is based on Android 11.

Even if I flash OOS11 on both my slots I had no luck to get the Dualboot working correctly.

It seems that something in the Android 11 base got changed causing some commands not to work which are needed for my Dualboot.

Then I created a flashable Firmware for the latest OOS 9 Version and flashed it to both slots.

Then I could boot up the offical TWRP 3.6.2-9 which is based on Android 9.

That Version is fully working again with all the Dualboot stuff. :)

I will put together everything and publish a new Version now during the weekend.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
New Update is out!

Dualboot TWRP v7.1

08/26/2022 - 3.6.2-9 v7.1

- Updated with offical TWRP Version 3.6.2 (based on Android 9, the Android 11 based Version does not work with my Dualboot right now)

- seperated Version for enchilada (OP6) and fajita (OP6T) as the Official TWRP Version is not unified

- added OP6xT as devicename to the Dualboot flashing script

Download link is updated in the OP.

CommonData on Android 12 is not getting mounted in this Version.

The mount path needs to be adjusted.

Also I am just thinking of to create a seperate Version for Android 12 which can

decrypt data on Android 12 and Android 13.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
New Dualboot v7.1 is now updated with a new fresh updated Orangefox Version as well with all the latest changes from Orangefox since that was not updated for Dualboot since some time now.

Downloads updated in the OP.

:)

(y)
[OnePlus 6 & 6T Cross Device Development] Methawin:
Hi im so interest if I can get dualboot oos and crdroid it would be nice
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes that should work.

I am just not 100% sure if the newer OOS Versions can be flashed with my Dualboot now since it is still based on old OOS9 now.

Also I am not sure if OOS flashing is working now when using the official TWRP Version.

I have not tried to flash OOS now since I updated it actually.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all!

FYI

I have removed the download of the new 7.1 Version right now, as I found some bugs I need to fix.

Seems there is more that needs to be changed from TWRP 3.5 to TWRP 3.6 now.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi all! :)

OK now I have sorted out the issue, fixed it and build a new Dualboot Version v7.2 with

TWRP 3.6.2 and a new Orangefox Version with the latest Orangefox changes.

Dualboot TWRP/Orangefox v7.2

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

The download link is updated in the OP.

I hope that everything is working now but I have test this now twice on my Oneplus 6t and it was working without any issue.
[OnePlus 6 & 6T Cross Device Development] bishoy ashraf:
i need orangefox recovery for my op6 put without any dualbooting, i download it and couldn't find recovery.img?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi!

I have not uploaded the recovery.img I can put it on another place later the Orangefox recovery.img for Oneplus 6/6t

Here you can download Orangefox recovery.img files.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
FYI

My Dualboot (TWRP and Orangefox) is still based on old TWRP recovery source from Android 9.

When I tried to update it using a newer TWRP Version based on Android 11 or 12 that broke mostly all of the Dualboot features in my flashing script.

I have not figured out yet how I can get that fixed and working.

When using the Dualboot now which is based on old recovery it could be that some Android 12 ROMs are not working/booting and also I guess Android 13 ROMs can not be used with Dualboot right now.
[OnePlus 6 & 6T Cross Device Development] GajeelBlack:
if i install the normal twrp will this duoboot disappear?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes that will break the dualboot.
[OnePlus 6 & 6T Cross Device Development] Hellera:
Hello friends, I have ofox on another phone and it's better than twrp in my opinion. I installed ofox on my Oneplus 6T (latest version 7.2) , works fine but I have only one issue... it doesn't see my pen drive storage attached when I want to flash something... Is any trick or something to fix it?

Can anybody gives me an ideea, please? Thank you.
[OnePlus 6 & 6T Cross Device Development] Jarige:
No idea how to help Hellara but it seems to me like any OrangeFox thread would be a better place than this. This thread is about a dualboot version of orangefox, not about the official orangefox.

Anyway, I flashed my OnePlus 6 with crDroid (Android 13) and I'm waiting anxiously for dualboot support for Android 13. I'll use it to dual boot PostmarketOS (Linux, not Android) and Android. Any news on Android 13 support?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hello!

Hmm no. The thing is that the recovery I use for the Dualboot is really old and still OOS9/Android 9 based.

Actually there are so many changes which came in Android 11/12 etc that most of the things I use for the Dualboot script are not working anymore when using Android 11 and onwards recovery. :(

I had tried to get that working a lot in the past but without luck.

Now when I installed my Oneplus 6t again I flashed OOS11 firmware on it since now all Android 13 ROMs for the Oneplus 6/6t are OOS11 based.

So using a Android 13 custom ROM now without Dualboot.

I have flashed latest TWRP 3.6.2-12 on it which can decrypt data on Android 12/13 since my Orangefox is still based on OOS9/fox_9.0 .

I tried now to build an updated Orangefox with fox_11.0 or fox_12.1 using a Android 11 and 12.1 device tree but did not had luck with that.

As my main device I have the Oneplus 8t now. :)

:cowboy:
[OnePlus 6 & 6T Cross Device Development] Jarige:
I hope you'll succeed! I choose a second hand OnePlus 6 because it really looked like I could dual boot PostmarketOS and the latest Android, but I only have the latest Android now. It works great though, no complaints there.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hmm not sure. I guess the Dualboot things are not working anymore on newer recoveries based on Android 11 or Android 12/13 but now at least I managed to build an Updated Orangefox which can decrypt data on Android 12/13 as well, but nothing which I can use for Dualboot now.
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
Is this even fixable ? because of most rom now require vendor and dtdb file to flash , I am not skilled enough to know in detail what it means unfortunately still learning , most just curious!?!
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
I dont know. I did not really checked on all that Dualboot stuff further recently. Been doing much other stuck now and updating Orangefox with Android 14 support for Oneplus 8 series etc.
[OnePlus 6 & 6T Cross Device Development] NLhardcore:
Kinda logic , move on to new device .

I did 2 since 1+6 -6 I gotta op9 but I dropped it and it totally die , never have I dropped my phone and it completely killed it !

So had to pick up my good old op6 !

Thnx
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Here I build an Updated Orangefox Version for the Oneplus 6T but that will not work with Dualboot.

It is based on OOS11 Firmware!
[OnePlus 6 & 6T Cross Device Development] isoladisegnata:
it's a very interesting project .. but last time I ask for a videoguide for newbie.
[OnePlus 6 & 6T Cross Device Development] RMarques:
So, I went ahead and did bite the bullet! ?

It went ok while following the guide till the point I did attempt to flash the latest firmware (I also did try to install the previous one). TWRP didn't allow me to install it. It kept giving me an error.

I ended up installing PiXeN 11.

I'll try again in a mo and let y'all know more details about the error.
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hi!

OK so you did the repartitioning to A/B/C or?

You can pull the /tmp/recovery.log file while the error is shown and see more details about what went wrong!
[OnePlus 6 & 6T Cross Device Development] RMarques:
Hey there, I did indeed. It was almost 4am here so I ended up giving up. Havent checked logs. Im starting again now
[OnePlus 6 & 6T Cross Device Development] RMarques:
Same error. Top is empty, no logs
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
OK. Yes I remember that I got such as well when trying to flash OOS in TWRP. I guess it is some issue with the latest OOS Version when flashing them via TWRP.

But you were able to install a custom ROM ?
[OnePlus 6 & 6T Cross Device Development] RMarques:
It's been happening with both the lastest OOS and with the previous one as well.

Ill try PiXeN 11 now

---------- Post added at 12:48 ---------- Previous post was at 12:43 ----------

@Wishmasterflo

Wait...I still need OOS as a base in order to install PiXeN, isnt it?!? Wheres the confused emoji! LOL
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
To have OOS as Base I just did it via MSMtool to have OOS on both slots but when I installed PixenOS now I just did it after a format data without having OOS as base first and it works so just try to flash it.
[OnePlus 6 & 6T Cross Device Development] RMarques:
OMW
[OnePlus 6 & 6T Cross Device Development] RMarques:
Log with failed attempt to install PiXeN 11

I did format common and internal, prior to do so
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Thanks! Ohh yes of course. I see directly what the issue is. Haha.....will fix that now.

The buildin TWRP Version is for the Oneplus 6t so I will need to do an updated/separate Version for the Oneplus 6 as well:

I:AB zip

Flashing A/B zip to inactive slot: A

I:cp -f /sbin/sh /tmp/sh process ended with RC=0

I:has_legacy_properties: Could not open /tmp/updater: No such file or directory!

I:Legacy property environment not used in updater.

Failed to parse build number in post-build-incremental=eng.drprad.20201014.061643.

Package is for product OnePlus6 but expected OnePlus6T
[OnePlus 6 & 6T Cross Device Development] RMarques:
Cool, Ill be on all day long. LMK
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
I fixed it now and build 2 seperate packages for Oneplus 6 (enchilada) and Oneplus 6t (fajita). Uploading now...
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
New Updated with splitted Installer for Oneplus 6 and Oneplus 6t

New Update is up. v2.2 :highfive:

I had to split the installer files for the Oneplus 6 (enchilada) and the Oneplus 6t (fajita)

10/15/2020 - 3.4.0-0 v2.2

- Fixed better detection of Android 11 Installed ROMS

- Build Dualboot Installer for Oneplus 6 enchilada

Updated downloads for both here.

Have also updated the download link in the OP.

Thanks to [MENTION=5094347]RMarques[/MENTION] for testing it on the Oneplus 6 now!
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello,

thanks to all your efforts in bringing this feature to our device!

One question:

Is there a slight chance for 64gb enchilada support? Do you need any help?
[OnePlus 6 & 6T Cross Device Development] RMarques:
Ok, so far, so good...last Q

- Switch to the other slot

- Do a FORMAT Data on that slot!

We are talking to format the internal memory, the common memory or both (of the slot I did install the ROM, OFC)?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Yes I will have a look at that at the weekend. I hope it will not be too difficult to implement that. :)

So the Oneplus 6 is existing with 64 GB, 128 GB, and 256 GB?? (or only 64GB, and 128 GB) ?
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
On that slot where you installed the second ROM you need to do a FOMRAT DATA from TWRP. Otherwise it will just boot forever....

You dont need to format the common data. That you dont need to touch now. Only the one where you installed the ROM.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Great news!

Correct, there are 64, 128, or 256 GB models of the OnePlus 6.

I don't know if it's going to be difficult.. Right now I'm thinking of cutting each partition - which is designed for the 128gb variant - into half to get the partition sizes for the smaller 64gb variant.. :D
[OnePlus 6 & 6T Cross Device Development] Wishmasterflo:
Hallo!

I have adjusted it so that it should detect 64GB and 128GB Oneplus 6 devices now.

here

Can you just flash it in TWRP and see if it shows 64 GB Oneplus 6 device detected?

You can just exit the installer then. I just want to see if it will detect the 64 GB .

Thanks!