Skip to content

chenxiaolong/OEMUnlockOnBoot

Repository files navigation

OEMUnlockOnBoot

latest release badge license badge

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.

Usage

  1. Download the latest version from the releases page. To verify the digital signature, see the verifying digital signatures section.

  2. Install the module from the Magisk/KernelSU app.

  3. Reboot. The log file is written to /data/local/tmp/OEMUnlockOnBoot.log.

Verifying digital signatures

To verify the digital signatures of the downloads, follow the steps here.

Building from source

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/.

License

OEMUnlockOnBoot is licensed under GPLv3. Please see LICENSE for the full license text.

About

Reenable Android's `OEM unlocking` toggle on every boot

Resources

License

Stars

Watchers

Forks

Packages

No packages published