I'm trying to run the factory application i.e. GlobalTime where one
EGL API eglCreateWindowSurface is used. The Vendor provided EGL
library call is only working with root access. It is not a third party
application.

Also the SystemServer  initiates SurfaceFlinger. In this case the
above EGL API is working fine in SurfaceFlinger. I believe this is
because SystemServer is started as root.

Regards,
Manjunath


On Mar 29, 3:46 pm, a2ronus <aaron.jan...@gmail.com> wrote:
> Hello Dianne, I have a question related to this. Is it possible to use
> sharedUserId=android.uid.system in combination with (re-)signing a
> (newly) built Android and the app with the same key to achieve having
> more permissions for an app?
>
> Thanks in advance.
>
> On 26 mrt, 22:10, Dianne Hackborn <hack...@android.com> wrote:
>
> > You can't as a third partyapplication(in fact you can't at all without
> > hacking the platform or possibly running in factory test mode).  Modifying
> > the platform is more appropriate for android-porting.
>
> > On Fri, Mar 26, 2010 at 5:22 AM, manjunath <phc2h5nh3.ma...@gmail.com>wrote:
>
> > > Hi,
>
> > > I want to run aapplicationasrootto check one of my API
> > > functionality. I know that Android won't permit applications withroot
> > > access i.e. setting UID = 0.  Can anyone provide a hack so that I can
> > > run myapplicationasroot.
>
> > > I saw in Process.java file that FIRST_APPLICATION_UID is set to 10000
> > > and so on. If I set it to 0 my homescreen doesn't come up.
> > > Can anyone tell me where this security check is done.
>
> > > I also want to know the actual flow for anyapplicationto run on
> > > android.
>
> > > Thanks,
> > > Manjunath
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs
> > >  cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > > To unsubscribe from this group, send email to android-developers+
> > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> > > ME" as the subject.
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to