yashsingh1/xdaforums huggingface dataset:
[Android Software Development] pndwal:
See:

https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/post-85253637

This is a better alternative for One UI generally, but no idea if it fixes issue with 32 bit. PW
[Android Software Development] poloPonyo:
I tried it, but no luck. I saw a comment, someone had the same phone as me and apparently, my CPU is 64bit, but the kernel is 32bit. That's why SafetyNetFix won't install.

What do I do?
[Android Software Development] g000n:
The module is causing a bootloop on my Galaxy S5 klte
[Android Software Development] pndwal:
Interesting it fails; just checked, and seems @kdrag0n added commits to make test module compatible w/ armv7-a after becoming aware that there are actually devices w/ 32 bit systems new enough to use hardware key attestation.

https://github.com/kdrag0n/safetynet-fix/issues/7

It actually affects Motorola, other Sammy, Sony, HTC...

You did try the later "xxx.test2.zip" 'fixed' build from here:

https://github.com/kdrag0n/safetynet-fix/pull/13#issuecomment-767863635 ?

... however, seems it is failing at least for some OneUI 2.0 devices.

https://github.com/kdrag0n/safetynet-fix/pull/13#issuecomment-781440025

https://github.com/kdrag0n/safetynet-fix/pull/13#issuecomment-805151427

Worked for Galaxy Tab A though:

https://github.com/kdrag0n/safetynet-fix/issues/23#issuecomment-784580962

If you want to create a fix yourself, may just need to "compile keystore for ARMv7"

https://github.com/kdrag0n/safetynet-fix/issues/70#issuecomment-893931964

HOWEVER...

You may be interested that your device seems to have 64 bit libraries ported now! 😀

Here is Custom LineageOS 18.1 (Android 11) for Galaxy A19:

https://xdaforums.com/t/rom-11-0-unofficial-lineage-os-18-1-galaxy-a10.4241581/post-84588127

(64bit and 32bit listed)

Device tree and Vendor listed under source are 64 bit... Worth a shot? 😛 PW
[Android Software Development] pndwal:
https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/post-85253637 PW
[Android Software Development] poloPonyo:
I tried the test2.zip and it installed, however evalType is still HARDWARE.

How do I go about making a fix for myself?

ALSO thanks a lot for the lineageOS link. Was looking for a custom rom lol.

But still this SafetyNet problem is really bugging me.
[Android Software Development] pndwal:
Hate to state the obvious, but w/ 64 bit LOS USNF (standard) should load / work fine!...

If you want to kill two birds with one stone, may be worth two shots. PW
[Android Software Development] pndwal:
As an aside, it would likely be very useful for others if you open an issue at

https://github.com/kdrag0n/safetynet-fix/issues/

detailing failure of both USNF (standard) and xxx.test2.zip on your device, especially as it is a fairly late device using 32 bit natively.

It may help @kdrag0n to merge a fix. 👍 PW
[Android Software Development] pndwal:
Just a heads-up:

Have you tried the Magisk module microG Installer Revived from Magisk module repo? It's recently updated, documentation discusses passing SN, and includes necessary components...

It claims to be a slim / bloat free installation compared to 'cluttered' NanoDroid.

No idea if it fixes current SN issue w/ microG, but if you want to try I'd be happy to hear a report. PW
[Android Software Development] sabei:
Not yet but I can certainly try. Presumably I need to remove all current miroG install first?

Probably going to screw up my Line app but won't be the first time :D
[Android Software Development] pndwal:
No experience here, but a clean install gives best chance of success to my mind... 😛 PW
[Android Software Development] DeathCite:
No instructions make it kinda hard to use but after i installed as magisk module nothing happened still failing
[Android Software Development] zgfg:
Everything else is properly set, like:

- MagiskHide enabled in Magisk app

- BasicIntegraty passing and only CTSProfile failing with evalType Hardware (see OP post #1 and on Github)

- You are not using EdXposed (as discussed in the thread, e.g. search about)

Furthermore, to be able to get help describe your set-up (phone, ROM, etc)
[Android Software Development] pndwal:
Also, basics are in OP, detailed info linked there (GitHub) as is Telegram discussion... Assuming you understand Magisk module / SafetyNet / MagiskHide basics, what instructions do you need? PW
[Android Software Development] cater2:
Works on galaxy m12 routed via magisk .

Many thanks

kdrag0n
[Android Software Development] Black Swift:
Xperia X Compact, Android Oreo 8.0 Stock Rom, i used this but it dint worked.
[Android Software Development] pndwal:
Please say Check SafetyNet results for basicIntegrity, ctsProfile and evalType. PW
[Android Software Development] Black Swift:
Basic integrity passed

cts profile failed

evaluation type: basic
[Android Software Development] cater2:
Go to Magisk Hide and check the box in Google Play Services and Google Play Store

note : Click on the search lens , and select to show system files ( this was necessary for me , to show Google Play Store )
[Android Software Development] Black Swift:
unfortunately, that didnt wokred.... :C
[Android Software Development] pndwal:
Only SafetyNet service com.google.android.gms.unstable in in Google Play services should be added to MagiskHide by toggling on MagiskHide.

No need for PlayStore. PW
[Android Software Development] pndwal:
What Magisk modules are enabled?

Try disabling all but USNF module.

Also, stock ROM is not China variant is it? Is it Global? PW
[Android Software Development] cater2:
In my configuration there is also activated com.google.android.gms

If I deactivate this one , and restart the phone , it remains activated
[Android Software Development] pndwal:
Yes, I had heard of that occuring (on Xiaomi Redmi 9 or 10?) and I'm not sure why. - Standard is only the SafetyNet process I mentioned, and that's the only one John Wu has discussed hiding since MagiskHide made its debut AFAIK.

There must be something different w/ some devices, but hiding should happen automatically w/ MagiskHide toggle, at least with current Magisk.

I don't think anyone needs to add processes in Google PlayStore etc however. PW
[Android Software Development] BillAdama:
I'm also in the same situation with a Pixel 4a on Android 11, this morning it was working fine but a while ago it started failing all of a sudden.
[Android Software Development] Lord Sithek:
Possibly something has been updated in Google's side and now devices with actual hardware attestation can't be fooled by USNF. Two of my devices with basic attestation passes SN still, while Samsung Galaxy Tab S5e with hardware attestation (with USNF working well before) fails SN check as well
[Android Software Development] ReservedName:
this is exactly where I'm at. I think I updated the magiskhide props config module a few days ago but haven't seen any system updates come in. suddenly warned this morning that my phone wasn't ready for contactless payments. checked safetynet and cts profile is failing. eval type basic. saw the update saying the dev is not gonna work on magiskhide anymore but does that mean it's broken now?
[Android Software Development] ReservedName:
I've tried switching hide off and back on but it's not working. removed and reinstalled universal safety net fix 1.2 rebooted and cleared data/cache on Google play store, play services, and framework but it didn't get it. when I went to open Google pay again and enable the cards it wouldn't let me then disabled my other cards. I got an email just a few minutes ago saying one of my cards was deactivated for digital use.
[Android Software Development] Chandru123:
Same happened with my OnePlus 8 Pro, today evening, everything was working fine. I even made GPAY transactions before noon and luckily it did not fail at that time. Company Portal started notifying my device was falling google certification and then when I checked, the attestation was failing and I got the same error mentioned by @ReservedName .
[Android Software Development] dunderball:
Same thing is happening to me. Google must've pushed something on their side.
[Android Software Development] ShaDisNX255:
Yep, as of today mine isn't working either. Galaxy A52, stock OneUI 3.1
[Android Software Development] pplayer_87:
https://github.com/kdrag0n/safetynet-fix/issues/78

Looks like need to wait for a fix
[Android Software Development] krille74:
Same here using oneplus nord ce .
[Android Software Development] dragos281993:
You gotta have a little patience a read thoroughly through you phone's threads relevant to your case. Your phone is just in a bootloop so not need to worry but the recovery methods differ from phone to phone, so sit comfortably cause you've got a bit of reading to do to at least familiarize with the stuff that's now difficult but that'll become very easy after a while.

But I'm at work and I cannot do thorough deep dive into a different phone's xda page than mine.

So happy reading! Bit don't panic! You'll get it back and running.
[Android Software Development] ai5g:
Thank you, I will try to find some information in the threads or ask there for help and report back when I am successful ;-)
[Android Software Development] zgfg:
If you upack the zips you can compare and find the difference.

At first glance the second is missing post-fs-data.sh script (you can consult Magisk docs to find when Magisk runs that script when initializing).

You can open the script from the first and read - just few lines, aligning two props if they differ

I think it would take too much asking the dev to write the novels explaining you how things work and what was the purpuse or hint to try with or without

If you want you can help by testing and providing the results. If not, disregard
[Android Software Development] kevinwu128:
Used 1.1.0

Android 10

Samsung s10

Passes CTS profile and can even setup google pay.

Problem: a lot of random rebooting.

I have removed the module for now and phone is stable again.

Will wait for a more stable version, unless it's not made for Samsung..
[Android Software Development] Fun_GKC:
Pixel 4a 5g

The Google pay wasn't working. I installed the Jan patch and install magisk again and now is working
[Android Software Development] Durete:
The easy way....

How to Uninstall Magisk Modules Using TWRP Recovery | DroidViews
[Android Software Development] Durete:
Redmi Note 8T, last global MIUI 12.0.1 version (Android 10). Magisk 21.2 and Manager 8.0.5.

SafetyNet OK, Certificied Device and GPay contactless working perfect after installing Universal Fix 1.1.0 from Magisk Manager.

Previously I bootloped my phone installing 1.1.0 from TWRP, but installed from Magisk Manager worked perfect.
[Android Software Development] ai5g:
That did the Trick! THANKS!!!!!!!!!
[Android Software Development] 23Xor:
In fact my M5 10.8 passed SafetyNet without this(Chinese firmware, also 9.1.0)

I can just say that M5 isn't modern enough to get a hardware based test:ROFLMAO:
[Android Software Development] zgfg:
There are also other ways (there are devices without a proper TWRP), generally for such questions check Magisk Wiki that is available from Magisk Github
[Android Software Development] AndDiSa:
Until three days ago it was passing having applied Magisk only. I am quite sure that Google changed to using hardware based SafetyNet checks also for the M5 and so it's failing with or without SafetyNet security fix.

I also found a strange thing that might cause CTS failure, but I am not sure: getprop ro.build.fingerprint is returning version "9.1.0.335" while having installed version "9.1.0.345" on the device. Probably I'll try to set the fingerprint manually to see whether that fixes the issue.
[Android Software Development] pndwal:
I was about to suggest that if rom is Chinese. I have Xiaomi Mi Pad 4 w/ uncertified Chinese stock ROM and still need certified fingerprint set in MHPC module, although my device never passed without this. Still, fingerprint is a likely problem. PW
[Android Software Development] fl0wfr:
Installed the fix with Magisk Manager, rebooted but Google Pay is still seeing the device as rooted (even after reinstalling Google Pay). On a Sony Xperia XZ1c running HavocOS.
[Android Software Development] ai5g:
Thanks kdrag0n for your hard work ;-)

Feedback:

With your fix, Magisk shows success when checking safetynet, but until now, the fix doesn't work for GPay in my case, neither with V1.1.0 nor with V1.1.1-test2 on Xiaomi Mi 9 with MIUI 12.

What I have done:

I have cleared GPay's and PlayStore's cache and user data, uninstalled GPay, rebooted. Checked that PlayStore is checked in Magisk Hide and that Play Store indicates no problems in Play protect. Then I re-installed GPay, added it to MagiskHide and cleard GPlay's and GPay's cache and user data again. After this procedure, GPay did still know my credit card, but reported that the phone doesn't meet the security requirements. I have deleted the credit card, cleared cache and data, rebooted and added the card again, but GPay is still not working.
[Android Software Development] MoL_82:
1.1.0 did not work on my Samsung S9 with A10. An unofficial version of 1.0.2 for A10 did work.

Test 1 and test 2 of 1.1.1 both work on my S9.
[Android Software Development] detlev24:
Tested [incl. version 1.1.0] on Samsung Galaxy S9 with latest "DevBase v7.3" ROM from @_alexndr.

Unfortunately, the phone continuously gets stuck at SAMSUNG logo on boot and reboots after a while.

Any idea for a fix? THX!

Which ROM are you using?
[Android Software Development] wyt18:
are you able to use your fingerprint sensor in third party apps? with the universal safetynet fix, it broke third party access to biometrics for me
[Android Software Development] wyt18:
have the same problem with oneui2.5 ... let me know if you find a solution to this; the lack of third party biometrics access is a deal breaker as I use it to login to my pc ...
[Android Software Development] MoL_82:
I tested and I have the same issue.
[Android Software Development] MoL_82:
I am also on DevBase.
[Android Software Development] ReservedName:
ok so there is a solution

get the magisk module riru

after you get riru get LSPosed

after you get LSPosed get xprivacylua (in the LSPosed app)

select play services in the xprivacylua settings IN the LSPosed app

AND in the xprivacylua app itself after you've restarted.

clear play service data

check safetynet in magisk - enjoy?

I would reboot between each step just to be safe but I know it's necessary to load the xprivacylua module

s/o to saitama_96 for discovering it or so I'm led to believe
[Android Software Development] krille74:
yes it worked many thanks ReservedName .
[Android Software Development] iSynex:
Thanks.. Working
[Android Software Development] ShaDisNX255:
Confirmed working on Samsung Galaxy A52, thanks mate.
[Android Software Development] zgfg:
Full package:

Modules Repository | #TeamFiles

All the files you need for customizing your Android device!	#TeamFiles chat:	@fileschat	#TeamFiles announcements:	@teamfilesannouncements	More from #TeamFiles:	@filesfederation	Off-topic Group:	@TeamFilesOT

t.me
[Android Software Development] yuri76:
Galaxy s10 plus no work View attachment 5400209
[Android Software Development] Seehank:
This works on my Mi9T Pro - EvoX
[Android Software Development] Fumetsu_Guritto:
Following your steps:

After I reboot, when I go to LSPosed > XPrivacyLua

I enable the module then reboot again

Go back into LSPosed > XPrivacyLua > Settings

Here it lists all the apps that I can check to restrict, however, "play services" does not exist. This is also the same result when I'm in LSPosed (before going into XPrivacyLua settings).

The only thing that I imagine is the place holder or acting play services is:

microG Services Core

microG Services Framework

Do I select both or one of them, or do these steps not pertain to me due to the fact that I do not have "play services"?

Also microG is not listed within LSPosed and what is already checked is:

System Framework

Settings Storage

Info about my device:

Device: OnePlus 8T (KB2003)

Android Version: 11

OS: LineageOS for microG 18.1 (Kebab)

Magisk Version: 23.0 (23000) (21)

Installed: f822ca5b (23001)

XPrivacyLua Version: 1.30

LSPosed Version: 1.5.2 (5964)
[Android Software Development] zgfg:
Sorry but not sure if this can be applicable to MicroG
[Android Software Development] ShaDisNX255:
If you do not see Google Play services when you open XPrivacyLua inside LSPosed, make sure you go to the 3 dot menu at the top right corner and make sure System apps are not hidden.
[Android Software Development] zgfg:
He has MicroG, not GApps
[Android Software Development] Fumetsu_Guritto:
This.

"System Apps" isn't even listed.
[Android Software Development] Homeboy76:
Is the solution to passing safety net different for devices i.e. Samsung, Pixels, etc.?
[Android Software Development] arnavpuranik:
Well TeamFiles And ModulesRepo Should Get the Credits for this

Modules Repository | #TeamFiles

[Guide] Pass Safetynet on Rooted Device DISCLAIMER ⚠️ Make Sure to Take A Backup BEFORE FLASHING THIS, We are NOT Responsible for any Damages whatsoever! Follow the Full Instructions Given Below. Notes -- Method is working on some devices only and this is NOT an universal fix! If you are...

t.me
[Android Software Development] arnavpuranik:
Check this Out, this is the original post!

Modules Repository | #TeamFiles

[Guide] Pass Safetynet on Rooted Device DISCLAIMER ⚠️ Make Sure to Take A Backup BEFORE FLASHING THIS, We are NOT Responsible for any Damages whatsoever! Follow the Full Instructions Given Below. Notes -- Method is working on some devices only and this is NOT an universal fix! If you are...

t.me
[Android Software Development] Lord Sithek:
Deleted
[Android Software Development] Lord Sithek:
Look at this too:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-85573141
[Android Software Development] edzamber:
Google strike again today 🙄

View attachment 5400339
[Android Software Development] zgfg:
And you can strike back - did you read all other posts today afternoon
[Android Software Development] cater2:
When I read your replica, I deactivated GoogleStore and to my surprise I continued passing the SafetyNet.

I decided to investigate why now I no longer needed GoogleStore deactivating and reactivating the module ...

Well ... so far I can no longer pass the SafetyNet test despite having reinstalled the module :(
[Android Software Development] zgfg:
Read the whole story what is going on today - do the others have SN failure, do they teport they got it fixed and how
[Android Software Development] Aleksanderbjorn:
Worked even without clearing play service data.
[Android Software Development] Alvarote1998:
Thanks!

Now safetynet pass again, but GPay detects root and contactless doesn't work, someone knows some solution?
[Android Software Development] thejohnize:
which device?
[Android Software Development] Alvarote1998:
Mi 9T Pro with EvoX
[Android Software Development] Black Swift:
tried this still failed, im going to try on the guides linked above and see what happens.
[Android Software Development] Penaa:
Confirmed working on Poco F3 (alioth) - Evolution X Rom!

Edit.: I don't know if it is related (maybe its a rom problem and I didn't notice before), but my google account backup is not working now, anyone else facing this ?

never mind... rom problem
[Android Software Development] Yugilacos:
The xprivacylua solution worked for me to pass safety net, thank you!

But now my GPS seems to think I'm in the ocean off the coast of Ghana, Africa.

Anyone else having this issue?
[Android Software Development] pndwal:
Guys, read from here re. yesterday's changed Google server end checks, @Displax solution, etc:

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

Incl. this:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-85573473 👍 PW
[Android Software Development] thenist:
While the solution using xprivacy works gps wont work after the fix and now it detects it that i am in 0,0 a.k.a "Null Island" i hope they will find the solution.
[Android Software Development] locolyric:
Wow ..this block the Citibank app to detect my root..

should we froze the lsposed and xprivacylua for future proof?
[Android Software Development] locolyric:
maybe you block the app to read gps stats?
[Android Software Development] otonieru:
Citibank problem is with their latest app. Downgrade the version. The latest one is broken.
[Android Software Development] otonieru:
GPS is fine. No problem from xPrivacy. Must be your configuration for something elses

You should only restrict :

• Determine Activity

• Read identifiers

• Use analytics and

• Use tracking

Not the whole playservices
[Android Software Development] ReservedName:
I had that gps issue myself but unchecked all but the four options above and rebooted then the map loaded my location and kik suddenly notified me of several messages going back a few hours
[Android Software Development] tiagolirape:
Confirmed working, as mentioned. Safetynet pass and GPay works
[Android Software Development] locolyric:
with the lsposed and xprivacy , now the citibank app have no more issue , for this moment.
[Android Software Development] VexterDex:
Thanks a ton!! Works on OnePlus 8T OOS11
[Android Software Development] rolandyip:
Can you please specify and teach me how u pass the citybank APK?
[Android Software Development] rodken:
Try the old Google Pay app, add card(s) and if successful, reinstall the newer version of GPay.
[Android Software Development] Homeboy76:
Doesn't work on Pixels with stock rom.

The xprivacylua module v1.3.0 - error message ' not loaded/not updated'
[Android Software Development] ReservedName:
did you reboot
[Android Software Development] Homeboy76:
Yup.
[Android Software Development] ReservedName:
did you have any issues getting magisk, riru, and LSPosed set up?
[Android Software Development] stepkas1:
I had the same issue, but after selecting the Google Play Services in LSPosed's XPrivacyLua settings and rebooting it allowed me to tweak XPrivacyLua itself.
[Android Software Development] Grifef:
Xprivacylua does not work on Pixel Experience rom on Xiaomi Mi 10T Pro
[Android Software Development] Homeboy76:
No. Did you download XPrivacy Lua module from https://repo.xposed.info/module/eu.faircode.xlua
[Android Software Development] Homeboy76:
I installed app-debug_23001.apk ==> Magisk module riru-v26.1.1.r500...zip ==> Magisk module Riru_-_LSPosed-v1.5.3_(5984)(5984).zip

Downloaded and installed: eu.faircode.xlua_v131_134273.apk.

Opened LSPosted ==> enabled XPrivacy module ✓ Play services two others were already checked when I enabled the XPrivacy module ==> rebooted

Opened Settings ==> Google Play Services ==> cleared data ==> rebooted

Opened Magisk checked Safety Net:

ATTESTATION FAIL

- cts profile
[Android Software Development] stepkas1:
You should also tick 4 times in XPrivacy app itself, just don't tick whole gplay services: you'll break your gps
[Android Software Development] rodken:
How do you reverse the broken GPS issue?
[Android Software Development] Homeboy76:
4 times?
[Android Software Development] Homeboy76:
When I opened XPrivacy Lua module and tapped menu everything was grayed out. I could not tweak Google Play Services.
[Android Software Development] stepkas1:
Just untick everything but above
[Android Software Development] rodken:
Correct or incorrect?
[Android Software Development] Homeboy76:
:oops: That worked, passed Safety Net. :)
[Android Software Development] Slim2none4u:
Confirmed working on the Pixel 4a5G. Thanks!
[Android Software Development] WhiteAsIce:
So I made sure only those 4 options were ticked, and then rebooted. Now the GPS works once again, but safetynet is failing again.
[Android Software Development] locolyric:
search for ReservedName Quote. i am using the same process and my safetynet is pass and the Citibank App is working.