Question How to I fix "SafetyNet API Error" ? - OnePlus 9 Pro

In Magisk when I run the SafetyNet test, I get this error.
Is there an easy way to fix it?
I was thinking of flashing the ROM back to stock, but wanted to see if there was an easier way before going that route.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Try installing Magisk Canary
https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk

Or Magisk Manager 23.0 which just came out today...

jammin6996 said:
Try installing Magisk Canary
https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
Click to expand...
Click to collapse
I just tried that, still gives me the same error.

galaxys said:
Or Magisk Manager 23.0 which just came out today...
Click to expand...
Click to collapse
Will give this a try.... be right back.

galaxys said:
Or Magisk Manager 23.0 which just came out today...
Click to expand...
Click to collapse
I guess this says it all...
but it was not easy to reach this point, it took a lot of tweaks along the way, it was not the usual clean boot to recovery, patch boot, reboot and be done with it.
Because when I first did that it was still showing up as "Attestation failed"
so, I had to try again this time I cleared cache and stuff, then try again, to finally get the correct results.

AllGamer said:
I just tried that, still gives me the same error.
Click to expand...
Click to collapse
Did you enable magisk hide?

jammin6996 said:
Did you enable magisk hide?
Click to expand...
Click to collapse
No, so far there has been no software that complains about having Magisk installed.
I usually just end up not using said software instead.
Titanium Backup and Magisk are my #1 must haves in any new phone.
Anyway, as per my reply above, the latest version of the Manager seems to have took care of the issue.

Magisk I updated to the latest 23.0 and still failed to pass the verification

@iSkyJIE Try this:
- Disable all modules
- Reboot
- See if safety net passes and Magisk hide is working ( it should pass now)
-Enable modules one by one and reboot in between, check safety net.
This way try to figure out which module makes safety net fail. And use google to fix your problem...
Worked for me, Edxposed was my module which make safety net fail, I had to blacklist/ hide play store in Edxposed.

flaxjef said:
@iSkyJIE Try this:
- Disable all modules
- Reboot
- See if safety net passes and Magisk hide is working ( it should pass now)
-Enable modules one by one and reboot in between, check safety net.
This way try to figure out which module makes safety net fail. And use google to fix your problem...
Worked for me, Edxposed was my module which make safety net fail, I had to blacklist/ hide play store in Edxposed.
Click to expand...
Click to collapse
thank you! Yes, it's also the EdXposed module problem! I'll just delete it! Now change to LSposed.

According to the root instructions, I have always had the same issue. It may be due to the temporary boot of the patched boot file.
After I flashed the magisk patched boot file (instead of temporary booting), I passed safety net without any issues.
Just tried again, as I had to send my last phone back - and confirmed again.
Just for information, it saves a lot of time.

Related

Android OS draining a LOT of battery

So, I went to sleep with my phone on 75% charge and woke up to it on 25%, looked on battery stats and "Android OS" had drained it all. i've noticed this android OS using a lot of battery for quite a while now, but never this much.
anyone knows how to fix this or why this happens?
Android version? Stock or custom rom? Root?
vinnegsh said:
So, I went to sleep with my phone on 75% charge and woke up to it on 25%, looked on battery stats and "Android OS" had drained it all. i've noticed this android OS using a lot of battery for quite a while now, but never this much.
anyone knows how to fix this or why this happens?
Click to expand...
Click to collapse
If you have installed Magisk, desactive the option "magisk hide" this works for me
Zeljko1234 said:
Android version? Stock or custom rom? Root?
Click to expand...
Click to collapse
7.1.1 stock. yes, i'm rooted with magisk.
folken2003 said:
If you have installed Magisk, desactive the option "magisk hide" this works for me
Click to expand...
Click to collapse
i dont even have this option available, for some reason :'(
but thanks anyway!
vinnegsh said:
i dont even have this option available, for some reason :'(
but thanks anyway!
Click to expand...
Click to collapse
Is in settings > magisk > magisk hide
And Reboot
Magiks hide is the reason for SO Android drain battery,
folken2003 said:
Is in settings > magisk > magisk hide
And Reboot
Magiks hide is the reason for SO Android drain battery,
Click to expand...
Click to collapse
yea i'm aware, the option just disappeared after an update. i'll try and do a clean install of magisk today to see if it comes back. if it does, i'll try to disable it and report back.
thanks!
vinnegsh said:
yea i'm aware, the option just disappeared after an update. i'll try and do a clean install of magisk today to see if it comes back. if it does, i'll try to disable it and report back.
thanks!
Click to expand...
Click to collapse
I have similar problem with magisk update, fix the problem follow next steps
1. Unistall magiks with the Unistaller Zip via twrp
2. Install magiks 12.0 vía twrp
3. Boot your phone, install magisk manager and check the correct install of magisk
4. DO THIS!! >>> https://forum.xda-developers.com/moto-z-play/how-to/magiks-moto-z-play-t3545473 This is the problem when try update magisk
6. Install magisk 13.3 via twrp and the Latest magisk manager
7. Check magisk and disable magisk hide
folken2003 said:
I have similar problem with magisk update, fix the problem follow next steps
1. Unistall magiks with the Unistaller Zip via twrp
2. Install magiks 12.0 vía twrp
3. Boot your phone, install magisk manager and check the correct install of magisk
4. DO THIS!! >>> https://forum.xda-developers.com/moto-z-play/how-to/magiks-moto-z-play-t3545473 This is the problem when try update magisk
6. Install magisk 13.3 via twrp and the Latest magisk manager
7. Check magisk and disable magisk hide
Click to expand...
Click to collapse
i believe this did it, thanks!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
which stock ROM you've flashed? or you just flashed a custom kernel for 7.1.1??
I tried disabling Magisk Hide in 13.3 but everytime i closed and reopened the app, it was turned on.
I've uninstalled and reinstalled a 13.0 beta. but now I have worse battery drain regardless of what the Magisk Hide option is.
Anyone else have the Magisk Hide option not saving in 13.3?
SAGExSDX said:
I tried disabling Magisk Hide in 13.3 but everytime i closed and reopened the app, it was turned on.
I've uninstalled and reinstalled a 13.0 beta. but now I have worse battery drain regardless of what the Magisk Hide option is.
Anyone else have the Magisk Hide option not saving in 13.3?
Click to expand...
Click to collapse
It's a bug in the toggle button itself, but MagiskHide remains disabled if you previously turned it off (as you can check SafetyNet and it will fail even with the button placed at the "on" button). Probably MagiskManager forgot to check MagiskHide status when you open it and assumes it's on, thus displaying the toggle as if it were on.

Verizon PixeL 8.1 Stock with Magisk- Google Backup isn't working

Hello,
Problem is, after flashing stock 8.1 image (latest), installed Magisk (used boot twrp for this, recovery is stock), setting up the device, backup ACCOUNT is GREYED OUT(photo attached).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The account is the only one and main, google drive backup is set up, also photos, also in google accounts.
Nothing helps.
Magisk might not be a culprit here, but I dunno.
Really need at least one backup of all my settings, apps, etc.
Please help me out. Maybe someone has a similar problem.
Thanks.
Tautvydas said:
Hello,
Problem is, after flashing stock 8.1 image (latest), installed Magisk (used boot twrp for this, recovery is stock), setting up the device, backup ACCOUNT is GREYED OUT(photo attached).
The account is the only one and main, google drive backup is set up, also photos, also in google accounts.
Nothing helps.
Magisk might not be a culprit here, but I dunno.
Really need at least one backup of all my settings, apps, etc.
Please help me out. Maybe someone has a similar problem.
Thanks.
Click to expand...
Click to collapse
Two things,
1. Install drive
2. Make sure drive storage is not full.
Okay well 3 things.. Reboot
Not guaranteed to work just something to try
DR3W5K1 said:
Two things,
1. Install drive
2. Make sure drive storage is not full.
Okay well 3 things.. Reboot
Not guaranteed to work just something to try
Click to expand...
Click to collapse
Drive is not full, only 25% used.
Well fwiw I'm running the same setup except I have twrp installed. My backups are working have last synced today.
DR3W5K1 said:
Well fwiw I'm running the same setup except I have twrp installed. My backups are working have last synced today.
Click to expand...
Click to collapse
Doubt that twrp has anything to do with google backup.
Thanks for your input.
Extra info: Magisk passes SafetyNet's both factors with flying colours. Out of ideas here.
Tautvydas said:
Doubt that twrp has anything to do with google backup.
Thanks for your input.
Extra info: Magisk passes SafetyNet's both factors with flying colours. Out of ideas here.
Click to expand...
Click to collapse
Which magisk are you using? This is what I got (look below).
Same setup mate, version 16.
I am using a custom kernel though.
DR3W5K1 said:
I am using a custom kernel though.
Click to expand...
Click to collapse
I'm not using custom kernel.
Just really strange.
Thing is: when you reflash stock 8.1, after restoring, while android setups, etc., you can actually BACKUP to google account no problem.
After flashing Magisk, it's just greyed out.
Not sure if Magisk is the culprit, but dunno what else.
Yes, unlocked bootloader maybe interferes with the Safety check, but Magisk passes both factors of SafetyNet everytime.

[XPOSED] v90 beta 4 Emui 8.0

Well, xposed is now compatible for emui 8.0, I only inform people who may not know it and enter the thread looking for it .
Tested and all ok.
download link
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is systemless Xposed from magisk compatible? Is it bypassing ctsProfile and Basic Integrity tests? Or is it bypassing SafetyNet(asking about systemless Xposed shown in magisk)?
fbh59 said:
is systemless Xposed from magisk compatible? Is it bypassing ctsProfile and Basic Integrity tests? Or is it bypassing SafetyNet(asking about systemless Xposed shown in magisk)?
Click to expand...
Click to collapse
No, not is the xposed systemless from magisk. This is the typical installation since the custom recovery
Bootloop for me ( ANE-LX1, magisk,rooted,unlocked)
I tried from TWRP with .zip (framework) and with Xposed installer, both was a no-go in my config
Problem Bootloop
For any rom you experience please explain this:مشوش:
n-f_2007 said:
Problem Bootloop
For any rom you experience please explain this:مشوش:
Click to expand...
Click to collapse
Did you wipe cashe and delvik? The phone takes 10-15 minutes to start. I've already tried 3 phones with emui 8.0 and none had a problem
Bootloops. Sorry mate.
Waited 10 mins on ane-lx1 and successfully installed thanks
so please help. I have got the p20 lite since two days, i bit scarred ...
i unlocked bootloader true dc-unlocker, root the phone true fhmate10 tool and everythink went perfect.
what do i need to do now to install xposed? do i need twrp or magisk ?
what is the procedure? many thanks
Please there is somebady taht could help me setting it up.... Got bootloader unlock, root done... How do I install it? Thankss
rucciomax said:
Please there is somebady taht could help me setting it up.... Got bootloader unlock, root done... How do I install it? Thankss
Click to expand...
Click to collapse
Download the apk of xposed installer, and download the .zip that is in this post. You just have to flash the .zip through TWRP, do cache and dalvik wipes and you're done, you just have to restart
The first boot takes about 10 -15 minutes to start
brandox0 said:
Download the apk of xposed installer, and download the .zip that is in this post. You just have to flash the .zip through TWRP, do cache and dalvik wipes and you're done, you just have to restart
The first boot takes about 10 -15 minutes to start
Click to expand...
Click to collapse
Flash went ok but app not appear. What else i can try?
After trying to install apk phone restart and it s doing bootloop... With USB connected stock recovery starts, without USB twrp starts.
Got the System.img on PC but can't manage to flash or transfer on phone because to big.
Please help me to restart phone. Thanks
Inviato dal mio HTC 10 utilizzando Tapatalk
rucciomax said:
Flash went ok but app not appear. What else i can try?
Click to expand...
Click to collapse
The application does not appear after flashing, you have to download the apk separately
Got some problems; In xposed framework there is in RED next warning:
There seems to be a known issu("resources subclass") with your ROM. Installing Xposed might not work or lead to severe probems.
Xposed is not(yet) compatible with Andorid SDK version 26 or your processor architecture (arm64 -v8a).
Any workaround possible, or just wait till xposed is compatible?
Nice work BTW
??
Work on honor 9 lite ?
I have the same problem as mailman on p20 lite please help me
Systemless version
its work with other devices
Mailmanxxx said:
Got some problems; In xposed framework there is in RED next warning:
There seems to be a known issu("resources subclass") with your ROM. Installing Xposed might not work or lead to severe probems.
Xposed is not(yet) compatible with Andorid SDK version 26 or your processor architecture (arm64 -v8a).
Any workaround possible, or just wait till xposed is compatible?
Nice work BTW
Click to expand...
Click to collapse
we have the same problem but i just uninstall the xposed apk and replace it with this one. here's the link.
https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
just look for the XposedInstaller_3.1.5-Magisk.apk

[Magisk][ROOT][All versions]Auto Root tool - for OnePlus 7T/Pro

Features:
- Install magisk manager
- Patch boot.img automatically(without boot.img)
- No boot.img needed, bootloader unlocked needed
- Support Windows(no linux, no macOS)
How to:
1. Download from Gdrive
2. Connect your 7T/Pro to your PC with usb cable
3. Double Click to run this tool
4. Just wait for 30 secs and your phone will reboot to system with magisk installed
Tips:
- For 7T、7Tpro and McLaren included
- For OyxgenOS and HydrogenOS, all versions
- Magisk 20.4 built-in
- For Chinese users, the full version is in my website: {Mod edit}
Credits:
- Thanks to @mauronofrio for his unofficial twrp.
Download
{Mod edit}
Thank you!
Just ran on a fresh bootloader unlock and is working great. Thank you!
Does this install twrp as well?
It does not install twrp
Nice I will try it as soon as I can unclock bootloader.
Worked great on latest beta! Thanks a lot
The tool was detected as a Trojan virus.
Pls answer. After this could i update my phone in the settings or i should turn off magisk module before update
Thanks
Im checking it with MalwareBytes let see whats this about
EDIT
Virus total and MalwareByte says no problem.
This works with the OP7T from T-Mobile?
DinoTheLegend27 said:
Im checking it with MalwareBytes let see whats this about
EDIT
Virus total and MalwareByte says no problem.
Click to expand...
Click to collapse
Kaspersky detected it as one. Hope others could also show us if they have the same issue.
4ektonik said:
Pls answer. After this could i update my phone in the settings or i should turn off magisk module before update
Thanks
Click to expand...
Click to collapse
no need to do that before upgrade
4ektonik said:
Pls answer. After this could i update my phone in the settings or i should turn off magisk module before update
Thanks
Click to expand...
Click to collapse
no need to do that before upgrade
jrogue86 said:
This works with the OP7T from T-Mobile?
Click to expand...
Click to collapse
yes
jrogue86 said:
This works with the OP7T from T-Mobile?
Click to expand...
Click to collapse
Looking at how this works *and since i also have the OP7T from TMo* , As long as your bootloader is unlocked this should work no problems
What' going to happen with new oos updates? Do we have to apply the update as usual and then apply again this tool? Does the tool needs to be updated to support every new oos update?
Thanks again for your work, I was really looking forward for this
The screenshot from Kaspersky :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ZuLa said:
What' going to happen with new oos updates? Do we have to apply the update as usual and then apply again this tool? Does the tool needs to be updated to support every new oos update?
Thanks again for your work, I was really looking forward for this
Click to expand...
Click to collapse
Of course you need to use this tool again after upgrade。
But this tool is not version related。It works for all versions include future versions without update itself。
himtan said:
The screenshot from Kaspersky :
Click to expand...
Click to collapse
Maybe it is the “”bat to exe convert” tool reason, it is wrong result I think.
I can ensure there is no virus in this tool.
daxiaamu said:
no need to do that before upgrade
Click to expand...
Click to collapse
Thanks. And one more questions. Will be work after this Gogle pay.
After update do we need again do this procedure for root.
And after update do we need install magisk modulr or it will be saved after update ?

Question banking apps on custom roms

how can i make them work?
i have zygisk enabled,denylist configured and also magisk hide props.
still no go to make it work.
anything else i can try?
additionally to your steps use Universal SafetyNet Fix module for magisk + empty app cache + restart usually worked for me
yea i already had safetynet.
i even tried magisk hide app but still no luck.
i dont know what else to try
Diaze said:
yea i already had safetynet.
i even tried magisk hide app but still no luck.
i dont know what else to try
Click to expand...
Click to collapse
Lposed + HideMyApplist + Zygisk works "against" ANY banking or 2nd factor verification app.
If you're using a adblocker, check this as well. My banking app didn't work because it's using some google advertising urls, which my adblocker blocked.
I added some exceptions and it started to work again.
Diaze said:
yea i already had safetynet.
i even tried magisk hide app but still no luck.
i dont know what else to try
Click to expand...
Click to collapse
Make sure you clear all data from both Google play services and the bank app.
im using systemless hosts. how to add exception?
ekin_strops said:
Lposed + HideMyApplist + Zygisk works "against" ANY banking or 2nd factor verification app.
Click to expand...
Click to collapse
did not work for me sadly. before it was working just with safetynet and denylist. idk what happened
1. Enable Zygisk
2. Configure DenyList
3. Modules: Universal SafetyNet Fix, Shamiko
4. Reboot
*If your app is still showing root message, clear app data then try again.
jony4fun said:
1. Enable Zygisk
2. Configure DenyList
3. Modules: Universal SafetyNet Fix, Shamiko
4. Reboot
*If your app is still showing root message, clear app data then try again.
Click to expand...
Click to collapse
already tried that..
idk whats the cause.
Diaze said:
already tried that..
idk whats the cause.
Click to expand...
Click to collapse
Which bank?
Magisk version?
Magisk App version?
Hidden the original magisk app?
jony4fun said:
Which bank?
Click to expand...
Click to collapse
ing homebank romania
the wierd thing is that it worked before on other roms
im on aospa now
Diaze said:
ing homebank romania
the wierd thing is that it worked before on other roms
im on aospa now
Click to expand...
Click to collapse
Magisk version?
Magisk App version?
Hidden the original magisk app?
jony4fun said:
Magisk version?
Magisk App version?
Hidden the original magisk app?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
yes magisk is hidden
Diaze said:
View attachment 5638727
yes magisk is hidden
Click to expand...
Click to collapse
Check with v25.
MagiskHide Props Config by Didgeriodoohan, Universal SafetyNet Fix by kdrag0n module.
jony4fun said:
Check with v25.
MagiskHide Props Config by Didgeriodoohan, Universal SafetyNet Fix by kdrag0n module.
Click to expand...
Click to collapse
updated it. and i already have those.
still nothing
Diaze said:
updated it. and i already have those.
still nothing
Click to expand...
Click to collapse
Show me ur Magisk settings and Modules.
Also Playstore > Settings > About

			
				
jony4fun said:
Show me ur Magisk settings and Modules.
Also Playstore > Settings > About
Click to expand...
Click to collapse
i attached them
Diaze said:
View attachment 5638733View attachment 5638735View attachment 5638737View attachment 5638739View attachment 5638741
Click to expand...
Click to collapse
Shamiko module is missing.
Also tap on the app in DenyList, enable other activities from the App.
Disable enforce DenyList
Shamiko by LSPosed - https://github.com/LSPosed/LSPosed.github.io/releases/tag/shamiko-110

Categories

Resources