yashsingh1/xdaforums huggingface dataset:
[Android Software Development] pnin:
Success report. :cool:

Poco X3 NFC (surya) on latest stable Xiaomi.eu (v12.0.7.0) -- had some hit and miss success previously with MagiskHide Props Config and, after it failed, by resetting everything to default, but was again failing ctsProfile just before installing this Universal SafetyNet Fix v1.1.0 (without any additional tweaking).

FTR, I haven't any active Google Pay -- or any Google account setup for that matter, although Play Protect is still scanning the device -- so further testing will be needed; still, very satisfied with the outcome RN.
[Android Software Development] Drakax:
@kdrag0n @shchukax @purgy

Hi guys,

It doesn't work for me :(

Phone: Pixel 3a, rooted

Update: January 2021

Google Pay version: 2.120.344959027

Magisk version: 21.2 (21200)

Magisk manager version: 8.0.5 (4802) (15)

Universal safetynet fix version: 1.1.0

No error during the flashing process/installation through magisk manager and it's appears in the magisk modules list after the reboot but I still get the *Attestation failed* from the SafetyNet check of magisk and the *Couldn't finish setup to pay in stores* error from Google Pay.

Any suggestion?

Thank you in advance!

Stay safe.
[Android Software Development] kdrag0n:
Enable MagiskHide. If that doesn't fix it, try https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/post-84293237.
[Android Software Development] detlev24:
For testing purposes, I just switched to "iodéOS" from @vince31fr - same issues with getting stuck at (now) IODÉ logo.

Thank you! This solution is definitely more elegant to get out of boot loop, than installing the current Magisk-unistaller-[...].zip file. :)
[Android Software Development] rodrigomoyano11:
Working on Moto Z Play. Android 9.
[Android Software Development] rewtnull:
Ok, thank you very much, that did the trick... for now. I wonder what kind of additional checks they are doing compared to others and if there is or will be a way to circumvent this in the future.

One crazy idea would be if it was possible to run apps in their own isolated containers chroot or vm style. Possibly unrealistic thought but who knows what the future will bring :)

Again, big thanks! Very much appreciated.
[Android Software Development] angiotell:
Hi. I'm on Ambasadii ROM 3.0 Android 11. All is perfect but Google Pay doesn't work. Can I install your module?
[Android Software Development] porotikos:
i am facing the same problem my friend.

please can you answer 2 questions? first, where did you download the previous version from? is it safe?

second, do you believe this can be fixed with a future magisk update, or are we screwed forever?
[Android Software Development] rewtnull:
I grab mine from apkmirror using their app that allows installing .apkm bundle files. You will have to judge whether or not you think the source is safe.
[Android Software Development] Uzephi:
Just enable magisk hide on revolut. Just tried it and it worked for me. Tap the shield at bottom of magisk app. Select magisk hide, find revolut and tick the checkbox. Root hidden. I suggest doing this for all Google services as well.
[Android Software Development] porotikos:
in my case i have done obviously all that and still revolut fails to open... root is detected buy this app and only this.
[Android Software Development] Full House:
works on S20 FE 5G (SM-G781B) ROM OneUi 3 Android 11.

no configuration required here is how I proceeded:

• activate Magisk Hide

• install MagiskHide props config

• install UniversalSafety fix v.1.1.1 test1.zip (see Page 4)

• restart and erase playstore data

(I specify that I have EdXposed installed)

thank you very much to the dev
[Android Software Development] Uzephi:
Odd, something else in your setup is tripping it then. Magisk hide works for me. Pixel 3a, Jan 2021 security patch. Modules: AccA, USNF. ElementalX kernel. Not ticking revolut in Magisk hide: root detected, flipped magisk hide for revolut, clear app data, bam, works.
[Android Software Development] 73sydney:
Exactly this, @kdrag0n has been around for like 5+ years and is super trusted, why would he use paying guinea pigs BEFORE releasing it to everyone free...if he's running a scam, its a poorly thought out one :)

He only takes donation (in the form of an early release tier) because the twice yearly coffee donations from people like me, who dont even use his software or ROM's, werent keeping his efforts viable :)
[Android Software Development] d3viou5:
No, sorry. I paid for the pre-release and I'm happy to support the efforts but this whole thing seems like patch on patch on patch for something that aside from the big red box saying CTS fail, hasn't affected me. It messes with my Feng shui but so far "touch wood" my banking apps still work. Never used contactless payments. I believe from the crDroid thread that an upstream pull request may fix some issues when an update comes. I'm waiting for that for now.
[Android Software Development] osm0sis:
On a custom ROM you'll still need to spoof a stock ROM fingerprint or something using MagiskHide Props Config. That's in the USNF README.
[Android Software Development] d3viou5:
Yep, tried all that and still no dice.
[Android Software Development] osm0sis:
Hmm well works great with only USNF on stock, where fewer shenanigans are required. 🤷‍♂️
[Android Software Development] vladigg:
Thank you very much your instruction work perfectly for me 😀
[Android Software Development] 73sydney:
hehe, im glad, but which part? :)

It may help others to know. Did you have to resort to Lsposed or just the regular MagiskHide stuff

Cheers
[Android Software Development] Chandru123:
I just installed the Alpha Magisk, hidden all the play services, basic integrity will pass, install magisk hide props, Riru first and then usnf 2.1.0. Reboot, clear the play services data and cache. The Safety Net should pass.

I have also tried the xPrivacyLua method but it passes the attestation but my company portal app still detects it. Maybe it breaks some other functionality. Using the above method is very straightforward and simple.

Hope this helps.
[Android Software Development] F308:
For the records:

I asked if someone can analyze my logs.

All of the sudden after one of reboots I noticed that my LSPosed was green.

Then I activated XPrivacyLua and passed through SN check.

What I observed in logs is that I've got OOPS when XPrivacyLua (or LSposed) tried to set my fingerprints while I know my phone is not on the list.

I paste it, maybe this OOPS will be useful for someone.

I may provide more of the log on request:

----------------- cut -------------------------

[ 2021-09-13T23:31:18.790 0: 9245: 9245 F/libc ] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 9245 (liblib3c.so), pid 9245 (liblib3c.so)

[ 2021-09-13T23:31:18.825 0: 10896: 10896 F/DEBUG ] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

[ 2021-09-13T23:31:18.825 0: 10896: 10896 F/DEBUG ] Build fingerprint: 'samsung/a41eea/a41:11/RP1A.200720.012/A415FXXS1CUG1:user/release-keys'

[ 2021-09-13T23:31:18.825 0: 10896: 10896 F/DEBUG ] Revision: '4'

[ 2021-09-13T23:31:18.826 0: 10896: 10896 F/DEBUG ] ABI: 'arm64'

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] Timestamp: 2021-09-13 23:31:18+0200

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] pid: 9245, tid: 9245, name: liblib3c.so >>> ./liblib3c.so <<<

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] uid: 0

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] Cause: null pointer dereference

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x0 0000000000000000 x1 0000007fdffb0f28 x2 0000000000001fff x3 ffffffffffffffff

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x4 ffffffffffffffff x5 8000000000000000 x6 5fff692bff383838 x7 0000000000000008

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x8 44eec7483965ec1b x9 44eec7483965ec1b x10 7f7f7f7f7f7f7f7f x11 0101010101010101

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x12 0000000000000000 x13 ffffffffffffffff x14 0000000000000000 x15 ffffffffffffffff

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x16 0000007f101c98f0 x17 0000007f101a8ce0 x18 0000007f11534000 x19 0000000000000000

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x20 0000000000000000 x21 0000000000000000 x22 0000000000000000 x23 0000000000000000

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x24 0000000000000000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] x28 0000000000000000 x29 0000000000000000

[ 2021-09-13T23:31:18.827 0: 10896: 10896 F/DEBUG ] lr 0000007f117b6c38 sp 0000007fdffb2f80 pc 0000000000000000 pst 0000000060001000

[ 2021-09-13T23:31:18.831 0: 10896: 10896 F/DEBUG ] backtrace:

[ 2021-09-13T23:31:18.831 0: 10896: 10896 F/DEBUG ] #00 pc 0000000000000000 <unknown>

[ 2021-09-13T23:31:18.831 0: 10896: 10896 F/DEBUG ] #01 pc 000000000004cc34 /apex/com.android.runtime/bin/linker64 (__dl__start+4) (BuildId: 802f0e1ea5a072e3a26ad07623c5779

7)

-------------------------- end -------------------------
[Android Software Development] pndwal:
Also, a little on setting up the named but empty MomoHider configuration files here (of course this will do nothing if omitted):

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-85125319 PW
[Android Software Development] 73sydney:
Never fear, i did link the kiddie to my automatic modded version of Momo-Hider, here: https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/post-85630515

As well as linking to the HP of Momo-Hider (containing the manual method of adding those files) back a page in response to his original post

Yours,

Nigel :)
[Android Software Development] onoakino:
To those who are bored, can you try if you can prevent this banking app from detecting root? This banking app is the only one that's refusing to work on my device. Other banking apps work with just "magiskhiding" it. Some of my apps work if put them inside Island. Just this one app that refuses to work no matter what.

If you ever want to try "breaking" it to not detect root, the name of the app is BDO Digital Banking (by BDO Unibank, Inc.)
[Android Software Development] vladigg:
MomoHide help me with Google pay.

1) Install Riru-Lsposed

2) Reboot

3) Install XprivacyLUA

4) Reboot

5) Open XprivacyLUA, locate A1 Wallet and tick Get Applications

6) Test

This steps resolv problem with A1 Wallet and one more bank app
[Android Software Development] Chandru123:
Working fine for me, asking me to enroll or log in.
[Android Software Development] pndwal:
Custom ROM issues:

Sorry if this got lost, but here's why this fix fails (and only Xposed PrivacyLua solution may work) to fix September Google server end changes for many custom ROM users:

PW
[Android Software Development] onoakino:
Thanks. May I know what extra steps you did to make it work?
[Android Software Development] Chandru123:
I just did the above...
[Android Software Development] Nikishek:
The title page of the safetynet module on github says:

Android versions 7–12 are supported, including OEM skins such as Samsung One UI and MIUI. This is a Riru module, so Riru must be installed in order for it to work.

Well, I guess that Android 7 is no longer supported since Riru works on Android 8 and later.
[Android Software Development] onoakino:
Can you give me a screenshot of the app working for you? Your first sentence focuses on passing Safetynet check. I'm on Magisk 23, and using usnf 1.2.0, I am able to pass safetynet. If i head on to Google Play, I can see my device is certified, so there's no need to tamper with fingerprint - MHPC is not needed.

Added BDO in magiskhide. Renamed magisk app into something else. Rebooted. No dice.

BDO app refuses to work. What's different with your setup comapared to mine that you're able to make it run?

I have Riru installed. I also am using LSposed. I installed Xprivacylua, enabled it on LSposed. Rebooted. Opened Xprivacylua app, selected BDO. Tried opening the app. No go.
[Android Software Development] Chandru123:
I have already mentioned that xPrivacyLua method breaks some other functionality and causes some apps to detect root.

I have not installed lsposed, just Riru, same thing happened for my company portal app, it will detect root even when safety net passes.

I would advise to switch over to latest Alpha Magisk and try the above steps.
[Android Software Development] crok.bic:
[please delete]
[Android Software Development] crok.bic:
I used to "freeze" the hidden Magisk app, too.. works for me (you app does indirect discovery I guess). I "freeze" the hidden Magisk app with AirFrozen after I set up everything I wanted to be set up in Magisk and my banking app (myRaiffeisen Hungary) works. Here's my "method" I wrote on Xiaomi.EU forum.. I got the idea from Didgeridoohan's Magisk help page.
[Android Software Development] pndwal:
🤔

https://github.com/RikkaApps/Riru PW
[Android Software Development] Nikishek:
pndwal:

Sorry, I have it somehow connected mainly with edXposed and LSPosed (which are only on Android 8 and later)

But anyway, in the first post of this forum is Android versions 8–11 are supported which is a bit confusing.
[Android Software Development] pndwal:
Ah, sure, but could help others reading / trying / thinking it does nothing when it does... 😐

I don't doubt the ability of mice like you to give computing / coding advice to the Arthur Dents of this world. (Like him we're all kiddies really.)

After all, any who've read the Guide to the Galaxy know that mice built the thing to compute what Ultimate question had originally been asked to result in Deep Thought's most satisfying conclusion: 42.

But I'm 30 billion times more intelligent than a live mattress and even I get a headache thinking about it...

I don't know why you Liked this, but I think you ought to know that for devices where Magisk does not reside in /sbin (eg. running Android 11) com.google.android.gms is needed in hidelist in addition to com.google.android.gms.unstable, and that I'm feeling very depressed.

I'm going now, to solve the major mathematical, physical, chemical, biological, sociological, philosophical, etymological, meteorological and psychological problems of the Universe, excepting my own, three times over, and compose a number of lullabies. I won't enjoy it.

Marvin ☹️
[Android Software Development] pndwal:
Still says "Universal SafetyNet Fix 1.1.0" too... Clearly OP doesn't update on XDA much and hasn't even announced later releases here.

His GitHub on the other hand seams to be an up-to-date source. PW
[Android Software Development] christantoan:
Disclaimer: I'm not (yet) using this module but interested in its development.

What works for me (until login screen) is using MagiskHide and (renaming TWRP folder in /sdcard OR using Storage Isolation on the app)
[Android Software Development] onoakino:
Thank you. I tried AirFrozen and it was able to freeze my renamed magisk app, but I get the same error, unfortunately.
[Android Software Development] onoakino:
Thank you for this suggestion. I tried AirFrozen, but it didn't work. But I love how AirFrozen freezes (makes renamed magisk app disappear from system tray). Maybe this will work with other apps so I'll definitely try this in the future.
[Android Software Development] onoakino:
Finally, this solved the issue for me!

What I did:

1. Added BDO app to magiskhide.

2. Added BDO to Storage Isolation

You are also correct in saying that as an alternative to #2, renaming the TWRP folder also does the trick.

Apparently, the app gets triggered when it "sees" TWRP folder on the sdcard and trips the "rooted, jailed, bootloader unlocked" stop error.

Thank you, @christantoan

ps:

@Chandru123

Thank you for the suggestion of upgrading to Alpha Magisk. I didn't try it because I am happy with Magisk 23 stable channel right now though. But thanks for the suggestion.
[Android Software Development] osm0sis:
Alright, it's live! https://github.com/kdrag0n/safetynet-fix/releases/tag/v2.1.1 🤘
[Android Software Development] Smiley86:
Hello!

Is there any solution for Pixel experience?
[Android Software Development] Fif_:
Confirming it fixes all issues with display and fingerprint reader on OP8T. 👍
[Android Software Development] pndwal:
Only to try LSPosed / PrivacyLua solution, or petition ROM dev to merge commit linked here:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-85580011

👍 PW
[Android Software Development] osm0sis:
That frameworks_base repo and commit are missing now, perhaps @Displax can repost somewhere using gist for just the example diff/patch? Then @kdrag0n might be interested in adding it to the USNF README as another "out of scope" example.

Edit: Actually, scratch that, looks like @kdrag0n will make a patch himself when he has time for ROM stuff next: https://github.com/kdrag0n/safetynet-fix/issues/88#issuecomment-917729677

Should still probably be linked in the README though, since there seem to be a lot of confused custom ROM users always asking for help...
[Android Software Development] pndwal:
Not sure this is actually referring to ROMs like PixelExperience (with "prebuilded utils, which manipulate the props values. Need to fix inside there").

He used to give two fairly comprehensive methods on main page for normal ROM Integration. Now there's just this:

https://github.com/kdrag0n/safetynet-fix#rom-integration with a note that "the following patches have not been updated for the new September 2 changes yet" and a link for old (January) Android 11 framework fix only. (A post there says to cherry pick the commit.)

Seems he just meant he'll update standard AOSP framework fixes (from old 1.x series non Riru solution) with his Proton ROM updates.

Some specific fix example for ROM devs manipulating props would still be useful...

Agree. PW
[Android Software Development] pndwal:
Surprising this module only has two (listed) contributors...

Happy to see @osm0sis inducted as no. 2. 👍 PW
[Android Software Development] mwahahaa:
The latest version caused my Pixel 4a 5g to lose network calling as well as have issues with laggy UI responsiveness. The problems went away when I uninstalled the module.
[Android Software Development] Slim2none4u:
That is on you not the module. Everything works fine on my Pixel 4a 5G.
[Android Software Development] eNVy:
Hi, I have a Pixel 4a with magisk stable v23 and safetneyfix v2.1.1.

SafetyNet is a success and I have hidden all of my banking apps and it is working fine.

I'm from India and there is one banking app (Axis Mobile) and it is able to detect root and thus I can't use the app.

Is anyone else facing the same issue. Were you able to fix it ?

Can anyone help in maybe some way I haven't thought of. (like: some people have suggested in the past having twrp folder can also cause root detection. PS: I don't have the folder.)
[Android Software Development] mwahahaa:
Whether it is "on me" or not, I was simply commenting that flashing this latest version through Magisk (Lsposed also installed) borked my calling when an earlier version worked fine. I may try a reinstall.
[Android Software Development] pndwal:
Try Riru-MomoHider. 👍 PW
[Android Software Development] Homeboy76:
Kudos to the developer of USNF (@kdrag0n) and all the XDA members that have helped with the development of USNF. They deserve all the accolades they can get for the development of the USNF module. Great job! :) :) :)
[Android Software Development] vel_tins:
Everything works except Gpay

Poco X3 NFC

Do I need to take some settings in one of the modules?

Or should it work ootb?
[Android Software Development] ToNemAi:
Hi osm0sis, I have a proposal for you in this post

https://xdaforums.com/t/paying-50-to-solve-problem-on-android-x86.4332137/#post-85647853
[Android Software Development] 73sydney:
Google Pay - Usual fix:

Toggle airplane mode on

Clear data of Google Pay, Google Play, Google Play Services

Reboot

Toggle airplane mode back off

Wait 5 minutes for store to recertify

Still not working?

Remove card and readd
[Android Software Development] vel_tins:
Thanks.

Seems to work, at least for the moment...(y)
[Android Software Development] Displax:
Already merged, actually: https://github.com/PixelExperience/frameworks_base/commit/993e10547c7329657e48610c5a10cb99943b13c7
[Android Software Development] supersnellehenk:
I installed v2.1.0 on my OnePlus 8 Pro (OOS 11), it broke my fingerprint sensor. I then updated to v2.1.1, but it's still broken. I've tried removing the module, but it remains broken. So I don't know what I did, could someone help me narrow down the issue? Or is a factory reset my only option?
[Android Software Development] rodken:
Reinstall version 1.2.0 and cross your fingers.
[Android Software Development] supersnellehenk:
Do you mean 2.1.0 or 1.2.0? 1.2.0 is quite old. Thanks for the suggestion though!
[Android Software Development] supersnellehenk:
Well, I've tried both, no dice.
[Android Software Development] osm0sis:
Uninstall the USNF module, reboot, and see if it works again.
[Android Software Development] supersnellehenk:
I've tried that, it didn't fix it sadly. If I go into the calibration test of the sensor through the dial code, it does function properly.

I am running a custom kernel, blu spark. Would that interfere? I'm running 11.0.8.8 of oxygen os.
[Android Software Development] osm0sis:
If you've uninstalled USNF then it's kind of out of our hands here. Yeah, just start piecing your way back to full stock..

Your report reminds of when I originally fixed this for MagiskHide. We fixed it correctly (as evidenced by any Magisk version after 20414 working for you), but there were some 8 Pros that worked immediately and some that were still broken because something went weird with their fp firmware/calibration data: https://github.com/topjohnwu/Magisk/issues/2803
[Android Software Development] supersnellehenk:
MagiskHide did work indeed, thanks for that. Also thanks for helping me figure out I'm pretty much at a loss ;)

I'll just be reinstalling OOS completely clean, then root it again. Might give another go at USNF, might not. Thanks anyways!
[Android Software Development] osm0sis:
Might need to MSM when you start clean. 🙁

USNF 2.1.1 should be fine now going forward, same as MagiskHide was after my fix.
[Android Software Development] supersnellehenk:
I'm unsure what MSM means, wouldn't flashing the stock image twice to clear both partitions work?
[Android Software Development] osm0sis:
Not necessarily.. search xda for MSM and your device and you'll find the packages. It's what OnePlus tech support installs for you to fully wipe and restore your device back to locked factory.
[Android Software Development] supersnellehenk:
Ah, alright. Thanks for the heads up. I did find this post regarding the fingerprint issue, it also uses MSM. I'll give that a try. Thanks again!
[Android Software Development] supersnellehenk:
Alright. I didn't even have to use MSM or do any factory reset. Following the steps of replacing the data and engineermode folders from a dumped persist.img restored my fingerprint. Huzzah!

I did install USNF 2.1.1 after it, now I know how to fix it. It didn't break my fingerprint this time.

So for anyone that might come across this error and this post in the future, following the instructions in the video provided in that post I linked regarding dumping persist, calibrating and replacing the data and engineermode worked for me.
[Android Software Development] creeve4:
I found an unintended side affect of the new bypass methods introduced in 2.1.0: my Pixel is no longer recognized as a Pixel by Google Assistant and thus "Hey Google" is no longer available when the screen is off:

View attachment 5414715
[Android Software Development] osm0sis:
Sounds like https://github.com/kdrag0n/safetynet-fix/issues/93. Please add your report there. (y)
[Android Software Development] Miustone:
Wasn't aware of any Updates. Would be nice to get an Updated Thread Title from time to time...