yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] crx4xharder:
First off, I'm running Venom 2.4.0 with elementalx 1.06 as my primary ROM, cm11 and miui as secondaries.

My question is, is there a way to successfully flash a kernel to a secondary ROM? The purpose being to gain specific features a kernel offers. I have attempted to flash elementalx 1.04 on cm11 through the multirom option in recovery and i get nothing but a black screen.
[One (M8) Android Development] Giblet-dono:
The kernel should match the rom

ElementalX only has a GPE and Sense variant.. there is no AOSP/CM variant..

If you find a custom kernel of the right variant You should be able to flash it the way you described
[One (M8) Android Development] crx4xharder:
I kind of thought there was a difference between GPE and aosp/cm but my years of android flashing have led me to believe that a stock Google supported ROM is in fact aosp. But I guess that's not quite accurate anymore. Thanks for the info.
[One (M8) Android Development] 3NE:
ViperROM Primary, MIUI Secondary with no problems at all. S-off, Tmobile CID.
[One (M8) Android Development] Giblet-dono:
GPE editions are not AOSP for a few reasons:

on GPE editions the manufacturers still get to do some mods

Such as the dotview, camera and sound mods.

These mods all need a supported kernel and thus the kernel differs from cm11/aosp
[One (M8) Android Development] throcker:
stock sense kernel insecure tested by me

booted arhd 11.1 as primary

booted stock GPE as guest

no issues so far. boot.img injected on advanced>multirom>inject boot.img
[One (M8) Android Development] throcker:
I can't get task650 aokp working, it goes bootloop and send me back to multirom menu.

primary - ARHD 11.1

boot - insecure boot.img for sense provided by you

guests - stock gpe and task650
[One (M8) Android Development] andy010101:
Am I doing something wrong here? The only way I can boot into either rom is by either via the app , or manually selecting it to boot in recovery. I don't get the multirom boot screen?
[One (M8) Android Development] throcker:
maybe you have to "inject curr. boot sector"
[One (M8) Android Development] Sojourner353:
Yep that fixed it for me when I had the same issue.
[One (M8) Android Development] andy010101:
Still hasn't worked
[One (M8) Android Development] Giblet-dono:
For me it works and I used the following (default) install steps:

- Install Multirom Recovery

- Reboot in recovery

- Install Multirom kernel for primary rom (elementalX in my case)

- Install Multirom Zip

- Reboot in Recovery

- Install secondary rom (AOKP)

- Reboot to secondary rom (AOKP)

These are ALL the steps nessecary!

Do not share kernels between roms!

You don't need a custom kernel for secondary roms (the one included in the rom will do fine!)

You don't need to inject the boot.img for a secondary rom!

Please read the FAQ

Please read the FAQ
[One (M8) Android Development] throcker:
yes, I know how to get this working! have you read my signature? FLASH VETERAN! lol, just joking, I'm familiar with this mod.

anyway. I got GPE booting fine, and also cm11, PA and official aokp.....so what's the problem?

I think.....that if it works for you.....is kernel related.....the boot.img provided works only with cm-based roms as guests....

later I will try to flash elementalx (I prefer stock kernel, but...I have to give this a shot) and report the result.
[One (M8) Android Development] Giblet-dono:
I think that should not be the problem, the provided (stock) kernel has the same patch as the ElementalX kernel

It should be able to boot exactly the same secondary roms as ElementalX

I would advice to check the MD5 of the rom, maybe something went wrong there?
[One (M8) Android Development] Galaen:
I've noticed that when I flash an aosp rom as my secondary, I have no signal. When I go into the settings, there are no apns. I set up my at&t apn, but it will not save. I have a sense rom as the primary with elementalX 1.06 kernel. This was not a problem with Slim rom, but it is with all of the others. Has anybody else experienced this?

Sent from my AT&T HTC One M8
[One (M8) Android Development] thegreatgomer1019:
I have since day one and I though I was the only one. Att also. I'm only guessing but I think it had to do something with the firmware version of sense. I'm running the latest att update 2.23.502. Most others run the wwe firmware. I haven't had time but I was going to switch to liquid smooth as my base and try to get my sense as my second Rom
[One (M8) Android Development] andy010101:
It works when I put an aosp as my primary or even the miui rom. But when I put a sense rom as primary , it will not load up the multirom menu.

I've read the FAQ and I have tried many of the other sense roms available.
[One (M8) Android Development] throcker:
OK....I tried with elementalx andò you know what?....ROM boots but no wifi!...and camera FC....so, yes, it's kernel related!...

Report: provided insecured sense kernel doesn't allow to boot aosp based roms (not cm)

Elementalx boots but no WiFi and camera. Later I will give a shot with a cm based ROM.
[One (M8) Android Development] Giblet-dono:
To be honest this is fairly impossible..

There is something else going wrong:

A secondary rom does not use any part of the primary roms kernel the secondary rom has a completely separate kernel.

The process multirom uses works as following:

Boot -> Check whether this is first boot -> Open multirom menu -> reboot -> check whether this is second boot -> boot selected kernel (primary OR secondary)

If you want to solve it please tell me the exact rom + kernel combination(s) you use

Primary rom + kernel

Secondary rom + kernel

(any other)

And also the way you flashed the kernels (did you just flash boot.img? or did you install the zip trough recovery?)
[One (M8) Android Development] manup456:
These are the 3 icons I use in the app thought I would share.

Edit: added a few others enjoy.
[One (M8) Android Development] throcker:
OK.....I did another try....I injected stock dense boot.img, raw img file, no zip, through recovery, but it has hexxec patch and should work.

Result? None aosp or cm rom boots. Gpe boots bit no WiFi....

And....with elementalx gpe and cm fine, boot andò WiFi, but....no aosp (task650aokp) booting....

Explain this!....maybe you could give a try, I'm not crazy ahahaha and I'm very tidy.

Could ne hexxec patch related?
[One (M8) Android Development] Giblet-dono:
The irony XD "I'm very tidy" -> posts a post with all kinds over spelling mistakes XD

Ok so the reason camera and Wifi arent working could be because you only flash the boot.img

ElementalX has different modules for the camera and wifi from the stock rom

Why booting for AOSP or CM doesn't work is a riddle to me, for me they all work.

It can't have anything to do with the kexec patch.

If you want to try to get this to work you could PM me and we could maybe discuss it over hangouts/skype
[One (M8) Android Development] throcker:
sorry, I don't always change the dictionary on my phone and it corrects some words in italian way ahahhaha

yes, but.... kernel modules are on primary rom!....and if primary rom is unrelated to others....this shouldn't happen!....at all...

well'keep in touch and try some combinations :)
[One (M8) Android Development] manup456:
I just added a Viper icon to my previous post and fixed the issue it was uploading as .jpeg now they are .png working on a Verizon, Sprint, InsertCoin and a few others.
[One (M8) Android Development] Captain_Throwback:
FYI I believe that same Viper icon is already included in the app ;).
[One (M8) Android Development] remicks:
Updated the app in play store, installed everything through that (it even retained my [MENTION=1162986]Captain_Throwback[/MENTION] 2.8.0.6 even though it said it flashed the 9/25 version and shows that installed) and now multirom is running better than ever! Huge thanks to all involved in this project, you guys are awesome!

:D :D :D

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] manup456:
[MENTION=1162986]Captain_Throwback[/MENTION]

Thanks didn't even notice so I removed from my post and changed the Verizon one because it was not working on the dark MultiRom boot screen.
[One (M8) Android Development] Captain_Throwback:
The one that flashes through the app is actually the same exact recovery, just updated so the app recognizes it ;).
[One (M8) Android Development] krazie1:
Do you guys think 7Gb is enough space to run 3 Roms with MultiRom, I will install a lot of apps on my Main Rom?
[One (M8) Android Development] sabag123:
Device - htc one m8 gsm

Primary rom - Viperone

Secondary - CM11

when I'm trying to flash gpe stock rom - http://xdaforums.com/showthread.php?t=2706441

I'm getting error " can't inject boot.img" installation failed

It's just m e ?

Where can i get gpe rom?
[One (M8) Android Development] Galaen:
I'm using wwe firmware. I must have missed a step or something somewhere.

Sent from my AT&T HTC One M8
[One (M8) Android Development] n1234d:
Hey! [MENTION=5565418]boringalex[/MENTION], [MENTION=1162986]Captain_Throwback[/MENTION], is there gonna be an option to install roms to the SD card in the future? Because, this kinda leaves us 16gig users crippled..
[One (M8) Android Development] Captain_Throwback:
http://xdaforums.com/showthread.php?p=55601123
[One (M8) Android Development] beats4x:
Anyone had success flashing an aosp kernel on secondary rom? Last time I tried (furnace kernel on pa) I got a nasty surprise with a data partition that wouldn't mount. A bit hesitant to try again
[One (M8) Android Development] AnimusVoxx:
Using furnace just fine on my end but then again I'm running my own rom so it's made for compatibility with that kernel, try excalibur
[One (M8) Android Development] francki:
hi all, i need some help.

i'm on renovate rom and elemental kernel, i installed the app and installed the recovery and the multirom 28 thrue it. all went well

i decided to istall vanir rom as secondary rom, it flashed well but failed just after booting it freezed.

i tried then to boot on my primary rom but failed, in recovery i had a data and cache error, now i can't boot anything and i still have a cache error when i try to flash anyting like rom or su or even restore a backup

what can i do help me please
[One (M8) Android Development] gokun:
[MENTION=3462958]francki[/MENTION] you can try going to wipe-format data in twrp

you can also try running the various repair options

I've read in the thread that the format data should work though(but you might lose any pics,etc that were there)
[One (M8) Android Development] francki:
thank you i have already wipe data but i have now the unable to mount 'cache'...

what is the various repair option?
[One (M8) Android Development] Roma80:
Great port and i have my first test today.

I have ViperOne 2.5.0. on my system with elementalx 1.06 and i added as test in TWRP the Dirty Unicorn ROM.

Then i choose it in the multirom bootloader and boot into the new rom. That was fine.

The only one thing what happend:

After next boot i choose my Viper to boot, and the multirom bootmanager freezes, again and again.

So i go to TWRP, delete the new ROM and restore only the boot.img from my viper backup and it works.

Is this a bug or do it a failure?

But anyway, great work!
[One (M8) Android Development] Giblet-dono:
It's not just used, multiple have reported this same problem.

I will try this install and report back!
[One (M8) Android Development] gokun:
You can try...

Home - Wipe - Advanced Wipe -> Wipe Dalvik Cache, System, Cache, Data, Internal Storage.

Home - Wipe - Format Data

Home - Wipe - Advanced Wipe -> Wipe system and cache

I think there's also one for fix permissions and check system somewhere too...and maybe a format cache as well

Reflash the recovery (or a stock one)

There are a few people earlier in the thread who had similar issues so you might have to go back and read through those posts and see what helped them too.
[One (M8) Android Development] boringalex:
I'll start working on that today or tomorrow. I haven't had much free time lately.
[One (M8) Android Development] throcker:
OK. I tried every combination to test stock sense insecure kernel and elementalx with different type roms. here is the result:

with stock sense kernel patched with kexec and ARHD:

-GPE boot, no wifi

-CM based rom doesn't boot, stuck at htc logo

-aosp based rom doesn't boot, stuck at htc logo

with elementalX lastest:

-gpe works fine

-CM based rom works fine

-aosp based boots, no wifi and no camera.

that's it.
[One (M8) Android Development] MICH_**:
Is it possible now to use an AOSP based rom as primary?
[One (M8) Android Development] muppetmaster916:
What's the official word on the corrupted data? I lost everything on my 32gig but would like to give MultiRom another shot.
[One (M8) Android Development] boringalex:
Can you please link me to the post describing the corruption issue? I didn't know anyone had this kind of problem.
[One (M8) Android Development] beats4x:
I did, /data couldn't be mounted, showed 0mb in recovery, wouldn't boot. Ran the repair file system option in recovery. Didn't work at first, let it sit for about two hours, did it again then rebooted. All was well.

I also lost my sdcard, but that was my fault. Downloaded an unreleased version of captains twrp. Learned my lesson. 20+ GB of data (pics, music, stuff for phones) gone. Ha
[One (M8) Android Development] boringalex:
What ROMs / kernels were you running? Host and guest.
[One (M8) Android Development] Giblet-dono:
Please link me to all the roms!
[One (M8) Android Development] Ideas4ya:
**Sorry, I read the thread and my question was answered**
[One (M8) Android Development] beats4x:
Viper/Elemental as host, PA was second and I tried flashing furnace kernel.
[One (M8) Android Development] Captain_Throwback:
Coming soon to a MultiROM near you . . .

Unfortunately the app can't handle ROMs on external sd, so you won't be able to boot one from there. But right now, it's better than nothing, right?

Huge thanks [MENTION=3418703]Tasssadar[/MENTION] for working with me today to get this working. He was very patient with me as I have no idea what I'm doing, lol.
[One (M8) Android Development] boringalex:
Damn, I just booted from external SD as well :D

I see you guys had the same ideea. Also, it takes a ****load to boot from my slow sd card.
[One (M8) Android Development] Captain_Throwback:
Yeah, I figured I might as well work with him directly so that any changes we make can get merged into the master branch.

EDIT: Screenshots from recovery added.

External Storage doesn't show up with a pretty name, and in the Manage section is shows up as USB-OTG, but it still works.
[One (M8) Android Development] Captain_Throwback:
[MENTION=5565418]boringalex[/MENTION]

Here's the updated stuff so that people can download from the app:

installer: multirom-20140928-v28-UNOFFICIAL-m8.zip
size: 3528865
md5: 16b769ffbb9a3bd5b2d0f2dbced1a40a

recovery: TWRP_multirom_m8_20140928-01.img
name: mrom20140928-01
size: 16533504
md5: 2bdbf9ba355d78e31241b87b85e5af94

I believe that's all you should need.

P.S. You think you can add me as a collaborator to your project so I can make these updates myself?
[One (M8) Android Development] gmillz:
Is there a way to recover my data if it shows encrypted?
[One (M8) Android Development] Captain_Throwback:
One more glitch with running ROMs from external right now is that external storage doesn't get mounted. I just let [MENTION=3418703]Tasssadar[/MENTION] know but I don't plan on working on this anymore today, lol.
[One (M8) Android Development] throcker:
why....do you need links?
[One (M8) Android Development] Giblet-dono:
So I can test the exact same setup ;)
[One (M8) Android Development] Captain_Throwback:
Looks like I'll be taking a break for a bit as I accidentally bricked my device. Ah well. It happens.
[One (M8) Android Development] manup456:
100% sure not even bootloader?
[One (M8) Android Development] Captain_Throwback:
Yes. It's a brick.
[One (M8) Android Development] manup456:
That sucks I had it happen once on my second phone.
[One (M8) Android Development] Captain_Throwback:
I've bricked many phones, but this one makes me the most sad.

I'm not done trying to fix it, though. I'm going to try and write HBOOT back to the device while in QCom Download mode using emmc_recover. We'll see if it's even recognized over USB (it wasn't earlier), since Windows appeared to see it.

EDIT: Nope. Ubuntu doesn't see it. Looks like a replacement is in order :(.
[One (M8) Android Development] AnimusVoxx:
Anyone tried encryption yet? And been successful?
[One (M8) Android Development] throcker:
http://xdaforums.com/showpost.php?p=54138034&postcount=508 this is gpe

https://plus.google.com/+SeanHacker/posts/eEafQqyWNsJ this is aokp full aosp based

you can go on aokp site and download a nightly to get the "cm-based rom" because 90% aokp devices are cm-enabled, or go directly for cm.

arhd on primary with stock patched kernel.....enjoy lol. first test with stock kernel, next with elemental

ah, guys, what if I put GPE as guest with stock gpe patched kernel.....will cm, aosp and sense roms work fine?
[One (M8) Android Development] gmillz:
Can anybody help me with the encryption problem? Everything was fine until I booted back into the host os after booting multiple guest oses . I can't do anything. And I don't want to wipe of there's anyway to recover my data
[One (M8) Android Development] boringalex:
Updated manifest and set you as collaborator.
[One (M8) Android Development] boringalex:
I haven't tried encryption yet, but Tassadar said it wouldn't work with MultiROM. I'm gonna take a look into this but I have no idea what happened to your partitions.
[One (M8) Android Development] gmillz:
I didn't have encryption enabled at all. That's what confuses me. I also don't want to wipe if I can help debug it
[One (M8) Android Development] _moelle:
Can anybody provide a link for me?

TWRP_multirom_m8_20140928-01.img

Cant download through rommanager app and didnt find it searching the web by hand.
[One (M8) Android Development] boringalex:
I just downloaded it through MultiROM Manager. It worked just fine. Did you install it from the Play Store?

Edit: I updated the links in the first post. You can download them from there as well (all support installing to external sd).
[One (M8) Android Development] boringalex:
I don't understand. Then why did you say:

From that I get that you did something encryption-related.
[One (M8) Android Development] rohorubo:
Hmm...I installed the MultiROM Manager and as it told me to install recovery etc. I said ok for installing. but I don't have an option "Advanced-->MultiROM" in recovery. Any ideas?
[One (M8) Android Development] manup456:
Which recovery did you flash? You can also just use the app to install everything.
[One (M8) Android Development] rohorubo:
I got it...I installed an ui for twrp. Delete this one, and now I do have the option in the menu. I also tried to install a second ROM. During installation I have chosen "internal memory", it seems to be installed correctly but after reboot I don't have an option to choose between first and second ROM, only my primary ROM shows up....
[One (M8) Android Development] manup456:
To install a second rom you need to use the add rom feature and install.
[One (M8) Android Development] rohorubo:
I know...I went to "Advanced --> MultiROM --> Add ROM". Seems to work but I'm not sure if i did it correctly. During install it askes for the location "Internal Memory" or something like "/dev/....". I choose internal memory, installation goes through but no choice after reboot.
[One (M8) Android Development] remicks:
As stated in the faq for MultiROM not all roms can be installed as a secondary rom via a zip file. 2 examples are Renovate/InsertCoin. To get those working as secondary you must swap primary to secondary and install the new rom to internal storage and then swap them back via the MultiROM menu. By doing this you can run ANY rom as secondary. (see attached screenshot)

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] rohorubo:
Ok, thanks. Will try it ;)
[One (M8) Android Development] boringalex:
I just tested the new multirom and recovery (with external sd support) and everything seems to work fine (including internal storage). At least for normal ROMs.
[One (M8) Android Development] rohorubo:
Don't get it done...well maybe I'm too stupid for that ;)

What I would like to have:

1. primary ROM --> my ViperOne at the moment

2. secondary ROM --> Elix-R...want to test that ROM without messing up my viperone ROM.

That's why I wanted to check out MultiROM but now I'm a bit afraid of crashing my m8... :(
[One (M8) Android Development] remicks:
Use my method, tested and working with multiple roms. And Viper is my main. In fact I just did that method 2 times last night without issue.

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] MICH_**:
I am running PA as primary and viper as secondary. Then i installed beanstalk as third rom just for testing.. PA and viper working perfect but beanstalk does not work (getting no signal, wifi does not work and camera is broken)
[One (M8) Android Development] remicks:
Not all roms are MultiROM compatible as a secondary ROM, I encountered this issue with a few AOSP roms myself. LiquidSmooth was one and Beanstalk was another.

Digitized from my M8 directly to your eyeballs.
[One (M8) Android Development] boringalex:
Downloading beanstalk now to take a look, but from what you are saying, it seems that the rom is not installing properly. Maybe it's using the real partitions in some way (it shouldn't).

Edit: it mounts the real system before install. Is your primary PA still working??
[One (M8) Android Development] manup456:
[MENTION=5565418]boringalex[/MENTION]

Why does is show three options not just two one for internal and one for external what's the difference?
[One (M8) Android Development] MICH_**:
yes PA works perfect :)
[One (M8) Android Development] Captain_Throwback:
Hm that's interesting. It should only be showing the vfat partition with p1 at the end. I may need to make sure that whole block isn't getting initialized so it doesn't show up there. I didn't see that behavior when the card had an exFAT partition.
[One (M8) Android Development] manup456:
I was wondering because in your original picture I had only seen two. Okay no biggie I know you will fix the issue.
[One (M8) Android Development] Captain_Throwback:
Do you? I don't even have a device right now, lol.

I'm in the middle of building a new recovery that *may* fix it, but you'd have to test it to be sure. I have no way of knowing.
[One (M8) Android Development] manup456:
Ah my bad I forgot your phone got bricked, but I will test for you no problem.
[One (M8) Android Development] Captain_Throwback:
PM sent.
[One (M8) Android Development] ckpv5:
I've been busy and away from XDA ... maybe I miss something here ... this is what I have

(card is FAT32)
[One (M8) Android Development] Captain_Throwback:
Yours is correct. I wonder what [MENTION=1407738]manup456[/MENTION] has going on with his card?
[One (M8) Android Development] manup456:
I don't have much going on with the card it only has apps and nandroid backups on it and I formatted not to long ago so don't think it needs to be formatted again. Not sure
[One (M8) Android Development] francki:
Ok so renovate can be primary Rom, because last time I lost my data and cache partitions with it in primary and vanir Rom as secondary, or vanir isn't compatible?

Envoyé de mon HTC One_M8 en utilisant Tapatalk
[One (M8) Android Development] jake.99x3:
My 64gb card is Fat 32. exFat has twrp corruption problems along with several roms (Liquid Smooth). Have had no problems using Fat 32 such as corruption
[One (M8) Android Development] Captain_Throwback:
I just updated the TWRP in the app to fix an issue.

If you are currently using a previous version, I HIGHLY recommend you update to today's version. The app should tell you that you need to update when you open it.
[One (M8) Android Development] remicks:
Disregard. Fixed.

Digitized from my M8 directly to your eyeballs.