Skip to content

Failed to load mobstore_encrypt key #154

@JingMatrix

Description

@JingMatrix

In Android 17, the following crash is observed on Pixel 6 (oriole_beta-cp21.260206.011.a1):

03-16 21:36:21.818   547   547 V TEESimulator: [Hook] Processing Read Buffer: Size=256, Consumed=80
03-16 21:36:21.818   547   547 V TEESimulator: [Driver -> User] Command: BR_NOOP (0x720c), DataSize: 0
03-16 21:36:21.818   547   547 V TEESimulator: [Driver -> User] Command: BR_TRANSACTION_SEC_CTX (0x80487202), DataSize: 72
03-16 21:36:21.818   547   547 V TEESimulator: [Hook] Hijacking Transaction 278 (Code: 2)
03-16 21:36:21.819  1311  1600 D TEESimulator: [TX_ID: 278] Intercept getKeyEntry for packages=[com.google.android.gms] (uid=10156, pid=2759)
03-16 21:36:21.819  1311  1600 I TEESimulator: Handling getKeyEntry mobstore_encrypt
03-16 21:36:21.819   547   547 V TEESimulator: [Hook] Processing Read Buffer: Size=256, Consumed=76
03-16 21:36:21.820   547   547 V TEESimulator: [Driver -> User] Command: BR_NOOP (0x720c), DataSize: 0
03-16 21:36:21.820   547   547 V TEESimulator: [Driver -> User] Command: BR_TRANSACTION_COMPLETE (0x7206), DataSize: 0
03-16 21:36:21.820   547   547 V TEESimulator: [Driver -> User] Command: BR_REPLY (0x80407203), DataSize: 64
03-16 21:36:21.824   547   547 V TEESimulator: [Hook] Processing Read Buffer: Size=256, Consumed=76
03-16 21:36:21.824   547   547 V TEESimulator: [Driver -> User] Command: BR_NOOP (0x720c), DataSize: 0
03-16 21:36:21.824   547   547 V TEESimulator: [Driver -> User] Command: BR_TRANSACTION_COMPLETE (0x7206), DataSize: 0
03-16 21:36:21.824   547   547 V TEESimulator: [Driver -> User] Command: BR_REPLY (0x80407203), DataSize: 64
03-16 21:36:21.824   547   547 V TEESimulator: [Hook] Processing Read Buffer: Size=256, Consumed=8
03-16 21:36:21.824   547   547 V TEESimulator: [Driver -> User] Command: BR_NOOP (0x720c), DataSize: 0
03-16 21:36:21.824   547   547 V TEESimulator: [Driver -> User] Command: BR_TRANSACTION_COMPLETE (0x7206), DataSize: 0
03-16 21:36:21.830  2759  9117 E gfyu    : Self location fetcher refresh failed. [CONTEXT service_id=284 ]
03-16 21:36:21.830  2759  9117 E gfyu    : java.io.IOException: java.io.IOException: Failed to initialize encryption
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggjm.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):110)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggii.c(:com.google.android.gms@260931035@26.09.31 (260400-877989800):127)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at gghw.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):36)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at gukt.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):13)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hdgh.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):20)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hdil.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):3)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hdhm.run(:com.google.android.gms@260931035@26.09.31 (260400-877989800):19)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hdin.run(:com.google.android.gms@260931035@26.09.31 (260400-877989800):5)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hdgj.run(:com.google.android.gms@260931035@26.09.31 (260400-877989800):20)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at bhur.c(:com.google.android.gms@260931035@26.09.31 (260400-877989800):50)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at bhur.run(:com.google.android.gms@260931035@26.09.31 (260400-877989800):73)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at biai.run(:com.google.android.gms@260931035@26.09.31 (260400-877989800):8)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at java.lang.Thread.run(Thread.java:1564)
03-16 21:36:21.830  2759  9117 E gfyu    : Caused by: java.io.IOException: Failed to initialize encryption
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggek.g(:com.google.android.gms@260931035@26.09.31 (260400-877989800):185)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggek.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):7)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggds.b(:com.google.android.gms@260931035@26.09.31 (260400-877989800):106)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggds.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):1)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at gfzz.d(:com.google.android.gms@260931035@26.09.31 (260400-877989800):5)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggii.c(:com.google.android.gms@260931035@26.09.31 (260400-877989800):30)
03-16 21:36:21.830  2759  9117 E gfyu    : 	... 13 more
03-16 21:36:21.830  2759  9117 E gfyu    : Caused by: java.security.InvalidKeyException: Keystore cannot load the key with ID: mobstore_encrypt
03-16 21:36:21.830  2759  9117 E gfyu    : 	at heeu.<init>(:com.google.android.gms@260931035@26.09.31 (260400-877989800):28)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at heew.<init>(:com.google.android.gms@260931035@26.09.31 (260400-877989800):10)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at heex.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):10)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hees.e(:com.google.android.gms@260931035@26.09.31 (260400-877989800):8)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at hees.a(:com.google.android.gms@260931035@26.09.31 (260400-877989800):136)
03-16 21:36:21.830  2759  9117 E gfyu    : 	at ggek.g(:com.google.android.gms@260931035@26.09.31 (260400-877989800):138)
03-16 21:36:21.830  2759  9117 E gfyu    : 	... 18 more
03-16 21:36:21.845  2759  9117 D BluetoothAdapter: isLeEnabled(): ON

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions