commit | b8f6d866a479750207704a0487ad7337b16866de | [log] [tgz] |
---|---|---|
author | Pete Fotheringham <petefoth@e.email> | Sun May 26 09:52:20 2024 +0100 |
committer | GitHub <noreply@github.com> | Sun May 26 09:52:20 2024 +0100 |
tree | 69dc962cc2354a01528e42c4e59b39f9cb98e26e | |
parent | 28249d962a5f6af2c8a8671978f555284ee13f84 [diff] |
Update README.md: formatting
This is a collection of FOSS APKs, coupled with the respective Makefiles for an easy integration in the Android build system.
To include them in your build, add a repo manifest file to include this repository as vendor/partner_gms
and set WITH_GMS
to true
when building.
Example manifest:
<?xml version="1.0" encoding="UTF-8"?> <manifest> <project path="vendor/partner_gms" name="lineageos4microg/android_vendor_partner_gms" remote="github" revision="master" /> </manifest>
Note 1. You do not need to set CUSTOM_PACKAGES
for the packages to be included when building with our Docker engine.
Note 2. For the microG packages to work, signature spoofing must be enabled, by patching the LineageOS sources before building.
SIGNATURE_SPOOFING
variable - see here. By default, this variable is set to restricted
, allowing only system apps (those built-in to the ROM) to 'spoof' the signature of another app.build.sh
does in this code.Note 3. If you encounter problems related to APK / app signing when using these components you may need to add the following line in the Android.mk for the component in question:
LOCAL_REPLACE_PREBUILT_APK_INSTALLED := $(LOCAL_PATH)/$(LOCAL_MODULE).apk
Such problems can occur when
the app / APK is resigned with your keys; (this should not happen if the line LOCAL_CERTIFICATE := PRESIGNED is included in the app makefile) app / APK signatures are 'stripped` during the during the deodexing phase of the build. For some apps the deodexed app ends up unsigned, and so will not run.
The symptoms of the problem as some apps from this repo (e.g. FakeStore and GmsCore) missing completely from your launcher and acting like they're not installed.
(Some background to this issue can be found here and here)
The included APKs are:
These are official unmodified prebuilt binaries, signed by the corresponding developers.