change rild privilege

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


Sponsored Links
 Hi,
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.

Thanks
Srinivas
--~--~---------~--~----~------------~-------~--~----~



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.

Thanks
Srinivas

On Mar 6, 5:55pm, Mads Kristiansen <mads.kristian...@nullwire.com>



--~--~---------~--~----~------------~-------~--~----~



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.
Thanks
Ajith





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Simple Location Question

How can i get The country and city with a Location???

-- 
Atte

[[Jose Luis Ayerdis Espinoza]]
http://blognecronet.blogspot.com

--~--~---------~--~----~------------~-------~--~----~

2. Does Android support detection of clicking on right/left button of a mouse

Hi guys,



I want to write an Android application using a mouse (like the way that
Windows detects the actions of clicking on a right button and a left button
of the mouse). However, I cannot find any library of Android OS detecting
these actions.



Please tell me whether I can do it with the support of Android OS or
anything else.



Thanks for your attention!



Best regards,

Minh

--~--~---------~--~----~------------~-------~--~----~

3. Custom component rare exception: Parser is not a BridgeXmlBlockParser!

4. (Ask) Aplikasi Instan Messaging

5. How to make phone silent?

6. Samsung i7500

7. mounting issue on android-1.5