• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

SafetyNet (Magisk/EdXposed) Tests Failing After Supposed Server-Side Changes

Search This thread

dipleg

Member
Jan 15, 2020
47
15
Discussion Thread

It appears that Google has flipped some sort of switch a few days ago and many people who are rooted with magisk along with the Xposed/EdXposed framework are failing both BasicItegrity and CtsProfile checks.

From Magisk dev topjohnwu:

https://mobile.twitter.com/topjohnwu/status/1245956080779198464

https://mobile.twitter.com/topjohnwu/status/1237830555523149824

https://mobile.twitter.com/topjohnwu/status/1245963069643051009

EdXposed discussion:

https://github.com/ElderDrivers/EdXposed/issues/435
 

aenews

Senior Member
Jul 29, 2013
231
52
Bakersfield
I have the same issue on the 7 Pro. SafetyNet is suddenly being tripped, and it stops being tripped if the EdXposed module is disabled/removed. This happened on Saturday, and I hadn't even rebooted. Something has definitely changed on Google's end. I have had no issues with Magisk + EdXposed for months on end.
 

aenews

Senior Member
Jul 29, 2013
231
52
Bakersfield
Use the Canary Version v0.4.6.3 (4536) of EdXposed and SafetyNet wont fail anmyore.
Thanks! I can confirm that switching to the current Canary Build (4542) fixed the SafetyNet issue. Whatever Google silently pushed has been resolved.

Marvelous. Now I can play Pokémon GO :cool:

---------- Post added at 03:54 AM ---------- Previous post was at 03:53 AM ----------

I cant find 4536 version there. Can you share file link?
Just update to the latest Canary Build. Any newer version will also pass Safety Net.
 
  • Like
Reactions: satyajeetb

xdg4y

Member
Jan 7, 2020
44
14
Or you could just used a magisk module to pass safety net like before.
 

Attachments

  • Screenshot_20200406-140107.jpg
    Screenshot_20200406-140107.jpg
    122.8 KB · Views: 2,424

aenews

Senior Member
Jul 29, 2013
231
52
Bakersfield
Or you could just used a magisk module to pass safety net like before.
This failure to pass SafetyNet is for EdXposed users. Neither any Magisk module nor any Xposed module (i.e. HiddenCore) will resolve the issue. You can get the SafetyNet test seemingly passed in Magisk at best, but Google Pay and Pokémon GO would not work.

Updating to the newer EdXposed builds is the only way to truly resolve the issue after whatever update Google pushed on the back-end.
 

xdg4y

Member
Jan 7, 2020
44
14
This failure to pass SafetyNet is for EdXposed users. Neither any Magisk module nor any Xposed module (i.e. HiddenCore) will resolve the issue. You can get the SafetyNet test seemingly passed in Magisk at best, but Google Pay and Pokémon GO would not work.

Updating to the newer EdXposed builds is the only way to truly resolve the issue after whatever update Google pushed on the back-end.

Funny how you try to tell me this doesn't work when I'm using it with it working now just like the people of this site to ride a high horse and always think they are right either because they can't set something up or just doesn't work for them just assumptions without any real evidence but whatever you guys do it the hard way I'll be here laughing.
 

xdg4y

Member
Jan 7, 2020
44
14
Pokemon go works just fine. I never even play this game but i just installed it right now for you. Hid it in magisk and it works right away!!
 

Attachments

  • Screenshot_20200407-010228.jpg
    Screenshot_20200407-010228.jpg
    228.1 KB · Views: 729

aenews

Senior Member
Jul 29, 2013
231
52
Bakersfield
Pokemon go works just fine. I never even play this game but i just installed it right now for you. Hid it in magisk and it works right away!!
What Magisk module are you using? You have the 7 Pro with both Magisk and EdXposed, right?

Yes. I always have the annoying apps hidden in Magisk and EdXposed. It has been fine since January/February. Google pushed some update on the back-end and/or some Google apps silently updated. Even though I hadn't rebooted my phone in some time, SafetyNet was suddenly broken a few days ago. It worked again if EdXposed was disabled, but no Magisk/EdXposed modules I have tried resolved SafetyNet being tripped with EdXposed active. Was only able to fix it finally after updating to the Canary build as suggested by another poster.

That's great if it actually resolves this issue, but I'm definitely a bit skeptical since this specific problem affects only EdXposed users. It's possible that some applications may still fail with that workaround or that applications may stop working periodically. With some solutions, PGO will stop working after several minutes and banking applications may still detect root.

---------- Post added at 01:37 AM ---------- Previous post was at 01:35 AM ----------

Which module are you referring to? I don't have edxposed installed on my phone, and it's failing to pass safetynet with just magisk installed

Sent from my PH-1 using Tapatalk
Do you have all the Google Apps checked on Magisk Hide?
 
Last edited:

satyajeetb

Senior Member
Mar 10, 2012
142
50
Redmi Note 10
Use the Canary Version v0.4.6.3 (4536) of EdXposed and SafetyNet wont fail anmyore.

Thanks! I can confirm that switching to the current Canary Build (4542) fixed the SafetyNet issue. Whatever Google silently pushed has been resolved.

Marvelous. Now I can play Pokémon GO :cool:

---------- Post added at 03:54 AM ---------- Previous post was at 03:53 AM ----------


Just update to the latest Canary Build. Any newer version will also pass Safety Net.

Thanks. I updated to latest canary and it works.
 

tech_head

Senior Member
Nov 22, 2007
3,773
1,244
California
OnePlus 9 Pro
Funny how you try to tell me this doesn't work when I'm using it with it working now just like the people of this site to ride a high horse and always think they are right either because they can't set something up or just doesn't work for them just assumptions without any real evidence but whatever you guys do it the hard way I'll be here laughing.

Not sure what module you are using to pass, since the issue is specifically triggered by EdXposed.
If I do not have EdXposed enabled, I do not see any issue.
For most people that have reported the issue, the only resolution has been the canary build to get EdXposed working and SafetyNet passing.
It was a server side change on Google's part.
In the morning my phone was passing SafetyNet. In the afternoon, it was failing.
The only resolution was the canary build.
 

tech_head

Senior Member
Nov 22, 2007
3,773
1,244
California
OnePlus 9 Pro
The Magisk dev turned off MagiskHide by default for 20.4, so check that MagiskHide is actually on and that its hiding Google Play Store, Services & Framework


20.4 stopped working for me even in core only mode.
The server side changes caused failures even without Xposed.
The "canary" version of Magisk is working along with the canary of EdXposed.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Use the Canary Version v0.4.6.3 (4536) of EdXposed and SafetyNet wont fail anmyore.
    3
    This is what did to pass safteynet with EdXposed using OnePlus 7 Pro OOS 10.3.3 GM21AA

    Instructions:
    Make sure to have latest Magisk

    1. Install EdXposed Manager 4.5.7 (may ask you to uninstall any other EdXposed Manager)
    ===> a. Open EdXposed Manager (Will show Framework is not installed)
    ===> b. Go to settings > Enable App List Mode and Enable Pass SafteyNet (Google Services and Google Framework will be chcked)

    2. Install Riru Core v21.2 via Magisk Module

    3. Install EdXposed SandHook v0.4.6.3 via Magisk Module

    4. Clear Data on Google Play, Google services and Google Framework. (You may be able to just clear cache, but I cleared data on all)

    5. Reboot... Check EdXposed to see if Framework is working. Check SafteyNet via Magisk (may show fail at first but refresh magisk and try again)
    ===> a. You may need to add Google junk to Magisk Hide.


    Downloads
    3
    I might have figured this problem, let me know if it helps you pass safetynet too as it did work on my device ( OP6T ):
    Install everything just as the above steps,
    -config magiskhide, install the fingerprints
    -Install riru etc, install the canary version of sandhook
    -put in airplane mode as soon as you reboot
    -enable applist and blacklist google framework and services and playstore (also assuming you have done hidden these in magisk too)
    -clear data from services, framework, playstore
    - open playstore and check if youre logged in and its working
    - Go check safetynet
    Gpay is working for me flawlessly

    As of april 25 this solution seems to work for me.
    2
    Here's how you get it to work:

    1. Download and install Magisk and in the settings enable "Magisk hide." Close the app and open it again (additionally, ensure that you fc'd Play store and Gpay.)


    2. You should now have a Magisk hide tab, open it and hitting the three dots, check "Show System Apps." Enable Magisk hide for the following:
    -Gplay services
    -Glplay Store
    -Gpay App
    -NFC Services (if there are two, both of them.)

    3. Download and install the following Modules : "BusyBox for Android NDK" and "Magiskhide Props Config." Reboot after installation.

    4. This next step requires terminal emulation, so which ever one you prefer (I use termux) will do it. Open your terminal and type:
    -"su" grant it root
    -"props"

    5. A menu will pop up, choose "Edit device fingerprint" then "Choose certified fingerprint." From here, you choose your make of your phone, model and OS version. Once that is done, it gives the option to reboot, do it.

    6. Going back to Magisk, test to see if you pass safetynet and CTS, and if you did everything correctly, you should be able to use Gpay.
    2
    Hello, I have Installed Lineage OS from the start, then installed riru+exposed from the magisk downloads, then safetynet failed. Now, even uninstalling exposed, safetynet still fails. Any way to 'reset' the safetynet to work again ? The exposed is uninstalled and it still fails


    I've tried also to install the version you mentioned from here:
    https://ci.appveyor.com/project/ElderDrivers/edxposed/builds/31948274/artifacts
    BUT the problem persists !

    I'm using the stock OS 10.3.2 and running a custom kernel with EdXposed and GravityBox.
    No issues passing SafetyNet.

    Once you fail SafetyNet, you need to stop GoogleServices and clear the cache.
    Then reboot. Just changing the state of the phone isn't enough it needs to rebuild the cache data once you fail.