yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] Sli3:
Hi, idk is someone already report this issue, I'm on build 20160709 and I keep loosing signal like every 10-15 mins? I'm on ex kernel aswel. Thx in advance
[Nexus 6P Android Development] 83097markcynt:
Maybe the kernel is outdated. 1.19 is the latest.
[Nexus 6P Android Development] Sli3:
Hi, thanks for reply I'm on 1.19 ex and I didn't come from dirty flash either I might try to re flash the latest build tonight but just wonder wat could cause this issue, it never happened before =(
[Nexus 6P Android Development] hinxnz:
Did you flash TWRP and bootloader with fastboot? I did.

I encrypted my device after flashing TWRP 3.0.2-0 with bootloader 3.51

Maybe your backup was made with a previous version of TWRP? Mine weren't but if so, it would fail because it wasn't fixed till 3.0.2-0 according to changelog.

I don't think it would be related to anything else but did you encrypt backup or compress it or use another storage device? I don't do any of these things by the way because it would take a lot longer if compressed and why encrypt if storage is already, unless ofcourse made on separate storage device.

I'm glad it works for myself like intended because what a pain otherwise..
[Nexus 6P Android Development] weazie:
Well I don't know about newer versions, but usually you can dirty flash all you want and no problem, but the problem is if you want to restore a backup with encryption / password / pin / whatever on, you're in trouble. Best practice - always remove security before nandroid.
[Nexus 6P Android Development] hinxnz:
Yes best to stay safe and remove if your uncertain or don't have the time to test, I was just sharing my experience but if your so sure it doesn't work for you, then really you should report it to [MENTION=912474]Dees_Troy[/MENTION] to be fixed. This is done by submitting an issue on his github, link in his thread.
[Nexus 6P Android Development] Muvolt:
I also tried to install gmail from apkmirror but I had the same results.

I use nexus devices and Android for so many years and this is the first time I'm frustrated with such a simple thing. Why does this happen?
[Nexus 6P Android Development] 83097markcynt:
Not so for me either. I've made numerous nandroid backups and successfully restored them. Each time my fingerprint and pin were also successfully restored.
[Nexus 6P Android Development] The.Yield:
Clean flash the rom with Open Gapps stock package. Don't use garbage AOSP gapps (like in the OP).
[Nexus 6P Android Development] Muvolt:
Which are the differences between the gmail / exchange services of the stock image 6.0.1 and Pure Nexus? Why exchange calendar & contact sync works in stock only?

I'll try it! Thank you!
[Nexus 6P Android Development] relevant_placeholder:
[MENTION=6842057]nathanchance[/MENTION], I'm not sure why your FAQ has step in dirty flashing section to flash Gapps but this step is not needed.
[Nexus 6P Android Development] weazie:
Ok. Good to hear! I hadn't used the newest versions but I'm glad to hear this is no longer a problem.
[Nexus 6P Android Development] AzraelsKiss:
TWRP 3.0.2 flashed through fastboot on pre-existing encrypted filesystem... Backup made without any further encryption or compression... Backup restored approx. 30 mins later from original copy... Upon reboot, old PIN no longer worked...

Have a good one!
[Nexus 6P Android Development] dcillusions77:
Post #20583 he answered the same question
[Nexus 6P Android Development] AzraelsKiss:
Because in the step immediately preceding that, he says to wipe /system, so you should flash GAPPS.

Have a good one!
[Nexus 6P Android Development] hinxnz:
Maybe that's where the difference lies, device needs to be encrypted afterwards and not beforehand.
[Nexus 6P Android Development] KennyG123:
I think this is hit or miss. I made a backup and had issues with the 7-28 release before it was known to delete /suspersu folder. First back up from the boot loop restored with no issues....pin and fingerprint intact. Tried another install, failed, then restored the same exact backup and this time it did not recognize my pin. So it seems everyone will have a different experience.
[Nexus 6P Android Development] Caltinpla:
Look @ 4.4

4. Installation questions

4.1 Q: How do I install Pure Nexus?

4.1 A: To install Pure Nexus, you will need an unlocked bootloader and a custom recovery (preferably TWRP). After that, you will need to do a clean install, which is starting completely fresh (losing all of your apps and data). A clean flash consists of backing up your important data, booting into TWRP, wiping system, data, cache, and dalvik cache, then flashing the ROM and the recommended GApps. You will not lose your files (photos, music, other media) as long as it is in your internal storage folder (/sdcard, /data/media, or /storage/emulated/0). This process is expanded upon in the installation guides located at the top of this post.

4.2 Q: How can I update Pure Nexus?

4.2 A: If it is not a major Android update (like from Lollipop to Marshmallow) or another major reason to clean flash, you should be okay to dirty flash (flash just the ROM zip without wiping anything). Always find the latest installation post (linked at the top of this post) and read to see if there were any reasons to clean flash (like a rebase or major change). Furthermore, I keep my installation guides at the top of this post up to date with the latest info. ALWAYS MAKE A BACKUP AND PLEASE CLEAN FLASH BEFORE REPORTING MAJOR ISSUES.

4.3 Q: When will Pure Nexus get an update (for the new security patch, etc)?

4.3 A: This shouldn't even be a question you are asking on XDA as ETAs are forbidden due to the free nature of the work provided. However, Beans aims to have the update merged as quickly as possible (consult Github to see) and then released relatively soon. Keep in mind he has to compile 7 builds (seven devices) so releasing is not a trivial task.

4.4 Q: Should I flash GApps on a dirty flash?

4.4 A: I don't recommend it. For some people it is habit and they never experience issues; others do it and have massive force quits on startup that are only solved via a clean install. Even if there is a new GApps package available, they are updated through the Play Store and you don't lose them on a dirty flash like with some other ROMs because there is a backup tool. There is no need to flash them.

4.5 Q: Should I wipe system when doing a dirty flash?

4.5 A: I would not recommend it. When you wipe system, your GApps are erased as well but their data remains in the data partition. When you reflash GApps, the GApps data may be for a newer version, causing issues. Updating through the Play Store may resolve this but just trust the dirty flashing process and don't do any wipes other than caches when dirty flashing.
[Nexus 6P Android Development] acts4:12:
Not really. Believe it or not I keep everything on (I.e. Bluetooth, location settings, OK Google detection, etc.).

I usually keep Franco's kernel set to power saving profile. I have found that performance is still really good in power saving mode and it does a good job of extending battery life.
[Nexus 6P Android Development] relevant_placeholder:
I'm not usually reading FAQs but have seen one of his newer posts recommending to flash Gapps over.

This info seems to conflict with the newest update to the FAQs dirty flashing section at the beginning. Anyway, won't be rereading the whole thing but suggesting to format system and reflash Gapps while having old data full of Google stuff is counterproductive and will call for full reset at the end.

Just wanted to point that out.

Dirty flashing never changed as long as you don't touch system.

---------- Post added at 02:42 PM ---------- Previous post was at 02:32 PM ----------

That's why I asked and went to see his FAQ. Anyway, he's a great guy, not putting him down but everyone is referring to his FAQ and for me it sounds counterproductive as it might end up in FCs all over the place.

I did my usual dirty and skipped flashing Gapps, all is fine.

Just uninstalled layers manager, reflashed Vendor and formatted cache.
[Nexus 6P Android Development] AzraelsKiss:
I believe [MENTION=6842057]nathanchance[/MENTION] was referencing a way to dirty flash the newest build to accommodate the new Substratum (OMS) functions in the newest build, for people who are absolutely unwilling to clean flash. I don't believe he was illustrating a recommended dirty flash method for the future, or intended to suggest that he would recommend dirty flashing over clean flashing at all.

I personally believe that dirty flashing can be counterproductive most of the time anyways, but what'd I know...

Have a good one!
[Nexus 6P Android Development] relevant_placeholder:
Look, I just asked the man for his reasoning behind it. He's great member of this community and extremely helpful and patient to the newcomers. Absolutely nothing malicious in my question to him, and him only (in retrospect, should have just pinged him directly)

No need for clarifications, justifications, post numbers for his explanations. At the end, am not posting much and couldn't care less.

But to address your personal belief, that's cool. Moving the bar to lowest common denominator to avoid troubleshooting is acceptable method for anyone just wanting to run custom ROM only.

Methodology on dirty flashing remains same if it's same SDK, all else being equal.
[Nexus 6P Android Development] mackentosh:
This is great! Substratum allows me to theme and unroot and the theme sticks. Now I can use Android pay and still have a themed rom
[Nexus 6P Android Development] AzraelsKiss:
Really??? Oy... lol nm...

Have a good one!
[Nexus 6P Android Development] kantjer:
In my experience the only this goes wrong is when you have flashed vendor.img between the backup and restore. When doing that you will need to remove a few lockscreen related files in TWRP to get into the phone again. Otherwise I never had issues.

Sent from my Nexus 6P
[Nexus 6P Android Development] efan3719:
There is nothing wrong with the Gapps in the OP. The dev wouldn't recommend them if they were garbage
[Nexus 6P Android Development] The.Yield:
Garbage was a strong word - agreed. Let's say... Less than ideal gapps for those of us who want the real out-of-the-box Nexus experience. :angel:
[Nexus 6P Android Development] teh roxxorz:
Correct - never had an issue with them.
[Nexus 6P Android Development] kantjer:
Did you by any change save the profile with a substratum version <170 and since then upgraded substratum?
[Nexus 6P Android Development] teh roxxorz:
Naw, I'm on the current 170 version. - first version i installed, with all the layers folders correctly removed / disabled before flashing. But I'll test again on the clean version - I was feeling a little devlish. :highfive:
[Nexus 6P Android Development] nathanchance:
Normally, I don't recommend wiping system (which is why I have that stuff in section 4). However, there are massive framework changes here and dirty flashing the zip without wiping system led to issues amongst testers so I added that step in there specifically for the switch. Wiping system as long as you flash the same or updated GApps is perfectly fine but it is one more step for most people to mess up and it doesn't really add much benefit which is why I say don't do it.
[Nexus 6P Android Development] orphan22:
Could anyone help me....

Since i flashed this rom my tethering wont work, computer detects it and connects to it, but it seems as something is blocking from accessing the internet.
[Nexus 6P Android Development] Caltinpla:
Same here...no problems at all...99.99% users error (broken/bad downloads) I would say.
[Nexus 6P Android Development] teh roxxorz:
Well, would need a bit more information as to how / what you flashed.

I just tested wireless testing with my laptop and it connected and was able to use the internet just fine. if you can't see it on your network, try toggling wifi on your laptop and verify you have your data enabled on the phone. Additionally make sure you have the correct password - if you're using it.
[Nexus 6P Android Development] orphan22:
I flashed the latest version of pure nexus, then flashed the super su update.

The tether signal does appear on my laptop and tablet, it just that when i try to navigate is seems as it does not have connectivity to the internet.
[Nexus 6P Android Development] teh roxxorz:
Okay, so that all sounds legit - clean or dirty flash?

On the phone, you have the mobile data enabled and have appropriate signal?
[Nexus 6P Android Development] orphan22:
I believe its dirty flash, i already had the previous version of pure nexus. And the internet on the phone works fine, when i turn tether it detects it as normal, it is as if some setting is preventing the internet connectivity on the tablet or computer.
[Nexus 6P Android Development] efan3719:
if it's a dirty flash then please try a full clean flash and see if the issue persists. even if it worked with a dirty flash in the past we have to rule out and gunk from the dirty flash getting in the way.
[Nexus 6P Android Development] luigidk:
I did a dirty flash using the latest instructions, and also did not root so I can use AP. AP is working but I'm in enforcing, not permissive mode. PN kernel and also Franco kernels were always permissive before. What has changed?
[Nexus 6P Android Development] efan3719:
i don't remember exactly but i think most kernels moved back over to enforcing after a while. i think some ROMs needed permissive mode to boot but that's not needed anymore.
[Nexus 6P Android Development] nathanchance:
Franco was never permissive by default, he has been very adamant about keeping it enforcing. Only reason it would be permissive is if you had an app like SELinuxModeChanger or flar2's permissive su.d script.
[Nexus 6P Android Development] orphan22:
Will try!! thanks
[Nexus 6P Android Development] fanghao:
You can be added at time s?

You can be added at time s?。please。。。:)
[Nexus 6P Android Development] king3opobn:
Is there a way to.change back to old layers method? Or is going dirty for cm themes the only way for a stability? At least I don't have to compile and reboot anyways because of constant crashing. With old layers, it's only a reboot and it's stable. Substramum must be in beta. Domination was applied well, after trying to change, all is a crappy experience, I'm sure it will get better though.
[Nexus 6P Android Development] efan3719:
if you want old layers you'll have to use an outdated build that had it. and most layers themes have moved over to substratum so support will be limited.
[Nexus 6P Android Development] kyzn:
Layers is being discontinued in favor of Substratum. Some of the themes already converted totally and no longer have the Layers version available. Mono and Spectrum did this forcing me to use Substratum even before PN supported it.
[Nexus 6P Android Development] king3opobn:
I used substratum.also in legacy mode, it was more stable. Basically the old method. Is there a way to go into legacy mode?
[Nexus 6P Android Development] bennytehcat:
I've been on 0730 for a few hours now, seems a bit smoother all around especially the download bar. Is there an option to disable volume key sounds?
[Nexus 6P Android Development] Einwod:
Settings, sounds, other sounds. Toggle is in there.
[Nexus 6P Android Development] bennytehcat:
Doh. I was looking under PN menu.
[Nexus 6P Android Development] kyzn:
I dunno about that. Since updating to 0730 build and with Substratum 170 (and now 171), l lost legacy mode. Have you tried another theme and see if the issue is indeed Substratum? I'm using Mono and Spectrum and both run well. But I get SystemUI crash with Deity.
[Nexus 6P Android Development] king3opobn:
Domination was running well except the white on white, else.i would have kept using it, started having issues when I installed diety.
[Nexus 6P Android Development] luigidk:
Hmmm - now I'm wondering - as I've been flashing the Leviticus Sound Mod - if that mod script was running a permissive script?

And now that I'm NOT rooted - perhaps that script is failing - and why I'm staying in enforcing mode?

So - if that is the case and I'm no longer rooted - then I have no way to enable permissive mode?
[Nexus 6P Android Development] AzraelsKiss:
Deity Theme is working fine for me... Although it did have a few quirks while I was changing things around, trying to find a color scheme I liked (which, incidentally, ended up being fairly close to default... lol). Oh... And the old Deity OMS, even after it was updated for Substratum 170+, was a bit unstable... The v2+ package is a lot better.

Have a good one!
[Nexus 6P Android Development] HiM@L:
deleted
[Nexus 6P Android Development] nathanchance:
Yes, if you are unrooted, you don't have a su.d folder for Arise to put its permissive script into. Without root, there is no way to change SELinux status.

And to everyone who is complaining about Substratum, few things:

1. I've been running this for about three weeks and I have not had any of the issues you are describing.

2. You are more than welcome to find another ROM if you are unhappy with the options here. Substratum is not going anywhere.

3. Just saying something isn't working without providing steps to reproduce or logs to help with debugging is just cluttering the thread.
[Nexus 6P Android Development] orphan22:
Did a clean install, finished all, tried it again, and my tablet still can not get an ip address from my phone, contacted tmobile and they have not blocked my tethering, something must be wrong :/
[Nexus 6P Android Development] angle409:
Android 7 is coming in August. i will probably gonna wait for the major update. Still on july 9 release of PN and having no issues.
[Nexus 6P Android Development] king3opobn:
I I
[Nexus 6P Android Development] kyzn:
I'll test it again and see. Now if only Navigate would update to Substratum 170+ I'll be golden.
[Nexus 6P Android Development] Az Biker:
deleted, dup
[Nexus 6P Android Development] Az Biker:
Quick question for the Google Play rocket scientists here.

I updated to latest PN per this:

Uninstall the Layers Manager and any Layers you have applied and reboot.

Download the new zip file, either your old GApps zip or an updated one, and SuperSU.

Boot into TWRP and make a backup.

Wipe system, cache, and dalvik cache.

Flash PN zip, GApps zip, and SuperSU.

Flash the latest vendor image. (6P and 5X users only)

No substratum, no xposed, stock kernel...

Google Play is updating apps to 100% but not installing (or sometimes taking an hour to install)the updated apps.

I Googled this and come up with a bunch of clear data, clear cache, enable download manager, etc. etc, all of which I have done. Even searched this thread (back to May) and couldn't find a similar issue with anyone.

BEFORE I clean flash, I just wanted to hit up the experience here to see if there is any advice (I'd hate to clean flash and find out I just need to delete one stupid file from XYZ folder)...

EDIT: Clean flashing :p
[Nexus 6P Android Development] SixFourSix:
If I remember correctly, when flashing Arise Exodus Aroma installer, and using the "new Dolby Atmos" option, it ran script to change SELinux to permissive if not already. But on Leviticus, you are recommended to be permissive on your own.
[Nexus 6P Android Development] Muvolt:
I think you are right. The Open Gapps didn't change anything. There is still no way to sync exchange calendar and contacts through gmail and exchange services in Pure Nexus. It must be something that is related the specific rom.
[Nexus 6P Android Development] esoteric1311:
Try using nine email. Best exchange email app hands down
[Nexus 6P Android Development] relevant_placeholder:
Good to know. Historically it made mess on my side doing that but I'll challenge that preconception next time around.

---------- Post added at 11:57 PM ---------- Previous post was at 11:54 PM ----------

This happens only the first time after you boot into new update.

Armchair scientist only, probably rebuilding a lot of stuff in background.
[Nexus 6P Android Development] Az Biker:
Appreciate the response, but this is the first time it's ever happened after a new build, or new update, through all the dirty flashes and clean flashes..

I updated yesterday, have rebooted a billion times (give or take a few thousand) since then trying to figure this out.

That's why I was polling the thread's experience, because it seems odd to have a new issue, doing the same thing I've always done.

Neither here nor there now, I have cleaned flashed and will see if this problem persists...
[Nexus 6P Android Development] Muvolt:
Sorry, but using a paid app (and an expensive one) without a serious excuse, is not an option for me. Exchange contacts and calendar sync has always worked with other roms (and it still does with stock). What is going on with Pure Nexus in that area? It's a great rom, but I'm not going to give $10 for a function that is free in other roms.
[Nexus 6P Android Development] AzraelsKiss:
Play Store can be fickle at times on a dirty or clean flash of a new update. A few builds ago, it took forever for Play to start downloading anything after a clean install for me... The only thing I could do is leave it to finish on its own... Good luck!

Have a good one!
[Nexus 6P Android Development] ajm786:
It's more like you doing yourself a favor, really.

I use Nine. There is literally no comparison between it and the default OOTB Exchange Services that comes with Android: Nine is THAT much better.
[Nexus 6P Android Development] RED ZMAN:
The new ROM runs pretty fantastically, really like substratum after I updated last night.

Do have a problem that I need help with though.

I've been using Android auto for about the last month and everything is working perfectly. After doing a clean Flash and updating, the first time I hooked up my phone to my car Android auto worked as normal.

Every time I plugged it in since I have to go in and toggle USB from charging to data transfer and then back to charging before Android auto is able to be selected on my head unit.

I have uninstalled and reinstalled Android auto, and I have also restarted my phone.
[Nexus 6P Android Development] esoteric1311:
Exactly. I was hesitant at first also, ran the trial and made the purchase a couple days later. It's even better than many of the other exchange apps, and I test drove a lot of them.
[Nexus 6P Android Development] therock3181:
Agreed Nine is way better the Exchange Services. On top of that my employer does not take over my personnal phone. That is the wonder of Nine !
[Nexus 6P Android Development] ZooBaAr:
This has happened to me on numerous occasions, says its installing and it gets to the end and then says installing 1 of XX I just reboot and its all finished. No idea but reboot always fixes it.

z00
[Nexus 6P Android Development] Muvolt:
I'm perfectly happy with what gmail and exchange services offer. My problem is that there is no option to sync my hotmail

calendar

and

contacts

inside Pure Nexus. Google calendar app for example, doesn't have my hotmail account inside its list and the same happens with contacts app and my hotmail contacts.

Here is a screenshot:

http://i68.tinypic.com/e980me.jpg
[Nexus 6P Android Development] barry99705:
Try using outlook. I use that with my work exchange account and it works just fine. I like keeping my work and home accounts separate, kept forgetting to change which account I was sending from! :silly:
[Nexus 6P Android Development] RED ZMAN:
I think the above problem might be related to this new item.

Feature: ?*added ability to unlock and set a default for usb access

[MENTION=4395895]BeansTown106[/MENTION] [MENTION=6842057]nathanchance[/MENTION]

I found where the options for this feature are located but everything is greyed out and nothing can be turned on or selected, if anything is plugged in or not.
[Nexus 6P Android Development] fz798:
Aquamail FTW
[Nexus 6P Android Development] jawiler:
agree, aquamail is great!
[Nexus 6P Android Development] nathanchance:
That option is unavailable when you have a secure lockscreen. The code for that commit is pretty small and clean because it was done by George of Krexus (too hard to type his screen name LOL) so I doubt it is the root of your issue.