[MultiRom V32 Resurrected ] ls990

Status
Not open for further replies.

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org

## Introduction ##

MultiROM is one-of-a-kind multi-boot mod for Nexus 6. 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


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, big thanks to all who made them. There is also an awesome article on Linux Journal.

MultiROM has 4 parts, but you really only need to install 3 parts:


  1. MultiROM Installer:
  2. TWRP Modified Recovery:
  3. Patched Kernel: Primary roms Must have a Kexec Hardboot Patched Kernel
  4. MultiRom UnInstaller:

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 5.0 after first boot (with dalvik cache generated and connected to google account) takes about 1 GiB 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. 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.

Special Thanks to @Tasssadar..

XDA:DevDB Information
MultiRom V32 Resurrected, ROM for the Sprint LG G3

Contributors
Eliminater74, thewalkingdude, Tasssadar
Source Code: https://github.com/Tasssadar/multirom

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x

Version Information
Status: Testing

Created 2015-07-12
Last Updated 2015-07-12
 

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
reserved


  1. MultiRom V32 Installer: multirom-20150711-v32-UNOFFICIAL-ls990.zip
  2. MultiRom Modified TWRP Recovery: TWRP_MultiRom_2.8.7.x__ls990_20150712-signed.zip
  3. MultiRom Kexec Hardboot Kernel By @777jon: AOSP-777-Kernel_ls990-R10.zip
  4. MultiRom Uninstaller: multirom_uninstaller.zip

Warning: Kernel is for LP 5.1 Only with 32gb variants at question. Sorry 16gigers, I havent done one for you yet.. but you can try this one.. It just may work.

Note: You can compile your own Kexec Hardboot Kernel as well. @fechanaitor and @777jon both have the Correct MultiRom patch that works with this version.

SideNote: Little UnKnownFact. This MultiRom is set up to allow installing Stock OEM roms as secondery as well..
And @777jon's 777Kernel does work on secondary as well with this version..
 
Last edited:

engine95

Recognized Contributor
Oct 14, 2008
3,912
4,801
263
Thank you very much! I just finished Navel kernel with 777jon's kexec patch! I'll give it a test tomorrow.
Our original Multirom, was giving me tz demigod crash.

A million thanks, again!
 
  • Like
Reactions: jptesar

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
Thank you very much! I just finished Navel kernel with 777jon's kexec patch! I'll give it a test tomorrow.
Our original Multirom, was giving me tz demigod crash.

A million thanks, again!
Actually that patch is my patch. I created it with the help of @Tasssadar because the old patch that @Skin1980 did didnt work so well.

Btw, my version also will boot stock OEM roms as secondary as well..
 

engine95

Recognized Contributor
Oct 14, 2008
3,912
4,801
263
Figured you might want to know this is working. And it mostly is!! :D
I've got XenonHD as Primary. And CM as secondary. And that works.
But as for stock as secondary, I'm not having any luck there. It gets stuck at the LG logo, requiring a battery pull.
Nice work! Thanks again. :good::good:

Edit: I've tried stock from a backup and fresh install. On internal and external. No love. It just stays at the LG logo for over 10min, then I end up pulling the battery.
Sorry I didn't get you any logs, but I will later when I can play with this more.
 
Last edited:

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
Figured you might want to know this is working. And it mostly is!! :D
I've got XenonHD as Primary. And CM as secondary. And that works.
But as for stock as secondary, I'm not having any luck there. It gets stuck at the LG logo, requiring a battery pull.
Nice work! Thanks again. :good::good:

Edit: I've tried stock from a backup and fresh install. On internal and external. No love. It just stays at the LG logo for over 10min, then I end up pulling the battery.
Sorry I didn't get you any logs, but I will later when I can play with this more.
hmm.. can you send me a log? I know hooks.c was added.. thats what is allowing the stock.
Problem with stock is it uses a unfinished fstab.. so it causes multirom to abort.. so the hooks.c allows it to continue even if the fstab is incomplete...
as for your problem, I need to know what version of stock. I never tried the LP versions yet.. and if you have a log, could you plz post it or send it.
ill look at it and if I cant figure it out, ill send it to @Tasssadar to see if he can figure it out.

As I dont own this device, even know I have a G3 D851.. So I cant really break down and test it like I would with my own.... I know I can install stock and run it.. I have done it.
but I havent messed with that in a long time too. Just send me a log if you can.


BTW, thanks for posting that it works. I been waiting on that.. I just got confirmation that the D855 Global port I did works too. so im on a role here....
Now if I can just get my kernel to build with no issues ill be ok.. :)
 

engine95

Recognized Contributor
Oct 14, 2008
3,912
4,801
263
It sucks building blind for sure.
Im using ZVA which is our latest update. BarePapA with NavelA kernel to be specific. I have a commit for the kexec patched kernel but it's not working. If you want to look at it.
Hopefully I can get you the logs later today. Do you want the one that Multirom provides? Or is there a better one to help you?

Also, following your International version, we have 4 memory banks and have to "Bump" our kernels also. Most of us use the old ZV4 bootloader and add /system, /boot, and/modem images, to keep it unlocked. I don't know if that changes or helps at all.
 

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
It sucks building blind for sure.
Im using ZVA which is our latest update. BarePapA with NavelA kernel to be specific. I have a commit for the kexec patched kernel but it's not working. If you want to look at it.
Hopefully I can get you the logs later today. Do you want the one that Multirom provides? Or is there a better one to help you?

Also, following your International version, we have 4 memory banks and have to "Bump" our kernels also. Most of us use the old ZV4 bootloader and add /system, /boot, and/modem images, to keep it unlocked. I don't know if that changes or helps at all.
hmm msg me on hangouts and maybe I can help you get that patch to work right for you. Its all in the kernel.. as for bump.. the device tree automatic bumps all the devices that need it.
you can either look at my profile and get the nfo for hangouts or pm me and ill give it to you or you can give me yours... then we can see whats going on.

Im half asleep while typing so i might sound a little offff
 
Status
Not open for further replies.