Saturday, 16 January 2016

Android Pay & Root - sort of working! (LP)



While playing with my phone I was surprised to find out that Android Pay will work on our Z3 Compact with an unlocked bootloader. This means you don't have drm keys, but you can alternate between having root and using Android Pay without too much trouble.

For simplicity's sake, I backed up data and drm keys, then wiped and then went back to stock 5.1.1. using PC Companion (my D5803 received 23.4.A.1.200). Then the phone was unlocked (either through fastboot or flashtool). I installed AdvancedStockKernel which comes with TWRP, but you could also fastboot flash a recovery. SuperSU (I'm using 2.66 beta) and its uninstaller (UPDATE-unSU.zip) are copied to the phone along with any other flashable zips, including xposed. If I understand it correctly, SuperSU 2.66 beta is not systemless on 5.1.1 which should mean more compatibility with root apps.

When you want to use Android Pay, uninstall SuperSU in recovery. Xposed does not have to be uninstalled. My phone, which has too many apps, takes about a minute to boot to a state where Android Pay works. When you're done with Android Pay, go back to recovery and install SuperSU again.

Hope this helps someone. If there's interest I could write a detailed guide.

Ideally, it would be best to have a locked bootloader (for drm), root and Android Pay, but it'll take someone much cleverer than me. :)

Download from this link

No comments:

Post a Comment