Cool.btw it would be awasome to see mass storage function of oneplus as button option ,just like mtp button in mount page.it will be much easier deploy windows and creat efi bcd on pc. i already can use it . by unpacking cpio and adding these lines under "on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb" in init.recovery.usb.rc fileFYI
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.
symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f3 write /config/usb_gadget/g1/functions/mass_storage.0/lun.0/cdrom 0 write /config/usb_gadget/g1/functions/mass_storage.0/lun.0/removable 1 write /config/usb_gadget/g1/functions/mass_storage.0/lun.0/ro 0 write /config/usb_gadget/g1/functions/mass_storage.0/lun.0/file "/dev/block/sda"
HelloHello. 1st, thank you very much @Wishmasterflo for your time and effort in bringing this to our device. I've read countless pages in this thread and also watched the video, but I'm still a little confused. I am currently on OOS 10. If I want to keep my current ROM, can I just flash the dual boot TWRP zip, select A/B/C layout to use common partition, install a secondary ROM on the opposite slot, flash Dual boot TWRP again as per the instructions and then boot into both ROMs? Or will I have to start completely over and flash OOS10 again, format data, etc and then go from there? Please advise whenever it is convenient for you.
HelloSo far this dualboot system is great. Loaded Siberia for my daily, Great rom. and loaded lineageos 18.1 with nethunter to toy around with. Hadn't updated my phone in over 2 years and decided it was time when I made a mess of the filesystem toying around with things.
I have found that when installing a new rom I get a bootloop unless I follow this exactly:
Flash oos android v.10
Flash dualboot twrp
Reboot to opposite slot
Flash Gapps/other zips (if desired)
Reboot to system
I ran into a few other issues that were easy to figure out between this thread and google but that one issue bugged me. New rom just wouldn't boot unless I flashed stock rom first.
Anyone else notice slow shutdown/reboot?
I'm having trouble with slow rebooting and shut down. It takes just at a minute and a half between hitting reboot and the phone actually shutting down. This happens with both roms. I've tried disabling firewall in case something was hanging there with no luck. Not sure if its helpful but the last few lines of the logcat seem like they may be on to something. After the last line on the logcat it still takes another minute to reboot. Any idea on how to troubleshoot this further?
09-01 18:52:49.218 564 564 I vold : Unmounting /mnt/installer/0/emulated/0/Android/obb
09-01 18:52:49.266 564 564 I vold : Unmounting /mnt/user/0/emulated/0/Android/data
09-01 18:52:49.326 564 564 I vold : Unmounted /mnt/user/0/emulated/0/Android/data
09-01 18:52:49.326 564 564 I vold : Unmounting /mnt/user/0/emulated/0/Android/obb
09-01 18:52:49.406 564 564 I vold : Unmounted /mnt/user/0/emulated/0/Android/obb
09-01 18:52:49.406 564 564 I vold : Unmounting pass_through_path /mnt/pass_through/0/emulated
09-01 18:52:49.556 564 564 I vold : ForceUnmount failed: Device or resource busy
09-01 18:52:49.556 564 564 E vold : Failed to unmount /mnt/pass_through/0/emulated
09-01 18:52:49.556 564 564 I vold : Unmounting fuse path /mnt/user/0/emulated
09-01 18:53:09.850 564 564 I vold : ForceUnmount failed: Device or resource busy
That worked! Thanks for the info. Finally got everything working the way I want. I did try and search my problem before and after asking and still didn't find any reference to rebooting being slow using standard power menu.
Yes the device controls in the Power menu are executing the same as the Dualboot Companion app.That worked! Thanks for the info. Finally got everything working the way I want. I did try and search my problem before and after asking and still didn't find any reference to rebooting being slow using standard power menu.
So, related question, when rebooting using Dualboot companion options in the device controls in power menu it is still slow is this normal? It works fine in the app itself. Just figured the power menu control would execute the same command giving the same result as the in app buttons.
And finally, is it possible to mount CommonData as a separate drive? I know its probly not easy otherwise it would have likely been done that way from the start just curious why it isn't.
I'm just getting into learning linux filesystems, I was just thinking when I plug in a partitioned drive on a pc each partition shows up as its own drive. I'd imagine that might help any mounting/unmounting issues and would also accurately reflect the drive capacities and usage. I probly wouldn't ask if I knew more about the android system and filesystem but I look forward to learning what I can..
Hello!Ok guys I need help.
I have msm tooled this one plus 6t so many times. It's just a phone I use as a back up but wanna get it fixed.
I used dual boot before with zero issues and thanks to the devs and everyone involved.
But now I go through the process msm, unlock, boot twrp, flash dual boot zip, reboot recovery, flash latest oos, flash Rom 1, flash dual boot zip, reboot recovery and here is the problem it never reboots to recovery. It hangs or something on the bootloader has been unlocked screen.
Ok then fastboot mode reboot recovery and it goes to bootloader screen again like it's going to boot then it doesn't screen goes black then Qualcomm crash dump.
Attempted to kill init! Exit code =0x0000000b
Complete and exit.
Any idea what I'm doing wrong.
ok msm again, unlock bootloader, boot twrp ,flash twrp, flash magisk, twrp is 22.214.171.124 magisk is 21.1 . Ok so flashed twrp after booting it. Went through process. Before rebooting to system I tried rebooting recovery and it doesn't switch slots. It always stays on slot A. So I switch to slot B in recovery and reboot recovery and it goes straight to crash dump again. Same error code. So something is not booting or something on slot B. Any ideas.
OK lets see!
You use OOS10 right? (not OOS11?) (latest OOS10 should be used as of now).
TWRP 126.96.36.199 is a bit outdated. Please try with TWRP 3.5.2-9
So you are using Magisk 21.1? The inbuild Dualboot has Magisk 21.4.
Please flash the latest Magisk 23.0 after flashing the Dualboot and see if that helps.
FYI: The new Dualboot Version 6.2 ist still not full ready but perhaps I can provide a new Version of it with new features during the Weekend now or in the beginning of next
Yes you can set a screen lock on one ROM if you are encrypted.
Yes back then I was able set lock screen on one but not in both. Seems like there aren't much changes since I migrated to my current rom. Anyway I think I should check it myself this time again. Thanks for the reply.
* 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.