11
Make your system APK
1 . MODIFY THE MANIFEST
You modify the APK manifest by adding this line:
android:sharedUserId="android.uid.system"
Sample manifest (AndroidManifest.xml file):
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tech.qeedji.reboot"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.REBOOT" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
2 . SIGN THE APPLICATION WITH YOUR SYSTEM JAVA KEYSTORE
When crea ng the APK, sign the APK with your
System Java Keystore
.
With the previous example, you would have to use the following parameters values:
Key store password = 567890
Key password = 1234
Cer ficate revoca on
◬
In case the security or commercial condi ons are not fully fi lled, Qeedji keeps the rights to revocate a ISV cer fi cate.