Commit Graph

3 Commits

Author SHA1 Message Date
oxmc
d6605ad6ac patches: fix signature spoofing for android:resource meta-data
Bundle.getString(fake-signature) silently returns null when GmsCore
declares the cert via android:resource=@string/fake_signature — the
Bundle entry is an Integer (resource ID), not a String.

Add getFakeSignature() which falls back to meta.getInt() and resolves
the resource ID by loading the APK via ApkAssets.loadFromPath() +
AssetManager.Builder, avoiding re-entry into PackageManager.

requestsFakeSignature() and mayFakeSignature() now delegate to this
helper instead of calling getString() directly.
2026-06-16 23:09:33 -07:00
oxmc
1fa47adfea patches: initial patch set - signature spoofing for microG
Base patch structure for AOSP Android 16 build:
- signature-spoofing: patch PackageManager to allow FAKE_PACKAGE_SIGNATURE
  permission for microG; use signature|privileged protection level and add
  lint-baseline entries for the UnflaggedApi annotation
- iconloaderlib: remove forceMonochromeAppIconsAdaptColors flag absent in
  this AOSP revision (was causing build breakage)
2026-06-11 08:59:19 -07:00
d5f287075a Updates 2026-03-20 05:16:52 -07:00