<span class="mw-page-title-main">OEM-Unlock</span>
The Option OEM-Unlock (available since Android
Apart from the possibility to unlock the bootloader, OEM-Unlock (if enabled) also disables the Android Factory Reset Protection (FRP) of the Device Protection toolset. If this feature is disabled, the device can be resetted using a factory reset method and can than be setup without needing to authenticate with a previously synchronized Google account.
Technical implementation
When implementing an option like the OEM-Unlock, both, the bootloader, and the Android system needs to access a common, persistent storage for settings.[2] This also requires a raw format to save data, as not both independent systems may have the same abstraction layer and support libraries. In this case, Android provides a specific partition, which can persist data. The partition can vary from system to system, which is why the used partition is saved in the system property ro.frp.pst.[3] On an HTC 10, e.g., the partition frp (short for Factory Reset Protection) is used,[4] whereas Samsung devices, which are based on a Snapdragon 625 MSM8976, uses the persistent partition.[5] The block devices of the partition also vary from device to device.
If the OEM-Unlock option is enabled in the developer options, Android saves the new value of the option (1 for enabled and 0 for disabled) as the content of the configured partition. The bootloader can, if needed by the bootloader unlock implementation, read this value and prevent the unlock, if necessary.
References
- ↑ Lua error: Internal error: The interpreter exited with status 127.
- ↑ Lua error: Internal error: The interpreter exited with status 127.
- ↑ Lua error: Internal error: The interpreter exited with status 127.
- ↑ Lua error: Internal error: The interpreter exited with status 127.
- ↑ Lua error: Internal error: The interpreter exited with status 127.