Hi all,

some of the 3D applications like GlobalTime and compass are not
working for me. when i click on these applications i see a blank
screen. These applications use eglCreateWindowSurface API to create a
new surface. This API is returning BAD_ALLOC error when i check its
error type in JNI.

same is the case with bootanimation binary. But if I change the
bootanimation to root in the init.rc script I see the API returns
proper value which means my 3D application also needs root access to
make the API work.

I've gone through some of discussions where they say application is
never run as root and even system server is run with UID 1000. I could
see it in  android_filesystem_config.h about the UIDs for android and
related applications.


I wish to know how do I make my application as root. I know its a
security issue allowing change in permissions, but the customer really
wants see these 3D applications.  Can anyone please help me with this.



Regards,
Manjunath

Reply via email to