CyanogenMod / android_device_xiaomi_kenzo

57 stars 51 forks source link

Mobile data broken when SIM PIN is set #20

Open hupster opened 7 years ago

hupster commented 7 years ago

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:

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: