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

Status
Not open for further replies.
Search This thread

regalstreak

Senior Member
Jun 26, 2013
1,263
4,503
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
jPIwEta.png


35yghmf.png


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!

jPIwEta.png

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

jPIwEta.png

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.

jPIwEta.png

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.


jPIwEta.png

Adding ROMs

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

jPIwEta.png

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.


jPIwEta.png

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


jPIwEta.png

Source Code


jPIwEta.png

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!


jPIwEta.png

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!


jPIwEta.png
 
Last edited:

rakieta

Senior Member
Oct 3, 2014
113
19
How to switch between roms? Have not boot Menü

Ok. Sorr, only swap works this time.
 
Last edited:

JudderArts

Senior Member
Sep 8, 2013
59
12
Is there anyway to transfer my "dual boot patcher" roms (primary and 3 data slot roms) to multirom?
 

Naman Bhalla

Senior Member
Jan 1, 2014
1,166
3,054
24
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.

Top Liked Posts

  • There are no posts matching your filters.
  • 47
    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
    jPIwEta.png


    35yghmf.png


    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!

    jPIwEta.png

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

    jPIwEta.png

    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.

    jPIwEta.png

    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.


    jPIwEta.png

    Adding ROMs

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

    jPIwEta.png

    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.


    jPIwEta.png

    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


    jPIwEta.png

    Source Code


    jPIwEta.png

    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!


    jPIwEta.png

    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!


    jPIwEta.png
    6
    well, i'm glad i don't come here often.
    Anyway, for op2 i have the bootmenu showing and all, only thing now is -> touch works one time and next boot doesn't
    i know you think i'm old (48) and have much free time, but you will find in life the free time doesn't come that easy
    if anyone with "free time" wants to look at fixing it, here is the source for op2, op3 & onyx, just sync & build, and fix it https://github.com/MR-op3
    i also made a Multirom Manager app, working for all oneplus devices https://www.androidfilehost.com/?fid=24591000424948409 it's not official, so don't expect updates. But managing roms and the widget works.
    see ya
    edit: and since i am switching to op3 as daily, and @oadam11 just got op2, he will be GZR maintainer and hence will be taking over
    Maybe that will bring me a few minutes free time
    Slim i will maintain for now
    6
    i got bootmenu working but second rom just goes black screen
    give me a message if you have a idea

    here are the files:https://androidfilehost.com/?w=files&flid=52726
    5
    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