Can't get Safety Net to pass! - Huawei Mate 9 Questions & Answers

For some reason, SafetyNet isn't passing and I have no idea why. Running the lastest Magisk 17.2 using RomAur v2.2. It was working before now it doesn't and I can't log into Snapchat. Never installed Xposed. Help?

Ben_Li said:
For some reason, SafetyNet isn't passing and I have no idea why. Running the lastest Magisk 17.2 using RomAur v2.2. It was working before now it doesn't and I can't log into Snapchat. Never installed Xposed. Help?
Click to expand...
Click to collapse
Your kernel wasn't support it. Had you change your Kernel? If not reinstall your kernel
Gesendet von meinem MHA-L29 mit Tapatalk

ryderslider said:
Your kernel wasn't support it. Had you change your Kernel? If not reinstall your kernel
Gesendet von meinem MHA-L29 mit Tapatalk
Click to expand...
Click to collapse
That was the Universal fix module. Uninstalled it; here's the updated log not sure what the issue is

Open the log with a Tex editor an read the last lines of the file and you can see, the kernel isn't supported
Sent from my [device_name] using XDA-Developers Legacy app

ryderslider said:
Open the log with a Tex editor an read the last lines of the file and you can see, the kernel isn't supported
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Where exactly do you see this?
What I do see though is that proc_monitor isn't started at all, no errors about "kernel not supported" though.
I have this exact same problem on 17.1 and 17.2
It actually does work for a while, then it stops working.
It's fine on 16.4

Sorry I can't upload the Screenshot, but I found the message in your log and I found this :
Running module service scripts 09-22 21:41:15.582 433 1075 I Magisk : CloudflareDNS4Magisk-IPv6: exec [service.sh] *** [Universal Hide] Fail: mount namespace is not supported in your kernel
Sent from my [device_name] using XDA-Developers Legacy app

ryderslider said:
Sorry I can't upload the Screenshot, but I found the message in your log and I found this :
Running module service scripts 09-22 21:41:15.582 433 1075 I Magisk : CloudflareDNS4Magisk-IPv6: exec [service.sh] *** [Universal Hide] Fail: mount namespace is not supported in your kernel
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Every kernel after 3.8 has mount namespace, so that's not the problem.
I just tested, updating from 16.4 to 17.2 and no passing basic integrity.
Magisk uninstaller and flash 17.2, passes basic. Flashing a module, still passing basic integrity. Rebooting, not passing any more.
So this doesn't have anything to do with kernel...
Its like proc_monitor stops working for some reason.
Flashing 17.2 after Magisk uninstaller:
Safetynet check: https://i.imgur.com/XrndFpA.jpg
Log screenshot: https://i.imgur.com/aNdzJjz.jpg
After flashing a module and reboot:
Safetynet: https://i.imgur.com/SMPjb4i.jpg
Log: https://i.imgur.com/YOSOyIZ.jpg
@ryderslider are you using a Mate 9 (or mate 10 Pro) with Magisk 17.1/17.2?
Edit: actually, it might be logcat that's causing trouble. As proc_monitor is using logcat. On 17.2 it's complaining that it can't find /system/bin/logcat. But on 16.4 this is fine...
Log after rebooting a few times:
https://forum.xda-developers.com/attachment.php?attachmentid=4603222&stc=1&d=1537717331
It also doesn't seem to be setting up mirror?

ante0 said:
Every kernel after 3.8 has mount namespace, so that's not the problem.
I just tested, updating from 16.4 to 17.2 and no passing basic integrity.
Magisk uninstaller and flash 17.2, passes basic. Flashing a module, still passing basic integrity. Rebooting, not passing any more.
So this doesn't have anything to do with kernel...
Its like proc_monitor stops working for some reason.
Flashing 17.2 after Magisk uninstaller:
Safetynet check: https://i.imgur.com/XrndFpA.jpg
Log screenshot: https://i.imgur.com/aNdzJjz.jpg
After flashing a module and reboot:
Safetynet: https://i.imgur.com/SMPjb4i.jpg
Log: https://i.imgur.com/YOSOyIZ.jpg
@ryderslider are you using a Mate 9 (or mate 10 Pro) with Magisk 17.1/17.2?
Edit: actually, it might be logcat that's causing trouble. As proc_monitor is using logcat. On 17.2 it's complaining that it can't find /system/bin/logcat. But on 16.4 this is fine...
Log after rebooting a few times:
https://forum.xda-developers.com/attachment.php?attachmentid=4603222&stc=1&d=1537717331
It also doesn't seem to be setting up mirror?
Click to expand...
Click to collapse
I tried flashing v16.4 but when I open the Magisk Manager app, it just freezes. Any solutions?

Ben_Li said:
I tried flashing v16.4 but when I open the Magisk Manager app, it just freezes. Any solutions?
Click to expand...
Click to collapse
Did you uninstall in TWRP using the uninstaller script first?
I had to do that as either manager stops working OR modules do (Modules that require 17+ are installed but you have 16.4 could be the problem.)
I tried 17.3 as well, from the Canary channel. It was almost working. I got Busybox to pass safetynet. But when installing more modules I couldn't even check safetynet anymore and the safetynet app I use to check failed both Basic and CTS. So I guess I will stay on 16.4 until it's fixed...

Related

Magisk with Snapchat

For Snapchat:
1. Go to Magisk Settings
2. Enable Magisk Core Only Mode
3. Disable BusyBox and System less hosts.
4. Reboot, login to Snapchat.
5. Now you may disable Core Only Mode and enable System less hosts and use Magisk any way you like and you can still use Snapchat.
Just follow the above steps to login.
Idk why but safety net also works only after following steps 1-4
kunalgupta1 said:
For Snapchat:
1. Go to Magisk Settings
2. Enable Magisk Core Only Mode
3. Disable BusyBox and System less hosts.
4. Reboot, login to Snapchat.
5. Now you may disable Core Only Mode and enable System less hosts and use Magisk any way you like and you can still use Snapchat.
Just follow the above steps to login.
Idk why but safety net also works only after following steps 1-4
Click to expand...
Click to collapse
hmm... weird. What ROM are you on? Does the ROM, unrooted, pass SafetyNet?
negusp said:
hmm... weird. What ROM are you on? Does the ROM, unrooted, pass SafetyNet?
Click to expand...
Click to collapse
Stock Nougat with EX. Yep it does.
Sent from my Moto G4 Plus using XDA Labs
kunalgupta1 said:
For Snapchat:
1. Go to Magisk Settings
2. Enable Magisk Core Only Mode
3. Disable BusyBox and System less hosts.
4. Reboot, login to Snapchat.
5. Now you may disable Core Only Mode and enable System less hosts and use Magisk any way you like and you can still use Snapchat.
Just follow the above steps to login.
Idk why but safety net also works only after following steps 1-4
Click to expand...
Click to collapse
Also you can login on Snapchat before flashing Magisk or SuperSU, I do that always, never fail
kunalgupta1 said:
Stock Nougat with EX. Yep it does.
Sent from my Moto G4 Plus using XDA Labs
Click to expand...
Click to collapse
Yea exactly. As long as the ROM passes SafetyNet there's no need to mess with core-only mode/busybox. Magisk works fine.
negusp said:
Yea exactly. As long as the ROM passes SafetyNet there's no need to mess with core-only mode/busybox. Magisk works fine.
Click to expand...
Click to collapse
But it isn't working fine.
Sent from my Moto G4 Plus using XDA Labs
Magisk v13.1 has corrected the Safety Net not passing problem.
Even on RR

[SOLVED] can't install any magisk modules

hello i have installed magisk + twrp + cleanstate kernel on u11+ european model (android 8.0)...magisk is installed (v15. 3) root works correctly but i can't install any magisk modules it always give me "installation failed please install magisk v15+" like if magisk isn't installed... any idea?
edit: I FINALLY SOLVED!
i installed magisk again from magisk manager choosing direct installation and everything worked! now i can install all modules
Thanks
I searched everywhere for a solution, this was the only one that worked. Thanks.
Slok 00 said:
hello i have installed magisk + twrp + cleanstate kernel on u11+ european model (android 8.0)...magisk is installed (v15. 3) root works correctly but i can't install any magisk modules it always give me "installation failed please install magisk v15+" like if magisk isn't installed... any idea?
edit: I FINALLY SOLVED!
i installed magisk again from magisk manager choosing direct installation and everything worked! now i can install all modules
Click to expand...
Click to collapse
After 4 years, your solution saved me. Thank you for updating. !!
Tried to install it again to see if it would work but it didn't. I can see one of the modules i've downloaded but I cant install either of them. Any ideas why?
hussain_mdj said:
After 4 years, your solution saved me. Thank you for updating. !!
Click to expand...
Click to collapse
Hehehe. Same here.
Same here v25.2, LOS 19.1, Pixel C (dragon)

[Guide] [UPDATED] [Safety Net CTS Profile/ Device certification Fix] edXposed on MIUI

DISCLAIMER: I'M NOT IN ANY WAY RESPONSIBLE FOR ANY DAMAGES THAT MAY RESULT DIRECTLY OR INDIRECTLY BY FOLLOWING THIS GUIDE.
Note : This tutorial assumes thay you're rooted with the latest magisk.
Well, after a ton of search and trying almost everything, I finally found a way to get edXposed working on the latest Android 10 MIUI. Just follow the steps below
1. Download the below files
a. edXposed for magisk (download the YAHFA version)
https://ci.appveyor.com/project/ElderDrivers/edxposed/builds/29965638/artifacts
b. Download the latest riru core (v 19.7)
https://github.com/RikkaApps/Riru/releases
c. edXposed installer. Download the "installer" version 2.2.4 and not the "manager".
https://github.com/ElderDrivers/EdXposed
2. Flash the riru core and then the edXposed ( YAHFA version) modules via magisk.
3. Reboot.
4. Install the edXposed installer
That's it.
If for some reason you can't boot your phone use the "magisk manager from recovery" to remove edXposed and riru core modules from recovery. Search for it on XDA.
Tested and found working on my Poco F1 running MIUI 11.0.4 EU Android Q/ Android 10, rooted with magisk 20.3 , running stock kernel and latest official TWRP recovery.
Tested modules :
CustoMIUIzer
Greenify
XprivacyLua
(All credits go to the guys at magisk)
Update:
Safety Net CTS profile fix :
Download this edXposed module
https://repo.xposed.info/module/com.cofface.ivader
Activate it in the edXposed manager and reboot.
That's it.
Update 2:
1. Apparantly this module only fakes the status of the CTS profile but most banking apps still work.
2. Chrome seems to crash while this module is activated.
Update 3:
Safety net with CTS profile passes without the module now.
Thank you works great miui eu 11.0.4
CustoMIUIzer module
tetrakinitis said:
Thank you works great miui eu 11.0.4
CustoMIUIzer module
Click to expand...
Click to collapse
Thanks for the feedback.
Preferred the 0.4.6.1 (4497)-selhygwy (sandhook).
So far, greenify works on this version. How's yours?
I can't seem to find the edXposed "installer" version 2.2.4
thomas140 said:
Preferred the 0.4.6.1 (4497)-selhygwy (sandhook).
So far, greenify works on this version. How's yours?
Click to expand...
Click to collapse
Greenify worked for me. And xprivacy too
MasterFURQAN said:
Greenify worked for me. And xprivacy too
Click to expand...
Click to collapse
Wow. But what's xprivacy ?
thomas140 said:
Wow. But what's xprivacy ?
Click to expand...
Click to collapse
It's an xposed module that sends fake/ no personal data to any app that you want like device identifiers, IMEI etc.
Search on XDA.
Bro can u tel how to run MPL app on rooted poco f1 MIUI 11.0.4 Android Q?
Do UPI apps work with it in India? can anyone confirm?
himanshu_atrix2 said:
Do UPI apps work with it in India? can anyone confirm?
Click to expand...
Click to collapse
Safety net still passes if that's your concern
hyper21 said:
I can't seem to find the edXposed "installer" version 2.2.4
Click to expand...
Click to collapse
Me too. But managed to find after googling browser.
https://github.com/solohsu/XposedInstaller/releases/tag/Ed_v2.2.4
Thanks for all the info but i can't seem to make it work... i tried multiple versions of Magisk, Riru, Edxposed and Edxposed installer but it always tells me the Xposed framework is not installed. Everything in magisk looks good and both modules are activated.
I don't really get it (i'm on a mi 9T)
If you have any idea i'd appreciate it (already spent hours on this forum and google to try to resolve this issue)
Baleeverne said:
Thanks for all the info but i can't seem to make it work... i tried multiple versions of Magisk, Riru, Edxposed and Edxposed installer but it always tells me the Xposed framework is not installed. Everything in magisk looks good and both modules are activated.
I don't really get it (i'm on a mi 9T)
If you have any idea i'd appreciate it (already spent hours on this forum and google to try to resolve this issue)
Click to expand...
Click to collapse
There is new update on magisk, try it.
And don't use edxposed installer.
Step:
1. Install riru core from magisk, reboot
2. Install edxposed from magisk, reboot
3. Install edxposed manager, see edxposed active or not.
Done to no avail... tried with Sandhook and Yahfa with magisk 20.3 / 20.1 and Riru 19.7/19.5/19.3 and 6 different Edxposed + Edxposed manager and installer
Baleeverne said:
Done to no avail... tried with Sandhook and Yahfa with magisk 20.3 / 20.1 and Riru 19.7/19.5/19.3 and 6 different Edxposed + Edxposed manager and installer
Click to expand...
Click to collapse
Try 0.4.6.2 https://ci.appveyor.com/project/ElderDrivers/edxposed/builds/31184590/artifacts
OP updated for the "safety net - CTS profile fix. "
Thanks but i can't seem to make it work. Safetypatch doesn't work, Props doesn't work either. I'm just going to give up... i spent too many hours just to get Customiuizer and trusted devices to work.
Baleeverne said:
Thanks but i can't seem to make it work. Safetypatch doesn't work, Props doesn't work either. I'm just going to give up... i spent too many hours just to get Customiuizer and trusted devices to work.
Click to expand...
Click to collapse
Yup props don't work. But this edXposed module worked like a charm. Just installed and enabled it and everything was fine.
I'm on MIUI 11.0.6 EU, magisk 20.3, riru core 19.7, edXposed 0.4.6.1 (4491) YAHFA
MasterFURQAN said:
Yup props don't work. But this edXposed module worked like a charm. Just installed and enabled it and everything was fine.
I'm on MIUI 11.0.6 EU, magisk 20.3, riru core 19.7, edXposed 0.4.6.1 (4491) YAHFA
Click to expand...
Click to collapse
I have the exact same config =D (except for sandhook 0.4.6.1 4510 but i tried yahfa 4491 two days ago lol)

Stock-RUI V.C07, Magisk safetynet pass with EdXposed and Viper4Andriod working.

Hello all,
This is FYI.
As the title says, I am on RUI latest version with Magisk safetynet passing even with EdXposed installed (Gravitybox and some other modules works without any issue).
SELinux mode set to Enforcing for all these apps to work (Usually Magisk safetynet fails when SElinux is set to enforcing but found a workaround by internet research).
Safetynet pass means all payment apps work.
Viper4Android works fine.
Can edit system (xml) files in RUI with root browser.
Attached picture
View attachment 5121221
Thank you
Hey bro ,Dolbyatmos Viper works on realmeui C07, do you need my help?
Cancer..93 said:
Hey bro ,Dolbyatmos Viper works on realmeui C07, do you need my help?
Click to expand...
Click to collapse
Frankly speaking, I didn't find a working Dolby version for realme 5 Pro.
Please make a new thread, I would appreciate that. Also magisk should pass safetynet.
Thanks.
Alright. But how? I just reverted from A11 custom rom to stock with only twrp and modified vbmeta installed but already at start safetynet fails.

🆘Viper 4 android error: No such file or directory When installing the driver

Hello everyone, I just installed another rom for my redmi note 11 which is Project Elixir.
I have successfully installed magisk module viper4android .
BUT when it comes to driver installation it shows error "Error: No such file or directory" and the installation is stuck at 11%.
I have tried many ways like reinstalling but it still doesn't work.
Does anyone know how to fix this error. Help me! I love listening to music so I really need this
What is Magisk V4A module version?
10.16.2020 ?​
jwoegerbauer said:
What is Magisk V4A module version?
10.16.2020 ?​
Click to expand...
Click to collapse
V2.7.2.1 . And magisk just released a new update which is 26.1 so i updated it
The module is heavily outdated: look here
GitHub - Magisk-Modules-Repo/ViPER4Android-FX
Contribute to Magisk-Modules-Repo/ViPER4Android-FX development by creating an account on GitHub.
github.com
It's because of the Magisk version, it also happened to me but I fixed it.
You must uninstall Magisk 26, if you don't know how, just rename "Uninstall.zip" the magisk that you flashed in your recovery, just after a previous version of Magisk is uninstalled, in my case I had Magisk 25 on my SD, with this you will not lose the modules that you had previously installed and you will be able to install Viper without problems.
This worked for me.
hgrocket said:
It's because of the Magisk version, it also happened to me but I fixed it.
You must uninstall Magisk 26, if you don't know how, just rename "Uninstall.zip" the magisk that you flashed in your recovery, just after a previous version of Magisk is uninstalled, in my case I had Magisk 25 on my SD, with this you will not lose the modules that you had previously installed and you will be able to install Viper without problems.
This worked for me.
Click to expand...
Click to collapse
Has been successful. Thank you very much
Ihave same problem, ater i installee magisk to 26 how to fix
fivux69 said:
Ihave same problem, ater i installee magisk to 26 how to fix
Click to expand...
Click to collapse
Looks like my answer above has worked, check it out.
fivux69 said:
Ihave same problem, ater i installee magisk to 26 how to fix
Click to expand...
Click to collapse
I'm too still having this issue despite downgrading to magisk 26
Mr.Blaze said:
Tôi vẫn gặp sự cố này mặc dù đã hạ cấp xuống magisk 26
Click to expand...
Click to collapse
try install magisk version 25.2
I had the same problem. I was able to solve with https://github.com/programminghoch10/ViPER4AndroidRepackaged under crdroid.
RichieXX said:
I had the same problem. I was able to solve with https://github.com/programminghoch10/ViPER4AndroidRepackaged under crdroid.
Click to expand...
Click to collapse
I already tried it + many different versions, but unfortunatelly no matter what version I use, i still didn't get it to work
I have a solution.
Install this magisk module
GitHub - programminghoch10/ViPER4AndroidRepackaged: A refined ViPER4Android installer.
A refined ViPER4Android installer. Contribute to programminghoch10/ViPER4AndroidRepackaged development by creating an account on GitHub.
github.com
And then open the app and turn off legacy and compatibility mode (if turned on)
Now still the app somehow doesn't work. To fix this, go to play store, install an app called wavelet. Now open it and set it to legacy mode. Tun it on and turn on some option in it which makes no impact to the sound output.
Now when you go to viper4 Android, it will show processing as yes and it will work.
****Make sure that Master Limiter is turned on
NikhilYT said:
I have a solution.
Install this magisk module
GitHub - programminghoch10/ViPER4AndroidRepackaged: A refined ViPER4Android installer.
A refined ViPER4Android installer. Contribute to programminghoch10/ViPER4AndroidRepackaged development by creating an account on GitHub.
github.com
And then open the app and turn off legacy and compatibility mode (if turned on)
Now still the app somehow doesn't work. To fix this, go to play store, install an app called wavelet. Now open it and set it to legacy mode. Tun it on and turn on some option in it which makes no impact to the sound output.
Now when you go to viper4 Android, it will show processing as yes and it will work.
****Make sure that Master Limiter is turned on
Click to expand...
Click to collapse
I tried your steps, but it doesn't work (version 69 from repo).
The problem is with the installation, not the sound processing.
So we can't do the step "And then open the app and turn off legacy and compatibility mode (if turned on)", because once we open the Viper4android app it tries to install the magisk module, and then it gets stuck.
phmha said:
try install magisk version 25.2
Click to expand...
Click to collapse
This seems to solve the stuck installation issue.
But now after every reboot it tries to install the driver again for me.
I tried different things to fix this (audio modification library, this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86907017 and this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86870983 and this:
https://www.reddit.com/r/Magisk/comments/x1f14z/_/imhmm1c
) but still no luck. Also different versions of viper don't solve this issue.
phmha said:
try install magisk version 25.2
Click to expand...
Click to collapse
This seems to solve the stuck installation issue.
But now after every reboot it tries to install the driver again for me.
I tried different things to fix this (audio modification library, this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86907017 and this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86870983 and this:
https://www.reddit.com/r/Magisk/comments/x1f14z/_/imhmm1c
) but still no luck. Also different versions of viper don't solve this issue.
Edit: This V4A works for me partially (some options are greyed out) with magisk 25.2 (didn't test newer) and legacy mode enabled:
viper4android 0.3.0 - Google Search
RichieXX said:
I had the same problem. I was able to solve with https://github.com/programminghoch10/ViPER4AndroidRepackaged under crdroid.
Click to expand...
Click to collapse
Works perfectly dude, thank you so much
Tested on Android 13, Xiaomi Mi 9T Pro, bootleggers v7.1
Mr.Blaze said:
This seems to solve the stuck installation issue.
But now after every reboot it tries to install the driver again for me.
I tried different things to fix this (audio modification library, this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86907017 and this: https://forum.xda-developers.com/t/...ndroid-10-11-12-devices.4213647/post-86870983 and this:
https://www.reddit.com/r/Magisk/comments/x1f14z/_/imhmm1c
) but still no luck. Also different versions of viper don't solve this issue.
Edit: This V4A works for me partially (some options are greyed out) with magisk 25.2 (didn't test newer) and legacy mode enabled:
viper4android 0.3.0 - Google Search
Click to expand...
Click to collapse
So the issue was Magisk 26?
NikhilYT said:
I have a solution.
Install this magisk module
GitHub - programminghoch10/ViPER4AndroidRepackaged: A refined ViPER4Android installer.
A refined ViPER4Android installer. Contribute to programminghoch10/ViPER4AndroidRepackaged development by creating an account on GitHub.
github.com
And then open the app and turn off legacy and compatibility mode (if turned on)
Now still the app somehow doesn't work. To fix this, go to play store, install an app called wavelet. Now open it and set it to legacy mode. Tun it on and turn on some option in it which makes no impact to the sound output.
Now when you go to viper4 Android, it will show processing as yes and it will work.
****Make sure that Master Limiter is turned on
Click to expand...
Click to collapse
I did it and it works. thank you!
FJiron75 said:
I did it and it works. thank you!
Click to expand...
Click to collapse
Your welcome!

Categories

Resources