android_vendor_extendrom
android_vendor_extendrom copied to clipboard
sig spoofing: extend with PackageInfo.signingInfo / various Google Apps stop working with microG
Reproduction steps / Problem description
issue:
Google seemingly has updated their signature checking code. On Android 9 and above, the latest code uses PackageInfo.signingInfo (via GET_SINGNING_CERTIFICATES flags) instead of PackageInfo.signatures (via GET_SIGNATURES flag). This will likely roll out to non-Google apps in the future as well.
This means that all signature spoofing patches need to be updated to address the change of API usage by - in addition to the PackageInfo.signatures also spoofing the PackageInfo.signingInfo. There's unfortunately nothing we can do in microG itself.
Device vendor
any
Custom OS
any
OS version
A9 and later
extendrom log
n/a
Build log
No response
extendrom's Android.mk
No response
Free form for additional info
see:
- https://github.com/microg/GmsCore/issues/2680#issuecomment-2538425189
Available patches:
- A15: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/411386
- A14: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/411374
- A13: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/411384
- A12: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/411385
current extendrom implementation
fix applied for:
- [x] A13 (tested - working)
- [x] A12 (untested)
- [x] A11 (tested - working)
- [x] A10 (tested - working)
- [ ] A9 (applied in eOS - working. will be adapted to extendrom in 2025 first)