Google Pay does not work | All devices



Rep: (2304)
Google Pay does not work

Google pay пїЅ | Magisk - The Universal Systemless Interface пїЅ | SafetyNet Helper Sample пїЅ

The topic fully applies to all
Forum Rulesandmessage template


This topic discusses how to launch Google Pay on devices with an unlocked bootloader, with superuser privileges, and with custom firmware installed.

>>FAQ<<

DProblem solving

Dear users!
Due to the frequent cases of random Google Pay crashes, never manually update Google Play services until the Magisk update appears, which bypasses the updated SafetyNet network.
The problem is not in Magisk, the cause here is primarily the Google developers themselves, who seem to be trying to improve the protection of the Google Pay service.
At the moment there is no 100% solution to this problem, all possible solutions are in the topic header and FAQ

Auseful links

For quick solutions to problems with the GP, please indicate the model of your device, GP version and describe the problem in detail.


The curator of the topic isRayan. On filling in caps obraschatsyaQMS.


Post has been editedRayan - 18.06.20, 06:43
Reason for editing: About Tai-Chi.



Rep: (10)
* V0pr0S,
Which version of the services through the setting-all program is shown?



Rep: (118)
* Ajabon
was 17.9.chtototam (well as suggested in the header)



Rep: (10)
* V0pr0S,
Well after a zip and a patch was supposed to be 14 version ... which all added up and running.



Rep: (159)
On xda discuss new fixhttps: //forum.xda-deve…s-17-1-22-pie-t3929950, Who can verify he can not sit at the drain.



Rep: (10)
* dwane3,
Ha, now just studied this dg.db, there are records:
attest / 14.7.99 (100400 - {{cl}}) / Xiaomi / dipper / dipper: 8.1.0 / OPM1.171019.011 / V9.5.9.0.OEAMIFA: user / release-keysв”‚ 1557123843 в”‚ 10 в”‚ в”‚ A5C1DE40796A02C71A5309B7EF7FC66244F71FA3
attest / 17.1.22 (100400 - {{cl}}) / Xiaomi / dipper / dipper: 8.1.0 / OPM1.171019.011 / V9.5.9.0.OEAMIFA: user / release-keysв”‚ 1557635461 в”‚ 10 в”‚ в”‚ A5C1DE40796A02C71A5309B7EF7FC66244F71FA3

In the fourth columnA5C1DE40796A02C71A5309B7EF7FC66244F71FA3 - is the name of the folder in app_dg_cache ...
I'm worth 10, but the payment works.

Post has been editedAjabon - 14.05.19, 15:53



Rep: (159)
Ajabon @ 14.05.19, 16:51*
In the fourth column A5C1DE40796A02C71A5309B7EF7FC66244F71FA3 - is the name of the folder in app_dg_cache ...

I just do not quite understand what exactly makes the fix ..



Rep: (164)
dwane3 @ 14.05.19, 15:42*
On xda discuss new fixhttps: //forum.xda-deve…s-17-1-22-pie-t3929950, Who can verify he can not sit at the drain.

This translates to fast XDA. No need to write that this is my method. Call it:

ATTEST method.


I tried it and it works on 01.17.22 services, allowing you to add the card and pay in the store. One caveat is that I suspect that users will have to repeat some of the steps again, if the firmware is updated, but it still needs to be confirmed.

Without further ado, here is my process:

1) Download the SQL database editor. I use

https: //play.google.co....sqliteeditor&hl=en_US

2) download the program to the terminal emulator. I usedterminusBut any terminal emulator to work.
PS: Instead of the terminal can be used to p.7-10 filemanager to put the read / write file dg.db right, so put the terminus at its discretion.

3) make sure that Google pay forcibly closed if it is open.

4) open the SQL Editor. Go to /data/data/com.google.android.gms/databases

5) open dg.db

6) change every value that contains "attest" in the name (first column) to 0 in the third column. I showed a value of 10 in the third column for each of these values. (Column C for SQLite database editor that I used)

7) Open the terminal emulator.

8) get root access command - su

9) Team -
cd /data/data/com.google.android.gms/databases


10) team -
chmod 440 dg.db

This will make dg.db read-only (for the owner and group)

11) restart

I Magisk 19.1 with GMS and Google Pay. In addition, I use a custom kernel, but others have reported on the use and the native kernel.
I suspect that when you upgrade services have to go back to steps 10 and 11, and chmod 660 dg.db, to allow the entry of new keys in the database, and then go back and repeat all the steps to reset the values ​​"attest" back to 0.
If the error still exists, check the Editor in the sqlite database, that all key values ​​in dg.db equal to 0 when dg.db read-only (owner and group).
Again, it all worked out for me, so I give this method of community now.

PS: instead of the terminal, you can use a file manager, that can put the right files, you get the same thing, ie, You can skip to claim 2, p.7-9 and instead claim 10 to make a setting permissions on a file via the filemanager or TWRP, someone as comfortable.

Post has been editedHepbook - 18.05.19, 23:41
Reason for editing: Instruction is not mine, I just filed to declare В© Scooter is not mine



Rep: (482)
* dwane3, I'll try. I wanted to test the method with the recording ban in app_dg_cache and new services, but nothing came of it. We chat some obtained by the method of a recording ban in app_dg_cache folder and some do not. And it does not mean krivorukost or that way to bad. Just do not go out and everything. I could not even on his instructions to roll back services after that. I Tried 3 times. To no avail. So while I am sitting with a naked android after flashing can and try a new way



Rep: (164)
dwane3 @ 14.05.19, 15:54*
I just do not quite understand what exactly makes the fix ..

It changes the value of the test 10 to 0. Jacobs 0 - it's buzzing with a test of Ruth and loader.



Rep: (482)
HEPBuk @ 14.05.19, 15:56*
I suspect that when you upgrade gms will have to return to steps 10 and 11

can then better after all the manipulations to block the update?



Rep: (164)
mahout @ 14.05.19, 15:58*
can then better after all the manipulations to block the update?

:) write to him about it on xda



Rep: (10)
* Hepbook
If you take the sqlite3 you can put one team. With such a method can be generally done for zip TWRP.
And also you can update block, 1 field to upgrade to another .db necessary.

Post has been editedAjabon - 14.05.19, 16:02



Rep: (482)
* Ajabon you are able to do so?



Rep: (159)
Ajabon @ 14.05.19, 17:01*
but generally do zip for TWRP.

It would be awesome!



Rep: (10)
Dinamond @ 06.05.19, 17:36*
We remove the W records from the app_dg_cache folder (or set permissions 551).

With a battery of such rights is not heated and not planted more quickly? somewhere in this thread was a myth.



Rep: (164)
AeroProf @ 14.05.19, 16:07*
With a battery of such rights is not heated and not planted more quickly? somewhere in this thread was a myth.

It is a myth. The relationship between the two acts has not been proved.



Rep: (10)
HEPBuk @ 14.05.19, 19:16*
It is a myth. The relationship between the two acts has not been proved.

In theory, why not, if the services are constantly trying to save app_dg_cache folder ... But how to check this question of course.



Rep: (164)
Ajabon @ 14.05.19, 16:19*
In theory, why not, if the services are constantly trying to save app_dg_cache folder ... But how to check this question of course.

The theory is divided about the practice. I, and most people are not eating anything, or nobody notices. Who checked. The CPU 8 minutes. Niochem. Cussing individual users, thus we do not know their conditions of use and their actions. When the request to watch a couple of days for the process - merge because most likely the process of settling down in a few days.



Rep: (482)
something I do not understand where to enter these commands in a terminal:

8) get root access command - su

9) Team -
cd /data/data/com.google.android.gms/databases

10) team -
chmod 440 dg.db

Can anyone explain?

Post has been editedmahout - 14.05.19, 16:38



Rep: (10)
HEPBuk @ 14.05.19, 19:33*
I, and most people are not eating anything

I, too, not eating, but I have a folder in app_dg_cache create and record in dg.db have about this folder. And there are times when the recording attribute shoot up as there is a new folder. While here remember when trying to win without a root, I cleaned the folder and write permissions cleaned right in TWRP, and create a folder there could not have been ... and Jordania, services were top1.


Full version    

Help     rules

Time is now: 08/07/20, 3:02