yashsingh1/xdaforums huggingface dataset:
[Magisk] pndwal:
Just noticed the same problem many are having on my MiPad4 w/ LOS17.0 (Q), ie. BOTH ctsProfile and basicIntegrity failing.

Disabling modules or enabling core only mode fixed basicIntegrity.

Next, I narrowed down the problem module to SafetyPatch V3 only, which has fixed CTS and spoofed 'device is certified' for some time now, but uses a Huawei fingerprint. It seems either this fingerprint is suddenly incompatible or flagged by Google, or else very likely this module's extra bootloader hiding (redundant with Magisk Hide anyway?) or other mechanisms now cause a critical conflict.

Restoring CTS and 'certification' on my uncertified MiPad4 (launched with China Stock ROM only - no Global etc ever produced) was a simple matter of replacing SafetyPatch module with MagiskHide Props Config, then selecting Xiaomi MiPad4 fingerprint using Terminal Emulator for Android and rebooting.

I have long known MagiskHide Props Config was the more elegant solution - just never bothered to use it as SafetyPatch was working fine for me till now.

Nb. My other modules are causing no problems. They include:

Busybox for Android NDK,

GPay SQLite Fix (full edition),

SQLite for ARM aarch64 devices,

Systemless Hosts,

Wifi Bonding (Qcom)

So both SafetyNet Checks were easily resolved for this device and I'm back in business for now. :) Hope it helps, PW
[Magisk] Didgeridoohan:
Here's an update for those that use Safetypatcher and have been experiencing a complete failure to pass SafetyNet recently:

https://xdaforums.com/showpost.php?p=82155517&postcount=413

[MENTION=7550078]pndwal[/MENTION] Elegant? Have you seen my code!? :silly:
[Magisk] warrencoakley:
How did you fix it? Mine still fails after reinstalling the modules
[Magisk] warrencoakley:
Yes this method works for me. Back in business.
[Magisk] Wolfcity:
Thanks to your reports here I also found out that the failing of both safetynet checks on my Moto G 2014 was caused by modules.

In core only mode (or all modules deactivated) both checks are green, activating one module after the other I figured out that this module trips safetynet:

-FDE.AI

Other modules installed on my devices (not all on one) cause

no

problems like

- Busybox

- MagiskHide Props config

- Viper4Android 4.4 (Legacy)

- Ainur Sauron

- Audio Modificationen Library

- Terminal Debloater

- YouTube Vanced

- Moto Clock Widget

- James DSP

- Swift Installer module

- Systemless hosts

As my playstore isn't cerified anymore too I'm gonna clean data from play services, playstore and GMS now.
[Magisk] someone028:
I can confirm its working for me as well.
[Magisk] superisc:
Hello,

I have a new huawei p40 lite phone. As I'm unable to find a stock rom for this model and TWRP isn`t possible to be installed on this model I can't install magisk.

I'm wrong in something?, I am new to this, and althought I tried to read all the info, I could missed something.
[Magisk] pndwal:
Elegant not manly enough? Not PC? No offense meant. - How about more 'robust' then? More 'universal'? More 'powerful'?

Man, if I could code it'd look like yours... Hats off to [MENTION=8556932]hackintosh5[/MENTION] too however - great stand-alone solution for some time (no need for terminal or even root, and worked on stock ROMs too)! Just wish I could code like him...

Rogue bind mount eh? - I had a hunch! ;) PW
[Magisk] redcodefsu:
How do you do this part?
[Magisk] martyfender:
Read mhpc documentation page.
[Magisk] Didgeridoohan:
:D My code could be called many things, but "elegant" is not one of them. I wish... It's gotten better over the years, but some of it is downright ugly.
[Magisk] pndwal:
[Restoring CTS and 'certification' is a simple matter of replacing SafetyPatch module with MagiskHide Props Config, then selecting fingerprint using Terminal Emulator for Android and rebooting]:

Download Terminal Emulator for Android from Playstore, open, type in "props" (no quotes), hit return, type option characters and hit return in the menus presented to 1) Edit device fingerprint and f) Pick a certified fingerprint, select brand, fingerprint by device, confirm, reboot, and Roberts your mother's brother! Elegant huh? PW

Edit: Woops - dev prefers 'ugly solution', but it's a fine one for me...
[Magisk] bilal91:
did that exactly as you put for my device but both still coming up false for me :(
[Magisk] lilbrat:
Better question you should asked is if you can even unlock the bootloader being a Huawei branded phone....
[Magisk] pndwal:
So you need to remove offending modules to restore basicIntegrity pass, or resolve other problems with this first.

MagiskHide Props Config can't restore ctsProfile pass without basicIntegrity pass even with working fingerprint. PW
[Magisk] chuckiebronco:
Thx!

Replacing safetynetpatcher with props and installing Mi9t fingerprint fixed it for me too.
[Magisk] kg3:
I have a Xiaomi device. I want to spoof to show it as another device, like Samsung or Pixel because my banking app doesn't work on Xiaomi, even with hide and Magisk hide repackaged. All my other bank apps work except one.

Bank app developer told me they don't support Xiaomi. Any modules or tricks to spoof?

Thanks
[Magisk] zgfg:
Please check previous posts today about Magisk Hide Props Config
[Magisk] kg3:
My Xiaomi Mi 9T (running pixel experience rom) is already set to coral which is pixel 4xl I believe. I'll try another device fingerprint. How do I go back to the device fingerprint that came with the custom ROM after I play around with device fingerprints?

My phone already passes Safety Net without changing device fingerprint.
[Magisk] GROOVYJOSHCLARK:
I have no issues passing safteynet, everything is working fine and dandy on my pixel 2 XL running carbomrom (9). My issue is when I update to 20.4, the option for magical hide is gone so I can't disable root (hide) per apps as I could on 20.3. I rolled back to 20.3 and it's there and fine. Was this intended and I missed the note somehow? I read through the last 3 pages and didnt see anything about this issue so I am wondering if it was an anomaly and just happened to me, or did it affect others, and if so, was this intended. If this was intended, how do we hide individual apps from MAGISK/ROOT detection? I did not see any way to do it using 20.4 so I had to remove it and go back to 20.3 (in recovery). Once I did, it fired up fine, passed safetynet, and all my bank apps work (along with Disney+ and Netflix showing up in the PS), on 20.4, this didnt work. I couldn't pass safetynet, nor hide apps so I couldn't use my banking apps, nor download Netflix. As soon as I rolled back and the PlayStore noticed it was hidden, it popped up and was able to install:
[Magisk] warrencoakley:
Offending Module for me was the safety patch one. Once I done that and install Magisk Props Config it was golden again.
[Magisk] prot-:
You don't need to reinstall them it seems.
[Magisk] Didgeridoohan:
It's not enough to change the device fingerprint to pass as another device. You can try enabling the module's "Device simulation" feature (no guarantees that it'll work). Take a look in the module docs if you need further details.
[Magisk] Didgeridoohan:
[MENTION=6423569]GROOVYJOSHCLARK[/MENTION] Did you try enabling alternatively toggling MagiskHide off and on?

From Magisk v20.4 MagiskHide is disabled by default and may need activating after updating.
[Magisk] GROOVYJOSHCLARK:
Yes indeed, multiple times I toggled it off/on/off/on and so on (I thought that may be needed as well), nada, the only way it returned was rolling back to 20.3 then it popped up NP. Nothing else changed on my device, all I did was update to 20.4 when prompted, then it disappeared and didnt work. Rolling back to 20.3 and bingo, worked fine then everything returned and they were hidden again, Netflix, play store, everything worked fine on 20.3, but nope on 20.4.

Its also important to note, I also tried this with a FULL/CLEAN flash, from scratch, same result. I restored a Nandroid which had 20.3, upgraded to 20.4, same results, its not there (toggled hide multiple times), then rolled back to 20.3 and it was fine. When I clean flashed the ROM then installed MAGISK, same result, after toggling, it wouldn't show the option. This means clean and dirty both had the same issues but when using 20.3 on the same device, same OS, it works fine, it so only when moving to 20.4 does it show the issues.

Stay safe everyone!!! We are in some weird, unprecedented times that has never happened before so stay safe, be smart, and wash your hands often with social distancing!!!! STAY SAFE ANDROID'ers!
[Magisk] zgfg:
Uninstalling Props should restore
[Magisk] Greatness83:
[MENTION=7550078]pndwal[/MENTION]. Thanks. Your method worked!
[Magisk] Sormon:
My hide Magisk manager button not working, it always fails can you help me please? My device is Xiaomi redmi note 8 PRO.
[Magisk] Didgeridoohan:
Logs would probably be a good idea...

https://didgeridoohan.com/magisk/MagiskHideHelp
[Magisk] Didgeridoohan:
It's hard to help with so little info, but I've collected some info and tips here:

https://didgeridoohan.com/magisk/Magisk#hn_Cant_hide_the_Magisk_Manager
[Magisk] sunny999:
Not able to download zip file of magisk from official thread... When I was downloading magisk from github website I was getting .bin file... What can I do..??
[Magisk] user2k10:
Deleted
[Magisk] Didgeridoohan:
Generally no. If you are using the Canary channel there's always a chance that there will be issues. But, if there are issues you'll just have to restore the app, update and then hide it again.
[Magisk] GROOVYJOSHCLARK:
Thanks but I know how to get logs. I do not have any logs to share as I rolled back, and I wont be upgrading anytime soon. Plus the logs I did review (at the time) showed absolutely nothing useful, I was more raising this to everyone so others could chime in with the same results/reports so its known by all. I have no problem or issues running the older 20.3 when its stable and I do not gain anything by moving to 20.4. I DO lose the hide root with 20.4 so its useless to me and wont be upgraded, I must have this option. This means I am remaining on 20.3 for the foreseeable future.

XDA kinda crapped out on me during my reply, so I ended up replying 4 times the same thing over and over again then I tried to clean it up. XDA is timing out while trying to clean up the mess so IDK but ignore it if I did.
[Magisk] redcodefsu:
Awesome, thanks so much!
[Magisk] dcarvil:
What link? This is the zip file: https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip
[Magisk] pndwal:
SafetyNet check basicIntegrity is failing (reportedly) with the following mods active:

Magisk Modules

- SafetyPatch

- FDE.AI

- some unreleased (experimental?) modules

- Various Xposed / EdXposed builds. (incl. Riru)*

*Nb. Later Canary Riru EdXposed builds have been fixed and may not trip basicIntegrity. However, since posting this, they have failed and some versions fixed again several times, so it seems SafetyNet pass w/ EdXposed is never a sure thing. Check here for current state of play:

https://xdaforums.com/xposed/development/official-edxposed-successor-xposed-t4070199/

Recommendation: If previously needed/used SafetyPatch, remove and use MagiskHideProps instead.

I'll try to keep this list updated. Please report other mods / modules causing basicIntegrity fail. Thanks, PW
[Magisk] Philnicolls89:
Are Google back to there old tricks again??

I am on 20.3 and only riru core installed out of that list, failing both checks this morning.
[Magisk] wrongway213:
Riru is on the list of things you're quoting that's reported to cause CTS failures. The only thing this implies to me is that Riru is indeed tripping CTS as reported - nothing about Google.
[Magisk] justDave:
It wasn't tripping CTS a few days ago. I haven't updated magisk or riru lately. (Ok, I did upgrade riru today to try to fix CTS but that was after it started tripping it)
[Magisk] zgfg:
No problem (like two weeks ago when Google enforced Bootloader checking) with rooted (Canary 20401) stock ROMs (Huawei Oreo and Xiaomi Q), and with YT Vanced, BusyBox, Systemless hosts and V4A modules - Basic Integrity and CTS green
[Magisk] Didgeridoohan:
You don't have to update anything. It's Google that updates their checks... Nothing you can do about that.
[Magisk] pndwal:
Well, new tricks perhaps...

Well, I actually specified basicIntegrity fail for list.

Seems Google now has new checks triggering basicIntegrity fail, which in turn fails ctsProfile.

BasicIntegrity fail indicates problem unrelated to Google's key attestation detection, but ctsProfile will also fail without basicIntegrity.

A number of modules are now causing conflict with other new (basicIntegrity) SafetyNet checks. https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82166469

[MENTION=4667597]Didgeridoohan[/MENTION] has already identified bind mount mechanism used in SafetyPatch as one trigger, and it seems that this also applies to several of the failing modules.

Solution is to remove and find alternatives for these modules. Eg MagiskHide Props Config still works fine and can replace SafetyPatch. ( https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82157131 )

Also, read back from page 3916 here. PW
[Magisk] Gruber008:
I guess that's it with edXposed since Riru Core is tripping SafetyNet. Well it was a good run at least.
[Magisk] pndwal:
I'm wondering if Riru alone is actually tripping basicIntegrity, or only if EDXposed is activated (ie. basicIntegrity check actually tripped by some EDXposed mechanism now). Can anyone using this let us know?

If the former, there may be other Magisk module solutions still working.

If the latter, you're probably right. :( PW
[Magisk] asphodeli:
Hi all,

My Mi 9 Lite's with the latest version of Magisk is reporting that ctsProfile and basicIntegrity checks are failing as of now (it was working the last 2 weeks or so). I only have SafetyPatch installed. Just a heads up.
[Magisk] reaperfromhell:
Hey,

It started tripping SN today, I thought it was some playstore updates I left running over night, but now I see that SN got updated.

I'm Running Magisk 20.1 (edxp.meowcat) with Riru Core 19.7 and Riru EdXposed SandHook 0.4.6.2 (4529).

If I disable Riru EdXposed, SN doesn't get triggered anymore.

So I don't believe it to be Riru Core alone doing the tripping.

I hope we can actually figure out a way around this =/
[Magisk] pndwal:
Thanks for that. I'll edit my list at post # 39193 to reflect that.

EDXposed devs / users may be able to identify / rectify actual trigger. PW
[Magisk] spawnlives:
On my stock S8, the Edxposed module it tripping safety net ( basic integrity / CTS ). Disabling Edxposed module all ok.

Riru core module alone it not tripping safety net for me. Note: I have only used Edxposed module so can't say about the other modules that use Riru core.

From a Xposed module point of view I have only tried one at this stage which gives me a result of CTS - Pass but Basic Integrity as failed.
[Magisk] pndwal:
Please read back a few pages to understand latest issues.

List of Problem modules: https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82166469

Method to fix: https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82169063

Simple fix for you: Replace SafetyPatch with MagiskHide Props Config module. Usage: https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82157131 PW

---------- Post added at 04:42 AM ---------- Previous post was at 04:34 AM ----------

As above. Thanks for that!

From all accounts Xposed Module for CTS only fakes pass in your OS. - Google server end still sees it's failed / not certified, so security-centric apps still won't work / show in Playstore. PW
[Magisk] Philnicolls89:
This is correct from my experience aswell, an easy way to check is to download a safety net checker from play store you will see that it still fails. As you already mentioned hopefully it's something the devs from edexposed can look into and potentially solve.
[Magisk] nri_tech1183:
What if someone like me is rooted but not using/installed edxposed? It still passing all checks. Only thing is I haven't installed Riru as I don't use edxposed etc.
[Magisk] Philnicolls89:
Edexposed and other modules listed in above post are causing the fail. If you are not using them the you are fine. No need to worry. As for me as soon as I uninstalled edexposed I pass checks. Hope this answers your question
[Magisk] deep_raman:
Can anyone quickly tell me the other alternative for Exposed to run xposed modules.

CTS and intergrity is failing safetyNet. But turning off EdXposed or using magisk core module only option in setting let us passes the test. :good:

Till the time developers find out the way to crack CTS, what other alternative apps to edXposed ????:rolleyes::rolleyes:
[Magisk] hackermssharma:
As of all i also recently failed safty net both cts and basic integrity but by disabling ed exposed in magisk SN passed. So google updated their machanism and now detecting ed exposed. I don't find any work around till.
[Magisk] Swierk:
SafetyPatch WILL NOT BREAK SafetyNet pass if configured properly! Checked with SafetyNet checker and paid in shop an hour ago :)

- Uninstall SafetyPatch v3 module

- Install SafetyPatch v4.01 and config variable CMDLINE_REPLACE_ENABLED=false in data/adb/modules/safetypatcher/safetypatch_conf

- Clear app data for Google framework, Google Play Store and Google Pay

- Reboot

Sent from OnePlus 7 Pro, OxygenOS 10.0.3, TWRP 3.3.1-75, Magisk 20.3, EdXposed 0.4.6.1 (build 4513), Modded Play Store 16.5.15, android core.java patched and SafetyNet pass OK
[Magisk] Swierk:
- Have you tried guys EdXposed canary build 1530?

- Tried SandHook and YAHFA version?

- Tried HiddenCore 1.7 module for Xposed? (month ago did the trick for me flawlessly)

Sent from OnePlus 7 Pro, OxygenOS 10.0.3, TWRP 3.3.1-75, Magisk 20.4, Greenify 4.7.5, Modded Play Store 16.5.15, android core.java patched and SafetyNet pass OK
[Magisk] hackermssharma:
Why u disabled ed exposed? Enable it then post the ss of passed SN
[Magisk] HippoMan:
I followed those exact steps, but SafetyNet did not pass.

I'm wondering if your success is related to the fact that you are using "Modded Play Store 16.5.15" and "android core.java patched"

I'm on a OnePlus 7 Pro (GM1917), OOS 10.3.1, TWRP 3.3.1-79, Magisk 20.3, EdXposed v0.4.6.1 (4511 YAHFA), Google Play Store 19.5.13-all

How can I find and install that Modded Play Store and patched core.java?

PS: I upgraded EdXposed to v0.4.6.2 (4529) (YAHFA), and redid everything, but SafetyNet still isn't passing.

.​
[Magisk] justDave:
Have you tried disabling edxposed?
[Magisk] njtony:
Riru core or EdXposed must disable one of SafetyNet to pass, only wait for Edxposed update or Google to abandon detection
[Magisk] HippoMan:
Yes, but I need EdXposed for other purposes.

Thank you.

---------- Post added at 09:03 ---------- Previous post was at 09:01 ----------

I looked up "Modded Play Store", and I see that it is an altered version of the standard Play Store that circumvents some standard Play Store license checks and which allows people to install paid apps without paying. In other words, it's another steal-from-developers tool.

Therefore, I will not use "Modded Play Store". I'd much rather live with SafetyNet not passing than to be involved with any kind of theft from developers.

.​
[Magisk] pndwal:
Just loaded TaiChi Magisk module (from repo), and TaiChi manager for Xposed modules.

It reports 'Yang kernel activated'. Gettting 'cannot request data from server' error, so haven't activated any modules. I've never used Xposed in any form so I'm probably missing something, and have no clue regarding using Xposed modules from other sources although the documentation claims these will generally work fine.

Despite the above, neither the Magisk TaiChi module, nor the TaiChi Manager APK trip SafetyNet, so others may wish to give Xposed modules a go with this (using Yang, not Yin mode).

Please report how this alternative to Riru works (or fails :( ). PW
[Magisk] deep_raman:
Bruh! Doing below settings passes the safety net:

Go to Magisk Manager-->Settings-->Toggle Magisk Core Only Mode->>Reboot

Once rebooted run the safety net again, hope it passes for your as well.

Cons:

Modules will not work.

Pros:

Still have the root access and Magisk Hide properties.
[Magisk] nri_tech1183:
Well I'm happily using Taichi since few months now and its so light and doesn't mess with root or do something like edxposed. You can try it.

In fact for most of the modules you don't even need root.
[Magisk] Swierk:
Actually only Riru EdXposed must be disabled. I am using Riru Core with Riru Clipboard Whitelist with SafetyNet pass OK. Look screens few posts above.

Sent from OnePlus 7 Pro, OxygenOS 10.0.3, TWRP 3.3.1-75, Magisk 20.4, Greenify 4.7.5, Modded Play Store 16.5.15, android core.java patched and SafetyNet pass OK

---------- Post added at 02:50 PM ---------- Previous post was at 02:46 PM ----------

+1

Sent from OnePlus 7 Pro, OxygenOS 10.0.3, TWRP 3.3.1-75, Magisk 20.4, Greenify 4.7.5, Modded Play Store 16.5.15, android core.java patched and SafetyNet pass OK
[Magisk] osm0sis:
[MENTION=10541911]chenxuwen[/MENTION] We want your help to try and fix this. Check your PMs and get back to me please. :good:

Also, put this info in a GitHub Issue when you get the chance so it doesn't get lost.
[Magisk] deep_raman:
I've disabled the riru modules in magisk, installed the taichi module and enabled required root xposed apps. Now safetynet passes properly.:laugh::laugh:
[Magisk] teddy0209:
Remove your root... Root with either supersu or phhsuperuser
[Magisk] dimm0k:
thanks [MENTION=4470081]topjohnwu[/MENTION] for v7! updating with the Magisk Manager v2 was so smooth compared to the past, great work!
[Magisk] frrancuz.:
how to manage the visibility of su?
[Magisk] westeight:
v7 is amazing. SafetyNet, Pokemon Go, etc works perfectly:
[Magisk] dimm0k:
care to share how you got 86.6 Xposed working with Pokemon Go??
[Magisk] Jorgesanux:
but it works with active Xposed or no to disable it to play

Enviado desde mi MotoG3-TE mediante Tapatalk
[Magisk] westeight:
The Magisk module can simply be toggled on/off. With Xposed 86.6 toggled 'off', Pokemon Go works fine. :cowboy:

As SafetyNet passes and Android Pay also lets me add new cards, it's likely to work too. Will attempt some purchases tomorrow.
[Magisk] ibrokemypie:
so is suhide going to continue to be the only method of keeping xposed or is something else being worked on too? +1 for adding the toggle back as i think being able to entirely turn off root temporarily is a good thing to have, and of course some people would like to continue using it to bypass safetynet

thanks for this amazing project [MENTION=4470081]topjohnwu[/MENTION], cant wait tillit becomea a big community platform like xposed did
[Magisk] QWEnter:
toshi127k, could you please modify Magisk-v7.zip the same way as v6 in order to make it compatible with Z1 Compact stock Android 5.1.1 (14.6.A.1.236) and upload it to mega.nz or somewhere else. As far as I understood it will be possible to use already patched boot.img to use with it. Thank you in advance.
[Magisk] dimm0k:
I take it that you mean in the Magisk Modules section you toggled off phh root and Xposed like in your screenshot without a reboot and SafetyNet passes? did you flash the newer suhide version of phh root?
[Magisk] Tkbf:
As my understanding, if you upgrade to magisk v7 AND magisk xposed 86.6, either phh's superuser hidesu or Chainfire's supersu suhide works! Just install one of them and no need to disable xposed anymore, safety net check is circumvented.

V7 is so powerfull and amazing, thank topjohnwu's great job.
[Magisk] Didgeridoohan:
You, Sir, are a legend!

Magisk v7 is working great! Changing density works now on my Nexus 6 and I'm really excited to see what the future's gonna bring.

FWIW, I (and I'm sure quite a few other users) believe your decision to remove the root toggle is the right way to go. Don't, please don't succumb to the pressure from users that can't accept your decision.