GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
358 stars 21 forks source link

Google Play Services crashed after tapping "Remote Lock" #4271

Closed robovoice1 closed 2 days ago

robovoice1 commented 2 days ago

After the newest alpha update (Google Play Store) the Google Play services crash when tapping on "Remote Lock"

To reprodoce: Go to Settngs/Apps/Sandboxed Google Play/Google Settings/All Settings/Theft protection and tap on Remote Lock results in crash/error

type: crash
osVersion: google/raven/raven:15/AP3A.241005.015/2024103100:user/release-keys
package: com.google.android.gms:244431035, targetSdk 35
sharedUid: com.google.uid.shared
process: com.google.android.gms.ui
processUptime: 10243 + 201 ms
installer: app.grapheneos.apps
GmsCompatConfig version: 146

java.lang.RuntimeException: Unable to resume activity {com.google.android.gms/com.google.android.gms.mdm.settings.QrlSettingsActivity}: java.lang.SecurityException: Need READ_PHONE_STATE, READ_PRIVILEGED_PHONE_STATE, or carrier privilege
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5343)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5376)
    at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
    at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
    at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:225)
    at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:107)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:81)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2645)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8744)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
    at com.android.internal.os.ExecInit.main(ExecInit.java:50)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
Caused by: java.lang.SecurityException: Need READ_PHONE_STATE, READ_PRIVILEGED_PHONE_STATE, or carrier privilege
    at android.os.Parcel.createExceptionOrNull(Parcel.java:3251)
    at android.os.Parcel.createException(Parcel.java:3235)
    at android.os.Parcel.readException(Parcel.java:3211)
    at android.os.Parcel.readException(Parcel.java:3153)
    at com.android.internal.telephony.ISub$Stub$Proxy.getActiveSubInfoCount(ISub.java:1659)
    at android.telephony.SubscriptionManager.getActiveSubscriptionInfoCount(SubscriptionManager.java:2259)
    at bxig.Y(:com.google.android.gms@244431035@24.44.31 (260400-691522907):9)
    at bxig.O(:com.google.android.gms@244431035@24.44.31 (260400-691522907):129)
    at bxig.onResume(:com.google.android.gms@244431035@24.44.31 (260400-691522907):35)
    at fu.e(:com.google.android.gms@244431035@24.44.31 (260400-691522907):389)
    at fl.Q(:com.google.android.gms@244431035@24.44.31 (260400-691522907):55)
    at fl.J(:com.google.android.gms@244431035@24.44.31 (260400-691522907):34)
    at fl.H(:com.google.android.gms@244431035@24.44.31 (260400-691522907):11)
    at ee.g(:com.google.android.gms@244431035@24.44.31 (260400-691522907):5)
    at ovt.onResumeFragments(:com.google.android.gms@244431035@24.44.31 (260400-691522907):10)
    at ovt.onPostResume(:com.google.android.gms@244431035@24.44.31 (260400-691522907):4)
    at oqj.public_onPostResume(:com.google.android.gms@244431035@24.44.31 (260400-691522907):1)
    at oqk.onPostResume(:com.google.android.gms@244431035@24.44.31 (260400-691522907):5)
    at ajeq.onPostResume(:com.google.android.gms@244431035@24.44.31 (260400-691522907):9)
    at android.app.Activity.performResume(Activity.java:9240)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5333)
    ... 16 more

Google Pixel 6 pro raven 2024103100

thestinger commented 2 days ago

Duplicate of https://github.com/GrapheneOS/os-issue-tracker/issues/4144.