[Galaxy S 4 Mini Android Development] alexax66:
I found new errors in modem.log:

01-02 12:55:55.676 D/RIL-QMI ( 216): switch user for CTS
01-02 12:55:55.676 E/RIL-QMI ( 216): qmuxd: linux_qmi_read_sysfs_config: couldn't open file /sys/module/f_rmnet/parameters/rmnet_ctl_ch
01-02 12:55:55.676 E/RIL-QMI ( 216): qmuxd: linux_qmi_read_sysfs_config: couldn't open /sys/module/rmnet/parameters/rmnet_ctl_ch
01-02 12:55:55.676 D/RIL-QMI ( 216): linux_qmi_qmux_if_configure_port_timeout: mode=0, smd_timeout=20, hsic_timeout=60
01-02 12:55:55.677 E/RIL-QMI ( 216): linux_qmi_qmux_if_configure_port_timeout: failed to open HSIC timeout config=/sys/devices/virtual/hsicctl/hsicctl0/modem_wait errno [2:No such file or directory]
01-02 12:55:55.745 D/RILD ( 231): ril-daemon option for multisim fw: rilLibPath (/system/lib/libsec-ril-dsds.so)
01-02 12:55:55.754 D/RILD ( 232): libPath got from rild.libpath property (/system/lib/libsec-ril.so)
01-02 12:55:55.754 D/RILD ( 232): OpenLib rilLibPath : /system/lib/libsec-ril.so
01-02 11:55:55.986 E/RILD ( 232): First Ril
01-02 11:55:55.986 E/RILD ( 232): LoadLogLevel: Log level is 3.
01-02 11:55:55.996 E/RILD ( 232): RIL_Init: version(7)
01-02 11:55:55.996 E/RILC ( 232): RIL_register: RIL version 7
01-02 11:55:56.096 E/RILD ( 232): LazyRilInit
01-02 11:55:56.096 E/RILD ( 232): SecRil(): ModelType: 1
01-02 11:55:56.096 E/RILD ( 232): Modem config #0: index[0], iftype[10], ifname[rmnet0], mtype[4], proto[10], protover[10], dbg-ifname[]
01-02 11:55:56.099 E/RILD ( 232): Modem config #1: index[1], iftype[10], ifname[rmnet0], mtype[32], proto[1], protover[1], dbg-ifname[IPCDEBUG_UNIX_SOCKET]
01-02 11:55:56.099 E/RILD ( 232): Debug channel is not opened for ship build.
01-02 11:55:56.102 E/RILD ( 232): Force-exit is required for this thread
01-02 11:55:56.102 E/RILD ( 232): Force-exit is required for this thread
01-02 11:55:56.104 E/RILD ( 232): Trying qmi_init(): retryCount(0)
01-02 11:55:56.104 E/RIL-QMI ( 232): qmi_client [232]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 11:55:57.105 E/RIL-QMI ( 232): qmi_client [232]: unable to connect to server, errno=[2:No such file or directory], attempt=2
01-02 11:55:58.105 E/RIL-QMI ( 232): qmi_client [232]: unable to connect to server, errno=[2:No such file or directory], attempt=3
01-02 11:55:59.105 E/RIL-QMI ( 232): qmi_client [232]: unable to connect to server, errno=[2:No such file or directory], attempt=4
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.677 E/RIL-QMI ( 217): qmi_client [217]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.677 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_client [228]: unable to bind to client socket, rc = -1 errno[13:Permission denied]
01-02 11:55:59.678 E/RIL-QMI ( 228): qmi_qmux_if_pwr_up_init_ex: Initialization failed, rc = -1
01-02 11:56:00.077 D/RILD ( 501): ril-daemon option for multisim fw: rilLibPath (/system/lib/libsec-ril-dsds.so)

and in dmesg.log:

[ 5.224629] init: Service 'ril-daemon' is being killed...
[ 5.266687] init: Service 'ril-daemon' (pid 210) killed by signal 9
[ 5.266717] init: Service 'ril-daemon' (pid 210) killing any children in process group
[ 5.267114] init: Service 'irsc_util' (pid 215) exited with status 0
[ 5.267633] init: Starting service 'ril-daemon1'...
[ 5.268274] init: Starting service 'ril-daemon'...

[ 10.008057] init: Starting service 'ril-daemon1'...
[ 10.108835] init: Service 'ril-daemon1' (pid 501) exited with status 255
[ 10.108866] init: Service 'ril-daemon1' (pid 501) killing any children in process group

[MENTION=4978147]beclosetolovedale[/MENTION] use SysLog instead logcat

P.S.

In CM12.1 rmnet_ctl_ch is located here:

root@serranods:/sys/module/g_android/parameters # ls
...
[COLOR="Red"]rmnet_ctl_ch[/COLOR]
rmnet_data_ch
rmnet_mux_sdio_ctl_ch
rmnet_mux_sdio_data_ch
rmnet_mux_smd_data_ch
rmnet_sdio_ctl_ch
rmnet_sdio_data_ch
rndis_multipacket_dl_disable
sdio_rx_fctrl_dis_thld
sdio_rx_fctrl_en_thld
sdio_tx_pkt_drop_thld
root@serranods:/sys/module/g_android/parameters #

and modem_wait is located here:

root@serranods:/sys/module/smd_tty/parameters # ls
[COLOR="Red"]modem_wait[/COLOR]
root@serranods:/sys/module/smd_tty/parameters #

UPD:

Good news: baseband version is detected