4

[Wear OS App] Enable Google Pay in unsupported countries using Permanent Proxy!

 1 year ago
source link: https://forum.xda-developers.com/t/wear-os-app-enable-google-pay-in-unsupported-countries-using-permanent-proxy.3980625/page-34#post-87608183
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[Wear OS App] Enable Google Pay in unsupported countries using Permanent Proxy!

sanderh

Senior Member
May 23, 2007
I have a Samung S21 Plus with Google Pay on it (ABN Amro which supports GP since last month). Got a Samsung Watch 4 today with the expectation that it GP would work on it when using NordVPN (put on Germany permanently) and disable Location and Wifi on the GW4. Unfortunately it does not work.

The notifiction under NFC settings on the Watch I get is: "No payment-apps installed".

Alex Ciulacu

Member
Sep 3, 2021
I have a Samung S21 Plus with Google Pay on it (ABN Amro which supports GP since last month). Got a Samsung Watch 4 today with the expectation that it GP would work on it when using NordVPN (put on Germany permanently) and disable Location and Wifi on the GW4. Unfortunately it does not work.

The notifiction under NFC settings on the Watch I get is: "No payment-apps installed".

yes.under payments there is no app, but should not be a problem. do you have the gpay app installed?

Reactions: Kohzamabu1999

sanderh

Senior Member
May 23, 2007
Yes I have but it is only shown on my phone, not on the Watch 4

zenguru84

New member
Sep 7, 2021
I have a Samung S21 Plus with Google Pay on it (ABN Amro which supports GP since last month). Got a Samsung Watch 4 today with the expectation that it GP would work on it when using NordVPN (put on Germany permanently) and disable Location and Wifi on the GW4. Unfortunately it does not work.

The notifiction under NFC settings on the Watch I get is: "No payment-apps installed".

you should install the google pay app on your smartwatch first. then you add your card to the watch as well. i think you'll have to call your bank to generate a token for your watch, after you initialize the enrolling process on your watch.

Alex Ciulacu

Member
Sep 3, 2021
Yes I have but it is only shown on my phone, not on the Watch 4

you have to install the gpay app from play store from the watch.if you don't find it in the store on the watch, you need a google account with payment profile from a country that supports gpay on the watch. which country are you?

sanderh

Senior Member
May 23, 2007
Thanks for your reply and input Alex. That makes sense to me. The play store cannot find Google Pay even if I put my VPN on a GP supported country. Also tried to empty my google play store memory and cache but this also does not work. Does this mean I will have make another google account and start from scratch?

My physical location is the Netherlands.

Alex Ciulacu

Member
Sep 3, 2021
Thanks for your reply and input Alex. That makes sense to me. The play store cannot find Google Pay even if I put my VPN on a GP supported country. Also tried to empty my google play store memory and cache but this also does not work. Does this mean I will have make another google account and start from scratch?

My physical location is the Netherlands.

yes, you need a new payment profile even on your account. you can have more than 1 payment profile, and select the one you need. Then the shop is selected based on the profile. you don't need VPN for this. after you install gpay try to activate without VPN...it may work, or at lest worked in my case even if the country was not supported on the watch 1 week ago.

I have a Samung S21 Plus with Google Pay on it (ABN Amro which supports GP since last month). Got a Samsung Watch 4 today with the expectation that it GP would work on it when using NordVPN (put on Germany permanently) and disable Location and Wifi on the GW4. Unfortunately it does not work.

The notifiction under NFC settings on the Watch I get is: "No payment-apps installed".

We still have yet to find a way to enable Google Pay on Wear OS 3 watches. The old VPN- or Proxy method doesn't seem to be enough anymore. We need to find and eliminate all the ways the watch can get its location. I plan to get a Wear OS 3 watch in the end of the year (I'm not very fond of the Samsung software), so until then there's not much I can do to help aside from thinking along.

I only have an emulator. On that the external IP doesn't change when I set the proxy with permanent proxy. Google Pay I can install from here https://www.apkmirror.com/apk/googl...wear-os-2-135-389276953-android-apk-download/ using adb and I can set up a card but that's as far as I get because the emulator doesn't have NFC.

Assuming Google Pay still uses the old method to check whether it should enable or not, you'll need a US primary Google Account on the watch, a proxy on the watch or a VPN on your phone for the Wear OS app (or the Samsung watch app, assuming that's a thing) and aside from that your watch shouldn't have access to any other location and network points that could give away its location.

Aside from that, doesn't Samsung pay work with ABN in the Netherlands? I remember that bank supporting other Wearables before Google Pay.

Last edited: Sep 14, 2021

andreas1889

New member
Oct 20, 2019
I agree! But I didn't expect this increase in the number of countries to happen so quickly after the last increase. Greece used to be out of luck for the last increase for instance, so here's to hoping we're next!

Wanna hear about another fun one? The Cards and Passes section in Google Pay on your phone. Could be useful to quickly whip out a loyalty card for a store, or, you know, a Covid QR code. But no, the Netherlands can't have that for reasons completely unbeknownst to me because Google says so.

Use a vpn on your phone germany let's say, set the watch to only connect to your phone for internet via Bluetooth.

Restart the watch and then go to see if the gpay app appears, if not install it from the google play and add your gpay supported card it will work for sure...

sanderh

Senior Member
May 23, 2007
Is there a way found yet to add GP to a GW4 (WearOS) for a non-supported country?

algemeenkennis

New member
Nov 7, 2021
The shortcuts don't work on SSH from the browser while trying to set up a Google Cloud proxy server. I can't search a line. Any suggestions?

H4ckerMan

New member
Nov 15, 2021
The shortcuts don't work on SSH from the browser while trying to set up a Google Cloud proxy server. I can't search a line. Any suggestions?
SSH.png
Had the same problem, used the key shortcuts to get around it!

algemeenkennis

New member
Nov 7, 2021
View attachment 5458783

Had the same problem, used the key shortcuts to get around it!

Thanks but that didn't work as well :/

YESSS finally!!
I won't be needing my proxy anymore Now let's hope my bank gets Google Pay support soon...

Let's see if there are still people in unsupported countries that need it.

Reactions: poeliev

shelmy21

New member
Feb 8, 2020
I have a Pixel watch and I installed Permanent Proxy as I am in Egypt. I got Google Pay working but now app will not update and the fitbit app won't sync. What should we do about that?
I have a Pixel watch and I installed Permanent Proxy as I am in Egypt. I got Google Pay working but now app will not update and the fitbit app won't sync. What should we do about that?

Maybe try another proxy? Never tried permanent proxy on Wear os 3. All I heard was from people with a Galaxy watch that it didn't work properly on Wear os 3 at all...

shelmy21

New member
Feb 8, 2020
Maybe try another proxy? Never tried permanent proxy on Wear os 3. All I heard was from people with a Galaxy watch that it didn't work properly on Wear os 3 at all...
I tried multiple proxies and they all stop the watch from syncing with fitbit or updating apps
I tried multiple proxies and they all stop the watch from syncing with fitbit or updating apps

Okay then maybe the proxy setting in Android has stopped working or started to behave differently :/ not much I can do about that. It was a hack before anyways. If you're comfortable with it, you can try to set some other global or secure settings on your watch via ADB to try to make the proxy work. In the first post i explain which settings permanent proxy sets

Top Liked Posts

  • Simple app to set the built-in proxy setting on a Wear OS device and enable geo-restricted apps like Google Pay in unsupported regions!

    Sometimes big companies decide that Geoblocking is a good idea. I don't agree. So that's why I created this Wear OS app to allow users to use their watch as if they were in another country. This means you can use certain payment apps or otherwise geospecific apps wherever you are in the world!

    The app uses Android's built-in http_proxy command that turns on a proxy for the whole system and which normally can only be accessed using a computer and ADB Shell. This app however, uses the "ADB over Bluetooth" functionality of the watch to enable the proxy by itself. This can even be turned on at boot!

    Installation
    Method 1: Download the latest mobile-release.apk from https://github.com/Jolanrensen/PermanentProxy-for-WearOS/releases or from https://labs.xda-developers.com/store/app/nl.jolanrensen.permanentproxy and install it on your Android phone. Next, go to the "Apps on your phone" section in the Play Store on your Wear OS watch. Install Permanent Proxy.
    (Google removed this ability sadly)

    Method 2: Download the latest wear-release.apk from https://github.com/Jolanrensen/PermanentProxy-for-WearOS/releases. Install it on your Wear OS watch directly using ADB.
    Wear installer can also be used:

    Wear Installer makes it easy to sideload Wear OS apps again

    A new app called Wear Installer makes it easy...
    www.xda-developers.com www.xda-developers.com
    Get started
    To get started, first enable the Developer Options of your watch, which can be achieved by going to Settings -> System -> About and tap the Build number until you are a "developer". Next, go to Settings -> Developer options and enable "ADB debugging" and "Debug over Bluetooth". Finally start up Permanent Proxy, request permission and press "Allow" or "Always allow this Computer" if prompted. After requesting permission, ADB can be turned off again to save battery, unless you want to turn off the proxy completely.

    Now you can get started! Simply enter a proxy address and port, enable it (and on boot if you like) and you're done!

    Proxy services can be found online and can be from any country. However, do make sure you completely trust the proxy you chose before you enter it! All the data of your watch might be sent through that proxy, even sensitive data, so act at your own risk. I personally recommend strongly to create your own proxy. This can be done easily using the (trial of) Google Cloud. A tutorial can be found below:

    Having trouble getting permission?
    Some older watches are not powerful enough to get Secure Settings permission by itself using my method. If this is the case for your watch, you will need a PC to grant Permanent Proxy permission. The instructions are also available in the app description.

    First make sure to connect your watch to your PC via ADB. You can Google how to do this, there are lots of tutorials. When your watch is connected, use the command
    Code:
    adb shell pm grant nl.jolanrensen.permanentproxy android.permission.WRITE_SECURE_SETTINGS
    to give Permanent Proxy the permissions needed to turn on/edit the proxy.

    To turn off the proxy, connect to your PC in the same manner as before, but now you will need the following command:
    Code:
    adb shell settings delete global http_proxy; adb shell settings delete global global_http_proxy_host; adb shell settings delete global global_http_proxy_port; adb shell settings delete global global_http_proxy_exclusion_list; adb shell settings delete global global_proxy_pac_url; adb shell reboot
    How to create a proxy on Google Cloud? (May 2020)


    Some tips:
    • Create your own proxy. Free proxies might work, but usually they stop working within a couple of days if they work at all. A tutorial can be found above.
    • Proxies with a password don't work.
    • Don't sideload Google Pay on your watch. It should enable by itself.
    • Clearing the data of Google Pay using the settings on the watch also helps sometimes. You can also find remove updates / disable the app there.
    • After enabling the proxy, exit the app, give your watch some time and then check back in the Permanent Proxy app to see whether your External IP has changed to the one you entered as proxy. If so, good job, you're connected!
    • You can make your watch refresh its Google Pay availability check in two ways. Either by setting the IP/port again in the Permanent Proxy app, or by tapping "Home App" in Settings, System, About, Versions.
    • Does Google Pay still not appear? Sometimes you have to enable it by searching Google Pay in the Play Store. You can also use the Pay Enabler app, which takes you to the Google Pay page in the Play Store.
    • Google Pay works if you see the icon in your quick settings.
    • Google Pay gets stuck when adding a new card? Check the Google Play stores for updates for Google Pay.
    • Only cards you can use to pay with your phone in stores can be added to Google Pay on your watch. This means you'll need a card from a supported Google Pay country.
    • Permanent Proxy only works for IPv4 networks. If you're on a network that uses IPv6, in theory, Google can still check your country. Turn off WiFi if you have to.
    • Using a VPN on your phone that routs the internet traffic of the Wear OS app through it is an alternative to Permanent Proxy, but you'll have to turn off WiFi on your watch, only use Bluetooth and keep the VPN on your phone always on.
    • Uninstalling Permanent Proxy will not stop the proxy. Stop the proxy using the app before uninstalling it, or stop the proxy using the ADB command above.
    • Google Pay might not work if your Google account was created in a non-supported country. Try creating a new Google account (or migrating your own) using a VPN to a supported country, like the US (Failing to do so can result in "this app is no longer compatible with your device" on the Play Store at the Google Pay page). Your account is successfully migrated to the US, for example, if you see $ dollars in the Play Store. This must be your main account on the watch.
    • Permanent Proxy might not work if your watch connects to cellular directly.
    Thanks to reddit user /u/shadowban!

    XDA:DevDB Information
    [Wear OS App] Permanent Proxy, App for all devices (see above for details)

    Contributors
    Humpie

    Version Information
    Status:
    Stable
    Current Stable Version: 3.8
    Stable Release Date: 2020-01-06

    Created 2019-10-09
    Last Updated 2020-01-06
    Quick guide for these who want own proxy server for free that couldnt be easily used by anyoneelse than other WearOS users
    1. Register at AWS
    2. Run EC2 instance (free tier eligible is t2.micro if I remember correctly) in region that has GPay available, I used RHEL 8 as OS (ubuntu is for kids :silly and Frankfurt region
    3. Configure security group to allow SSH from your home IP and port youre gonna use for proxy (default is 3128) from IP range youll be using (I am lazy so I put 0.0.0.0/0 there)
    4. SSH to server, then sudo su, yum update, yum install squid, confirm everything
    5. vi /etc/squid/squid.conf
    http_port 0.0.0.0:3128 - update this line for having IPv4 address like here, if not then it will listen on IPv6 only, and update port if you want to, and put somewhere in the file these lines
    Code:
    acl domain_to_remote_proxy dstdomain .gstatic.com
    acl ref_to_remote_proxy referer_regex [^.]*\.gstatic\.com.*
    acl domain_to_remote_proxy dstdomain .googleapis.com
    acl ref_to_remote_proxy referer_regex [^.]*\.googleapis\.com.*
    acl domain_to_remote_proxy dstdomain .mobvoi.com
    acl ref_to_remote_proxy referer_regex [^.]*\.mobvoi\.com.*
    acl domain_to_remote_proxy dstdomain .ticwear.com
    acl ref_to_remote_proxy referer_regex [^.]*\.ticwear\.com.*
    acl domain_to_remote_proxy dstdomain .googleusercontent.com
    acl ref_to_remote_proxy referer_regex [^.]*\.googleusercontent\.com.*
    acl domain_to_remote_proxy dstdomain .gvt1.com
    acl ref_to_remote_proxy referer_regex [^.]*\.gvt1\.com.*
    acl domain_to_remote_proxy dstdomain .ipify.org
    acl ref_to_remote_proxy referer_regex [^.]*\.ipify\.org.*
    http_access allow domain_to_remote_proxy
    http_access allow ref_to_remote_proxy
    forwarded_for delete
    Its bare minimum Im using on my Ticwatch Pro, you can add your own urls for apps and stuff
    6. systemctl restart squid
    7. configure permanent proxy to your public IP and a port you configured (or default one)
    8. If something is not working, just connect to SSH and use tail -200 /var/log/squid/access.log | grep DENIED to list what rules are you missing
    Another quick guide (well same as my previous with AWS but for another cloud) for these who want own proxy server for free that couldnt be easily used by anyoneelse than other WearOS users, this time with Oracle Cloud always free instance (as it should be always free, not only for year or something )
    1. Register at OCI, I selected Frankfurt as home region as I live in Czech republic and this is the closest with supported Gpay
    2. Create VM.Standard.E2.1.Micro instance, I used Oracle Linux 8 (Note - if you will get "out of the host capacity" error, it means that always free limit in your selected region/AD is temporaryfull, just try it in couple of days)
    3. Configure default security list for network VCN to allow SSH from your home IP on TCP port22 and the port youre gonna use for proxy (default is 3128) from IP range youll be using (I am lazy so I put 0.0.0.0/0 there)
    4. SSH to server, then sudo su, yum update, yum install squid, confirm everything
    5. vi /etc/squid/squid.conf
    http_port 0.0.0.0:3128 - update this line for having IPv4 address like here, if not then it will listen on IPv6 only, and update port if you want to, and put somewhere in the file these lines
    Code:
    acl domain_to_remote_proxy dstdomain .gstatic.com
    acl ref_to_remote_proxy referer_regex [^.]*\.gstatic\.com.*
    acl domain_to_remote_proxy dstdomain .googleapis.com
    acl ref_to_remote_proxy referer_regex [^.]*\.googleapis\.com.*
    acl domain_to_remote_proxy dstdomain .mobvoi.com
    acl ref_to_remote_proxy referer_regex [^.]*\.mobvoi\.com.*
    acl domain_to_remote_proxy dstdomain .ticwear.com
    acl ref_to_remote_proxy referer_regex [^.]*\.ticwear\.com.*
    acl domain_to_remote_proxy dstdomain .googleusercontent.com
    acl ref_to_remote_proxy referer_regex [^.]*\.googleusercontent\.com.*
    acl domain_to_remote_proxy dstdomain .gvt1.com
    acl ref_to_remote_proxy referer_regex [^.]*\.gvt1\.com.*
    acl domain_to_remote_proxy dstdomain .ipify.org
    acl ref_to_remote_proxy referer_regex [^.]*\.ipify\.org.*
    http_access allow domain_to_remote_proxy
    http_access allow ref_to_remote_proxy
    forwarded_for delete
    Its bare minimum Im using on my Ticwatch Pro, you can add your own urls for apps and stuff
    6. firewall-cmd --zone=public --permanent --add-port 3128/tcp (here you should change port to the one that you are using)
    7. firewall-cmd --reload
    8. systemctl enable squid
    9. systemctl start squid
    10. configure permanent proxy to your public IP and a port you configured (or default one)
    11. This part is tricky with OCI, I faces that some of the public IPs werent detected by google correctly as in Germany, so I needed to edit instance VNIC to remove public IP and assign new empheral public IP
    12. If something is not working, just connect to SSH and use tail -200 /var/log/squid/access.log | grep DENIED to list what rules are you missing
    IT WORKED!!
    Permanent Proxy is now finally available on the Google Play store!!
    You can download it directly onto your watch by searching for it or using the url https://play.google.com/store/apps/details?id=nl.jolanrensen.permanentproxy
    Enjoy!
    Google just suspended Permanent Proxy AGAIN from the Google play store. I've yet to receive an email for the reason why, but I'll keep you up to date. In the meantime, you can still download the mobile app from xda labs or GitHub and use the apps on your phone section in the play store of your watch, or you can download the wear version from GitHub.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK