yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] gqukyo:
Got my MR working. I'm not sure if my bug was the same for others but [MENTION=5924703]500 Internal Server Error[/MENTION] helped me and we got it working on my phone. Again, this fixed it for ME, it may not be the same issue that's affecting YOU so proceed with caution. Below were the instructions I was given:

To fix this, you have two options:

1) harder: download both Stable 1 and Beta 4, open Stable1, replace multirom/enc with the folder from beta 4's zip, flash.

2) easier: flash Beta 4, inject, then before rebooting flash Stable 1 and inject again.

Beta 4 is available from https://github.com/multirom-nexus6p/...gler-BETA4.zip .

I obviously opted for no 2... Lol Hopefully it'll work for those with issues. Ya can thank him directly. ;)
[Nexus 6P Android Development] TWong1200:
Thanks for the tip. The link to BETA 4 is dead though.
[Nexus 6P Android Development] gqukyo:
Maybe they're releasing a new version that fixes the bug.
[Nexus 6P Android Development] TWong1200:
Hope so!
[Nexus 6P Android Development] 500 Internal Server Error:
NPJohnson has identified the issue; however, he needs additional time to test the new release to make sure that bugs like this one doesn't happen again. It should be out soon (probably this week).

If anyone needs it the Beta 4 link is (Edit: removed) ; I would recommend that you wait for Stable 2 though.
[Nexus 6P Android Development] metalcated:
Looks like they are preparation of releasing stable 2 soon.
[Nexus 6P Android Development] TWong1200:
Awesome! Thanks!
[Nexus 6P Android Development] sketron13:
Post #245 tip worked perfectly for me. [emoji13]
[Nexus 6P Android Development] subhjvlz:
I am running stock MMB29Q as primary and cm13 nightlies as secondary. How do I update to MMB29V without disturbing the existing multirom setup?
[Nexus 6P Android Development] Swamphound:
Updated flashable vendor zips should be out today.
[Nexus 6P Android Development] subhjvlz:
Only flashing flashable vendor will do the trick? Nothing else required? System, boot, cache, bootloader, radio ?

Please see following reply

http://xdaforums.com/showpost.php?p=65681102&postcount=2902
[Nexus 6P Android Development] Swamphound:
That's true you get the message but you can still boot old builds until they update I just did it after flashing unrooted stock update as primary. You can also flash the vendor IMG in TWRP now.
[Nexus 6P Android Development] perkymango:
What do you mean by very limited modification? What did you have to change?
[Nexus 6P Android Development] nathanchance:
If you are referring to BeansTown106's zips, they won't be made anymore since TWRP supports flashing the image file directly. If it is someone else, then disregard me.
[Nexus 6P Android Development] Swamphound:
Yeah you caught me. I know a guy that knows a guy lol. BTW thank you for all the help I see you giving folks everywhere.
[Nexus 6P Android Development] akshaysalunke13:
[Removed as per npjohnson's request ] Here is the modified multirom installer for those who are getting error since stable 1. This is the final result of the solution provided in post #245. I am uploading this bcoz I myself have suffered for 3 days for not getting a working multirom.
[Nexus 6P Android Development] npjohnson:
All, Stable 2 fixes the issue described in the thread, and we have added a darker TWRP theme by [MENTION=4603975]daveyannihilation[/MENTION] . Enjoy.
[Nexus 6P Android Development] npjohnson:
Could you please remove this link? I appreciate the fix in my absence, but hate to have users on multiple builds.

Thank you :).
[Nexus 6P Android Development] akshaysalunke13:
Sure friend. Gimme a minute
[Nexus 6P Android Development] krazy_smokezalot:
OK I try not to ask but I have no choice I flashed the step's from OP but all I get is the MultiRom Splash screen then goes into twrp recovery and no sign or MR. I flashed the IMG file from op through twrp. Is that my issue? I'm using Franco r10

Edit: I am using the latest beta as well I read previous Page's prior to mines. But following the OP
[Nexus 6P Android Development] nldxda:
Will somebody upload the android N preview flashable zip??

Thanks to whoever does it! ?
[Nexus 6P Android Development] :
Does anyone have the N Preview working in secondary? I have the stock rooted March security patch as my primary.
[Nexus 6P Android Development] npjohnson:
OK, to verify, can an encrypted user of MR soundoff and verify that it is working while encrypted?

I had 2 testers try it out (they both said it works), but just want to triple check.
[Nexus 6P Android Development] dirtyreturn:
MultiRom stable2 has been working fine for me. My phone is encrypted
[Nexus 6P Android Development] npjohnson:
Well. There isn't one. Someone needs to make one.
[Nexus 6P Android Development] SchmilK:
This isn't a "wipe and flash" zip file, looks like it might be an OTA of sorts.

Updater script is

(!less_than_int(1457137208, getprop("ro.build.date.utc"))) || abort("Can't install this package (Sat Mar 5 00:20:08 UTC 2016) over newer build (" + getprop("ro.build.date") + ").");

Typically there are mount and wipe /system partition, but that is not there.

Later down it shows an abort message that leans again towards an OTA package...

abort("vendor partition has unexpected non-zero contents after OTA update");
endif;
[Nexus 6P Android Development] 500 Internal Server Error:
You have a phone with encrypted storage, and Stable 2 is still missing libstdc++.so - please wait until we sort that out. Sorry about that!

If you're really impatient you can try Beta 4 (Edit: removed) but be warned: there's no fingerprint support in Beta 4.
[Nexus 6P Android Development] npjohnson:
OK all, I am sincerely sorry for how the last several builds have been with Encryption support. It is all sorted out now. Tested and functional.
[Nexus 6P Android Development] irule311:
Thanks for posting this. I have been waiting for this for a long time. Just one problem, I go to enter my password but I can't because the keyboard is missing an =.
[Nexus 6P Android Development] 500 Internal Server Error:
I think this is an issue with Tassadar's MultiROM, not our port specifically - I've opened an issue on his repo. https://github.com/Tasssadar/multirom/issues/80 Do you know if other devices' MultiROM has this key on the keyboard?

Anyways, I'm looking into Android N preview support: If you flash Android N as your primary ROM, be advised that MultiROM is currently incompatible and your secondary ROMs may be corrupted and/or will bootloop. Some slight modifications to MultiROM will be required to boot Android N as either a primary or a secondary ROM; please be patient.
[Nexus 6P Android Development] DJBhardwaj:
I assume not. The latest build brought kernel level changes that blocks data decryption. I think it needs update. [MENTION=5848265]npjohnson[/MENTION], please have a look at it?
[Nexus 6P Android Development] krazy_smokezalot:
I appreciate the reply. I'm still scratching my head lol. So what your saying is that if have an encrypted storage MR won't work?? When did encryption come into play in android have I fell back that far??? Help shed some light please I wanna get my skills rolling

So does that mean if my storage is encrypted it will work??? Sorry way off topic is there a Q & A for MultiRom I hate to clutter here unless devs Dont mind
[Nexus 6P Android Development] DJBhardwaj:
Yes, :good:
[Nexus 6P Android Development] kingoddball:
So... I was dumb enough to test the Android N flashable a page back and it has forced an encryption on my phone and there is no password!

I didn't even flash to primary, it was 4th MR ROM - not sure how it's locked it like it has.

Is anyone able to tell me how to format my device??

Every time I try to format I drops out with an error - I tried fastboot erase and /data won't format.

I used setting/format device and it reboots to TWRP asking for a password.

I have removed all OS info I could, reinstalled CM13.0 and same issue.

I cannot format because some fool has upped a dodgy file. (im an idiot for trusting)

Is anyone able to tell me how to format? Device is working (to a fashion) but I cannot get it to wipe... (TWRP asking for password and so is Android)
[Nexus 6P Android Development] gqukyo:
Updated to the newest PN rom as well as R12 FK kernel and now my secondary rom says there's something wrong with my device but doesn't go into detail. Still works fine though. Kinda like how if I had a mismatched vendor with a new rom. Is this something to do w/ the new twrp being released? Is that required to get rid of the message?
[Nexus 6P Android Development] npjohnson:
OK, this is why I also linked 3rd party kernels which support Kexec Hardboot, as it is hard to manage MR, MR-TWRP, the Kernel, and other projects.

I will update the kernel to MHCIxx most likely on Saturday. Until then, I strongly recommend Franco.Kernel_r12. It is updated for the MHCIxx build.

Though, I should note that the older kernel /should/ boot fine on the MHCIxx builds, you just won't get the new bug-fixes and improvements the MHCIxx update brings.

Your data is toast unfortunately. In testing N in MR (with kernel modifications to try to sidestep the new security) I managed to encrypt my device even though the kernel was explicitly built to avoid that.

Be careful with N until we get it figured out.

Yes. PN is not on the MHCIxx build yet. It will complain, and have some bugs.

Just going to have to accept it, flash vendor each time you boot the specific ROM, or use ROMs that all use the same vendor version for now. We are working on a virtual vendor partition fix.
[Nexus 6P Android Development] gqukyo:
Uh, I never said PN complained, I meant my secondary rom which is RR that complains. My PN is perfectly fine. Both are with the March update so I don't know why PN would be fine while RR isn't except that it's the secondary rom. Both are using FK R12. Also, it's not the vendor mismatch error. It's a completely different phrase. Let me boot up and get you the exact error msg.

It says "There's an internal problem with your device. Contact your manufacturer for details." and that's it. I click OK and everything still works. Lol

Oh I take it back, the newest RR does not contain the March security fixes so it is probably that issue. Just checked in the About phone details.
[Nexus 6P Android Development] 500 Internal Server Error:
That seems to indicate a fingerprint sensor malfunction: the fingerprint sensor support is much improved in Stable 2 - try updating. It seems to be harmless anyways.

Sorry to hear about that! Go into TWRP, press Back when it asks for a password, then see if you can format from there. If that still doesn't work we could make a flashable zip that tries to format /data and see if TWRP would flash that.
[Nexus 6P Android Development] gqukyo:
Oh don't think it's that cuz that works fine. Pretty sure it's the vendor issue. Don't have another secondary rom with March security fixes to test but I can if ya need some testing done.
[Nexus 6P Android Development] freemini:
You can use TWRP to format data (change FS to ext4 and it'll do it) or use fastboot format userdata.
[Nexus 6P Android Development] squabbi:
Is the encryption fix from previous posts for the ROM booting up or accessing the data partition in TWRP? I remember someone saying hopefully there will be a fix for that around Saturday?
[Nexus 6P Android Development] DJBhardwaj:
Have you tried it with the latest TWRP 3.0.0-1?
[Nexus 6P Android Development] skulldreamz:
I saw that [MENTION=4752144]squabbi[/MENTION] has a update for his toolkit with a version 3.0.0-2 of twrp but haven't tried it yet. His kits have always worked awesome ?
[Nexus 6P Android Development] DJBhardwaj:
Let us see what npjohnson has to say about it :cool:
[Nexus 6P Android Development] squabbi:
You scared me for a sec! I didn't remember doing something with TWRP 3.0.0-2, I only have 3.0.0-1 on my toolkit.

- You're awesome too :cool:

Edit: yeah you're right, haha sorry I mistyped the -2

---------- Post added at 06:47 PM ---------- Previous post was at 06:46 PM ----------

No I haven't, but I know it should fix the problem. I was meaning for a MultiROM TWRP 3.0.0-1 release for one of my upcoming videos. :)
[Nexus 6P Android Development] Lord. Tech:
trying it out for first time, are there compatibility issues for using CM based roms and google based roms together with this mod? i have PN, i want RR and DU as my extra or secondary roms etc, how unstable would it be? would both roms be affected or can i atleast use one as my d.d safely?

and also, i installed a mod to theme my twrp 3.0.0 , so is that gonna be a problem?
[Nexus 6P Android Development] DJBhardwaj:
I used Chroma along with CM13, with zero issues. About the theme, you can try for yourself. If it works, keep it. My guess it, that it would work without issues.
[Nexus 6P Android Development] subhjvlz:
Flashed the MR recovery stable 3 on MHC19i it shows storage encrypted and asks for password. Contents of internal memory not shown. Booted back to system. Did I do something wrong.
[Nexus 6P Android Development] DJBhardwaj:
Okay, two things. First, try off with decrypted boot.img from here: http://xdaforums.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684

Flash the boot using fastboot. Also, use fastboot format userdata && fastboot format cache.

Finally, boot and check if encryption is disabled or not. :cool:
[Nexus 6P Android Development] squabbi:
Or if you're not keen on losing your data (or making a back up), if you can, try waiting for TWRP 3.0.0-1 for MultiROM which should fix the encryption bug.
[Nexus 6P Android Development] Lord. Tech:
what about gapps? do i just flash one for all? RR uses banks gapps while PN uses dynamic, what should i do?:confused:
[Nexus 6P Android Development] squabbi:
Once you decide to add the new ROMs (PN and RR) just flash their own gapps to their own MultiROM entries.

Edit: you'll want to flash gapps for each ROM anyways. They don't carry through each MultiROM ROM.
[Nexus 6P Android Development] npjohnson:
Wow, it was one new file. Simple change. Done.

Nope. The new builds today should fix your issue.
[Nexus 6P Android Development] squabbi:
Thank you very much mpj! I appreciate your work, now I can get cracking on my video. :)
[Nexus 6P Android Development] Ranguvar:
Thanks for supporting MHC19I!

Now for Android N... eagerly awaiting, as I'll try it out then!
[Nexus 6P Android Development] subhjvlz:
I can't find new uploads.
[Nexus 6P Android Development] squabbi:
It could be still compiling, my guess is. I'm literally on edge for it. Haha [emoji41]
[Nexus 6P Android Development] npjohnson:
Correct my friend :) Lol. Up now. Have fun!
[Nexus 6P Android Development] squabbi:
Awesome! :) and thanks!
[Nexus 6P Android Development] npjohnson:
All, I have Exam week this week.

I will not be on the thread much.

I will work on Android N Support (no amount of flashable versions can fix what the issue is), virtual vendor image support, F2FS on /cache, and update the hardboot kernel to MCHIxx sometime over spring break, until then, enjoy!

WARNING: Trying to boot Android N in MR as is WILL 100% result in corrupting ALL of your data, requiring a format. Don't even play with Android N in MR (yes it works on the Nexus 6 right now, that is because they don't use a vendor partition).
[Nexus 6P Android Development] subhjvlz:
Thanks and best of luck for exams
[Nexus 6P Android Development] squabbi:
Don't worry, take care of what you need to do first, I have exams too in a few weeks. I'm sure people can help out with questions and the like.

Best of luck. :)
[Nexus 6P Android Development] DJBhardwaj:
[MENTION=5848265]npjohnson[/MENTION] and [MENTION=5924703]500 Internal Server Error[/MENTION] Updated the guide for Stable 4. Thanks for the update, yet again. :)

Enjoy multiple ROMs with MultiROM on Nexus 6P
[Nexus 6P Android Development] gqukyo:
Had a scare today. Installed the newest RR update (as a secondary rom) and decided to use flashify to flash the SuperSu beta. Man o man, I don't know what happened but when I let it reboot to recovery after selecting the flash, it was asking for encryption pw. I skipped it but doing so showed no files for internal storage. I was in the middle of backing up my data from the phone to my PC when I decided to see what Multirom manager says and of course, as always, it said there was an update to MR recovery. Since I thought I had to format the phone anyways, decided to give it a try and lo and behold, it downloaded and flashed stable 4 which I didn't even know about. That actually fixed it and I no longer have to format the device. Flashify is dangerous using it within secondary roms... lol
[Nexus 6P Android Development] WhiteReign:
MY only problem is that it changes my pin when changing back and forth. :( Locks me out of my phone.
[Nexus 6P Android Development] squabbi:
Is this the the decryption screen before your ROM finishes boot? I have imprint and the same passcode on both my internal and secondary (Pure Nexus) and there's no problem switching between the two.
[Nexus 6P Android Development] freemini:
Good luck with the exams, correct me if I'm wrong but isn't f2fs on /cache impossible since the partition is 94(6?)MB and f2fs needs >100? It should work for secondary ROMs though since they're all on /data anyway.
[Nexus 6P Android Development] Aswin08:
changelog for stable v4.?..does that support N?
[Nexus 6P Android Development] rifraf1:
Is supersu installing for any one on the secondaries using the Stable 4 version?

Has stopped working for me, I was sure it worked for a bit on versions 2 and/or 3 of the stable versions.
[Nexus 6P Android Development] nadiros:
Check out the last few pages.
[Nexus 6P Android Development] squabbi:
It worked for me. I flashed SuperSU again on PureNexus and everything works fine.
[Nexus 6P Android Development] rifraf1:
Which version of Supersu? I can only get 2.52 to flash anything higher just hangs at "Flashing boot image" message. I have tried reinstalling stable 4 multiple times and same results. :(
[Nexus 6P Android Development] squabbi:
I used the Marshmallow Beta 2.68
[Nexus 6P Android Development] npjohnson:
Thank you. I did not know this.
[Nexus 6P Android Development] jawonder:
How do i flash Vendor on secondary roms ?.
[Nexus 6P Android Development] nadiros:
You can't. That's the catch. Atm all ROMs share the same vendor. The devs are working on it.
[Nexus 6P Android Development] jawonder:
Ok thought i was missing something when i searched everywhere and couldn't find that flash image button . Thanks
[Nexus 6P Android Development] jawonder:
Was trying to find any hint on this in the thread . Does MultiRom works with Original Nexus 6P stock Roms or stock roms can't use the kernel patch ?.
[Nexus 6P Android Development] squabbi:
All of the kernels should work with stock ROMs. I don't think it will function well or even at all without the appropriate kernel.
[Nexus 6P Android Development] Donnazz94:
so i was able to get android N to boot as a secondary rom on my nexus 6p but now when i went into recovery to root the secondary rom it gets stuck at "trying decryption" the bar still moves but it didn't decrypt (even after 5mins) whereas it decrypts almost instantly on the normal twrp recovery please help

also here is the link for for flashable zip i used:

https://r1---sn-ntqe7n7z.gvt1.com/p...F1D1A574990D088F61B08C857F619C45D70E&key=cms1
[Nexus 6P Android Development] freemini:
You should use a kernel with decryption disabled. TWRP can't decrypt N ATM. There's one in the general thread and others have versions for N as well. Vendor will still be an issue until MR can have separate vendors for secondaries.
[Nexus 6P Android Development] Donnazz94:
so how do i install the kernel if i can't get into recovery?
[Nexus 6P Android Development] steviemch:
Using the fastboot flash boot command.
[Nexus 6P Android Development] Donnazz94:
thanks! I also seem to have an issue when switching back to my primary ROM where it goes to a blank screen after selecting boot to primary ROM, I'm not sure if it still boots while the screen is blank as the decryption page doesn't show (the partition was still encrypted at the time)
[Nexus 6P Android Development] squabbi:
Does it just stay at the black screen? You may need to flash a M kernel via TWRP or fastboot as that will change it for the primary ROM, then in the multirom menu, flash the boot image for your N secondary.
[Nexus 6P Android Development] freemini:
You can get into recovery, you just can't decrypt it. If you just back out of entering your password and format data (you'll lose everything on it obviously) it'll mount fine and you can flash zips like usual. N might also replace recovery on boot, if that happens just delete \system\recovery-from-boot.
[Nexus 6P Android Development] nldxda:
I know it actually hasn't been released yet, but will the snapshot cm13 work with multirom?
[Nexus 6P Android Development] Tylog:
Yes, why not. It's all in all nothing other as a Nightly.
[Nexus 6P Android Development] nldxda:
I wonder if a special kernel will be needed for it or some other issue..

Edit: or any cm13 ROM for that matter... I haven't tried installing cm ever on my 6P
[Nexus 6P Android Development] Tylog:
You need a Kernel with kexec patch on primary Rom ( most have it ) , secondary Rom(kernel) don't need the patch.

I use cm as secondary Rom without issues on all my nexus devices
[Nexus 6P Android Development] jawonder:
Image files cannot be flashed at all in MultiRom ? . Can't figure out how to do it on the Main rom either.
[Nexus 6P Android Development] Tylog:
After you press install/flash you can see on the top"flash zip" , hit it and it change to img.

I hope you don't talk about the multirom app, i am talk about the recovery :)
[Nexus 6P Android Development] jawonder:
Thanks you
[Nexus 6P Android Development] tacosrdelicioso:
Is anyone else having trouble flashing the latest chroma??? It just hangs at installing supersu....
[Nexus 6P Android Development] squabbi:
It will take a long time but it shouldn't hang. Leave it for upwards of 30 mins. Otherwise hard reset and manually flash the latest beta of SuperSU 2.68 to the secondary ROM. It happened to me with PureNexus.
[Nexus 6P Android Development] tacosrdelicioso:
I tried hard resetting it and manually flashing su but it wouldn't boot [emoji19]

Also, I installed pure Nexus as a secondary and encountered no such hangups. Strange
[Nexus 6P Android Development] squabbi:
That is strange haha. Ummm.. Have you tried flashing a custom kernel to your secondary? Then clear the cache or actually try clearing the cache first.
[Nexus 6P Android Development] SchmilK:
I don't know how you got that to boot as secondary because after looking at update_script, it is trying to update stock rom to N. Have tried it multiple times on my phone and it leaves me unable to boot to internal or multirom (screw'd and N are secondary)

At least I know now why I couldn't boot multirom now.
[Nexus 6P Android Development] AmyClaraRose:
I am currently using android n as secondary rom
[Nexus 6P Android Development] SchmilK:
weird. I guess I'll try it again.

Full system is decrypted (did a factory restore the other day) and I have replaced boot.img with one that does not enforce encryption, so I'm not sure why things are breaking.
[Nexus 6P Android Development] Aswin08:
Can you plz brief the procedure for adding N as secondary?

thanks.
[Nexus 6P Android Development] barrackOBAMA:
Would love to have android N on secondary.

Just a little too buggy for my daily
[Nexus 6P Android Development] npjohnson:
No offense, but unless you made some major modifications to MultiROM source, this just isn't possible. The Android N Preview won't boot on a 6.0.x vendor version, or vose versa (I've tried). And we don't ahvr virtual vendor image support (yet) so, I really doubt this is working.

Of course, its alwayd possible you have some magical condition that allows this yo work. I'd like to ask you to go to MR's splash screen, and click "Copy Logs to SD" and upload those.

Until then, NO ONE else should flash this.