logoalt Hacker News

jurgenkeskertoday at 8:46 AM2 repliesview on HN

APKs need to be zipaligned, I don't see that mentioned.


Replies

ncrucestoday at 1:00 PM

This.

The APK number looks impressive if you don't know some files are uncompressed on purpose: https://developer.android.com/tools/zipalign

There's also no mention that this likely breaks signatures? https://developer.android.com/tools/apksigner

The weird thing is that they say they worked on Signal ... so, what's going on?

Retr0idtoday at 10:08 AM

Fun fact, having page-aligned uncompressed .so files in the APK allows the dynamic linker to mmap them directly out of the ZIP.

show 3 replies