Support Android 16 KB page sizes

Support 16 KB page sizes

Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (16 KB devices). If your app uses any NDK libraries, either directly or indirectly through an SDK, then you will need to rebuild your app for it to work on these 16 KB devices.

Related Files: libfmod.so libfmodL.so
Version: 2.02.23
Test Method: https://developer.android.com/guide/practices/page-sizes#test
Cmd:

objdump -p libfmod.so | grep LOAD

Result:

LOAD off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12
LOAD off    0x0000000000050000 vaddr 0x0000000000050000 paddr 0x0000000000050000 align 2**12
LOAD off    0x000000000010a000 vaddr 0x000000000010a000 paddr 0x000000000010a000 align 2**12
LOAD off    0x0000000000110000 vaddr 0x0000000000110000 paddr 0x0000000000110000 align 2**12

Not 16 KB ELF alignment.(actually the latest verison 2.03.02 does not align either)

Could you please provide adapted 16kb elf alignment libfmod.so or source code for libfmod.so.

Hi,

Thank you for bringing this to our attention. I have passed it on to our development team and it will be supported in an upcoming release. Unfortunately, I cannot provide source code or an adapted file.

Thanks for your reply, looking forward to new version release.

1 Like