Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
System properties
Stay organized with collections
Save and categorize content based on your preferences.
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, 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)
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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# System properties\n\nThere are many different system properties that indicate various states of\nan Android system related to its page size support. If you're trying to\nunderstand how a specific device is configured, these options provide an\noverview of how page size is configured and used in Android.\n\n- `ro.boot.hardware.cpu.pagesize` is an OEM-specific value, indicating the page size that is running. In Android 16, this is set by init by default based on the CPU page size if it isn't passed from the bootloader.\n- `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.\n- `ro.product.page_size` (introduced in Android 16) 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.\n- `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](/docs/core/architecture/16kb-page-size/16kb-developer-option)."]]