[WIP] Multiboot Project For Oneplus 3

rkrohan

Senior Member
Jun 10, 2014
163
90
0
Multiboot project is a work done by @chenxiaolong , I do not own any of the work presented over here.


Code:
/*
 * Your warranty is now void.
 *
 * We are 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 Project
 * before installing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

About Multiboot : A project to handle different ROMS at the same time so that you actually can use different ROMS without having to wipe up device to flash ROMS, it allows installation of more thn one ROM with all the features enabled.


USAGE
1. Decrypt your phone by following THIS guide, else you won't be able to use Multiroms.
2. Boot into your primary ROM and install the Dual Boot Patcher app
3. Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.
4. Go to "Patch ZIP file" in the navigation drawer and patch the ROM or zip you want to install. If you can't select the ZIP file without opening it (OxygenOS's file explorer does that as example) use Solid Explorer, ES File Explorer seems to crash the App for some reason.
5. If you want to dual-boot with OxygenOS you'll most likely have too less space in /system. Instead use the Data-Slot and give a name for it when asked.
6. (Optional) Before flashing GApps refer to the section "In-app flashing" below and come back once you've done that.
7. (Optional) Download GApps from HERE, select ARM64 and the version you want, download it onto your phone, choose "Patch ZIP file" once again and select the Data-Slot which it created for you already.
8. (Optional) To flash GApps simply refer to the section "In-app flashing" again.


In-app flashing

To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.


DOWNLOAD: https://snapshots.noobdev.io/
Download the "Android" file and the "Utilities" file

ORIGINAL THREAD: http://forum.xda-developers.com/showthread.php?t=2447534


CURRENT ISSUES

#since this is a work in progress please do consider having a look here
1. If you update ramdisk and reboot then the phone will reboot to recovery and not boot to rom. You will have to reflash your rom for it to boot.
2. Lots of other issues.
3. When setting a lock-code in your second ROM and boot back to your main ROM you'll probably be greeted with "Wrong PIN/Pattern". To fix this either delete the following files in TWRP or via ADB:
In /data/system: password.keym pattern.key, locksettings.db, locksettings.db-shm, locksettings.db-wal
After this step you can go back into your main ROM and set a lock-code again, now it should work.


DONATION (this donation directly goes @chenxiaolong ,I do not take any of it) : http://forum.xda-developers.com/donatetome.php?u=4277844 #if not sure about the link kindly visit:
http://forum.xda-developers.com/member.php?u=4277844


CREDITS

All credits goes to @chenxiaolongfor his hard work on this project,
kindly say thanks to him
Thanks to @hunter_bruhh too. He did the pull request on github.

I am currently in need of testers so if anyone is interested, please pm me on tapatalk chat, xda pm or telegram to https://telegram.me/RKRohk


XDA:DevDB Information
Multiboot Project For Oneplus 3, Tool/Utility for the OnePlus 3

Contributors
rkrohan, hunter_bruhh, epiclper, @chenxiaolong

Version Information
Status: Alpha

Created 2016-07-03
Last Updated 2016-07-07
 
Last edited:

rkrohan

Senior Member
Jun 10, 2014
163
90
0
Seems like no rom is working with this. I have informed @chenxiaolong but till then, I need logs from anyone who is trying this on any custom rom. You can find logs in the multiboot folder in your internal storage. Thank you.
 
Last edited:
  • Like
Reactions: LELBOT

rkrohan

Senior Member
Jun 10, 2014
163
90
0
If you remove encryption then this should work. Try using the data slot to install a custom ROM while you are on a custom ROM and please let me know if it worked. For those getting ramdisk issues, ?*just flash /sdcard/MultiBoot/primary/boot.img.before-ramdisk-update.img from TWRP.
 
Last edited:
  • Like
Reactions: LELBOT

néonaloj

Senior Member
Dec 29, 2014
953
457
0
How do I decrypt the OnePlus 3 tho? The Security>Encryption option does exactly nothing when I touch it...
In bootloader mode > "fastboot format userdata" > done. But all your data will be lost. So make a backup on your pc first...
 
Last edited:

EpicLPer

Senior Member
Aug 29, 2012
677
380
93
25
Scheibbs
epiclper.com
Managed to recover from a "disaster" after trying to upgrade my main, primary ROM (OxygenOS)...

So, I downloaded OxygenOS 3.2.1 and SuperSU and patched it via Dualboot Patcher, so far so good.
Then I booted into my secondary ROM (Resurrection Remix) since flashing on the currently running ROM is not allowed.
Started the Flash on the second ROM, however I accidentally hit the recent apps key, once I switched back to Dualboot Patcher it crashed...
I panicked a little, I booted into TWRP and flashed both files from there (first OOS, then SuperSU to prevent it from encrypting again).
After that I rebooted, however immediately after rebooting the OnePlus logo came on, went black and rebooted into the OnePlus logo again. Well, nothing much wrong so far, that's usual SuperSU behavior.
After the second reboot my phone was stuck in a bootloop and got extremely hot, I left it sit there thinking it'd encrypt again due to me doing something wrong (this happens when you forget to flash SuperSU after OOS)
After almost 40 minutes, still nothing. So I went to my PC and took a look what logcat says: Java Fatal Exception, something battery related wasn't able to load up.
So I force-shutdown the device and booted back up, not even 20 seconds later it booted into Android like nothing before happened...

Lesson of this story: NEVER flash your primary ROM from the secondary one... ALWAYS patch the ZIP files first, then boot into TWRP, then flash them.
 
  • Like
Reactions: odooo

shajk-00

Senior Member
May 6, 2015
67
11
28
I installed a dual system rom for mistake and obviously cannot use it, I also installed a data dual rom which is working fine, my issue is that when I try to remove the dual system rom I cannot do it, even if I move to raw/system/multiboot and try to delete I can't, I tried to change the permission, to set raw folder as a writable folder but none of this tries work..any help?
 

drmjp93

Senior Member
Jul 14, 2012
1,017
235
0
Gandhinagar
I have been using multirom on nexus. I saw multirom is also there for OP3. currently on OP3 I have flashed multirom(that similar to Nexus) , then i came across this THREAD.

Just a noob question - how different it is from multirom?

No disrespect to the developer intended.