Skip to content
Commit 5fdadcaa authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Your Name
Browse files

fs: 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>
Signed-off-by: default avatarJprimero15 <jprimero155@gmail.com>
parent db586088
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