Skip to content

Commit

Permalink
Revert SafetyNet changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MlgmXyysd committed Apr 1, 2020
1 parent 55d5e54 commit f1d8303
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions edxp-core/template_override/post-fs-data.sh
Expand Up @@ -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"
Expand Down

1 comment on commit f1d8303

@Firefds
Copy link
Contributor

@Firefds Firefds commented on f1d8303 Apr 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MlgmXyysd Thank you!

Please sign in to comment.