Skip to content

About

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

Resources

Stars

93 stars

Watchers

4 watching

Forks

Repository files navigation

OEMUnlockOnBoot

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

Contributing

(AI policy)

Bug fix pull requests are welcome and much appreciated!

If you are interested in implementing a new feature and would like to see it included in OEMUnlockOnBoot, please open an issue to discuss it first.

License

OEMUnlockOnBoot is licensed under GPL-3.0-only. Please see LICENSE for the full license text.

About

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

Resources

Stars

93 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages