change rild privilege

by srinivas » Fri, 06 Mar 2009 19:54:03 GMT

Sponsored Links
In android, Does RILD run with root privileges?
If so, can we change its privileges?
Please let me know how and where we can change these privileges.
Any pointers will be very helpful.


change rild privilege

by Mads Kristiansen » Fri, 06 Mar 2009 20:55:38 GMT

 Looking at init.rc:
service ril-daemon /system/bin/rild
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc

So it seems to be running as root, but it seems to be possible to change it,
so I'd just try it.

/ Mads


Sponsored Links

change rild privilege

by srinivas » Mon, 09 Mar 2009 14:13:01 GMT

 Hi, id did change these options, the code in rild.c under hardware/ril/
rild/ has a fucntion switchuser(). The code in thie switches the uid
of RILD to radio, but if i un comment this, ril is not working, its
not even getting initialized.


On Mar 6, 5:55pm, Mads Kristiansen <>


change rild privilege

by Ajith » Sun, 15 Mar 2009 06:35:55 GMT

 Hi Srinivas:
 Did you get further with this issue? I am also seeing the same
behavior. It seems like commenting out switchuser() is the hack that
works for now. But as far as I know, rild is not to be touched by ril
implementations, so there must be some cleaner way of fixing this.


Other Threads

1. Application permissions to change time/date

I read at android api

public static boolean setCurrentTimeMillis (long millis)

Sets the current wall time, in milliseconds. Requires the calling
process to have appropriate permissions.

    * if the clock was successfully set to the specified time.

which are the permissions, who do i manage them?


2. A useful Group

join this group it is very useful for you

3. How to exit App without closing the Emulator Window

4. erase char in adb shell?

5. Set up Simple

6. Beginner problem with TabHost

7. touch back buttun