AnsweredAssumed Answered

run an executable and script during Android bootup

Question asked by Maneesh Singh on Aug 9, 2019
Latest reply on Oct 12, 2019 by vinothkumar s

Hi Sir,

 

I am using iMX8M EVK with Android 9.0 running on it. I downloaded and build the AOSP 9.0 for iMX8M and now using it with my EVK board. 

 

I have created a executable and After Android boots up i can copy my executable into /data/local/tmp directory and run it using adb. 

for e.g. - In data/local/tmp i can run my executable as => ./my_executable

 

But Now i want to run my executable during Android boot up time. 

I mean to say instead of manually copying and running the executable i want to make it part of AOSP and when AOSP boot up that time only my executable should also run. 

 

In below thread they given the solution to do changes in /etc/rc.local script for Linux

https://community.nxp.com/message/820999?commentID=820999#comment-820999 

 

But for Android / AOSP how can i do that ??

 

 

Thanks,

Maneesh

Outcomes