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. How to debug the real phone G1?

Any document about it so far? I would like to see something like
Microsoft Activesync: just plug in the usb cable to PC, then you can
debug!

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

2. Regd: Running in a PC

Hello There,

 

Can I run Android in a normal PC without Emulator, if so how? Is there any
specific

Hardware needs?

 

Thanks

Arul


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. Support? Market installs not working

4. CAD

5. Convert a HTML in a Image

6. How to get change the SD card permissions

7. Android and openssl.