Skip to content

Commit

Permalink
comment out ro.boot.veritymode and ro.boot.verifiedbootstate properti…
Browse files Browse the repository at this point in the history
…es. It sets properly after kernel command line hack
  • Loading branch information
mkshevetskiy authored and Razziell committed May 5, 2019
1 parent 1db965b commit cc983f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init/init_markw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ void sfn_hack()

// override specific props for to bypass the SafetyNet check without Magisk (in addition, need to replace selinux into enforcing)
if (product == "markw") {
property_set("ro.boot.verifiedbootstate", "green");
property_set("ro.boot.veritymode", "enforcing");
// property_set("ro.boot.verifiedbootstate", "green");
// property_set("ro.boot.veritymode", "enforcing");
property_override("ro.build.type", "user");
}
}
Expand Down

0 comments on commit cc983f1

Please sign in to comment.