How to use shell command "rild"?

1,280 views
Skip to first unread message

blueb...@gmail.com

unread,
Apr 2, 2009, 6:38:14 AM4/2/09
to Android Linux Kernel Development
All supported shell commands list in /system/bin/
I want to test rild function and it seems command "rild" can test it.
But I don't know how to use the command.

Any reference about how to use those commands?

By the way, is it right to post here?

Best regards,
bluebolt

Mike Chan

unread,
Apr 8, 2009, 5:53:11 PM4/8/09
to android...@googlegroups.com
Rild is a daemon, not a command, and is launched by init, look at
./system/core/rootdir/init.rc or /init.rc on a device.

What exactly are you trying to test with rild?
--
MIke Chan

Ken, Chen

unread,
Apr 9, 2009, 10:02:44 PM4/9/09
to Android Linux Kernel Development
I want to test reference-ril.c function on my test board.
One way is command from application layer.
Is there any way more direct on console mode?

Thanks for your answer.
I totally misunderstood it.

Best regards,
bluebolt


On Apr 9, 5:53 am, Mike Chan <m...@android.com> wrote:
> Rild is a daemon, not a command, and is launched by init, look at
> ./system/core/rootdir/init.rc or /init.rc on a device.
>
> What exactly are you trying to test with rild?
>
> On Thu, Apr 2, 2009 at 3:38 AM, bluebol...@gmail.com

Ken, Chen

unread,
Apr 24, 2009, 10:49:16 PM4/24/09
to Android Linux Kernel Development
A solution about what I did.

There are two ways to load rild library: static and dynamic.

rild -l library*********.so -- -d devicepath is for dynamic load.

Edit init.rc.
service ril-daemon /system/bin/
rild
#static
service ril-daemon /system/bin/rild -l library*********.so -- -d
devicepath #dynamic

Refer to /system/core/init/readme.txt to know how to start a service.

I also trace rild.c how rild start work.
It's easy to know how they work together after trace these two files.

Now, I can start another work, thanks.
But it seems to be only one way to test rild: command from application
layer.

Best regards
bluebolt
Reply all
Reply to author
Forward
0 new messages