yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] Giblet-dono:
All information for installing Lollipop as a secondary is already in this thread!

But to make it easier for you all:

Installation as secondary works BUT you need to make sure that:

1). System is NOT mounted when you start he flashing

2). You edit the updater-script to make sure the boot.img doesnt get flashed to the block device, but the the multirom boot partition

3). You have either the latest sense or GPE firmware (for wifi to work)

4). When you use TWRP you have to flash the rom (add rom) then flash it again (manage roms -> flash zip) and if it still doen't boot, do it again, always use "no wipe install" in aroma when doing this

To update the updater-script:

open de rom zip

Open folder: META-INF/com/google/android

Open updater-script with any notepad app (preferrably notepad++)

Search for kernel installation (line 934)

Replace everything between

######################Kernel Installation#######################

and

ui_print(">>> Kernel Installed Successfully!");
#####################################

With:

ui_print("");
ui_print(">>> Installing Stock Rooted Kernel");
set_progress(0.90);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
run_program("/sbin/dd", "if=/tmp/boot.img", "of=/dev/block/platform/msm_sdcc.1/by-name/boot"));

It should read like this in the end:

######################Kernel Installation#######################
ui_print("");
ui_print(">>> Installing Stock Rooted Kernel");
set_progress(0.90);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
run_program("/sbin/dd", "if=/tmp/boot.img", "of=/dev/block/platform/msm_sdcc.1/by-name/boot"));
ui_print(">>> Kernel Installed Successfully!");
#####################################

Save the file, and put it back in the zip, replacing the old file.
[One (M8) Android Development] HC4Life:
This all info is for we can flash the rom on external sd card with success?

Sent from my Hardcore One (M8)
[One (M8) Android Development] Giblet-dono:
I have not tried it on external SD, but the process should be exactly the same!

It is info to install the lollipop rom as a secondary rom, on interal or SD
[One (M8) Android Development] Galaxysm:
Nvm.
[One (M8) Android Development] snebojsa:
I'm on Viper rom and latest sense firmware, and flashed Lollipop as secondary rom without any modification and without problems...
[One (M8) Android Development] Galaxysm:
Finally got everything working [emoji1]
[One (M8) Android Development] snebojsa:
Absolutely nothing different then before, flashed like any other rom in multirom, booting just fine...

You have to wait couple of minutes for first boot, read that someone waited 12 minutes...
[One (M8) Android Development] Galaxysm:
When flashing L in options I didn't wipe user data and now it works. Thanks
[One (M8) Android Development] snebojsa:
I'm glad that worked for you, but I wiped data also...
[One (M8) Android Development] AlbertoSONIC:
Can't boot secondary rom, even with boot hang fix. When i select it, the "Booting" popup shows up and then it leads into a black screen! Only hard reset allows me to boot primary rom again...

Inviato dal mio HTC One_M8
[One (M8) Android Development] HC4Life:
Nope, it doesn't work on external sd card.

Edit: My last hope is use the ext4 partition on my micro SD card.
[One (M8) Android Development] Ather:
installed the 5.0 version on my sdcard, bootlooped at htc screen, installed regularly and it booted!
[One (M8) Android Development] HC4Life:
U mean on internal or external sd card? If u mean on external sd card it doesn't work.
[One (M8) Android Development] Ather:
external_sd dpesent work, installed fine in internal memory
[One (M8) Android Development] HC4Life:
Swap method works. I'm using right now with no issues. ViperOne as primary and SkyDragon Lollipop as secondary rom.

Sent from my Hardcore One (M8)
[One (M8) Android Development] TarekElsakka:
Thanks for summing everything up. I've tried your guide and tried flashing it four or five times in TWRP to no avail, it still wouldn't boot. I have the latest 3.28 Sense firmware installed and my primary is ViperOne with ElementalX kernel. Thanks for your info, though, I hope it worked for other people.
[One (M8) Android Development] -juanito-:
Sometimes when i want to boot the secondary ROM my phone gets stuck and yesterday even thr internal ROM won't boot until i did factory rest..

Sorry for my english
[One (M8) Android Development] Sojourner353:
Hi all, just searched the thread to see if anyone has had this happen before but came up blank.

So I updated to v29 and my internal is ViperOne 3.1.0 with ElementalX Kernel and latest MultiROM TWRP, I just tried to install SkyDragon to internal and following the install I rebooted into ViperOne and my external SD was corrupted and it's file system became RAW, needless to say it's pretty bad and I'm not sure why this has happened, anyone have any ideas?

Would installing a ROM into MultiROM from the external SD cause this? Am pretty sure I have installed from there before without an issue, thanks.
[One (M8) Android Development] -juanito-:
This is the problem i have:

- When i want to booting the secondary ROM from MultiROM app the phone freezing.

- Sometimes if i want to boot the secondary ROM from boot menu the phone freezing too.

- When the phone successfully booted and the screen turned off before i unlock the lockscreen i should fo force reboot.

Sorry for my english
[One (M8) Android Development] Captain_Throwback:
So I see people are starting to build CM12. I'm sure it's nowhere near close to usable, but I figured I might as well see how it builds. So, while I was seeing, I thought I might as well do this:

;)
[One (M8) Android Development] HC4Life:
Hi Cap,

In Multirom Manager app, how u have your recovery date 2014-11-14 and your kernel has the right name and mine is different my recovery date is 2014-11-03 and my kernel is stuck to Gpe kernel and i installed BeyondStock kernel, your kernel in fact.

Look:
[One (M8) Android Development] Captain_Throwback:
That's the recovery I'm using, and whatever kernel shows there is just the default one to be installed. It doesn't display what you currently have installed. That's obviously not the kernel I'm using on CM12, as is evidenced by the screenshot with the kernel name.
[One (M8) Android Development] HC4Life:
Ok.

Thx for the quick reply.
[One (M8) Android Development] TarekElsakka:
Although I finally got SkyDragon (5.0) to work as a secondary ROM after several tries, I can tell you that Team Nocturnal's SinLessROM (5.0) works right away without any modifications - you just need the latest Sense (3.28.401.9 not .7 if your device is WWE like mine) or GPE firmware.
[One (M8) Android Development] BenPope:
Neither of them seem to boot for me if they're on the external sd card, I haven't tried internal due to space, but I could move a few things around, I guess.
[One (M8) Android Development] TarekElsakka:
Sorry I forgot to mention that I was talking about booting from internal storage only, I haven't tried booting from external but I heard it doesn't work with 5.0 yet.
[One (M8) Android Development] ismailonrails:
Sense WITH GPe and OTA

Is it possible to have stock sense rom installed and with that I can install GPe version of ROM and then I get lollipop on GPe and also Sense when they are pushed for OTA? what are my options to have both Sense and GPe. Thanks for the great work.
[One (M8) Android Development] Captain_Throwback:
You can't take an OTA while using a custom recovery. You can flash any compatible ROM as a secondary in MultiROM, as long as your primary ROM has a patched kernel with MultiROM support.

I currently have a Sense ROM as my primary and the new Lollipop GPE as a secondary with no issues.
[One (M8) Android Development] Sojourner353:
Is there a no hang version for v29? multirom app Kelsey nagging me to update, I did and the hang problem returned.
[One (M8) Android Development] TarekElsakka:
I believe CM12 does not work with MultiROM. I tried to install it several times but it keeps giving me an installation error.

Would you like a TWRP log, Captain?
[One (M8) Android Development] jtommyj:
I installed CM 12 in Multirom as a secondary. I just couldn't get it to see my SD card but I doubt that has anything to do with Multirom. I deleted it because aesthetically I think GPE DH looks very similar and is much more polished. There's also a GSM version too.
[One (M8) Android Development] TarekElsakka:
Then my download must have been corrupt. Thanks, mate! And yeah, I do use SinLess GPE 5.0 as my secondary anyways.
[One (M8) Android Development] XotusBlack:
Hi peepz

Is there a way to inject the ota update beside the multirom?
[One (M8) Android Development] whytechapel_x:
Cm12 doesn't install in multir as secondary. How did it work for you?
[One (M8) Android Development] reubenskelly1992:
Only way I've got it to work is to flash in first then swap to secondary once running
[One (M8) Android Development] HC4Life:
Swap method:

In swap roms menu on multirom select move primary to secondaries, then flash CM12 to primary (internal) slot, then select swap primary with secondary and then reboot.
[One (M8) Android Development] jtommyj:
Swap just like these guys said. Primary won't work until there's a kexec kernel.
[One (M8) Android Development] comstar:
For guys that are running Viper primary and lollipop gpe as secondary, what kernel are you using?

I had both booting fine for a couple days then I loaded the v29 manager from the playstore. Now neither will boot. I am going back to v28 Now.
[One (M8) Android Development] whytechapel_x:
I seemed to have lost root doing it this way. Weird. But it worked thanks.
[One (M8) Android Development] HC4Life:
I believe u have to inject curr. boot sector again for everything works properly.

Sent from my Hardcore One (M8)
[One (M8) Android Development] reubenskelly1992:
So those saying they installed cm12 in secondary is actually misleading and confusing people. You haven't installed it in secondary . It's been installed in primary and swaped and running in secondary. Just to completely clear that up.
[One (M8) Android Development] jtommyj:
Out of the 6 posts ahead of yours, 4 explicitly say that the swap method was the method we used.

We can write it for people, unfortunately we can't read it for them also.
[One (M8) Android Development] reubenskelly1992:
I know but I thought I would clear it up so they have no excuse
[One (M8) Android Development] jtommyj:
Understood.
[One (M8) Android Development] comstar:
Inject it again when? at what point? On the primary I assume.
[One (M8) Android Development] HC4Life:
Install MultiRom v29 and beyond kernel and then go to MultiRom menu in recovery and inject curr. boot sector. and reboot.

Sent from my Hardcore One (M8)
[One (M8) Android Development] JazzieBoi:
I am on CM12 what kernel should i use
[One (M8) Android Development] Captain_Throwback:
Whatever kernel it comes with, which likely won't support MultiROM (you'll have to run it as a secondary).
[One (M8) Android Development] comstar:
Well, I give up. I've tried for 3 days to get Lollipop GPE to boot as my secondary. Tried all the tricks I could read about.

4.4 and 5.0 firmware, swap method, different kernels, uninstalls, re installs, fresh installs, nandroids, wipe internal, format SD card, modify script updater, gum and string.

Seems like it is sharing partitions or data somewhere as mentioned in the thread. I can get one or the other to boot, but then the other one just gets black screen on boot or the multirom boot screen becomes unresponsive. After I boot back into recovery then the original one sometimes won't boot the second time either. Could be a hardware issue also.

Maybe I will just try and get WiFi Tether Router working on Lollipop and forget about Viper and Sense for awhile. Been flashing for a long time and never been this stumped.

I have a Sprint device.

Thanks for everyone's suggestions and help
[One (M8) Android Development] Captain_Throwback:
Weird. I've never had issues flashing it as a secondary. Also, native tether in GPE Lollipop works just fine.
[One (M8) Android Development] comstar:
It really is weird. That's why I stuck with it for so long. It has to be some odd hardware issue. I'll go with reliable 2.8.0.1 ctb TWRP and native tether on L then. I need a break!

Thanks for all your help across the board.
[One (M8) Android Development] Superm@π:
Can anyone link me to modified twrp for Verizon? All I see is the one for sprint. Thx!
[One (M8) Android Development] Captain_Throwback:
Huh? Just install the recovery through the app. It works on all variants. Where are you seeing a Sprint-only download?
[One (M8) Android Development] HC4Life:
Sorry bro to hear that. Swap method works fine for me but if u tried everything and still doesn't work i can't help u...:(
[One (M8) Android Development] TarekElsakka:
Which Lollipop ROM are you trying to flash? SkyDragon's always caused me problems whereas the other one (SinLess) worked from the first time. And yeah, make sure your Sense firmware is updated to the latest (3.28.401.9 for me, I had booting problems on 3.28.401.7).
[One (M8) Android Development] jcrompton:
[MENTION=1162986]Captain_Throwback[/MENTION]

I am trying to run digitalhigh's GPE ROM as a secondary. I was able to install it and even initially have WiFi, but soon thereafter the WiFi quit working. I can make a secondary ROM from a Skydragon nandroid backup and the WiFi works. Is the WiFi problem because of installing as a secondary ? and is there a way to workaround the issue?

I was just trying to avoid the install as primary and then swap process ... a bit more time consuming
[One (M8) Android Development] Captain_Throwback:
Just dirty flash the ROM again. That has nothing to do with it being a secondary. That's just something weird with the ROM, possibly linked to the L firmware.
[One (M8) Android Development] jcrompton:
For sure worked !!

I had swapped the ROM to secondary because of an attempt to do the primary install and then swap. At the secondary I couldn't even get it to boot ... so I reflashed dirty with zip method and all is well !!

Thanks
[One (M8) Android Development] comstar:
I have tried both Skydragon and DigitalHigh, I don't think SinLess has a Sprint version. I am on firmware 3.30.651.2. I may try a different firmware tonight. Also Digital High just posted he is working on some ROM updates including some incompatibility between Sprint and MultiRom, but he only mentioned touchscreen problems.
[One (M8) Android Development] TarekElsakka:
Ah okay, sorry I didn't know the whole picture - I actually did not know you were on Sprint. I hope you can get it sorted out, but if you want my advice, stick to Sense because Lollipop is still extremely unstable.
[One (M8) Android Development] anthony92170:
Lollipop is not unstable cm is with sprint but digital ROM is great its actually running better than any 4.4 I've run. That says a lot. Please rephrase how you tell people something as it spreads like a virus.
[One (M8) Android Development] comstar:
I agree. Lollipop runs great for me. Just not in a dual boot, multirom scenario.

I've been exclusively running sense since sense was born, because, for me, there never was anything else that had the look and functionality I liked. But lollipop has changed my mind and weened me off of sense for now. I've been using it for my daily now that WiFi Tether Router works.

I still use the multirom twrp and would love to get multiple Roms working because I like the idea of trying totally different things so easily. But maybe its not in the cards for my phone right now.

I haven't given up yet. I'm still reading all I can to prepare for my next round of troubleshooting! I like to learn from others and then fix the rest myself. Have to leave some fun in it. If I can document a pattern of my issues I will post lt.
[One (M8) Android Development] TarekElsakka:
I may have phrased that a bit harshly, but I was talking about Lollipop GSM (mainly SkyDragon and SinLess) in a MultiROM as a secondary ROM scenario, whereas 4.4.4 GPE/AOSP ROMs run just as smoothly as a primary. For me, they are very laggy, cause the phone to heat up rather quickly, and the battery life is just horrendous, but maybe that's because I am running them as secondary ROMs rather than primary. So I apologize if I 'spread a virus' by what I posted, but in that context I am merely spreading my opinion and if you'd noticed from my earlier post I said "if you want my advice".
[One (M8) Android Development] eoldham72:
Same VZW boat

I've done quite a bit of searching and can't seem to find a fix for MultiRom working with a VZW M8. I did read the posts from jtommyj about using cm11 as the primary ROM and that seems to make it possible for MultiRom to work correctly when installing additional ROMs. I have had the same issue as jtommyj. ViperOne is my main ROM and secondary ROMs boot to bootloader. If I select recovery from there, the phone will reboot into the secondary ROM but no matter which ROM I use as secondary, the SIM card is not recognized...therefore, no cell or data signals. I have only tried sense ROMS and have tried using all available modified kernels that support MultiRom for VZW. Any ideas what to try next? Thanks for any help in advance.
[One (M8) Android Development] Hazem99922:
how can i restore my recovery

and boot from stock sense???

i already boot on 2 roms

sense stock rom 4.4.4 and lolipop rom

so how to restore every old thing in the bootloader

thx
[One (M8) Android Development] Captain_Throwback:
ROMs on External SD FAT partition?

So I wanted to take a quick poll here.

Is anyone successfully running ROMs from their external SD card vfat (FAT32 or exFAT) partition? I've found that loading the stock exFAT module brings some stability to external SD card access for people using that format, so I'd like to use that in the MultiROM recovery going forward. However, this has the side effect of the MultiROM loader not seeing ROMs installed to a vfat partition on the SD card. If no one is currently using (or able to use) this feature, I'd like to move forward with this approach.

If you have a secondary partition on your external SD, formatted as ext4, this will still work fine for secondary ROMs. This will have much better performance than a ROM installed to a vfat partition anyway. I can't imagine anyone has been running a Sense ROM from a vfat partition on external SD as the lag would be tremendous.

So, let me know, and I can determine how to proceed.
[One (M8) Android Development] Giblet-dono:
I don't see an actual poll anywhere so I take it you want us to reply:

I never go any rom working on SD (not EXT4, not vFAT not exFAT or FAT32) so, currently not using it.

But as you mentioned there are only pro's in using exfat over vfat, so why would anyone complain?

Maybe they have to backup roms, copy all to pc, reformat and copy back, but this should been a small price to pay!
[One (M8) Android Development] Captain_Throwback:
When I said "take a poll," obviously I need people to provide actual feedback by replying.

And I don't think you understand what I'm saying. I'm not saying anyone has to reformat their SD card. I'm just talking about using the stock exFAT support for cards formatted that way. No one will have to change anything. People just won't be able to install ROMs to a FAT32/exFAT partition on their external SD.

I've never had any issues using ROMs installed to the EXT4 partition on my SD card.

EDIT: One more thing I forgot to mention is that f2fs support will have to go too. But I'm not sure anyone is using that either.
[One (M8) Android Development] HC4Life:
I'm using the swap method to be able to run a sense rom as primary and a gpe rom as secondary and what u are trying to say that is possible to run sense roms on external sd card as secondary using a partition on external sd formatted as ext4? :confused:
[One (M8) Android Development] Captain_Throwback:
Looks like I missed that MultiROM was updated to v30 recently. Just built it. Here's a zip for testing.

multirom-20141202-v30-UNOFFICIAL-m8.zip

If you want to test the recovery I was talking about earlier, that's here.

---------- Post added at 11:28 AM ---------- Previous post was at 11:23 AM ----------

Apparently I've confused everyone.

Let me rephrase my questions.

Does anyone care about being able to install ROMs to a FAT32 or exFAT partition on their external SD? Does anyone care about f2fs (if you don't know what it is, the answer is no)?

------------------------

Now, to answer your question - yes, you can and could always install any supported ROM to an EXT4 partition on your external SD card. You cannot, however, use the swap method to get it there.
[One (M8) Android Development] HC4Life:
Of course i care. What is the procedure?
[One (M8) Android Development] Captain_Throwback:
*sigh*

I give up. With the update, you'll no longer be able to do it. But it seems no one but me could do it anyway, so I guess that's why everyone is confused.
[One (M8) Android Development] donmarkoni:
I don't care for installing ROMs to ext SD. I have HTC HD2 and don't want to make my M8 into another one by running ROM from SD. During MultiROM testing had 8 ROMs in internal memory, so I don't see where is the problem.

I would like to see f2fs used on M8, but there is almost no support, so it can go too.
[One (M8) Android Development] TarekElsakka:
[MENTION=1162986]Captain_Throwback[/MENTION] it seems like the link for multirom v30 is broken.

And in answer to your question, no I do not. To be honest I found that running ROMs from external storage isn't that great because of the performance (maybe its just my card though so I don't know).
[One (M8) Android Development] Captain_Throwback:
Nope, sure isn't. Just clicked it and it works fine.
[One (M8) Android Development] TarekElsakka:
You're right! I apologize. I was clicking it from the XDA app and it kept failing in Chrome for some reason. Thanks!

EDIT: I could be completely wrong, but I feel like CM12 as a secondary is 10x smoother than it was before MultiROM v30. It's extremely fast and responsive.
[One (M8) Android Development] HC4Life:
I think i give up too, lol...i'll keep swap method cause installing secondary roms in external sd will not be good...:rolleyes:
[One (M8) Android Development] Captain_Throwback:
It really isn't that bad if you have an ext4 partition on your external SD. It's not as fast as using internal storage, but much faster than using the vfat partition (which isn't working right anyway).
[One (M8) Android Development] Giblet-dono:
Indeed I think I misunderstand...

At the moment installing to exFAT and FAT32 should work properly, the same goes for EXT4 partitions.

You want to exchange the module that provides the functionality for the exFAT and FAT32 partitions for one that is less problematic

The only downside is that the functionality of installing roms to a FAT32 or exFAT partition will be lost

In other words: if anyone want's to install a rom to their SD card after the change they will have to use EXT4 as their partition type?

Let me first again state: I never got any rom working on me external SD, I have tried numerous things but for me somehow it just doesn't see the roms in the multirom meno

But, what I did notice is that you can't have a ext4 and exfat partition on the same SDcard, in other words you'll have to choose:

ext4 + FAT32 (if its possible?) -> which means a maximum filesize of 2GB, for me this wouldn't work because I run (windows 7) ISO's from my phone

ext4 -> can't open (natively?) in Windows

Anything else -> No roms on external SD

Do I understand correctly now?
[One (M8) Android Development] Captain_Throwback:
The top portion is correct, but not the bottom. Of course you can have exFAT + ext4. That's what I have now.
[One (M8) Android Development] Giblet-dono:
Please teach me how to get this working, I have tried so much to get this working... (GParted Live/All kinds of applications)

Maybe it would be a good idea to write a guide about this.. I can imagine others have the same question/problem.