Android 15 will allow OEMs to ship arm64-v8a devices with 16KiB page sizes. Devices that use this configuration will not be able to run existing apps that use native code. To be compatible with these devices, applications will need to rebuild all their native code to be 16KiB aligned, and rewrite any code which assumes a specific page size.
This change should allow for page size to be calculated dynamically to support these new devices.
NOTE: For full support, liblinkernsbypass will also need to be updated.
Android 15 will allow OEMs to ship arm64-v8a devices with 16KiB page sizes. Devices that use this configuration will not be able to run existing apps that use native code. To be compatible with these devices, applications will need to rebuild all their native code to be 16KiB aligned, and rewrite any code which assumes a specific page size.
This change should allow for page size to be calculated dynamically to support these new devices.
NOTE: For full support, liblinkernsbypass will also need to be updated.