yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] shadowstep:
Thanks! The bug fixing commit is already in place now, according to this post. Also, comparing the timestamps, I see that the new build (3.0.2-2) was uploaded about three hours post the commit was made. So just waiting on word to confirm if it is in place in the new build.
[Nexus 6P Android Development] shadowstep:
UPDATE: The fatal bug was fixed in v3.0.2-2, but a new different bug was found in it (details here).
[Nexus 6P Android Development] roan.util:
Stock N ROM + Franco Kernel, I can't get into the MultiROM TWRP. If I manually download and flash the recovery via fastboot or do it through the app, it won't boot into recovery. Anybody else have this issue?
[Nexus 6P Android Development] Nochis:
Are you encrypted?
[Nexus 6P Android Development] roan.util:
"Encrypted" with no passcode set.
[Nexus 6P Android Development] shadowstep:
MultiROM TWRP's base is 3.0.2-0, which doesn't support Android Nougat 7.0's encryption. So there is a chance that this is the reason why, but I can't be a 100% sure. Why? Because not supporting encryption doesn't mean it should not let you boot to recovery. Technically, it should boot to recovery fine but get stuck at the encryption password request screen (which you won't get past because the version of recovery you are using doesn't support Android Nougat 7.0's encryption).

Also, everyone, I made a detailed post around the recent confusion that different TWRP versions, their bugs, android version support, encrypted vs unencrypted have been causing. You can give it a read here. :)
[Nexus 6P Android Development] roan.util:
Thank you. I haven't been as active since encryption became default, so I am a little ignorant. Your referenced post is a very good synopsis and I appreciate it.
[Nexus 6P Android Development] zarocks:
how to get

Stock N + Root

Stock N

Stuck on boot logo 2nd room :( after flash root

sry english :/
[Nexus 6P Android Development] Tylog:
N must be Primary. You can swap it to secondary but you must install it as primary.
[Nexus 6P Android Development] DaringDomino3s:
So is this working, then? I thought I read that older versions of TWRP didn't recognize/work with N's encryption, or something.

This is my absolute feature/hack out there, but I just got this phone a couple weeks ago and don't to break anything.
[Nexus 6P Android Development] Tylog:
You can use the modified boot img . I have no issues with twrp and N , my device is decrypted before and after flashing N , with all beta builds and with latest build. And yes, swapping also works. Make sure you do nothing wrong and you are fine.
[Nexus 6P Android Development] DaringDomino3s:
I am thinking I should decrypt my device, then? I just got the 6p a couple weeks ago and have been away from root for a year (at&t lg g4), but my Nexus 5 before that was never encrypted (nor did it have vendor partitions).
[Nexus 6P Android Development] :
[MENTION=5848265]npjohnson[/MENTION] Hey man, been a huge fan of the hack since you helped me flash a bit ago! Just curious once Multi is updated to TWRP's newest sources if you can flash custom N Roms as secondary? Tried looking for an answer already. I've just been having so many problems with N Roms on current multirom now, like errors on installing N Roms into secondary slots resulting in like no OS and me wiping my phone accidentally lol. Can't wait since N Roms are popping up. Thanks man
[Nexus 6P Android Development] KLit75:
Can you (or anyone else who's done this) please clarify?

I should use fastboot to flash the decrypted modified boot.img

Then I can flash any n rom to primary? What about vendor? Wont flashing the latest vendor cause issues with M rom on secondary?

Right now Im only using primary and it seems the fastest way would be to move my rom to secondary THEN Flash N to primary. Never done that exactly though...would that be ok to not have a primary rom (temporarily before I flash N)?

Sorry for all the questions. I have read most of this thread but still not 100℅ clear. Thanks.
[Nexus 6P Android Development] pacman photog:
i still get stuck on twrp logo for latest NOUGAT official rom with EX kernel,

i think twrp needs updating to the latest maybe to fix this issue,

anyone?
[Nexus 6P Android Development] indian84:
Edit - Wrong Thread.
[Nexus 6P Android Development] pacman photog:
no its not since Multirom is on 2 versions back of TWRP

hence why i stated this

and why i think i have the issue of it not booting
[Nexus 6P Android Development] trevorcobb:
in for an update that uses the new TWRP supporting N encryption. would really like to run a primary N ROM and a secondary M rom.
[Nexus 6P Android Development] Tylog:
The"unofficial " but from official side ( TWRP Dev ) 3.0.2-3 works fine and fixed all issues 3.0.2-1 and 3.0.2-2 had.

I am missing MR but for now a use 3.0.2-3 because with Nougat actually MR is pointless.
[Nexus 6P Android Development] DaringDomino3s:
Why do you think nougat makes MR pointless? Personally I've, in the past, used MR to test experimental or early builds while still maintaining a working stable main ROM. What in nougat would negate the use of that?

Or do you mean the lack of roms currently available?
[Nexus 6P Android Development] Subhojit:
There are a few Nougat Roms available already:

Nexus 6P Nougat Roms

[ROM] Benzo Rom OMS

[ROM] [7.0.0] [CM14] [UNOFFICIAL] CyanogenMod 14.0 [Angler]

[ROM][Stock+]Debloated-Prerooted-Deoxeded-Busybox-Fast & Stable

[ROM] Decrypted+Debloated AOSP Nougat Build

[ROM]Digitalhigh6P

[ROM][N6P] Just AOSP

[ROM] MapleAOSP [substratum]

[ROM][6P] SAOSP-N

[ROM][6P]WETA [AudioPhile]
[Nexus 6P Android Development] glockman4519:
So why would this make MR useless? Just curious? If anything, I would want MR for testing across rom platforms and having the same rom on 2 slots for kernel comparison....??
[Nexus 6P Android Development] Subhojit:
That is correct. MR isn't pointless at all even while on Nougat. I use MM Rom as well as a Nougat Rom and both works just as expected.
[Nexus 6P Android Development] sm4tik:
Hey guys. I've not had the time to mess around with the phone lately so I'm currently kinda lagging behind. What's the proper setup for having both MM & N side by side. I have the feeling I've read that N should be the primary and MM secondary. Last time I was in a bit of a hurry trying to get things set up, and iirc couldn't get S-AOSP installed as a secondary.

So what kind of a setup do you currently have? Tia
[Nexus 6P Android Development] DaringDomino3s:
I'm decrypted using Uberstock with Franco kernel, I installed MR through the app, and it went smoothly. I was able to flash the omni ROM 7.0 build someone posted around here to secondary and it loaded fine, booted up and worked well. However when I tried to flash AICP 7.0 to secondary it failed with errors. Then I flashed DU 10.6 (6.0.1) to secondary, which succeeded, but flashing the banks 6.x.x Gapps failed, and when i tried to boot the ROM alone it never passed the Google slash screen.

I only ever had two roms at once. I kept Uberstock as my primary the whole time and deleted each secondary before flashing the next.

I might go ahead and play with it again tonight, but for now, I've reverted back to standard recovery without multirom.

PS - where do the fail logs go? If I try again, I'll post the logs if its more helpful

Edit - words and PS
[Nexus 6P Android Development] Tylog:
Yes, but with substratum legacy you have to setup themes again after changing the vendor, that's what I don't like but as ever, it's only my personal meaning:)
[Nexus 6P Android Development] sm4tik:
I had another go flashing S-AOSP sep24 build as a secondary. I'm currently on DU 10.6 w. Ex kernel.

Here's the recovery log after an unsuccessful installation

http://hastebin.com/ibilezasaw.sql

I have to do some other tests with the phone later so I'll mess around with MR while I'm at it. Hope the log is of some use.
[Nexus 6P Android Development] Tylog:
You can't flash Nougat as secondary but you can flash it primary and swap it to secondary.
[Nexus 6P Android Development] DaringDomino3s:
But I got a nougat ROM to boot after being flashed to secondary.

Do you have a mm ROM and a nougat ROM set up so they can each boot?
[Nexus 6P Android Development] Tylog:
In the past yes , dev preview 5 was the latest. Since Nougat is official i never used a Marshmallow Rom. Before i always have MM and Nougat Rom working with MR.

Nougat primary MM secondary , don't forget both need different vendor, you must flash it before you switch the Rom.

Nougat swap from primary to secondary and then MM primary also works, you also must flash the correct vendor before switch.
[Nexus 6P Android Development] DaringDomino3s:
Thank you for the vendor tip. I'm still getting used to having this partition.

So if I want to use the marshmallow one I have to flash the mm vendor image, but when I want to go back to nougat I have to flash the N vendor image? And back and forth?
[Nexus 6P Android Development] Tylog:
Yes, thats correct. You can flash it with twrp ,is only possible in the main slot but its active for Both ( Primary , Secondary ) so its np to flash the img.with twrp.

Good Night ( 2 clock in the Night here ) :)
[Nexus 6P Android Development] Tylog:
Btw, before i say something about latest N Builds i flashed MR and a MM Rom , works fine with actually Nougat too. Tested and works. But now really good night.
[Nexus 6P Android Development] :
The falcon device just got their MR support completely updated to the latest TWRP sources and fully Nougat compatible. Hopefully, it won't be long for Angler.
[Nexus 6P Android Development] rchtk:
Hi!

Just install EX kernel then with the MR app, installed MR recovery and it downloaded MR ROM.

But the recovery is stuck on the blue logos.

Is that because my device is encrypted and the recovery can't finalize the install ?

Haven't seen a mention in the OP so I'm not sure

edit: looks like it after decrypting it works.

I just entered into the second dimension. Awesome work!
[Nexus 6P Android Development] shadowstep:
I'm not sure if [MENTION=5848265]npjohnson[/MENTION] plans to upgrade TWRP MR right now because right now it's based on the last stable TWRP release, i.e. 3.0.2-0. Both the versions that were posted after that (3.0.2-1 and 3.0.2-2) are buggy, even though they were updated to support Android 7.0 Nougat's Standard Device Encryption.

You can read this detailed post regarding the TWRP versions 3.0.2-1 and 3.0.2-2 for more information. Should be helpful. :)

Please also bear in mind that at the moment, no version of TWRP supports the new File Based Encryption that has been introduced by Google in this version of android. My best guess on why it is taking long for TWRP to be officially updated to 3.0.2-3 is because they want to support the new File Based Encryption with it along with fixing the bugs present in 3.0.2-1 and 3.0.2-2.

Also, there is an unofficial 3.0.2-3 version available for download. It essentially fixes the issues with 3.0.2-1 and 3.0.2-2, but, of course, does not support the new encryption. You can download it via this link.

Yes, that's because MR TWRP is based on version 3.0.2-0, which, even though fully stable, does not support Android 7.0 Nougat's System Based Encryption. If you're using a decrypted/unencrypted Android 7.0 Nougat based ROM, you should be fine.
[Nexus 6P Android Development] dadme:
It works with changing vendor, but M rom get rotation broken, at least for me.
[Nexus 6P Android Development] rchtk:
So my primary is WETA NRD90U with EX kernel.

Tried to install 3 ROM at secondary

CM13 official installs but fails to boot (from what I understand, I had to flash the corresponding vendor)

SAOSP-N doesn't fully installs (haven't investigated yet)

Stock NRD90U debloated by tupac4u installs but doesn't boot ( it reboots and hangs on the Google logo )

I can try more but I feel like I've exhausted all my trial and error tricks :)

Regarding the last one, which is based on the same NRD90U as my primary ROM:

Do I also have to flash anything after the ROM? Is the vendor partition mounted? At home, I'll try to attach some debug console if possible.

What am I missing?
[Nexus 6P Android Development] Tylog:
Have you made yourself the trouble to read the latest posts? You can flash as Secondary No N Rom. I have a page back actually explained.
[Nexus 6P Android Development] E30Nova:
Has anyone had any luck flashing WETA 9.0 as their primary? Every time I flash, I get an error

"FAILED

ROM installed

E:EdifyHacker: failed to open /tmp/META-INF/com/google/android/updater-script for writing

ZIP successfully installed

Restoring mounts...

Updating partition details...

Extracting contents of boot.img...

Failed to load bootimg!

Erasing incomplete ROM...

...done"
[Nexus 6P Android Development] rchtk:
I've used WETA 8.5 on primary for 3 days and updated today to 9.0. Downloaded it and used TWRP install zip (as described in OP).

On the other side, I've had problems sideloading zip files: original CM13 or even the same pico opengapps failing to be sideloaded on one ROM while sideloading on another ROM working (could be adb on linux side but that would be the first time)
[Nexus 6P Android Development] E30Nova:
How did you do it? I just formatted my data, copied over the multirom zip, flashed that, and then flashed the WETA zip. Failed every time. MD5 was good on the WETA zip and the multirom zip. I eventually just gave up and flashed a 6.0.1 rom and am setting it up at the moment.

I figured, I could just swap it to secondary and try to flash WETA as primary. Maybe I'll try an older version of WETA...
[Nexus 6P Android Development] rchtk:
I used the multirom app to install multirom AND the multirom-TWRP (you don't mention that one?) if that makes a difference. Then weta (tick inject) then a kernel with hardboot and then boot then smile. IIRC

wonder why hardboot is not on every kernel btw.
[Nexus 6P Android Development] E30Nova:
Ah, I didn't use the app. I'll try that this time, maybe that's the problem...

But yes, the first thing I did was flash the multirom twrp. Hopefully the app works. Thanks!

EDIT: Nope, using the app didn't help. I even tried copying my primary 6.0.1 rom to a secondary position and installing WETA in the primary spot. Still got the same error. And during the copy process, it ended up borking my 6.0.1 rom. It threw an error during the process, but still said it was successful.

So I just formatted the data again to start fresh.

Guess I'll try an older version of WETA this time.

EDIT 2: Well, I guess WETA doesn't keep older versions of the rom online, so I tried another rom, OctOS. I also tried installing it a different way. Normally I would go to Multirom-> Add Rom, and it would fail every time. For some reason, I tried just going to Install -> Zip, and now it works. I have OctOS on the initial setup wizard right now.

How would I go about trying to install WETA, now? Move OctOS to secondary?
[Nexus 6P Android Development] sm4tik:
Install > zip works just like normal twrp (this is your primary slot) and this is currently the only way to flash an N rom afaik.
[Nexus 6P Android Development] E30Nova:
Yeah, thanks. I finally got it figured out. Got WETA 9.0 working by doing Install -> Zip. Installed a 6.0 rom, but the kernel I used to use apparently doesn't have the hardboot patch because I can't boot into it without an error.

Gonna try another kernel, but it looks like I finally got a 6.0 and 7.0 rom booting on this thing. :laugh::laugh::laugh:

EDIT: I've tried PureNexus, Ninja/Flash, and Elemental X, and I still get the same error that says basically "you need a kernel with the hardboot patch to boot this rom"...

I have WETA 9.0 on primary, and PureNexus 8/21 as a secondary....ideas?
[Nexus 6P Android Development] Marcuss4:
Hi,

Thanks for this post.

I am working with weta 9.0 but i want to check other roms so i tried multirom.

But it seems that this custom twrp is niet compatible with nougat.

Is there any news on when this custom twrp will be compatible?

I am realy found of multirom and used it on all my phones.

So its a bummer i cant get it to work this Time!
[Nexus 6P Android Development] shadowstep:
It works fine with Android 7.0 Nougat and/or any ROMs based on it, provided they do not force encryption and you are unencrypted.

Additionally, I am not the developer of this mod, so I can't really say when if and when it would be updated. Like I said in my earlier post, I'm pretty sure [MENTION=5848265]npjohnson[/MENTION] is waiting for TWRP to be updated, officially, to 3.0.2-3 (which might include support for Android 7.0 Nougat's File Based Encryption) and then he will update this amazing mod. :fingers-crossed:
[Nexus 6P Android Development] E30Nova:
Anyone with a 6.0 from as secondary care to explain how you did it? I'm on WETA right now as my primary. I have pure Nexus 8/21 as my secondary. I flashed the proper vendor, rebooted the recovery, then flashed the ROM, Gapps, and ninja/flash kernel, then injected multiform. Wiped both caches, rebooted, and get the error saying I need a kernel with a hard boot patch.

Tried with pure nexus, ninja/flash, and elemental x, same thing with all of them...
[Nexus 6P Android Development] rchtk:
you've got PM
[Nexus 6P Android Development] E30Nova:
Thanks for the help!

Finally got everything working with the help of [MENTION=4533695]rchtk[/MENTION]. Now I just have a question about messaging. Is there an app that cloud syncs or something? I use Google messenger for SMS/MMS and it's kind of a pain when I get texts on one rom, switch to another and don't have those texts.

It's more of a mild annoyance, so if there's no way around that, oh well. I'm just glad I finally got this working. :)
[Nexus 6P Android Development] sm4tik:
Hey, glad you got it all set up! I've had the same "problem" with SMS's and never got around to solve it, but this time I took a round over at the internet and found this article helpful

http://www.androidauthority.com/backup-sms-automatically-android-customization-625972/

There are a lot of apps for backing up SMS/MMS, but at least this one has the ability to backup using your g account and does it automatically in the background if you want it to.
[Nexus 6P Android Development] Nameless crowd face:
Mix n match marsh and noug?

So I understand this works with 7.0 so long as no encryption. Can I run 7.0 as my main and then flash some marshmallows? Can I run 7.0 as my main and then flash another nougat rom as well as a marshmallow? If so, any special procedures/order of ops? Any help is much appreciated
[Nexus 6P Android Development] E30Nova:
Yes, you can flash nougat as your primary and then marshmallow as secondary. Just be sure to flash a kernel with the hard boot patch on your primary ROM, otherwise you won't be able to boot into any other Roms.

I have a question, though. I flashed pure nexus as my secondary yesterday and went to watch a video on XDA and noticed it wouldn't rotate when I rotated my phone. I didn't think much of it until today when I tried to watch something on YouTube and had the same problem.

I downloaded a sensor testing app and it showed no sensors detected. I tried doing a fresh install of the same ROM and still showed no sensors.

Anyone else have this problem before? I'm going to try downloading another 6.0 ROM and see if I can get sensors working. Just wondering if there's a quicker way, or something simple I'm missing...
[Nexus 6P Android Development] rchtk:
Yes it's a known problem (look back a few pages)
[Nexus 6P Android Development] E30Nova:
Oops. I went back one page and read before flashing everything. Should have gone back a couple more, I guess.

Well that's a bummer.

Thanks.
[Nexus 6P Android Development] Nameless crowd face:
Is it a problem with multirom or pure nexus?

---------- Post added at 03:48 AM ---------- Previous post was at 03:45 AM ----------

Are you saying to use both mm and nougat, anytime you switch from one ROM to another you have to reflash the related vendor??
[Nexus 6P Android Development] Tylog:
Yes. If you use two different Android version you must flash anytime the vendor ( takes 1 second thime in twrp ) . It's no MR or Pure Nexus issues, it's a part of a working system to use the right one vendor ;)
[Nexus 6P Android Development] :
How does one go about flashing multiple Nougat Roms using MR? I've heard you can't flash a Nougat Roms to primary? That you must flash to primary and flip to secondary... What's the best way to do this?
[Nexus 6P Android Development] rchtk:
There can only be one Nougat ROM installed and it has to be installed to primary (it can then be swapped to secondary).

You need to flash the vendor associated to the ROM you want to boot.

So I've had a few PM and rather than answering there, I'll post here how I did to get Nougat and several MM ROM. There's nothing complicated.

I'll mention the ones I tried: Flash kernel, N: WETA, MM: RR, CM13, ...

You have to go unencrypted first. Confirm in about phone its the case.

Flash weta 9.2 and boot to make sure it's fine.

Install multirom app. In the app, install multirom rom and multirom-twrp.

After they are installed, boot it and open multirom app to make sure they are installed.

Then install elemental x or flash kernel (the one I'm using now).

In the app it should now all be ok.

Then you can install MM rom.: From your nougat ROM, download MM ROM (and Gapps if required).

Go to recovery, select MultiROM -> Add ROM. Select the ROM's zip file and confirm. Also install Gapps zip if required.

Every time you update the primary rom, make sure to inject bootsector.

All the thanks go to the devs who created and updated MultiRom.
[Nexus 6P Android Development] :
Awesome, thanks man! So just to be clear, would I be able to flash a N ROM with flash kernel, get MR all set up, then in MR, flip my main N ROM to secondary and then flash another N ROM to primary?
[Nexus 6P Android Development] Aswin08:
finally! thanks for the detailed explaination,
[Nexus 6P Android Development] rchtk:
From what I have read there can only be one N ROM. And yeah I tried and failed to log in.

But you can have multiple MM ROMs.
[Nexus 6P Android Development] Tylog:
Yes, thats correct.
[Nexus 6P Android Development] KLit75:
For more clarification...I can flash PN rom right now with MR TWRP? Is there a flashable vendor zip? Pretty sure we cant flash .img
[Nexus 6P Android Development] rchtk:
Yes I did it an hour ago. And began by wiping all but internal data and then installing vendor IMG etc..

Sure we can flash IMG in the primary (in Install you have to change from zip to IMG).

PN kernel doesn't have hardboot patch yet so you'll have to install a kernel with the patch. It will come in next PN builds Nathan said.
[Nexus 6P Android Development] ncsuwolfs:
any idea if this will be updated to 3.0.2.-1 so i can keep my phone encrypted and use the new pure nexus as primary?
[Nexus 6P Android Development] KLit75:
+1

But barring that, decrypting means I need to flash mod boot img & format data, right?

Not sure I want to do that. I'm a bit dependent on xposed so most likely Ill be using MM but itd be nice to try out N.
[Nexus 6P Android Development] shadowstep:
Please read this.
[Nexus 6P Android Development] E30Nova:
No, no modified boot.img required. Just backup everything on your phone (and I mean everything), and then boot into recovery and format data. This will wipe everything and decrypt the phone. Then just copy everything back and enjoy switching between MM and N.
[Nexus 6P Android Development] KLit75:
It doesn't seem bad. Were you able to restore from nandroid without issues or did you start over with your MM rom?
[Nexus 6P Android Development] E30Nova:
I tried restoring from a backup but it bootlooped. Not a big deal for me, really, because I backed up everything from my phone and copied it to my PC. So I just copied all my pics, texts, and app data and restored it all on the fresh install.
[Nexus 6P Android Development] dadme:
On Nexus 5x multirom is working now with 7.0 roms.

jollaman999 updated the riecovery to make 7.0 script working.
[Nexus 6P Android Development] :
Please elaborate!
[Nexus 6P Android Development] danielgitar2499:
Which version of N is this? I can't seem to get TWRP working on the August security patch even though I do not have any encryption on :confused: