diff options
| author | Sultan Alsawaf <sultan@kerneltoast.com> | 2020-01-20 13:03:40 -0800 |
|---|---|---|
| committer | dragonGR <alex@dragongr.dev> | 2020-10-21 15:17:43 +0300 |
| commit | f420d5627e032579c421b76e176a0ebd0d36643a (patch) | |
| tree | fa105b933ef9b234b93072a5aabacb66b8c91737 /lib/string_helpers.c | |
| parent | b64733b5b964e7bc3c3e6f85c794205770a20236 (diff) | |
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: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
