[MOD][May 08, 2018] MultiROM v33a - TWRP 3.2.1-0 [No Kexec Workaround] - Galaxy S 4 i9500 Original Android Development

{
"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"
}
You use this tool at your own risk!!​
I have tried to put as many safeguards as I can,
but I cannot be held accountable for any soft-bricks, hard-bricks, loss of data and/or information,
or anything else going wrong.​
Introduction
MultiROM is one-of-a-kind multi-boot mod for Samsung Galaxy S4 (i9500). It 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, 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, without the need of device formatting
* Boot from USB drive attached via OTG cable
Click to expand...
Click to collapse
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. It is no longer messing with data partition or boot sector (actually the no-kexec workaround is messing with your boot sector), but it is possible that something goes wrong and you will have to flash factory images again.
Make backups. Always.
Click to expand...
Click to collapse
Installation
Manual installation
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-YYYYMMDD-vXX-UNOFFICIAL-i9500.zip) - download the ZIP file from the download section and flash it in recovery.
Modified recovery (TWRP_multirom_i9500xxx_YYYYMMDD.img) - download the IMG file from the download section and flash it in recovery.
Your current rom will not be erased by the installation.
Click to expand...
Click to collapse
Downloads
multirom-i9500
Click to expand...
Click to collapse
Adding ROMs
1. Android
Go to recovery, enter the MultiROM section of TWRP (by clicking the icon in to top right corner) -> 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
2. Ubuntu Touch this is NOT SUPPORTED
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.
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
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 the MultiROM section of TWRP (by clicking the icon in to top right corner) 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 the MultiROM section of TWRP (by clicking the icon in to top right corner) -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
In some cases, you might need to flash patched kernel - get corresponding patched kernel version from second post and flash it to the secondary ROM sama way you flashed 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 - 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.
Click to expand...
Click to collapse
Source code
MultiROM - https://github.com/multirom-klte/multirom
Modified TWRP - https://github.com/multirom-klte/android_bootable_recovery
Device tree - android_device_samsung_i9500
Click to expand...
Click to collapse
Thanks
MultiROM team
TWRP team
@nkk71 for No Kexec Workaround
@Alberto96 for TWRP device tree
Click to expand...
Click to collapse

FAQ and other notes
No-kexec workaround
Q: What is the no-kexec workaround?
A: The no-kexec workaround by nkk71 allows you to use MultiROM without having to flash a kexec enabled kernel.
More info here
Click to expand...
Click to collapse
Q: MultiROM bootmenu never show up?
A: Go to recovery, enter the MultiROM section of TWRP (by clicking the icon in to top right corner) -> Inject boot sector.
Click to expand...
Click to collapse
Q: Secondary ROM reboot to recovery?
A: Enter recovery > MultiROM menu > List ROMs > Select your ROM and Run Restorecon.
Click to expand...
Click to collapse

Changelog
Code:
MultiROM-20180508-v33a - TWRP 3.2.1-0
======================================
* initial build for i9500
* multirom: inject: Add lzma support (Needed for AOSP ROM's)
* multirom: uninstaller: Add lzma support

Nice job ! I have install latest RR 5.8.5 rom as primary and secondary rom will be latest LS 14.1 for I9500, work as flawless. laugh:

Hi,
Having problem when need to flash supersu or magisk in secondary rom, nothing happen once done flashing. Secondary rom still remain unroot.
Any solution ?

eddylkwst62 said:
Hi,
Having problem when need to flash supersu or magisk in secondary rom, nothing happen once done flashing. Secondary rom still remain unroot.
Any solution ?
Click to expand...
Click to collapse
Not supported at the moment, maybe in future.

afaneh92 said:
Not supported at the moment, maybe in future.
Click to expand...
Click to collapse
Ok !

Related

[MOD] [unofficial] Multirom V28 (GPE/STOCK - testing)

{
"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
I was able to get multirom working on Motorola Moto G and would like to share with you guys. Moto G (falcon) is my first android phone (ya, you heard me correct. It took a longtime for me to switch to android ) and I am new to android development and XDA community.
I have converted my XT1033 to single sim variant after flashing XT1032_RETAIL-GB_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip firmware. I did this to install Parandroid (currently it only supports single sim). It might work on the default firmware.
MultiROM is one-of-a-kind multi-boot mod for Nexus 7. It 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, 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, without the need of device formatting
* Boot from USB drive attached via OTG cable
You can also watch a video which shows it in action.​
There are stil many issues, and I am still testing and learning :angel:.
- Only for falcon stock firmwares. Doesn't work on falcon GPE.
- Sometimes Wifi not able to get IP address (static config works) on secondary rom. (same issue is observed on primary rom - fixed after flashing latest kernel)
- Sometimes secondary rom boot failure. Need reboot.
- Touch doesn't seem to work on multirom, so need to use volume down key for navigation and power button got selection. (Fixed)
- On GPE sometimes when booting I see "exec '/system/bin/sh' failed: Permission denied" errors. reinstalling the rom in multirom fixes this issue. Need to check.
You can get the relavent files at following location
http://d-h.st/users/montamer
Multirom Files
TWRP with Mutirom changes
multirom-20140902-v28-UNOFFICIAL-falcon.zip
multirom_uninstaller.zip
Patched Kernels
Stock Kernel (only for Stock firmware not GPE)
Modiefied 3.4.103-XPerience-STK-14-gpemod for GPE stock firmware (original kernel from TeamMEX)
PA Kernel
I have tested booting following roms
- CynogenMod
- ParanoidAndroid
- Boot2Gecko
I will share any code modifications as soon as possible.​
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. 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
Not supported at the moment.​
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.
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).
Note 2: There have been reports that (not only) MultiROM does not work properly with older bootloaders.
MultiROM has 3 parts you need to install:
Modified recovery (TWRP with Mutirom changes) - download the IMG file from Multirom Files section and use fastboot or Flashify app to flash it.
- Fastboot command "fastboot flash recovery recovery.img"
Patched kernel - You can use either one of the stock ones in Kernel section or third-party kernels which include the patch. Download the ZIP file and flash it in recovery. or flash the img from fastboot.
- Flash the "Stock Kernel (only for Stock firmware not GPE)" if your using STOCK 4.4.4 firmware images using below fastboot command
fastboot flash boot stock_boot_patched.img
- Flash the 3.4.103-XPerience-STK-14-gpemod from recovery if you are using GPE 4.4.4 firmware.
MultiROM (multirom-XXXXXXXX-v28-UNOFFICIAL-falcon.zip) - download the ZIP file from Multirom Files section and flash it in recovery.
Note: make sure to disable screen timeout in recovery (multirom_patched_recovery.img) (not required in latest recovery build)
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.​
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.
In some cases, you might need to flash patched kernel - get coresponding patched kernel version from second post and flash it to the secondary ROM sama way you flashed 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 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 - 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.​
Source code
Original MultiROM - https://github.com/Tasssadar/multirom (branch master)
Falcon modified MultiROM - https://github.com/montamer/multirom
Falcon modified kexec-tools - https://github.com/montamer/kexec-tools.git
Falcon CM kernel with kexec-hardboot-patch - https://github.com/montamer/android_kernel_motorola_msm8226.git
kexec-hardboot-falcon.patch
Modified TWRP - https://github.com/montamer/Team-Win-Recovery-Project
XDA:DevDB Information
MultiROM, a Tool/Utility for the Moto G
Contributors
Tasssadar
Montamer
Thanks
h2o64 for the post template
willing to test I've got an xt1034. all I need is a link.
montamer said:
I was able to get multirom working on Moto-G and would like to share with you guys :highfive:. Moto-G is my first android phone (ya, you heard me correct. It took a longtime for me to switch to android ) and I am new to android development and XDA community.
I have converted my XT1033 to single sim variant after flashing XT1032_RETAIL-GB_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip firmware. I did this to install paranoidandroid (currently it only supports single sim). It might work on the default firmware.
There are stil many issues, and I am still testing and learning :angel:.
- Only for falcon stock firmwares. Doesn't work on falcon GPE.
- sometimes Wifi not able to get IP address (static config works) on secondary rom.
- sometimes secondary rom boot failure. Need reboot
- touch doesn't seem to work on multirom, so need to use volume down key for navigation and power button got selection
You can get the relavent files at following location
http : // d-h.st / users / montamer
mutirom files - falcon/multirom
patched kernels - falcon/hardboot_patched_kernel
I have tested booting following roms
- CynogenMod
- ParanoidAndroid
- Boot2Gecko
I will share any code modifications as soon as possible.
INSTALLATION:
- Flash multirom_patched_recovery.img from fastboot.
- Flash stock_boot_patched.img from fastboot if you are on stock rom
or flash PA-falcon-kernel-signed.zip (build kernel from aospal, should work on other roms????) from recovery.
- reboot to recovery
- Flash multirom-20140819-v27-UNOFFICIAL-falcon.zip from recovery
WARNING
Port is not tested completely and might damage your device. Not for the faint hearted
I will not be responsible for any damage. Try at your own risk and make sure to backup
Credits:
Tasssadar (multirom aurthor).
paranoid android team.
Click to expand...
Click to collapse
I'll try it out.
Does this replace the kernel on stock ROMs?
Also, does this modify the eMMC partitioning to store the second ROM system files or can you use external storage such as a USB stick via USB OTG
DustArma said:
Does this replace the kernel on stock ROMs?
Also, does this modify the eMMC partitioning to store the second ROM system files or can you use external storage such as a USB stick via USB OTG
Click to expand...
Click to collapse
same question... multirom needs kexec support in the base rom. so this is just mutirom system or does it flashes a kernel with kexec support?
Amazing! I'll try as soon as possible. Could you share with us your device tree and your kernel sources? [emoji4]
@TeamMex perhaps something interesting for u man!
OP any instructions on how to use it?
Has you patched memory allocator's and kexec the kernel? Port Multirom is easy xD I have the sourse moded on my github but kexec isn't easy so tell me about your kernel patch
Sent from my XT1032 using XDA Premium 4 mobile app
abhifx said:
same question... multirom needs kexec support in the base rom. so this is just mutirom system or does it flashes a kernel with kexec support?
Click to expand...
Click to collapse
DustArma said:
Does this replace the kernel on stock ROMs?
Also, does this modify the eMMC partitioning to store the second ROM system files or can you use external storage such as a USB stick via USB OTG
Click to expand...
Click to collapse
The stock_boot_patched.img and PA-falcon-kernel-signed.zip are patched to support kexec. You need to flash one of the kernels based on your primary rom, before flashing multirom.zip.
I think new version of multirom doesn't mess with the eMMC partitioning and I have not tried flashing secondary rom on USB OTG.
TeamMex said:
Has you patched memory allocator's and kexec the kernel? Port Multirom is easy xD I have the sourse moded on my github but kexec isn't easy so tell me about your kernel patch
Sent from my XT1032 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes the kernels shared are patched with modified kexec_hardboot.patch from Tasssadar . I will share the changes soon.
yeshwanthvshenoy said:
@TeamMex perhaps something interesting for u man!
OP any instructions on how to use it?
Click to expand...
Click to collapse
Instruction should be similar to any other multirom flashing. check the original post from Tasssadar for more clear instructions.
http://forum.xda-developers.com/showthread.php?t=2011403
montamer said:
Yes the kernels shared are patched with modified kexec_hardboot.patch from Tasssadar . I will share the changes soon.
Click to expand...
Click to collapse
Interesting, I will be tuned to implement patch in my kernel.
cheers.
TeamMex said:
Interesting, I will be tuned to implement patch in my kernel.
cheers.
Click to expand...
Click to collapse
Awesome.
I'm just curious : how many time do you take to do this @montamer ?
That incredible
Are you a C // C++ developper ?
PS : Please make a clear and readable topic If you don't want I can propose you a design x')
?
Bugs? Dual sim XT1033?
montamer said:
The stock_boot_patched.img and PA-falcon-kernel-signed.zip are patched to support kexec. You need to flash one of the kernels based on your primary rom, before flashing multirom.zip.
I think new version of multirom doesn't mess with the eMMC partitioning and I have not tried flashing secondary rom on USB OTG.
Click to expand...
Click to collapse
fantastic... need to try this. after glorious mutiboot on nexus 4, i now have mutiboot on moto.
now where is the ubuntu build i want to test
montamer said:
Instruction should be similar to any other multirom flashing. check the original post from Tasssadar for more clear instructions.
http://forum.xda-developers.com/showthread.php?t=2011403
Click to expand...
Click to collapse
i do understand the instructions but adding them to ur OP would help first timers. we got people who dont have much experience with advanced stuffs like this man so was just suggesting!
Thank you very much! I'll wait for you to release the changes before implementing it on other kernels.
BTW the PA kernel does not work on LiquidSmooth - it boots but have no wifi/networking, just to say
It made you a little prettier topic :
Code:
[CENTER][IMG]http://i.imgur.com/vh3puLb.png[/IMG][/CENTER]
[b][U][size=5]Introduction[/size][/U][/b]
I was able to get multirom working on [B]Motorola Moto G[/B] and would like to share with you guys. Moto G (falcon) is my first android phone (ya, you heard me correct. It took a longtime for me to switch to android :p) and I am new to android development and XDA community.
I have converted my XT1033 to single sim variant after flashing XT1032_RETAIL-GB_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip firmware. I did this to install Parandroid (currently it only supports single sim). It might work on the default firmware.
[INDENT]MultiROM is one-of-a-kind multi-boot mod for Nexus 7. It 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, 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, without the need of device formatting
* Boot from USB drive attached via OTG cable
[url=https://www.youtube.com/watch?v=JDnDNxqfSaw]You can also watch a video which shows it in action.[/url][/INDENT]
[INDENT] There are stil many issues, and I am still testing and learning :angel:.
- Only for falcon stock firmwares. Doesn't work on falcon GPE.
- Sometimes Wifi not able to get IP address (static config works) on secondary rom.
- Sometimes secondary rom boot failure. Need reboot.
- Touch doesn't seem to work on multirom, so need to use volume down key for navigation and power button got selection.
You can get the relavent files at following location
[URL="http://d-h.st/users/montamer"]http://d-h.st/users/montamer[/URL]
mutirom files - [B]falcon/multirom[/B]
patched kernels - [B]falcon/hardboot_patched_kernel[/B]
I have tested booting following roms
- CynogenMod
- ParanoidAndroid
- Boot2Gecko
I will share any code modifications as soon as possible. [/INDENT]
[b][U][size=5][color=Red]Warning![/color][/size][/U][/b]
[INDENT]It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. [strike]It is messing with boot sector and data partition.[/strike] 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.[/INDENT]
[b][U][size=5]Installation[/size][/U][/b]
[INDENT][B]1. Via MultiROM Manager app[/b]
This is the easiest way to install everything MultiROM needs. [url=https://play.google.com/store/apps/details?id=com.tassadar.multirommgr]Install the app[/url] and select MultiROM and recovery on the [i]Install/Update[/i] card. If the [i]Status[/i] card says [i][b]Kernel:[/b] [color=red]doesn't have kexec-hardboot patch![/color][/i] in red letters, you have to install also patched kernel - either select one on the [i]Install/Update[/i] card or get some 3rd-party kernel here on XDA. You are chosing kernel for your primary ROM, [b]not[/b] any of your (future) secondary ROMs, so select the version accordingly.
Press "Install" on the [i]Install/Update[/i] card to start the installation.
[/INDENT]
[INDENT][b]2. Manual installation[/b]
Note: [COLOR="Red"]make sure to disable screen timeout in recovery[/COLOR]
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.
[b]Note 1:[/b] Your device must [b]not[/b] be encrypted (hint: if you don't know what it is, then it is not encrypted).
[b]Note 2:[/b] There have been reports that (not only) MultiROM does not work properly with older bootloaders.
MultiROM has 3 parts you need to install:
[LIST]
[*][b]MultiROM[/b] (multirom-XXXXXXXX-v27-UNOFFICIAL-falcon.zip) - download the ZIP file from second post and flash it in recovery.
[*][b]Modified recovery[/b] (multirom_patched_recovery.img) - download the IMG file from second post and use fastboot or [url=https://play.google.com/store/apps/details?id=com.cgollner.flashify]Flashify app[/url] to flash it.
[*][b]Patched kernel[/b] - 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.
[/LIST]
[b]You current rom will not be erased by the installation.
Download links are in the second post.[/b][/INDENT]
[b][u][size=5]Adding ROMs[/size][/u][/b]
[INDENT][b]1. Android[/b]
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.[/INDENT]
[INDENT][b]2. Ubuntu Touch[/b]
Use the [url=https://play.google.com/store/apps/details?id=com.tassadar.multirommgr]MultiROM Manager app[/url] to install Ubuntu Touch.
[b]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.[/b][/INDENT]
[U][size=5][b]Using USB drive[/b][/size][/U]
[INDENT]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.[/INDENT]
[U][size=5][b]Updating/changing ROMs[/b][/size][/U]
[INDENT][B]1. Primary ROM (Internal)[/B]
[LIST]
[*] 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 [I]Inject curr. boot sector.[/I]
[/LIST][/INDENT]
[INDENT][B]2. Secondary Android ROMs[/B]
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
[LIST]
[*] Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
[*] Select "Flash ZIP" and flash ROM's ZIP file.
[*] In some cases, you might need to flash patched kernel - get coresponding patched kernel version from second post and flash it to the secondary ROM sama way you flashed ROM's ZIP file.
[/LIST][/INDENT]
[u][size=5][b]Explanation of recovery menus[/b][/size][/u]
[INDENT][b][color=Blue]Main menu[/color][/b]
[b]- Add ROM[/b] - add ROM to boot
[b]- List ROMs[/b] - list installed ROMs and manage them
[b]- Inject boot.img file[/b] - 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.
[b]- Inject curr. boot sector[/b] - Use this option if MultiROM does not show up on boot, for example after kernel installation.
[b]- Settings[/b] - well, settings.
[b][color=Blue]Manage ROM[/color][/b]
[b]- Rename, delete[/b] - I believe these are obvious
[b]- Flash ZIP[/b] (only Android ROMs) - flash ZIP to the ROM, for example gapps
[b]- Add/replace boot.img[/b] - replaces boot.img used by this ROM, this is more like developer option.
[b]- Re-patch init[/b] - this is available only for ubuntu. Use it when ubuntu cannot find root partition, ie. after apt-get upgrade which changed the init script.[/INDENT]
[u][size=5][b]Source code[/b][/size][/u]
[INDENT]MultiROM - [URL]https://github.com/Tasssadar/multirom[/URL] [b](branch master)[/b]
Modified TWRP - not available yet[/b]
Stock kernel w/ kexec-hardboot patch - not available yet
CM kernel w/ kexec-hardboot patch - not available yet
[B][U][SIZE="4"][PLAIN]XDA:DevDB Information[/PLAIN][/SIZE][/U][/B]
[SIZE=3][B]MultiROM, a Tool/Utility for the Moto G[/B][/SIZE]
[B][U]Contributors[/U][/B]
[URL="http://forum.xda-developers.com/member.php?u=1248420"]Montamer[/URL]
thanks man!
tried with GPE(partially) converted 1033XT
unable to install multirom-20140819-v27-unofficial-falcon.zip
base rom PA 4.5-Beta1
any one facing the same issue
Only for falcon stock firmwares. Doesn't work on falcon GPE.

[MOD][FEB 01] MultiROM v30x

{
"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 Xperia Z1 Compact. 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.
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-vXX-DDMMYY-amami.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom-amami.img) - download the IMG file from second post and use fastboot to flash it.
Patched kernel - You can use either the stock one in second post or third-party kernels which include the patch, you can see list in the second post. Download the IMG file and flash it via fastboot.
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 a ROM after first boot (with dalvik cache generated and connected to google account) takes more or less 700MB 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 (if USB drive partitions are not showed, disconnect USB drive and try again). 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 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.​
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 - https://github.com/XperiaMultiROM/multirom (branch master)
Modified TWRP - https://github.com/XperiaMultiROM/android_bootable_recovery (branch master)
Kexec-hardboot patch for stock Sony kernel- https://github.com/Garcia98/kernel-amami/commit/4185df7caf40ac5aa6c7fc81d4098de58f9af19f
Touch patch for MultiROM menu- https://github.com/CyanogenMod/andr...mmit/907103b43eed80bd2bef89beb957d4052311ae67​
XDA:DevDB Information
MultiROM for Xperia Z1 Compact, Tool/Utility for the Sony Xperia Z1 Compact
Contributors
Garcia98
Version Information
Status: No Longer Updated
Created 2015-01-17
Last Updated 2016-06-10
Downloads
1. Main downloads
MultiROM: MultiROM-v30x-170115-UNOFFICIAL-amami.zip
Modified recovery (based on TWRP): TWRP_multirom-amami_20150201-00.img
MultiROM Manager Android app: Google Play or link to APK
Kernel w/ kexec-hardboot patch (Stock 4.4.4 - .157): stock-kexec-boot.img
Kernel w/ kexec-hardboot patch (Stock Lollipop): http://forum.xda-developers.com/showpost.php?p=61802911&postcount=119
Kernel w/ kexec-hardboot patch (CyanogenMod 12): kernel.zip
You need to have kernel with kexec-hardboot patch only in your primary ROM!​
2. third-party kernels with kexec-hardboot patch
* Validus LP kernel
* Resurrection Remix LP kernel
Nicely ask your kernel developer to merge kexec-hardboot patch.​
3. Uninstaller
MultiROM uninstaller: MultiROM_uninstaller.zip
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.​
Changelog
Code:
MultiROM v30x
=====================
* Initial release
Recoveries:
Code:
01/02/2015
==========
* Disabled screen timeout.
* Added filesystems tools.
* Latest TWRP updates and changes.
21/01/2015
==========
* Fixed the installation of block images OTAs through MultiROM.
* Latest TWRP updates and changes.
17/01/2015
=====================
* Initial amami release
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./external SD card. 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.​
MultiROM recovery says it's 2.8.4. Why isn't it updated to 2.8.4.*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.​
Finally, I've been waiting for this for a long time :victory:
Thanks for bringing this great mode to our device, gonna try it soon.
Regards,
Omar.
MultiROM Manager Android app
MultiROM Manager Android app is showing : this is unsupported device (amami) even with the latest version
LIONS1 said:
MultiROM Manager Android app is showing : this is unsupported device (amami) even with the latest version
Click to expand...
Click to collapse
The pull request in the source of the app for adding support for Z1 Compact is opened, just wait a few days until it is merged and the app updated
Sent from my D5503 using XDA Free mobile app
I am using stock as primary rom
And resurrection remix as secondary and i am getting error trying to boot resurrection remix rom,
I attached log.
Thanks
Rempty said:
I am using stock as primary rom
And resurrection remix as secondary and i am getting error trying to boot resurrection remix rom,
I attached log.
Thanks
Click to expand...
Click to collapse
Resurrection Remix on LP uses block images, so that's why it throws that error, but I have already talked with Omar and I think he will disable them for next release, fixing this issue
I'm using official CM12 nightly as primary rom and I tried to install CM11 ROM as secondary, but it failed (kexec-hardboot failure). And I have flashed the stock-kexec-boot.img from fastboot, but it caused bootloop. I think it is the .dat files problem. Although if I will flash the Validus ROM I wouldn't have working camera, because camera fix by xkonni will be overwrited by kexec kernel.
Once again congrats, and nice thread btw
Casserole said:
I'm using official CM12 nightly as primary rom and I tried to install CM11 ROM as secondary, but it failed (kexec-hardboot failure). And I have flashed the stock-kexec-boot.img from fastboot, but it caused bootloop. I think it is the .dat files problem. Although if I will flash the Validus ROM I wouldn't have working camera, because camera fix by xkonni will be overwrited by kexec kernel.
Click to expand...
Click to collapse
Wait for a custom kernel for CM12 (maybe Omar's GreatDevs kernel) with kexec support in Lollipop, as I don't think that CM12 will add kexec support by default due to its security issues, BTW .dat is just a problem for secondary ROMs not for host ROMs
Also stock-kexec-boot.img is just for stock ROMs (by Sony), flashing it in another ROM will cause a bootloop
I am not sure if I understand it correctly. But is it possible to use this on stock rom as primary and CM12 as secondary?
amnher said:
I am not sure if I understand it correctly. But is it possible to use this on stock rom as primary and CM12 as secondary?
Click to expand...
Click to collapse
Well, CM12 as secondary not yet, but yes other LP ROMs which doesn't have .dat files in the zip, like Validus
Sent from my D5503 using XDA Free mobile app
I am using the new Resurrection Remix build (without block image OTAs) as secondary and now work flawesly
Question
To install a rom to ext sdcard, need to create a ext4 partition?
Compiled kexec patched kernel to CM12
Checked, internal ROM - cm12, second - cm11. All works fine
This boot.img with TWRP 2.8.4.0 and worked vol keys for entering when you are booting
UPD:
Fix zip archive, zipping on Linux and it was gzip archive, sorry.
Rempty said:
I am using the new Resurrection Remix build (without block image OTAs) as secondary and now work flawesly
Question
To install a rom to ext sdcard, need to create a ext4 partition?
Click to expand...
Click to collapse
No, they are created automatically
russel5 said:
Compiled kexec patched kernel to CM12
Checked, internal ROM - cm12, second - cm11. All works fine
This boot.img with TWRP 2.8.4.0 and worked vol keys for entering when you are booting
Click to expand...
Click to collapse
Thank you, I'll attach it at second post as soon as possible
Sent from my D5503 using XDA Free mobile app
russel5 said:
Compiled kexec patched kernel to CM12
Checked, internal ROM - cm12, second - cm11. All works fine
This boot.img with TWRP 2.8.4.0 and worked vol keys for entering when you are booting
Click to expand...
Click to collapse
your zip seems to be broken (cannot unzip). downloaded various times.
paulle said:
your zip seems to be broken (cannot unzip). downloaded various times.
Click to expand...
Click to collapse
fix, check
russel5 said:
fix, check
Click to expand...
Click to collapse
Added to Downloads in second post
russel5 said:
fix, check
Click to expand...
Click to collapse
yes, now I get it unzipped. Thank you..

[MOD] MultiROM v33x [20/05/2016]

{
"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"
}
MultiROM is a one-of-a-kind multi-boot mod. 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.​
IMPORTANT
I'm not responsible for anything, you do all this on your own risk.
Once you have flashed and set up MultiROM, don't flash another boot.img using fastboot or normally. Always go to TheMultiROM Menu (3 bars in the top right corner) to flash ROMs/kernels or other mods.
If you want to uninstall MultiROM, just flash the MultiROM uninstaller.
I am not certainly sure about the compatibility with stock Roms, I still need to test this yet.
Your device must not be encrypted.
When booting another ROM, you'll notice that in some cases, you can enter the recovery of the boot.img of the ROM. Please don't use it, flash everything using MultiROM TWRP.
INSTALLATION
Make sure you are on a Rom compatible with one of these kernels and flash it or use the non-kexec workaround. (See important Notices)
Reboot into MultiROM TWRP and flash the MultiROM installer
That's it. You can now go to TheMultiROM Menu (3 bars in the top right corner) to start flashing other ROMs.
Adding ROMs
Go to recovery, select TheMultiROM Menu (3 bars in the top right corner) -> 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 TheMultiROM Menu (3 bars in the top right corner) 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 TheMultiROM Menu (3 bars in the top right corner) -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
SOURCEs
MultiROM - https://github.com/XperiaMultiROM/multirom/ (branch master)
Modified TWRP - https://github.com/multirom-htc/Team-Win-Recovery-Project (branch android-6.0)
Kernel w/ kexec-hardboot patch - https://github.com/olivieer/android_kernel_sony_msm8994 (branch 32.1.A.0.xxx)​
FAQs can be found here.
CREDITs
Tasssadar
Myself5
nkk71
Garcia98
XDA:DevDB Information
MultiROM for Sony Xperia Z4/Z3+, Tool/Utility for the Sony Xperia Z4
Contributors
Olivier
Version Information
Status: Beta
Created 2016-05-20
Last Updated 2016-05-20
Reserved
DOWNLOADs
MultiROM
Kernel with kexec-hardboot:
- For use with the 32.1.A.1.185 only
- Works on both variants (Single SIM + Dual SIM)
- MultiROM TWRP is already built-in
Reserved
Gonna test it today and will provide a feedback. Thx for work ?
Ok, so can't root it - Systemless method with patching doesn't work anymore. Also can't flash any zip to main ROM - neither by main menu (flashing, but where - no idea), nor by ROM list (main ROM is hidden and cannot make it visible via settings, resets every time to hidden status).
MotexT said:
Ok, so can't root it - Systemless method with patching doesn't work anymore. Also can't flash any zip to main ROM - neither by main menu (flashing, but where - no idea), nor by ROM list (main ROM is hidden and cannot make it visible via settings, resets every time to hidden status).
Click to expand...
Click to collapse
You need to use my kernel; it can be found in the second post.
EDIT: I can reproduce your problem and will check it once I get home (~ 1-2 days).
Olivier said:
You need to use my kernel; it can be found in the second post.
EDIT: I can reproduce your problem and will check it once I get home (~ 1-2 days).
Click to expand...
Click to collapse
Actually I'm using your kernel. Systemless Root in recovery says like it's already patched and terminal returns "abort operation". Looks like you already patched it by Systemless SU, so I can't repatch it again. If you did so, revert this change. By other side, MultiROM along with TWRP works good, except zip flashing from main TWRP menu - it flashes, everything seems to be good, but actually changes did not appear to be applied on main ROM, even when I inject everything, like described in guide (tried both Systemless SU and DRM fix - neither works :/). Also there is bug with main ROM - can't uncheck "Hide internal ROM", so main ROM couldn't be shown in ROM list. If any ideas - I'm up for testing.
MotexT said:
Actually I'm using your kernel. Systemless Root in recovery says like it's already patched and terminal returns "abort operation". Looks like you already patched it by Systemless SU, so I can't repatch it again. If you did so, revert this change.
Click to expand...
Click to collapse
Alright - systemless root doesn't work because my kernel uses a combined ramdisk, meaning the actual ramdisk of the ROM is in /sbin/ramdisk.cpio. SuperSU doesn't know that, tries to treat the main ramdisk as a normal one and fails (hence the abort). I'll try to find a solution...
I remember using this on the original XZ! So great it's being worked on. Will do some testing tomorrow. Thanks a ton, dev.
Olivier said:
Alright - systemless root doesn't work because my kernel uses a combined ramdisk, meaning the actual ramdisk of the ROM is in /sbin/ramdisk.cpio. SuperSU doesn't know that, tries to treat the main ramdisk as a normal one and fails (hence the abort). I'll try to find a solution...
Click to expand...
Click to collapse
We need either edit Systemless SU zip to patch proper boot image or make regular SU zip working (aka system mode) - for now, with .185 kernel it gives bootloops due to SELinux changes
but the z3+/z4 dont have any rom and dont have any romer ╮(︶︿︶)╭
windowgame98 said:
but the z3+/z4 dont have any rom and dont have any romer ╮(︶︿︶)╭
Click to expand...
Click to collapse
Make one.
MotexT said:
We need either edit Systemless SU zip to patch proper boot image or make regular SU zip working (aka system mode) - for now, with .185 kernel it gives bootloops due to SELinux changes
Click to expand...
Click to collapse
Fixed, please re-downloaded the boot image (from the same link), I have updated it. You can now also use the MultiROM Manager to install MultiROM. It can download TWRP, MultiROM and my kernel.
Useless till we dont have at least 2 roms... BUT HEY Thx for making it for the future maybe?
Sent from my E6553 using XDA-Developers mobile app
KOALAaufPILLEN said:
Useless till we dont have at least 2 roms... BUT HEY Thx for making it for the future maybe?
Sent from my E6553 using XDA-Developers mobile app
Click to expand...
Click to collapse
We have some unstable CM builds for now.
So, tested it for a while. Bugs: second ROM doesn't booting properly - just rebooting to black screen, then red LED blinks 3 times and reboots to that state again and then just after second reboot boots to multirom ROM menu.
@MotexT, yes, for me same behavior. Even stock kernel sometimes reboot device on bootanimation.
MotexT said:
So, tested it for a while. Bugs: second ROM doesn't booting properly - just rebooting to black screen, then red LED blinks 3 times and reboots to that state again and then just after second reboot boots to multirom ROM menu.
Click to expand...
Click to collapse
Quarx said:
@MotexT, yes, for me same behavior. Even stock kernel sometimes reboot device on bootanimation.
Click to expand...
Click to collapse
Try now; use the MultiROM Manager to upgrade.
ia this compatible with .253 stock and CM build by Quarx?
I've just ordered a 16GB microSD to test this
You said you haven't tested it with stock ROM well that's precisely what I plan on doing... I'm running CM13 and after a couple of days of research there doesn't seem to be any solution in sight for the camera bugs. However after seeing your thread, I figured if all goes well I could be running CM13 daily and just reboot to the stock ROM when I need to shoot a video (necessary for my professional activity... I'd rather do this than always have my old phone with me).
I'll keep you updated once I get the microSD.
Edit: looks like your server is offline, I can't download your APK... I'll try to download it again tomorrow.

[MOD] MultiROM v33 for Xperia L [Updated 02-10-2017]

{
"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. 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.​InstallationManual 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 + one optional (deprecated) :
MultiROM (multirom-YYYYMMDD-v33x-taoshan.zip) - download the ZIP file from second post and flash it in recovery.
Modified Recovery (multirom-YYYYMMDD-recovery-taoshan.zip) - download the ZIP file from second post and use a recovery to flash it into the FOTA partition (see TWRP 3 thread for more informations).
DEPRECATED: Patched kernel - You can use those kernels on most Marshmallow and Lollipop based primary ROMs to add kexec boot support.
Be aware that those patchers will be updated when possible after kernel sources updates
Kexec support no longer required thanks to the no-kexec workaround by nkk71.
For convenience reasons, I enabled the workaround by default if kexec is not found.
You current rom will not be erased by the installation.
Download links are in the second post.
​Adding ROMs1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm.
Recommended values are :
Cache : Keep default value
Data : Minimum 4000
System : 1000 is enough for most installs
​Updating/changing ROMs1. 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.
OPTIONAL: Reflash the kernel patcher to add kexec support
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 menusMain 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 - 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.
​Source codeMultiROM - https://github.com/STRYDER-007/multirom_xperia (branch multirom-7.1)
Modified TWRP - https://github.com/nkk71/android_bootable_recovery/ (branch android-7.1-mrom)
Device Tree - https://github.com/STRYDER-007/multirom_device_sony_taoshan (branch master)
Kernel w/ kexec-hardboot patch - https://github.com/STRYDER-007/android_kernel_sony_msm8930 (branch multirom)
​MultiROM available for Taoshan also thanks to :- Tasssadar
- The XperiaMultiROM team
- The MultiROM HTC team
- @Olivier and @Adrian DC for lot of precious help and guidance in fixing many things
- @nkk71 for no-kexec workaround
- @Agent_fabulous for testing
- My Xperia L for surviving this!
​XDA:DevDB Information
MultiROM for Xperia L, Tool/Utility for the Sony Xperia L
Contributors
STRYDER~007
Source Code: http://forum.xda-developers.com/google-nexus-5/orig-development/mod-multirom-v24-t2571011
Version Information
Status: Stable
Created 2016-06-13
Last Updated 2016-09-24
Downloads
1. Main downloads
MultiROM: multirom-2017MMDD-v33x-taoshan.zip
Modified recovery (based on TWRP 3): multirom-2017MMDD-recovery-fota-taoshan.zip
OPTIONAL: Kernel w/ kexec-hardboot patch (msm8930 Marshmallow based):
multirom_kernel-2016MMDD-taoshan.zip
If used, kernel with kexec-hardboot patched needs to be only in your primary ROM!
* No longer required thanks to the no-kexec workaround.
2. Third-party kernels with kexec-hardboot patch
* None, No longer needed due to no-kexec implementation.
3. MultiROM Uninstaller
MultiROM uninstaller: multirom_uninstaller.zip
* Flash uninstaller zip from recovery to remove MultiROM completely. This will also remove all your secondary ROMs.​How to install for the first time
Flash the 2 MultiROM zips as explained
Reboot to the FOTA Recovery (Volume +)
In MultiROM TWRP, Add a ROM, set everything properly
Wait for the ROM to be installed (can take a while)
In MultiROM screen, choose the ROM location
For the concerned ROM, "Flash zip" for wished zips (GApps, SuperSU, Addons...)
OPTIONAL: Read about the no-kexec workaround by nkk71
Reboot the phone and Enjoy MultiROM!
Changelogs
Code:
=========================================
MultiROM v33x - TWRP 3.1.1 - 02/10/2017
=========================================
* Fixed incorrect mounting of partitions in TWRP
* Removed unused and deprecated flags in TWRP
* Fixed MultiROM TWRP versioning
=========================================
MultiROM v33x - TWRP 3.1.1 - 24/09/2017
=========================================
* [B]Fixed touchscreen issue in MultiROM UI[/B]
* cyttsp3: Update multi-touch protocol for display driver
* defconfig: Compress kernel with XZ (Smaller TWRP Size)
* MultiROM UI dimensions completely fixed
* Access to MultiROM color themes and Shutdown
* Include all recent improvements from TWRP 3.1.1
* Updated to no-kexec workaround v4.1 by nkk71
* Autoboot accessible for external / MicroSD
* Improved versioning with header showing build date
* Built in a clean new tree of Android 7.1.2 (replaces 6.0)
* Multiple fixes to support 7.1 changes
* Fix the 7.1 busybox cpio corruption, needed for MultiROM
=========================================
MultiROM v33x - TWRP 3.1.0 - 15/06/2016
=========================================
* Fixed MultiROM logo in UI
* Some Minor changes in the UI
=========================================
MultiROM v33x - TWRP 3.0.2 - 13/06/2016
=========================================
* Initial public release
FAQ and other notes
FAQ and other notesAbout 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.
Why is my USB connection to computer not detected ?
Uncheck the "Enable ADB" option in MultiROM Settings.
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./external SD card. 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.
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.
The installation fails with "trampoline not found -1"
Often the issue appears because the ROM zip has a nested zip for rooting methods. Best solution is to remove the root zip from the ROM and flash it separately later.
Something wrong happened, I lost something or it's really laggy
You have been warned about making backups & the fact this is more experimental than stable.
You alone will be responsible for loosing data or having an usable ROM when you really needed it.
Everyone in this thread will try to help you, but we can't do backups of your data ourselves.
Thanks for your understanding, remember to read the previous comments and please try to help each other.​Current local manifest of the MultiROM build
Code:
<!-- https://github.com/STRYDER-007/multirom_device_sony_taoshan -->
Awesome work bro,thanks!!!
You are the best
Honestly, I never imagined that I'll be able to see multiRom on Xperia L
Thanks Dev. :laugh:
Awesome dev!
Will test it as soon as possible!
Thanks!
Awesome! Will test it for sure
WTF (What The Fantastic)
You're the best I'll try it ASAP
Just wanna make things clear
1. Can I install it without reflashing the current ROM?
2. Installing Rom to external SD Card Won't format and delete all the data?
So it doesn't mess with memory partition??
That means there's no hardbrick just (maybe) softbrick.
Again thank you very much. For your hard work
Mouaz Kaadan said:
Just wanna make things clear
1. Can I install it without reflashing the current ROM?
2. Installing Rom to external SD Card Won't format and delete all the data?
Click to expand...
Click to collapse
1. Yes
2. Yes. You can keep your data along with ROM installation on ext sd.
n78 shadow said:
So it doesn't mess with memory partition??
That means there's no hardbrick just (maybe) softbrick.
Again thank you very much. For your hard work
Click to expand...
Click to collapse
No chances of bricking at all if you follow instruction and flash it correctly.
Wow. Extremely awesome, thanks for making this for Xperia L!
Just two questions: Does this work by "unpacking" the rom on external memory and booting as if it was internal? Also, how do we get Ubuntu (or any other Linux distro) to run on our device? (are there flashable zips for that?)
Sent from my taoshan using XDA Labs
Aenadon said:
Wow. Extremely awesome, thanks for making this for Xperia L!
Just two questions: Does this work by "unpacking" the rom on external memory and booting as if it was internal? Also, how do we get Ubuntu (or any other Linux distro) to run on our device? (are there flashable zips for that?)
Sent from my taoshan using XDA Labs
Click to expand...
Click to collapse
1. Yep.
2. There is no Ubuntu OS ported for Xperia L.
Thanks for this awesome Multirom. I have question. Can i install both stock rom and custom rom as a dual boot.?
kumardeepu said:
Thanks for this awesome Multirom. I have question. Can i install both stock rom and custom rom as a dual boot.?
Click to expand...
Click to collapse
Please go through entire thread. Everything is written there.
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./external SD card. 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.
Click to expand...
Click to collapse
STRYDER~007 said:
Please go through entire thread. Everything is written there.
Click to expand...
Click to collapse
First Stockrom through flashtool>then multirom zip>modified recovery> custom rom am i right?
kumardeepu said:
First Stockrom through flashtool>then multirom zip>modified recovery> custom rom am i right?
Click to expand...
Click to collapse
Yes.
Well actually in detail, First stock rom via flashtool->Root->Install SuperSU->Install Recovery via Recovery Installer app->Flash MultiROM Recovery zip->Reboot to MultiROM recovery->Flash MultiROM zip->Add Custom ROM!
MultiROM Updated
MultiROM updated with minor UI changes. Check OP.
Changelogs-
Code:
** 15-06-2016
- Fixed MultiROM logo in UI
- Some Minor changes in the UI
It fails when i try to flash the multirom zip
Why??
Sorry for my bad English
ShadowA9 said:
It fails when i try to flash the multirom zip
Why??
Sorry for my bad English
Click to expand...
Click to collapse
Flash MultiROM recovery zip first then boot into new recovery and flash multirom zip.

MultiROM v33 [Mar 15][Mi3/Mi4/Mi4lte]

{
"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 7. It 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, 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, without the need of device formatting
* 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 messing with boot sector and data partition. 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: There have been reports that (not only) MultiROM does not work properly with older bootloaders. Update it to version 4.13 or newer in case you have problems.
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 - 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. Ubuntu Desktop
Ubuntu desktop for Nexus 7 has been discontinued and is no longer updated. 13.04 is the last release.
Download Ubuntu 13.04 image from here. Put the image in the memory of N7 or to USB flash drive and go to recovery. Select Advanced -> MultiROM -> Add ROM and choose "Ubuntu" as ROM type. Then select the Ubuntu's image and confirm. Clean installation of Ubuntu is 1.5gb big, and takes a while (10 minutes?) to install.
The first boot takes a bit longer, and 13.04 stays a while (30-60s) in console ("Enter login:") before the GUI shows up, so just wait a while.
Ubuntu ROM must not have spaces in name!
Using Ubuntu on N7, Frequently Asked Questions​
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.
In some cases, you might need to flash patched kernel - get coresponding patched kernel version from second post and flash it to the secondary ROM sama way you flashed 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 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 - 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.​
Source code
MultiROM - https://github.com/Tasssadar/multirom (branch master)
Modified TWRP - https://github.com/Tasssadar/Team-Win-Recovery-Project (branch master)
XDA:DevDB Information
MultiROM, App for all devices (see above for details)
Contributors
vasishath, shahan_mik3
Source Code: https://github.com/Tasssadar/multirom
Version Information
Status: Beta
Beta Release Date: 2017-03-15
Created 2017-03-16
Last Updated 2017-03-16

Categories

Resources