[Droid Eris Android Development] gnarlyc:
Ok, so in my 'spare' time, I decided to try and port an old 1.5 ROM that's kind of nice. Also, I recently tried helping someone else do the same with another ROM. This is really all in fun and to learn stuff as much as anything. I would like to get it working though. But the radio won't work no matter what I've done. I've done the 'normal' things...

1)build.prop has the following that seem to be related to the radio:

rild.libpath=/system/lib/libhtc_ril.so

ro.ril.default.modem-type=2

ro.cdma.data_retry_config = max_retries=infinite,0,0,60000,120000,480000,900000

ro.telephony.default_network = 4

ro.cdma.home.operator.numeric = 310012

ro.cdma.home.operator.alpha = Verizon

ro.ril.htcmaskw1.bitmask = 4294967295

ro.ril.htcmaskw1 = 268449905

ro.cdma.data_retry_config = max_retries=infinite,0,0,60000,120000,480000,900000

ro.ril.oem.ecclist=911,*911,#911

2) I copied 'libhtc_acoustic.so' and 'libhtc_ril.so' from stock

3) The kernel is from stock.

4) I renamed the device specific init.xxxxx.rc to init.desirec.rc and compared it with the stock one. Anything that appeared to be related to the radio, I copied over. Maybe I missed something?

5) I tried it with the stock 'libril.so' and the one from the original ROM.

6) also copied Audio* from /system/etc in stock ROM

Any ideas? Here's the output from 'adb logcat -b radio' (nice to know about, btw) using the original libril.so. It was different using the one from stock.

I/RILC ( 49): libril: new connection

I/RILC ( 49): RIL Daemon version: HTC-RIL 1.5.1030H (Oct 27 2009,22:14:44)

I/RILJ ( 234): Connected to 'rild' socket

D/GSM ( 234): Notifying: radio available

D/RILJ ( 234): [0000]> SCREEN_STATE: true

D/RILJ ( 234): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF

D/RILJ ( 234): [0000]< SCREEN_STATE error: com.android.internal.telephony.gsm.CommandException: RADIO_NOT_AVAILABLE

W/GSM ( 234): Can't open /system/etc/voicemail-conf.xml

W/GSM ( 234): Can't open /system/etc/spn-conf.xml

D/GSM ( 234): [DSAC DEB] registerForPsRestrictedEnabled

D/GSM ( 234): [DSAC DEB] registerForPsRestrictedDisabled

D/RILJ ( 234): [0001]> RADIO_POWER

D/GSM ( 234): Poll ServiceState done: oldSS=[1 home null null null ] newSS=[3 home null null null ] oldGprs=1 newGprs=1 oldType=unknown newType=

unknown

E/RILJ ( 234): Uncaught exception read length=12Exception:java.lang.RuntimeException: Unrecognized RIL_RadioState: 8

I/RILJ ( 234): Disconnected from 'rild' socket

D/GSM ( 234): Notifying: radio not available

D/RILJ ( 234): [0001]< RADIO_POWER error: com.android.internal.telephony.gsm.CommandException: RADIO_NOT_AVAILABLE

I/RILJ ( 234): Connected to 'rild' socket

W/RILC ( 49): EOS. Closing command socket.

I/RILC ( 49): libril: new connection

D/GSM ( 234): [DataConnectionTracker] Radio is off and clean up all connection

D/GSM ( 234): [DataConnectionTracker] Clean up connection due to radioTurnedOff

D/GSM ( 234): [DataConnection] Stop poll NetStat

D/GSM ( 234): [DataConnectionTracker] setState: IDLE

D/GSM ( 234): [DataConnection] Stop poll NetStat

D/GSM ( 234): [DataConnectionTracker] ***trySetupData due to roamingOff

D/GSM ( 234): [DSAC DEB] trySetupData with mIsPsRestricted=false

E/RILC ( 49): RIL Response: unexpected error on write errno:32

E/RILJ ( 234): Hit EOS reading message length

I/RILJ ( 234): Disconnected from 'rild' socket

I/RILJ ( 234): Connected to 'rild' socket

D/GSM ( 234): [DataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE dataEnab

led=true roaming=false dataOnRoamingEnable=true ps restricted=false

D/GSM ( 234): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null

D/RILJ ( 234): [0000]> BASEBAND_VERSION

D/RILJ ( 234): [0001]> GET_IMEI

D/RILJ ( 234): [0002]> GET_IMEISV

D/GSM ( 234): Poll ServiceState done: oldSS=[3 home null null null ] newSS=[1 home null null null ] oldGprs=1 newGprs=1 oldType=unknown newType=

unknown

D/RILJ ( 234): [0003]> GET_CURRENT_CALLS

D/RILJ ( 234): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=4

D/RILJ ( 234): 0: [0] BASEBAND_VERSION

D/RILJ ( 234): 1: [1] GET_IMEI

D/RILJ ( 234): 2: [2] GET_IMEISV

D/RILJ ( 234): 3: [3] GET_CURRENT_CALLS

D/RILJ ( 234): [0004]> SCREEN_STATE: false

D/GSM ( 234): [DataConnection] Stop poll NetStat

D/RILJ ( 234): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=5

D/RILJ ( 234): 0: [0] BASEBAND_VERSION

D/RILJ ( 234): 1: [1] GET_IMEI

D/RILJ ( 234): 2: [2] GET_IMEISV

D/RILJ ( 234): 3: [3] GET_CURRENT_CALLS

D/RILJ ( 234): 4: [4] SCREEN_STATE

D/RILJ ( 234): [0005]> SCREEN_STATE: true

D/GSM ( 234): [DataConnection] Stop poll NetStat

D/RILJ ( 234): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=6

D/RILJ ( 234): 0: [0] BASEBAND_VERSION

D/RILJ ( 234): 1: [1] GET_IMEI

D/RILJ ( 234): 2: [2] GET_IMEISV

D/RILJ ( 234): 3: [3] GET_CURRENT_CALLS

D/RILJ ( 234): 4: [4] SCREEN_STATE

D/RILJ ( 234): 5: [5] SCREEN_STATE

D/RILJ ( 234): [0006]> SET_MUTE false

D/RILJ ( 234): WAKE_LOCK_TIMEOUT mReqPending=0 mRequestList=7

D/RILJ ( 234): 0: [0] BASEBAND_VERSION

D/RILJ ( 234): 1: [1] GET_IMEI

D/RILJ ( 234): 2: [2] GET_IMEISV

D/RILJ ( 234): 3: [3] GET_CURRENT_CALLS

D/RILJ ( 234): 4: [4] SCREEN_STATE

D/RILJ ( 234): 5: [5] SCREEN_STATE

D/RILJ ( 234): 6: [6] SET_MUTE
​

"Unrecognized RIL_RadioState: 8" apparently means "/* Radio is on, but the NV interface is not available */" (http://android.git.kernel.org/?p=pl...ff;h=f4c4d36c410a3501d282dd7de1c7c3350734f27e)

I'm lost. Any help would be appreciated.