FORUMS
Remove All Ads from XDA

[MOD][23 MAY] MultiROM v32

760 posts
Thanks Meter: 641
 
By fritzcola, Senior Member on 23rd May 2015, 08:38 PM
Post Reply Email Thread
Hello guys!
After learing a lot from these great devs arround here i decided to start to try out a new project! Multirom!!
You might or might not have heared of it, THE multi-boot mod for the Nexus 7. I found it and have decided to port it for our device.

First of all, it is a very initial release now. Though I have tested multiple cases and didn't find any problem except those in the bug list, bugs can arise. Do have a backup! Also, do read through the whole OP and 2nd post! If you don't understand something, rather read again and/or ask!

For more information on how it works and what it does, I suggest that you read the first few posts in the original thread. Those are very detailed and well-written posts that explain MultiROM in general. Installing roms to USB and Ubuntu/Ubuntu Touch of course doesn't work for our device atm.

Installation
The device must not be encrypted!
You need to flash the modified TWRP recovery that has MultiROM extensions. My version is based on the latest sources with gordon0001's device-specific modifications included. You can keep this recovery if you don't want to use MultiROM anymore and you like TWRP, because the MultiROM extensions don't interfere with other functions, even if the boot sector is not injected.
You have to flash a kernel that is capable of Kexec-hardboot.

Links
You can find everything at https://www.androidfilehost.com/?w=files&flid=32204.
multirom-20150521-v32-UNOFFICIAL-p880.zip : The multirom zip
CM12_Kernel_Patched.zip : CM 12 Kernel with Kexec-Hardboot Patch ; Thanks to @Adam77Root the patch and @laufersteppenwolf for building Kernel
multirom_uninstaller.zip : Selfexplaining


Known Bugs
-Reboot to recovery doesn't work.
-UI has some graphical bugs
-Double Press to boot Secondary Rom doesnt work -> Press twice on the Rom you want to boot and press Powerbutton at the same time till you recoginze a vibration
-You tell me more

Changelog
23 May 2015: Initial release

Credits
@Tasssadar for MultiROM, Kexec-hardboot for Nexus 7 and his help with debugging and porting
@Adam77Root for Thread Content

XDA:DevDB Information
[MOD][23 MAY] MultiROM v32, Tool/Utility for the LG Optimus 4X HD

Contributors
fritzcola

Version Information
Status: Testing

Created 2015-05-23
Last Updated 2015-05-24
The Following 13 Users Say Thank You to fritzcola For This Useful Post: [ View ] Gift fritzcola Ad-Free
 
 
23rd May 2015, 08:39 PM |#2  
fritzcola's Avatar
OP Senior Member
Flag Home of FCB
Thanks Meter: 641
 
More
Explanation

In the next two examples, I will refer any official, unofficial, or CM-based roms as CM. Keep this in mind.
I use the word 'injected', because MultiROM is actually injected into the boot partition. It works on any kernel that is capable of doing Kexec-hardboot (and if you don't want to use different kernel (i.e. you will use kernel sharing), it will work on unpatched kernels as well).
I may refer to non-shared kernel method as Kexec(-hardboot) method



Example scenario of multi-booting CM with CM and kernel sharing
You are on CM with MultiROM-capable recovery, patched kernel and MultiROM-injected and you want to install e.g. CarbonRom as second.
Boot into TWRP, navigate to Advanced->MultiROM and select 'Add ROM'. Since the base rom is CM, you can share the same kernel. It will be faster as there will be no hardboot needed.
The installation steps are easy and it doesn't take more time than a normal installation.



Example scenario of multi-booting CM with CM and different kernel
You are on CM with MultiROM-capable recovery, patched kernel and MultiROM-injected and you want to install e.g. CarbonRom as second.
Boot into TWRP, navigate to Advanced->MultiROM and select 'Add ROM'. Select 'Don't share'.
Continue with installation.
Now, since the target kernel (that is installed with the rom) is very likely not patched, you will have to flash one of my linked kernels to that rom. Do this by selecting 'List roms', selecting the desired rom, than 'Flash ZIP' and flashing one of the kernels I have patched.
You can only share kernels if you are on the same Android version for example 5.0.x!

Source Codes:
Tree
The Following 3 Users Say Thank You to fritzcola For This Useful Post: [ View ] Gift fritzcola Ad-Free
23rd May 2015, 09:51 PM |#3  
Senior Member
Thanks Meter: 97
 
More
Any screenshot? I didn't understand the ui bugs. What are they ? Great work fritzcola I will install my device when ui bugs are solved
23rd May 2015, 10:59 PM |#4  
fritzcola's Avatar
OP Senior Member
Flag Home of FCB
Thanks Meter: 641
 
More
Quote:
Originally Posted by CrazyWinner

Any screenshot? I didn't understand the ui bugs. What are they ? Great work fritzcola I will install my device when ui bugs are solved

Look here! https://www.dropbox.com/s/whor0zf6xx...34854.mp4?dl=0
24th May 2015, 08:53 AM |#5  
Senior Member
Thanks Meter: 97
 
More
Quote:
Originally Posted by fritzcola

Look here! https://www.dropbox.com/s/whor0zf6xx...34854.mp4?dl=0

Ow it's no problem for me Installing now , great work !
27th May 2015, 01:40 AM |#6  
Junior Member
Flag mansora
Thanks Meter: 7
 
More
thanks
its work good
6th June 2015, 02:17 AM |#7  
Junior Member
Flag mansora
Thanks Meter: 7
 
More
HI @fritzcola i have this bugs
after flash kernel
system ui has stopped on Euphoria rom
sim internet not work on ResurrectionRemix+BlissPop rom
some rom need to disable sim (plane mod )or it got bootloop from home screen PAC-ROM LP rom


work before but now i have this.
many times when add lolipop rom in multiboot i get error
blkdiscrad faild: operation not supported on transport endpoint
e:error executing updater binary in zip '/tmp/mr_update.zip
faild to install zip
thanks
6th June 2015, 06:28 PM |#8  
fritzcola's Avatar
OP Senior Member
Flag Home of FCB
Thanks Meter: 641
 
More
Quote:
Originally Posted by mater2

HI @fritzcola i have this bugs
after flash kernel
system ui has stopped on Euphoria rom
sim internet not work on ResurrectionRemix+BlissPop rom
some rom need to disable sim (plane mod )or it got bootloop from home screen PAC-ROM LP rom


work before but now i have this.
many times when add lolipop rom in multiboot i get error
blkdiscrad faild: operation not supported on transport endpoint
e:error executing updater binary in zip '/tmp/mr_update.zip
faild to install zip
thanks

That error with executing bla bla bla is rom related!
The Following User Says Thank You to fritzcola For This Useful Post: [ View ] Gift fritzcola Ad-Free
15th June 2015, 02:53 PM |#9  
gugu6897's Avatar
Member
Thanks Meter: 15
 
More
I already have TWRP 2.8.6.0 installed. To use your MultiROM Mod do I just need to flash MultiROM zip? Or do I need to flash recovery img (I found in your link)?
Will the uninstall zip send me back directly to the Stock TWRP 2.8.6.0?

__________________________________________
It works. But I'm getting the same problem as @mater2.
"error executing updater binary in zip '/tmp/mr_update.zip";
I tried latest BlissPop 3.4 and Euphoria 1.1.

If it is ROM related how can we solve it?
I saw some users reporting the same problem with the Nexus 5. They said the problem was on the "updater-script" of the ROM.

Thanks for your work and attention.

Enviado de meu Optimus 4X HD usando Tapatalk
15th June 2015, 09:52 PM |#10  
fritzcola's Avatar
OP Senior Member
Flag Home of FCB
Thanks Meter: 641
 
More
Quote:
Originally Posted by gugu6897

I already have TWRP 2.8.6.0 installed. To use your MultiROM Mod do I just need to flash MultiROM zip? Or do I need to flash recovery img (I found in your link)?
Will the uninstall zip send me back directly to the Stock TWRP 2.8.6.0?

__________________________________________
It works. But I'm getting the same problem as @mater2.
"error executing updater binary in zip '/tmp/mr_update.zip";
I tried latest BlissPop 3.4 and Euphoria 1.1.

If it is ROM related how can we solve it?
I saw some users reporting the same problem with the Nexus 5. They said the problem was on the "updater-script" of the ROM.

Thanks for your work and attention.

Enviado de meu Optimus 4X HD usando Tapatalk

1. Create backup from primary rom
2. Wipe everything and install rom you want as secondary as primary
3. Make backup from Primary you want to have as secondary
4. Use option to add rom to MR with Backup
5. Restore backup from old Primary
The Following 3 Users Say Thank You to fritzcola For This Useful Post: [ View ] Gift fritzcola Ad-Free
15th June 2015, 10:03 PM |#11  
Senior Member
Thanks Meter: 97
 
More
Are iodak and werewolf supporting multirom ?
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes