Open jmpfbmx opened 3 years ago
RIL is sending and receiving AT commands in logcat.
Run this in adb shell and post it here:
getprop | grep -e ril -e radio
Hi @ibilux. Here you are: `[cdma.ril.ecclist]: []
[gsm.version.ril-impl]: [android reference-ril 1.0]
[rild.libargs]: [-d /dev/ttyC0]
` We found that the prob can be bcuz some sony values are missing and they didn't gave us a folder where resides some TA proprietary SONY things.
As u can see updatemiscta fails bcuz it is searching for some missing values, at this strings we can see that is asking for some missing things. strings_updatemiscta
Here is the logcat with some missing updatemiscta values xperia_l1_updatemiscta
@jmpfbmx For some reason you are not getting mcc.mnc
and iccid
values, and in logcat too:
E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
Try to reset modem using this script and see (run it as root): https://github.com/ibilux/android_device_tree_hermes/blob/crdroid-9.0/mtk/ril/rild/reset-modem.sh
Why to you have two ril daemon services ? this may cause a conflict: https://github.com/PineDevelopment/android_device_sony_pine/blob/49196f5b2084d0ad2017be68d6df6f5428fe6e9b/rootdir/init.modem.rc#L51 https://github.com/PineDevelopment/android_device_sony_pine/blob/49196f5b2084d0ad2017be68d6df6f5428fe6e9b/configs/etc/init/rild.rc#L1
If all of the above didn't work, you will then have to patch the rom for fakeiccid
:
https://github.com/Manish4586/android_device_lava_zaw809/blob/los-14/patches/frameworks_opt_telephony.patch
Try the first one and run this getprop | grep -e ril -e radio
in adb shell and post it here.
@ibilux
I will try what you said, we have 2 ril daemon services like at stock ROM, idk why there are 2 tho, and will see that of fakeiccid, will try asap the first one and will post the output of getprop | grep -e ril -e radio
Thanks
The SIM seems to be recognized, but can't be unlocked, it seems that modem is having some issues or something, blobs are from latest Stock ROM, RIL still doesn't work at AOSP based ROMs. @derteufel @dragonpt @fire855 @danielhk @488315 @jerpelea LOGs: https://gist.github.com/jmpfbmx/82d104d4d3ade4e3aed0c72aa21f65cd