Advertisement
oliwierek10

Unlock Google Pay On Wear OS

Aug 31st, 2019
7,662
-1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 1
  1. All Credit Goes To Starvv
  2. https://forum.xda-developers.com/smartwatch/other-smartwatches/rom-kernel-t3821013/page172
  3.  
  4. Hi all.
  5. This is perfect way to get Gpay on your watch. Tested by TicWatch Pro
  6.  
  7. Go to https://sqlite.org/download.html and download sqlite-tools-win32-x86-3280000.zip
  8. Unzip and use sqlite3.exe
  9. You have to got ADB files
  10.  
  11. Let's go
  12.  
  13. 0. Commands start to execute from cmd, so that adb and sqlite3 was visible from there (put in the desired directory, or run with the full path)
  14.  
  15. 1. Enable Developer on watch (click on the build number in about watch")
  16.  
  17. 2. Enable adb debugging
  18.  
  19. 3. Open cmd On PC (adb folder with adb files)
  20.  
  21. 4. Execute
  22. Code:
  23. adb shell
  24. You should see an invitation with "$"
  25.  
  26. 5. Execute
  27. Code:
  28. su
  29. confirm on the clock. If suddenly not confirmed, and left Permission denied, find in Magisk Manager and confirm manually.
  30.  
  31. 6. Execute
  32. Code:
  33. cp /data/data/com.google.android.gms/databases/dg.db /mnt/sdcard
  34. copy the database to where the file can be easily copied to the PC
  35.  
  36. 7. Open an additional cmd window (in ADB folder)
  37. Execute
  38. Code:
  39. adb pull /mnt/sdcard/dg.db
  40. The database will be copied to the PC in the current directory
  41.  
  42. 8. In the same terminal window run
  43. Code:
  44. sqlite3.exe dg.db
  45. you will be prompted with ">"
  46.  
  47. 9. Execute
  48. Code:
  49. update main set c = 0 where a like 'attest%';
  50. Change the value of the 3rd column ("c") to 0 if the first ("a") starts with attest
  51.  
  52. 10. Exit sqlite (press Ctrl-D)
  53.  
  54. 11. Push the file back on the clock
  55. Code:
  56. adb push dg.db /mnt/sdcard/dg.db
  57.  
  58. 12. Select the first open window with "adb shell"
  59. Code:
  60. cp /mnt/sdcard/dg.db /data/data/com.google.android.gms/databases/dg.db
  61.  
  62. 13. Changing access rules
  63. Code:
  64. chmod 440 /data/data/com.google.android.gms/databases/dg.db
  65. Go to Gpay on your watch and add your credit card
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement