I have a service that I am trying to start with the init.rc file in Android. It looks like this:
service myapp /data/local/myapp --daemon
class core
user root
group root
oneshot
The problem is that "myapp" starts after a reboot, but not on the first boot after device images blink.
From the logs, I notice that in the first boot logs I get a log from my application in / dev / log / system (the kernel code that I edited was checked to verify that my application was there)
however, I am not getting a log showing that I am trying to run it (how the init.rc file should do this)
after reboot, I get both logs (-verify and executing) in / dev / log / main ...
source
share