yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] DJBhardwaj:
Working good at my side. N DP2 (NPC91K) with EX 3.01 and TWRP 3.0.2-0.

Did you erase the system partition befor flashing the one from N preview?

---------- Post added at 08:49 PM ---------- Previous post was at 08:44 PM ----------

[MENTION=5848265]npjohnson[/MENTION] Kindly fix the link :)
[Nexus 6P Android Development] SuperJuDicousCat:
can MRTWRP3.0.2-0 work with Np2？maybe i have to do it again·· big big big thx to you,my friend.
[Nexus 6P Android Development] DJBhardwaj:
I did for me. I was multibooting N preview 2 with PureNexus as secondary. You're welcome :highfive:
[Nexus 6P Android Development] SuperJuDicousCat:
i tried it.

wipe system and data

flash N system.img and vendor.img

flash mrtwrp 3.0.2-0

reboot to system and encrypt auto

reboot to twrp and format data

reboot to twrp

reboot to system

and then...i can not get into twrp```
[Nexus 6P Android Development] DJBhardwaj:
There you have it. Encryption is the problem here. TWRP on N has issues with encrypted environment.
[Nexus 6P Android Development] SuperJuDicousCat:
ok..yes..it was encrypted itself..how can i uncrypt it?
[Nexus 6P Android Development] DJBhardwaj:
Here: http://xdaforums.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684
[Nexus 6P Android Development] SuperJuDicousCat:
got it!it works great! :)
[Nexus 6P Android Development] Nochis:
I think he updated the zip yesterday but he forgot to update the OP. What I did is open the link, it will say error or something like that. Then highlight the link on the browser and change the date instead of 20160428 put 20160502 and it will start downloading itself.
[Nexus 6P Android Development] Tylog:
This works, thanks :)
[Nexus 6P Android Development] Donric13:
This update from multirom.zip does it support virtual vendor.img to use for example n and m based rom without flashing the right vendor.img before booting?
[Nexus 6P Android Development] DJBhardwaj:
Nopes. That would mean two vendors at one time, which is practically impossible, since you won't be able to split the block size. That said, there could be some sort of injecting module that could flash the vendor right before we choose to boot into another ROM. But then again, that would require a lot of work.
[Nexus 6P Android Development] Citizen_Snips:
I thought virtual vendor was something that was being worked on. OP mentioned it a few posts back.

Edit: Page 50.
[Nexus 6P Android Development] DJBhardwaj:
[MENTION=5848265]npjohnson[/MENTION] Could you please elaborate exactly what virtual vendor is?
[Nexus 6P Android Development] npjohnson:
Exactly what you described two posts ago.

It allows you to use multiple vendors by having primary (on vendor partition) and one stored on /data that is jut an IMG mounted in the normal vendors place.
[Nexus 6P Android Development] DJBhardwaj:
Haha, I missed your post back at page #50, where you announced that something like it is in works. Good to know :good:
[Nexus 6P Android Development] SuperJuDicousCat:
[MENTION=3998397]DJBhardwaj[/MENTION]

i meet a new problem.. i can't use any sensors with my sencondary roms.

npc91k .primary with ex3.1

du rrx pn .secondary with ex1.6

i don't know if it is a noramal question.

thx
[Nexus 6P Android Development] DJBhardwaj:
I am currently using the same setup, but it works for me. Sensors not working in calls?
[Nexus 6P Android Development] SuperJuDicousCat:
refresh every 5 mins...

all sensors .not only light sensor but gravity sensor and others``
[Nexus 6P Android Development] DJBhardwaj:
Weird.Take a backup of everything, and reflash a ROM as primary. Then check if sensors work.

EDIT: First, take a look if your screen guard (if any), is not covering the sensor on the top.
[Nexus 6P Android Development] SuperJuDicousCat:
never set any password..

ok i'll try it later :)

but i love android N very much..
[Nexus 6P Android Development] DJBhardwaj:
Haha not password, I am talking about screen protector that we apply on the screen to avoid scratches and rugs.
[Nexus 6P Android Development] SuperJuDicousCat:
so sorry··but sensors on my primary works great.so it itn't the reason...
[Nexus 6P Android Development] DJBhardwaj:
Oh. Try running this app on secondary: https://play.google.com/store/apps/details?id=com.vrognaas.proximityfix&hl=en

EDIT: There are several other apps on the Play Store that you could try before you opt the path of re-flashing the ROM.

https://play.google.com/store/search?q=proximity fix&c=apps&hl=en
[Nexus 6P Android Development] SuperJuDicousCat:
i tried flash MM as primary.sonsors works with my secondary roms .

---------- Post added at 09:00 AM ---------- Previous post was at 08:51 AM ----------

i have to say it again that ```all sensor doesn't work.not only one or two```
[Nexus 6P Android Development] DJBhardwaj:
Seems like an odd issue. It is working fine at my side. At last, I would advise you to re-install the ROM (Primary or secondary, where the sensors are not working).
[Nexus 6P Android Development] SuperJuDicousCat:
tried all but still.

OMG
[Nexus 6P Android Development] SuperJuDicousCat:
i‘ve search this problem.many people meet it on one plus one with multirom.

after that ,i've tried flash mhc19q system.img and radio.img and then restored andriodN as primary ,then flashed MM as secondary.

sensors dosen't work.

maybe it isn't the same reason with one plus one.but i can't find it..

radio3.61

N primary kernel ex3.01

DU PN BENZO RRX sencondary fkr16 ex1.6 [MENTION=3998397]DJBhardwaj[/MENTION] [MENTION=5848265]npjohnson[/MENTION]
[Nexus 6P Android Development] npjohnson:
Sorry guys, MR is NOT the reason your sensors aren't working. MR does nothing to touch anything relating to hardware sensors.

It's most likely the ROM, or your hardware is faulty.
[Nexus 6P Android Development] DJBhardwaj:
Odd, it is. I have never ever faced such issue like this with MultiROM. I also gave a whirl to the OPO MultiROM thread for answers, but they hovered around the modem. Have you tried it? Flash the MM modem, boot into secondary MM ROM, and check if it works. BTW, I am not sure if sensor-related files are combined in the radio or not, but It is worth a shot.
[Nexus 6P Android Development] Lord. Tech:
i can install n switch between 3 roms with this right? what about the kernel? i want nethunter support for one of the roms so it will use dedicated kernel, and other 2 will use franco, is that possible?? and what about layers? i want Dirty unicorn as secondary but it uses CMTE and asks me to remove overlay folder...

will any of the above cause a conflict?
[Nexus 6P Android Development] DJBhardwaj:
Yes, you can and all the three kernels could be different.But, you will need to make sure that the primary kernel supports kexec-hardboot.

About Layers and CMTE, I am not so sure because I never used a ROM combo that would have put me in the same situation. Someone else here might be able to answer that.
[Nexus 6P Android Development] npjohnson:
Yes to 3 ROMs, yes to 3 kernels. We don't have Nethunter support, buy as soon as they give the 6P support, it will work without any changes.

As for layers, yeah, your fine. CMTE ROMs will complain, but they won't do anything.
[Nexus 6P Android Development] Lord. Tech:
Thanks for the info yar :) i'll set it all up today hopefully, without conflicts lol

AK kernel has NH support and i use it with chroma, best stability :D thankssss for the reply OP, i really feel at ease now lol, imma go flash DU now! :cowboy::D
[Nexus 6P Android Development] SuperJuDicousCat:
I've tried all and finally found it caused by KERNEL,i have to flash M kernel before boot M and flash N kernel before N. Whether if it is the same as you？@DJBhardwaj
[Nexus 6P Android Development] ali nz:
is it still very experimental or stable enough to use?
[Nexus 6P Android Development] Tylog:
I use it since day one and never had any big issues, it's stable enough
[Nexus 6P Android Development] dirtyreturn:
https://idlekernel.com/nethunter/nightly/

Here's the link to the nethunter zip to install over the kernel. I flashed over franco kernel and it worked fine.
[Nexus 6P Android Development] DJBhardwaj:
No, Nothing as such for me. I just need to flash the MM vendor before booting MM, and same goes for N, but not the kernel. One thing, N is set as primary in my setup.
[Nexus 6P Android Development] jawonder:
Same procedures for me and all is good .
[Nexus 6P Android Development] npjohnson:
Holy Crap! Why don't they advertise this! Thanks a ton, tested with MR, works fine as expected.
[Nexus 6P Android Development] Maxr1998:
Did you install it as secondary ROM?

Do I need to first install a base ROM, then the kernel and the generic full zip of nethunter?

Or if I install it to my primary stock ROM, can I later cleanly uninstall it again if I don't like/need it?
[Nexus 6P Android Development] npjohnson:
I only use the kernel. It has some sweet functions I use from within android.

Though, if its anything like the Nexus 6, the steps you described are correct.

And to the last question, no, not easily removable.
[Nexus 6P Android Development] KLit75:
I share some concerns but that's just because I've never been able to use a dual boot on any of my other phones (always wanted to though.)

What's the worst case scenario if something goes wrong? Need to flash factory image?

Also wondering if this is compatible with elementalx and does it automatically sync app data when you're using the same app(s) on 2 different ROMs? Thanks
[Nexus 6P Android Development] Lord. Tech:
woah it works with franco??!!! dudee ur the best!! thanks a TONNN man! really appreciate it:laugh::laugh:

edit, there are many zips on that page, could u plz tell me exactly which zips and in which order i should flash? i want it with franco
[Nexus 6P Android Development] dirtyreturn:
[MENTION=5851457]Lord. Tech[/MENTION]

All you have to do is pick the most recent build number(be sure to have the page bookmarked) and angler is first on the list.
[Nexus 6P Android Development] gqukyo:
Shouldn't show product serial numbers because of the fraud potential.
[Nexus 6P Android Development] Lord. Tech:
kernel-nethunter-angler-marshmallow-3.1.0-20160504-2330.zip

the first one says kernel, but i dont want that kernel, i just want net hunter from it, n use with franco :/
[Nexus 6P Android Development] Lord. Tech:
how to use keypress based autoboot mode? when to press volume up/down? from the beginning right? it doesnt work for me, shows recovery/fastboot screen respectively instead of multirom screen
[Nexus 6P Android Development] npjohnson:
That's not a thing. Thats MultuSystem. Not MultiROM.
[Nexus 6P Android Development] dabug123:
Really I may just build it then thanks for info
[Nexus 6P Android Development] Citizen_Snips:
I guess I'll be the guy to ask... It was coming sooner or later anyways.

Any way to share data between ROMs? Tasssadars thread in the N5 section said it would or at least should be possible, but he would have to look into it more. I know you already have a lot on your plates with the 6P and thank you for what you brought us already!
[Nexus 6P Android Development] BIGWORM:
Is a there a chance the modified recovery can bypass the fingerprint lockout with a later update? I loved Multirom back in the One M8 days, and I'd like to give it another shot.
[Nexus 6P Android Development] parthabhatta:
Waiting desperately for this mod for 5x
[Nexus 6P Android Development] ncsuwolfs:
elementalx coming soon :o
[Nexus 6P Android Development] nathanchance:
Already out ;)
[Nexus 6P Android Development] 500 Internal Server Error:
Added link to the downloads.

If you don't mind, please test MultiROM with the fingerprint sensor and see what happens - I don't use the fingerprint sensor myself so I don't know.

Jollaman999, creator of the Jolla kernel, is currently porting it.
[Nexus 6P Android Development] Swamphound:
"If you don't mind, please test MultiROM with the fingerprint sensor and see what happens - I don't use the fingerprint sensor myself so I don't know."

[MENTION=5924703]500 Internal Server Error[/MENTION] Ty so much for this I love it! I fastboot-flashed the latest stock images, left the system read only and did not flash superSU as my primary, can add cards with Pay and pass the Safety net test easily. I have fingerprint set up and it works flawlessly. However I have 3 cmte ROMs installed secondary and cannot use fingerprint. I get this: https://goo.gl/photos/6AtiLejV4kR3BjUz9
[Nexus 6P Android Development] Hashbang173:
I can confirm that this arm64 hardboot patch works on the snapdragon 808 with very little modification. arm64 kexec-tools also work without modification. I have successfully made multirom for the Moto X Pure (2015, snapdragon 808), and have successfully booted a secondary ROM with kexec.
[Nexus 6P Android Development] ncsuwolfs:
working great so far with the patched elementalx kernel, only issue i see is you cant use fingerprint with secondary roms. Still functions perfect for the primary though.
[Nexus 6P Android Development] DDHBanger:
I have stock as the primary. Flashed secondary, but can't get any gapps to work. Shows installed but none appear once booted. Just have phone contacts etc from the rom.
[Nexus 6P Android Development] 500 Internal Server Error:
Did you flash an ARM64 Gapps package?
[Nexus 6P Android Development] DDHBanger:
Flashed pure nexus dynamic gapps.
[Nexus 6P Android Development] Swamphound:
I found that open gapps work well as long as you don't use the aroma version.
[Nexus 6P Android Development] UniX1rm:
I have pure android as the primary, for my secondary I installed screwed and it boot loops after I flash super su. I tried 2 cm13 roms but didn't boot up. Any suggestions to run cm13 as a secondary or get root working on the second rom ?
[Nexus 6P Android Development] Tylog:
Don't Flash superSU. Use the Root that comes with CM. With superSU i have the same problem, Root from CM works fine when using cm as secondary.
[Nexus 6P Android Development] DDHBanger:
Got my secondary working now. Tried a different ROM. Seemed to do the trick.
[Nexus 6P Android Development] UniX1rm:
Which ROM did you do as the secondary ?
[Nexus 6P Android Development] Maxr1998:
Dang, you were faster than me :P Didn't know you worked on this... Still, awesome work! Will try it out in the next few days. :highfive:
[Nexus 6P Android Development] DDHBanger:
I used Twisted as secondary and the Elemental beta kernel.
[Nexus 6P Android Development] gqukyo:
Just use auto boot. Works fine.
[Nexus 6P Android Development] Lord. Tech:
no no, i mean in twrp under multirom and then sidebar then settings, it says mode, time based or keypress based..... and i can get time based to work, the rom selection screen shows up with the timer, but i want the other option, which as i can understand would mean it would only bring up that screen to change roms in boot only when i press volume key in boot, thus saving me precious time every time i reboot. am i wrong? :/
[Nexus 6P Android Development] npjohnson:
Just tested. Works fine here.

Don't hold the button before the power button is pressed.

Wait until you've seen the "Google" splash screen, and, at that moment, hold the Volume Up button. Holding it to early causes the BL to interpret it as "Boot Recovery" option.
[Nexus 6P Android Development] npjohnson:
All,

All three components of MR have been updated. Check out the changelog, and enjoy.
[Nexus 6P Android Development] gqukyo:
Changelog from OP doesn't show any updates.
[Nexus 6P Android Development] DanXbix:
Hi all I tried dual boot patcher from https://snapshots.noobdev.io and dual booted however after switching roms and going back to primary I got locked out of phone. Finger print worked but pin number would not. My question is this a issue for Multirom as I lost everything last time. I used multirom for my nexus 5 just want to make sure this doesn't have the issue before I flash
[Nexus 6P Android Development] Digital Cha0s:
this happens to me when just restoring a backup that I failed to remove the lock screen from with no multi roms set up

pretty sure all you have to do to unlock yourself is hit up the file manager in TWRP, go to data/system and delete locksetting.db

Then just reset your pin/whatever you used after you power back up
[Nexus 6P Android Development] DanXbix:
Awesome I did not know that :) just picked up this awesome nexus :) will give it a try
[Nexus 6P Android Development] KLit75:
I've read through about 70% of the thread, still a little hesitant not due to stability concerns but because I'm uncertain how to proceed.

The op says using the play store app is the simplest method but I think I've read lots of people here using fastboot. Why? Is that just for N or if they encounter issues? It also seems like they're manually installing some things.

Sorry. I'm probably missing context because I've never used this.

Can I JUST use multirom manager for this? Does the one in play store work fine? And in the "Install/Update" section of the app is that the recovery referred to here as Mr. TWRP?

ALSO a couple of times someone mentioned "inject" something but think that has to do with the kernel and mine is supported (but just in case) Thanks
[Nexus 6P Android Development] DJBhardwaj:
Nothing will be risked. But as mentioned on top of the OP, take a Nandroid backup before anything.

Next, using the MultiROM Manager app is not advised right now, it is believed to cause issues (They might be fixed in future). So every one here relies on flashing manually. And trust me, it is no biggie, just a few minutes at most, and you will be done.

As for "Inject", it is resembling the "inject boot sector" feature, within the TWRP recovery. You might have to use it, if even after flashing the right files, you don't see the multi-boot menu.
[Nexus 6P Android Development] odooo:
Hi,

Is there any information which devices will be supported in future?
[Nexus 6P Android Development] jawonder:
Changeling not up to date .
[Nexus 6P Android Development] npjohnson:
Just opened it... Maybe charges weren't public yet, cause its there...
[Nexus 6P Android Development] KLit75:
Thanks again! You've assisted me multiple times in a few days--much appreciated!

Just one more thing, and this may be obvious once I flash everything, but if multirom manager isn't working how do we boot to different ROMs? I used to have something called safestrap that would give you like 5 seconds before boot to make a choice. The installation of ROMs seems straightforward (through twrp) but I'm not sure how/where you choose what boots...Thanks again
[Nexus 6P Android Development] jawonder:
Ok it's there now . Thanks
[Nexus 6P Android Development] npjohnson:
Nope. MultiROM has to be ported by individual developers.

There is no list of devices to be supported in the future.
[Nexus 6P Android Development] npjohnson:
You can use the app. It works fine.

To your question about recovery=MR TWRP, yes.

You're kernel needs the Kexec Hardboot patch, and, after flashing a ROM that overwrites your ramdisk (any ROM), you need to inject boot sectors (with the option provided)

Did I miss something? I personally use MR Manager to update my work device (my 2nd 6P) and it works fine.

If it has an issue, I need to fix that asap, as thats the most popular method for installation (per statistics).
[Nexus 6P Android Development] npjohnson:
Fixed. Changes weren't public. Now they are.

This isn't a problem on MR, so, that won't happen. Of course, take a backup. But, this is much more thought out than most dual boot patchers you'll find.
[Nexus 6P Android Development] jawonder:
After latest update all the GApps i used before won't work only an open Gapps i just downloaded flashed without error . When i tried booting the Rom i just flashed i get this output:-

Went back to the older version and all Gapps flashed fine, roms boot ok.
[Nexus 6P Android Development] KLit75:
In that case I'd much rather just use the app. Thanks! Since I'm going to go that route, am I still able to use the uninstaller zip? Of course this is just in case something happens to go wrong or I just want to return to unmodified twrp.
[Nexus 6P Android Development] DJBhardwaj:
I have had a rock on my brain. This is the second time today, that I have provided inaccurate information to someone. Apologies [MENTION=5924408]KLit75[/MENTION]

Thank you so much for correcting me Nolen. Also, do check your PM.

---------- Post added at 06:10 AM ---------- Previous post was at 06:07 AM ----------

Yes you shall use it to uninstall MultiROM. However, it will not roll back TWRP to the regular version, and for that you will need to flash the TWRP image through fastboot.
[Nexus 6P Android Development] npjohnson:
No problem man. It happens to everyone! :)
[Nexus 6P Android Development] KLit75:
No harm. My guess is you got crossed up between threads where you were helping other people:) Just like you helped me out a few days back. Ready to try it. Thanks!
[Nexus 6P Android Development] npjohnson:
I use OpenGApps all the time. Works here.

I also fixed the issue with PN GApps.
[Nexus 6P Android Development] jawonder:
Strange that i went back to the older version of MultiRom and all works fine. What about the error in the screen shot ?, first i'm seeing that and it happen on your latest version.
[Nexus 6P Android Development] npjohnson:
To clarify before I proceed: the ROM 100% boots without GApps?
[Nexus 6P Android Development] KLit75:
I botched it somehow (not a big deal I have a backup) but I'm a little confused...

The ROM I thought I was flashing as a secondary ROM flashed fine and booted. But for some reason now when I open multirom app it says that MR recovery is not installed.

The guide seems slightly different than what I encountered in MR TWRP. I don't recall exactly but when I select multirom then install, there was one more option I wasn't entirely clear on. If anyone can provide specifics for flashing a secondary ROM please let me know.

Also, can a backup be restored to internal or secondary? Thanks
[Nexus 6P Android Development] DJBhardwaj:
First, yes you can restore Nandroid backups to Internal and secondary slots. Which guide did you specifically use?

As for flashing secondary ROM, it is pretty much simple and same as flashing a ROM in general, but just from within the MultiROM section in TWRP.

Boot into MR TWRP.

Tap on MultiROM > ADD ROM

Select ROM type as Android and the location for your ROM.

Next, select how would you like to install. You can restore a backup as secondary ROM, install the ROM zip file, or sideload a ROM.

Then, you just have to select the backup/ROM that you want to install.

Hope this helps.
[Nexus 6P Android Development] jawonder:
The problem i'm having is with secondary roms my internal is ok because i didn't change that . On the secondary rom zips install ok but out of 4 Gapps only one flashed without failing and when i tried to boot the rom i got that error . I never tried booting roms that use GApps without flashing the Gapps too.

Have you tried installing a rom and GApps in secondary with your latest update ?.

Also i can never get a stock rom that doesn't use GApps to boot as secondary . I never tried installing them on internal them backup and restore the backup in secondary but i tried flashing stocks and the never boot up .
[Nexus 6P Android Development] KLit75:
Thanks. That's the confusing part-I'm certain the way you describe how to flash secondary ROMs is the way I did it AND when I select Multirom>Add ROM it takes me to section where I believe it says "Manage Roms" and there my NEW ROM is listed as my secondary ROM.:confused:

Only thing I can think of is when I first attempted this, my gapps package failed to flash. Also wasn't sure I injected boot sector on ROM so I decided to factory reset and start over. From there the new ROM flashed fine but it looks like my primary ROM is gone. I wound up restoring my backup.

Just based on how things appear to me, it looks like I have a secondary ROM but no primary installed. I attached screenshot if it's at all helpful.