Revert SafetyNet changes
Because SafetyPatch module already done this: https://github.com/Magisk-Modules-Repo/safetypatcher/blob/master/common/post-fs-data.sh#L11
This commit is contained in:
parent
55d5e5481f
commit
f1d8303978
|
|
@ -133,10 +133,6 @@ start_log_cather () {
|
|||
chmod -R 666 "${LOG_PATH}"
|
||||
}
|
||||
|
||||
# Replace cmdline to pass SafetyNet, i think you should replace device fingerprint (use SafetyPatch or MagiskHideProps module) too
|
||||
cat "/proc/cmdline" | sed 's/orange/green/i' | sed 's/yellow/green/i' | sed 's/unlocked/locked/i' > "${MODDIR}/cmdline"
|
||||
mount -o bind "${MODDIR}/cmdline" "/proc/cmdline"
|
||||
|
||||
# Backup app_process to avoid bootloop caused by original Xposed replacement in Android Oreo
|
||||
# TODO: Magisk mount replace
|
||||
rm -rf "${MODDIR}/system/bin"
|
||||
|
|
|
|||
Loading…
Reference in New Issue