Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,492 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][JUN 27] MultiROM v26 (Supports Android L)

Tip us?
(Last edited by Tasssadar; 2nd July 2014 at 11:38 AM.)
Tasssadar's Avatar
Recognized Developer - OP
Thanks Meter 4212
Posts: 671
Join Date: Dec 2010
Location: Brno

Default [MOD][JUN 27] MultiROM v26 (Supports Android L)

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.

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

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_hammerhead_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 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
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

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
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:	screenshot.jpg
Views:	32381
Size:	59.8 KB
ID:	2456100   Click image for larger version

Name:	screenshot_14.jpg
Views:	31497
Size:	85.4 KB
ID:	2456101   Click image for larger version

Name:	screenshot_09.jpg
Views:	26897
Size:	49.9 KB
ID:	2456102   Click image for larger version

Name:	screenshot_10.jpg
Views:	23750
Size:	125.4 KB
ID:	2456103   Click image for larger version

Name:	screenshot_11.jpg
Views:	26045
Size:	71.8 KB
ID:	2456104  

Click image for larger version

Name:	screenshot_12.jpg
Views:	25552
Size:	73.1 KB
ID:	2456105   Click image for larger version

Name:	screenshot_13.jpg
Views:	21684
Size:	83.8 KB
ID:	2456106   Click image for larger version

Name:	screenshot_17.jpg
Views:	23559
Size:	100.6 KB
ID:	2456107  
The Following 238 Users Say Thank You to Tasssadar For This Useful Post: [ Click to Expand ]
(Last edited by Tasssadar; 2nd July 2014 at 11:38 AM.)
Tasssadar's Avatar
Recognized Developer - OP
Thanks Meter 4212
Posts: 671
Join Date: Dec 2010
Location: Brno

1. Main downloads

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

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 L preview):
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)):
You need to have kernel with kexec-hardboot patch in both primary ROM and secondary ROMs, if said secondary ROM does not share kernel!

Mirror: (also accessible via GooManager, search for multirom)
2. third-party kernels with kexec-hardboot patch
franco.Kernel (r21 and newer) -
Chaos -
ElementalX -

Nicely ask your kernel developer to merge kexec-hardboot patch.
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.

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 v22c
* Fix graphics corruption with some custom kernels

MultiROM v22b
* 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 v22a
* Add support for ROMs with DTB only as separate blob in boot.img (AOKP)

MultiROM v22
* Fix Ubuntu Touch boot taking long time
* Fix Ubuntu Touch freezing on Google logo for some users

MultiROM v21a
* Add support for testing builds of Ubuntu Touch (see XDA thread, post #323)

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 v19
* Initial version

* 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

* Support for system-image based (from the Manager app) Ubuntu Touch
* Fix time in recovery
* Some rendering optimizations, resulting in noticeably higher FPS in recovery

* Update to support latest Ubuntu Touch testing builds
* Fix date and time in recovery
* Add support for mice connected via USB-OTG
* Fixup scrollbar behaviour in file list

* Fix radio in Ubuntu Touch

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

* Initial hammerhead release
The Following 100 Users Say Thank You to Tasssadar For This Useful Post: [ Click to Expand ]
(Last edited by Tasssadar; 18th February 2014 at 09:07 PM.)
Tasssadar's Avatar
Recognized Developer - OP
Thanks Meter 4212
Posts: 671
Join Date: Dec 2010
Location: Brno

FAQ and other notes
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'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 56 Users Say Thank You to Tasssadar For This Useful Post: [ Click to Expand ]
Galaxysm's Avatar
Senior Member
Thanks Meter 554
Posts: 3,014
Join Date: Sep 2012
Location: Mission
This looks awesome!!

Sent from My Nexus 5 🍫.
Current Device:Nexus 5 Rooted-SlimKat ROM.
Current Device:HTC One M8.(T-Mobile) Rooted/S-Off Viper ROM.
History Of Phones...
Galaxy Note 2 (T-Mobile) Rooted.
Galaxy S2 (T-Mobile) Rooted.
ZTE Warp (Boost Mobile)-Rooted.
Htc Inspire(AT&T)-Rooted/S-Off.
Optimus Elite(Virgin Mobile)-Rooted.
Htc Amaze 4G(T-Mobile)-Rooted.-SOLD.
Tablet: Nexus 7 (2013) model 32GB.
(Last edited by SGWUser; 15th December 2013 at 03:45 PM.)
SGWUser's Avatar
Senior Member
Thanks Meter 337
Posts: 654
Join Date: Jun 2012
Location: Dinxperlo
Nice job! But why no 3rd-party kernels?

EDIT: I should have read more carefully

Sent from my Nexus 5 using Tapatalk
Nexus 5 "hammerhead"

ROM: AOSPA + L Preview
Recovery: TWRP
Kernel: franco.Kernel
Mods: Xposed + MultiROM

Galaxy W "ancora"

Recovery: CWM
Kernel: Stock
Mods: -

Other devices // Links

first-gen Nexus 7 32GB "grouper" (sold)
(Last edited by MarioFan1998; 15th December 2013 at 03:36 PM.)
MarioFan1998's Avatar
Senior Member
Thanks Meter 263
Posts: 824
Join Date: Mar 2012
Location: Singapore
This looks legit finally multiboot!!

Failed to get root access in multiboot app on cm ROM

Sent from my Nexus 5 using XDA Premium 4 mobile app
Current Phone: LG G2| Tablet: iPad 2| Old Phones: Sony Ericsson Xperia X8, Samsung Galaxy SII, Google Nexus 5

My LG G2
Bootloader status: Fuked up by 4.4.2 update(you don't say?)
ROM: Official KitKat Germany 20A
Kernel: Stock Kernel

(Last edited by aragog53; 15th December 2013 at 05:18 PM.)
Senior Member
Thanks Meter 36
Posts: 114
Join Date: Apr 2011
I don't see the option to add a zip rom in modified kernel...

Edit : I think I know why, this must be because of my TWRP theme. Will remove it and try, then post a second edit. (:

Edit 2 : to those who are running a TWRP theme, remove it 'til it gets compatible. Else everything working fine here. (:

Sent from my Omniromed and Faux kerneled Nexus 5 using Tapatalk
The Following User Says Thank You to aragog53 For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 58
Posts: 186
Join Date: Jun 2012
Location: Brno, Czech Republic
It's like Christmas one week early
Craxx's Avatar
Senior Member
Thanks Meter 251
Posts: 1,200
Join Date: Feb 2005
Very very nice i waited for this since Nexus4 days. Thx a lot!

Best regards

Send from my Nexus 5 with Tapatalk
best regards

Nexus 4
LG O2x P990
XOOM Mz601
Huawei Ideos X3
ikslawlok's Avatar
Senior Member
Thanks Meter 96
Posts: 324
Join Date: Jan 2012
Location: Lyon
Thank you for all your hard work !

Envoyé de mon Nexus 7 en utilisant Tapatalk

Nexus 4 | Nexus 7 | Nexus 5
Recovery : MultiROM (modified TWRP) - ROMs : OmniROM | Ubuntu Touch | Firefox OS

dual boot, dualboot, multi boot, multiboot, multirom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes