How to use the rild command

In android and under / system / bin / there is a rild command, which should be used as the following:

   rild -l   <ril impl library>   [--<args for impl library>]

However, I do not know how to use this command and how to control a modem modem?

Any link about this team?

Yours faithfully,

+4
source share
1 answer

My system is android ics. The following command works fine on my system. Libreference-ril.so - RIL library. TtyUSB2 is a node device created by drivers.

/system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyUSB2

Rild is the ril daemon, and it is usually registered as a service in init.rc, as shown below.

service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyUSB2
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw log
+4
source

All Articles