safetynet-fix: Nethunter starting causes immediate safetynet fail
Describe the bug A clear and concise description of what the bug is.
To reproduce Steps to reproduce the behavior:
- Start a nethunter enabled device with root access disabled for the nethunter app
- Confirm safetynet is passing
- Give root access go the nethunter app
- Open nethunter app (chroot does not need to start)
- Run safetynet check
- Observe that it now fails
Expected behavior I expected safetynet to pass with nethunter running.
Device info Device model: Onplus 7 pro Europe Android version: 11 ROM name/version: OxgenOs 11.0.7.1.GM21BA
Logs
Connect your phone to a computer and run adb logcat > issue.log. Attach the log file to this issue.
log.txt
Additional context I have tried all of the methods I could find to get safetynet to pass. I tried shamiko, props, ARCore, downgrading magisk 23 and everything else I could find on the web.
Checklist
- [ y] All information is present
- [ yy] Logs are attached
- I have tried installing and configuring [MagiskHide Props Config]https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (1 by maintainers)
Add this in Nethunter custom command. Now safetynet works even after reboot. Thanks for the command
chmod 440 /sys/fs/selinux/enforceKernelSU Users should use the Below command in custom command otherwise u wil get permission error.
su && chmod 440 /sys/fs/selinux/enforce@rdtm443 what you are missing is a way to hide modifications and/or a complete reset of the Google play services storage!
This is what I used to hide my modifications ‘MagiskHide Props Config’ U could search it up, install it and find a tutorial on how to use it.
And if all went well it should work perfectly fine!
Best of luck!
Because of SELinux permissive. No way to change it.
Yes, this is the way
Well, it works! Downgraded magisk to 23 and use riru with the needed modules and boom! It works, but now I’m stuck with magisk v23 so that is one downside @ServOKio @Displax