[HTC Desire S] readmanr:
As the FC seems bothered by the HTC-RIL 4.0.0034HM (Apr 26 2012,16:27:09) with cm-11-20140321-UNOFFICIAL-saga-flinny-alpha5.zip (and previous builds).

I thought I would look deeper, as HTC-RIL 4.0.0034HM has no FC errors running blindndumb on Android JellyBean 4.2.2.

So knowing what files are involved with RIL's...

/system/bin/rild

/system/lib/libhtc_ril.so

/system/lib/libreference-ril.so

/system/lib/libril.so

(if there are others, please let us know and share your knowledge.)

So I took those 4 files from...

cm-10.1-20130808-UNOFFICIAL-saga.zip

and also took the 4 files from the latest alpha..

cm-11-20140321-UNOFFICIAL-saga-flinny-alpha5.zip

Here is what I found...

/system/bin/rild binary files are different, from 4.2.2. Size = 10,048bytes, EOL = CR. from 4.4.2. Size = 9560bytes, EOL = CR.

/system/lib/libhtc_ril.so binary files are identical. Size = 599,284, EOL = CR.

/system/lib/libreference-ril.so binary files are different, from 4.2.2. Size = 29,932bytes, EOL = CR. from 4.4.2. Size = 29,956bytes, EOL = LF.

/system/lib/libril.so binary files are different, from 4.2.2. Size = 35,336bytes, EOL = CR. from 4.4.2. Size = 39,556bytes, EOL = LF.

Above you can see differences in file size, and two of the files use LF. The files also have different timestamps but all files are exactly 7 hours out. So this must be down to a time-zone issue with files getting zipped / different OS's and things going out of sync.

Not sure why the files are different sizes or different end of lines, this is where [MENTION=4350964]Flinny[/MENTION] or [MENTION=2197610]devil-kin[/MENTION] can maybe answer, (files built, source trees) etc.

Anyway, even after copying all 4 files mentioned above from the 4.2.2 ROM (with no FC) to the 4.4.2 Alpha 5 ROM, the FC still happens.

It is fixed by placing the HTC-RIL 2.2.0014G "libhtc_ril.so" into /system/lib/

As I (and others) like to have the latest versions, I hope Flinny / devil-kin can take a look how to maybe get it working with the HTC-RIL 4.0.0034HM (Apr 26 2012,16:27:09) RIL.

I will be testing some other RILs later to see if they work, as HTC-RIL 2.2.0014G (Sep 24 2010,19:08:27) is very old (but working).

Hopefully a slightly newer HTC-RIL 2.2.0131HM (Mar 18 2011,00:40:15) will work, and hopefully without the FC.

Testing now... will post back shortly.

UPDATE.

HTC-RIL 2.2.0131HM (Mar 18 2011,00:40:15) works as well, no ForceClose.

According to this "HTC Desire" Thread... "[RADIO] HTC Desire's Family RIL Packages"

http://xdaforums.com/showthread.php?t=902752

HTC-RIL 2.2.0014G may or may-not be a "HTC Desire S" RIL

HTC-RIL 2.2.0131HM is extracted from a HTC Desire S ROM.

http://dl.dropbox.com/u/9319586/RIL/HTC-RIL_2.2.0131HM.zip

>adb shell

root@saga:/ # su

su

root@saga:/ # getprop gsm.version.ril-impl

getprop gsm.version.ril-impl

HTC-RIL 2.2.0131HM (Mar 18 2011,00:40:15)

Works by manually coping libhtc_ril.so from the .zip to /system/lib/libhtc_ril.so

Also works by flashing the .zip by recovery, however I would suggest NOT to do so, as you will end up with old versions of the other 3 files involved mentioned above in the post.

The "Unfortunately, the process com.android.phone has stopped." appears to be resolved with only libhtc_ril.so.

Rob.