permissions failing from init on first boot after flashing device

34 views
Skip to first unread message

girlCoder

unread,
Apr 18, 2012, 2:30:41 PM4/18/12
to andro...@googlegroups.com
I am working on a project that creates custom images for an Android device.  We edit the kernel and other os files.  Our system init calls init.herring.rc which is where we have our 'module' starting from.

service ourapp /data/local/ourapp --daemon
    class core
    user root
    group root
    oneshot

On the first boot after flashing our images onto the device 'ourapp' always fails due to permissions.  However, after we reboot once the init.herring.rc starts up 'ourapp' fine.  What could be causing this?  Why would a reboot be necessary for the init.rc file to start a service...

Thanks!!

David Turner

unread,
Apr 18, 2012, 2:57:44 PM4/18/12
to android-porting
I'm redirecting you to android-porting@, this is not related to the NDK.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/1mWjaSQZb_sJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Reply all
Reply to author
Forward
0 new messages