Skip to content

Hide tor's symbols on Android and add other linker options to save space

On Android we're always very close to the APK maximum size.

A cypherpunk linked an interesting forum thread.

I applied some of the suggestions (hiding symbols, ICF and --pack-dyn-relocs=relr), and this should allow us to save another 370kB on x86 binaries (which are the biggest ones).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information