Skip to content
Commit 5e38a362 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Kader Bava
Browse files

proc: cmdline: Patch SafetyNet flags



Userspace parses androidboot.* flags from /proc/cmdline and sets the
ro.boot.* props accordingly, which in turn trips SafetyNet when the
reported values are incorrect.

Patch the cmdline flags checked by SafetyNet to prevent it from failing
a device. These flags were found by extracting the latest snet.jar and
searching for 'ro.boot.' strings.

Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
Change-Id: I5d0bffe121eeeeaad471461ac83a4432d7cc2cb5
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>
parent 9ff9e8dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment