Support for 16 KB page size on Android 15+
Problem description
Termux app itself and most termux packages haven't support support 16 KB page size yet
Steps to reproduce the behavior.
Running Termux on Google APIs Experimental 16k Page Size ARM 64 v8a System Image
https://developer.android.com/guide/practices/page-sizes#16kb-emulator
Or verify the ELF sections of any .so libraries in the apk or executables in the packages with the script below:
https://developer.android.com/guide/practices/page-sizes#test
What is the expected behavior?
No response
System information
Android 15+ with 16 KB size
Note: I'm raising this issue simply because it hasn't been brought up yet. This doesn't necessarily mean it's a high priority or that it's currently impacting any end-users. We can use this thread to discuss the potential impact of this change and any plans moving forward
I'm not sure if this changes the priority of this: https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html
Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes.
@agnostic-apollo @fornwall Please fix the issue of 16KB Page size requirement as it is now required on play store and major apps that is using your lib is in trouble as they won't be able to fix the issue until you are fixing it.
From gogole playstore:
- Starting with Android 15 (API 35), devices can use 16KB memory page sizes instead of the traditional 4KB.
- From Nov 1, 2025, any new apps or updates targeting Android 15+ will need to support 16KB pages.
- By May 1, 2026, updates to existing apps that don’t support this will be blocked from publishing.
https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html
Being tracked in https://github.com/termux/termux-packages/issues/21688