yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] KingMike67:
For those fighting with the new CM12's and installing as secondary, this is what I did. It might not be the best way, but works for me as I like to have 2 or 3 CM12's to play with. And a big thanks to [MENTION=3946657]xanthrax[/MENTION] for giving me the idea from his post.

1. Back up Primary (Mine was Calkulins 2.1 Battery Saver)

2. Factory Reset/Wipe Data Primary Rom

3. Install desired CM12 rom as primary (Install Rom, Gapps, SU etc as instructed by dev)

4. Once installed, backup primary rom. Now you have a back up of the new CM12 rom.

5. Add new Rom in multirom, and pick backup as your source and pick the CM12 backup you just made.

6. Once done, restore Primary Rom using original backup of your primary (In my case Calkulins) Or if you are like me, repeat steps 2-5 over and over and get 2 or 3 CM12's on there to test before you put your primary back on

I did this last night with [MENTION=4023029]Rycon33[/MENTION]'s and [MENTION=3479861]darkobas[/MENTION]' roms and it worked perfectly. Gonna add [MENTION=4911350]RobbieL811[/MENTION]'s and [MENTION=4628777]Moose0704[/MENTION]'s roms now. Like I said, might not be for everyone, but it works for me as I like to have CM11s as my primary and a bunch of CM12's
[ONE Android Development] xanthrax:
Yes king, this is what I do for the past few days and it's OK

Sent from my Darkside of 1+1

---------- Post added at 10:19 PM ---------- Previous post was at 10:08 PM ----------

Searching is the only way to find... everything

https://forums.oneplus.net/threads/latest-color-os-links.49119/

Sent from my Darkside of 1+1
[ONE Android Development] ek69:
I just added euphoria as secondary ROM and it all went OK, cm11s is my primary still. Hopefully all is well lol
[ONE Android Development] Sick1:
Maybe this: http://xdaforums.com/showthread.php?p=57211572 is something we can work on.

Tried and flashed ok, but got bootloop though....
[ONE Android Development] fredzen14:
Because thats for others' rom. you have to alter the updater-script of that particular rom only.
[ONE Android Development] Sick1:
Yeah, thats what i did :) . Removed the lines that said something about checking if XXX is mounted.
[ONE Android Development] fredzen14:
Which rom? I believe its BlissPop right?
[ONE Android Development] Sick1:
It was my selfcompiled cm12 without any modifcations.

Flashed ok and booted fine as primary rom.
[ONE Android Development] kosmoo:
I have original 44s rom, secondary temasek cm11, it's good, but with the secondary rom can't make picture from the screen, say "sorage is in use"
[ONE Android Development] xanthrax:
Maybe clear data/cache from gallery or reboot the second ROM

Sent from my Darkside of 1+1
[ONE Android Development] kosmoo:
Camera works good, but volume down + power not.

With all secondary rom was the same.

Cm 12 temasek, miui V5 was same problem :(
[ONE Android Development] ravvio:
I had a very foolish question but before getting into mess i thought i will ask it.

If I want to flash a Lollipop Rom (Secondary) Is It Mandatory to keep my Primary rom as Lollipop too.

I am running stock cm11 44s rooted multirom with Franco r31. Please assist.
[ONE Android Development] xanthrax:
No, it isn't necessary to have L as primary but most of the latest CM12 builds doesn't work as secondary, it is related to the updater script which needs to be modified

Sent from my Darkside of 1+1
[ONE Android Development] nicholaschum:
Anyone here on CM12 builds, have any problems with Proximity Sensor and In Call Headset not being activated in call? I can't pick up any calls without being on speakerphone.
[ONE Android Development] kennonma:
is it only work in ext4 ?　what about f2fs able to work as well?

for exsmple cm11s stock and unoffical cm12 f2fs rom, is it ok for that?
[ONE Android Development] xanthrax:
Incredible !!! You've quoted the whole first post, are you serious? Modify it now!

Sent from my Darkside of 1+1
[ONE Android Development] kantjer:
LOL, that's the signature mark of an inexperienced XDA user ;)
[ONE Android Development] xanthrax:
As if he cares about it...

Sent from my Darkside of 1+1
[ONE Android Development] kantjer:
Typo in my post, hope you agree now ;)
[ONE Android Development] xanthrax:
Lol, agreed on both, first I got it as an irony [emoji12]

So, you're around here now huh? Good! Opo looks great

Sent from my Darkside of 1+1
[ONE Android Development] Natakranta:
When I want to update secondary, I go to MultiROM menu and chose the ROM. There is option to wipe cache and option to wipe dalvik. I don't see option to wipe system. It's not there?

I'm using materialised Play theme for MultiROM TWRP.

I'm asking because when I dirty flash primary I always wipe these 3 manually: cache, system, dalvik. Then I flash ROM and then gapps.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] xanthrax:
Yes, there's no option to wipe system but I guess for a purpose, if you wipe system then the whole ROM will be wiped

But the process of dirty flash implies a refreshing of the system so I can't really see the point of doing it

Dirty flashing the system will wipe the system framework and the gapps will stay only if there is a script to keep them after dirty flash

The rest of the system apps will be wiped after dirty flash

Sent from my Darkside of 1+1
[ONE Android Development] kantjer:
I agree, the updater script is taking care of it (like it also wipes cache and dalvik if needed)
[ONE Android Development] fusionjack:
i was going to ask the same about wiping system because with the new 'block' structure on the LP builds, i doubt that the updater script is formatting the system. i come to this assumption because the gapps are still survived after dirty flashing although backup tool is not included in the updater-script, but the host and su binary get replaced. this is because the build contains host and su binary but not the gapps.

here is the main function to flash the build:

block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");

for now, i have no idea what 'block_image_update' does...i might be wrong with my assumption. if so, please shed some light :D
[ONE Android Development] Natakranta:
Manually wiping system was advised to be 100% sure nothing survives from previous system, no old gapps are restored.

Where do I delete the script that is restoring old gapps?

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[ONE Android Development] kantjer:
system/addon.d

---------- Post added at 01:05 PM ---------- Previous post was at 01:04 PM ----------

Strange thing is the dpi settings are also kept after a dirty flash and also done by a scripts afaik.

Also SuperSU binaries are also removed after a dirty flash on KK.

EDIT: Just checked and indeed remains of my previous gapps are still there although I removed the backup script. It seems no wipe is done.

Moved LP to primary, at next flash I will wipe systems manually to remove all traces of the old gapps.
[ONE Android Development] mrsim:
flashing to secondary rom

hey guys,maybe someone can explain or help me with a problem i seem to be having with multirom...whenever i attempt to install gapps or a kernel to the secondary rom it never sticks,the flashing process complete's successfully and i reboot only to find no gapps or kernel added to the secondary rom

at the moment i have CM11s + AK kernel 077 as my internal and mahdi final build as my secondary,when i go to flash pa gapps full or mini gapps i follow this set...boot into recovery/advanced/multirom/list roms/(choose pa gapps.zip),follow path to .zip/flash through multirom,

now in some tutorials as like the one in the OP here it says to reboot back into recovery then reboot device...i have tried both methods and have rebooted when prompted by multirom after flashing gapps.i choose the secondary rom after cancelling the multirom auto countdown bootup process,boot into the rom and....no gapps/kernel

the only way that this seems to stick if if i make the secondary rom my primary rom and then flash the correct gapps or kernel

the same thing happends with slim rom,cyan hacker.etc etc...the program just will not let my flashing stick

if you require me to create a quick video or make some screens please let me know

also the only reason i am posting here is because i was sent here from oneplus Q+A thread

sorry if i am wasting your time

also am only using 4.4.4 builds no lollipop
[ONE Android Development] xanthrax:
I know your problem...

It doesn't make sense whatsoever, I've never heard about this issue, on all devices which supports multirom

Yes, make a video of what you exactly do

Clean flash a secondary ROM and then, after choosing the ROM from the list flash the gapps or whatever you need

Sent from my Darkside of 1+1
[ONE Android Development] ashok:
So can anyone tell me which of the Lollipop roms are supported as secondary rom by multirom. and which kernel to flash?
[ONE Android Development] polaris68:
I have successfully flashed the euphoria lollipop rom as a secondary. Didn't require any complicated moving roms around.

My primary rom is madhi 4.4.4 + AK77 kernel (the most recent versions of Franco's kernel don't work with multirom so make sure you don't have one of these with your primary rom).
[ONE Android Development] beren:
successfully tried euphoria and slimsaber bacon
[ONE Android Development] KINGbabasula:
Recovery update

Updated the recovery to latest TWRP 2.8.2!
[ONE Android Development] androizers:
Thanks [MENTION=5093942]KINGbabasula[/MENTION], love the Multirom and ur work!

Just a lil bug reporting, I don't know if its discussed or not, But whenever I try to boot secondary rom, it takes lil longer, but I know it phenomenal... But when I try to boot my primary ROM after using secondary, it takes a quite long time and put the screen blank black and need to touch the screen to show the boot anim!!

Em I the only one??
[ONE Android Development] xanthrax:
Akki, that's not multirom related

Which kernels do you use?

Sent from my Darkside of 1+1
[ONE Android Development] gqukyo:
I couldn't get either of those to work as a secondary or a primary. It shows the one plus logo then it just reboots again and shows it again so it's bootlooping. It works fine for my stock cm11s on either primary or secondary. bpear's 11/24 lp rom used to work fine but after that rom, i couldn't get any lp rom (that supported mr) to boot fully after what appears to be successful flashes. I can flash and boot all lp roms fine when I'm not using multirom and using just stock twrp. I just updated the recovery from the multirom manager app hoping that'll help fix it but didn't help. Not sure what happened to my phone. lol. Was thinking of deleting everything and starting from scratch but I'm hoping there's some things I can exhaust before doing that. I don't care for multiple kk roms, I just want a stable kk stock rom and lp roms to play with. Can someone let me know what I can check and do to diagnose and hopefully fix my issue? TIA!
[ONE Android Development] polaris68:
What kernel do you have on your primary ROM? Try flashing the AK kernel on this ROM and then flash euphoria as your secondary - works for me.
[ONE Android Development] galza:
can anyone tell me why i cant make my otg devices work with modified twrp recovery? when im trying to mount i dont have otg on the list and i cant see my otg usb...only have internal storage available

when im trying to add a rom from my otg usb i see a line that says something like sda1 or something but even when i choose it i dont see the content of it i see only my internal content

thanks ahead

gal
[ONE Android Development] gqukyo:
So I had a nandroid of Rycon's 12/4 build with stock kernel and it actually restored ok into the primary rom so I was playing around w/ that. I tried the AK35 kernel at your suggestion but that would mess up even the Rycon primary rom. I couldn't even boot back up into that one. Had to restore again to get it to work again.
[ONE Android Development] Rycon33:
Using new TWRP, I'm always getting this error regarding theme zip or something. But flashing goes well. Never saw that on 2.8.1.0. Not a biggie, coz still works.

On my next build, AK would be easy to install.
[ONE Android Development] xanthrax:
Yea, otg doesn't show up

Sent from my Darkside of 1+1
[ONE Android Development] mrsim:
still cannot get multirom to add anything to secondary roms
[ONE Android Development] Rycon33:
Tell us more details.

The secondary ROM must have an updater-script that can accommodate ROM to be on secondary. Ask your ROM builder, or you may also modify it on your own.

And ofc, Primary ROM must have kernel that supports "hardboot k-exec".
[ONE Android Development] mrsim:
got no problem with primary rom is AK 077....and secondary roms all support multirom the problem is adding things like gapps or a kernel to secondary, these will not sick even though they flash with no problems, the only way they will stick is if I make them my primary and then swap them back after adding gapps and a kernel
[ONE Android Development] xanthrax:
Why don't you completely remove multirom and multiboot options

Remove multirom from the app, this will erase all secondaries and flash a normal recovery

Reboot recovery and reinstall the multi

Your problem is so weird...

Sent from my Darkside of 1+1
[ONE Android Development] kantjer:
I have updated all MultiRom TWRP repacks to the 6/12/2014 source

Thanks to [MENTION=5093942]KINGbabasula[/MENTION] for this great tool :good:
[ONE Android Development] galza:
hey guys,

how can i add lolipop roms as third fourth and so on with multirom? now my primary is a lolipop rom and secondary is 4.4.4 rom.do i need just to add another lolipop roms and they should be flash fine or i need to change something to make it work flawless thanks

:)
[ONE Android Development] JaylanPHNX:
If I want to make my secondary ROM my only ROM and remove multiROM, can I just nandroid the second ROM, restore it like primary, then use the multiROM uninstall zip?

Edit: Managed it. I did pretty much this. [emoji106]

It's baconnn!
[ONE Android Development] Poser:
No changelog on TWRP site...checked git, just compatibility changes?
[ONE Android Development] kennonma:
sorry i new here and still confus on a issue...

if i do primary rom for cm11 and sec rom is cm12, do i able to flash AK to CM12 only?

^^!!!!!!!!!!!!!!!!
[ONE Android Development] Rycon33:
Currently, I'm using AK on my primary ROM, CM11 nightly. And using AK also on my secondary ROM, CM12 Lollinaro. No problem.
[ONE Android Development] kennonma:
thx, i will try to flash the 0.35 ak to cm11 and cm12 lollinaro
[ONE Android Development] ek69:
If I dirty flash using multirom I basically flash zip over top, but like said remnants of old files remain [emoji40] which means I guess you should delete old ROM then add new ROM and restore user apps and settings all over again? That's a lot of work even using TiBU to restore user apps only lol [emoji20]

Sent From Bacon

---------- Post added at 06:21 PM ---------- Previous post was at 06:17 PM ----------

Which ROM?

The dev needs to make a new updater-script file that will allow this.

Temasek bacon bt [MENTION=3814731]katinatez[/MENTION] has this file which you replace in the ROM zip

You can replace using 7zip on PC or zarchiver app in play store

Sent From Bacon
[ONE Android Development] projekt1:
Root cause for E: error executing updater binary in 'zip/tmp/mr_update.zip' ? Tried flashing 5.0 rom in secondary. Already have 2 5.0 roms in secondary (3rd, 4th etc.)
[ONE Android Development] jmazzamj:
Does it mean no scondary ROM will work?

I can't flash any secondary ROM since I installed v30, I had no issues before that, even L ROM would install and boot just fine.

I've been using MultiROM since release on my Nexus 5 and bacon.

Thank you
[ONE Android Development] beany>:
Its the updater-script in most ROMs containing an IF command to check what is mounted that causes the conflict. I believe it is not specific to v30.
[ONE Android Development] dbaler:
What part of the script do I remove? Only having trouble with k900s build
[ONE Android Development] Rafase282:
There is no OTG with the 2.8.2 recovery fromt eh app, where can I find a link to a previous recovery img?
[ONE Android Development] jmazzamj:
I understand but secondary ROMs were flashing and booting fine before v30 update.

It may be related to the latest custom TWRP as well, what do you think?

I'll try erasing recovery partition and flashing this TWRP:

https://www.androidfilehost.com/?fid=95784891001611324

Thank you
[ONE Android Development] xanthrax:
No and no, do understand that it is a matter of updater script

Revert to the older multirom version and check out yourself

Sent from my Darkside of 1+1
[ONE Android Development] jmazzamj:
I see, is there a way for us or the coder/porter to fix this issue?

Thank you
[ONE Android Development] xanthrax:
There's on temashek 's thread an updater script but I personally couldn't make it work on other ROM's zip

Check his android files hots links

Sent from my Darkside of 1+1
[ONE Android Development] beany>:
Most of the CM12 builders don't actively support Multi ROM. Hence it is not a priority for them to change the scripts. I compared a normal and modified script and there is not a great deal of difference (but I am not sufficiently knowledgeable to start modifying) . The script for each ROM can be significantly different and so cannot reliably used on other ROMs.

So unless you can edit the scripts use the alternative method of flashing to primary and if you want it in secondary swap them.
[ONE Android Development] magic.hand:
[MENTION=3306843]kantjer[/MENTION] do you have the previous version 2.8.1.0 theme packs?
[ONE Android Development] Rycon33:
And the ROM that actually actively supporting it(multi-ROM) has a couple of users only.:p
[ONE Android Development] beany>:
Is it pure CM12 or are there any customisations or cherry picks?

I have to be honest, I download each update for several lp roms and even have half a dozen on my one but have gone back to KK until we get theme to get rid of all the white material. :)
[ONE Android Development] Rycon33:
The only difference with other CM12 builds is the toolchain used(Linaro). Plus SuperSU is integrated in the settings if you flashed its zip.

Some optional mods(separate from the ROM) are available, e.g. Center-clock with weekday and AM/PM, smooth-scroll mod, and increased volume steps(30 versus 15 steps of the default).

Just disappointed with camera at this stage, one time it works the next time it is borked.?

I also keep on going back to my primary ROM (CM11) for the music. Music playback in CM12 is almost laughable atm especially on playing FLAC. The static noise and sqeaks are unbearable sometimes.

Anyways, for dark-themed CM12, you may try the one built by darkobas.
[ONE Android Development] NOSTALGIA:
Indeed music playback is unbearable... This is why i keep coming back to cm11 as of the moment.this is the most wanted feature on my phone cz i love to listen to music especially if your introvert like me...
[ONE Android Development] newellj79:
I'm unable to find the link to the posts, are archive that shows how to modify install script to install 5.0 as secondary. Can someone point me in the right direction?
[ONE Android Development] redukt:
Still no USB OTG support? :/

Gesendet von meinem GT-N5100 mit Tapatalk
[ONE Android Development] kantjer:
No I don't have them
[ONE Android Development] newellj79:
What rom is it?
[ONE Android Development] Rycon33:
The one I compiled(damn, shameless plug:p).

There are only two or three people who uses it, want to be the fourth? ?
[ONE Android Development] Sick1:
[MENTION=3946657]xanthrax[/MENTION] and everyone like me who are strugling with lollipop as a secondary failures.

http://xdaforums.com/showthread.php?p=57394524

The updater-script is necessary of course, but theres something inside the kernel too that is needed for it to boot.

Script allowes it to flash but usually end up to bootloop...
[ONE Android Development] xanthrax:
oh yes, tbh, I haven't tried a custom kernel on top of it after a successful flash with a modified script, have you?

sent from my Darkside of Nexus 7 LTE
[ONE Android Development] Sick1:
If you mean Temasek Cm12? Only with ak ive tried it and i believe it works because [MENTION=3685904]ak[/MENTION] uses anykernel installation so the actual commit is in the [MENTION=3814731]katinatez[/MENTION] s kernel..So when i include ak kernel in my build, theres no such commit and it bootloops.

This maybe just some hunch or lucky shot but... :)
[ONE Android Development] soapbox23:
Does anyone else have a problem getting to the multirom boot menu? I'm unable to get to it when using either setting (time based, or button based). I currently have Temasek v2.1 with AK 39 as my primary rom, and have CM11s 33R as my secondary. Everytime i try to inject current boot sector into the primary ROM from recovery, it results in a boot loop. Any ideas?
[ONE Android Development] moosha:
Can anyone tell me where the share kernel option is located :confused::what:
[ONE Android Development] prmcmanus:
It isn't there anymore. So long as you have a kernel which supports kexec-hardboot, then it'll chainload the secondary kernel
[ONE Android Development] moosha:
Nice :D:D
[ONE Android Development] moosha:
Can the apps installed in one ROM be used in another? :what:
[ONE Android Development] xanthrax:
Can someone read the third post?

No, for both questions...

Sent from my Darkside of 1+1
[ONE Android Development] Sick1:
Hello!

I finally found what is causing the secondary lollipop not to boot.

Its this https://github.com/CyanogenMod/andr...mmit/d3a3a61245d0a12d76be47c61326a7ffbdfa3a5b

Editing the updated-script allowed it to flash, and reverting this allowed me to boot my build. It was a loooong way but now its working!!!
[ONE Android Development] xanthrax:
I always thought that it is related to selinux permission

Sent from my Darkside of 1+1
[ONE Android Development] BlakeSm:
So when trying to make a lollipop rom my secondary, I somehow destroyed the EFS partition. Baseband/IMEI says unknown and WIFI won't turn on. I don't have a backup of the EFS so I believe I'm screwed. If anyone has an extra invite or some miracle to restore my EFS, that would be swell.
[ONE Android Development] freestylejunki32:
It may not be gone. try reinstalling a cm11 or cm11s rom and see if you get signal again.

i am having sort of a similar issue however. I installed lollipop as primary and have CM11s as secondary. After installing lollipop, if i reboot into secondary, i still have signal and everything works just peachy. if i boot into lollipop i will also have service and wifi with no trouble. upon booting back to cm11s, i have no cell, wifi or bluetooth but only on cm11s. rebooting into lollipop again and everything is dandy. Does not matter whether i swap the roms around again and make CM11s primary still present the same issue.

If i flash the cm11s zip again over the secondary slot, i will have radios again but only if i dont switch to lollipop again. switching roms make me lose radios 100% of the time. The imei must still be intact since reflashing rom brings it back it it always works on lollipop. not sure what else i can do but multirom is sort of useless for me at the moment since i cant switch between roms withour having to reflash the cm11s rom to get radios working again.
[ONE Android Development] BlakeSm:
I've tried multiple reflashes with no effect :\
[ONE Android Development] mdda7:
help me plz :rolleyes:

i am on mahdi rom+ak kernel

if i flash secondry rom from c12 i recive this : e error executing updater binary in zip

i try flash the cm12 primary rom and flash another cm12 but i recive : e error executing updater binary in zip
[ONE Android Development] bud77:
Help yourself and read one of the 10 pages before. It's litteraly written on EVERY page
[ONE Android Development] mdda7:
I read, but I do not know where the error
[ONE Android Development] bud77:
Then you didn't read last page : http://xdaforums.com/showpost.php?p=57432181&postcount=1489