The easiest and painless way was proposed on the forum
xdaBut you can do without root, with the help of TWRP recovery.
1) Who does not download google pay from google play, you can download it by
reference 2) Install the application
SQLite Database Editor,
need to edit the file
dg.db3) Boot into TWRP recovery, copy file
dg.dbon the way
/data/data/com.google.android.gms/databasesin section
sdcardcan be using a PC or in a regular way through
Adwanced / File Manager4) Boot back into the system, and with the help of a pre-installed application
SQLite Database Editoredit the previously copied file
dg.dbwhere there is an inscription "attest" we change the value to
0in the third column, my default number was
105) Go to TWRP, copy edited file
dg.dbon the way
/data/data/com.google.android.gms/databaseswith replacement
6) Go to
Adwanced / terminaland enter the command
7)
cd /data/data/com.google.android.gms/databases8)
chmod 440 dg.db(this limits the owner and group to read only so that the file is not overwritten)
9) Reboot / System, check google pay
Most likely after the update
gmshave to repeat point 6-9 only with
chmod 660 dg.dbto enable the entry of new keys to the database, and then repeat all the steps again to reset the certification values ​​back to
0It took me about 10 minutes to get a google pay, the cards were tied up ...