New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signature stripped #913
Comments
@NicholasBuse are these intentional, or what's the deal with the Open GApps' signatures nowadays with the whole lzip packaging, etc.? |
Sounds like the APK's are good in the repos. I don't have much expertise of manipulations due to the build process. Maybe @nezorflame or @mfonville have thoughts? |
I think we touch the APKs at some point in the building process with zipping them ourselves because we need decompressed libraries: opengapps/scripts/inc.buildhelper.sh Line 330 in 62d68d4
Normally breaking the v2 and v3 signatures (which are whole-file signatures, so they describe the compressed zip, not the contents like v1 does) doesn't influence any system APKs stored on /system, because they are assumed to be ok. If you install them via It is quite awhile ago that I had a look at this, and it might be that compressed APKs would now work on |
I am not sure if it helps. Back in 2018, (I was using Delta Gapps on arm devices) and used a compressed LatinIMEGoogle.apk when installing. More recent (2020). Since I could not mount the GSI system read-write, I made a quick Magisk module to overlay Gapp core files. Two examples when I used compressed apk(s) with a gapps install. I would say this is definitely worth looking into.. |
V2 and V3 signature stripped in apk files:
Checked in several opengapps builds: open_gapps-arm64-8.1-mini-20210314.zip, open_gapps-arm64-8.1-pico-20210314.zip, open_gapps-arm64-10.0-pico-20210314.zip
This leads to error when try to install apks via ADB:
I checked apks in source repo - https://gitlab.opengapps.org/opengapps/arm64/-/tree/master/priv-app/com.android.vending/21/nodpi - there is no such problem:
The text was updated successfully, but these errors were encountered: