OEMUnlockOnBoot is a simple Magisk/KernelSU module that ensures Android's OEM unlocking
toggle is enabled on every boot. It is meant for use in setups where the bootloader is locked with the user's key (eg. with avbroot) to ensure that the device is always recoverable in the event of a boot failure.
-
Download the latest version from the releases page. To verify the digital signature, see the verifying digital signatures section.
-
Install the module from the Magisk/KernelSU app.
-
Reboot. The log file is written to
/data/local/tmp/OEMUnlockOnBoot.log
.
To verify the digital signatures of the downloads, follow the steps here.
OEMUnlockOnBoot can be built like most other Android projects using Android Studio or the gradle command line.
To build the module zip:
./gradlew zipRelease
The output file is written to app/build/distributions/release/
.
OEMUnlockOnBoot is licensed under GPLv3. Please see LICENSE
for the full license text.