Giter Site home page Giter Site logo

android_device_samsung_scx30g2-common's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

android_device_samsung_scx30g2-common's Issues

RIL problems

Hello again,
I'm trying to build cm 13.0 for kanas (core 2, SM-G355H) using this source as a reference.

First of all thank you if you decide to read this.

How do you make the ril work without failing? The ril works on dual sim but later on, the phone will reboot. From the last_kmsg file, it is hinted that modemd is responsible:

<0>[   76.533472]  [2:         modemd:  241] 
<0>[   76.533541]  [2:         modemd:  241] [c2] sc8830_machine_restart (h, (null))

Then I tried compiling modemd from source that does not reboot (like the one I'm using) or trigger a kernel panic (like the one from stock). I got these messages from main buffer of logcat.

07-02 15:48:25.204  3182  3205 D         : RIL_onMultiClientUnsolicitedResponse:
07-02 15:48:25.204  3182  3205 E         : unsupported multiclient unsolicited response code 1009
07-02 15:48:25.481   213   221 D MODEMD  : buf=W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Assert! info=[]W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Asser
07-02 15:48:25.485   213   221 D MODEMD  : modem assert happen
07-02 15:48:25.485   213   221 E MODEMD  : Info all the sock clients that modem is assert/hangup
07-02 15:48:25.485   213   221 E MODEMD  : client_fd[0]=6
07-02 15:48:25.486   213   221 E MODEMD  : write 256 bytes to client_fd[0]:6
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[1]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[2]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[3]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[4]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[5]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[6]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[7]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[8]=-1
07-02 15:48:25.486   213   221 E MODEMD  : client_fd[9]=-1
07-02 15:48:25.486   213   221 D MODEMD  : modem reset is not enabled , will not reset
07-02 15:48:25.486   213   221 D MODEMD  : detect_sipc_modem: wait for modem assert/hangup event ...
07-02 15:48:25.486   213   221 D MODEMD  : buf=t! info=[]
07-02 15:48:25.486   213   221 D MODEMD  : detect_sipc_modem: wait for modem assert/hangup event ...
07-02 15:48:25.489   229   697 D audio_hw_primary: modem_monitor: W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Assert! info=[]W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Asser
07-02 15:48:25.490   229   697 D audio_hw_primary: modem asserted1 W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Assert! info=[]W Modem Assert in file PS/layer1/wlayer1/drv/rfic/sr3130/src/drv_rf_nv_sr3130_calibration_wcdma.c at line 2666 exp=PS Asser

and radio buffer:

07-02 15:48:22.645  3184  3184 D DefaultPhoneNotifier: notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@71b8a43 ss=SignalStrength: 17 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {45c6653}
07-02 15:48:23.921  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +CSQ: 15,99
07-02 15:48:23.922  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +CSQ: 15,99
07-02 15:48:23.922  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +SPSCSQ: 15,99,1
07-02 15:48:23.922  3182  3205 D use-Rlog/RLOG-RILC: [w] [UNSL]< UNSOL_SIGNAL_STRENGTH {[signalStrength=14,bitErrorRate=99,                CDMA_SS.dbm=-1,CDMA_SSecio=-1,                EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,                EVDO_SS.signalNoiseRatio=-1,                LTE_SS.signalStrength=99,LTE_SS.rsrp=2147483647,LTE_SS.rsrq=2147483647,                LTE_SS.rssnr=2147483647,LTE_SS.cqi=2147483647]}
07-02 15:48:23.923  3184  3184 D DefaultPhoneNotifier: notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@71b8a43 ss=SignalStrength: 17 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {45c6653}
07-02 15:48:25.204  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +CSQ: 15,99
07-02 15:48:25.204  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +CSQ: 15,99
07-02 15:48:25.204  3182  3205 D use-Rlog/RLOG-AT: [w] Channel0: AT< +SPSCSQ: 15,99,1
07-02 15:48:25.205  3182  3205 D use-Rlog/RLOG-RILC: [w] [UNSL]< UNSOL_SIGNAL_STRENGTH {[signalStrength=14,bitErrorRate=99,                CDMA_SS.dbm=-1,CDMA_SSecio=-1,                EVDO_SS.dbm=-1,EVDO_SS.ecio=-1,                EVDO_SS.signalNoiseRatio=-1,                LTE_SS.signalStrength=99,LTE_SS.rsrp=2147483647,LTE_SS.rsrq=2147483647,                LTE_SS.rssnr=2147483647,LTE_SS.cqi=2147483647]}
07-02 15:48:25.206  3184  3184 D DefaultPhoneNotifier: notifySignalStrength: mRegistry=com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy@71b8a43 ss=SignalStrength: 17 99 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {45c6653}
07-02 15:48:31.940  3184  4973 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:48:31.941  3184  4973 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:48:31.954  3184  3196 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:48:31.954  3184  3196 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:48:31.964  3184  4974 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:48:31.965  3184  4974 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:48:31.969  3184  3369 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:48:31.969  3184  3369 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:49:35.943  3184  4974 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:49:35.944  3184  4974 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:49:35.954  3184  4973 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:49:35.954  3184  4973 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2
07-02 15:49:35.966  3184  3196 D SubscriptionController: [getActiveSubIdList] simInfoSet=[0=1, 1=2]
07-02 15:49:35.966  3184  3196 D SubscriptionController: [getActiveSubIdList] X subIdArr.length=2

Also I'm curious about these two lines in build.prop/system.prop (which I copied from stock):

persist.sys.sprd.modemreset=0
persist.sys.sprd.wcnreset=1

No Idea what it is or what it does.

P.S.
I tried getting the dmesg log but it is always spammed by PM, cpufreq_scx35, "BUG: using smp_processor_id() in preem", and register dumps.
I think I was wrong about RILJ being the culprit but right now I have a weird feeling that it's the NVRAM's fault.

WITH_DEXPREOPT set to true, system_server crashes with SEGV_MAPERR

In cm 14.1, setting WITH_DEXPREOPT to true, would create odex files. The device would then boot up normally. After a short while the system_server process crashes causing a soft reboot. It goes on and on.

Coincidentally. I found a thread in xda. Which is, I'm amazed though, the exact error message I'm having:

pid: 13389, tid: 14235, name: Thread-11  >>> system_server <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78

And the same symptoms and trigger too.

Any insights? Sorry for the delay, I was supposed to post this issue this weeks before testing a possible fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.