|
|
||
|---|---|---|
| .. | ||
| ATVOverlay | ||
| ActionsServicesOverlay | ||
| DefaultDialerOverlay | ||
| PhoneOverlay | ||
| PixelLauncherOverlay | ||
| PlayStoreOverlay | ||
| TelecomOverlay | ||
| WellbeingOverlay | ||
| README.md | ||
README.md
OpenGApps overlays
These overlays are required since SDK28 to support some of the Google features like setting the default Dialer or making PixelLauncher work as it dose on Pixel devices.
Contents
This folder contains both overlay APKs and their sources in the respective folders. You're free to browse them to see what's inside each of the overlay.
Creation process
The process is pretty basic and includes these 5 steps:
-
Set up the folder structure with the required resources
-
Set up the
AndroidManifest.xmlto target proper Android version -
Build the overlay's APK file by calling
aapt:aapt p -M AndroidManifest.xml -S res -I $ANDROID_SDK_ROOT/platforms/android-VERSION/android.jar -F overlay.apk.unwhere:
VERSIONis the targeted Android version number (e.g.30).unsuffix stands for unaligned (we will zipalign it later)
-
Sign the unaligned APK:
jarsigner -keystore PATH/TO/YOUR/keystore.jks overlay.apk.un YOUR_KEY_NAMEYou'll be asked for the keystore password and the key password, if required
-
Zipalign the APK:
zipalign 4 overlay.apk.un overlay.apk