yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] wrongway213:
To put it simply, yes. I have a pretty wild idea of what I think is happening. I have NO idea why or the technical details behind it, but I have looked at enough logs and been through enough forum threads (kernel mostly) and I think I've nailed the variables down to a few factors. I've already tagged Tasssadar in here, so whenever he gets the chance hopefully he can weigh in. I also tagged bbedward in the Zen Kernel thread about this issue, as he is the kernel developer I think would be most suited to debug this issue if it is in fact related to what I think - he would also thankfully likely be the most suited to tell me I'm totally off base if I am totally off base, so hopefully either way my suspicions will be confirmed or eliminate from the realm of possibilities when one or both of the aforementioned developers have the time to respond.
[Nexus 6  Original Android Development] :
I highly doubt the issues in the logs you posted are related to multirom.

Unless im mistaken all multirom is really going is loading the ramdisk/kernel from a different address than what the bootloader would normally expect.

Once the system had loaded the ramdisk and kernel and started booting... Multirom has done it's work an is essentially out of the picture.
[Nexus 6  Original Android Development] wrongway213:
I definitely don't think MultiROM is at fault or has any sort of bug. I simply am beginning to think that there may be an incompatibility between kernels.. maybe my focus is skewed because when it reboots from secondary you see the primary kernel name in the log and so I want to look for fault there. However, I have seen SO many reports of random reboots from users with a CFS secondary kernel and a BFS primary or vice versa.. it seems odd to me that's all coincidental. However, MUCH stranger things have happened - I could very well be as far from the truth as possible.
[Nexus 6  Original Android Development] MoSeriouS:
Looks like new TWRP just dropped, ill keep my eyes peeled for update multi-rom TWRP...

http://xdaforums.com/showthread.php?p=56891961
[Nexus 6  Original Android Development] suku_patel_22:
Suppose I boot into a secodnary ROm and flash a kernel using flashify, will it flash into the secondary ROm or the primary ROM?

Is there a way to have the same kernel for both primary and secondary?
[Nexus 6  Original Android Development] Greedy242:
Question let's say am using hydra kernel as my primary rom it is compatible with multi rom and it get update how do I update it do I flash it normally over the primary rom
[Nexus 6  Original Android Development] rahsaanabdul:
If MultiRom works the way it always has if you boot into the secondary ROM and use flashify you would be flashing the kernel directly to the primary ROM. It would be best to just do it in recovery specifying the ROM you intend to flash to.

Sent from my Nexus 6
[Nexus 6  Original Android Development] katyl:
God, I was banging my head against the wall last night, trying to figure out what I did wrong. Can confirm 32a working properly.
[Nexus 6  Original Android Development] suku_patel_22:
MultiROM working great here with Chroma as primary and stock as the secondary. Hope we get Firefox os or something more exotic later :)

Sent from the sixth dimension.
[Nexus 6  Original Android Development] manup456:
[MENTION=3418703]Tasssadar[/MENTION]

I don't know what happened but I flashed a boot.img that is patched and for some reason it broke both second and third rom. I'm not sure if this is the same issue I found here but it sounds the same.

http://xdaforums.com/htc-one/orig-development/mod-multirom-v28-redesigned-gui-t2880887/page61
[Nexus 6  Original Android Development] x0nar:
I don't know what I did wrong, however the last time I flashed something through Flashify from a secondary ROM, it got flashed in Primary ROM.
[Nexus 6  Original Android Development] manup456:
Don't use flashify its what I used to flash francos r26 boot.img it flashed to the primary but broke both secondary roms. Just flash everything with twrp. You can't flash boot.img but .zip will be fine.
[Nexus 6  Original Android Development] Jstevenett:
So when and how do you flash gapps to your secondary rom?
[Nexus 6  Original Android Development] IronCityMZ3:
Go into twrp, click advanced / multirom / list roms. Click the rom you added and you will have an install zip option to install gapps, kernel, etc.
[Nexus 6  Original Android Development] suku_patel_22:
I guess that after flashing franco, we can go to TWRP. And inject curr boot sector and that would fix the secondary roms. It's in OP.

Sent from the sixth dimension.
[Nexus 6  Original Android Development] manup456:
Once it happens nothing fixs I tried everything.
[Nexus 6  Original Android Development] suku_patel_22:
So flash zip to primary and then inject curr boot sector..

Sent from the sixth dimension.
[Nexus 6  Original Android Development] avinab:
I am not able to flash Mez PA GApps using multirom recovery.It says 'error executing update binary script'.But in TWRP recovery it flashes fine.

Anybody having this issue??

Link to MEZ gapps :- https://plus.google.com/u/0/communities/114885039949391807572
[Nexus 6  Original Android Development] C00lBeanz:
Do I have to inject curr boot sector everytime I flash something in the normal install menu in TWRP?
[Nexus 6  Original Android Development] mattg1234567:
Work on note 3?
[Nexus 6  Original Android Development] torecdude:
Im not seeing the option "dont share kernel" when i want to add a rom? is this option was remove? or is it just me?

can i safely flash a rom although im not seeing that option? i want each rom to have its own kernel.

Amazing work keep it up! :)
[Nexus 6  Original Android Development] suku_patel_22:
I believe currently it's only different kernels. I want to share kernels, not sure how to do that

Sent from the sixth dimension.
[Nexus 6  Original Android Development] z31s1g:
The "share kernel" option has been removed back in September last year:

https://github.com/Tasssadar/Team-W...mmit/fe4d662f14a3dc915e9defdeea056d86b26a0d2a

The commit message also holds the solution for how to achieve kernel sharing:

On the "list roms" page, select the secondary rom and use the "remove boot.img" button.
[Nexus 6  Original Android Development] aewig:
I installed it following the first post instructions. I added Chroma as a secondary ROM and then "swapped" internal (stock 5.1) with Chroma. Sadly, now I'm just getting a boot loop back into recovery. Any ideas?

EDIT: I think its because Chroma was added from a nandroid backup and it may not have had everything needed.
[Nexus 6  Original Android Development] fuzzybuffalo:
First don't inject current boot sector into M, that could be causing your boot loop.

Second I've heard you have to be on the M bootloader to boot M. I can't verify this, because I flashed the M bootloader and radio before flashing M.

I can verify that Lollipop ROM's runs fine on M bootloader and radio. If you flash the M bootloader, I suggest not downgrading it.

Only your primary ROM needs kexec-hard boot support, that's why I setup JDX as a secondary, because Despair did not have it.

I used Euphoria as my primary, because it comes with hells-core kernel which has kexec-hard boot support.

Here are the steps I used.

I used the regular TWRP Backup button and made a Backup of Euphoria, my primary.

I used the regular TWRP Wipe, Advanced Wipe, and wiped Dalvik, System, and Cache.

I then used the regular TWRP Install button and installed JDX as a regular ROM. It does not matter which kernel, because the secondary ROM's don't need kexec-hard boot support. In the JDX thread it seems like people are having trouble with Despair, so you could just use the built in kernel.

Also people are having trouble with JDX build 13 and 14, you might try 12.

Anyway get JDX up and running good, then go into TWRP, Advanced, MultiROM, Swap ROM's, and either Copy or Move your primary ROM to secondaries.

Use regular TWRP Wipe, Advanced Wipe and wipe Dalvik, System and Cache.

Use regular TWRP Restore button and restore your primary.

If you have any trouble with your ROM's booting, here is where you use TWRP, Advanced, MultiROM, Inject curr. boot sector.

Hope this helps.
[Nexus 6  Original Android Development] Azlun:
Is it a reported isssue JDX flashable Zip file is not compatible with MultiROM on NEXUS6?

I just found that if I use MultiROM-TWRP to new a ROM with shamu_MPZ44Q_JDX 1.0.12.zip, from http://4ndr01d.com/repos/shamu/jdx/

that will destroy my primary /system partition casing boot loop.

http://xdaforums.com/attachment.php?attachmentid=3379063&stc=1&d=1435294857

also other 2nd ROM are all destroyed to boot with similar appearance.

I need to reflash each system partition by fastboot to fix them, so critical issue.

when dig in the zip file, I found that the update script is very simple, it extract the system.img to /system partition, same as boot.img

ROM installation result is all done, the only problem is after both done, a prompt MultiROM TWRP log is can not mount /system partition.

Any suggestion I can help to fix this issue?@tasssadar
[Nexus 6  Original Android Development] :
MultiROM compatability isn't really an issue, unless they advertise that they support kexec hardboot. It's not something that is built in our required for the Kernel (unless you want to use it with MultiROM).

It sounds a bit like you're just using the install button repeatedly trying to flash multiple roms though.

You only do that for the primary one. Then you need to go to the multirom menu, under advanced to install the extra roms. Then you have to go back in, choose the extra rom you want to install extra zips to, and do it through those menus, not the main twrp install menu.
[Nexus 6  Original Android Development] galaara98:
My testing shows that if you create a new ROM with jdx 1.14 as the initial zip, then all secondary ROMs are destroyed and the primary ROM is overwritten

Just noting my repeated experience

Aaron
[Nexus 6  Original Android Development] leighfwarren:
Swapping ROMs

I tried swapping my primary (Chroma 6/5) and secondary (Fusion 6/19), both with default kernels but I lost everything.

The swap succeeded successfully, but when the phone rebooted I chose the primary ROM which it said was Chroma and then reported it was encrypting the system. I turned off the phone after 10 seconds into the encrypt, but there was nothing left on the phone apart from a factory reset form of the Fusion ROM.

I'm not sure why the encrypt happened, I may have been ok if I let it finish the encrypt but that's not what I wanted. :crying: Fortunately I had everything backed up to the cloud.

Leigh..
[Nexus 6  Original Android Development] fuzzybuffalo:
Yes, this happened to me also, when I flashed JDX as a new secondary.

Check out post #302 by me. Quote: You cannot install JDX's as a secondary, it flashes to the primary boot image and messes it up.

But when you flash JDX as a new Primary, then move it to a secondary slot, it works.

Just follow my directions that you quoted and it will work.
[Nexus 6  Original Android Development] Azlun:
Thank you for this workaround, and expecting [MENTION=3418703]Tasssadar[/MENTION] can have some direction to fit it in coming release.
[Nexus 6  Original Android Development] dabug123:
[MENTION=3418703]Tasssadar[/MENTION] question noticed testing kernels when trying to get pstore log off a secondary rom random reboot it gave a log but the log was from the primary ROM kernel!! Have u experienced this issue!!
[Nexus 6  Original Android Development] sgloki77:
is this compatible with the new 2.8.7.1 TWRP?

do you need to flash multirom again when updating TWRP ?
[Nexus 6  Original Android Development] aoaleman:
You would probably need the MultiROM TWRP. Wait until Tasssadar is able to update his TWRP.
[Nexus 6  Original Android Development] wrongway213:
No. When you use MultiROM it has its own recovery, MultiROM TWRP. You no longer user standard TWRP anymore.
[Nexus 6  Original Android Development] Azlun:
[MENTION=3418703]Tasssadar[/MENTION], Do you have time for such request?
[Nexus 6  Original Android Development] umair shaikh:
Just a quick question here

Why we have to do that inject curr. Something while updating primary rom ?? Wat if i don't do tht nd just flash the update nd boot ???

Btw great work pal...
[Nexus 6  Original Android Development] Tylog:
Update available, thanks Tesssadar :)
[Nexus 6  Original Android Development] yankeesfan714:
How would I go about updating my cm12.1 ROM on my secondary rom.? Install thru the cm updater in settings or in the multirom portion of twrp?
[Nexus 6  Original Android Development] Skripka:
You can try your OTA updater...odds are it won't work. In which case clean or dirty flash via the TWRP MultiROM menu for that slot.
[Nexus 6  Original Android Development] yankeesfan714:
Thank you.
[Nexus 6  Original Android Development] sgloki77:
after updating to 6/30 I can't boot into internal/primary ROM, the phone will boot into the next in the list, anyone know how to fix this?
[Nexus 6  Original Android Development] githyanki:
In TWRP multirom menu, try inject current boot sector. May fix your issue.
[Nexus 6  Original Android Development] networkdood:
Odd, but the multirom updater app tells me that I do not have the multirom recovery installed, and yet I just used flashify to get the latest version of multirom twrp on here...

Lol! Never mind, I booted into my Temesak ROM and the updater told me I got it :)
[Nexus 6  Original Android Development] fuzzybuffalo:
In MR TWRP -> Advanced -> MultiROM -> Inject.curr.bootsector
[Nexus 6  Original Android Development] TheStrix:
I can't find "Don't shere kernel" option anywhere :rolleyes:
[Nexus 6  Original Android Development] wrongway213:
You don't need an option, kernels are not shared by default. The kernel your secondary ROM comes with will be what it runs, unless you flash another under your secondary ROM in MultiROM. None of this will affect your primary kernel.
[Nexus 6  Original Android Development] wrongway213:
Anybody have any luck moving ROMs (not backups, the actual ROMs themselves located in the data/media/0/MultiROM folder) from internal to USB OTG and back? I've been trying to figure out how to do this and all I can find is how to move backups, which seems inefficient as last I remember, backups required running restorecon to even boot - not sure how it'd do being moved all around. I'd like to just move the whole ROM but I cannot figure out how to do so (ideally, I would like to be able to move them back and forth). OTG drive works fine, have used it to boot ROMs before, just never really saved any backups or anything on it.
[Nexus 6  Original Android Development] z31s1g:
The only workaround I can think of is to backup the secondary roms from internal storage and then install these backups as a "new" secondary to usb-otg.

Directly moving a secondary from internal to external storage isn't supported (yet?).
[Nexus 6  Original Android Development] wrongway213:
Well, that would certainly explain my lack of success in attempting it. Thanks for the workaround and confirmation this shouldn't work without one, saves me more time attempting the impossible.
[Nexus 6  Original Android Development] brainard52:
Something I've not been able to find is the ability to set contact info. It would be pretty nice to set contact information on the password prompts in the same way Android displays the message on the native password prompts. I hope this makes sense.
[Nexus 6  Original Android Development] aoaleman:
M Dev Preview 2:

http://developer.android.com/preview/download.html :D
[Nexus 6  Original Android Development] zeer.row:
Droid-life has a zip of the ota to preview 2, if I flash that over my preview 1 (2nd rom, not internal) will it work?
[Nexus 6  Original Android Development] aoaleman:
Probably not as stock OTA zips look at stock recovery and stock (internal) slot.
[Nexus 6  Original Android Development] Tylog:
You have a link? Then I test it but I think no. Best is to wait for the new build from Tesssadar.
[Nexus 6  Original Android Development] aoaleman:
This looks like it:

http://android.googleapis.com/packa....signed-shamu-MPZ79M-from-MPZ44Q.f875f636.zip
[Nexus 6  Original Android Development] Tylog:
Thanks. I will test it and post it it work but I don't belive it does.

Edit: Doesn't work (only tested secondary) but it is a ota zip, maybe sideload works. However, lets wait for a Build from Tasssadar :)
[Nexus 6  Original Android Development] networkdood:
Can we have an M ROM as the main one and another M ROM as the secondary ROM?

Seems I am getting a big error when doing this.
[Nexus 6  Original Android Development] kidhudi:
anyone get preview 2 in the secondary yet. i tried alll kinds of stuff. sideloading, flashing system img file and nothing works :(
[Nexus 6  Original Android Development] networkdood:
That must be the issue, so we shall wait for the dev to update multirom...

Meanwhile, I got an AOSP ROM from danvdh1 and xtraSmooth's M ROM,with JDX 2.0 waiting in the shadows ....
[Nexus 6  Original Android Development] david279:
try installing a nandroid of m2 as your secondary yet?
[Nexus 6  Original Android Development] amritanshu001:
Hi,

NewB question.

I am thinking of flashing M Preview 2 in one of my secondary rom slots. Will flashing factory image relock my bootloader and wipe my user data? If yes, is there any way i can flash M Preview 2, and keep all my other ROMs and data intact?
[Nexus 6  Original Android Development] david279:
There's no flashable zips you can use now to install m2 as a secondary. If you flash the factory image it won't lock anything. The best you can try is installing m2 as a secondary from a Nandroid. That may work.
[Nexus 6  Original Android Development] kidhudi:
preview 2 works in secondary. back up primary. flash preview 2 in primary slot. swap roms so preview 2 is in secondary now and nand back the primary. a bit of a pain in the but but do-able
[Nexus 6  Original Android Development] networkdood:
Thought so, thanks

Sent from....a phone
[Nexus 6  Original Android Development] :
Has anyone gotten JDX's m2 running on secondary?

Logs attached
[Nexus 6  Original Android Development] spevil07:
Yes! It works like a charm! Look only 2 posts back and you see how it works!!

Gesendet von meinem Nexus 6
[Nexus 6  Original Android Development] mattprice86:
Did you have to format data when you flashed it? That's what they recommend, but I don't have time to do that right now
[Nexus 6  Original Android Development] spevil07:
yes

wiped cache and dalvik, formated system and data, untouched internal storage
[Nexus 6  Original Android Development] ilpolpi65:
My experience :

Flash M2 preview

Flash twrp

Backup M2

Flash cm-12.1

Installed multirom

Add ROM M2 backup

All ok

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Nexus 6  Original Android Development] JimSmith94:
Has anyone figured out how to install the M2 preview directly like we did with M1, but without all of these flash, backup, and reinstall gyrations? For me, that pretty much negates the advantages of MultiROM.
[Nexus 6  Original Android Development] :
Can someone post a Nandroid of the M2 preview? Just flash it, boot it, and don't set it up so its like a clean install for all of us
[Nexus 6  Original Android Development] ManikandanGuru:
Can anyone help me out here.

I want to format System Partition only in a Secondary ROM (Blisspop) to change the Gapps. Really need that process.

I can't find any option for that. How to do that?

Thanks.
[Nexus 6  Original Android Development] amritanshu001:
Use wipe data button. It is like factory reset i think.
[Nexus 6  Original Android Development] ManikandanGuru:
Ya, I know about factory reset.

I don't want to wipe data or any other thing.

Just need to wipe system partition only.
[Nexus 6  Original Android Development] z31s1g:
Swap Bliss with your primary rom. Then use the "normal" advanced wipe section in twrp to wipe the system partition. Swap roms again afterwards.

But as you'll loose the rom when wiping system, I wonder if it was easier to delete the secondary and set it up from scratch. Seems to be the less error prone way.
[Nexus 6  Original Android Development] fuzzybuffalo:
What I did when I needed to wipe /system on a secondary ROM, was go to /data/media/0/multirom/roms

Then there will be a folder with ROM name and a system folder inside that, open system folder select all and delete all.
[Nexus 6  Original Android Development] wrongway213:
I tried that method and that ROM then no longer had any options whatsoever in MultiROM TWRP, no option to install or anything to even add the ROM back in as I had intended to do exactly this process to switch gapps packages awhile ago. It did not work for me, I had to delete the ROM and start from scratch. Any trick to getting this to work (i.e. restorecon, etc.) or anything that comes to mind I could have done to cause such a problem? Your solution seemed the logical way to me too but it had very bad results when I tried - makes me quite nervous to do so in the future unless I am certain that's what I have done wrong.

Also, on an unrelated note, I really wish I could figure out how to flash boot.img kernels in secondary ROMs as opposed to only zips, but I am starting to think that is not possible. If anyone has found a working way to do this to get around dirty flashing my ROM every time I want to change kernels (AnyKernels so I must get back to stock ramdisk, ideally i'd just use Flashify to back up stock ramdisk but it backs it up as a boot.img and I cannot figure out how to flash those) I would greatly appreciate a tip.
[Nexus 6  Original Android Development] fuzzybuffalo:
How did you delete the system files, did you delete the whole system folder, it seems like that would cause those problems.

I had only done it twice, so to test, I made a backup and booted to a different secondary ROM and deleted all the files in the /data/media/0/multirom/roms/Pure_Nexus/system folder, rebooted to recovery and was able to flash the ROM and Gapps zip and boot into the ROM with no problem.

Then I added my backup as another ROM, just to test, so now I have 2 Pure Nexus ROM's. :good: :good: :good:

I have never used restorecon, to be honest, I don't even know what it does.

Sorry, I don't know anyway to flash a boot.img to a secondary ROM.

I have never used Flashify, but won't it flash an .img file?
[Nexus 6  Original Android Development] wrongway213:
Ah I get it, delete the contents of the folder, not the actual folder. Yes, I deleted the actual folder.. that explains that. I appreciate the tip, now I know how to wipe /system.. As for Flashify, it will, but only on primary ROM What I would use it for is to back up my current kernel so I could flash it in recovery later to restore stock kernel/ramdisk, but it saves as boot.img and not .zip and I thus can only flash it in my primary slot as well, which basically makes it useless for secondary ROMs from what I know so far (not that anything else seems to be working either).
[Nexus 6  Original Android Development] pdiddyfan:
Anyone know what I may be doing wrong? I'm trying to add a rom to my USB drive using a nandroid backup from my phone. Keep getting the same error.
[Nexus 6  Original Android Development] Swamphound:
I had the same error because I didn't have enough space on my sd card. Moved some backups to USB and secondary ROM loaded fine.
[Nexus 6  Original Android Development] Azlun:
Anybody have same request?

---------- Post added at 10:01 AM ---------- Previous post was at 10:00 AM ----------

Renew...
[Nexus 6  Original Android Development] rebel1699:
Been using Multirom since its debut on the Nexus 7 2012. Just got a Nexus 6 and loaded it right away. With the N7, a normal otg cable was ok. But, I needed something different and more low profile. Here is one I just built so I could load roms to usb without having a cord dangling. Only have a white usb end. Wish it were black, but its serving its purpose nicely. Thanks again, [MENTION=3418703]Tasssadar[/MENTION] for another device that I can enjoy multirom on!