Mobile data isn't working when the SIM card is locked with a PIN. Analyzed the output of adb logcat, it seems that these might be relevant:
Telephony: TelecomAccountRegistry: Failed to get status for, slotId: 0 Exception: java.lang.NullPointerException: Attempt to invoke interface method 'int com.android.internal.telephony.IExtTelephony.getCurrentUiccCardProvisioningStatus(int)' on a null object reference
[...]
Telephony: TelecomAccountRegistry: Failed to get primary stack id
It worked again after removing the SIM pin and restarting the device. The above messages no longer appear.
Some extra observations:
After enabling and disabling airplane mode, the above errors reappear and a reboot is required.
After re-installing the PIN, at first boot the SIM card isn't detected and now also voice had no service. A full shutdown and reboot resolved this situation, to restore it to the state in which only data has no service.
Removing the PIN again and rebooting the device restores data service.
Using: cm-13.0-20161117-NIGHTLY-kenzo.zip 6.11.24_Kenzo-CM13-firmware.zip
Mobile data isn't working when the SIM card is locked with a PIN. Analyzed the output of adb logcat, it seems that these might be relevant:
It worked again after removing the SIM pin and restarting the device. The above messages no longer appear.
Some extra observations: