[Nexus 6P Themes and Apps] micmars:
*******MAY 2016 UPDATE

Android Pay is working on the PureNexus May 2016 layers build

To attain this, delete the following files

com.google.android.camera2.xml

Located in system/etc/permissions

And

com.google.android.camera2.jar

Located in system/framework

*******BEGIN PRELIMINARY NOTES*******

-->To go from system root to systemless root,

please use the SuperSU Uninstaller zip linked below and not the unroot feature built into the SuperSU app

-->To fully unroot if on systemless root or system root, use the unroot feature in the apk

*******END PRELIMINARY NOTES*******

If, like me, you've become increasingly desirous of having Android Pay functioning on your rooted device, yet preserving that which you love about your custom setup (see thread title), this thread attempts to provide the resources you need to attain your objective.

For me, I believe that the tipping point came as a matter of principle...I wanted a feature from which I'll likely derive zero utility.

Let me be clear: I see no use whatsoever for Android Pay, and yet, like most Americans, I absolutely must have it.

I found myself returning to the same excuse, "I have a debit card, why do I even want this goofy feature?" That's a good question, but the answer is equally obvious...because it exists.

And I'd see yet another user getting the bloody thing to work on a rooted, custom rom. I hope you can see the urgency.

Just like the one ring to rule them all, the lure of Android Pay is really due to its power that it holds over us...

We Wants It...Stupid HOBBITSES

Many users have grown weary of wading through...

-->Disparate posts within rom threads

-->Dedicated threads for various elements of in the title of this thread, now scattered across xda like the diaspora of a lost tribe (how many Viper4android threads are there?)

-->Posts cross-linked within other threads for a given feature

My reticence would again solidify every time I read another post or series of posts about the precise means a given user went about obtaining Android Pay, and the commensurate loss of a different feature...or, no mention of a feature about which I cared.

So this thread is an attempt to redress these issues; specifically, after reading this, you should be able to have...

1.1-1.5. Systemless Root - If Using System Root

1.6. Updating Systemless Root Versions

2. Properly Themed Apps

2a. Hard-coded themed apps

2b. Theme Ready Google Apps

3. Layers

4. Viper4android that does not break your AUX jack or Chromecast

5. Busybox

6. Android Pay

1. Systemless Root

Whether you are running stock, or one of the few AOSP roms claiming to have Android Pay functioning on your device, this is your first step

If you are running a rooted rom, installing a pre-rooted rom, or want to flash a rom that is pre-rooted, to attain Systemless Root, you'll need the following resources...

1.1. The Latest Systemless SuperSU Zip (scroll to the bottom

http://xdaforums.com/showpost.php?p=64161125

1.2. System Root Removal Tool /unSU

http://xdaforums.com/showpost.php?p=63615067

1.3. Busybox for All Devices (scroll down to the section labeled "Busybox Installer")

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

1.4. These Two Terminal Commands (have them in a notepad file, on your computer, or just, literally written down on a piece of paper)

echo SYSTEMLESS=true>>/data/.supersu

echo BINDSYSTEMXBIN=false>>/data/.supersu

1.5. To Install Systemless Root

1.5.1. Boot into Recovery

1.5.2. Install Pre-Rooted Rom + Gapps if Needed

1.5.3. Flash unSU Zip

1.5.4. Go to TWRP Main Menu, Go to Advanced, Terminal Command, type each command exactly as above, one at a time), hitting return in between each line

***you'll only do this once if you plan on staying on systemless root

1.5.5. Flash Systemless Root Zip

1.5.6. Flash Busybox Zip

1.5.7. Flash Custom Kernel if Desired

1.5.8. Fix Folder Permissions

-->Boot your device

-->Using Root Explorer or similar app, navigate to the folder labeled "su," as below...

-->Then hard press on the folder labeled "bin" and select the pop-up option for permissions, so below...

-->Set permissions to 0751, or deselect the check boxes as below...

1.5.8. Keep Reading, or...

Boot to System if This Is All You Want

1.6. Updating Systemless Root Versions

If you're already running Systemless Root and wish to upgrade to the latest version, follow these steps...

1.6.1. Flash latest version of SuperSU

1.6.2. Flash custom kernel if desired

***Note that if you omit the second step above, and wish to stay on a stock, no force encryption kernel (like one that ships with PureNexus), there is no need to reflash the kernel that came pre-installed with your rom. Just flash the latest version of Systemless Root.

2. Viper4android

2.1. Grab a Zip from the Viper4android Atmos Thread Here (some recommend the Viper4android Atmos Sony Beats Edition...so why the heck not?)...

http://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137

2.2. Flash in Recovery

3. Properly Themed Apps

If one wants properly themed apps, and since the Gapps packages that allow working Android Pay are minimal, one must add them

3.1. Hard Coded Themed Apps

Using the Team BlackOut Updater (linked below), download those you want and flash in recovery...make sure to grant the app write permissions to your internal SD storage

http://bit.ly/1OcThZg

3.1.1. Download the Gapps that you want, flash in recovery

3.2. Theme Ready Google Apps

Go to this thread, download what you want...

http://xdaforums.com/android/apps-games/apps-themeable-hangouts-layers-cmte-t3113192

3.2.1. Flash is recovery

3.3. All At Once in TWRP, in Sequence

You can and should flash all of these one after the other in TWRP...here are a few reasons why...

3.3.1. If you're using Gmail, and the minimal Gapps doesn't include it, you'll now have it waiting for you upon boot

3.3.2. If you've got a ton of downloaded music from Google Music, it'll still be there waiting for you if you flash Google Music during install (ie, you'll not have to download all of your music again)

3.3.3. Do you really want to set up hangouts, Google Plus (I turn off notifications and sync for this app...why do that every bloody time...), etc?

3.5. Layers

3.5.1. Install the latest version of the layers manager, and install whatever layers your want

3.6. Busybox That Works

You've already done that

3.7. Android Pay

3.7.1. Download from the Play Store, Add Cards

3.7.2. Note that not all cards will work...it's not the fault of the tools you've been given on this site...it's symptomatic of the reality that none of your cards is issued by participating Android Pay partners

4. Test Android Pay

4.1. You can download SafetyNet Helper Sample from the Play Store...

https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample

The app is temperamental, and can throw up a false negative...but you will get a positive result most all of the time

4.2. Buy a dang soda, pack of gum at CVS, some cheap gift from Walgreens...I don't care from where...to see if it works (it should)

5. Odds & Ends

A few items of note...

5.1. All of your previously apps granted root permission will need so again

5.2. Stay on top of themed apps...layers can never properly theme certain apps if there's a stock version in the data partition of your device.

5.3. Thank all of the devs whose tools are linked in this thread, donate to them, and be sure to buy anything that they may have for sale...they are the best in class.

5.4. Many things may or definitely will break Android Pay, even if you've set it up properly, including Xposed, theme engine, some DPI changing apps, etc. Just be mindful that this could change if you install other items.

6. Credits

[MENTION=6842057]nathanchance[/MENTION], for being such a good dude

[MENTION=251020]inffy[/MENTION], for being helpful at all times, while maintaining near pitch-perfect, subtle venom

[MENTION=4544860]osm0sis[/MENTION], for just everything he has provided

[MENTION=4395895]BeansTown106[/MENTION], for building his rom, and not just stumbling but actually figuring out what prevented Android Pay from working on his rom

[MENTION=4603975]daveyannihilation[/MENTION], for being such a great guy, themer, forum moderator, and finest pineapple lover I've ever encountered

[MENTION=3200478]Woody[/MENTION], for having done the heavy lifting on most all of this prior to me

Chainfire

Viewers like you that contribute to Public Television...thanks for your support

Good luck!