[GT540 Optimus Android Development] tejasjadhav:
Hello all,

I'm trying to compile CM7 from source. Everything works, except for GSM. Here's the ADB logcat :

E/RILD ( 1260): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1260): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1260): set_qcril_log_enabled(0)
E/RILD ( 1336): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1336): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1336): set_qcril_log_enabled(0)
E/RILD ( 1371): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1371): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1371): set_qcril_log_enabled(0)
E/RILD ( 1457): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1457): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1457): set_qcril_log_enabled(0)
I/PHONE ( 1436): Network Mode set to 0
I/PHONE ( 1436): Cdma Subscription set to 1
I/PHONE ( 1436): RILClassname is
I/PHONE ( 1436): Creating GSMPhone
D/PHONE ( 1436): mDoesRilSendMultipleCallRing=false
D/PHONE ( 1436): mCallRingDelay=5000
W/GSM ( 1436): Can't open /system/etc/voicemail-conf.xml
W/GSM ( 1436): Can't open /system/etc/spn-conf.xml
D/GSM ( 1436): [DSAC DEB] registerForPsRestrictedEnabled
D/GSM ( 1436): [DSAC DEB] registerForPsRestrictedDisabled
D/GSM ( 1436): [GsmDataConnection-1] DataConnection constructor E
D/GSM ( 1436): [GsmDataConnection-1] clearSettings
D/GSM ( 1436): [GsmDataConnection-1] DataConnection constructor X
D/GSM ( 1436): [GsmDataConnection-1] Made GsmDataConnection-1
D/RILJ ( 1436): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/RILJ ( 1436): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/STK ( 1436): StkService: StkService: is running
D/STK ( 1436): StkService: NEW sInstance
D/RILJ ( 1436): [0001]> SET_SUPP_SVC_NOTIFICATION
D/RILJ ( 1436): [0001]< SET_SUPP_SVC_NOTIFICATION error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/RILJ ( 1436): [0002]> GET_CURRENT_CALLS
D/RILJ ( 1436): [0002]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
E/GSM ( 1436): Wrong network type: 0
E/GSM ( 1436): Wrong network type: 0
D/GSM ( 1436): Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly: false] newSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
D/GSM ( 1436): [GsmDataConnection-1] DcInactiveState: msg.what=EVENT_RESET, ignore we're already reset
D/GSM ( 1436): [GsmDataConnection-1] NotifyDisconnectCompleted
D/GSM ( 1436): [DataConnection] Stop poll NetStat
D/GSM ( 1436): [GsmDataConnection-1] clearSettings
D/GSM ( 1436): [DataConnection] Stop poll NetStat
D/GSM ( 1436): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM ( 1436): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
D/RILJ ( 1436): [0003]> SCREEN_STATE: true
D/RILJ ( 1436): [0003]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/GSM ( 1436): [DataConnection] Stop poll NetStat
E/RILD ( 1510): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1510): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1510): set_qcril_log_enabled(0)
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
D/STK ( 1436): StkService: Return current sInstance
D/STK ( 1436): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
E/RILD ( 1607): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1607): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1607): set_qcril_log_enabled(0)
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
E/RILD ( 1629): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1629): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1629): set_qcril_log_enabled(0)
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
E/RILD ( 1631): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1631): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1631): set_qcril_log_enabled(0)
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
E/RILD ( 1632): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1632): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1632): set_qcril_log_enabled(0)
I/RILJ ( 1436): Couldn't find 'rild' socket; retrying after timeout
E/RILD ( 1633): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1633): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1633): set_qcril_log_enabled(0)
E/RILJ ( 1436): Couldn't find 'rild' socket after 8 times, continuing to retry silently
E/RILD ( 1634): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1634): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1634): set_qcril_log_enabled(0)
E/RILD ( 1635): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1635): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1635): set_qcril_log_enabled(0)
E/RILD ( 1636): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1636): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1636): set_qcril_log_enabled(0)
E/RILD ( 1637): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1637): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1637): set_qcril_log_enabled(0)
E/RILD ( 1638): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1638): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1638): set_qcril_log_enabled(0)
E/RILD ( 1640): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1640): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1640): set_qcril_log_enabled(0)
E/RILD ( 1641): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1641): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1641): set_qcril_log_enabled(0)
D/RILJ ( 1436): [0004]> SCREEN_STATE: false
D/RILJ ( 1436): [0004]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/GSM ( 1436): [DataConnection] Stop poll NetStat
E/RILD ( 1643): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1643): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1643): set_qcril_log_enabled(0)
E/RILD ( 1644): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1644): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1644): set_qcril_log_enabled(0)
E/RILD ( 1645): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1645): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1645): set_qcril_log_enabled(0)
E/RILD ( 1646): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1646): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1646): set_qcril_log_enabled(0)
E/RILD ( 1647): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1647): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1647): set_qcril_log_enabled(0)
E/RILD ( 1648): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1648): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1648): set_qcril_log_enabled(0)
E/RILD ( 1649): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1649): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1649): set_qcril_log_enabled(0)
E/RILD ( 1650): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1650): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1650): set_qcril_log_enabled(0)
E/RILD ( 1651): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1651): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1651): set_qcril_log_enabled(0)
E/RILD ( 1652): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1652): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1652): set_qcril_log_enabled(0)
E/RILD ( 1653): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1653): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1653): set_qcril_log_enabled(0)
E/RILD ( 1654): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1654): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1654): set_qcril_log_enabled(0)
E/RILD ( 1655): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1655): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1655): set_qcril_log_enabled(0)
E/RILD ( 1656): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1656): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1656): set_qcril_log_enabled(0)
E/RILD ( 1657): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1657): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1657): set_qcril_log_enabled(0)
E/RILD ( 1658): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1658): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1658): set_qcril_log_enabled(0)
E/RILD ( 1659): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1659): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1659): set_qcril_log_enabled(0)
E/RILD ( 1660): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1660): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1660): set_qcril_log_enabled(0)
E/RILD ( 1661): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1661): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1661): set_qcril_log_enabled(0)
E/RILD ( 1662): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1662): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1662): set_qcril_log_enabled(0)
E/RILD ( 1663): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1663): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1663): set_qcril_log_enabled(0)
E/RILD ( 1664): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1664): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1664): set_qcril_log_enabled(0)
E/RILD ( 1665): could not open /data/QCRilLog_flag :No such file or directory
E/RILD ( 1665): could not read /data/QCRilLog_flag :Bad file number
E/RILD ( 1665): set_qcril_log_enabled(0)

Can anybody please help me out!