yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] tacosrdelicioso:
I also flashed another flashable n preview zip floating around onto a secondary ROM. It did boot but it hosed my multirom twrp it just sat at the splash screen. It also hosed my primary rom. Just blank screen no boot. I think another poster had a similar situation. Even flashing a fresh system image and recovery didn't save my primary rom
[Nexus 6P Android Development] npjohnson:
Yes, that's to be expected. N Preview will not work with MR currently... At all. No amount of Decryption/root for N will fix that.

Could you please edit the post you put up with the link to include the details that IT WILL corrupt your primary ROM? Or just remove the link? I'm getting flooded with PMs from users who flashed it.
[Nexus 6P Android Development] jawonder:
Anyone having problems booting CM13 as secondary rom ?, for me it keeps getting stuck on the Google screen . When i first installed MultiRom CM13 booted fine but after i uninstall MultiRom and installed the regular TWRP for a while then reinstall MultRom CM13 won't boot up anymore .

Other roms boot fine.

Edit : Seems something is wrong with the CM13 Builds, i tried to install on Internal rom and just getting a black screen.
[Nexus 6P Android Development] barrackOBAMA:
I run temaske's cm 13 on secondary slot

V5.1 currently.

I flashed that along with banks dynamic gaps. And works fine

Then later on I flashed superSu to get root working on it.

It did take two boot loops before I saw the cm13 boot animation though.

Not sure if that means anything.

And sorry, I'm still very new to this multirom as well
[Nexus 6P Android Development] gqukyo:
Super SU usually boot loops once whenever I install the newest betas and it stated it might happen when you flash them.
[Nexus 6P Android Development] nadiros:
OK I had N as a secondary with both ROMs functional, however the applicable vendor must be flashed as you switch ROMs. There was no corruption of my primary because I flashed and installed N (no encryption) as a primary ROM after backing up my daily driver (no encryption). Then I backed up N and installed it's backup as the secondary and restored my Main ROM back as the Primary.

And ya, the troubles not really worth it ATM. Will see how the latest updated N performs and I'll probably just run it pure, with a backup on standby of course.

Thanks for all your efforts devs. I am excited for the future of this project
[Nexus 6P Android Development] Tylog:
Use superSu 2.52 or latest superSU 2.70 , both working fine on secondary . Other builds making problems
[Nexus 6P Android Development] jawonder:
So here's something i just found out :- If you restore a backup on you Main rom and your secondary rom has a passcode or any form of security lock you are lock out of your secondary rom, that passcode won't work .
[Nexus 6P Android Development] Blackiisky:
i'm not sure of what causes it or if you're looking for a solution to get back into your secondary rom but the first post here will help you get past that (if you didn't know already, if you did disregard my post :) ) http://xdaforums.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070

it occurred to me you probably already knew about that and were just informing us of the weird issue where restoring a primary rom affects your secondary rom for some reason. if thats the case just disregard my nonsense)
[Nexus 6P Android Development] jawonder:
Yeah my primary rom backup is good because i disabled security lock before backing up, it's the secondary in MultiRom that's also affected if i restore a backup of my Primary . I don't think that fix will work for the secondary because it wasn't a backup or restored from a backup .

Edit: I use MultiRom file manager found the rom folder in MultiRom and open the rom i was locked out of and deleted /data/sytem/locksettings.db . Reboot and select rom and lock screen is gone. I can now put back my pin and Finger print security.
[Nexus 6P Android Development] troymz1:
So I'm fairly new to this MultiROM.. From what I gather all ROMs I flash have to be on the same vendor.. But can I have primary ROM layers, and flash a CMTE as secondary or will it screw things up?
[Nexus 6P Android Development] DJBhardwaj:
No it won't. Just make sure that you have the corresponding vendor on the device.
[Nexus 6P Android Development] jawonder:
I get this E: String resource ..... whenever i restore a backup :-
[Nexus 6P Android Development] z31s1g:
While that error message doesn't look pretty, it's completely harmless. It is referring to a missing text string in the languages file (so twrp uses the default string defined in the ui.xml instead of the string in the language.xml).
[Nexus 6P Android Development] jawonder:
Is there a special way to get GApps to work on the USB drive?, flashed a bunch of GApps but none work. Roms flashes and boots fine.
[Nexus 6P Android Development] dirtyreturn:
Is there anyone on a ROM based off the latest MHC build? I think I had read somewhere that twrp 3.0.0. was unable to decrypt data. So, i was just curious if anyone has ran into any problems. Thanks.
[Nexus 6P Android Development] npjohnson:
Our TWRP has the MHC decryption.
[Nexus 6P Android Development] pringled:
Awesome, I wasn't paying attention and flashed the wrong vendor or something and kept getting that "Data Partition is Encrypted" password lockout dealy when I booted into TWRP that prevents you from mounting /system as writable. I was going to wait until I actually needed to flash something before sorting it out, but this gives me a reason to finally update from my current MultiROM beta 2 setup. If you can't tell from the preceding sentences I'm kinda lazy when it comes to this sort of stuff lol.
[Nexus 6P Android Development] Ranguvar:
So is support for using a different /vendor the only thing holding back Android N ?
[Nexus 6P Android Development] dankoman:
twrp-3.0.0-0 had that bug, but not twrp-3.0.0-1
[Nexus 6P Android Development] steviemch:
Apparently some people are running N as a primary ROM with multirom, I've literally just read a post on another thread saying he had N as primary and PureNexus as secondary. Haven't tested myself, I switched from multirom to twrp 3.0.0.1 before flashing N. I have however ran two roms with different vendor imgs and apart from the error message everything ran smooth.
[Nexus 6P Android Development] Swamphound:
I can confirm this
[Nexus 6P Android Development] steviemch:
Interesting. The last I heard [MENTION=5848265]npjohnson[/MENTION] stated this wasn't currently possible. I'm curious, did you take any special steps to set up, or was it a run of the mill flash?
[Nexus 6P Android Development] Swamphound:
I first did a full data format/decrypted and fastboot installed N preview. I rooted with SuperSU 2.70, flashed the EX N kernel then I installed multiboot TWRP and flashed multiboot stable 4 and started adding secondaries. Thing is you have to flash the corresponding vendor whenever you boot a ROM, either N or secondary or you get the error message. That is the only issue however and I can still get secondaries to boot off of the app.

It will be a great achievement to get secondaries to hold their own vendors and I will be so pumped if it can be done.... Studies first though OP from a grateful grandfather!

Edit: The primary N preview will hang at the boot splash if you don't first flash the N vendor. Also on boot sometimes I have reboot first from multiboot. That is, it will go: TWRP> boot multi>select ROM>boot splash>back to multi> tap ROM choice again> then boots.
[Nexus 6P Android Development] jawonder:
Where did you get SuperSU 2.70 ?.
[Nexus 6P Android Development] squabbi:
Search SuperSU Android N. It's the release candidate for Android N.
[Nexus 6P Android Development] nadiros:
Well ya of course this works. Given there are custom N kernels with kexec. Still though, multirom for all intents and purposes doesn't have what is required for this device to boot properly into multiple ROMs. I can backup any ROM I want and restore it in just over a minute. But that's not what we're looking for here.

So can we say it just doesn't work (outside of ROMs sharing same vendor)instead of all this confusion?

Its fantastic how far its come, and thanks a ton to the devs here. Hopefully we can stop going in circles. I'm hearing this stuff all over. :eek:
[Nexus 6P Android Development] gqukyo:
With the exception of the vendor, not sure what you mean MR doesn't work for this device. Using different roms with the same vendor works fine. If the virtual vendor works as intended, then that's not even a problem.
[Nexus 6P Android Development] tacosrdelicioso:
Multirom doesn't work at all guys. Forget about it.

Anyways, I was wondering will we ever see systemless root support on secondary Roms?
[Nexus 6P Android Development] npjohnson:
Works for me on SuperSU 2.68

2.64 throws out errors.
[Nexus 6P Android Development] tacosrdelicioso:
??? What? HOL-!!! Awesome! Thanks for the heads up bro
[Nexus 6P Android Development] npjohnson:
Granted, you'll need to manually specify you want system-less (and if you want Android Pay, set XBIN_BIND to false).

The Android M WIP Thread over on the XDA SuperSU forums that is closed has good documentation on which commands to run before you flash to get systemless without XBIN_BIND
[Nexus 6P Android Development] betovanbuuren:
is there a zip file to install the 2nd preview of android N in multirom?
[Nexus 6P Android Development] dsmitty166:
I am not on stock, I'm on SCREW'D for the record, however I have a few errors when flashing a secondary ROM. Here's what I did.

1. Install Multi-Rom Recovery

2. Flash Multi-Rom Kernel - injected boot.img

3. Flash MultiRom.zip

This process worked fine. I was able to boot primary without issues.

Flashing a secondary is where I had issues.

Process is as follows:

1. Reboot into Multi-Rom Recover

2. Add new Rom in MultiRom

3. Select zips and flash

I get the following errors

unable to find partition for path /data/
[Nexus 6P Android Development] Gorgtech:
Awesome, now all we need is a suitable Ubuntu based Linux for the Nexus 6P ?
[Nexus 6P Android Development] Tylog:
The Partition Data message i have too but all works fine. Swap, backup, restore, flashing, no issues.
[Nexus 6P Android Development] dsmitty166:
Yes, it works for the ROM, but BANKS gapps fails. I'm talking with him now, what GAPPS were you using?
[Nexus 6P Android Development] Tylog:
Banks:) Works fine here, maybe test Open Gapps.
[Nexus 6P Android Development] dsmitty166:
Weird, just tried again and it's working now...
[Nexus 6P Android Development] Tylog:
Hehe, Funny Things sometimes happens:)
[Nexus 6P Android Development] Nochis:
Does it have force encryption?
[Nexus 6P Android Development] npjohnson:
Thanks for the HardBoot info, I'm looking at my other ARM64 devcies kernel source right now :)

As for the /vendor thing, I wasn't thinking of ROMs with custom vendor binaries, I was thinking about people using Overlays on the primary ROM, which would then carry to ALL the secondary ROMs, which may prove problematic if the ROMs don't play well with Layers (several AOSP ones that use the CM Theme engine, I.e. SCREW'd)
[Nexus 6P Android Development] DontPushButtons:
Could possibly write something to essentially comment out the /overlays folder for secondary installs to simplify the whole thing. Then just tell people layers only works on primary. Bandaid fix really, but low risk factor and would save space in the long run. Might not even be possible, since I not sure how finicky vendor can be.
[Nexus 6P Android Development] slaydog:
Thanks for this!

Just wondering, if you have a stock Rom in addition to a custom Rom, do you think Android Pay would work on stock? Would it pass the SafetyNet check and function in the real world?

Obviously the boot loader is still unlocked, and you'd still have custom recovery etc, but I'm not sure they are checking that yet...

Thanks, again!
[Nexus 6P Android Development] 500 Internal Server Error:
I don't have Android Pay, but https://play.google.com/store/apps/details?id=com.cigital.safetynetplayground shows that my device still passes SafetyNet with MultiROM installed. Maybe SafetyNet hasn't updated my device status yet?. (I tested on the internal stock February security update 6.0.1 ROM: no root, /system unmodified, dm-verity, SELinux, encryption all enabled, with the kexec-hardboot kernel and the stock recovery. (I prefer to fastboot boot the recovery instead of flashing it, since often the stock ROM would try to overwrite the recovery))

MultiROM is quite easy to detect though: it currently leaves a bunch of hints that the phone has been modified (/mrom_enc folder on the root directory, added file_contexts and init script to protect secondary ROMs from being corrupted by the primary, and of course the different kernel and the kexec capabilities), so I don't expect MultiROM to work as a way of keeping Android Pay working.
[Nexus 6P Android Development] Tylog:
As written, everything works, except for one small thing. If I want flashing on Secondary AK or Franco Kernel Error 1, see screenshot. Despair and ElementalX can be flash. Happens only on secondary Rom.

All other things i have tested like swap, backup, restore works fine.
[Nexus 6P Android Development] slaydog:
Thanks for the answer[emoji106]

I figured if it did work, it wouldn't work for long...

I was just wondering which 2nd ROM I would flash, and I couldn't see too many other reasons to go stock with so many awesome custom ROMs for this phone [emoji1]

Thanks for your work, will check it out this weekend- and love the username, lol
[Nexus 6P Android Development] BIGWORM:
I'm wondering what rom I should flash as secondary? I'm running the latest Pure Nexus right now. Anything significantly different from Pure Nexus that should flash as secondary?
[Nexus 6P Android Development] dsmitty166:
Screwd ;)
[Nexus 6P Android Development] dabug123:
Lol now how did I know u would say that
[Nexus 6P Android Development] DJBhardwaj:
For the n00bs in our section: http://www.droidorigin.com/enjoy-multiple-roms-with-multirom-on-nexus-6p/
[Nexus 6P Android Development] dabug123:
Is there a multirom uninstall zip in the works..I know from using multi on the n6 that when u flash reg twrp over multi and want to delete old ROMs,files,etc ..The uninstall zip was very handy
[Nexus 6P Android Development] DJBhardwaj:
It does compile when we build MultiROM, so it must be there. zhuowei just needs to put it up in the OP.
[Nexus 6P Android Development] DJBhardwaj:
No.
[Nexus 6P Android Development] 4RK4N:
is the multirom twrp alrdy 3.0.0-1 or not? u should include the twrp version its derived from in the filename not just the build date.

want to try it out but im not gonna go back to 2.8.7.0 ^^

also want to test N with it.
[Nexus 6P Android Development] Tylog:
It show 3.0.0.0 but it's 3.0.0.1
[Nexus 6P Android Development] squabbi:
Yes the TWRP provided has the encryption fixes bundled with it but it will still say 3.0.0-0 as the version.
[Nexus 6P Android Development] DaKoin:
If any one is able to get a easier method to having both Android N and marshmallow running with multi ROM please let me know!!! Thank you
[Nexus 6P Android Development] dsmitty166:
It's easy.

Unencrypt

Install N with a supported kernel on primary

Install M on secondary

Flash the appropriate vendor for each version you're booting into

---------- Post added at 06:56 AM ---------- Previous post was at 06:55 AM ----------

Just flash the system.IMG in twrp along with a kernel
[Nexus 6P Android Development] Pasqui1978:
Hi all.

Yesterday, I had a problem with Multirom installing Android N like second rom.

After this, the first rom won't boot.

Ok, I restore the Factory MHC19I, decrypt with fastboot command, installed TWRP 3.0.0-1, restored TWRP backup of Pure Nexus, but the apps (like Solid Explorer or Whatsapp or Advanced Download Manager) have not write permission!!

Via TWRP I can delete file, via Android nothing to do. I can only install app from App Store.

I tried with a new clean installation of Pure Nexus Project after a wipe system/boot/dalvick/cache but nothing.

Any solution??

Thanks ?
[Nexus 6P Android Development] Pasqui1978:
Solved. New flash of factory image. Full reboot. Reboot, decrypt, installed TWRP and restored backup.
[Nexus 6P Android Development] Eru Ilúvatar:
As I said via Facebook (sì, sono Giorgio :P) I'd try a format user data partition.

You can wait other replies, maybe from someone more experienced, but I think it's worth a try.

Great! ?
[Nexus 6P Android Development] npjohnson:
Yup. Do this ^ fastboot format userdata.

WARNING: This command will erase ALL of your data. Back up first.

Sorry. We don't support Android N yet. You witn find help here. But, to fix your issue, do what was in the last post I quoted.
[Nexus 6P Android Development] TheUndertaker21:
viper4android doesn't work with multi rom, correct? :(
[Nexus 6P Android Development] Pasqui1978:
Why not?

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] TheUndertaker21:
doesn't work. i flashed the viper4android rom it kept asking me to install driver. i tried many other roms lol
[Nexus 6P Android Development] Citizen_Snips:
Can you rule out MultiROM? The ROM that Viper won't install on, can you run it as a primary ROM and try to install V4A? If it still doesn't work I'd inquire with the ROM developer.
[Nexus 6P Android Development] TheUndertaker21:
worked as primary lol

it's no big deal. i can use my primary rom when i want to
[Nexus 6P Android Development] Pasqui1978:
confirmed, it doesn't work with Multirom on secondary, tried with Uberstock 10 minutes ago.

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] TheUndertaker21:
thanks at least i wasn't crazy.
[Nexus 6P Android Development] opz187:
I have 2 secondary ROMs and viper works on both. im on temasek cm13 right now, my 2nd secondary.. permissive and enforcing
[Nexus 6P Android Development] opz187:
^^^^^^^^sorry forgot to quote
[Nexus 6P Android Development] TheUndertaker21:
How did you manage to get it to work? keeps asking me to install driver
[Nexus 6P Android Development] Tylog:
Viper Works fine on primary, secondary, no issues with any Rom.
[Nexus 6P Android Development] TheUndertaker21:
That's a lie lol
[Nexus 6P Android Development] Tylog:
Rofl. http://xdaforums.com/showthread.php?t=2952137 , Never any issues , no matter where i use it, primary, secondary, CM ,Stock, Aosp, whatever.
[Nexus 6P Android Development] TheUndertaker21:
i flashed that once booted kept asking to download the driver

it's fine. i don't really care
[Nexus 6P Android Development] Tylog:
There is no need to install the drivers, they are installed after Boot
[Nexus 6P Android Development] Maxr1998:
Did you remove the audio_effects.conf from vendor partition?

That caused the issue you described for me.
[Nexus 6P Android Development] jawonder:
TWRP has been updated to 3.0.1-0 http://www.xda-developers.com/twrp-receives-update-now-supports-new-cm13-pattern-encryption/
[Nexus 6P Android Development] npjohnson:
Merged and testing TWRP 3.0-1.0. (:
[Nexus 6P Android Development] npjohnson:
STABLE5 fixes the newest CM13 nightly's new encryption, and updates to TWRP 3.0.1-0. Happy Flashing! The MultiROM Installer ZIP is the same, was just renamed from STABLE4 ==> STABLE5, we will have to do this until we get our versioning script working (I'm just too tired to do it tonight, lol). The Stock Hardboot kernel is also updated to the March Security Patch (MHC49I), you should see large speed and performance increases!

Feel free to update from the MultiROM App (Recovery still won't show as installed, purely due to me not setting up the versioning script yet, but it installs fine in actuality).

Also, check out [MENTION=4603975]daveyannihilation[/MENTION] 's newest work, a Blacked out MultiROMMgr App. I'm told it will be in the TBO Updater App soon, so, go check them both out!

Blacked Out MultiROMMgr: https://app.box.com/s/esiiialvn6s09uunozsx4mqkor0d1wcb

TBO Updater App: http://teamblackedout.com/
[Nexus 6P Android Development] ManikandanGuru:
Everything is fine. But in MultiROM Manager app it always says

Recovery: N/A (update available) I am pretty sure I am already on the latest recovery 3.0.1-0

"Recovery 2016-04-01 (0) (required)

But I already installed and working fine.

Please fix this or do I need to do something in the app?
[Nexus 6P Android Development] squabbi:
[MENTION=5385900]manikandanguru[/MENTION] it was stated before that the multirom app won't detect the recovery until proper versioning scripts are done.
[Nexus 6P Android Development] ManikandanGuru:
[MENTION=4752144]squabbi[/MENTION]

Sorry. I haven't realized it was discussed before.

I apologize for my ignorance.

Thank you for the help though. :)
[Nexus 6P Android Development] squabbi:
No problems there at all. :) it's OK because sometimes it's not clear.
[Nexus 6P Android Development] DJBhardwaj:
[MENTION=5848265]npjohnson[/MENTION] Thanks for this update. :) Have updated the guide too.
[Nexus 6P Android Development] GigahurtzUK:
Wow. Great work. Really impressed. Thank You.
[Nexus 6P Android Development] jawonder:
Gees!, secondary roms install lightning fast with this update.
[Nexus 6P Android Development] TheUndertaker21:
I didn't remove it but it is working now for some reason. I flashed kernel. Though it's not processing unless I choose compatible in settings
[Nexus 6P Android Development] :
Can you explain me this problem or link the # of discussion please. It's a problem or is all ok?

Thanks
[Nexus 6P Android Development] :
TWRP 3.0.2-0 Released
[Nexus 6P Android Development] npjohnson:
Source is not out as of now. Someone (and I mean one person, please) tag me when the 3.0.2-0 source goes up on TWRP's got.
[Nexus 6P Android Development] :
Sure :laugh:
[Nexus 6P Android Development] jawonder:
Hey not to rush you but did you get the 3.0.2-0 source as yet?. Thanks
[Nexus 6P Android Development] DJBhardwaj:
TWRP Gerrit instance, or Github doesn't show any fixes yet.
[Nexus 6P Android Development] npjohnson:
No. I can't do anything until source drops....
[Nexus 6P Android Development] jawonder:
Ok thanks
[Nexus 6P Android Development] zar marco:
Hello guys ,for install the new build of purenexus it's recommended to install the twrp 3.0.2 but is compatible with multirom?

I hope I haven't wrong thread

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] freemini:
AFAIK there's no MultiRom recovery based on 3.0.2. It shouldn't matter which recovery you have however, it's just that 3.x can install vendor.img.
[Nexus 6P Android Development] zar marco:
In fact I have to install the new build vendor, but I have the 3.0.1 so I should have no problems

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] eightmillions:
No problem with PureNexus [04/07/16] version, you only can flash vendor.img (image file, not a zip) in primary mod ROM in Multirom TWRP, so if PureNexus is in your secondary, you can swap PureNexus to primary then swap it back to the secondary after you flash vendor.img, that's what i did, it works like a charm.