AnsweredAssumed Answered

How to add custom system service to AOSP

Question asked by Maneesh Singh on Jul 30, 2019
Latest reply on Sep 16, 2019 by Yangyang Xuan

Hi Sir,


I am new to iMX and Android AOSP world and studying the Android System.
I am using iMX8m mini board and i am able to download and build AOSP for Android 9 for this board. 

Now i want to add simple custom system service to this AOSP but i don't know how to do this. 

I followed the discussion - 


and checked the below link which he was mentioning - 

shridutt kothari's blog: Adding New System Service in Android

Android-Adding SystemService - Texas Instruments Wiki


I also checked this link -

AOSP – Creating a System Service – Developers Area 


But it seems link these steps are for older Android versions. And I am using Android 9.


Please suggest me how can add a simple system service for Android 9 and for my iMX8m Mini board.


Thanks & Regards,