System properties

There are many different system properties that indicate various states of an Android system related to its page size support. If you're trying to understand how a specific device is configured, these options provide an overview of how page size is configured and used in Android.

  • ro.boot.hardware.cpu.pagesize is an OEM-specific value, indicating the page size that is running. In Android 16 (AOSP experimental), this is set by init by default based on the CPU page size if it isn't passed from the bootloader.
  • ro.product.cpu.pagesize.max is the value of PRODUCT_MAX_PAGE_SIZE_SUPPORTED or in other words, the expected alignment of binaries on device.
  • ro.product.page_size (introduced in Android 16 (AOSP experimental)) is the product-defined page size (based on TARGET_BOOTS_16K). This defines what the page size should be and is verfied in Vts16KPageSizeTest. If the wrong kernel is used, the mismatch with this property tells you.
  • ro.product.build.16k_page.enabled indicates whether the device supports a developer option to switch between 4 KB and 16 KB mode. Read more how to enable and use this option.