Android AOSP – Running something at bootup

There will be some .mk file where you need to put code to copy files to the android system.



# file copy
device/softwinner/nanopi-h3/extras/kernelService:system/bin/kernelService \
device/softwinner/nanopi-h3/extras/ \

Now in init.rc

#service for kernel commands like

service someName /system/bin/

class main




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s