I've added the following snippet to the end of
on property:dev.bootcomplete=1 start bootcomplete_handler service bootcomplete_handler /system/bin/bc_handler.sh class main user root group root disabled oneshot
#!/system/bin/sh echo hi > /data/hi.txt monkey -p com.example.package 1
What I'm trying to achieve is to run an app when device boots up. That
echo is just for test, as I check existence of
/data/hi.txt, it won't be created when device boots up. Could someone help me? BTW, I'm using bullhead if matters.