Android Pay with Root

Search This thread

sn0warmy

Senior Member
Jul 26, 2010
3,381
1,635
Boulder, CO
After flashing the updates and installing the test TWRP, I installed SU from /sdcard (I had placed it there before the update, and I don't format userdata.)

After rebooting, the permissions were good, but the xbin_bind was created. Just had to delete that and AP worked.

Hm, yeah the only thing I did differently from the instructions was used the no-force encrypt boot.img, rather than the OEM one, in order to remain decrypted. I wonder if that's a factor.

I didn't format userdata either.
 

dirtygreek

Senior Member
Nov 18, 2010
61
4
You guys are freaking awesome. Tested with newest update, SU 2.68, and I'm able to add cards. Assuming I'll be able to pay. Thanks!!!!
 

smokeythebear3

Senior Member
Jul 3, 2009
177
53
I was able to add my card yesterday, today I went to pay at a terminal and received a message about not being able to verify my software. Checked my su folder and the permissions for bin was correct, but my xbin folder I deleted got regenerated. Deleted it, removed my card and tried to add my card again, I'm getting the same software error. Have any of you guys been able to pay recently?

One thing I did that might have resulted in the problem is I installed xposed last night. Any of you guys have android pay working after installing xposed framework?
 
I was able to add my card yesterday, today I went to pay at a terminal and received a message about not being able to verify my software. Checked my su folder and the permissions for bin was correct, but my xbin folder I deleted got regenerated. Deleted it, removed my card and tried to add my card again, I'm getting the same software error. Have any of you guys been able to pay recently?

One thing I did that might have resulted in the problem is I installed xposed last night. Any of you guys have android pay working after installing xposed framework?

Can't have xposed if u want Android pay to work. no way around it
 

humblehyper

Senior Member
Nov 10, 2006
488
61
Try issuing 'su -' before that..

Sent from my Nexus 6P using Tapatalk

Thanks! I didn't see that my phone is asking to grant root LOL my bad.

---------- Post added at 03:57 PM ---------- Previous post was at 03:45 PM ----------

I still can't add any card on Android Pay. I have stock, xposed framework installed.
 

coldheater

Senior Member
Aug 18, 2010
157
18
Even easier on a 6P:
1. Root with CF-Auto-Root
2. Delete /su/xbin_bind with a rooted file explorer (I use ES File Explorer)
3. Reboot
4. Use Android Pay

worked for me, thanks

---------- Post added at 07:58 PM ---------- Previous post was at 07:57 PM ----------

I did everything and I'm getting following while trying to add new card...

I received that message as well and i did what the person said above and it worked!

Delete /su/xbin_bind with a rooted file explorer (I use ES File Explorer)
Reboot
Use Android Pay
 
Last edited:

kellybrf

Senior Member
Nov 16, 2007
1,390
352
I feel like this is a dumb question, but if I flash a custom kernel on the stock rom will it break pay?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    Guys,

    I made a post a couple of days ago over on the 5x forums: http://xdaforums.com/nexus-5x/general/passing-safetynet-root-t3307659. With this permissions fix I have Android Pay working without having to enable/disable root in the SuperUser app. Hoping it will work on 6p as well.

    Anyone willing to give this a try on the 6p? You would need a stock ROM (or possibly another ROM that previously worked prior to Google's recent change that broke it) with systemless root installed (I'm using 2.67). Basically all you need to do is:

    -Run "adb shell"
    -From the shell run "su"
    -On the # prompt run "chmod 751 /su/bin/"

    So far this has worked for me and a couple of others on the 5x (both adding cards and making purchases). Let me know if anyone can confirm that this works on the 6p.
    8
    For those who are confused, here are my steps for using Android Pay while rooted.
    1. I reset my phone to factory defaults by installing all original software.
    2. Unlocked the boot loader.
    3. Installed TWRP, but kept it read only.
    4. Installed Beta Super User 2.67
    5. Through Android terminal after entering su and allowing terminal emulator root access:
    6. rm -r /su/xbin_bind
    7. chmod 751 /su/bin

    Android Pay works, root is still active. Thanks all.
    5
    Can someone help explain to me the full process of a clean install with AP working. I've tried this multiple times and cant get it. Went full stock unrooted to begin. Then I flashed for systemless root and confirmed in SU(under settings it has an option to install Superuser in system, but cant and is greyed out if your on systemless). Flashed purenexus, gapps, Un-su, Terminaled the 2 echo commands, flashed SU 2.67. Booted. Android Pay no go. Edited permissions for su/bin to rwx r-x --x, Android Pay still a no go. Can annnnyone please clue me the F**k in.....
    Don't forget Busybox. Using Pure Nexus ROM, a clean flash is not necessary. I have dirty flashed Pure Nexus from the 203 to 218 build but had to reflash SuperSu 2.67 along with the echo commands and permission changes. Don't remember if I had to reflash busybox as well. Doesn't hurt to do it again.

    Do NOT use UnSu.zip at all, even on a clean flash. It removes the SuperSu app within the ROM and will not show up even after flashing SuperSu.

    *Delete any cards from Android Pay before proceeding.

    Flash rom (Pure Nexus recommended)

    Flash gapps provided by op (if clean flash)

    Twrp terminal echo commands

    Flash SuperSu 2.67

    Flash BusyBox

    Boot into rom and make sure in settings of SuperSu, under 'System', option is greyed out and reads 'not currently available in systemless root mode'.

    Change SuperSu bin folder permissions to 0751 (rwxr-x--x). (I use a root file explorer)

    Reboot

    Use SafetyNet app, which should pass. You should now be able to add cards to Android Pay.

    Test with a beverage machine so you're not holding up the line at a retail or grocery store.

    Sent from my Nexus 6P using Tapatalk
    3
    Guys,

    I made a post a couple of days ago over on the 5x forums: http://xdaforums.com/nexus-5x/general/passing-safetynet-root-t3307659. With this permissions fix I have Android Pay working without having to enable/disable root in the SuperUser app. Hoping it will work on 6p as well.

    Anyone willing to give this a try on the 6p? You would need a stock ROM (or possibly another ROM that previously worked prior to Google's recent change that broke it) with systemless root installed (I'm using 2.67). Basically all you need to do is:

    -Run "adb shell"
    -From the shell run "su"
    -On the # prompt run "chmod 751 /su/bin/"

    So far this has worked for me and a couple of others on the 5x (both adding cards and making purchases). Let me know if anyone can confirm that this works on the 6p.

    I just did it with Root Explorer. I changed the permissions for the /su/bin folder to 751. SafetyNet checks are passing now, but I haven't actually tried to purchase anything.
    2
    Odd, no matter what I do, including disabling SuperSU, it doesn't work. Only if I full unroot. Setup is stock OS on Nexus 6P, on the latest 6.0.1 "Q" release. Set permissions to 751...no go. Even tried unrooting, reinstalling the OS, re-rooting, and setting permissions. No dice.

    100%. I just reinstalled 2.67 via TWRP. I've got it back now. What would you recommend I do? chmod 751 /su/bin/ and remove the xbin_bind folder again? I'm reading on reddit about moving it and symlinking. How were you able to successfully do it? Thanks again!

    The contents of xbin_bind are: dexdump, su, wlutil

    If deleting that folder also deletes su, then it makes sense as to why root is gone.

    I'm systemless root with SuperSU 2.66. I deleted xbin_binds after I was rooted. All I did was chmod 751 (I did the same thing via ES File Explorer) and AP works for me.