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

Commit 06a87aca authored by Sultanxda's avatar Sultanxda Committed by Razziell
Browse files

proc: filter SafetyNet flags from /proc/cmdline



proc: Remove verifiedbootstate flag from /proc/cmdline

Userspace parses this and sets the ro.boot.verifiedbootstate prop
according to the value that this flag has. When ro.boot.verifiedbootstate
is not 'green', SafetyNet is tripped and fails the CTS test.

Hide verifiedbootstate from /proc/cmdline in order to fix the failed
SafetyNet CTS check.

Signed-off-by: default avatarSultanxda <sultanxda@gmail.com>
Signed-off-by: default avatarFrancisco Franco <franciscofranco.1990@gmail.com>

proc: Remove additional SafetyNet flags from /proc/cmdline

SafetyNet checks androidboot.veritymode in Nougat, so remove it.

Additionally, remove androidboot.enable_dm_verity and androidboot.secboot
in case SafetyNet will check them in the future.

Change-Id: Idd3422012aa62f39edadc1eee9b5b84879a87b33
Signed-off-by: default avatarSultanxda <sultanxda@gmail.com>
parent c66378c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment