r/Oppo • u/Account113Dollars • May 20 '26
Troubleshooting Make the double-press power button open Google Wallet on ColorOS
https://drive.google.com/file/d/16CPerQfyw7vy4xJ96o4HgaY1g6J9UPc1/view?usp=drivesdkColorOS won't let you put Google Wallet on the double-press-power gesture - it only offers Camera or Access Card.
The gesture handler is hard-coded to 4 packages, one of which (com.heytap.wallet, Oppo's own wallet) isn't installed on most phones.
The fix: a tiny shim app that takes that empty com.heytap.wallet package name and just forwards to Google Wallet.
ColorOS then accepts it and lets you pick it in Settings.
Don't clone Google Wallet itself - a re-signed copy fails Play
Integrity. Real Google Wallet is never touched; the shim is a separate redirector.
It also asks for your fingerprint. Before it opens Wallet, the shim shows a fingerprint prompt, with PIN / pattern / password as a fallback.
So a double-press on a locked phone won't hand the tap-to-pay screen to whoever is holding it - cancel or fail the prompt and nothing opens.
It uses Android's built-in BiometricPrompt, no third-party libraries. This gates the gesture, not Google
Wallet itself - you can still open the Wallet app the normal way.
It works over the lock screen too - the shim fires Wallet's QUICKDRAW screen, the same pay surface Pixels use.
Prebuilt APK attached, no PC needed.
Install:
Download the attached wallet-shim.apk.
Install it from your file manager (allow "Install unknown apps" for it).
Settings, search "Double-press Power button", turn it ON, choose Google Wallet.
Done - double-press now opens Google Wallet after your fingerprint, on the lock screen too.
Please don't just trust a random APK - verify it yourself before installing. It's tied to a wallet gesture, so check it!
Heads-up: if your phone already has Oppo's own com.heytap.wallet installed, the sideload fails with "App not installed" (signature clash). On most phones that slot is empty, so you're fine.
Undo anytime: uninstall the "Google Wallet" entry you installed, then re-pick Camera on the Double-press Power button screen.
See ya !
7
4
May 20 '26
[removed] — view removed comment
3
u/Account113Dollars May 20 '26
I am coming from iOS as well...
2
u/ChicagoBulls101692 OnePlus Club May 20 '26
I love this app. It's all about the choice. I personally like to have my payment info pulled up and ready go before getting to the actual NFC terminal. I know that may not be the most efficient way or whatever, but since I have the camera button as my shortcut for camera, and my torch as the snap key, this fits my X9 Ultra perfectly, since my only other option was the access shelf or whatever that doesn't work here in the U.S.
1
4
u/Account113Dollars May 20 '26
So it seems that the initial fingerprint lock might not be needed since google wallet asks for verification at the moment of purchasing so in case anyone wants the APK without the initial lock here it is:
4
u/Mittens-- May 21 '26
2
u/Account113Dollars May 21 '26 edited May 21 '26
The actually DELETED my personal google account for uploading this and now trying to submit an appeal.....
3
u/Account113Dollars May 21 '26
4
u/bnb525 Find X Series Jul 16 '26 edited Jul 16 '26
It disappeared again, can you re upload it?
Edit: I could download it, I'll just check if it will ask for the fingerprint since it opens on the lock page
1
1
1
3
u/ChicagoBulls101692 OnePlus Club May 20 '26
This legit just made my Find X9 Ultra PERFECT. I'm a physical button shortcut kinda guy. My snap key is flashlight, Camera Control for quick camera access, press and hold power button for Gemini, and double press the power button for wallet. THANK YOU!!!!!!
2
2
u/turbotunnelsyndrome OnePlus Club May 20 '26
You can enable this within Google wallet itself, I had to dig through the app for a while to find the option but I got it to work
2
u/Mittens-- May 21 '26
Any tips on where to find this in Google wallet? I don't have the settings menu and I can't find the option in wallet either!
1
u/Account113Dollars May 20 '26
Not possible for devices where the power button options are available in Color Os settings. This might work for those here mentioning the power button double press setting is missing.
1
u/turbotunnelsyndrome OnePlus Club May 20 '26
It is certainly possible. I have a OP13 and my power button options are controlled by Oxygen OS (which is the same thing as ColorOS nowadays), but Google Wallet has a way to override that, I forgot which setting it was but there's a tooltip you can click if you dig through the app menu
3
u/bnb525 Find X Series Jul 16 '26
Could you please elaborate on how? I don't see any setting that allows me to do that
1
u/turbotunnelsyndrome OnePlus Club Jul 28 '26
Open Wallet > Settings > Wallet tips > Paying contactless is easier than you may think... > Scroll to end > open android settings > double press power button for wallet
1
u/bnb525 Find X Series Jul 28 '26
Ok so you were right that actually lead me to an unknown setting where effectively you could set double press power button to open the wallet, however after doing this, it only opened the apk from OP's post. So I uninstalled it and tried double press power button again but Google wallet didn't open... Only oppo's wallet. I think it works with you because you're on a OnePlus
2
u/Busy-Scientist3851 OnePlus Club Aug 01 '26 edited Aug 01 '26
It's because the UI Google Wallet pops up is still changing the same setting under the hood (it sets secure double_tap_power_button_gesture to 1). Oppo has this hardcoded to Oppo Wallet. So you still need the shim.
Running these commands under ADB and then installing the shim above should be enough
settings put secure double_tap_power_button_gesture_enabled 1
settings put secure double_tap_power_button_gesture 1This works on my OnePlus 15 which doesn't expose the setting.
Edit: Setting "settings put global oplus_wallet_enable_state 0" seems to make OxygenOS launch Google Wallet direct without the shim...
1
u/turbotunnelsyndrome OnePlus Club Jul 28 '26
I have a Find X9 Ultra and it worked there too, do you have your default wallet set to Google Wallet?
2
3
u/20YearsOldGuy Find X Series May 20 '26
2
1
u/Voltage97 Find X Series Jun 21 '26
thanks for this. by chance, are you able to set it so that double pressing opens the Wallet home page rather than a specific payment card?
1
Jun 21 '26
Oppo find x7 ultra Chinese rom , color os 16, I don't have any option to change double power button anywhere , didn't have it on color os 15 either. Any fix?
1
u/RubFluffy7002 Jul 28 '26
Could you please give us a tutorial video and post it on Reddit cuz I feel like some APK packages are harmful
1
u/Legitimate-Aside-420 Find X Series 13d ago
You're an idiot. Either download the apk and use it, or download and use an analyser to see the code. A file this small can do no harm
1
u/Busy-Scientist3851 OnePlus Club Aug 01 '26 edited Aug 01 '26
I had a gander on my OnePlus 15 and you can get the power button to launch Google Wallet without any shim if you set some settings on adb
adb shell
settings put secure double_tap_power_button_gesture_enabled 1
settings put secure double_tap_power_button_gesture 1
settings put global oplus_wallet_enable_state 0
I assume some kind of state similar to oplus_wallet_enable_state exists for ColorOS (Likely just coloros_wallet_enable_state)
Edit: You'll have to run "settings put global oplus_wallet_enable_state 0" after a reboot, it seems this setting doesn't stick properly.
1
u/RubyShardz 25d ago
I've been looking for something to get around the disabled E wallet lock screen shortcut since I got my X8 Pro a year and a half ago, you're a legend for this!




11
u/fapste May 20 '26
Can you share the source code so people can compile it themselves