Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Add fake bootloader system properties for SafetyNet

Jonathan Klee requested to merge safetynet into v1-q

Description

SafetyNet checks those system properties to make sure the device bootloader is locked.

Those fake system properties have to be set before reading kernel command line to be taken into account.

This patch is a backport of the following patch done by kdrag0n, the author of the Universal SafetyNet fix Magisk module: https://github.com/ProtonAOSP/android_system_core/commit/3102e9e8c

Issues

https://gitlab.e.foundation/e/backlog/-/issues/4353

https://gitlab.e.foundation/e/backlog/-/issues/4356

https://gitlab.e.foundation/e/backlog/-/issues/4357

Edited by Jonathan Klee

Merge request reports

Loading