Hi all,
As the title suggests the SIM card on my Pixel 7 Pro running grapheneOS (build: TQ2A.230405.003.E1.2023041100) does not work and I cannot take or receive calls, SMS or data.
SMS services were running normally on grapheneOS until March 2, when SMS services stopped.
I am running a physical SIM card, which works fine when tested with other phones, excluding physical damage to the card.
Strangely, the Pixel is capable of detecting the SIM card in the "Network and Internet" section of settings, although very briefly as the SIM card detection phases in and out. When detected, the phone is not able to receive or use SMS services.
When the SIM is detected, pressing the SIMs button in the "Network and Internet" section of settings causes settings to either crash without error or give the following error message:
type: crash
osVersion: google/panther/panther:13/TQ2A.230405.003.E1/2023041100:user/release-keys
package: com.android.settings:33
process: com.android.settings
processUptime: 5001 + 205 ms
java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.telephony.TelephonyManager.isDataRoamingEnabled()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4777)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4810)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:179)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2304)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7891)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.telephony.TelephonyManager.isDataRoamingEnabled()' on a null object reference
at com.android.settings.network.telephony.RoamingPreferenceController.isChecked(RoamingPreferenceController.java:151)
at com.android.settings.core.TogglePreferenceController.updateState(TogglePreferenceController.java:69)
at com.android.settings.network.telephony.RoamingPreferenceController.updateState(RoamingPreferenceController.java:127)
at com.android.settings.network.telephony.AbstractMobileNetworkSettings.updateVisiblePreferenceControllers(AbstractMobileNetworkSettings.java:130)
at com.android.settings.network.telephony.AbstractMobileNetworkSettings.lambda$updatePreferenceStates$3(AbstractMobileNetworkSettings.java:109)
at com.android.settings.network.telephony.AbstractMobileNetworkSettings.$r8$lambda$UO4kIAXRZT9w_Q2HJ-kfkIYs2C8(Unknown Source:0)
at com.android.settings.network.telephony.AbstractMobileNetworkSettings$$ExternalSyntheticLambda3.accept(Unknown Source:6)
at java.util.ArrayList.forEach(ArrayList.java:1262)
at com.android.settings.network.telephony.AbstractMobileNetworkSettings.updatePreferenceStates(AbstractMobileNetworkSettings.java:108)
at com.android.settings.dashboard.DashboardFragment.onResume(DashboardFragment.java:226)
at com.android.settings.dashboard.RestrictedDashboardFragment.onResume(RestrictedDashboardFragment.java:138)
at com.android.settings.network.telephony.MobileNetworkSettings.onResume(MobileNetworkSettings.java:260)
at androidx.fragment.app.Fragment.performResume(Fragment.java:3099)
at androidx.fragment.app.FragmentStateManager.resume(FragmentStateManager.java:605)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:285)
at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1396)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2911)
at androidx.fragment.app.FragmentManager.dispatchResume(FragmentManager.java:2846)
at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:284)
at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:373)
at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:362)
at android.app.Activity.performResume(Activity.java:8545)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4767)
... 15 more
I have tried all troubleshooting tips from people with similar SMS issues on this site, but none have worked. Judging by the fact the Pixel worked fine until 2 March and can detect the SIM (albeit briefly) suggests a software rather than hardware issue. Again, the SIM works fine with other phones
Would love your input, thanks!