Commit Graph

4 Commits

Author SHA1 Message Date
3c49ddc277 Fix signature spoofing patch for Android 16 javac compatibility
- Replace bare Bundle with android.os.Bundle (no import in ComputerEngine)
- Replace try-with-resources on ApkAssets with try/finally + explicit
  close() — ApkAssets has close() but does not implement AutoCloseable
2026-06-17 12:34:43 +00:00
oxmc
be30c1affe 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:52:58 -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