What is required for an app to run as a System app? What needs to be requested from the device vendor? Does the process change if the device is rooted and the app is to ca
java -jar signapk.jar platform.x509.pem platform.pk8 bin/TestApp-unsigned.apk bin/TestApp.apk
System permissions such as access to PowerManager need the application to be signed with the platform key besides giving android.permission.POWERMANAGER
or a similar permission in the manifest.
As far as signing with the platform key is concerned, we can do that by building the entire firmware with the application included.
You have to sign your application with system key , see this thread How to compile Android Application with system permissions