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

TLDR:
MAKE A BACKUP. Seriously.
Downloads in second post. Flash recovery, then kernel, then MultiROM.
A kernel with the kexec-hardboot patch doesn't exist as of now. It is being worked upon be me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
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
MultiROM - https://github.com/regalstreak/multirom (branch: master)
Modified TWRP - https://github.com/Tasssadar/Team-Win-Recovery-Project (branch: android-6.0)
Kernel w/ kexec-hardboot patch (being worked upon) - https://github.com/regalstreak/android_kernel_oneplus_msm8994/tree/android-6.0-mrom
Device tree: https://github.com/regalstreak/android_device_oneplus_oneplus2/tree/android-6.0-mrom (branch android-6.0-mrom)
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!

Downloads
MultiROM Recovery
MultiROM Installer Flashable ZIP
MultiROM Uninstaller Flashable ZIPs

Reserved Post 1

Reserved Post 2

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.

MultirROM --> Ubuntu Touch!

Finally!
You are one of the best devs out there

regalstreak said:
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
Click to expand...
Click to collapse
R I O T
jk good work man!
Sent from my ONE A2005 using Tapatalk

Links up. Please test!

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

How to switch between roms? Have not boot Menü
Ok. Sorr, only swap works this time.

rakieta said:
How to switch between roms? Have not boot Menü
Ok. Sorr, only swap works this time.
Click to expand...
Click to collapse
Go to recovery and switch rom.
Thanks a ton @regalstreak. Literally been waiting for ages for this! You da real MVP!

Is there anyway to transfer my "dual boot patcher" roms (primary and 3 data slot roms) to multirom?

JudderArts said:
Is there anyway to transfer my "dual boot patcher" roms (primary and 3 data slot roms) to multirom?
Click to expand...
Click to collapse
Haha nice idea
But there isnt any way you will have to manually do it!

Recovery won't work with H2OS M version, right?

regalstreak said:
Haha nice idea
But there isnt any way you will have to manually do it!
Click to expand...
Click to collapse
Manually as in flash them again and such?

lucasbtx said:
Recovery won't work with H2OS M version, right?
Click to expand...
Click to collapse
I guess yeah as h2os is too pretty ****ed up, it doesnt even have a kernel source :3
JudderArts said:
Manually as in flash them again and such?
Click to expand...
Click to collapse
yes bro

Hi dear. I can't find kernel on 2nd post. Will it be enough to have my existing primary kernel.
Sent from my ONE A2001 using Tapatalk

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

So question...is there any way to share app data or such between Roms? Possibly a noob question but still gonna ask ?

Related

[MOD][13AUG]Multi ROM for Nexus 4 | Multi Boot |

Introduction
MultiROM is one-of-a-kind multi-boot mod made by @Tasssadar for Nexus 7 and ported to Nexus 4. It can boot any Android ROM as well as other systems like Ubuntu Touch (not yet).Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. 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, daily prebuilt image files to install Ubuntu Touch and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable
Click to expand...
Click to collapse
Warning!
I don't take any responsability for any bricked phone,unicorn war etc.You take the risk.Everything should work fine.
Click to expand...
Click to collapse
Installation
Warning!
You can't use 4.3 and 4.2 together !
You can't use multiple boot images!
Note 1: Sometimes booting secondary ROMs can take a lil'more time,don't get scared.
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).
MultiROM has 2 parts you need to install:
MultiROM (multirom_vXX_n4-signed.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom_n4_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app to flash it.
You current rom will not be erased by the installation.
Download links are in the second post.
1.Flash the modified recovery
2.Flash the MultiROM zip
3.Enjoy!
Click to expand...
Click to collapse
Adding ROMs
1.Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.
Click to expand...
Click to collapse
Using the USB Drive
NOT TESTED YET !
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.
Click to expand...
Click to collapse
Updating/changing ROMs
1.Primary ROMs
- Flash ROM's ZIP file as usual, you can format cache/system/data & do factory reset before flashing (it won't erase secondary ROMs)
- Flash the MultiROM zip file again.
Click to expand...
Click to collapse
Secondary ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Click to expand...
Click to collapse
Explanation of recovery menus
Main menu
- Add ROM - add ROM to boot
- List ROMs - list installed ROMs and manage them
- Inject boot.img file - When you download for example kernel, which is distrubuted as whole boot.img (eg. franco kernel), you have to use this option on it, otherwise you would lose MultiROM.
- Inject curr. boot sector - don't use it !
- Settings - well, settings.
Manage ROM
- Rename, delete - I believe these are obvious
- Flash ZIP (only Android ROMs) - flash ZIP to the ROM, for example gapps
- Add/replace boot.img - replaces boot.img used by this ROM, this is more like developer option.
Click to expand...
Click to collapse
Source code
MultiROM - https://github.com/oblikas/multirom-1.git
Modified TWRP - https://github.com/oblikas/MultiROM-TWRP
Click to expand...
Click to collapse
Donations&donators
Please,help me to buy a good PC ! You can donate here
Also,help @Tasssadar because he is the master ! Here !
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=eHvmvEQjqHM&feature=youtube_gdata_player
Pics and videos
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits
@Tasssadar ! Thank you so much for help ! @cpu999 for build server
Any other person who helped me
Downloads
MultiROM - MultiROM_v1_n4-signed.zip
Modified TWRP 13/08/13 - TWRP_multirom_n4_130813.img
Modified TWRP 01/09/13 - TWRP_multirom_n4_020913.img
Click to expand...
Click to collapse
Wow. Cool!
Sent from my Nexus 4 using Tapatalk 4
Man this is unreal.
Thanks for the effort man.
Going to give it a shot
all roms can access the same data like my music stored on the device right?
Can they sync for example sms?
Nice work, I will test this if I have time. Seems promising though.
Gesendet von meinem Nexus 7 mit Tapatalk 4
Amazing dude! Something that's really gonna make everyone's nexus 4 experience even better
Sent from my Nexus 4
Crenshaw-PCGH said:
all roms can access the same data like my music stored on the device right?
Can they sync for example sms?
Click to expand...
Click to collapse
Same sdcard partition.Is not like Switch for HTC one to use the same data partition on 2 ROMs.
Sent from my Nexus 4 using xda app-developers app
How many Roms can we multi boot? (As in, how many can the storage hold)
Sent from my Nexus 4
tiru.adi13 said:
How many Roms can we multi boot? (As in, how many can the storage hold)
Sent from my Nexus 4
Click to expand...
Click to collapse
Did you read the 1st feature of the Mod?
_Behemoth said:
Did you read the 1st feature of the Mod?
Click to expand...
Click to collapse
Yes, I did
What I was wondering was, isn't there a limit on that particular storage partition for ROMs?
Sent from my Nexus 4
Man, I had this in my XT910 Razr, it's awesome!
Great job!
oblikas said:
Same sdcard partition.Is not like Switch for HTC one to use the same data partition on 2 ROMs.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Would we need a patch for the kernel? Like the nexus7?
Mahdi786 said:
Would we need a patch for the kernel? Like the nexus7?
Click to expand...
Click to collapse
No,it isn't available yet.That patch it's for booting Ubuntu Touch and Android.
For ROM on OTG,you need to flash the OTG patch.
Sent from my Nexus 4 using xda app-developers app
sounds great i hope you post a video soon :good:
Wow, this thread is real ?
I will give it a try. Many thanks to you !
Also if anyone needs this for another device,I can port it but I need help to buy the device.
Omg I was waiting for this one!!!!!!!!!
Sent from my Nexus 4 using Tapatalk 4
Can't wait to get home and switch to my n4 so I can try this. Great work op :thumbup:
>^.^< Sent from meow HTC One which is like catnip to me atm
Amazing work man. Congrats !!

[MOD][26 FEB 2015] [D855 Only] Multirom

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
MultiROM is one-of-a-kind multi-boot mod for Nexus 5. It can boot any Android ROM as well as other systems like Ubuntu Touch, once they are ported to that device. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. 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.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable
You can also watch a video which shows it in action.​
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
1. Via MultiROM Manager app
This is the easiest way to install everything MultiROM needs. Install the app and select MultiROM and recovery on the Install/Update card. If the Status card says Kernel: doesn't have kexec-hardboot patch! in red letters, you have to install also patched kernel - either select one on the Install/Update card or get some 3rd-party kernel here on XDA. You are chosing kernel for your primary ROM, not any of your (future) secondary ROMs, so select the version accordingly.
Press "Install" on the Install/Update card to start the installation.​
2.Manual 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.
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).
MultiROM has 3 parts you need to install:
MultiROM (multirom-YYYYMMDD-vXX-d855.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom_d855_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app 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, you can see list in the second post. Download the ZIP file and flash it in recovery.
You current rom will not be erased by the installation.
Download links are in the second post.​
Adding ROMs
1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.​
2. Ubuntu Touch
Use the MultiROM Manager app to install Ubuntu Touc​h.
Ubuntu Touch is in development - MultiROM will have to be updated to keep up with future changes in Ubuntu, so there's a good chance this method stops working after a while and I'll have to fix it.​
3. Firefox OS
Firefox OS is just another Android ROM from MultiROM's point of view, so grab the ZIP file from Firefox OS' thread and add it as if it were Android​
4. SailfishOS
Download CyanogenMod and SailfishOS ZIP as described on Sailfish wiki page. You need alpha2 (20140810) or newer!
Put both CM and SailfishZIP on your device.
Reboot into recovery
Advanced -> MultiROM -> Add ROM
Choose "SailfishOS" as ROM type. Installation to USB drive is not supported, so leave install location as is. Click Next.
Choose first CyanogenMod ZIP and then SailfishOS ZIP. Click install.
Head to SailfishOS thread for more info: http://forum.xda-developers.com/google-nexus-5/development/rom-sailfish-os-alpha-t2841266​
Using USB drive
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.​
Updating/changing 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 Advanced -> MultiROM in recovery and do Inject curr. 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 Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Source code
Kernel https://github.com/Skin1980/D855-kernel/tree/lollipop
Device Tree https://github.com/Skin1980/device-d855-multirom
TWRP https://github.com/Skin1980/Team-Win-Recovery-Project
Credits: @tassadar for the awesome work; @invisiblek and @savoca @patrik.KT for them help
...and all the people that now i forget
PLEASE READ THE MULTIROM WIKI TO UNDERSTAND BETTER WHAT YOU ARE DOING
Frequently
Asked
Questions
IMPORTANT: Need to be with a stock Rom ( tested with mine ChupaChupa 3.0 )
HOW TO INSTALL:
1- reboot in recovery and flash the new TWRP with Multirom support; --> HERE
2- reboot the recovery;
3- flash the kernel with the kexec hardboot patch ( it's my chupakernel 20D based, might works well also with the 20E roms) 2Gb/16 HERE and 3Gb/32 HERE
4- flash the multirom zip; ---> HERE
5- install every Rom you want ( advanced--> multirom --> add rom )
6- reboot and choose the rom you want to boot.
You can also use a Cyanogenmod or similar with the wonderful Rin Kernel by @Tectas --> DOWNLOAD FOLDER
KK Kernel for stock based roms ( based on rin kernel by @Tectas ) 2Gb HERE and 3Gb HERE
Issues:
1- on boot the touch need some seconds to work in multirom menu, you can use the volume keys to move and the power button to select.
Changelogs:
- 07.01.2015 fixed install issue for the secondary roms on TWRP
- 07.01.2015 fixed button layout in TWRP
- 08.01.2015 fixed kernel for the 3Gb version ( now the can multiboot too)
- 08.01.2015 fixed kernel version for both
- 08.01.2015 fixed install to external sd
- 08.01.2015 fixed TWRP version displayed
- 10.01.2015 fixed TWRP layout ( hopefully )
- 10.01.2015 fixed Installation of 2nd ROM from previous backup ( tested with CM12 nightly)
- 20.01.2015 added KK kernel
- 20.01.2015 bigger Multirom Menù
- 26.02.2015 fix for the latest Cyanogenmod
I posted this quickly and i will update ASAP.
Skin1980 said:
reserved
Click to expand...
Click to collapse
another one
Nice
Amazing.
Thanks crack!
Thanks!
Is working fine on D855 16 GB.:good:
So the first ROM need a stock ROM like tour chupa chups?
Great job!
I've got a request. Please, can you compile a KitKat kernel with multirom support? I'm still on 10o, and i won't change it for a long time...
iSnob said:
So the first ROM need a stock ROM like tour chupa chups?
Click to expand...
Click to collapse
Yes
Sent from my SM-N910F using XDA Free mobile app
YaDr said:
Great job!
I've got a request. Please, can you compile a KitKat kernel with multirom support? I'm still on 10o, and i won't change it for a long time...
Click to expand...
Click to collapse
Yes but not for now.... maybe @Tectas can do it quickly
Sent from my SM-N910F using XDA Free mobile app
tnx i will try it
I'm so glad we managed to keep you on these forums.
I'm so looking forward to playing with this. ?
how to restore a rom on second partition??
Thanks a lot for this mod awesome find 1 thing how to restore a rom on second partition???
Nice to see developers getting more interested in G3
Thanks!!! Been waiting since i've seen your video... Will try as soon as possible... =)
Sent from my LG-D855 using Tapatalk
zimmerAndy said:
Thanks a lot for this mod awesome find 1 thing how to restore a rom on second partition???
Click to expand...
Click to collapse
Advanced multirom. Add Rom and the select backup instead of zip
Sent from my SM-N910F using XDA Free mobile app
Nice☺
Skin1980 said:
Advanced multirom. Add Rom and the select backup instead of zip
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
Hi i get a security error after restoring a rom so i believe that has something to do with kernel right??
Multirom app say my device is unsupported ,where i find the modified recovery?
Ok sorry man with tapatalk dont show link
Yeeeah!! Kitkat supported kernel would be great! Lollypop is worse for now than kk

[MultiRom V32 Resurrected ] ls990

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
## Introduction ##​
MultiROM is one-of-a-kind multi-boot mod for Nexus 6. It can boot any Android ROM as well as other systems like Ubuntu Touch, once they are ported to that device. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. 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.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable
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 ##
1. Via MultiROM Manager app
This is the easiest way to install everything MultiROM needs. Install the app and select MultiROM and recovery on the Install/Update card. If the Status card says Kernel: doesn't have kexec-hardboot patch! in red letters, you have to install also patched kernel - either select one on the Install/Update card or get some 3rd-party kernel here on XDA. You are chosing kernel for your primary ROM, not any of your (future) secondary ROMs, so select the version accordingly.
Press "Install" on the Install/Update card to start the installation.
2.Manual 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 4 parts, but you really only need to install 3 parts:
MultiROM Installer:
TWRP Modified Recovery:
Patched Kernel: Primary roms Must have a Kexec Hardboot Patched Kernel
MultiRom UnInstaller:
Adding ROMs:
1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 5.0 after first boot (with dalvik cache generated and connected to google account) takes about 1 GiB of space.
Using USB drive:
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.
Updating/changing 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 Advanced -> MultiROM in recovery and do Inject curr. 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 Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Special Thanks to @Tasssadar..​
XDA:DevDB Information
MultiRom V32 Resurrected, ROM for the Sprint LG G3
Contributors
Eliminater74, thewalkingdude, Tasssadar
Source Code: https://github.com/Tasssadar/multirom
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2015-07-12
Last Updated 2015-07-12
reserved
MultiRom V32 Installer: multirom-20150711-v32-UNOFFICIAL-ls990.zip
MultiRom Modified TWRP Recovery: TWRP_MultiRom_2.8.7.x__ls990_20150712-signed.zip
MultiRom Kexec Hardboot Kernel By @777jon: AOSP-777-Kernel_ls990-R10.zip
MultiRom Uninstaller: multirom_uninstaller.zip
Warning: Kernel is for LP 5.1 Only with 32gb variants at question. Sorry 16gigers, I havent done one for you yet.. but you can try this one.. It just may work.
Note: You can compile your own Kexec Hardboot Kernel as well. @fechanaitor and @777jon both have the Correct MultiRom patch that works with this version.
SideNote: Little UnKnownFact. This MultiRom is set up to allow installing Stock OEM roms as secondery as well..
And @777jon's 777Kernel does work on secondary as well with this version..
reserved
reserved
Thank you very much! I just finished Navel kernel with 777jon's kexec patch! I'll give it a test tomorrow.
Our original Multirom, was giving me tz demigod crash.
A million thanks, again!
Update: MultiRom V32 resurrected Now available for download.
engine95 said:
Thank you very much! I just finished Navel kernel with 777jon's kexec patch! I'll give it a test tomorrow.
Our original Multirom, was giving me tz demigod crash.
A million thanks, again!
Click to expand...
Click to collapse
Actually that patch is my patch. I created it with the help of @Tasssadar because the old patch that @Skin1980 did didnt work so well.
Btw, my version also will boot stock OEM roms as secondary as well..
Figured you might want to know this is working. And it mostly is!!
I've got XenonHD as Primary. And CM as secondary. And that works.
But as for stock as secondary, I'm not having any luck there. It gets stuck at the LG logo, requiring a battery pull.
Nice work! Thanks again. :good::good:
Edit: I've tried stock from a backup and fresh install. On internal and external. No love. It just stays at the LG logo for over 10min, then I end up pulling the battery.
Sorry I didn't get you any logs, but I will later when I can play with this more.
engine95 said:
Figured you might want to know this is working. And it mostly is!!
I've got XenonHD as Primary. And CM as secondary. And that works.
But as for stock as secondary, I'm not having any luck there. It gets stuck at the LG logo, requiring a battery pull.
Nice work! Thanks again. :good::good:
Edit: I've tried stock from a backup and fresh install. On internal and external. No love. It just stays at the LG logo for over 10min, then I end up pulling the battery.
Sorry I didn't get you any logs, but I will later when I can play with this more.
Click to expand...
Click to collapse
hmm.. can you send me a log? I know hooks.c was added.. thats what is allowing the stock.
Problem with stock is it uses a unfinished fstab.. so it causes multirom to abort.. so the hooks.c allows it to continue even if the fstab is incomplete...
as for your problem, I need to know what version of stock. I never tried the LP versions yet.. and if you have a log, could you plz post it or send it.
ill look at it and if I cant figure it out, ill send it to @Tasssadar to see if he can figure it out.
As I dont own this device, even know I have a G3 D851.. So I cant really break down and test it like I would with my own.... I know I can install stock and run it.. I have done it.
but I havent messed with that in a long time too. Just send me a log if you can.
BTW, thanks for posting that it works. I been waiting on that.. I just got confirmation that the D855 Global port I did works too. so im on a role here....
Now if I can just get my kernel to build with no issues ill be ok..
It sucks building blind for sure.
Im using ZVA which is our latest update. BarePapA with NavelA kernel to be specific. I have a commit for the kexec patched kernel but it's not working. If you want to look at it.
Hopefully I can get you the logs later today. Do you want the one that Multirom provides? Or is there a better one to help you?
Also, following your International version, we have 4 memory banks and have to "Bump" our kernels also. Most of us use the old ZV4 bootloader and add /system, /boot, and/modem images, to keep it unlocked. I don't know if that changes or helps at all.
engine95 said:
It sucks building blind for sure.
Im using ZVA which is our latest update. BarePapA with NavelA kernel to be specific. I have a commit for the kexec patched kernel but it's not working. If you want to look at it.
Hopefully I can get you the logs later today. Do you want the one that Multirom provides? Or is there a better one to help you?
Also, following your International version, we have 4 memory banks and have to "Bump" our kernels also. Most of us use the old ZV4 bootloader and add /system, /boot, and/modem images, to keep it unlocked. I don't know if that changes or helps at all.
Click to expand...
Click to collapse
hmm msg me on hangouts and maybe I can help you get that patch to work right for you. Its all in the kernel.. as for bump.. the device tree automatic bumps all the devices that need it.
you can either look at my profile and get the nfo for hangouts or pm me and ill give it to you or you can give me yours... then we can see whats going on.
Im half asleep while typing so i might sound a little offff
Fix to boot MultiRom and get it working
Thread Moved to: XDA Link
Thread closed per OP request.

[MOD] MultiRom for Samsung Galaxy J5 (2015) [SM-J5xxx]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction:
MultiROM is one-of-a-kind multi-boot mod for Galaxy J5. It can boot any Android ROM as well as other systems like Ubuntu Touch, Plasma Active, Bohdi Linux or WebOS port, once they are ported to our device. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. 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, daily prebuilt image files to install Ubuntu Touch and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.​Features:
Multiboot any number of Android ROMs
Restore nandroid backup as secondary ROM
Use for example Ubuntu Touch or Desktop alongside with Android.
Boot from USB drive attached via OTG cable
Warning!
It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is messing with boot sector and data partition. If something goes wrong you will have to flash factory images again. Make backups. Always.​
Installation:
1) Flash the Modified TWRP image with odin or extract the tar file and install the img file with flashify or another recovery that has img install feature.
2) After flashing the recovery image boot into the recovery and Flash the MultiROM zip.
3) That's it you're done. Reboot into system and the multirom menu will show up.
Enjoy!! ​
MultiROM has 3 parts you need to install:
MultiROM (multirom_vXX_n7-signed.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom_n7_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app to flash it.
Patched kernel - Not needed for our device.
Your current rom will not be erased by the installation.
Downloads are in 2nd post!!
Important: Since the Kernel hasn't Kexec Hardboot patch, you have to check "use no kexec workaround" box in multirom settings. (it has been set to this option by default)​Adding ROMs:
Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm.
Using USB drive (not tested yet):
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.​
Updating/changing 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 Advanced -> MultiROM in recovery and do Inject 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 Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.​
Explanation of recovery menus:
Main menu:
Add ROM - add ROM to boot
List ROMs - list installed ROMs and manage them
Inject boot.img file - When you download for example kernel, which is distributed as whole boot.img (eg. franco kernel), you have to use this option on it, otherwise you would lose MultiROM.
Inject boot sector - Use this option if MultiROM does not show up on boot, for example after kernel installation.
Settings - well, settings.
Manage ROM:
Rename, delete - I believe these are obvious
Flash ZIP (only Android ROMs) - flash ZIP to the ROM, for example gapps
Add/replace boot.img - replaces boot.img used by this ROM, this is more like developer option.
Re-patch init - this is available only for ubuntu. Use it when ubuntu cannot find root partition, ie. after apt-get upgrade which changed the init script.
How does Kexec workaround works:
You need to have a kexec-hardboot supporting kernel or the non-kexec workaround as described perfectly by @nkk71 here: http://forum.xda-developers.com/show...26&postcount=4 (Be sure to leave him a thanks!)​
NOTE: Stock Lollipop Firmware required. Will not work on MM bootloaders.
Credits:
A big thanks for:
@nkk71 For his kexec workaround
@Tasssadar For MultiRom Source Code
@Nick Verse
XDA:DevDB Information
MultiRom for Galaxy J5, Tool/Utility for the Samsung Galaxy J5
Contributors
ganesh varma
Source Code: https://github.com/Galaxy-J5
Version Information
Status: Beta
Current Beta Version: 1
Beta Release Date: 2016-12-18
Created 2016-12-18
Last Updated 2016-12-19
Reserved
Downloads:
MultiRom TWRP Recovery:
Recovery Images for LL Bootloader:-
J500F
J500FN
J500G
J500H
J500M
J500Y
MultiRom ZIP Installer: multirom-20161218-v33-UNOFFICIAL.zip​
Changelog:
Code:
18.12.2016
=====================
* Initial release
NOTE: Stock Lollipop Firmware required. Will not work on MM bootloaders.
Hit that Thanks button if you like my work!!
Awesome work bro @ganesh varma ..
Congrats & all the best.. :good::good:
That's really cool buddy.
I'm very impressed
Nice one
John
Sent from my Honor 8 using XDA Labs
Uhh, so that means i can dualboot in android?
anyways, cool
Alright! Time to get our hands dirty ?
Great job @ganesh varma and @Nick Verse to port this Mod to our J5. Thankyou so much!
Nice work bro @ganesh varma
????????
Great job. Just noticed that the screen resolution is not okay. It seems somehow it zoomed a bit in....
Will the data partition be the same for both ROMs or different??
I have installed a new ROM in external SD. When I try to boot it, I can't find it, why??
updesh94 said:
Will the data partition be the same for both ROMs or different??
Click to expand...
Click to collapse
No the secondary ROM creates a folder in the internal storage and uses it as data partition. The two roms have their own data partitions.
MiGuPa said:
I have installed a new ROM in external SD. When I try to boot it, I can't find it, why??
Click to expand...
Click to collapse
Did you see by swiping right to the External tab on the multirom menu? The roms installed to SD card will be shown under External tab in multirom menu.
I think that it's so cool that you have made this for the J5
Good work
Thanks for your time
John
ganesh varma said:
Did you see by swiping right to the External tab on the multirom menu? The roms installed to SD card will be shown under External tab in multirom menu.
Click to expand...
Click to collapse
Yes, I also stayed there, and any new
Good Work, man!
works in J500M?
luisfelipee said:
Good Work, man!
works in J500M?
Click to expand...
Click to collapse
Nope, read the #2 post man... For now only F and FN models.
Sent from my SM-J500FN using XDA Labs
Mixed Review!
ganesh varma said:
No the secondary ROM creates a folder in the internal storage and uses it as data partition. The two roms have their own data partitions.
Click to expand...
Click to collapse
So I tried the multirom, It's working absolutely great.. No issues in any rom...
I installed Stock Lollipop primary rom and Resurrection rom as the secondary rom...
Glitches---
1. In the boot menu where OS are displayed if we tap the multirom icon, a ping pong game starts which says "to exit press power button" but then we are stuck in it and only possible way is to remove battery... :laugh:
2. Sometimes the selected rom doesn't boot and nothing happens.. only 1/10 times... :silly:
3. Storage becomes low in /data and /system has a lot of space, can u suggest a way to transfer dalvik-cache of primary rom to /system ??I tried one but it didn't work!!
By the way, It seems awesome to multiboot Roms...
I'm using j500F btw...
Now I tried to install an ROM on internal memory, and when I tried to boot:
JosephDM said:
Nope, read the #2 post man... For now only F and FN models.
Sent from my SM-J500FN using XDA Labs
Click to expand...
Click to collapse
thanks for reply. i asked cuz some F roms works in M model
updesh94 said:
So I tried the multirom, It's working absolutely great.. No issues in any rom...
I installed Stock Lollipop primary rom and Resurrection rom as the secondary rom...
Glitches---
1. In the boot menu where OS are displayed if we tap the multirom icon, a ping pong game starts which says "to exit press power button" but then we are stuck in it and only possible way is to remove battery... :laugh:
Click to expand...
Click to collapse
try press volume down + power button till restart.
to recovery mode when cel stuck, press all buttons (vol+, Vol-, Home and power) when screen off leave 'vol-' only and keep others
Update
Multirom for J500G,J500H,J500M and J500Y variants is now available. Can be downloaded from the second post!!
These recovery images are for LL bootloader's. Multirom for MM bootloader's will be available by the end of next week. :good:
Make sure that you have read all the instructions from the first post when you ran into problems. Everything is mentioned over there.
thanks @ganesh varma...its really awasome i m using on j500f.

[MOD] MultiROM v33b for OnePlus2

TLDR:
1: MAKE A BACKUP. Seriously.
2: Downloads in second post. Flash recovery, then kernel, then MultiROM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 experimental!
Make backups. Seriously. Please.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via USB-C OTG cable
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
2.Manual 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 2 parts you need to install:
Modified recovery (TWRP_multirom_oneplus2_YYYYMMDD.img) - download the IMG file from second post and use fastboot to flash it.
MultiROM (multirom-YYYYMMDD-vXX-oneplus2.zip) - download the ZIP file from second post and flash it in recovery.
Your current ROM will not be erased by the installation.​
Adding ROMs
1. Android
Go to recovery, select MultiROM -> Add ROM. Select the ROM's zip file and confirm.​
Using USB drive
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.​
Updating/changing 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 curr. 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 -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Note that swapping roms between internal and external is not supported (yet). Also, after flashing a factory image to the primary system and boot partition, make sure to immediately inject MultiROM before first boot, otherwise the secondary ROMs will be deleted.
Source code
MultiROM - https://github.com/nkk71/multirom/tree/master (branch master)
Modified TWRP - https://github.com/nkk71/Team-Win-Recovery-Project (branch android-7.1-mrom)
Device tree: https://github.com/MZO9400/device_oneplus_oneplus2-mrom -b twrp-mrom​
Thanks
This port is based on the hard work of Tassadar, 500 Internal Server Error, Geoff Levand, webgeek1234, Mike Kasick, Npjohnson, Hashbang173, and many others. Thank you.
Issues
- None that are known. If you find one that this thread does not know about/hasn't answered (solid rule, read the last three pages of the thread befre reporting an issue), report it in the thread
- IF YOU GET LOCKED OUT OF YOUR DEVICE: Don't worry! Your data is fine. Simply boot to TWRP, choose 'Advanced' ==> 'Terminal Command' ==> type "rm -rf /data/system/gatekeeper.*.key" (without the quotes). This is a dirty fix, and should only be used to recover data, not as a permanent solution! After you recover your data, wipe /data (you don't have to wipe Internal Storage), and re-setup the device.
Changelog
Here
Downloads
Downloads in second post
NOTE:
Third party kernels with kexec-hardboot support (can be flashed to primary ROM): THIS IS NO KEXEC MultiROM, you don't necessarily need kexec hardboot supported kernels
Extra Information
Unlike some of the other 64-bit MultiROM ports, this port does have kexec-hardboot enabled, which is less risky and speeds up boot into secondary ROM. Anyone porting MultiROM to a Snapdragon 810 device may find the source to be useful. The patch was written by @500 Internal Server Error
XDA:DevDB Information
MultiROM for OnePlus2, Tool/Utility for the OnePlus 2
Contributors
MZO, nkk71, martinusbe
Source Code: http://github.com/multirom-dev
Version Information
Status: Stable
Current Stable Version: v33b
Stable Release Date: 2017-05-13
Current Beta Version: v33b
Beta Release Date: 2017-04-20
Created 2017-04-20
Last Updated 2017-05-13
MultiROM (folder):
DOWNLOAD
MultiROM v33b
TWRP MultiROM v3.1.1
MultiROM Uninstaller
MultiROM manager modified with OP2 commits has been attached to this post
Method of flashing multirom.
________________
1. Go to TWRP 3.1.0 officially that u already have
2. Flash the multirom image file .. and select recovery when it asks whether u want boot or recovery.
3. When successful go back to maim page and hit reboot recovery
4. Now its multirom
5. Flash the provided multirom zip file. An auto reboot will occur. Hit cancel and go to MISC tab to hit reboot recovery
6. Now the existing rom u had , is primary
7. Go to 3 dot menu of TWRP on upper right corner​.
8. Select add rom
9. Flash desired rom
10. Reboot recovery again when successful
11. Go to 3 dot menu again and select list rom
12. Tap on add zip file and add gapps here... That is whatever u file want to flash on a rom just select that rom from rom list and add zip from there
[when flash a secondary, u have to flash zip, then back, and add zip and flash gapps]
13. Hit reboot system.
14. Now a screen will appear even before boot to.ask which rom u want to flash. For the very first time the option is set to, if u don't select any it will boot to primary after 5 seconds, so u hit cancel on that screen (pop up actually)
15. Select the desired rom , double tap on it and it will boot.
First boot of a new rom takes at least 15 to 20 real life minutes.
Notes:
__
To change the option of count down of rom booting selection, go to settings of multirom twrp and turn off option from there. Now every time u reboot.. it will ask which rom u want to boot. And if u don't select any it will stay on same screen till u click something
Tested so far:
Nougat based ROMs
OOS stock
OOS based ROMs
H2OS
MIUI
FlyME
Okay so @Tomsgt has made an amazing guide on how to set up and run MultiROM for our device (or any device), you can find his video right here:
<Mod Edit: Link removed for promoting paid service.>
Awesome work
Yay
btw, link to devicetree doesn't work. found it anyway https://github.com/AOSP-JF-MM/platform_device_oneplus_oneplus2/commits/aosp-7.1.2_mrom
martinusbe said:
Yay
btw, link to devicetree doesn't work. found it anyway https://github.com/AOSP-JF-MM/platform_device_oneplus_oneplus2/commits/aosp-7.1.2_mrom
Click to expand...
Click to collapse
Fixed!
Was getting installation aborted error...removed device check and installed successfully...
Thanks...
[email protected] said:
Was getting installation aborted error...removed device check and installed successfully...
Thanks...
Click to expand...
Click to collapse
Probably because of the ROM. It might need more tags since we can't agree on ONE name
MZO said:
Probably because of the ROM. It might need more tags since we can't agree on ONE name
Click to expand...
Click to collapse
Its working fine now...awesome work... :good:
Great man, thanks a lot.
Sent from my ONE A2003 using XDA-Developers Legacy app
MZO said:
Fixed!
Click to expand...
Click to collapse
cool, thanks for keeping authorship btw
martinusbe said:
cool, thanks for keeping authorship btw
Click to expand...
Click to collapse
My pleasure used your commits and you helped me in the final stage — well deserved!
MZO said:
Probably because of the ROM. It might need more tags since we can't agree on ONE name
Click to expand...
Click to collapse
maybe add some of the known used ones here https://github.com/AOSP-JF-MM/platf...lus2/blob/aosp-7.1.2_mrom/BoardConfig.mk#L231
martinusbe said:
maybe add some of the known used ones here https://github.com/AOSP-JF-MM/platf...lus2/blob/aosp-7.1.2_mrom/BoardConfig.mk#L231
Click to expand...
Click to collapse
Yes! I have done that locally — not sure what other devices names to add. If @[email protected] would let me know his device name I'd be obliged ?
MZO said:
Yes! I have done that locally — not sure what other devices names to add. If @[email protected] would let me know his device name I'd be obliged ?
Click to expand...
Click to collapse
yea, not sure if that takes a comma separated list
been a while since i looked at it all, but i think i didn't have a comma in there on op3
martinusbe said:
yea, not sure if that takes a comma separated list
been a while since i looked at it all, but i think i didn't have a comma in there on op3
Click to expand...
Click to collapse
Yep it worked with commas. Uploading now two more names: Oneplus2 (pretty common), onePlus2 (what was I thinking??)
Will i need to wipe internel storage for first time
ShaDow18 said:
Will i need to wipe internel storage for first time
Click to expand...
Click to collapse
No you won't.
MZO said:
No you won't.
Click to expand...
Click to collapse
What about recovery do i really need fastboot mode or flasify can also do

Categories

Resources