3 ms·
APKs need to be zipaligned, I don't see that mentioned.
by jurgenkesker 5mo ago
APKs need to be zipaligned, I don't see that mentioned.
- Retr0id 5mo agoFun fact, having page-aligned uncompressed .so files in the APK allows the dynamic linker to mmap them directly out of the ZIP.
- jleedev 5mo agoOoh, with btrfs you could reflink an uncompressed zip entry to its own file on disk.
- teddyh 5mo ago…and you’ve rediscovered .a (ar) files.
- mananaysiempre 5mo agoFlashbacks of /OPT:NOWIN98 [1]. (That said, why not.) [1] http://web.archive.org/web/20031018072659/http://msdn.microsoft.com/msdnmag/issues/01/01/hood/ http://web.archive.org/web/20031018072659/http://msdn.micros...
- ncruces 5mo agoThis. The APK number looks impressive if you don't know some files are uncompressed on purpose: https://developer.android.com/tools/zipalign https://developer.android.com/tools/zipalign There's also no mention that this likely breaks signatures? https://developer.android.com/tools/apksigner https://developer.android.com/tools/apksigner The weird thing is that they say they worked on Signal ... so, what's going on?