yashsingh1/xdaforums huggingface dataset:
[Magisk] pndwal:
Still think passing SN is relevant while it is possible.

John Wu hasn't given up on MagiskHide, which IS designed to hide root / bootloader status etc not only from apps themselves, but also from Googles SafetyNet Attestation service which is the purpose of it's bootloader/verified boot status spoofing mechanisms.

These have not been removed, but MagiskHide has been disabled by default from v20.4 since it looked like it would no longer be possible to pass SafetyNet some weeks ago with the introduction of Hardware Key Attestation. John Wu said then:

But when Hardware Key Attestation was switched off again he also said:

Clearly, he is suggesting that since we have this reprieve from Google, MagiskHide may still be used as per original design to pass SafetyNet, at least for now, by switching it on again in MagiskManager settings.

On a lighter note, is it any wonder John gets a bit frustrated when people make no effort to keep up?:

Way to go Pavan! Such appreciation! What gratitude! Spoken with such clarity... You know it's passing!.. or not? Anyway, cruel???

At least intelligent, considered and respectful questions can be tolerated in Magisk General Support / Discussion thread. :rolleyes: PW
[Magisk] xDark_:
i never had it installed in the first place.

no, basicIntegrity fails even in Core only mode.
[Magisk] pndwal:
Sad.

Please can you confirm you have MagiskHide enabled in manager settings, especially in 20.4, as [MENTION=1002271]johnnyman25[/MENTION] suggested, to achieve basicIntegrity pass (only) in Core only mode. PW
[Magisk] mario0318:
The guy already posted he not only tried Magisk Core mode but obviously had to have MagiskHide enabled for it to have been anything but impossible to select and enable RootBeer AND confirm root as undetectable, can we agree?
[Magisk] mmotorock:
Also, guys just to give an other information. I use magisk on my phone and my mother in law's phone(exact same phones, same system image). I reinstalled my phone completely (fresh system and magisk root installed), on that phone everything is working fine. On my mother in law's phone I removed every single module and it is still not working, I even removed all the apps that use root, I still cannot pass safetynet check on it. This is all the info I can give at the moment to help troubleshooting, I will post more once I know what the issue is.
[Magisk] namAehT:
This worked for me as well. EdXposed is still tripping SafetyNet which is annoying because Gravitybox is partially the reason I root, but I can live without it until they push an update to fix it.

EDIT: EdXposed to v0.4.6.3 (4545) SandHook passes SafetyNet. Had to "Check device" in Pay twice before it actually worked, but it did work.
[Magisk] pndwal:
Yep, missed that. :silly: Well, that eliminates the obvious... PW
[Magisk] xDark_:
yep, it's on. tried retoggling a few times to no avail.
[Magisk] UselessShane:
Plz help me anyone?
[Magisk] mmotorock:
Cleared cache of google play services and everything is working fine. Make sure you don't use edxposed, that is the one triggering it.
[Magisk] dcarvil:
You posted only the first 5 lines of the log. No one can help you without a lot more detail. Exactly what module are you installing, how does it fail, and a complete log.
[Magisk] mmotorock:
What fixed the issue for me was to clear the cache of google play services and removing edxposed completely. Try that, might help you too.
[Magisk] UselessShane:
I have provided the complete log.....I was trying to install NFS INJECTOR but the NFS folder is empty..

I asked for help in their telegram group...they stated that something unsual is there in magisk.
[Magisk] SubCool:
Ok, this is a huge thread.

I've Asked on another thread with no answer.

I've been trying to use magisk, but recently scanned my stuff with clamav, and it flagged as a pua adware. - I haven't scared it again because in still recovering.

But, is it supposed to see off virus scanners?

Ill try to supply the code when I can.
[Magisk] kramer04:
Using last canary 20401 et MM 282

on android 10 Note9

I want to magisk hide my bank app but magisk hide doesn't save it

I don't know what to do
[Magisk] namAehT:
The latest canary release works fine on my OnePlus 7 Pro after clearing the data from play services.
[Magisk] mistermojorizin:
Clearing cache is enogh. Clearing data will reset some apps like wearos that take forever to setup again.
[Magisk] m.mohtashimsadiq:
Hello,

Magisk Core folder missing. Su.d folder also missing.

I have the latest magisk installed on my galaxy s7. I created a ext4 partition on my SD card to link some apps to it so I'll have more inge rnal storage. But my ext4 doesn't mount properly on boot. So I installed app2sd and it at first did not find my su.d/post directory on its own.

I searched around using root explorer but I couldn't find it. After some reading I found out that the magisk folder has a folder inside called 'core' which I think is also missing. My init.d folder is also empty.

I have attached screenshots for the directories. Please help me.

[https://i.imgur.com/VgOEBD8.jpg](https://i.imgur.com/VgOEBD8.jpg)[https://i.imgur.com/gwvCvcd.jpg](https://i.imgur.com/gwvCvcd.jpg)[https://i.imgur.com/OXoyPmj.jpg](https://i.imgur.com/OXoyPmj.jpg)[https://i.imgur.com/jofhM7g.jpg](https://i.imgur.com/jofhM7g.jpg)
[Magisk] namAehT:
That explains why my watch stopped getting notifications... Oh well, the damage is done.
[Magisk] Damianek420:
Why there's not check safetynet option?
[Magisk] Wolfcity:
Did you tap on the down arrow on the right side?

Are you online (WiFi or mobile data)?

The check option is definitely there.
[Magisk] Damianek420:
Vid:

https://vimeo.com/408621626

In the beginning there was this option with green true.Then after some time safetynet became false. So I formatted the system/vendor/cache/dalwik and flashed lineageOS+magisk agin.SU, modules and xposed works but safetynet option is missing now.

Second issue: when I do reboot phone it stuck on bootanimation until I go into twrp recovery->reboot->system .Then it boots normally.and it happens every time after reboot from system normally.

Xiaomi mi6 LineageOs 17.1 android 10
[Magisk] xDark_:
well...

1) most AV scanners are scareware dedicated to scaring you into buying subscriptions or IAPs

2) Magisk is a root app. root is considered insecure. so naturally, it would be (falsely) flagged as malware, as malware on android tried to gain super user permissions

3) make sure to only download and install from the official source (john’s github), those files are guaranteed to be safe, no matter what AV program says otherwise.
[Magisk] guest4711:
Make sure you download it from the original site https://github.com/topjohnwu/Magisk as described in the announcement thread.
[Magisk] tech_head:
Same here. Canary works.

I also use EdXposed and that is working on the canary channel.

Back in business....

I need to go donate some more beer/coffee money.
[Magisk] Didgeridoohan:
Neither init.d not su.d has anything to do with Magisk. And the Magisk .core directory isn't used anymore (you're likely following an old and outdated guide).

You'll find everything Magisk related in /data/adb.

Did you also install Gapps? No Gapps means no Play services which means no possibility to use SafetyNet.
[Magisk] azanaw:
How to root my android phone
[Magisk] zgfg:
You don't even mention which Android phone, which firmware, Android version, nothing?!

Generally, find on XDA the subforum for your phone and start reading (and asking) from there.

When you get your Bootloader unlocked, install and get familiar with flashing tools for your phone, etc, then read the Magisk installation guide: (and search in this thread if others already discussed about your phone here - use top-right Search icon)

https://topjohnwu.github.io/Magisk/

https://www.didgeridoohan.com/magisk/HomePage

This thread is only for Magisk and to get help you will need to provide precise questions with details
[Magisk] pndwal:
Steps:

Unlock bootloader.

Flash Custom recovery (Most likely TWRP if available for your device).

Flash SU solution, eg MagiskSU from custom recovery.

Prerequisite:

Read , read, read. Then read, and Google. Then read some more. And Google...

Start with XDA threads for your device, and follow links to bootloader unlock methods, custom recoveries, and root solutions (much in this thread :) ).

It'll be fun! (And frustrating.) All best, PW
[Magisk] Damianek420:
Hello . is this aby way unlock bootloader without paying for huawei y6 Android8.0?
[Magisk] zgfg:
This is Magisk thread and that was not a Magisk question.

Find the subforum on XDA for your Huawei y6, and study the posts/threads there, and ask there questions about the Bootloader unlocking options

Generally, Huawei does no more provide unlocking codes since 2018.

Depending on your device and EMUI version, unlocking services will cost you 4 to 40 (some may charge even more) Euros.

But again, this is off-topic here
[Magisk] Ikyusan5678:
hi, i have an oppo F1S a1601 upgrade from lolipop to marsmallow and root with safetypassnet with magisk, first everything done well until i install smali patcher magisk (module) and then in came up a red notification " Your device has root detected"

Plizz tell me or teach me, If there any magisk module to hide that red notification without install xposed framework and xposed module because some app has detected xposed framework and module, thanks before
[Magisk] m.mohtashimsadiq:
Thank you so much. The reason this happened was because I used root explorer to search the specific folders like 'post-fs' but nothing was turning up. So I figured I had a faulty magisk install.

But thank you again.
[Magisk] javaproficient:
Camera, flashlight and fingerprint sensor don't work with magisk

I'm using a blu g9 pro and after i patch the boot image with magisk several hardware components don't work. Does anyone else have this issue with any other phones, and if so has a solution been found.
[Magisk] jcmm11:
The following definition for pua is from sophos. It always helps if you know what the abbreviations mean. So puas are:

"Potentially unwanted applications are programs that aren't malicious, such as dialers, remote administration tools and hacking tools, but are generally considered unsuitable for most business networks."

As stated - if you only install files obtained from John's GitHub you'll be fine.
[Magisk] AssBlast:
Sweet. Managed to root my Z4 without a TWRP build for my phone. (Used the boot img patching method.) Thanks John!
[Magisk] UselessShane:
Anyone?
[Magisk] Didgeridoohan:
Something is broken, yes. Easiest thing to do would likely be to uninstall Magisk and then start again from a clean slate.
[Magisk] UselessShane:
Okk....but there is one problem..... whenever i uninstall magisk and reboot my device doesn't boot...

Then i have flash boot.img again in order to make my device boot.....

Any solution?
[Magisk] Didgeridoohan:
I'm assuming you mean the Magisk patched boot image, right?

I would start by getting an updated Magisk patched image. Might be that Magisk v20.4 has fixed whatever it is you're experiencing.

Then you could use the TWRP file manager to delete the /data/adb directory. That way you'll remove everything Magisk related and will have a clean slate.
[Magisk] Zaheen Jamil:
I am having the same problem with my bank app(CIT Bank). I am on Android 10 on a Pixel XL on latest stable magisk with safetynet fully passing.
[Magisk] curiousrom:
I can no longer pass ANY kind of SafetyNet

Did anybody see Magisk dev John Wu's tweet: https://twitter.com/topjohnwu/status/1251712525843918853
[Magisk] Didgeridoohan:
Yeah, it's been discussed quite a lot here recently. Most that have been affected seems to be able to fix it by just clearing cache for Play Services.
[Magisk] curiousrom:
Re: I can no longer pass ANY kind of SafetyNet

Yes but that was beginning of April.

That tweet is dated 9:21 PM · Apr 18, 2020 so not even 12 hours ago.

***
[Magisk] pndwal:
Yeah, but followed by:

[Passing both] 2 hrs ago. PW
[Magisk] curiousrom:
Re: I can no longer pass ANY kind of SafetyNet

But 1 post is about Android R (11) and does not mention SafetyNet & in the one I quoted he wrote "Downgrading the app makes things all green again, but at some point in the future apps will depend on newer GMS, and Google upgrades GMS silently in the background..." {bold by me}

***
[Magisk] Didgeridoohan:
It's the same topic. John didn't discover it until 12 hours ago...
[Magisk] pndwal:
The post re. 'may be glitch in matrix' follows 'cannot pass except by downgrading' post in same thread, 1 hr. later. (He often provides running commentary - bit like Donald Trump... in a GOOD way! :D :laugh: )

Then he passes on 11 several hrs later, different thread, true. And thanks, it's all interesting stuff. PW
[Magisk] curiousrom:
https://youtu.be/98Ouy6McA-Y?t=16
[Magisk] pndwal:
Haha! :o

Some good news (- don't think this was a 'hard decision'):

[20 mins ago] PW
[Magisk] Aswin08:
Can confirm this. Downgrade PlayServices to <= v20.04.14(Download from APKMirror).

Restrict playstore so that Playservices is not autoupdated. Clear Playstore data. Reboot. Safety net light turns Green again! https://t.co/uCdl5TvX2l
[Magisk] Orphee:
Latest magisk canary brakes EdXposed for me. App says xposed works but modules can't load.
[Magisk] T.A.R.D.I.S.:
Bootloop on 7pro : warning
[Magisk] pndwal:
Wow! If you blinked you'd have missed that! - so sorry Darth! :(
[Magisk] zgfg:
Google Play Services is not an app on Google Playstore -so how do you "Restrict playstore so that Playservices is not autoupdated"?

Even if you disable Auto update of all apps in the Playstore, I'm not sure would that also prevent auto-updating of Google Play Services
[Magisk] Aswin08:
Yeah, disabling auto update in Playstore is not the solution.

I have disabled the playstore background data usage itself for now.
[Magisk] pndwal:
? But John Wu called it an app, and mine says "App details: App installed from Google Play Store".

I don't know about restricting it either however, and mine is Version 20.12.16 and I have no SafetyNet issues with it. PW
[Magisk] Ps24u:
Hmmm..

https://play.google.com/store/apps/details?id=com.google.android.gms
[Magisk] pndwal:
I think John's put it down to a 'glitch' now.

I'd be inclined to let it update again and see if later version fixes OnePlus 7T. PW
[Magisk] zgfg:
Still on Magisk Canary 20401 but this afternoon my Google Play Services auto-updated to the latest v20.12.16

(Google Playstore was already on the latest v19.7.12)

However, SafetyNet is still fully passing, Basic Integrity and CTS Profile

Xiaomi Mi 9T, stock QFJEUXM v11.0.5 (OTA updated on Friday) - not using Riru and/or XPosed

Edit: Updated to Magisk Canary 20404 and Manager 283 - everything ok
[Magisk] pndwal:
Exactly, and I've had no problems passing with any play services version either, as I said.

I think John Wu (whose tweet caused the stir,) and [MENTION=5038527]Aswin08[/MENTION] are among a few having this issue, and likely it was an issue with an interim version of play services and now fixed (guessing). Seems John Wu's is sorted anyway ('glitch in the matrix'). PW
[Magisk] zgfg:
Google Play Services as on Playstore has no usual stuff like Update, Open but Deactivate, and in three-dots menu there is no option to block its auto-update
[Magisk] zgfg:
Ok, but AFAIK there was no 'interim' version of v20.12.16 - each new version from Google comes with new, incremented number.

There are also Beta versions but they have different numbers
[Magisk] zipsu:
I had to wipe GMS cache to be able to pass BI and CTS when using riru/edxposed, otherwise it would always fail.
[Magisk] martyfender:
On my Onn 8, Android 9, arm 64, when I try to update to Canary 20402 in twrp, I get the updater process ended in error 1, unknown image format, when attempting to patch the boot.img.

In MM 283 it shows: A/B No, SAR Yes, Ramdisk no.

UPDATE: I just backed up the previously Canary patched boot.img in twrp, rebooted and patched it with MM and then rebooted to twrp and flashed it there and it was successful.

Does anyone have any thoughts on this? The TWRP is twrp-3.3.1-1-ONA19TB002.img by [MENTION=8132642]diplomatic[/MENTION] .
[Magisk] pndwal:
Sorry, I simply meant one in the interim between v20.04.14 and v20.12.16. Not sure how many / which versions these might be, if any, just guessing as I said. PW

---------- Post added at 10:24 PM ---------- Previous post was at 10:12 PM ----------

Ah. This may point to the issue a few had. And be the fix if lucky. PW
[Magisk] Clasimodo:
Sorry for the newbe question, but what did you do exactly?

A new patched boot image doesn't pass the Samsung screen with xposed module on. If I switch the module of it simply boots and with an older boot image it works as well.
[Magisk] wangdaning:
Curious if the latest canary requires modules to update. When I installed it edxposed was not working. I mean, nothing broke, but it just did not do anything (I use GB and remove nav bar, but my nav bar was there, etc.). Reverted to stable and it works fine. Is there a new module template or something?
[Magisk] pndwal:
This?

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

https://github.com/topjohnwu/Magisk/commit/a73e7e9f998577aea09dbea920bb5301d0b3583a

Not sure what's already included in Canary... PW
[Magisk] tribalfs:
Problem on Android Headunit with Allwinner T7 running android 7.1.1

I was able to install magisk v20.4 and using magisk manager v7.5.1.

Magisk manager status shows that magisk is successfully installed.

However I am having the following issues:

1. MagiskHidePropsConf is not working/loading

2. Magisk hide keeps disabling every reboot (or sometimes after just closing the magisk manager)

3. Scripts under /data/adb/service.d and data/adb/post-fs-data.d not executed. Tested it with the following code

#!/system/bin/sh
while [ "$(getprop sys.boot_completed)" != 1 ];
do sleep 2;
done
echo "boot script executed" > /storage/emulated/0/bootscript.log

save the text file as script.sh, copied to data/adb/service.d or data/adb/post-fs-data.d and give execute permissions.

But still not working.

I can successfully run the script in the terminal.

Attached here the logs from MagiskHidePropsConf (which include magisk logs) for your reference.

Hope you can help me fix this.

Thank you.
[Magisk] jcmm11:
FWIW I'm running 20.15.14 at the moment and having no issues with safety net passing. (I also don't do edxposed in any way shape or form).
[Magisk] Didgeridoohan:
From a quick look in the Magisk log it looks like you could have a post-fs-data.d script that is messing things up. Something to do with selinux, maybe.
[Magisk] tribalfs:
I tried with ONLY the script posted above in service.d folder but still the same. There is no script in post-fs-data.d.
[Magisk] Didgeridoohan:
What about modules? Something is completely destroying your boot order, and that's usually caused by a script (either standalone or in a module).
[Magisk] tribalfs:
I'll to try to set it to core only. I will see what will happen.

---------- Post added at 11:43 AM ---------- Previous post was at 11:06 AM ----------

I tried the following:

-First enabled core only in the settings. Rebooted twice, still the same.

-Next, I disabled and deleted the modules in the module list, rebooted. I found out that the modules are not deleted but only disabled. Delete buttons are still ticked. Rebooted again, but still not deleted. service.d still not executing script

-Next I manually deleted the modules in sbin, reboot. Service.d still not executing.

What could be the problem?
[Magisk] Didgeridoohan:
No idea. I would simply uninstall and reinstall Magisk. Start clean.
[Magisk] tribalfs:
Reintalled but still the same. I noticed that the errors in the log file commonly points to /sys/fs/selinux/* that do not exist. What is the meaning of this?

Attached the log file.
[Magisk] martyfender:
I am still having the same error: On my Onn 8, Android 9, arm 64, when I try to update to Canary 20404 in twrp, I get the updater process ended in error 1, unknown image format, when attempting to patch the boot.img.

Just like the last time, I can patch the boot.img in MM and flash that in twrp and it works.
[Magisk] Didgeridoohan:
I haven't looked in the code and can't remember from memory, but these might be related to MagiskHide. Wouldn't expect to see that so early in the boot process though... You could try disabling Hide and see if it makes a difference.

Your log has a normal boot process now though, so it's likely that was caused by one of your modules.

Might be better if you install the Canary Debug release, so we can get some proper logs (might even be that it fixes things). Be warned though that the current Canaries (20402 to 20404) have issues on some devices... John is working on getting Android 11 support going and it needs a lot of new code and functions. Expect serious bugs on Canary for a while (always really, but extra exciting at the moment).
[Magisk] J.Michael:
Are there any hidden files in post-fs-data.d?

Do you have a /sys/fs/selinux directory? Is there anything in it?

(Mine has a bunch of zero-length files, among them "context" and "enforce".)
[Magisk] leo5111:
lineage 17.1 on Realme x2pro 12 gig version. orange fox recovery on Magisk 20.3 some apps did not want to install, and THEN on stock messaging App id send a TEXT and it would hang and hang, i uninstalled Magisk and Texts went through, also tried updating 20.3 to 20.4 and Boot-loop City
[Magisk] Nightf0x_007:
pixel 2 xl patched boot image with magisk 20401 everything was fine, then updated from manager app flashing directly 20402 device wont boot showing data corrupted error, any idea about right procedure to update to 20402?, im lucky i found the patched image 20401 and reflashed it via fastboot waiting for device to bootup

edit: i have edxposed installed fyi
[Magisk] tribalfs:
-Nothing

-This directory is missing

---------- Post added at 06:37 PM ---------- Previous post was at 06:03 PM ----------

Installed canary debug manager and tried to update magisk to 20404, but stucked at -Device paltform: armeabi-v7a..

Not progressing.
[Magisk] J.Michael:
Can you boot without Magisk? (Maybe reboot option on Power menu when booted with Magisk.)

Does that directory exist?
[Magisk] tribalfs:
Installed canary debug manager and tried to update magisk to 20404, but stucked at -Device paltform: armeabi-v7a..

Not progressing.

---------- Post added at 07:36 PM ---------- Previous post was at 07:32 PM ----------

Still missing
[Magisk] skylinestan:
Seems like this 20404 version of magisk break some of the audio module..those like Dolby,V4A and jamesDSP all doesn't work at all.. some of it force closed and like V4A doesn't install the driver...any solution to this?
[Magisk] zgfg:
Unfortunately, you are right.

Xiaomi Mi 9T, stock QFJEUXM 11.0.4, and later 11.0.5.

AML with V4A and all worked (recently updatedv AML and it still worked)

Today updated Magisk to 20404 and immediately V4A reported that driver was missing. Could not install anymore - V4A asks to install driver, I accept, V4A goes to reboot device - after rebooting, still no driver, and it repeats all over again...

Tried also without AML and with the older version of AML, no avail

Finally gave up and flashed my old image patched with Magisk 20401, and then reinstalled AML and V4A with no problems. V4A happily installs the driver with 20401, but no way with 20404
[Magisk] pndwal:
Error 404!

Could be new module mount implementation. :(

https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post82337703 PW
[Magisk] skylinestan:
Can share the version 20401 magisk to me please?