• 11

小米9歐版 9.5.9開發版 google pay正常使用!


zz358840 wrote:
可以但是會因為play...(恕刪)


請問z大play store版本是多少呢?我的也還在14.7.17

目前我的版本如下,可新增可pay,希望能撐久一點別自動更新~~~~gpay很好用啊
play store 14.7.17
google 8.14.15
google 服務15.0.90
google pay 2.88.246xxxxx
成功蓋起一座樓!你就是贏家~ 鼻子別被牽著走。
zz358840 wrote:
先聲明,還原google...(恕刪)


貼個連結給大家參考

XDA已經有人解決 Google Play Service 17.1.22版無法使用Gpay的問題

我試過是OK的

目前為止,不用降版,也不用禁連網

可以正常新增卡片 & 實體店面刷卡

來源
https://forum.xda-developers.com/apps/magisk/discussion-google-pay-magisk-discussion-t3906703/post79521598#post79521598

原文轉貼如下

Ok. I tried this and it worked on gms 17.1.22, allowing one to add cards and pay in store. Warning YMMV, but this is the process I did to get this working. One caveat is that Google pay does not register the "recent transactions" on the Google pay app. Another caveat is that I suspect users will have to reverse some step if gms is updated and then reapply, but this still needs to be confirmed

Without further ado, here is my process:

1) download a SQL database editor. I used

https://play.google.com/store/apps/details?id=com.tomminosoftware.sqliteeditor&hl=en_US

2) download a terminal emulator program. I used terminus but any terminal emulator should work.

3) make sure Google pay is forced close, if it is open.

4) open SQL editor. Navigate to /data/data/com.google.android.gms/databases

5) open dg.db

6) change any value that lists "attest" in the name (first column) to 0 in the third column. Mine was showing a value of 10 in the third column for each of these values. (Column c for sqlite databse editor I used)

7) open the terminal emulator.

8) get root access (su)

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

10) type: chmod 440 dg.db
This makes dg.db read only (for owner and group, and no access for world.)

11) reboot

I suspect when gms is updated, one will have to go back to steps 10 and 11 and chmod 660 dg.db to allow new keys to be written to the database, and then go back and redo all these steps to reset the attestation values back to 0.

If there is still an error, verify in sqlite database editor that all attest release keys values in dg.db are 0 when dg.db is read only (owner and group).

Again, YMMV but this worked for me, so I give it back to the community now.

Edit: recent activities did show up soon afterwards for the payment method.

Cheers,
B.D.

addoniis wrote:
貼個連結給大家參考XDA...(恕刪)


大大...你能幫忙轉成中文的意思麻
英文實在是非常不好
感謝
o阿木o wrote:
大大...你能幫忙...(恕刪)


谷歌大神翻譯..

好。我試過這個並且它在gms 17.1.22上工作,允許一個人添加卡並在商店付款。警告YMMV,但這是我為使其工作所做的過程。需要注意的是,Google Pay不會在Google付費應用上註冊“最近的交易”。另一個警告是,我懷疑如果gms更新然後重新應用,用戶將不得不撤銷一些步驟,但這仍需要確認

沒有進一步的麻煩,這是我的過程:

1)下載一個SQL數據庫編輯器。我用了

https://play.google.com/store/apps/details?id=com.tomminosoftware.sqliteeditor&hl=zh_CN

2)下載終端模擬器程序。我使用了終端,但任何終端模擬器都應該工作。

3)確保谷歌付款被強制關閉,如果它是開放的。

4)打開SQL編輯器。導航到/data/data/com.google.android.gms/databases

5)打開dg.db

6)將名稱(第一列)中列出“證明”的任何值更改為第三列中的0。對於這些值中的每一個,我的第三列顯示值為10。 (我使用的sqlite數據庫編輯器的c列)

7)打開終端模擬器。

8)獲得root訪問權限(su)

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

10)輸入:chmod 440 dg.db
這使得dg.db只讀(對於所有者和組,對世界沒有訪問權限。)

11)重啟

我懷疑當更新gms時,必須返回步驟10和11以及chmod 660 dg.db以允許將新密鑰寫入數據庫,然後返回並重做所有這些步驟以重置證明值回到0。

如果仍有錯誤,請在sqlite數據庫編輯器中驗證當dg.db為只讀(所有者和組)時,dg.db中的所有證明釋放鍵值均為0。

再次,YMMV,但這對我有用,所以我現在把它還給社區。

編輯:最近的活動確實很快就出現了付款方式。

乾杯,
B.D.


你們小米9比較難搞 我的EU版小米8 沒ROOT不用面具..V9.5.9版本不能刷GPay..

降刷回V9.4.26版本就能正常刷GPay了..

Google Play Service 一樣是17.1.22版也能正常刷Gpay.



o阿木o wrote:
大大...你能幫忙...(恕刪)


Play 下載 SQL database editor

用SQL database editor開啟 /data/data/com.google.android.gms/databases下的dg.db



選MAIN後

把看到"attest"字眼的那行,欄位C的值,原先應該是10,修改成0



dg.db存檔

打開root Explorer

把dg.db的權限改成唯讀, 重開機,收工







技術部課長 wrote:
請問z大play store...(恕刪)


play store 14.8.24

其餘跟你一樣




原本用的好好昨天更新後也不能用了
看來只能移除更新了
按照45樓大大教學方式把兩個有"attest"的10改為0後,在更改讀取權限後,重開機,不用去限制其他任何方式(包括限制聯網),確定能新增卡片使用了!
17版路過...
按照原po免root的方式,確定可在7-11刷過。(版本是9.4.11)
o阿木o wrote:
按照45樓大大教學方...(恕刪)
請問一下45樓做法是否是要root 才可以
  • 11
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 11)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?