yashsingh1/xdaforums huggingface dataset:
[Magisk] suhel28:
Other apps are working fine. Its just these microsoft apps that are causing issue.
[Magisk] dohanin:
Just curious, what's the error you are seeing in ms apps?
[Magisk] zgfg:
Standard tips:

- Do you pass SafetyNet

- Did you add MS (not using, don't know which app) to DenyList and reboot

- Wipe Data/Cache for MS and restart
[Magisk] suhel28:
1 Now that safety net is not shown in magisk I don't know how to check it.

2 and 3 I did yes
[Magisk] dohanin:
Are your MS apps in work profile? I have seen this before and I have to add other apps in the work profile to denylist as well. In particular: Intune Company Portal. Zimperium zIPS. (make sure you tick all items under these apps) And you must clear those app data/cache and reboot.
[Magisk] dohanin:
try YASNAC from play store
[Magisk] zgfg:
Please read the OP posts at the beginning of this thread - setting up Magisk v24 and so is carefully explained

Eg, for SN you have to install 3rd party SN checker like YASNAC from PlayStore
[Magisk] suhel28:
It shows pass
[Magisk] zgfg:
Then something is not properly configured - please carefully go through the OP posts.

You can also check my post #14

Once you are sure (!) you have setup as advised and if still not working, please provide:

- phone, ROM, Android info version

- screenshot of the main Magisk app window showing Magisk and Magisk app version installed

- scrollshot of all modules installed (Magisk app, Modules)

- screenshot of Configure DenyList

- screenshot showing that Zygisk is enabled

Only then, users/we can try to help you
[Magisk] suhel28:
I already had magisk installed and it was working well. This new update broke everything.

It shows passed. I edited my OP but idk why it showed failed 👀
[Magisk] zgfg:
New Magisk requires new/different setup regarding to hide root and so on

Actually, hiding root is no nore the ovjective of Magisk (btw, TJW, the author of Magisk is Google employee now) - one has to configure Zygisk, DenyList, Shamiko (optionally), USNF (on some phones) by himself.

And things are described in the OP posts
[Magisk] suhel28:
Yes, I did do everything. Don't really what is the missing link. Maybe it has to do with how my work organisation has configured security of the apps. Cuz other apps are working fine.
[Magisk] zgfg:
Yeah, possibly.

Fortunately, I don't have a problem - I connect to my company mail, Teams, Shared folders with no issues (for mail I use my built-in Mail app)

But check what dohain advised you in the post #918 this morning
[Magisk] pndwal:
New TJW Canary build:

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

👍 PW
[Magisk] DuskGolem:
Hello, just want to know whether the magisk detector app is still a valid check. I am getting init.rc modifications by magisk being detected in it whereas there is no such thing in the momo app. I am using Magisk canary 24102 with shamiko and HMA enabled. Everything is working fine, even banking apps but this init.rc being detected is kind of nuisance. My device is Galaxy A8 2018 latest stock android pie (9.0) rom. Any one else having this problem?
[Magisk] zgfg:
HMA hides the apps, like hiding Magisk APP, but it's nothing about hiding Magisk itself and eg its init rc modifications

Actually, Shamiko should help to hide init rc and if not hidden, Momo will detect and report.

On the other side, it was known that init rc detection in Magisk Detector used to show false positive results (it's documented on its Github page) - hence disregard what the abandoned Magisk Detector shows
[Magisk] DuskGolem:
yup, that's what I was thinking, thanks for verification.
[Magisk] J.Michael:
Did you put the "magisk detector app" in all the "run these apps in an unchanged environment" lists? (And clear the detector app's cache?)
[Magisk] DuskGolem:
I did clear the data multiple times but it did not work. Anyway, how should i put it in unchanged environment list? I haven't read about that anywhere.
[Magisk] J.Michael:
I apologize. I have been trying to avoid the word "hide", because some people are trying to make a distinction between hiding the presence of Magisk from an app, and Magisk creating an environment for the app in which Magisk has not made any changes (Shirley a problem that will keep philosophers dancing on pins). Also, it is not always clear to me in which direction the hiding is going.

I wanted to know if you had remembered to put the detector app in all of the lists into which you are supposed to put apps that seem to try to detect root, and which you want to prevent from detecting root.

(Disclaimer: I have done none of this. I have only read all of the posts in the two Magisk threads.)
[Magisk] manyone:
hello, i have only one APP which recognice root and stop shortly after start (developer says that the app doesnt run on rooted devices)

Any other thing is fine, saftynet check passed some other app runs without problems.

shamiko could not installed because my phone is to old (galaxy s7, android 8 TeamExyKings)

any suggestions ? and where to get this HMA ?

Having Magisk 24.1, denylist is edited, zygisk aktivated.
[Magisk] JulianKlein:
I have exactly the SAME issue. How did you fix this??
[Magisk] Svan987:
Check post #573. I installed like in old days from TWRP. Just rename "Magisk.apk" to "Magisk.zip"
[Magisk] pndwal:
& @Svan987

Fix already provided and built in recent Canary versions as I reported here:

https://xdaforums.com/t/discussion-magisk-the-age-of-zygisk.4393877/post-86395379

... Fix is still downstream for public Stable / Beta users... PW
[Magisk] sansanc:
If you can't defeat them, join them.

What is the last sane version of magisk? Like, the one that just roots?
[Magisk] zgfg:
This thread is about the last official v24

Go to Msgisk Github, there you can see the latest official Stable (and Canary if you mind)

However, hiding from root is still possible and steps and techniques are described in the OP posts in this thread - who is new to v24, please read/learn the details first
[Magisk] zgfg:
What am I changing?!

I'm user just like you

If you need to report issues, go to Magisk Github, see how to report an issue and submit

All of us here are just users - please respect the time people invest to help to the peers
[Magisk] pndwal:
Welcome to the fraught world of custom modding!... or didn't you know it would be? 😬

You did go for a beta!

"Beta testing is the final round of testing before releasing a product to a wide audience. The objective is to uncover as many bugs or usability issues as possible in this controlled setting"...

https://www.productplan.com/glossary/beta-test/

Anyway, are you following John's instructions flashing to both slots?; I ask because I never read this in official methods, but I don't have A/B device... Also, is OP8T one of those unusual 2SI A/B devices w/ both a&b system and recovery partitions?...

I'm guessing restoring phone should be a simple matter of flashing back stock boot image(s), or previous magisk_23.0-patched image(s) from PC via fastboot... PW
[Magisk] sansanc:
- My bad then, because i saw 24.2 as a "release". So...

- I did flash to both slots.

- Adb and fasboot were not working on this pc, because the device always showed as unauthorized.

Anyway, i got lucky, as i have another pc which this phone was authorized, somehow i installed TWRP rebooted from it to the system. No idea how did that happen because it was booting to (original) recovery all the time.

So happy end now. On the other hand, other than TWRP helpping me booting in to the system (no idea how), it's a dead recovery as it does nothing else. Doesn't even see my files not it lets me send files to the phone. I thought this problem was already fixed on new versions. 3.6 here.
[Magisk] exis_tenz:
I have a question: is it possible to reverse the "Hide the Magisk app" setting? After I hit that option, can it be easily undone or does it require de-install / re-install of Magisk? And how do I find the cloaked app between my 300+ installed apps?
[Magisk] zgfg:
Once finished, on the same place (in the repackaged app) you have the reverse option: Restore Magisk app - didn't you see?

Besides, uninstalling only the APP does not affect your installed Magisk.

Hence, even if you uninstall the app, you just install it again in few seconds

All the settings you had (DenyList, modules, etc) are remembered in the Magisk database, and do not depend if you uninstall or reinstall the app

App is only the interface between you and the Magisk

---

Btw, instead of bothering with Hide Magisk app, one can uninstall (or more practically freeze) the Magisk APP

Magisk will continue to work (even if you reboot). Only, you would not get pop-ups that some app is asking for root grant (make sure you grant the root requests for all your daily apps you need)

Then, when you want to change something in DenyList or so, you unfreeze or install back Magisk app, make the change and freeze or uninstall the Magisk app again

For managing modules - disable, remove, install, update - you can do everything from Fox Magisk module manager

I don't understand why is all that foss about (hiding) Magisk app - one can live without that app for many days

You see here that Magisk received update - install the new app, update Magisk (easiest: Direct method) and you can safely freeze or uninstall Magisk app again
[Magisk] exis_tenz:
Didn't test it yet. Messed up so many things that I am not in a testing mood for the moment. The OnePlus Nord 2 5G is a terrible device (to root).

But what does this "repackaged" mean? Will the app get another name? Will the symbol in my appdrawer still be there and called Magisk?
[Magisk] zgfg:
How do you find the Magisk app after you give it the new name?!

You give it the name you wanted - it suggests the name "Settings" but you can put the name "jkkkkfj8fkk8k9xkk" if you prefer

You simply go to the native Android Settings, Apps, find the renamed app under the name YOU GAVE it, and click uninstall if you want to uninstall it

Otherwise, go to Apps Drawer and find it also there under the name YOU GAVE (similarly, you have to remember the pin you set, your passwords, etc)

It will even ask you to create the SHORTCUT on the Home screen - the shortcut will have the icon similar to the original Magisk icon, and the name (shortcut's name) Magisk.

Hence, you can use the shortcut if you forgot the new name you gave to the app

That's the deepest mistery for me how so many people do Hide Magisk, give/confirm the new name, and later cannot find it
[Magisk] shoey63:
It gets renamed to "Settings" with a fairly nondescript Android icon unless you specify another name. Open that up and you can restore the the Magisk app to its original state.
[Magisk] exis_tenz:
Super, thank you! That gives me the confidence to try it! Yippieyahee!
[Magisk] zgfg:
There are two things, the NAME and PACKAGE NAME

Originally, it is called Magisk app but its package name is com.topjohnwu.magisk - do you normally mind to know that package name?

When you do Hide Magisk app it will give you the new name (suggested Settings but you can change to any name you want - REMEMBER the name you gave it)

In parallel, it will change the package name to something RANDOM - to make it harder to find it for banking apps if they look for an app with the name Magisk and/or the package name com.topjohnwu.magisk

But do you mind those package names - e g., Google Play Store has package name com.google.vending -doesbit mean anything to the avarage user?
[Magisk] ashish1989:
Wanted to know if release v24.2 is stable or beta
[Magisk] rogers11:
Currently beta
[Magisk] zgfg:
The official Magisk Github - one click from the Magisk app

First place to go when seeking some info about Magisk

It shows Stable is still 24.1, Beta (and Canary='pre-Beta') 24.2
[Magisk] zgfg:
Screenshots describing the process of Hide Magisk app / Restore Magisk app

1) Original icon and Name

2) Original Package name

3) Hide Magisk app

4) Default new name: Settings

5) User gives the name and must REMEMBER the given name

6) Create shortcut

7) Renamed app (REMEMBER it's name) and Shortcut (having the usual icon and 'name')

8) Randomized package name

9) Restore Magisk app

PS:

Settings/Apps/Manage apps showing how to find Magisk app before hiding (renaming) and after

10a) 10b) Magisk app

11a) 11b) REMEMBER (the name you gave it) app

---

Sorry, I have uploaded screenshots in order: 1,2,3...

But XDA never displays them in the order as uploaded?!

Hence look to the names 1,2,3... of the screenshots
[Magisk] zgfg:
@pndwal - To make those screenshots I repeated four times hiding/restoring (always realized later that I needed one more screenshot)

Two times hiding "Failed" right away

Those four times it worked and IMHO somewhat faster (still needed time to complete) than with the yesterday's 24103

My Xiaomi 11 Lite 5G NE, MIUI 12.5.8

Canary 24201

---

Tested once hiding restoring on my older Mi 9T, it worked and also didn't take that long as yesterday with 24103)
[Magisk] zzz2002:
Although I have uninstalled Magisk 24, rootbeer & YASNAC are behaving as though it is still installed.

1. Is there any way of checking if my boot img/loader to see if it has magisk left overs in it.

2. could I extract boot.img from either a LineageOS zip, or from the AP image from a Samsung distribution TAR and use TWRP to flash just boot.
[Magisk] J.Michael:
Not sure what you mean by "just boot". You should extract the boot.img from whatever is the "stock" ROM on your device. If you installed LineageOS, you should be extracting the boot.img from *that* LineageOS, whether to patch it with Magisk, or to use the unpatched one to repair.

If all you did was uninstall the Magisk Manager app, then you could still have some Magisk functionality, including the granting of superuser privilege. If you had granted superuser privilege to the terminal emulator, try opening a terminal emulator window and see if you can use "su". If you had granted privilege to some other app, try that app in a way that will tell you if it still has that privilege.

You could install the Magisk Manager app and see if it recognizes that Magisk is installed.

If you have TWRP, you can "backup" the boot image and then compare that file to the boot.img from the original (installation) ROM.

If you are desperate to be rid of Magisk, you could always reinstall the operating system.
[Magisk] ashish1989:
Just turn off google play protect and try renaming, it will work
[Magisk] zzz2002:
I am not "desperate" to get rid of Magisk.

My problem is that when I installed the latest version of Magisk is that zygisk will not turn on in the "root" end of things. I have not got a screen shot, and I am not very keen to get one as my fiddling about resulted in my having to reinstall everything last time.

My suspicion is that the boot end of things is somehow corrupted.
[Magisk] zgfg:
Of course I did.

Are you on Xiaomi phones or not?

Pndwall and me were discussing the hiding issues specific MIUI - you can find more about in the old Magisk thread
[Magisk] ashish1989:
Yes, I am using redmi note 5 pro, renaming doesn't work everytime, but when I turn off google play protect, renaming works very smoothly. I think its a must
[Magisk] zgfg:
Yes, but @pndwal on his old MIUI needed to switch off MIUI Optimization - without, the wheel Hiding rotates with no end

And that comes after the Play protect - if Play protect blocks you, hiding will fail right away at the beginning (actually, should pop-up that Play protect is blocking you...)

So please, be aware, we/you are not talking on the same issue. See posts by pndwal in the old Magisk thread

(I will not follow up on this here because it is not what pndwal and me were discussing, and I well know about Play protect - actually I can hide even with Play protect On, when it pops-up I take Continue anyway and it does hiding then)
[Magisk] pndwal:
Galaxy S7 Edge?

You may need custom or newer Kernel; please check kernel version in use and read this pinned issue:

[Wontfix] Zygisk cannot activate on some old Samsung devices with old kernel (3.19-) #5395

Basically, Zygisk was not turning in for S8 and earlier Sammy phones:

https://github.com/topjohnwu/Magisk/issues/5353

The issue was fixed here (by Shana) for most:

https://github.com/topjohnwu/Magisk/pull/5372

Merged:

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

This fix worked around broken system calls (due to kernel restriction / exec limitation), but requires fexecve, and unfortunately this doesn't exist in 3.19- kernels. 😕

Nb. Some devices w/ 3.19- kernels successfully load Zygisk without fexecve workaround. As Canyie said there:

👀 PW
[Magisk] suhel28:
Any way to downgrade magisk manager?
[Magisk] vandyman:
Uninstall, then you can install what ever you want.
[Magisk] suhel28:
From what I understand It's not that easy. People have been thrown into bootloops. So a detailed help would be much appreciated
[Magisk] vandyman:
Uninstall using the Magisk app. It is that easy?
[Magisk] suhel28:
I guess I'll wait for others to reply.
[Magisk] suhel28:
Thanks man
[Magisk] vandyman:
LOL. That post says uninstall using the Magisk app.

Thanks... Lol
[Magisk] rodken:
The key is to not perform a reboot during the process of downgrading.
[Magisk] suhel28:
There is more to just uninstall.
[Magisk] vandyman:
Here is what I would do.

1. Uninstall Magisk using the Magisk app.

It will do a complete uninstall, including modules. With that done. You will be back to your original setup before installing Magisk.

2. Reboot

3. Install what ever Magisk you wish to.

4. Patch your boot.img with Magisk.

5. fastboot flash boot magisk_patched. img

6 boot device, done.

OR

Flash your factory image and start over.

Please understand what may happen to your device before modding. So you will know what to do in a pinch.
[Magisk] suhel28:
I've read in few posts that after the 1st step when people reboot, it sometimes throws them to reboot loop. Hence, I was bit worried. No hard feelings. I know you were trying to help. Its just me 😅
[Magisk] JulianKlein:
Idk if this matters, but I have uninstalled Magisk Manager and then installed the newest version. After that I have lost the root, at least it doesn't ask me for root permission (root detecting apps still don't work tho).

So my question is if

1) this fix would work for me:

2) it would wipe my data on my phone?
[Magisk] J.Michael:
When you uninstalled Magisk Manager and then installed the newest version and lost the root, did you then try uninstalling Magisk Manager and installing the older version, the one you used to have, to see if the root came back?

I do not recognize the "fix" you quoted, and I got dizzy trying to follow the "unpatch/repatch" -- neither of these is a function I recognize.

You don't say what kind of phone you have, but with Samsung, there is some combination of files in Odin that I believe always causes data to be wiped. It might just be a matter of using CSC instead of HOME_CSC, but I'm not sure.
[Magisk] suhel28:
I finally got it to work.

The company portal app was the issue. The Denylist didn't check all activities for the app so I manually add all the activities in the deny list and rebooted

It started to work.. Phewwww
[Magisk] m0han:
perhaps, by unpatched he meant the 'original'/stock boot.img that came with the rom and by repatched he meant the 'original'/stock boot.img that was patched using magisk. i could be wrong, though.
[Magisk] smarty8:
Hi guys.

Magisk 24.1

I have two problems

1. I can't hide Magisk App. When launching the Hide Magisk App, the spinner spins endlessly and nothing happens. When Magisk is closed, its name remains unchanged.

2. I can't hide Magisk from Samsung Flow v.4.8.07.4 app. Before the Magisk update, the app was working fine.

I have already added all com.samsung... and com.sec... services to DenyList, but when I launch the Samsung Flow app, it says "Your device has been rooted. Samsung Flow cannot be used on rooted devices for security reasons".

What am I doing wrong?
[Magisk] pndwal:
Of course, Magisk Manager is dead, gone, burried since we got single-package installation w/ 22.0, including both Magisk App and Magisk (mask) itself... The last Magisk Manager was version 8.0.7...

- So you really wouldn't want to downgrade!... 😜

Never heard of bootloops from downgrading app, or old Manager! ... But app and Magisk (mask) versions should match to be properly compatible...

So this is referring to uninstalling Magisk (mask) itself, not just the app... This process is more fraught, and can bork your system (which is why you need backups, contingency plans, fallout shelter, food stash...).

These options rely on unpatched image backups Magisk made originally and more, and include Restore Images - retains settings, modules etc for next re-install, but allows you to take delta (incremental stock) OTAs safely - and Complete Uninstall - self explanatory...

Nb. I believe neither of these options work for Android 9+ (SAR) Samsung models:

https://topjohnwu.github.io/Magisk/install.html#important-notes

🙃 PW
[Magisk] zgfg:
Nobody is forcing you.

But are you aware about DenyList instead of MagiskHkde?

Read OP posts here (and maybe post #14)
[Magisk] mingkee:
Then Magisk hide is replaced by Zygisk + Deny List?

Should I keep using Safetynet Fix and switch to Zygisk version?
[Magisk] ldeveraux:
Can you guarantee that all apps that magiskhide hid root from will hide root with the deny list? Why fix what wasn't broken? magiskhide has worked well for most people for years.
[Magisk] mingkee:
You have to use 24 on S
[Magisk] nacos:
Something's not right. I'm no longer able to open the bank apps ++ (whereas I used to be able to run all these apps under Magisk 23 + Hide)

Samsung S8, Havoc OS (Android 10), MicroG.

1. I did configure Deny list and added all affected aps (as previously)

2. Zygisk shows yes on the main page

3. I did install USNF 2.2.1, however I don't pass SafetyNet. YASNAC reports "Google Play Services API error16: cancelled"

4. I also installed Shamiko and disabled Deny List in settings.

5. Self-check in MicroG confirms System does have signature spoofing (through LSPosed > FakeGaaps)

Any suggestions? Thanks!
[Magisk] ldeveraux:
I'm on 11 because S came out 3 months ago and I'm not beta testing for Android. Just like nobody's forcing me to update to v24, nobody's forcing anyone to update to Android 12...
[Magisk] mingkee:
I will try 24 on my abandoned phone with R

Hopefully I will figure out the new method
[Magisk] V0latyle:
Nothing is ever a guarantee. If the risk of root detection is unacceptable to you, don't root. You are completely and absolutely at your own risk here. You and you alone are liable for any problems you may experience.

That being said, for the majority of people using Magisk + USNF + MHPC in the proper configuration have had success.

This was answered in the OP. Please read John Wu's 2021 blog post as it describes why Magisk transitioned to Zygote, as well as why MagiskHide has been discontinued.
[Magisk] zgfg:
Why should I guarantee you anything?!

Guys, please understand that there are VARIOUS (banking) apps that detect or guess about root by VARIOUS methods.

What works to hide root from one app, does not work for the other app - or will no more work for the first app upon they update the app

Did you take some time to read what was posted in this thread about PushTAN?

With the same settings root is successfully hidden for other users but not for any Xiaomi users

YOUR MILLEAGE MAY VARY

Sorry, being tired of answering to such posts, specially when people are lazy or what to first read something - sorry to being rude, but that's it