jeudi 19 décembre 2019

Enable Quick Wallet Access for Google Pay on any rooted Google Pixel smartphone running Android 10

During the early Android Q betas, a new gesture called “show cards & passes” was discovered in Settings. According to its description, this feature allows one to access their credit cards, passes, and tickets from Google Pay, as well as an emergency information card, in the power menu. When Google launched Android 10 for the general public, they put up a webpage detailing some of the new features of the new OS. One of the features was called “quick wallet access,” and its description matched what we saw in the early Android Q betas. However, this text was removed from the page, and the feature never appeared in any Android 10 release – even with the launch of the Pixel 4 in October and the first “Pixel Feature Drop” in December. We know the feature is still there, though, because we managed to activate it in mid-September, and we’ve confirmed it still works today. Now, we’re sharing our mod to enable Quick Wallet Access on your own rooted Pixel smartphone.

Enabling this feature will change the UI of the power menu that you access by long-pressing the power button. Instead of a column of buttons aligned towards the right-hand side, the new power menu consists of one large and one smaller card aligned horizontally towards the bottom of the screen. At the top of the screen, you’ll find a row of cards that you can swipe left or right through. Your emergency information and any cards you’ve added in Google Pay will appear here. The purpose of this “quick wallet access” feature is to make it so you don’t have to open the Google Pay app to switch your active card. All you have to do is long-press the power button and swipe left or right to pick your desired card.

In order to make a payment after changing your active card, you’ll still need to unlock your phone. If you set up Face Unlock on the Pixel 4, you’ll be able to immediately unlock your phone – before quick wallet access even shows up in the power menu – to make a payment. That’s why I was expecting this feature to appear in the first Pixel Feature Drop for the Pixel 4, but fortunately, we know this feature won’t be a Pixel 4-exclusive. The changelog for the December 2019 update references this feature, suggesting it could be coming to the Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4, and Pixel 4 XL. Google says it’s an “experimental feature,” though, so it might never roll out officially. If they do roll it out, it’ll likely come to the Pixel 4 first before rolling out for older Pixels. If you would rather not wait, or you own a first-generation Pixel phone and want to get in on the fun, you can try my mod linked below.

Requirements:

  • SystemUI with the quick wallet access feature baked-in. This includes the Google Pixel, Pixel XL, Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4, and Pixel 4 XL on Android 10. This will very likely not work on non-Pixel smartphones unless you’re running a custom ROM such as Pixel Experience that uses Google’s SystemUI.
  • Root access with Magisk.

Steps:

  1. Open Magisk Manager and install the “SQLite for ARM aarch64 devices” Module from the Downloads section. Note: If you already have an SQLite binary from TitaniumBackup or Termux, then the installer script will detect it so you won’t need to install this separate SQLite binary. If so, proceed to step 3.
  2. Reboot your phone.
  3. Download my Magisk Module and install it in Magisk Manager: GooglePayPowerMenu.zip
  4. Reboot your phone.
  5. Go to Settings > System > Gestures and check to see if “Cards & passes” appears in the list. Make sure that the feature is enabled.
  6. Long-press the power button to check and see if the new power menu UI is showing. At the top, you should see an emergency information card and any cards you’ve added in Google Pay.

Troubleshooting:

You may have to wait a bit or reboot once more for the quick wallet access feature to start working. For me, it appeared after I opened the power menu a second time. Also, if you’re having trouble adding a card to Google Pay because of SafetyNet, then be sure to install the GPay-SQLite-Fix Magisk Module.

Uninstall:

Lastly, if you want to completely uninstall this mod and revert the power menu back to the original UI, you must do the following:

  1. Uninstall the module in Magisk Manager
  2. Delete the 2 quickwalletaccess scripts from /data/adb/service.d
  3. Run the following shell commands:
    adb shell settings put secure global_actions_panel_debug_enabled 0
    adb shell settings put secure global_actions_panel_available 0
  4. Reboot

I would like to thank XDA Senior Member 73sydney, jcmm11, adpoliak, and all others involved in the GPay-SQLite-Fix Magisk Module as I borrowed the code to check for an SQLite binary.

The post Enable Quick Wallet Access for Google Pay on any rooted Google Pixel smartphone running Android 10 appeared first on xda-developers.



from xda-developers https://ift.tt/36UAFOG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire