204 Commits
Author SHA1 Message Date
oxmc 5e72500f8e GmsCore: pre-grant ACCESS_BACKGROUND_LOCATION and Bluetooth runtime perms
Audited GmsCore/AuroraStore/FakeStore's declared permissions against their
default-permissions grants (dangerous protection level confirmed against
frameworks/base's own AndroidManifest.xml, not guessed). AuroraStore and
FakeStore were already complete. GmsCore had two real gaps:
ACCESS_BACKGROUND_LOCATION was a literal unfilled template placeholder
(<!-- %ACCESS_BACKGROUND_LOCATION% -->), and BLUETOOTH_ADVERTISE/
BLUETOOTH_CONNECT/BLUETOOTH_SCAN (Android 12+ runtime permissions) were
declared by the app but never added to this older-style template at all.
Without these, location and Bluetooth features prompt the user on first
use instead of just working.
2026-08-16 05:31:36 -07:00
oxmc 6748161490 AuroraStore: trim permission comment to match existing style 2026-08-16 04:51:54 -07:00
oxmc 2423d4cc34 AuroraStore: allowlist INSTALL_PACKAGES/DELETE_PACKAGES
Fatal on every boot: system_server crashed outright at systemReady()
(AppIdPermissionPolicy.onSystemReady) with "Signature|privileged
permissions not in privileged permission allowlist" for com.aurora.store's
INSTALL_PACKAGES and DELETE_PACKAGES, killing zygote and looping the
device forever ("process with updatable components 'zygote' exited 4
times before boot completed"). Both are confirmed signature|privileged
protection level in frameworks/base's own AndroidManifest.xml; the
existing allowlist entry only had ENFORCE_UPDATE_OWNERSHIP.
2026-08-16 04:50:47 -07:00
oxmc ebc390d2e2 GsfProxy: skip preprocessed-apk checks, matching other GMS prebuilts
Presigned by Google; we have no private key to re-sign it after fixing dex
compression, same situation as GmsCore/FakeStore/AuroraStore/
FDroidPrivilegedExtension in this repo, which already carry this flag.
2026-08-15 23:44:19 -07:00
oxmc dbfa0e99e7 aurora: bump preload pin to 4.8.4 2026-08-15 02:35:46 -07:00
oxmc 6782adb2e4 fix: follow redirects when checking APK Content-Length
curl -sI on GitHub/GitLab release-asset URLs was hitting the 302
redirect response instead of the final asset, so its Content-Length
never matched the local file and download_apk() redownloaded GmsCore/
GsfProxy/FakeStore on every envsetup.sh run regardless of whether the
pinned version actually changed.
2026-08-15 02:35:46 -07:00
oxmc d1832f4b35 fdroid: sync additional_repos.xml with additional_repos.json
The XML only carried the two microG repos; add F-Droid Official,
IzzyOnDroid and FUTO so the prebuilt client ships the same repo set as
the JSON. The XML string-array needs the full DER-encoded signing
certificate, not the SHA-256 fingerprint the JSON stores, so each
certificate was pulled from that repo's index-v1.jar signature block
and verified: SHA-256 of the DER matches the fingerprint in the JSON.
microG pubkeys are unchanged.
2026-07-21 21:15:49 -07:00
oxmc dfd68244dd Add Aurora Store, fix microG signature spoofing, overhaul updater
- AuroraStore: bundle the privileged preload variant with privapp +
  default-permissions; pull from AuroraOSS GitLab in vendorsetup.sh
- microG sig-spoofing: keep FAKE_PACKAGE_SIGNATURE signature|privileged
  (system-level, non-requestable); drop the dead dangerous-model
  default-permissions grant; make GsfProxy privileged
- updater: rewrite for correct sources (GitHub microG / GitLab Aurora /
  F-Droid), fix apps/ module paths, handle .microg_release and Aurora's
  .version_tag, add requirements.txt (replaces Pipfile)
- README: rewrite for the trimmed PawletOS fork
2026-07-21 17:45:09 -07:00
oxmc 795dafc62e Android.bp: add preprocessed: true to all presigned APKs
Presigned APKs with targetSdkVersion >= 30 must set preprocessed: true
to prevent the build system from re-processing them and wrecking their
v2 signature.
2026-06-15 21:54:31 +00:00
oxmc 68030a2d02 partner_gms: migrate Android.mk to Android.bp, fix vendorsetup.sh paths
Replace all Android.mk prebuilt rules with Android.bp android_app_import
modules. presigned: true in Soong guarantees APK signatures are untouched
(no signapk run, alignment-safe zipalign only), which is required so
microG/FDroid retain their own certs rather than being re-signed with the
platform key.

Fix vendorsetup.sh download paths to match the reorganised directory
structure: GmsCore and GsfProxy moved under apps/GMS/, FDroidPrivilegedExtension
moved under apps/FDroid/FDroidPrivilegedExtension/. The download_apk helper
now accepts an explicit destination path instead of deriving it from the
component name.

Also stage the directory renames and removal of the unused products/ stubs.
2026-06-15 02:26:02 -07:00
oxmc 8a7f7977ad partner_gms: move gms.mk to repo root, drop empty products/ dir 2026-06-13 03:16:14 -07:00
oxmc 420c3644f0 partner_gms: consolidate additional_repos config into apps/FDroid
Move additional_repos.xml and .json into apps/FDroid alongside the
FDroid APK and merge their Android.mk into FDroid's. They are
F-Droid-specific config (pre-seeds the microG repo) so they belong
there. Remove from PRODUCT_PACKAGES in gms.mk since the modules are
now discovered as part of FDroid's Android.mk.
2026-06-13 03:08:37 -07:00
oxmc efda55feeb partner_gms: restructure into apps/ subdir, fix Android.mk build flags
- Move all app subdirectories under apps/ for cleaner layout
- Remove GitHub Actions workflows (self-hosted on Gitea)
- GsfProxy: add LOCAL_DEX_PREOPT := false and
  LOCAL_REPLACE_PREBUILT_APK_INSTALLED to prevent signature stripping
  during deodexing (see lineageos4microg issue re GsfProxy)
- FDroid, FDroidPrivilegedExtension: add LOCAL_DEX_PREOPT := false
- FakeStore: add LOCAL_DEX_PREOPT := false (already had PRESIGNED)
- GmsCore: remove duplicate LOCAL_PRODUCT_MODULE (was set twice)
2026-06-13 03:01:34 -07:00
Pete FotheringhamandGitHub bd95ffe126 Partial fix pr #94 Change how we pre-install the microG F-Droid repo (#99)
* Add the json file

* Add the json file to the makefile

* add json file to products/gms.mk
2026-05-31 22:22:06 +01:00
Martin MatuskaandPete Fotheringham 4b3b480332 Update FakeStore and GmsCore to v0.3.15.250932
Add new GmsCore permissions
2026-04-27 08:55:15 +01:00
Martin MatuskaandPete Fotheringham fd2f3775e1 Update FakeStore and GmsCore to v0.3.13.250932 2026-04-13 18:13:42 +01:00
Pete FotheringhamandGitHub e208c7c605 Update .microg_release to v0.3.12.250932 in master branch 2026-02-26 08:08:07 +00:00
Pete FotheringhamandGitHub 01b37df88a Update to version 1.23.2
Fixes #89
2026-02-25 21:20:40 +00:00
Pete FotheringhamandGitHub 1261d29fbd Update to version 0.3.12.40226
Fixes  #88
2026-02-25 21:18:28 +00:00
Pete FotheringhamandGitHub e358d5059b Update to version 0.3.12.250932
Fixes #90
2026-02-25 21:14:52 +00:00
Pete FotheringhamandGitHub dfee9a01e1 Disable update check for GsfProxy 2026-02-02 16:21:12 +00:00
Pete FotheringhamandGitHub 8db2a6b791 Re-enable shellcheck SC2155 errors
All the SC2155 errors should be gone since changes in `vendorsetup.sh`
2026-02-01 08:36:37 +00:00
Pete FotheringhamandGitHub 57cacf074c Download all apks at build time (if they're not present) (#84)
* F-Droid component apks correct
* Put the version number (v0.1.0) in GsfProxy/.version_code
* microG component apks correct
* download_apk function called and implemnted except for call to curl
* Hyphen not underscore in GmsCore anf FakeStore apk filenames
* Get F-Droid components from https://f-droid.org/repo/
* Download apks using curl
* Remove old commented-out code
* Comment out debug 'echo' statements

* add the necessary cd commands

* Delete the stored apks: we download them at build time
2026-02-01 08:04:49 +00:00
Pete Fotheringham ce6ed1fbdd Ignore existing errors. We can fix them later, or not 2026-01-27 13:45:19 +00:00
Pete Fotheringham 30bf771c09 Create shellcheck.yml: uses Shellcheck action 2026-01-27 13:42:34 +00:00
Pete FotheringhamandGitHub 37a1362588 Update README.md: fix #73 2026-01-19 13:28:56 +00:00
Pete FotheringhamandGitHub cd6584ad64 Update .microg_release to v0.3.11 2025-12-22 14:09:11 +00:00
Pete Fotheringham 1e01665851 Update microG components to v0.3.11.250932
Fix Update FakeStore & GmsCore to v0.3.11.250932 #70
2025-12-22 06:31:39 +00:00
Martin MatuskaandPete Fotheringham d312533afd Fix vendorsetup.sh
As the script is sourced, exit-on-error flag must be cleared
2025-12-02 20:02:16 +00:00
Pete Fotheringham 12df870c09 Update FakeStore & GmsCore to v0.3.10.250932 2025-11-30 06:37:19 +00:00
Pete FotheringhamandPete Fotheringham a2f31e2fe1 Update vendorsetup.sh
Need to work in our directory
2025-11-29 19:48:01 +00:00
Pete FotheringhamandPete Fotheringham 4764878c10 Update where we get the microG binaries from 2025-11-29 19:48:01 +00:00
Pete FotheringhamandPete Fotheringham d1eb2eea2d Add note to maintainers about uograding to a new microG version 2025-11-29 19:48:01 +00:00
Pete FotheringhamandPete Fotheringham 6f942bc305 Script to download the apks from microG. Will be called by envsetup.sh 2025-11-29 19:48:01 +00:00
Pete FotheringhamandPete Fotheringham 9dc5cfdb5b We need a microG release number to find the the apks we need 2025-11-29 19:48:01 +00:00
Pete FotheringhamandPete Fotheringham d5944601f6 We will pull FakeStore & GmsCore apks from microG's github releases page 2025-11-29 19:48:01 +00:00
Martin MatuskaandPete Fotheringham 7d5b2a6843 Update FDroid to 1.23.1 2025-10-29 14:41:39 +00:00
Pete FotheringhamandPete Fotheringham e788cd922d Update GmsCore to 0.3.9 2025-10-29 14:41:39 +00:00
Pete FotheringhamandPete Fotheringham 66099f9f61 Update FakeStore to 0.3.9 2025-10-29 14:41:39 +00:00
Pete FotheringhamandGitHub fde154c2ae Merge pull request #50 from lineageos4microg/manual-update-0.3.7
Update microG GmsCore and FakeStore to 0.3.7
2025-05-25 22:45:56 +01:00
Pete Fotheringham 56a2b7e55f Update GmsCore versioncode 2025-05-19 12:04:56 +01:00
Pete Fotheringham 44c59f7710 Update FakeStore versioncode 2025-05-19 12:04:31 +01:00
Pete Fotheringham 6e5d5c6474 Update GmsCore.apk 2025-05-19 11:50:49 +01:00
Pete Fotheringham 8e69111ef6 Update GmsCore microg.xml 2025-05-19 11:49:14 +01:00
Pete Fotheringham 54e6b64327 Update permissions for GmsCore 2025-05-19 11:44:51 +01:00
Pete Fotheringham b83d6510e7 Update FakeStore permissions 2025-05-19 11:35:39 +01:00
Pete Fotheringham 4649b26694 Update FakeStore apk 2025-05-19 11:35:16 +01:00
Pete Fotheringham 581d2e5fe4 Disable commiting and pushing to master 2025-05-02 22:05:22 +01:00
Pete FotheringhamandGitHub f504760d3c Merge pull request #45 from karlbaumg/karlbaumg-patch-2
Revert microg.xml path
2025-04-07 21:39:33 +01:00
Karl BaumgartnerandGitHub 761206bc33 Revert microg.xml path
Using /system for this file is hard-coded in MicroG but it breaks  LineageOS device builds with strict requirements around what modules go into system. Reverting to unblock the builds for now.
2025-04-02 13:15:51 +03:00