FORUMS
Remove All Ads from XDA

[MOD][FEB-28][TESTING] MultiROM v33 for OnePlus 2

1,262 posts
Thanks Meter: 4,517
 
Thread Closed Email Thread
TLDR:
  1. MAKE A BACKUP. Seriously.
  2. Downloads in second post. Flash recovery, then kernel, then MultiROM.
  3. A kernel with the kexec-hardboot patch doesn't exist as of now. It is being worked upon be me




Introduction

This is a port of Tassadar's MultiROM, a multi-boot mod for OnePlus 2. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.

This is still very experimental!


Features:
  • Multiboot any number of Android ROMs
  • Restore nandroid backup as secondary ROM


Warning!

It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.


Installation

Firstly, there are videos on youtube. If you want, just search for "MultiROM installation" on youtube and watch those, big thanks to all who made them. There is also an awesome article on Linux Journal.

MultiROM has 3 parts you need to install:
  • Modified recovery (TWRP_multirom_oneplus2_YYYYMMDD.img) - download the IMG file from second post and use fastboot/recovery to flash it.
  • Patched kernel - You can use either one of the stock ones in second post or third-party kernels which include the patch.
  • Download the ZIP file and flash it in recovery.
  • MultiROM (multirom-YYYYMMDD-vXX-oneplus2.zip) - download the ZIP file from second post and flash it in recovery.

Note: Your current ROM will not be erased by the installation.
Download links are in the second post.



Adding ROMs

1. Android
Go to recovery, select MultiROM -> Add ROM. Select the ROM's zip file and confirm.


Updating ROMs

1. Primary ROM/Internal
Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
Go to MultiROM in recovery and do Inject current boot sector.


2. Secondary Android ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to MultiROM and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.



Changing ROMs

A kernel with the kexec-hardboot patch does not exist as of yet. It is being worked upon by me.
Hence for now, please use the recovery to swap the ROMs



Source Code


Credits

This port is based on the hard work of Tassadar, Geoff Levand, webgeek1234, Mike Kasick, Npjohnson, Hashbang173, 500 Internal Server Error and many others. Thank you.
Special thanks to @500 Internal Server Error for porting MultiROM to arm64 devices!



Donations

I'd be glad if you could spare a few bucks. You can use either Paypal or Bitcoin, my address is 1mg1HJcNTrNNPbrQqKXsUgdDfZhGo2acC
Also consider donating to @Tasssadar
Thanks to all donors, it is much appreciated!


The Following 47 Users Say Thank You to regalstreak For This Useful Post: [ View ] Gift regalstreak Ad-Free
28th February 2016, 03:24 PM |#2  
regalstreak's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 4,517
 
Donate to Me
More
Downloads
The Following 22 Users Say Thank You to regalstreak For This Useful Post: [ View ] Gift regalstreak Ad-Free
28th February 2016, 03:24 PM |#3  
regalstreak's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 4,517
 
Donate to Me
More
Reserved Post 1
The Following 4 Users Say Thank You to regalstreak For This Useful Post: [ View ] Gift regalstreak Ad-Free
28th February 2016, 03:26 PM |#5  
krishna442's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 422
 
More
Wow, You made it. You Da real MVP.

Will report back here.


Perfect. Works perfectly. Able to swift between roms. Thanks a lot. This takes development to a whole new level.
The Following 2 Users Say Thank You to krishna442 For This Useful Post: [ View ] Gift krishna442 Ad-Free
28th February 2016, 03:43 PM |#7  
LOL9988's Avatar
Senior Member
Flag -:- City 0f Flyovers -:-
Thanks Meter: 53
 
More
Finally!
You are one of the best devs out there
The Following User Says Thank You to LOL9988 For This Useful Post: [ View ] Gift LOL9988 Ad-Free
28th February 2016, 04:16 PM |#8  
Jayram2000's Avatar
Member
Flag Tampa
Thanks Meter: 12
 
More
Quote:
Originally Posted by regalstreak

Downloads

MR-TWRP IMG: recovery-20160228.img

MultiROM Installer Flashable ZIP: multirom-20160228-v33-UNOFFICIAL-oneplus2.zip

MultiROM Uninstaller Flashable ZIP: multirom_uninstaller.zip


All being uploaded. Keep calm please

R I O T
jk good work man!

Sent from my ONE A2005 using Tapatalk
The Following User Says Thank You to Jayram2000 For This Useful Post: [ View ] Gift Jayram2000 Ad-Free
28th February 2016, 04:33 PM |#9  
regalstreak's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 4,517
 
Donate to Me
More
Links up. Please test!
The Following 5 Users Say Thank You to regalstreak For This Useful Post: [ View ] Gift regalstreak Ad-Free
28th February 2016, 05:00 PM |#10  
LOL9988's Avatar
Senior Member
Flag -:- City 0f Flyovers -:-
Thanks Meter: 53
 
More
TESTING
added cm13 as secondary and oxyslim as primary
currently its flashing.
will report
edit - booting oxyslim... after booting ill try to boot secondary rom
edit 2 - booting cm13
so.. swapping works
The Following 5 Users Say Thank You to LOL9988 For This Useful Post: [ View ] Gift LOL9988 Ad-Free
28th February 2016, 05:10 PM |#11  
Senior Member
Thanks Meter: 19
 
More
How to switch between roms? Have not boot Menü

Ok. Sorr, only swap works this time.
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes