Compare commits
13 Commits
45a36523ac
...
a2c1a28d6f
Author | SHA1 | Date | |
---|---|---|---|
a2c1a28d6f | |||
|
581d2e5fe4 | ||
|
f504760d3c | ||
|
761206bc33 | ||
|
c3477ab2b8 | ||
|
765749285c | ||
|
0594cee1c8 | ||
|
210c61bc40 | ||
|
0f82fa4ec0 | ||
|
cfb34985d9 | ||
|
1fd9552a8e | ||
|
122b0a20a0 | ||
|
2c4778041d |
24
.github/workflows/updater.yml
vendored
24
.github/workflows/updater.yml
vendored
@ -1,24 +0,0 @@
|
||||
name: Updater
|
||||
on:
|
||||
schedule:
|
||||
- cron: '37 13 * * *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
Update-Apks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
- run: pipx install pipenv
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'pipenv'
|
||||
cache-dependency-path: 'updater/Pipfile.lock'
|
||||
- run: pipenv install
|
||||
working-directory: updater
|
||||
- run: pipenv run python main.py
|
||||
working-directory: updater
|
@ -1 +0,0 @@
|
||||
1021051
|
@ -1,13 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := FDroid
|
||||
LOCAL_SRC_FILES := FDroid.apk
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
# these lines may break builds before 19.1 so make them conditional
|
||||
ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),)
|
||||
LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions androidx.window.sidecar
|
||||
endif
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
include $(BUILD_PREBUILT)
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
2130
|
@ -1,20 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := privapp-permissions-org.fdroid.fdroid.privileged.xml
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC)/permissions
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := FDroidPrivilegedExtension
|
||||
LOCAL_SRC_FILES := FDroidPrivilegedExtension.apk
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_PRIVILEGED_MODULE := true
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_REQUIRED_MODULES := privapp-permissions-org.fdroid.fdroid.privileged.xml
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
include $(BUILD_PREBUILT)
|
||||
|
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<permissions>
|
||||
<privapp-permissions package="org.fdroid.fdroid.privileged">
|
||||
<permission name="android.permission.DELETE_PACKAGES"/>
|
||||
<permission name="android.permission.INSTALL_PACKAGES"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
@ -1 +0,0 @@
|
||||
20036
|
@ -1,9 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := IchnaeaNlpBackend
|
||||
LOCAL_SRC_FILES := IchnaeaNlpBackend.apk
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
include $(BUILD_PREBUILT)
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
20042
|
@ -1,9 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := NominatimGeocoderBackend
|
||||
LOCAL_SRC_FILES := NominatimGeocoderBackend.apk
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
include $(BUILD_PREBUILT)
|
Binary file not shown.
17
README.md
17
README.md
@ -1,3 +1,7 @@
|
||||
# This is fork of lineageos4microg/android_vendor_partner_gms
|
||||
|
||||
Refer to https://github.com/lineageos4microg/android_vendor_partner_gms to get original repo.
|
||||
|
||||
# microG Mobile Services
|
||||
|
||||
This is a collection of FOSS APKs, coupled with the respective Makefiles for an
|
||||
@ -15,9 +19,9 @@ Example manifest:
|
||||
</manifest>
|
||||
```
|
||||
|
||||
Note 1. You do not need to set `CUSTOM_PACKAGES` for the packages to be included when building with [our Docker engine](https://github.com/lineageos4microg/docker-lineage-cicd).
|
||||
Note 1. You do not need to set `CUSTOM_PACKAGES` for the packages to be included when building with [our Docker engine](https://github.com/lineageos4microg/docker-lineage-cicd). LineageOS did not make those changes in the 17.1 branch, so to make a 17.1 build, you will need to apply the changes to `AndroidManifest.xml` and `strings.xml` from [the Android Q LOS 17.1 branch-specific patch](https://github.com/lineageos4microg/docker-lineage-cicd/blob/35b7190bda4f2988845f09e028d266a23fd8b559/src/signature_spoofing_patches/android_frameworks_base-Q.patch). You do not need to apply the other changes in that patch. (See [this issue, and all it's comments](https://github.com/lineageos4microg/android_vendor_partner_gms/issues/42#issuecomment-2674105896) for more information about this)
|
||||
|
||||
Note 2. LineageOS now support ***restricted*** signature spoofing, so it is no longer neccessary to patch their sources, unless you want ***unrestricted*** signature spoofing
|
||||
Note 2. LineageOS now support ***restricted*** signature spoofing, in 18.1 and later branches, so it is no longer neccessary to patch their sources, unless you want ***unrestricted*** signature spoofing
|
||||
~~For the microG packages to work, signature spoofing must be enabled, by patching the LineageOS sources before building.~~
|
||||
- ~~If you are building with [our Docker engine](https://github.com/lineageos4microg/docker-lineage-cicd), this is done automatically according to the values of the `SIGNATURE_SPOOFING` variable - see [here](https://github.com/lineageos4microg/docker-lineage-cicd#signature-spoofing). 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.~~
|
||||
- ~~If you are building manually, you can download and include the patches from [here](https://github.com/lineageos4microg/docker-lineage-cicd/tree/master/src/signature_spoofing_patches). If you follow the [microG patching instructions](https://github.com/microg/GmsCore/wiki/Signature-Spoofing), you ROM will allow _**any**_ app, not only system apps, to spoof app signatures. To apply only 'restricted' signature spoofing, you should do something similar to what the Docker engine `build.sh` does in [this code](https://github.com/lineageos4microg/docker-lineage-cicd/blob/c77eabe036a1620499a8c087b732e039e0734656/src/build.sh#L229C1-L231C1).~~
|
||||
@ -38,16 +42,9 @@ The symptoms of the problem as some apps from this repo (e.g. FakeStore and GmsC
|
||||
---------------
|
||||
|
||||
The included APKs are:
|
||||
* FDroid packages (binaries sourced from [here](https://f-droid.org/packages/org.fdroid.fdroid/) and [here](https://f-droid.org/packages/org.fdroid.fdroid.privileged/))
|
||||
* FDroid: a catalogue of FOSS (Free and Open Source Software) applications for the Android platform
|
||||
* FDroid Privileged Extension: a FDroid extension to ease the installation/removal of apps
|
||||
* additional_repos.xml: a simple package to include the [microG FDroid repository](https://microg.org/fdroid.html) in the ROM (requires FDroid >= 1.5)
|
||||
* microG packages (binaries sourced from [here](https://microg.org/download.html))
|
||||
* GmsCore: the main component of microG, a FOSS reimplementation of the Google Play Services (requires GsfProxy and FakeStore for full functionality)
|
||||
* GsfProxy: a GmsCore proxy for legacy GCM compatibility
|
||||
* FakeStore: an empty package that mocks the existence of the Google Play Store
|
||||
* IchnaeaNlpBackend: Network location provider using Mozilla Location Service
|
||||
* NominatimGeocoderBackend: Geocoder backend that uses OSM Nominatim service.
|
||||
|
||||
These are official unmodified prebuilt binaries, signed by the
|
||||
corresponding developers.
|
||||
These are official unmodified prebuilt binaries, signed by the corresponding developers.
|
||||
|
@ -1,9 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := additional_repos.xml
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC)/org.fdroid.fdroid
|
||||
LOCAL_SRC_FILES := additional_repos.xml
|
||||
include $(BUILD_PREBUILT)
|
||||
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="additional_repos">
|
||||
<!-- name -->
|
||||
<item>microG F-Droid repo</item>
|
||||
<!-- address -->
|
||||
<item>https://microg.org/fdroid/repo</item>
|
||||
<!-- description -->
|
||||
<item>This is a repository of microG apps to be used with F-Droid. Applications in this repository are signed official binaries built by the microG Team from the corresponding source code.</item>
|
||||
<!-- version -->
|
||||
<item>19</item>
|
||||
<!-- enabled -->
|
||||
<item>1</item>
|
||||
<!-- push requests -->
|
||||
<item>ignore</item>
|
||||
<!-- pubkey -->
|
||||
<item>308202ed308201d5a003020102020426ffa009300d06092a864886f70d01010b05003027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a656374301e170d3132313030363132303533325a170d3337303933303132303533325a3027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a65637430820122300d06092a864886f70d01010105000382010f003082010a02820101009a8d2a5336b0eaaad89ce447828c7753b157459b79e3215dc962ca48f58c2cd7650df67d2dd7bda0880c682791f32b35c504e43e77b43c3e4e541f86e35a8293a54fb46e6b16af54d3a4eda458f1a7c8bc1b7479861ca7043337180e40079d9cdccb7e051ada9b6c88c9ec635541e2ebf0842521c3024c826f6fd6db6fd117c74e859d5af4db04448965ab5469b71ce719939a06ef30580f50febf96c474a7d265bb63f86a822ff7b643de6b76e966a18553c2858416cf3309dd24278374bdd82b4404ef6f7f122cec93859351fc6e5ea947e3ceb9d67374fe970e593e5cd05c905e1d24f5a5484f4aadef766e498adf64f7cf04bddd602ae8137b6eea40722d0203010001a321301f301d0603551d0e04160414110b7aa9ebc840b20399f69a431f4dba6ac42a64300d06092a864886f70d01010b0500038201010007c32ad893349cf86952fb5a49cfdc9b13f5e3c800aece77b2e7e0e9c83e34052f140f357ec7e6f4b432dc1ed542218a14835acd2df2deea7efd3fd5e8f1c34e1fb39ec6a427c6e6f4178b609b369040ac1f8844b789f3694dc640de06e44b247afed11637173f36f5886170fafd74954049858c6096308fc93c1bc4dd5685fa7a1f982a422f2a3b36baa8c9500474cf2af91c39cbec1bc898d10194d368aa5e91f1137ec115087c31962d8f76cd120d28c249cf76f4c70f5baa08c70a7234ce4123be080cee789477401965cfe537b924ef36747e8caca62dfefdd1a6288dcb1c4fd2aaa6131a7ad254e9742022cfd597d2ca5c660ce9e41ff537e5a4041e37</item>
|
||||
|
||||
<!-- name -->
|
||||
<item>microG F-Droid archive</item>
|
||||
<!-- address -->
|
||||
<item>https://microg.org/fdroid/archive</item>
|
||||
<!-- description -->
|
||||
<item>The repository of older versions of applications from the main repository.</item>
|
||||
<!-- version -->
|
||||
<item>19</item>
|
||||
<!-- enabled -->
|
||||
<item>0</item>
|
||||
<!-- push requests -->
|
||||
<item>ignore</item>
|
||||
<!-- pubkey -->
|
||||
<item>308202ed308201d5a003020102020426ffa009300d06092a864886f70d01010b05003027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a656374301e170d3132313030363132303533325a170d3337303933303132303533325a3027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a65637430820122300d06092a864886f70d01010105000382010f003082010a02820101009a8d2a5336b0eaaad89ce447828c7753b157459b79e3215dc962ca48f58c2cd7650df67d2dd7bda0880c682791f32b35c504e43e77b43c3e4e541f86e35a8293a54fb46e6b16af54d3a4eda458f1a7c8bc1b7479861ca7043337180e40079d9cdccb7e051ada9b6c88c9ec635541e2ebf0842521c3024c826f6fd6db6fd117c74e859d5af4db04448965ab5469b71ce719939a06ef30580f50febf96c474a7d265bb63f86a822ff7b643de6b76e966a18553c2858416cf3309dd24278374bdd82b4404ef6f7f122cec93859351fc6e5ea947e3ceb9d67374fe970e593e5cd05c905e1d24f5a5484f4aadef766e498adf64f7cf04bddd602ae8137b6eea40722d0203010001a321301f301d0603551d0e04160414110b7aa9ebc840b20399f69a431f4dba6ac42a64300d06092a864886f70d01010b0500038201010007c32ad893349cf86952fb5a49cfdc9b13f5e3c800aece77b2e7e0e9c83e34052f140f357ec7e6f4b432dc1ed542218a14835acd2df2deea7efd3fd5e8f1c34e1fb39ec6a427c6e6f4178b609b369040ac1f8844b789f3694dc640de06e44b247afed11637173f36f5886170fafd74954049858c6096308fc93c1bc4dd5685fa7a1f982a422f2a3b36baa8c9500474cf2af91c39cbec1bc898d10194d368aa5e91f1137ec115087c31962d8f76cd120d28c249cf76f4c70f5baa08c70a7234ce4123be080cee789477401965cfe537b924ef36747e8caca62dfefdd1a6288dcb1c4fd2aaa6131a7ad254e9742022cfd597d2ca5c660ce9e41ff537e5a4041e37</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -2,8 +2,3 @@ PRODUCT_PACKAGES += \
|
||||
GmsCore \
|
||||
GsfProxy \
|
||||
FakeStore \
|
||||
IchnaeaNlpBackend \
|
||||
NominatimGeocoderBackend \
|
||||
FDroid \
|
||||
FDroidPrivilegedExtension \
|
||||
additional_repos.xml
|
||||
|
@ -28,6 +28,9 @@ def update_if_needed(module: str, release: ApkRelease):
|
||||
version_code_file.truncate()
|
||||
version_code_file.close()
|
||||
|
||||
print('Need to update {} to {}'.format(module, release.version_name))
|
||||
return
|
||||
|
||||
print('commit and push...')
|
||||
git.add_commit_push(module_dir, 'Update {} to {}'.format(module, release.version_name))
|
||||
|
||||
@ -44,4 +47,3 @@ update_if_needed('FDroid', fdroid_recommended_release(fdroid_main_repo, 'org.fdr
|
||||
update_if_needed('FDroidPrivilegedExtension', fdroid_recommended_release(fdroid_main_repo, 'org.fdroid.fdroid.privileged'))
|
||||
update_if_needed('GmsCore', fdroid_recommended_release(fdroid_microg_repo, 'com.google.android.gms'))
|
||||
update_if_needed('GsfProxy', fdroid_recommended_release(fdroid_microg_repo, 'com.google.android.gsf'))
|
||||
update_if_needed('NominatimGeocoderBackend', fdroid_recommended_release(fdroid_main_repo, 'org.microg.nlp.backend.nominatim'))
|
||||
|
Loading…
Reference in New Issue
Block a user