yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] n0ahhh:
Hello everyone,

I'm a noob when it comes to Android customization. The Nexus 6P is my very first Android phone, and I've had it since release. Just a couple days ago I decided to try customizing and tweaking my phone, and I was pointed to Pure Nexus through reddit. So, after some experiments, I finally flashed TWRP and Pure Nexus, as well as rooted my phone. I honestly am not sure why I did all that, but I've been curious as to how to customize and tweak little things.

So my question is actually about the Xposed framework and Pure Nexus. It seems like a lot of things I've read say that Xposed is nice because you don't need a custom ROM (which is what Pure Nexus is, right?), so I'm a bit confused on whether or not there's any benefit to installing the Xposed framework on a phone that's running Pure Nexus? I'm mostly interested in minor visual tweaks, like a changing the clock font, or making things bigger, smaller, etc.. I want to learn a bit more about tweaking stuff in Android, so I figured I might as well jump in.

Does anyone have any experience with this? And if so, can anyone point me to some noob-friendly how-to-install guides?

Any & all help will be greatly appreciated... Thanks! :)
[Nexus 6 Android Development] Pkt_Lnt:
This is the Nexus 6 no pee thread, you might want to use the Nexus 6P thread since there are some differences in the phone software, even in Pure Nexus.
[Nexus 6 Android Development] Clark Joseph Kent:
http://xdaforums.com/showthread.php?t=3244563

There are no noobs, just Members that don't read or pay attention to detail.

Follow that link I provided....

✯ ✯ Υ Σ Μ Χ ✯ ✯
[Nexus 6 Android Development] n0ahhh:
Ah, I had the 6P thread open in a different tab! My mistake!
[Nexus 6 Android Development] Eddiemc:
[MENTION=4395895]BeansTown106[/MENTION]

Just jumped ship to this one.

Absolutely stunning work. Everything seems perfect and great customizations.

Flashed phh's superuser zip and installed the phh app, so far everything is supersmooth and no issues.
[Nexus 6 Android Development] phr0zen:
FTFY
[Nexus 6 Android Development] Formhault:
Can we uninstall the included Phone and Contacts apps, download the updated versions from Play Store and convert them to system apps? I mean would that cause any problems, or is it okay? Thanks in advance.
[Nexus 6 Android Development] Strephon Alkhalikoi:
What you're looking to do is possible, but not recommended. You'd lose the call blocking capability in the dialer app if you switched.
[Nexus 6 Android Development] kryptikal:
Intents?

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

Does Pure Nexus (I'm on 8-21) have any intents that can be used with Tasker to toggle Ambient Display and/or Expanded Desktop (or any other intents for that matter)? I tried searching through the thread for quite a while but couldn't find any references.
[Nexus 6 Android Development] Pkt_Lnt:
Try these apps.

https://play.google.com/store/apps/details?id=uk.co.ashtonbrsc.android.intentintercept&hl=en

https://play.google.com/store/apps/details?id=lt.andro.broadcastlogger&hl=en
[Nexus 6 Android Development] kryptikal:
Thanks for the suggestions. I just tried both but got nothing helpful that is related to either of those features... I'm guessing that beans just didn't expose any intents for those actions. I guess I'll put it in the request thread and see what happens with the next release.
[Nexus 6 Android Development] MrCeez:
I don't know if this has happened to anyone but all of a sudden my phone is showing the earphone connected icon.

I have no earphone attached and it's routing all the sound via the headphone jack.
[Nexus 6 Android Development] kryptikal:
You quite possibly have a wad of pocket lint/fuzz stuck inside the headphone jack causing the contacts to short.... trim down a toothpick or similar so it's skinny enough to fit and try to clean it out, then use some canned air afterward for a good one-two combo. It might not work for you, but I had a similar issue in the past and that's what solved it. Good luck!
[Nexus 6 Android Development] MrCeez:
Highly unlikely as my case has a cover for the headphone jack. But I will give it a shot. No pun intended
[Nexus 6 Android Development] deadcatsrule:
I updated my chainfire supersu to phh's supersu,and everthing is working fine,is it safe to take off my tinfoil hat
[Nexus 6 Android Development] cujo6801:
Are you Crazy!!!

That's the only thing keeping US all safe.....

Do your job....
[Nexus 6 Android Development] deadcatsrule:
My bad,:svetius: it won't happen again
[Nexus 6 Android Development] Pkt_Lnt:
Did Substratum and Masquerade request root? I cannot uninstall or install any theme with the change to phh SuperUser. Another person with a 5X gas the same problem if you check that thread.

http://xdaforums.com/showpost.php?p=68579507&postcount=514

http://xdaforums.com/showpost.php?p=68588491&postcount=522
[Nexus 6 Android Development] Pkt_Lnt:
And Masquerade? Can you remove or install themes?
[Nexus 6 Android Development] deadcatsrule:
No, I can not. I did not think to check because I don't change my theme settings.I'll look into it more after work when I have more time
[Nexus 6 Android Development] appileh:
Slowly i want to use my Nexus 6P and use my G4 as backup... Unlocked the bootloader en rooted... I want to install PN, but is it stable and will it receive the OTA to 7. 0 Nougat ? Or do i have to wipe everything and then install again a new ROM.. PLease advice me.
[Nexus 6 Android Development] Pkt_Lnt:
Ok, well the next question is where is the incompatibility with phh SuperUser, OMS, Substratum, Masquerade or Pure Nexus? [MENTION=4395895]BeansTown106[/MENTION] and [MENTION=6842057]nathanchance[/MENTION] any ideas or thoughts on this problem?
[Nexus 6 Android Development] githyanki:
When this happened to me, I plugged/unplugged some headphones a few times and it went away.
[Nexus 6 Android Development] Pkt_Lnt:
It will not receive the OTA for Nougat, no custome ROM will do that, you have to be full stock. Beans is working on the Nougat version of PN already, and yes you will have to start over with a clean flash. You also should use the 6P forums, since this is the Nexus 6 no pee thread. ;)
[Nexus 6 Android Development] nathanchance:
Have you granted Superuser permission to Masquerade? There should be no incompatibility but there may need to be some SELinux edits depending on what a log says.
[Nexus 6 Android Development] deadcatsrule:
Masquerade has not asked for permission
[Nexus 6 Android Development] Pkt_Lnt:
I can not get it to request root. I deleted the root permission for Substratum, cleared data and cache for both. When I launch Substratum it requests root, but not Masquerade. I've used the "dance" button in Setting, nothing I can do in Substratum will call Masquerade to request root. When I converted to PHH from SuperSU, I cleared all root permissions in SuperSU, then did a full uninstall, then went to recovery and flashed the osm0sis unsu zip. Rebooted, immediately back to recovery and flashed the phh superuser zip, booted and installed the phh app.

Everything requested root except Masquerade. Guess I'm at the point where I need to bite the bullet and do a clean install.
[Nexus 6 Android Development] nathanchance:
[MENTION=3605033]nicholaschum[/MENTION]
[Nexus 6 Android Development] Eddiemc:
Same here. I just got curious when you guys mentioned it not working so I had to try..

-Substratum has root, appears to work, and shows all themes applied. (it has write permissions)

-Android doesn't get themed. (reboot doesn't make a difference)

-Masquerade hasn't asked for root.

-Uninstall themes doesn't work (android still not being themed though..) but the themes show up in substratum under advanced manager as if they were applied.

Base: Clean install of purenexus with phh superuser (zip file and app), recommended gaps, and that's it.

Anybody with phh superuser manage to theme?

Anybody with supersu got it working and got some pointers?

---------- Post added at 06:23 PM ---------- Previous post was at 06:20 PM ----------

I'm on clean install with phh superuser, no luck. Maybe it's as phh issue if supersu enables substratum to theme..?
[Nexus 6 Android Development] tc0566:
Just checked mine as well Masquerade did not ask for su, and substratum asked for and has root but will not install or uninstall any themes. It was working on supersu but it doesn't now on phh superuser.
[Nexus 6 Android Development] Pkt_Lnt:
Well @#$%&! Masquerade it trying. Attached is a file with all the lines filtered for "masquerade".

09-08 09:26:27.383 874 2175 I ActivityManager: Start proc 20331:masquerade.substratum/u0a171 for activity masquerade.substratum/.activities.LoaderActivity

09-08 09:26:27.431 20331 20331 W System : ClassLoader referenced unknown path: /system/priv-app/masquerade/lib/arm

09-08 09:26:27.437 20331 20331 D Masquerade: Masquerade is now securing superuser permissions!

09-08 09:26:27.439 20345 20345 W rade.substratum: type=1400 audit(0.0:3254): avc: denied { execute } for name="su" dev="rootfs" ino=7812 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=file permissive=0

09-08 09:26:27.447 20331 20331 W ProcessManager: waitpid on failed exec failed: No child processes

09-08 09:26:27.448 20331 20331 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.BufferedWriter.write(java.lang.String)' on a null object reference

09-08 09:26:27.448 20331 20331 W System.err:	at masquerade.substratum.util.Root$SU.runCommand(Root.java:83)

09-08 09:26:27.448 20331 20331 W System.err:	at masquerade.substratum.util.Root.requestRootAccess(Root.java:20)

09-08 09:26:27.448 20331 20331 W System.err:	at masquerade.substratum.activities.LoaderActivity.onCreate(LoaderActivity.java:18)
[Nexus 6 Android Development] nathanchance:
This line is a problem:

09-08 09:26:27.439 20345 20345 W rade.substratum: type=1400 audit(0.0:3254): avc: denied { execute } for name="su" dev="rootfs" ino=7812 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=file permissive=0

That's an SELinux denial. Try setting yourself to permissive and clearing the app data to see if you get the prompt for root then.
[Nexus 6 Android Development] deadcatsrule:
as of now

This worked for me.I was able to uninstall then reinstall my theme while running phh supersu
[Nexus 6 Android Development] tc0566:
Use a terminal emulator? Like this?

SELINUX=permissive
[Nexus 6 Android Development] nathanchance:
setenforce 0
[Nexus 6 Android Development] Pkt_Lnt:
Bingo. That got Masquerade to ask for root and theme uninstall work now. Thanks a ton!!!
[Nexus 6 Android Development] deadcatsrule:
I used kernal auditor mod, but yes set to permissive,then cleared data on both masquerade and substratum, reset root grant for substratum, then reopened substratum, both asked for root,uninstalled theme,then reinstalled (magpie)
[Nexus 6 Android Development] Eddiemc:
Can you set selinux back to enforcing after masquerade gets root, or do you have to run with permissive in order to be able to theme at all?
[Nexus 6 Android Development] deadcatsrule:
I have it set back to enforcing,then rebooted without any issues for now
[Nexus 6 Android Development] nathanchance:
It looks like the denial is just for getting root but it might be for executing root commands. Going to talk to Nick here soon to see what's up.
[Nexus 6 Android Development] deadcatsrule:
I jumped the gun ,seems I can only make theme changes while set to permissive
[Nexus 6 Android Development] Pkt_Lnt:
Yuppers, I just did the same experiment and themes will not un/install with Enforcing SELinux.
[Nexus 6 Android Development] nathanchance:
SELINUXXXXXXXX
[Nexus 6 Android Development] tc0566:
Ok after restoring my backup I was able to uninstall my theme but all I get are errors when trying to install themes . In my apps list there is no masquerade only substratum and the data has been cleared with no help. I have not changed my supersu, I am still on chainfires and both masquerade and substratum show they have root permissions. Any ideas would be appreciated. Also I do not know how to get a log to even see what the error is.
[Nexus 6 Android Development] Pkt_Lnt:
Masquerade is a system app, so in Settings, Apps, click on the upper right menu and choose "show system" You need to leave SELinux permissive or you get errors it seems. Both install / uninstall are working for me now.
[Nexus 6 Android Development] tc0566:
But heres the thing ..on chainfires supersu it did work...I used 2 different themes and both were able to install and uninstall fine. My problem is it gives an error when compiling the overlays and never completes creating them.
[Nexus 6 Android Development] Pkt_Lnt:
Part duex. There are a couple logcat apps I like, SysLog or aLogcat, but the best is using adb on a computer. Here is a complete tutorial.

http://xdaforums.com/showthread.php?t=1726238

---------- Post added at 11:24 AM ---------- Previous post was at 11:17 AM ----------

You can run whatever SuperUser manager you are comfortable using. Yes, the learning curve on phh's SuperUser is much steeper.

Get SysLog and lets see why it does not work.

https://play.google.com/store/apps/details?id=com.tortel.syslog&hl=en
[Nexus 6 Android Development] tc0566:
All it says is exception trying to create a new apk for each layer apk.
[Nexus 6 Android Development] Pkt_Lnt:
That needs a logcat with complete details and probably should be posted in the substratum thread.
[Nexus 6 Android Development] Droidlovinyogi:
Which icons are those?
[Nexus 6 Android Development] orlzzt:
Did you make the icons too? They are totally badass

Sent from my Nexus 6 using Xparent Skyblue Tapatalk 2
[Nexus 6 Android Development] RayMcGrath:
tonight's look
[Nexus 6 Android Development] scott_65:
I'm quite interested in this, I'm a bit of an audiophile myself. I just don't have a ton of time usually to have looked through all of this before. But I've got UKM up and running now, as well as Synapse. Do I understand correctly that you use fauxsound on top of this, or your just using Synapse to adjust the audio? I'm not having any luck with either so far, but I've got viper running some fairly heavy mods to the audio already. I've turned it of at the moment but Synapse is saying there already a processor so it won't work. Do I have to switch back to Nuplayer or is it something else causing this?
[Nexus 6 Android Development] evilryry:
I dig the clock widget, what is that?
[Nexus 6 Android Development] wrongway213:
You need to control it through Synapse, but I am not sure what is causing your problem based on the description. What audio drivers do you have installed? Any other mods, ie Extreme Beats, Dolby, or just V4A? Viper doesn't mess this up so it's not Viper, not sure if you need to use NuPlayer or not to be honest. I don't think it matters. Let me know what audio stuff you have installed and I'll try to help you set it up.
[Nexus 6 Android Development] scott_65:
Nothing else, just all that was involved to get viper going. I hope to have a little more time tomorrow to sit down and mess with it some. It's supposed to be 102 so I'll be looking for some air conditioning at some point...
[Nexus 6 Android Development] RayMcGrath:
Fancy widget... 2x4
[Nexus 6 Android Development] shel692:
Look what started working shortly after Google dialer! Sorry if anyone else posted that and I missed it! First time I checked and it's working for me.
[Nexus 6 Android Development] dirtyjersey856:
I know its not it, but this reminds me of when Verizon (bastards) finally acknowledged Moto & Google bought Shammys.lol
[Nexus 6 Android Development] shel692:
Could be alcohol related, but I"m so confused right now :confused:
[Nexus 6 Android Development] teh_g:
I want to triple check before I install this tomorrow, does WiFi Assistant exist/work in this ROM? It looks like it does based on what is in the OP, but I'd love to confirm before I jump in!
[Nexus 6 Android Development] wrongway213:
Is everything else working fine in Synapse for you? I've never had an issue with FauxSound in Synapse on any ROM with any kernel that has FauxSound thus far and I always use Viper- what kernel are you using?
[Nexus 6 Android Development] 1Zero3forlife:
Neon icon pack in the Play Store

My Zooper Mods
[Nexus 6 Android Development] wally3614:
Settings.....yeah, I am digging this. Thanks to Brandon for exposing the ability to do this [MENTION=418212]beans[/MENTION] for pulling the commit for it :)

______________________

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Nexus 6 Android Development] Formhault:
Jesus, how did you make it look that way?! :eek: :eek: :eek:
[Nexus 6 Android Development] wally3614:
Team effort a couple of different people's ideas and hard work out together :)

Drew the Blue shade down a bit I think I like it this way better ? This will all be part of the Pure Nexus Theme

______________________

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Nexus 6 Android Development] Formhault:
Oh, right. I've seen you talking about it earlier - just forgot, lol.

Well... when it's ready, you are gonna make a thread for it, right? :D

1st screenshot... 2nd screenshot (bigger blue)... both look nice to me.
[Nexus 6 Android Development] wally3614:
Cool, thanks yeah I think I'm digging the taller action bar with the shadow. And I'm not sure on a thread, maybe just through G+ The Pure Nexus Project

______________________

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Nexus 6 Android Development] tc0566:
Yea I'm about over this the new substratum and supersu issue, It all worked fine till these new updates. How do I get complete details the logcate just says this for each new apk : Unfortunately there was an exception trying to create a new apk. It does not give any info as to what the error is.
[Nexus 6 Android Development] Pkt_Lnt:
Post the logcat, it will look similar what I pasted above.

edit - PHH has posted a new zip that might fix the issue. (How I love XDA!) :victory:
[Nexus 6 Android Development] tc0566:
It's way to long to post like yours where can I upload a zip file. And I'm not using phh's supersu this issue is happening with chainfires.
[Nexus 6 Android Development] Eddiemc:
Phh superuser and substratum: solved

http://xdaforums.com/showthread.php?p=68593397

Edit: to the peeps with issues, here's the file: http://phhusson.free.fr/superuser-r241.zip

Flash on top of the shh superuser you've got.
[Nexus 6 Android Development] Pkt_Lnt:
You might have orphaned files from switching back and forth. Did you try to uninstall in SuperSU, reboot, flash the unsu zip and then reinstall whichever one you want to use?

You can attach the zip to a post. I filtered mine down and only posted a few lines on the screen above, it was way bigger than that. Since it is apks failing to compile, it should go in the substratum thread.
[Nexus 6 Android Development] tc0566:
No I wiped my phone and restored the backup, this has had nothing but chainfires supersu on it.

Also now when trying to uninstall chainfires supersu,it won't uninstall the full unroot option does not work.

---------- Post added at 04:18 PM ---------- Previous post was at 04:06 PM ----------

Where do you get the unsu zip?
[Nexus 6 Android Development] Pkt_Lnt:
Here on XDA in a thread by osm0sis.

http://xdaforums.com/showthread.php?t=2239421
[Nexus 6 Android Development] tc0566:
Used that unsu and as soon as I rebooted the phone I get the popup to update my binaries for su, look in xbin and all files for su are still there. evidently unsu does not remove anything. Tried removing supersu with with rom toolbox pro ..it won't uninstall it either. As soon as I reboot it's still there asking to update the binaries.
[Nexus 6 Android Development] :
If you had read osmOsis' explanation, you would have noticed that unSU does not actually fully remove SuperSU, as it was actually not intended to do that.
[Nexus 6 Android Development] tc0566:
Not only did I flash a new boot but I also tried dirty flashing PN nothing gets rid of Supersu ..it's own uninstall option does not even work only thing that does work is wiping phone and doing a clean install.. from the op...It properly restores all the original files the SuperSU installer backed up (so, OTA friendly!) and removes any files added by the installer/app.
[Nexus 6 Android Development] MrCeez:
After leaving it alone for a while this mysterious phenomenon disappeared. All is well again. At least I have an excuse to get the pixel xl :)
[Nexus 6 Android Development] MrMiami81:
How can I move the Google phone app to system so that Tesla unread records my notifications? I deleted the Android dialer.
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Try using TB to make it a system app.
[Nexus 6 Android Development] MrMiami81:
Apparently it is a system app already but Tesla unread doesn't record notifications for it.. very strange
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Under the sound and notification tab in settings, all the way down under advanced, did you give it notification access?
[Nexus 6 Android Development] MrMiami81:
Yes
[Nexus 6 Android Development] Eddiemc:
Perhaps try this:

delete supersu app.

Twrp recovery format system (do not touch data) and cache

Flash purenexus and gapps

Flash phh superuser (if you want root)

In theory this should get you back without messing with any of your apps or settings but giving you a clean system.
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Weird.. tesla only needed that and of course under it's own settings I had to enable the phone app, but it works. Only thing I didn't do was delete the phone dialer that came with the rom. I froze it and installed the one from the play store instead.
[Nexus 6 Android Development] MrMiami81:
I'll try that when we get the Nougat upgrade and see what happens
[Nexus 6 Android Development] illb456:
Hey all, new to Pure and have 2 questions.

1: Is root not baked into the rom? No biggie if it isn't, just want to know if I screwed something up somehow when flashing.

2: Any harm in not using the recommended GAPPS and using something like Open GAPPS? I want to use the stock package as I actually use most Google apps and have had bad luck moving them to /system after the fact.

Search on mobile seems to be broken so I couldn't find any answers. Thanks in advance all!
[Nexus 6 Android Development] nathanchance:
1. Correct, this is answered in the FAQ in the second post.

2. No, no harm in using Open GApps.
[Nexus 6 Android Development] ttabbal:
Correct, the ROM is not pre-rooted. So flash SuperSU or phh root from recovery after flashing the ROM.

Most Gapps packages should work fine. Just make sure you mention which one if you have problems with Gapps.
[Nexus 6 Android Development] old_fart:
Ok Google ( hello, are you there ? )

I was reading this on AP just now and I was then wondered if ( like David - the article author ) this nexus feature was working for me or not . . .

http://www.androidpolice.com/2016/0...t-ok-google-commands-while-the-screen-is-off/

I am running Nova desktop and so the feature toggle is within it. . . I tried and tried and tried...

.

Yikes ! the "Ok Google' listening is broken for me . . . :(

.

Anybody else on PN have this running okay ?
[Nexus 6 Android Development] D0CTOR:
"OK Google" works perfectly for me. Go to the Google app. Hamburger menu Voice/"Ok Google" detection/Check all, and train voice FTW!
[Nexus 6 Android Development] old_fart:
.

First, thank you, it works . . .

.

I am pleased and grumpy and the same time. I did not take your path but the path provided by the Nova Desktop app settings. Because that was the way that I remembered the last time I turned it on to play with it . . . The Nova app took me right to the 'Ok Google' voice setup and ( I went thru it over and over like a stubborn old dog . . . ) and it never worked. Groan . . . Then I took your directions and ( wow ! ) the Google app immediately asked me "Are you in ?" - ie. an app initialization / front door sequence that the Nova app had no clue about.

.

Well, live and learn ( maybe ) .
[Nexus 6 Android Development] D0CTOR:
As always, glad to help!