[TOOLS][All quark] MultiROM_TWRP [TWRP 3.1.1_Mod_3][MR 35][20171111]

fgl27

Recognized Developer
Feb 27, 2014
3,623
9,418
263
Brazil...South of the south

MultiROM is one-of-a-kind multi-boot mod. 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. Roms are installed and managed via the 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.

Warning!
It is dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is possible that something goes wrong and you will have to re-flash yours current Rom zips again. Make backups. Always!

Features:
  • MultiBoot any number of Android Roms
  • Restore Nandroid Backup as secondary ROM
  • Use for example Ubuntu Touch or Desktop alongside with Android, without the need of device formatting
  • Boot from USB drive Attached via OTG cable (untested)
Compatibility
Theoretically any ROM can be used as primary or secondary, but I only test the bellow scenario:
Nougat Custom ROM Primary and secondary OK
Marshmallow Stock secondary OK

All the other possibilities of ROM are untested, also important encryption wasn't tested yet.


Installation instruction:
Via The MultiRom Manager App:
This is the easiest way to install everything MultiROM needs... Just follow the Below Instructions:

  • Install the app (MultiROMMgr_Quark_xx.apk) From Download folder
  • Select MultiROM and Recovery on the Install/Update card.
  • Press "Install" on the Install/Update card to start the installation.
  • Done.
You current rom WILL NOT be erased by the installation.

Manually via TWRP
  • Download the files
  • Install the Multi_ROM TWRP just like normal TWRP, check norma TWRP installation instructions in case of doubt
  • Flash MultiROM.zip in the primary ROM
  • Reboot to recovery and start using it
  • On secondary if Custom ROM and you have bootloop problem flash the Quark_Multi_ROM_FIX_CustomROM_V_1_0.zip to the secondary ROM
Download Folder Click here
Files description:
MultiROMMgr_APP_Quark_xx.apk MultiROM manager app adapt for Quark
multirom_twrp-X.X.X-mod_X-quark.img Normal TWRP image, but with a TWRP adapted for multiROM
multirom-XXXXXXX-vXX-quark.zip flashable zip of multiROM boot manager interface
multirom_uninstaller.zip flashable zip to remove multiROM boot manager interface and cleanup any secondary ROM
Quark_Multi_ROM_FIX_CustomROM_V_1_0.zip flashable zip, if using latest version of my kernel or Nougat ROM released by bhb27 no need to flash this but if you not, this is temp fix for any custom ROM running old version of my kernel or not as a secondary ROM, eventually this won't be need but to day it is, need to re-flash this in case of a kernel change.
XXXX are related to version and dates


Credits:
Tasssadar -Developer of MultiRom
nkk71 - For his No-KEXEC workaround that allow multi_boot to work without complicated kernel modifications

TWRP and MultiROM source click here and read the README.md

App source click here

Developer donation link:
To donate via paypal click here
No other donation option is available.
 
Last edited:

fgl27

Recognized Developer
Feb 27, 2014
3,623
9,418
263
Brazil...South of the south
Help and etc:

Adding ROMs:
Android
Boot into MultiRom Recovery -> select MultiRom (top right corner menu) -> Add Rom -> Select the Rom's zip file or backup and click Confirm.


Switching ROMs (primary to secondary and vice versa):
To make the boot process faster I recomende to disable boot manager interface from showing on every time the device boot's and enable the "keypress-based boot", to enable it go to TWRP top right corner (Multirom menu on TWRP) > Settings > Auto boot > mark "keypress-based boot" and if you wanna to go to "boot manager interface" durring boot after the device vibrate press and hold volume up

Now to switch ROM the "boot manager interface" can be used just go there and click over the ROM you wanna to boot.
Or use the MultiROM manager app
On the app just open it slid left to right or click on left corner to open the tab menu > Manage ROMs > Click on the ROM > click BOOT
Warning!
Very importante always go back to primary ROM from a secondary before going to another secondary this is to prevent the boot.img of primary be override with the secondary and cause boot problems, in case that happens is always possible to restore a boot.img of primary using TWRP backup or flashing a boot.img that can be found on the ROM.zip of your current ROM


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 unless you wipe internal memory or format Data)
* 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 the Rom, follow these steps:
* Go to MultiRom -> List Roms and select the Rom you want to update.
* Select "Flash zip" and Flash the 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 Update something, for example a Kernel or a ROM, which is Distributed as a Whole boot.img (eg. ROM update zip), you have to use this option on it, otherwise you would lose MultiRom.
- Inject curr. 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 - No Need to Explain this I Think!
- 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 a Developer Option.


In case of a problem related to this project use @bhb27 on a post on this thread.

If anyone test different combinations of primary+secondary and or encryption let me know on the thread.
 
Last edited:

johnbravado

Senior Member
Oct 16, 2014
453
148
0
@bhb27 I installed the installation instruction but i think i may have now 2 Nougats. I made a backup of my current system. Installed the multiROM.zip file and then went to add ROM and installed my backup on internal memory. When i rebooted it did the 5 second countdown and i saw boot options internal and my backup. i though nothing of it until it finished booting and it was a barebone Nougat install.

On initial install is the multirom.zip going to be our base zip so i need to do a clean install and TiBU all my apps on to that, and then if i wish, install a second ROM. or can i install my backup on that base internal ROM which is currently a blank Nougat RR? Or did i choose wrong option when installing my backup?
 

fgl27

Recognized Developer
Feb 27, 2014
3,623
9,418
263
Brazil...South of the south
@bhb27 I installed the installation instruction but i think i may have now 2 Nougats. I made a backup of my current system. Installed the multiROM.zip file and then went to add ROM and installed my backup on internal memory. When i rebooted it did the 5 second countdown and i saw boot options internal and my backup. i though nothing of it until it finished booting and it was a barebone Nougat install.

On initial install is the multirom.zip going to be our base zip so i need to do a clean install and TiBU all my apps on to that, and then if i wish, install a second ROM. or can i install my backup on that base internal ROM which is currently a blank Nougat RR? Or did i choose wrong option when installing my backup?
the multirom.zp doesn't change yours current ROM you did something that cause that, it is just the boot manager support.

on main twrp menu you manage yours primary ROM, on MultiROM menu the extra secondary, you can restore yours backup via normal twrp menu and all must be fine, inject the multiRom boot after restore before reboot.
 

fgl27

Recognized Developer
Feb 27, 2014
3,623
9,418
263
Brazil...South of the south
I push the manager app to download folder, it allow in android changes, direct boot, etc...
multiapp.png
when open the app it will point out that the TWRP is out of date, I push a new twrp that is the same as the previously but this "new" one has a version tag that can be see in twrp and by the app that version tag will help with future updates via app.

:good:
 
Last edited:

RSDamasceno

Senior Member
Sep 16, 2011
649
320
0
Rio de Janeiro
I push the manager app to download folder, it allow in android changes, direct boot, etc...

when open the app it will point out that the TWRP is out of date, I push a new twrp that is the same as the previously but this "new" one has a version tag that can be see in twrp and by the app that version tag will help with future updates via app.

:good:
:good:
Seven android nougat!!
:cowboy:
 

Attachments

gangrenius

Senior Member
Feb 23, 2016
908
207
0
Links to all those?

Bumpn gums from my vzw DROID Turbo xt1254

---------- Post added at 04:14 AM ---------- Previous post was at 04:13 AM ----------

Which is best? RR I'm sure haha

Bumpn gums from my vzw DROID Turbo xt1254
 

z4ck1n

Senior Member
Jan 10, 2012
93
21
0
@bhb27 this is fantastic !! Thanks !!

Never tried custom ROM as using quark as daily driver. This will allow me to try and test Roms.

Which partitions to backup before trying this ?
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,308
14,151
253
Atlanta, Georgia
Last edited:

ghpranav

Senior Member
Aug 14, 2013
376
1,787
0
Bangalore
techphreak.com
Fantastic work

It's really great to see that devs are still working on quark. I'm also very excited to see Multi ROM for our device. It would be even more great if someone ports any Linux based OS to our device...
 

z4ck1n

Senior Member
Jan 10, 2012
93
21
0
system and boot, for ROM only.
system, boot and data if you wanna keep apps and they data...

if you test stock ROM as primary let me know the result.
I don't want to mess with primary rom (current stock mm). Want to install this over it, without losing data.

My Data is to big to be backup :confused: ...

Few Questions :confused:

How does multirom work? Does it change boot sector record like normal desktop oses?
In multirom installation which partitions are impacted?
Where is secondary rom installed?