yashsingh1/xdaforums huggingface dataset:
[Magisk] kessaras:
no mate, you don't create that. Magisk when auto-mounts it creates /magisk partition and in there go all modules that redirect/link to the /system. This way we don't change system files and we keep system clean.

You better flash uninstaller and re-flash magisk installer if you don't see the partition, don't manually create it
[Magisk] Didgeridoohan:
What [MENTION=5461026]kessaras[/MENTION] is trying to tell you is that the .core folder is hidden and you need to activate the option to view hidden files and folders in your file explorer.
[Magisk] MusicHeat:
I dont have magisk installed but i ran getprop | grep command and i got persist.magisk.busybox 1 and persist.magisk.hide 1.I tried to use the resetprop command on 2 terminal emulators with Super SU and it gives me "sush : resetprop : not found". Can someone help me? (Flashing magisk again is not an option)
[Magisk] yochananmarqos:
The resetprop command is part of the Magisk binary, it's not going to work with SuperSU.
[Magisk] MusicHeat:
Oh, ok then. Ty
[Magisk] jimdent:
Is there something to do on Magisk side ?
[Magisk] Didgeridoohan:
I don't quite understand the question...

If you're asking if you need to do anything with Magisk to view hidden folders, then no. It's all in your file explorer... There'll be a setting somewhere to view hidden files and folders.
[Magisk] adinxmoa:
Help ,

How to fix safetynet false when I use xposed

I using systemless framework ,

Someone help, please
[Magisk] Akhilesh S V:
There's no fix available yet
[Magisk] calchung:
I am waiting for this fix too.

I am using magisk v13.3 and systemless xposed for nougat too. The safetynet still failed after I flashed [MENTION=7166807]noahajac[/MENTION] module in twrp. The xposed for nougat is not too stable, the framwork breaks and said "installed but not active" , I have to delete the xposed and reflash the xposed framework after I flash any magisk module.

My phone is Huawei Mate 9, stock rom with unlocked bootloader.
[Magisk] mdvamik:
I haven't done it before. Can u please guide in brief or share any tutorial link????

I want to use it after flashing deodexed stock nougat on my P2
[Magisk] abhayruparel:
Use magisk 13.3 it bypasses safety net check for sure
[Magisk] noahajac:
The module was made to fix a small issue with SafetyNet in Magisk v13.2. It makes no sense to use it on a later version.
[Magisk] mdvamik:
K thanks

I want to flash deodexed nougat ROM. Don't know which version of Magisk is already installed in that rom. :(
[Magisk] ceanth:
Hi guys,

Im coming back to rooting scene after taking a break and using Magisk for the first time. I have a Oneplus 3t running stock rom which has the 1st August 2017 security patch.

I have Magisk V13.3 installed which is stuck at SafetyNet Checks.

I ran the commands in the first post via a terminal app on my device but still no joy. Is there anything else I can check on my device in order to pass SafteyNet?
[Magisk] Marcuss4:
Hi Guys,

I have trouble with the safenet too.

I am running on romaur2.2 for my huawei mate 9

All that if tried, i still get the false outcome for the ctsprofile and basicintegrity.

Magisk framework 15.3 and app version 5.5.4

I've tried the script in this tread, the prop commandant and also the universal fix but nothing seems to work..

Can anyone help me out?

Thanks in advance.

*Edit: i found the sollution in this tread.
[Magisk] Jolt151:
Was safetynet updated? After many months I can no longer pass after applying the usual fixes (reboots and resetprop).

Edit: nvm
[Magisk] alnaloty:
where is the solution ????
[Magisk] Marcuss4:
Install this module with magisk.

https://drive.google.com/open?id=0B2D9GdWntw69NmdJVmhJaWNEOVU

Reboot to activate the module check safetynet again, it probably says false

Reboot again and check safetynet, it should pass now.

Goodluck!
[Magisk] Open.Orange:
Excuse me, does this trick work as universal solution or Huawei devices only?
[Magisk] Marcuss4:
It is Huawei only.

Im not sure what happen if you try this on any other device.

You can try it but make sure you make a nandroid backup with your custom recovery.
[Magisk] Iwasjustinquisitive:
Hello guys i realize I'm such a noob

I'm on los 14.1 with magisk manager 16.0 and xposed working well

Safety net shows false for "ctsprofile" and "basicintegrity"

Tried codes on the first post using terminal emulator. (Attached a screenshot)

I'm not sure about next move i mean I've typed it but how do i execute it (first question)

If it is already executed why am i getting that error again?

Thanks.
[Magisk] Didgeridoohan:
This thread is way outdated. None of what you'll find in the OP is necessary anymore to pass SafetyNet.

Your issue is that Xposed will

always

trigger SafetyNet and it does not matter if it's systemless...
[Magisk] Tavo_7:
I got an error on the last command

"resetprop --delete persist.magisk.hide" resulted in "delete prop : [persist.magisk.hide] error 255"

But I can still pass safetynet after the other 3 commands. I used the following emulator apk

https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en

Running stock rooted with magisk 13.2, Note 5. Thanks!
[Magisk] Matrioux:
Worked for me! Amazing how quickly you figured this out.
[Magisk] zeratos:
How do I enter those commands on adb? I try to enter them but it says the commands are not recognized
[Magisk] Jolt151:
Worked for me! However, I also did

resetprop --delete persist.magisk.busybox

I don't know if it was necessary as first I tried deleting only that and magisk.hide, but seeing as how it was an entry in getprop, it was probably necessary.
[Magisk] crackerstyle:
Going to assume this doesn't work for Pixels since Magisk is in an unsupported state from the dev.

I got "resetprop: deleteprop: [init.svc.magisk_pfs] error" when trying to run the first command. The other 3 worked. I still don't pass. When I run the getprop I only see "[ro.magisk.disable]: [1]"

Editing to say once I deleted the ro.magisk.disable from mine I passed Safety Net. Thanks for the fix Tobi@s. :)
[Magisk] Astur13:
Maybe I'm doing something wrong.

I pasted the resetprop code, root access granted and then paste the getprop code. What am I doing wrong? Photo here:

http://i.imgur.com/E6ftpdI.png

Thanks for everyone
[Magisk] grigoris24:
Not working in mine, but I got a xiaomi note 4 and in magisk 12 after every boot I had to use terminal and disable/enable magiskhide, and I don't know how to do it in 13.
[Magisk] ushmel:
Not working for my N6, stock july update, elementalx, magisk 12 +USNF.

The getprop command outputs "[magisk.version]: [12.0]"
[Magisk] laxattack:
I'm not having success with passing on my Pixel XL using these steps but my Nexus 6P passes just fine with them.

Edit: after running getprop | grep magisk i found other magisk things running and used the same resetprop --delete (name of item) and deleted them, now passing on Pixel XL

Example of what showed up:

getprop | grep magisk
[magisk.version]: [12.0]
[ro.magisk.disable]: [1]
[Magisk] stuharvs:
Just got it to work - make sure that Magisk isn't in core only mode. After several failed attempts turning off core only mode did the trick.

EDIT: Should also mention that the error I was getting before was the [ro.magisk.disable]: [1] after trying getprop | grep magisk.
[Magisk] crackerstyle:
I got it to work by deleting the ro.magisk.disable thing I found from getprop.
[Magisk] Tobi@s:
My guide is for Magisk v13, I added that to op. Please try to also enter this command: "resetprop --delete magisk.version" Maybe that works

You can manually toggle magiskhide in v13 using "magiskhide --enable" or "magiskhide --disable" in su mode

Thats weird. Can you post a log/screenshot from the output after pasting my fix? please also try it line by line

please also check for other magisk properties "getprop | grep magisk"
[Magisk] Jolt151:
You only ran 'su' , you didn't run all the 'resetprop' commands
[Magisk] ushmel:
That worked! Thanks!
[Magisk] fw85:
Hey,

Thanks for such a quick fix!

I'm sure once topjohnwu sees this, he'll be able to quickly fix it as well, thanks to you. And while we wait for the official fix, we can at least do our thing (PoGo, etc). ;)

Quick note though:

Only running the commands you posted didn't work, SafetyNet would still fail completely. After running "getprop | grep magisk", I noticed there was one more entry left: ro.magisk.disable (if I remember correctly - the entry name might have been a tiny bit different), so I ran another resetprop --delete *insert entry name here* and that did the trick.

So for anyone, who can't get it to work, run "getprop | grep magisk" and keep deleting stuff until it returns nothing. Of course you also need ot have the latest Magisk and Magisk Manager version.
[Magisk] laxattack:
LOL thanks! I checked that before I even saw your reply.
[Magisk] cantenna:
thanks OP, was easy to implement this on boot with tasker:)
[Magisk] SpasilliumNexus:
I've tried turning your findings into a module, because modulize all the things and stuff, but it didn't work with post-fs-data, nor service.d.

Working beautifully with Tasker though, set to run the commands on boot.

Thanks for the info!

EDIT: OnePlus 3T with Paranoid Android 7.2.0 in case anyone is wondering.
[Magisk] Jolt151:
You should be able to just do the resetprop command with ro.magisk.disable. I believe that entry is only there if core only mode is enabled, so you can just delete it or do what you did and disable core only.
[Magisk] grigoris24:
Still not working, I'll wait for a fix. Thanks though.
[Magisk] Test_subj:
Another uninstall and reinstall then this and I got green.
[Magisk] fw85:
It is working, you just didn't apply it properly.

1. Run the given commands, one at a time.

2. Check SafetyNet - works? profit.

3. Doesn't work? Run "getprop | grep magisk", see what entries are still present.

4. Use resetprop --delete *entry name* until "getprop | grep magisk" returns nothing. (you will most likely need to run "resetprop --delete ro.magisk.disable" if you had core-only mode on)
[Magisk] resarfekim:
Worked for me. I copied and pasted each line from a text file into Termux.

Maybe I'll try to figure out how to use Tasker like the cool kids.

Nexus 6p, PureNexus rom, Magisk 13.2
[Magisk] Tobi@s:
Putting a script inside of /magisk/.core/service.d/ works. But thats not a module based solution
[Magisk] 4r44444:
I get Error:

sh: resetprob: not found

my command was resetprob - delete init.svc.magisk_pfs

Fulmics ROM LG G5
[Magisk] grigoris24:
I tried everything in this thread but neither ctsProfile or basicIntegrity is true. After getprop there's only a [delete]: [init.svc.magisk_service] which cannot get deleted.
[Magisk] Astur13:
It works disabling Magisk Core and entering the code line by line. Thank you very much.

[LG G2 D802, CM13 and Magisk 13.2]
[Magisk] fw85:
That's why we copy-paste ;)

So that resetprop doesn't become resetprob and --delete doesn't become - delete ;)
[Magisk] SebaS-DG:
Worked.
[Magisk] espionage724:
Thanks for the fix! Works fine for me.
[Magisk] fw85:
What do you mean, cannot get deleted?

What happens when you run "resetprop --delete init.svc.magisk_service" ? Does the entry persist?
[Magisk] panchovix:
Thanks, worked on PA 7.2 on Mi5
[Magisk] blackhonk:
Can you give a quick tutorial please, would appreciate it
[Magisk] grigoris24:
After a restart and trying everything again, it doesn't persist, but still safetynet not working. I also tried the magiskhide --disable and enable and still nothing.
[Magisk] ClearD:
It worked for me also, and I'm using Tasker to run it automatically just by opening magisk. So if I reboot phone, I just open magisk, Tasker runs the script, and boom. Safetynet passed.
[Magisk] ivanes82:
Macrodoid template to import.

Unzip zip, and import file into macrodoid
[Magisk] fw85:
So "getprop | grep magisk" returns nothing and SafetyNet check still fails? Completely? CTS match only?
[Magisk] grigoris24:
Yes. In magisk 12 I had to disable and enable magiskhide every time, I just updated to magisk 13 but this keeps happening. ctsprofile and basic integrity both false. getprop | grep magisk returns nothing. I'm in stock redmi note 4.
[Magisk] tenye2003:
Working. Tobi@s you are a genius.
[Magisk] cantenna:
Import task. Then, under profiles/+/Event/System/Device Boot and select safteynetFix
[Magisk] ushmel:
edit- nm, one post above me
[Magisk] coderobe:
Deleting `persist.magisk.hide` can be done without worrying about side-effects. When Magisk doesn't find this value, it assumes it is enabled (see https://github.com/topjohnwu/Magisk.../com/topjohnwu/magisk/MagiskManager.java#L215 ). The property isn't accessed anywhere else from what i can tell.
[Magisk] GGapp:
worked, thanks
[Magisk] Smasher816:
Here is a quick copy pastable command that will remove any magisk properties. Make sure to run it as root (ex: typing su first).

getprop | grep magisk | cut -d'[' -f2 | cut -d']' -f1 | xargs -n1 resetprop --delete
[Magisk] jhobc:
Thanks! Working perfectly now! Even with modules
[Magisk] Firelock:
Thanks, Worked.
[Magisk] MusicHeat:
I tried on magisk v12 core mode, i ran every command and the last one "getprop | grep magisk" showed magisk.version : 12.0 and i deleted that because it doesnt work with the rest of cmds, after deleting that, magisk shows uninstalled.

And magisk v13 doesnt work for me..
[Magisk] topjohnwu:
Thanks for the finding! Google really loves to sneak in some "goodies" while I was sleeping lol.

The fix is fairly easy to implement, expect an official update soon.
[Magisk] blackhonk:
Awesome, thank you so much!
[Magisk] veez21:
I guess Google is really "rooting" on magisk now! ?

Eh!! eh! anyone! ?
[Magisk] TCUofficial:
Thanks!

Works like a charm now, able to play Pogo and use android pay. Thanks a lot man! Though, I have a question... How did you actually find this fix? I want to become a developer of stuff like this one day, and I feel its important if i am able to find bugs and fix them as soon as they are implemented.
[Magisk] TheLastSidekick:
Good work
[Magisk] Interceptor777:
Hiding the magisk version? :confused:
[Magisk] djdisturbed:
Finally, after trying many times, this finally got it working for me, thx!
[Magisk] SebaS-DG:
What is macrodroid?

Is this one? https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
[Magisk] djdisturbed:
That's what I had to download to get it to work. It basically runs that file at every startup which is just the script to automate this whole process
[Magisk] hokiealumnus:
Working great here on Pixel XL. Thanks [MENTION=3246955]Tobi@s[/MENTION] !!
[Magisk] TheLastSidekick:
Showing the date and time and me passing SafetyNet check, Magisk version is 13.2. The first three commands worked entirely for me on my Axon 7 with ResurrectionRemix 7.1.x in terminal, immediately after typing the third command, I was able to use Joystick on Pokemon Go just fine.
[Magisk] geoff5093:
Worked perfect for me.
[Magisk] kramer04:
Now i can pass basicIntegrity but ctsprofile is always false (;
[Magisk] JjDevil:
I'm not a fan of forcing things, so I want to know what are the downsides to doing this?

I wish I would have seen this about 6 hours ago. Before I spent 5 hours flashing stock rom. Doing the process, messing with settings, entering into anxiety attacks, crying from stress xD.
[Magisk] Lyvna2011:
"SafetyNet can detect Magisk again, but a fix is in the works"

Nice one buddy [MENTION=3246955]Tobi@s[/MENTION], its also work on my note 3 MagMa NX Rom, cheers
[Magisk] SebaS-DG:
With this, it works better than before.
[Magisk] gorillaCF:
did all of the mentioned resetprop deletion, but the property of this [persist.magisk.hide]: [1] is always there. any idea?

after running all the suggested props, i have 2 left below. i'm on magisk v12 still though.

magisk.version

persist.magisk.hide
[Magisk] galletap22:
excelent work ! from galaxy j7 16
[Magisk] locolyric:
yes. this temporary fix does help.

please let us know once the stable fix release.
[Magisk] nenebear:
Worked for me on HTC Ultra, Magisk 13.2
[Magisk] Gallious:
Worked on my Samsung S7 edge, thx dude!
[Magisk] pbanj:
Use magisk hide. I had to do that to get it to pass.
[Magisk] pero.mikic:
THX! Work´s for me on my Samsung NOTE 4 6.0.1 STOCK Magisk 13.2 :good:
[Magisk] Jayesh Nirve:
Can u send screenshots of resilts?
[Magisk] feeelx:
used the macrodroid template. worked on my OP3 but not my friend's Pixel XL
[Magisk] UserNamist:
Every time i try this it says "No command 'resetprop' found" :/

Please help
[Magisk] knw257:
Worked perfectly, OP3T, unlocked bootloader, OOS 4.1.6, running Magisk 13.2.
[Magisk] Jayesh Nirve:
What to download source code or zip?
[Magisk] knw257:
Download zip, install as module in Magisk manager

Just tested it myself, seems to work perfectly. I'm guessing we'll need to disable this before implementing whatever fix [MENTION=4470081]topjohnwu[/MENTION] comes up with, but seems to do the job for now. Thanks!
[Magisk] Jayesh Nirve:
It works ya....
[Magisk] kramer04:
Sorry, what do you mean by using magisk hide ? it's already toggled.
[Magisk] sacredsoul:
Works fine!
[Magisk] ryaniskira:
Doesn't work on Angler, but the commands do work.
[Magisk] techwindow:
Error during init 1
[Magisk] noahajac:
Can you please provide a copy of your Magisk log? Do you have Core Only Mode enabled?
[Magisk] InsaneNutter:
Thanks for module, it works great on my OnePlus One running CM13 when I disable Magisk Core mode.

If using Magisk Core mode I believe you also need to run: resetprop --delete ro.magisk.disable
[Magisk] noahajac:
No problem. And yeah you need to run that too if you have Magisk Core Mode enabled. I didn't put it in because I'm not sure what would happen if it went to reset a prop that wasn't there. While I could add something that checks if it exists, and then deletes it if it does. I think it's just easier to disable Core Only mode.
[Magisk] ryaniskira:
I already removed the module and the automation script for Macrodroid doesn't work either, but when I manually enter the commands it works. I use Material Terminal and I have the commands on a shortcut, so it's not an issue for me.

[IMG="Material Terminal"]https://s1.postimg.org/3wrcbydcv/Screenshot_20170717-015521.jpg[/IMG]
[Magisk] Avalun:
Thanks Worked for me too I am using tasker for that.

Gesendet von meinem ONE A2003 mit Tapatalk
[Magisk] smohanv:
Thanks. It works. Can it be used with script manager on every reboot.
[Magisk] pbanj:
I had to hide Google services/play iirc to get it to work.
[Magisk] jonnie77:
works flawleessly on n910f with racerom!!thannks so we are waiting topjohnwu update after that!!thanks again!!
[Magisk] fran687:
I dont know what have i do. I´m so dummy.

What im doing wrong?
[Magisk] jaybz:
That should be --delete.
[Magisk] Didgeridoohan:
You're forgetting the double-dash in front of "delete".

resetprop --delete [I]<prop>[/I]

Edit: Ninja'd! :p
[Magisk] abcxyztpg:
Pixel XL is not supported by magisk
[Magisk] fran687:
Thanks you both so much!!! [MENTION=4667597]Didgeridoohan[/MENTION] [MENTION=387043]jaybz[/MENTION]
[Magisk] DaSoul:
rooted stock OP5 here, working perfectly fine. Thanks a lot!
[Magisk] slipmat100:
It worked first time on Galaxy S6 Edge running Resurrection Remix RR-N-v5.8.3-20170715, many many thanks :good:
[Magisk] noahajac:
No problem.
[Magisk] :
Worked great for me Thanks bro!
[Magisk] Heatexplorer:
worked also

note 5 9200
[Magisk] zhort:
workkkkkkkkkkkkkkkkk (Xiaomi Kenzo,nitrogenOS,magisk13.2)
[Magisk] Banjospeed:
Worked perfectly for me (on OnePlus 3T, Oxygen Os4). Thanks!
[Magisk] Eduardo379:
Didn't worked for me ?
[Magisk] Didgeridoohan:
In that case you're doing something wrong or have other issues. Did you try the command from this post: https://xdaforums.com/apps/magisk/safetynet-fix-pass-safetynet-2017-07-17-t3637801/post73056617
[Magisk] Eduardo379:
Getting this error every time
[Magisk] Gerard15799:
I flashed your module and it says error 1... something...also it says I need magisk 13.1+.. I'm on latest version 13.2...sorry I don't know how to take logs on twrp...also I'm running RR 5.8.3 on Asus Zenfone 2 laser...
[Magisk] asusm930:
having the same problem with my mido

creating a .sh script and running it manually fixes it though

I just cant get the it to fix it automatically on every boot

Can you make a script. My script might be faulty or wrong xD
[Magisk] Eduardo379:
Isn't working on my mido though
[Magisk] B0nb0n:
Works great.

It's so annoying when companies like google have too much time on their hands and start coming up with frustrating useless things like the safety net.
[Magisk] tys0n:
I made a script like this, put it in /magisk/.core/service.d with perm 755,and it works fine. No modules installed. For me it sticks on reboot.

#!/system/bin/sh
resetprop --delete init.svc.magisk_pfs
resetprop --delete init.svc.magisk_pfsd
resetprop --delete init.svc.magisk_service
resetprop --delete persist.magisk.hide
[Magisk] Didgeridoohan:
Try adding the -v option to get a little more output:

resetprop -v --delete [I]<prop>[/I]
[Magisk] asusm930:
Put this file in magisk/.core/service.d and give 0755 permission

To see this directory, enable show hidden files in your file manager

https://drive.google.com/file/d/0B_Q4QjvbODxoT1lkcVAxS3FjWGc/view?usp=drivesdk

Now everythng works normally even after reboot. Im so happy

---------- Post added at 04:50 PM ---------- Previous post was at 04:48 PM ----------

Yeah i forgot to put proper permission for my script ?
[Magisk] edzamber:
Working Great !

Many thanks

https://github.com/LunarEclipse120/Magisk-v13.2-SafetyNet-Fix/releases

https://xdaforums.com/showpost.php?p=73059722&postcount=16434
[Magisk] -Happy Feet-:
Thanks patch working :good:
[Magisk] DaveX2012:
Not working for me S7 Android N.
[Magisk] HamsterHam:
This is working perfectly on ABC Angler Build.

Thanks.
[Magisk] Lavarock:
Works well for my OnePlus 5 with stock ROM
[Magisk] spaniard:
Working fine on OP3T running Oxygen 4.1.6, Many thanks
[Magisk] Boosik:
Module is not working for me on Huawei Mate 8
[Magisk] Eduardo379:
Bro I gave copied it and gave the necessary permissions but it's not working

---------- Post added at 12:07 PM ---------- Previous post was at 11:57 AM ----------

Many many many thanks to you bro it's working like a charm thanks a lot for that my man ?
[Magisk] d8389:
#!/system/bin/sh

sleep 60

resetprop --delete init.svc.magisk_pfs
resetprop --delete init.svc.magisk_pfsd
resetprop --delete init.svc.magisk_service
resetprop --delete persist.magisk.hide
[Magisk] Gerard15799:
Ok ignore that...I flashed it already but still I can't pass safety net.... here's the log and screenshot....
[Magisk] mesiu84:
Well it worked, but it doesn't work anymore :(
[Magisk] StrikerFX:
It worked for me too, thank you.
[Magisk] Gerard15799:
I tried the original method using terminal emulator but when I paste all the commands..it immediately says error
[Magisk] TarikVaineTree:
Those 4 lines worked for me. Now I can use Nintendo apps again. Thank you very much sir!
[Magisk] glazenwassertjuh:
Many thanks for the quick fix
[Magisk] maverik99vc:
nothing atm work for z5compact guys any other solutions?
[Magisk] thedeejay:
Thanks! Confirmed working (Xiaomi Mi Note 2 on LineageOS rom)

Good work on working it out that quickly!
[Magisk] Timelord6014:
still passing with ZE551ML on android 6.0.1
[Magisk] Bradden1:
Thanks.. working for me!
[Magisk] ds22:
I can confirm that the Magisk module works on my S7 flat with latest Superstock rom + kernel.
[Magisk] shoey63:
Well I have Z5 and no problems with a rootkernel boot.img. Only dm-verity disabled and DRM fix included. Recovery flashed to FOTAKernel instead of integrated into new boot image.
[Magisk] Salty Wagyu:
Browsed to Magisk folder in root in Solid Explorer, and only see a lost+found folder. Tried to create a folder called .core but says it already exists. How do I enter it from Solid Explorer if it's not listed? I'm trying to put the .sh file in magisk/core/service.d.

edit: Never mind, Solid explorer had an option to show hidden files.
[Magisk] avik735:
Please paste lines one at a time, otherwise it will throw error.
[Magisk] Gerard15799:
Ohhh...ok