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

Status
Not open for further replies.

regalstreak

Senior Member
Jun 26, 2013
1,262
4,498
0
Mumbai
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!


 
Last edited:

Naman Bhalla

Senior Member
Jan 1, 2014
1,166
3,052
0
22
Awesome Regal !!! I also made my multirom for op2 some days ago but wasn't able to build kernel too.... Thus didn't make thread.... See the commits for our kernel on github.com/multirom-op2
Looks like a problem at ramoops ... Everything else is perfect....

Sent from my ONE A2003 using Tapatalk
 
Status
Not open for further replies.