[MOD][FEB 10] MultiROM v33

818 posts
Thanks Meter: 6,172
Post Reply Email Thread
MultiROM is one-of-a-kind multi-boot modification, which can boot any Android ROM as well as other systems like Ubuntu Touch, Plasma Active, Bohdi Linux or WebOS port. 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.

* 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.

I don't own mako, so I can obviously provide only limited support. Big thanks goes to flash5000 and oblikas, who helped me get MultiROM to this device

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.

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 ( - download the ZIP file from second post and flash it in recovery.
  • Modified recovery (TWRP_multirom_mako_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 chose this kernel for the primary ROM, so get the version your primary ROM is based of.
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 Touch.

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 (guide by Riro Zizo)
* Download both system and UI ZIP files from Firefox OS thread.
* Put both files to your /sdcard and go to recovery, Advanced -> MultiROM -> Add ROM.
* Select Android as ROM type and select "don't share kernel". Tap next, select ZIP file and select the system ZIP of Firefox OS.
* When it is installed, go to Advanced -> MultiROM -> List ROMs -> *name of firefox os ROM* -> Flash ZIP and select the UI ZIP file.

Using USB drive
I'm told that OTG on mako does not exactly work very well and needs external power supply. If you do that however, MultiROM should be able to use USB drives, the principle is the same on all devices.

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
MultiROM - (branch master)
Modified TWRP - (branch master)
Kernel w/ kexec-hardboot patch -

I'd be glad if you could spare a few bucks. You can use either paypal or Bitcoins, my address is 172RccLB2ffSnJyYwjYbUD3Nx4QX3R8Ris
Thanks to all donors, it is much appreciated
Attached Thumbnails
Click image for larger version

Name:	mrom_screenshot_000.png
Views:	12426
Size:	43.5 KB
ID:	2889532   Click image for larger version

Name:	mrom_screenshot_001.png
Views:	12837
Size:	72.8 KB
ID:	2889533   Click image for larger version

Name:	mrom_screenshot_002.png
Views:	12592
Size:	76.2 KB
ID:	2889534   Click image for larger version

Name:	mrom_screenshot_003.png
Views:	12067
Size:	26.8 KB
ID:	2889535   Click image for larger version

Name:	mrom_screenshot_004.png
Views:	11553
Size:	40.8 KB
ID:	2889536   Click image for larger version

Name:	mrom_screenshot_006.png
Views:	12363
Size:	42.3 KB
ID:	2889537   Click image for larger version

Name:	mrom_screenshot_007.png
Views:	11447
Size:	44.6 KB
ID:	2889538   Click image for larger version

Name:	mrom_screenshot_008.png
Views:	11541
Size:	43.5 KB
ID:	2889539   Click image for larger version

Name:	mrom_screenshot_009.png
Views:	12335
Size:	76.8 KB
ID:	2889540   Click image for larger version

Name:	mrom_screenshot_010.png
Views:	11338
Size:	51.3 KB
ID:	2889543   Click image for larger version

Name:	mrom_screenshot_013.png
Views:	11154
Size:	54.7 KB
ID:	2889544  
The Following 260 Users Say Thank You to Tasssadar For This Useful Post: [ View ] Gift Tasssadar Ad-Free
6th October 2013, 03:16 PM |#2  
Tasssadar's Avatar
OP Inactive Recognized Developer
Flag Brno
Thanks Meter: 6,172
Donate to Me
1. Main downloads

Modified recovery (based on TWRP): TWRP_multirom_mako_20160210.img
MultiROM Manager Android app: Google Play or link to APK

Kernel w/ kexec-hardboot patch (Stock 4.2.2):
Kernel w/ kexec-hardboot patch (Stock 4.3 (version JWR)):
Kernel w/ kexec-hardboot patch (Stock 4.3 (version JSS)):
Kernel w/ kexec-hardboot patch (Stock 4.4):
Kernel w/ kexec-hardboot patch (Stock 4.4.1 and 4.4.2):
Kernel w/ kexec-hardboot patch (Stock 4.4.3 and 4.4.4):
Kernel w/ kexec-hardboot patch (Stock 5.0):
Kernel w/ kexec-hardboot patch (Stock 5.0.1):
Kernel w/ kexec-hardboot patch (Stock 5.1):
Kernel w/ kexec-hardboot patch (Stock 5.1.1):
Kernel w/ kexec-hardboot patch (CM 10.1):
Kernel w/ kexec-hardboot patch (CM 10.2 - old):
Kernel w/ kexec-hardboot patch (CM 10.2 - new):
Kernel w/ kexec-hardboot patch (CM 11 (4.4 - 4.4.2)):
Kernel w/ kexec-hardboot patch (CM 11 (4.4.3 - 4.4.4)):
Kernel w/ kexec-hardboot patch (CM 12):
Kernel w/ kexec-hardboot patch (CM 12.1):
Kernel w/ kexec-hardboot patch (CM 13.0):
You need to have kernel with kexec-hardboot patch only in your primary ROM!

2. Third-party kernels with kexec-hardboot patch
franco.Kernel -
Trinity Four -
BMC kernel -
AK kernel -
hells-Core -
faux123's kernel -
Ampang's kernel -
Aufa's kernel -

Nicely ask your kernel developer to merge
3. Uninstaller

MultiROM uninstaller:
Flash this ZIP file to remove MultiROM from your device. It will erase all secondary ROMs. If you don't want MultiROM menus in recovery, re-flash clean TWRP, but it is not needed - those menus don't do anything if MultiROM is not installed.
4. Flashable factory images ZIPs
I usually release flashable ZIP files based on new factory images from Google, so that you can have clean stock ROM as a secondary system in MultiROM. They are not rooted, no anything, except for occasional small tweaks to make rooting with SuperSU possible. You can find them in this folder on basketbuild or dev-host.

MultiROM v33
* Updates for Android 6.0 compatibility

MultiROM v32
* Minor GUI improvements
* Bunch of ROM compatibility fixes

MultiROM v31
* Add support for "multimount" fstabs
* Support interlaced PNGs (fixes wrongly rendered icons in boot manager, e.g.
  the L icon)

MultiROM v30
* Fix logs generated by the "emergency reboot" screen, they were incomplete

MultiROM v29
* Implement "autoboot if no key pressed" mode - the boot manager won't show up
  unless you hold down a volume down button during boot. Must be enabled in
* Android 5.0 preview related tweaks

MultiROM v28
* Fix freezes in the boot manager
* You can now swipe between the tabs in the boot manager
* Minor UI adjustments
* SailfishOS support (for certain devices)

MultiROM v27
* Redesign the boot manager GUI. Looks much better now.
* Fix separate radio.img not working on Android L preview ROMs
* Fix issues with unaccessible /sdcard on Android L preview. Do NOT run
  restorecon manually on /data/media, ever - it breaks MultiROM!
* Workaround bug which caused franco.Kernel on N5 to break secondary ROM's
* Update Ubuntu Touch init scripts
* Use power+volume down (you have to press power first!) to save screenshots.
  They are now PNG images and are saved to /sdcard/Pictures/Screenshots/.

MultiROM v26
* Fix boot into secondary ROM from the MultiROM Manager app broken in v25

MultiROM v25
* Add support for the Android L preview

MultiROM v24
* Add F2FS support
* Show icons in ROM list, configurable via MultiROM Manager app
* Improve compatibility with different ROMs and kernels when booting a ROM
  from the Android app

MultiROM v23
* Fix compatibility with Ubuntu Touch rev 290 and higher. If your Ubuntu
  installation won't boot, go to recovery and use "Re-patch init" option in
  Advanced -> MultiROM -> List ROMs -> *ubuntu*.

MultiROM v22a
* Mount the real /data partition to folder /android/realdata in Ubuntu Touch,
  enabling sharing data between Android and Ubuntu Touch. See for more info.

MultiROM v22
* Fix linux-type ROMs (Ubuntu Touch) failing to boot for some users

MultiROM v21c
* Fix touchscreen not working in boot menu for some users

MultiROM v21
* Revert "mount /system in secondary ROMs read-only" - if done so, SuperSU
  breaks the boot.

MultiROM v20
* Support booting ROMs directly from Manager App
* Fix FCs on CyanogenMod-based ROMs
* Fix support for USB drives formatted with NTFS, broken in v17
* Mount /system in secondary ROMs read-only

MultiROM v19a
* Fix WiFi and mobile data not working in Ubuntu Touch when no custom radio is
  used. This won't affect existing installations unless you run "Re-patch
  init" (see previous changelog entry).

MultiROM v19
* Implement "boot the last ROM" auto-boot type
* Support for different radio image for each ROM - This works on Ubuntu Touch
  too, but you need to either reinstall it or go to recovery after installing
  v19, MultiROM -> List ROMs -> Select the ROM -> Re-patch init.

MultiROM v18
* Fix silent-but-unpleasant crash with exFAT

MultiROM v17
* Changes to support MultiROM Manager app
* Add support for exFAT

MultiROM v16
* Initial version

* Fix ZIP selector being set to wrong storage after flashing ZIP to a
  secondary ROM

* Update to TWRP 3.0.0 (big thanks to nkk71 for doing most of the work)
* Use Material theme made by z31s1g - thanks!
* Fixes for 6.0 compatibility
* Fixes for SuperSU compatibility. Use BETA 2.67-20160203160253 ( ) or newer!

* Update to TWRP 2.8.7
* Add option to duplicate secondary ROM into "Swap ROMs" section

* Fix Ubuntu Touch installation broken in previous update

* Fix support for SuperSU 2.47 Beta and higher

* Fix UI alignment

* Update to TWRP 2.8.6
* Added "restorecon" option to secondary ROMs (in MultiROM -> List ROMs),
  should be used to fix broken SELinux contexts, which can be causing
  bootloops of secondary ROMs
* Bunch of ROM compatibility fixes - recovery now uses entirely new way to
  inject ZIP installation files, which should be much more robust and reliable
* Big ZIPs (> 450MB) are no longer permanently modified when flashed as
  secondary ROMs
* Fix sideloading of big ZIP files (> 450MB) into secondary ROMs

* Update to TWRP 2.8.5
* Fix support for ROMs containing a in their installation file
  (e.g. AICP)
* Re-add options for setting a radio.img for secondary ROMs, mistakenly
  removed with last update

* Fix "Swap ROMs" feature after the last update

* Update to TWRP 2.8.4
* Lots of ZIP compatibility fixes (e.g. for CM 12)

* Support for ZIP files which are using the new 'block_image_update' command
  (e.g. SimpleAOSP ROM)

* Update to TWRP 2.8.1

* Update autoboot settings for MultiROM v29

* Update with changes from upstream version: fix a bug that causes
  weird graphics glitches and touch issues

* Update to TWRP 2.8.0
* Fix adding ROMs from backup to a FAT32 USB drives
* Remove "share kernel with internal?" from "Add ROM" page, there is usually
  no reason to use it anymore and it might be confusing to figure out what it
  actually does. You can still get the same behavior by clicking "Remove
  boot.img" on the List ROMs -> *rom name* page.

* Remove Ubuntu Touch installation, installing via recovery is deprecated
* Add SailfishOS installation (only for supported devices)

* Show secondary ROM's name in the title bar while executing it's script (e.g.
  during OTA update)
* Update Ubuntu Touch updater
* Fix failure to swap ROMs if it contains filenames starting with a dot
* Fix add ROM from a backup producing unbootable ROM with Android L preview
* Add option to remove radio.img from secondary ROMs
* Add config options for MultiROM v27

* Update to TWRP 2.7.1
* Hide misleading "Mount: Unable to find partition for path '/data'" message
  which appeared during secondary ROM installation, it is not _actually_ an

* Fix installation of bigger (>350MB) ZIPs as secondary ROMs

* Fix crash during settings loading, causing a bootloop with certain settings

* Add F2FS support
* Add tool to switch F2FS<->ext4 to Advanced menu
* Fix problems with backups introduced by TWRP 2.7.0

* Update to TWRP 2.7.0
* Remove "save" button from MultiROM settings page, it is saved automatically
* Some rendering optimizations, resulting in noticeably higher FPS in recovery
* Fix GPG signature verification of Ubuntu Touch installation files
* Add support for mice connected via USB-OTG
* Fixup scrollbar behaviour in file list

* Fix installing ROMs to USB drive
* Fix ZIP verification
* Support ZIP verification for secondary ROMs

* Support OTA updates on secondary ROMs (tested with omni)
* Add "Swap ROMs" feature
* Implement "boot the last ROM" auto-boot type
* Many bugfixes

10.11.2013 - 01
* Fix some mounting issues when using ntfs or exFAT
* Use kernel with USB-OTG support

* Add exFAT support
* Support system-image based Ubuntu Touch installation
* Support Ubuntu Touch OTA updates, if Ubuntu is installed
  via MultiROM manager app

* Update to TWRP - add kernel with SELinux,
  fixes those 4.4 flashable ZIPs

* Fix SuperSU reporting "failed" when flashed to secondary ROM
  and completely borking the MultiROM part for any subsequent
  uses of "Flash ZIP" or "Backup" option

* Automatically inject boot sector with MultiROM
  after ZIP installation or ADB sideload. Can be
  turned off on "confirm flash" or "ADB sideload"
* Fix WiFi and mobile data in Ubuntu Touch. You
  have to reinstall UT.

* Support 'adb sideload' when adding ROMs
* Support rotation while using custom recovery theme

* Initial mako release
The Following 121 Users Say Thank You to Tasssadar For This Useful Post: [ View ] Gift Tasssadar Ad-Free
6th October 2013, 03:16 PM |#3  
Tasssadar's Avatar
OP Inactive Recognized Developer
Flag Brno
Thanks Meter: 6,172
Donate to Me
FAQ and other notes
Device encryption
MultiROM doesn't support encryption on Nexus 4 because I don't physically have the device and can't test it.
About security
In order to make multi-booting possible, MultiROM has to sacrifice some security measures. Firstly, on secondary Android ROMs, /system is not mounted read-only. While there are other things preventing malicious software from messing with /system, this might potentialy make it easier for such software to attack that system.
Next, MultiROM doesn't work with /data encryption. Not many people who use custom ROMs also use encryption anyway, so that isn't much of a concern.
What do the ROMs share?
All ROMs are separate, except /sdcard, which is shared between all Android ROMs.
How many ROMs can I have?/Where are the ROMs stored?
You can have as many ROMs as you can fit in your /sdcard. All the ROMs are stored in /sdcard/multirom/roms or on an USB drive. This folder is unaccessible in Android, to prevent mediascanner from scanning it. You can either in recovery, or obtain root and go to /data/media/0/multirom/roms.
Can I have different versions of Android working alongside
Yes. As long as you select "Don't shere kernel" when installing the secondary ROM, the systems are separated.
MultiROM recovery says it's Why isn't it updated to 2.6.3.*highernumber*?
It is, it just shows wrong version.
The menu with all the ROMs won't show up during boot, how to fix it?
Either re-flash the MultiROM zip or go to recovery, Advanced -> MultiROM -> Inject curr. boot sector.

The reason for this is that something rewrote your boot.img, which happens for example when you flash a kernel. MultiROM's boot menu is part of the boot image, so it has to be added into it again.
Will you port MultiROM to device X?
No, probably. I won't port MultiROM to any device I don't own, because it is very difficult to provide the level of support I want to provide if I can't test things myself, as proven by the Nexus 4 port. I'd like to support more devices, but it is also very unsatisfying to work on code for device I don't have - I invest hours upon hours of time for free into it, and then I can't even see it running on the device, so...why..bother..?
I'll probably keep buying Nexus devices and keep porting MultiROM to those myself, but I can't buy every single device - I'm still a student, all my existing devices were bought using some kind of money grant or donations from users.
But, you can port it yourself, the wiki should give you at least some idea how to do that:
The Following 51 Users Say Thank You to Tasssadar For This Useful Post: [ View ] Gift Tasssadar Ad-Free
6th October 2013, 03:22 PM |#4  
Senior Member
Flag Bangalore
Thanks Meter: 329
First! Woo! Was waiting for this.. thank you!
The Following 2 Users Say Thank You to karanrajpal14 For This Useful Post: [ View ] Gift karanrajpal14 Ad-Free
6th October 2013, 04:12 PM |#5  
nikwen's Avatar
Senior Member
Thanks Meter: 1,616
Wow. Thanks.

I've been waiting for this to work with Ubuntu Touch since I got my Nexus 4.
Every day I've eagerly checked your Github.

Thanks again.

---------- Post added at 05:12 PM ---------- Previous post was at 04:46 PM ----------

Someone managed to boot Firefox OS as well:
The Following User Says Thank You to nikwen For This Useful Post: [ View ] Gift nikwen Ad-Free
6th October 2013, 04:44 PM |#6  
bobo1337's Avatar
Senior Member
Thanks Meter: 124
Ok so i whanna flash psx 7.2 and ubuntu touch what kexec i need to download? Thanks

Sent from my Nexus 4 using xda app-developers app
6th October 2013, 04:49 PM |#7  
blttalas's Avatar
Senior Member
Flag Ankara
Thanks Meter: 2,216
Wohoo thx for the update

Sent from my Nexus 4 using xda app-developers app
The Following User Says Thank You to blttalas For This Useful Post: [ View ] Gift blttalas Ad-Free
6th October 2013, 04:53 PM |#8  
oblikas's Avatar
Senior Member
Flag Bacau
Thanks Meter: 3,342
Donate to Me
Good job,my friend.
I'll say goodbye to the community as I don't have my mako anymore and Tass supports this.
I hope you liked my work
The Following 18 Users Say Thank You to oblikas For This Useful Post: [ View ] Gift oblikas Ad-Free
6th October 2013, 04:55 PM |#9  
blttalas's Avatar
Senior Member
Flag Ankara
Thanks Meter: 2,216
And how 2 play multirom game?

Sent from my Nexus 4 using xda app-developers app
6th October 2013, 05:04 PM |#10  
nikwen's Avatar
Senior Member
Thanks Meter: 1,616
Originally Posted by blttalas

And how 2 play multirom game?

Sent from my Nexus 4 using xda app-developers app

Touch the MultiROM logo in the main menu. Power to go back. It's quite cool.

Touch the paddle to move it.
The Following 3 Users Say Thank You to nikwen For This Useful Post: [ View ] Gift nikwen Ad-Free
6th October 2013, 05:07 PM |#11  
Thanks Meter: 10
Thanks for bringing this to the mako

Is it possible to use 4.2.2 roms with 4.3 roms at the same time? For example Slim with MIUI
Post Reply Subscribe to Thread

dual boot, dualboot, multiboot, multirom

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes