diepquynh / android_device_samsung_grandprimeve3g

Device tree for Samsung Galaxy Grand Prime VE SPRD SM-G531H
18 stars 26 forks source link

cm-12.1: RIL-related issues #6

Closed diepquynh closed 7 years ago

diepquynh commented 7 years ago
  1. There's no call timer
  2. Can't receive calls logcat: receivecallstock.txt receivecallcm.txt
  3. InCallUI keeps hanging (still can hear beep sound) when we stop the call logcat: callstock.txt callcm.txt
diepquynh commented 7 years ago

@ngoquang2708 Can you have a check? First thing I see when receiving calls is these lines W/RILJ ( 1359): [3946]< GET_CURRENT_CALLS exception, possible invalid RIL response W/RILJ ( 1359): com.android.internal.telephony.ATParseEx: illegal presentation 3670067 W/RILJ ( 1359): at com.android.internal.telephony.DriverCall.presentationFromCLIP(DriverCall.java:142) W/RILJ ( 1359): at com.android.internal.telephony.SamsungSPRDRIL.responseCallList(SamsungSPRDRIL.java:405) W/RILJ ( 1359): at com.android.internal.telephony.SamsungSPRDRIL.processSolicited(SamsungSPRDRIL.java:205) W/RILJ ( 1359): at com.android.internal.telephony.RIL.processResponse(RIL.java:2605) W/RILJ ( 1359): at com.android.internal.telephony.RIL$RILReceiver.run(RIL.java:605) W/RILJ ( 1359): at java.lang.Thread.run(Thread.java:818)

ngoquang2708 commented 7 years ago

Try remove processSolicited() method. I will do some checks.

ngoquang2708 commented 7 years ago

Where is the vendor repo for this device? Can you post the result of the following command:

strings libreference-ril_sp.so | grep gsm
diepquynh commented 7 years ago

Here's the vendor tree: https://github.com/koquantam/android_vendor_samsung_grandprimeve3g And the command: Sril_GetgsmamrWideband Sril_GetgsmamrNarrowband gsm.operator.numeric gsm.sim.operator.numeric [%c] gsm7bit : %d [%c] set sim2 to gsm only [%c] set sim1 to gsm only [%c] Set sim1 to auto sim2 to gsm only cmd is:%s [%c] change master card to gsm only gsm.network.type gsm.network.type2 [RIL::FD] gsm.operator.numeric [RIL::FD] gsm.operator.numeric2 Sril_GetgsmamrWideband Sril_GetgsmamrNarrowband

diepquynh commented 7 years ago

Fixed by this: https://github.com/koquantam/android_device_samsung_grandprimeve3g/commit/75b324ee50a7aa03e6f806f144fc8a3c4f585cb8