yashsingh1/xdaforums huggingface dataset:
[Magisk] timotv:
Hello

I can not install MODULE Microsoft Intune Company Portal Hider. Here is the log:

- Copying zip to temp directory

- Installing IntuneHider4Magisk-v0.1.3.2A(v1300)(3MF).zip

update-binary: line 148: /sepolicy-inject: not found

update-binary: source: line 170: config.sh: not found

Archive: /data/user/0/com.TOHgdqVONSQgt.sn/cache/install.zip

inflating: config.sh

! Installation failed
[Magisk] timotv:
I've downloaded IntuneHider4Magisk-v0.1.3.2A(v17000)(3MF).zip and installed it successfully.
[Magisk] timotv:
Three modules are not activated:

ClearDalvikCache4Magisk

ClearPlayStoreWithServicesData4Magisk

IntuneHider4Magisk

Only one module has activated checkbox is DeviceSpoofingTool4Magisk

Screenshot of the modules list:

https:// drive.google . com /open?id=14xNUjZBl9D5-I9H0fb0eTAww6aIZXJaH

I can not understand is it OK ?

Safety net passed successfully. Microsoft Intune Company Portal see the SuperUser still.

I tried to do this but it doesn't help.

I could not find "Device Certification"

---------- Post added at 08:26 PM ---------- Previous post was at 08:11 PM ----------

I did something I don't know what exactly but Corporate Outlook is working now !!!:victory:
[Magisk] oriental_noodle:
Hi guys, installed the module, outlook worked great but now both sim mobile data on my phone (oneplus 3T) is not working. Plus the Magisk Manager front screen now only display "Installed version: v17.1" and Uninstall button. Please help. Thanks
[Magisk] timotv:
Which data are you talking about ?
[Magisk] oriental_noodle:
The mobile data aka 4G

---------- Post added at 04:26 AM ---------- Previous post was at 04:21 AM ----------

hi, figured it out. I disable Magisk Hide of Phone Apps, Phone Services and it works fine now. Thanks
[Magisk] Saycor:
Thanks for the awesome Module!!

Been using for some time now without any issues.

The only thing I noticed was that when phone services are hidden in magisk, there is a persistent Kernel wakelock that is set and doesn't let the phone go in sleep mode.

Simply resolved by excluding phone services from the list.

For my phone Xperia XZ data and wifi remained unharmed by adding everything on the hide list, but there was a lot of battery drainage due to phone services being on the list (due to the kernel wakelock).
[Magisk] sash11:
Latest Magisk 18 is not compatible with this module. Apps report phone is rooted, i.e. Teams

upd. After the second reboot things went back to normal. False alarm.
[Magisk] paarnoutse:
After upgrading to the (so called 'stable'...) Magisk v18.0 version, Magisk Hide not working anymore (eg. access to '/sbin/su' etc. for any app, even when in the hide list). Therefore Intune immediately detected root, and blocked my device.

I strongly advice against upgrading to v18.0, and wait for a correction by [MENTION=4470081]topjohnwu[/MENTION].

Update 2018-12-10:

Magisk Hide not working (any app having access to '/sbin/su' etc.) seems to be a temporary issue, appearing after first reboot, and only when upgrading to Magisk v18 via Magisk Manager. Worked OK for non-Office apps again after a 2nd or 3rd reboot.

When using a Magisk Uninstall followed by an install of Magisk v18 plus flashing the Intune Hider module (all by flashing via TWRP), Magisk Hide basically worked after 1st boot.

HOWEVER, even then root was detected by Intune afterwards (although the hiding of other apps in my hidelist worked OK).
[Magisk] kantjer:
I have 2 devices updated to Magisk 18.0 yesterday and both are still certified
[Magisk] spicediablo:
Fixed mine by downgrading and upgrading back to v18

Sent from Sagit
[Magisk] [deXter]:
[MENTION=9018566]Dreamer(3MF)[/MENTION] Module isn't working with Magisk v18 on a clean install. After installing the module and rebooting, it automatically gets deactivated in Magisk, and causes Outlook/Intune to detect that the device is rooted.

Edit: Screenshot: https://i.imgur.com/789q0Hx.png
[Magisk] paarnoutse:
That the module is disabled after being executed once, is its normal and described behavior (plse read this module's info in 1st post).

However, I can confirm that root is detected after upgrading to or clean installing Magisk v18.0. The new Magisk v18.0 version appears to be not backward compatible with its predecessor Magisk v17.1 version.

To prevent root detection by Intune, don't install/upgrade to Magisk v18.0 (cq. downgrade to v17.1).
[Magisk] praveen12bnitt:
Same issue here. After upgrading to magisk 18 , I am unable to use outlook. Used to work with 17.3
[Magisk] sash11:
Try rebooting again. I still can use all my root aware apps after updating from 17.3 to 18: Outlook, Teams, Skype for Business, etc.
[Magisk] sugnation:
It works for me after updating to v18 but only for a few minutes, 5 to 10 maybe. Then root is detected again. A reboot fixes this but only temporarily.

I'll either need to downgrade to v17 or see if there's an update. This is a really useful module so i hope there's an update!
[Magisk] sailay1980:
Hi,

Anyone known how to downgrade magisk from v18 to v17? I don't have TWRP and have to flash from fastboot. My Mi a2 lite phone has no offical TWRP. So I cannot use TWRP.

root is detect only few min after reboot.

Thanks.

edit: Got it: firstly download Magisk v17.1.zip file. My case, I have in my phone which was download before.

open Magisk and goto modules -- click "+ " -- choose your zip file.

then magisk will start flashing. After reboot, magisk database will corrupt and you need to hide apk again. I also need to type following to hide companyportal. Second reboot, done. Do not update again.

su

magiskhide --add com.microsoft.windowsintune.companyportal.omadm_client_process
[Magisk] greenmasser:
Similar to everyone else, stopped working after upgrade. I simply did the Complete Uninstall from the App. Then launched TWRP and flashed v18, and the new download of the manager app. Then reinstalled the Module, everything working fine now.
[Magisk] Flyinace2000:
So should I downgrade to 17.3 or will and update be available this week?
[Magisk] muttonhead411:
There have been some reports of magisk 18 root hide not working properly on some devices. This is not a module problem. If you depend on this, roll back to 17.3 and wait for a magisk update
[Magisk] sash11:
I have seen Magisk 18 breaking SafetyNet as well. Reboot fixes it, but only temporarily.
[Magisk] topjohnwu:
This module is not needed in v18.0, and you should clean out the hide list since the tons of new entries added by this module is also not needed.

If you don't know how to do this, flash the uninstaller and reinstall v18.0.

Please do not spread the info to stop upgrading v18.0. As stated in the announcement, anything older than v18.0 will be completely unsupported soon and staying on an old version will very likely screw your device.
[Magisk] njeri123:
I can also confirm that Magisk v18 works very well. But it didn't work until I reinstalled Magisk and deleted all Intune stuff before.

However, this already has a small disadvantage.

I had all my intune stuff in a work profile sandbox (Island). The Intune Hider also considered the apps that are in this box. That works now, too, but only via sideloading and putting the source app into the Magisk Hide before. If I install the Intune stuff via dedicated Play Store in the work profile, it recognizes the root, because the apps in the work profile don't appear in the Magisk Hide for selecting. As a result, I can't update the Intune stuff via the dedicated Play Store because sideloaded apps don't show up in it.

Half as bad.

Just a bit of a pity.
[Magisk] candiesdoodle:
Interesting use cse

Did you try the command line method of adding the app ... "/shin/magiakhide --add ...."
[Magisk] spicediablo:
Thank you for your clarifications! I have uninstalled intune module and seems to work thus far. Sorry for the misunderstanding.

[update] I am gettign safety net verification failure. It was ok at the beginning. Now it's failing and I cannot magisk hide my banking apps.... Anybody has this issue?

Sent from Sagit
[Magisk] Skulldriver:
Hello!!

Simple question :) will this module no longer be needed and v18 of magisks will do the trick to hide root for company apps?

The reason asking is that its first time using magisks and I want to install and use corporate email "Maas360".

Thank you
[Magisk] candiesdoodle:
Yes correct. Just hide outlook, intune and other MS apps ...
[Magisk] kantjer:
I removed the module and now have only MS Intune in my hide list

Working fine on both devices
[Magisk] abaddon37:
Anyone else having the issue of Outlook working for a bit, then detecting root? I can kill the Outlook app and reopen without it detecting root, but after some amount of time, it'll detect root again.

This is with Magisk 18.0 without the Intune module
[Magisk] Flyinace2000:
Same here, I uninstalled the intune module and upgraded to v18 magisk. Fine all day. Then just now magisk reports safety net failure and intune detected root. Wtf???
[Magisk] abaddon37:
Ah that's strange. When Outlook has detected root, my SafetyNet check fails. When I kill Outlook, SafetyNet passes and upon reopening of Outlook, root doesn't get detected until some time.
[Magisk] abaddon37:
Here's what I have flagged in MagiskHide
[Magisk] Flyinace2000:
Just tested that. Killed outlook, and Safety Net passes.
[Magisk] Anders Mogensen:
Same problem for me, very strange...
[Magisk] kantjer:
Thats why I don't have any issues, don't use Outlook (using Nine)
[Magisk] Flyinace2000:
Ah ok well that explains it. Hopefully there is a fix before January when info back to work, back to stock for me.
[Magisk] jesterpaul:
Same here. Company portal controlled apps being detected
[Magisk] frov:
Clean flashed my phone, OnePlus 3T, with LineageOS, also flashed Magisk18 and set hide only on Portal & Outlook: works fine now without hide module. As recommended by Dev of Magisk few posts back.
[Magisk] vigos:
Clean flashed magisk 18 (so no modules installed). Hid intune, Gmail, other MS apps. It worked fine initially, but now I'm getting safety net failure and intune detects root. Any idea what I'm doing wrong?
[Magisk] sash11:
I only have Authenticator app, Outlook and Company Portal hidden. Skype for Business and Teams are not. Everything is working for me for about 5 days now, since I did a clean root without this module.
[Magisk] frov:
I am having the same behaviour, that root gets to be detected after some time. Then I go into MagiskManager and simply unselect & select both Portal and Outlook, and then it is OK again. (OP 3T, LineageOS15 (NLOS), Magisk18 no plugin).
[Magisk] njeri123:
Unfortunately, it doesn't work for me.

I have already done a clean root.

It works maybe 1-2 days and then it detects root again.

I'd be happy if there was a solution for them, too, to use the Intune apps in a work profile container (Island or Shelter).

Gesendet von meinem ONEPLUS A6003 mit Tapatalk
[Magisk] vigos:
That's a great tip! I tried it and it worked (for a while). You can also turn off/turn on magisk hide and it starts working again for a bit
[Magisk] paarnoutse:
Yes, turning off/on magisk hide helps, but unfortunately just temporary. Root detected again after a while.

By-the-way:

The root detection for hided apps in Magisk v18 appears to be a general issue, and not only related to Intune. I've installed various root checking apps, some of them added in my hidelist and other ones not hided. The hided root checking apps are also regularly detecting root, because at such moments they appear to have access to /sbin/su (see example in attachment).

We hope [MENTION=4470081]topjohnwu[/MENTION] takes this serious, and spends some time to find the reason and resolves it in a corrected Magisk version.

Update 2018-12-22:

An issue opened at GitHub for this Magisk v18 problem.

See https://github.com/topjohnwu/Magisk/issues/900
[Magisk] vigos:
The've since closed that one and merged it with this one https://github.com/topjohnwu/Magisk/issues/907, is still open.
[Magisk] persmash:
Hi,

I'm not a professional user. I just root my device to block ads and apply some small tweaks. Now I need to access my company's email over Outlook but it detects root. Is there anyway to hide root from it? My Magisk Manager is v18, I'm on Android 8.0.0, S7Edge and Stock ROM.

Thanks in advance.
[Magisk] vigos:
if you want flawless hiding, the temporary solution is to downgrade to Magisk 17.1 or 17.3 and use the module from the first post. There's seems to be an issue in 18 where it's detected sometimes and you have to enable/disable magisk hide for it to work again for a bit. then it gets detected again. Hopefully this issue is solved soon and we can go back to the latest.
[Magisk] persmash:
Thank you very much for your promt and very accurate answer. This is exactly what I've discovered just now and waiting for a solution. I wish It will be solved with a Magisk Update. I can handle it now temporarily.

Best Regards.
[Magisk] paarnoutse:
For your info:

Just upgraded to the new Microsoft Intune Company Portal version 5.0.4295.0 (3084517), device compliance rechecked, and no issues encountered (no root detection). Therefore implementing this new Intune version looks to be safe.

Nb.

Hiding Magisk Manager (repackage Magisk Manager with random package name in Magisk Manager settings) still not needed to prevent root detection by Intune.

Environment:

Due to the unreliable MagiskHide Process Monitor in Magisk v18 at some devices (also at my OnePlus 5 running OxygenOS 5.1.7), I'm currently still running a pre-v18 Magisk version and therefore also still using the Microsoft Intune Company Portal Hider module.
[Magisk] abaddon37:
I'm running Magisk v18 w/o the Microsoft Intune Company Portal Hider module with the same version of Intune Company Portal with no problems.

I was having root being detected early on upon first installing Magisk, but now I haven't seen issues.

Pixel 2 XL
[Magisk] paarnoutse:
Yes, for some people hiding in Magisk v18 works OK, for others it fails regularly (root detected by hided apps). Not clear yet why, and issue is still open (see issue #907 in Magisk GitHub). Remarkably often reported by people using OnePlus devices, but also for Galaxy, Pixel 2 or 3, Nexus etc.

Are you using the stable Magisk v18 version, or Canary build? Would be interesting to know, because someone reported that after he installed the recent Canary build MagiskManager 1d9c4410, his Magisk hide issues didn't occur anymore since a few days now. When in your case the issue also disappeared since latest Canary build MagiskManager version 1d9c4410, then it's possibly resolved by a change in that MM version.

Thanks in advance to share that info!
[Magisk] abaddon37:
I'm using stable v18.
[Magisk] sash11:
I am on stable M18 on Essential Phone. Once in a while Magisk will fail to pass SafetyNet. When that happens all hidden apps in Magisk start to detect root. A reboot usually fixes the issue. Waiting for a permanent fix on the Magisk side.
[Magisk] dikmench7:
I can confirm I'm having the same issue. I'm on Pixel 3 with Magisk V18.
[Magisk] tbst1337:
I am on p20 pro with android pie. Worked flawlessly on oreo. Now that i have upgraded to 9.0.0.195 with manager 6.1.0-118a9f22 (178) and magisk 18.1.-b8f69238:

-module helps only for a few mins after reboot

-magisk hide doesnt help at all

Any ideas? Needed newest magisk to root pie on p20pro :/
[Magisk] paarnoutse:
Unreliable Magisk Hide behavior is a known problem in Magisk v18 at some devices. See https://github.com/topjohnwu/Magisk/issues/907.

No solution yet, so if you encounter these problems at your device when running Magisk v18, just revert to Magisk v17.x.

By-the-way:

The Intune Hider module isn't needed anymore when running Magisk v18, but as long as there is no solution for Magisk v18 issue #907 and therefore you need to revert to Magisk v17.x, then still use the Intune Hider module.
[Magisk] tbst1337:
thank you, but reverting to magisk 17 would cause me to loose root. funnily enough, the behavior seems to be ok since a few days now :) :good:
[Magisk] timotv:
"Seems to be ok" what ? v17? v18?
[Magisk] daveribss:
Hello, I have a Samsung S8, model G950W, on latest firmware which is unrootable and bootloader can't be unlocked. It had the Knox Enrollment "lock" on it and I got hold of someone who flashed a file from download mode, made me factory reset from recovery (which then bypassed the initial enrollment), and then made me do another factory reset which completely removed Knox Enrollment. I have experimented a bit, flashed a couple of firmwares in between (combination, different model, etc.), and my guess is that the Knox Enrollment is stored somewhere in a partition that is not normally wiped with a factory reset, just like FRP, but instead needs a special "trigger" to perform a FULL wipe of the persistent partitions. It persists even between full flashes of different firmwares, from different models, doesn't matter if its the factory combination FW or a stock FW. When booting up, the phone knows, without even connecting to a network, that it is supposed to be enrolled through KME. I've looked into the PIT file for my model, but can't seem to pinpoint exactly where it is.

My question is: how can this person flash a file through download mode that passes the Bootloader's security checks and successfully alters parts of the FW responsible for KME? Also, which partition exactly contains KME information?
[Magisk] tbst1337:
V18.1b7
[Magisk] sash11:
Upgraded to the latest Magisk 18.1. As previously, it is working now, but will have to see if it continues to hide root. So after a week or two we will know for sure. I'm hiding MS Authenticator app, Intune Company portal app and Outlook app only.
[Magisk] ram4ufriends:
Did you have issues on 18.0?
[Magisk] sash11:
Intermittent. Most of the time it worked, but once in a while SafetyNet would fail and apps would detect root on 18.0
[Magisk] chhapil:
same here, upgraded to 18.1, no intune module, apps hidden MS Authenticator app, Intune Company portal app and Outlook.

All working fine so far.

any plans to upgrade this module for v18 template? because 18.1 changelog says dropped support below v18
[Magisk] Didgeridoohan:
There is no v18 template... You misread the changelog. What it says is that Magisk Manager v7.0.0 isn't compatible with any Magisk version prior to v18. It's got nothing to do with modules.
[Magisk] chhapil:
Sorry my bad!! I realised it when i was about to upgrade one of my modules
[Magisk] chhapil:
Observed one issue on the unistallation part. Found on latest magisk 18.1 and manager 7.0. MagiskHide was not showing the hidden system apps like phone, dialor etc which this module essentially hides for Intune detection.

Removing the module from the the magisk manager, doesn't remove the configuration of magiskhide of the intune and system apps. they remain as it is.

simplest solution was to get all those props from the code and run magiskhide --rm on them.

magiskhide --rm com.microsoft.windowsintune.companyportal; sleep 0.1;

its a huge list, not putting here to avoid the confusion, as they include common hidden apps like gms, so removing them blindly also wont help.

i tried to created the uninstaller zip for this module, but the template for uninstaller is quite outdated and don't have much time to bring it to the latest template codebase, i have requested the respective developer.

For now i removed the apps wisely from MagiskHide list via command line to completely uninstall the module.

Please note all this was done for testing purpose, to have a clean install and uninstall process.

I'm a huge fan of this module and always like tinkering.

Comments welcome
[Magisk] spicediablo:
Updated to v18.1. No improvement, safety net still fails... End up reverting to v17.1.

Sent from Sagit
[Magisk] paarnoutse:
For your info:

Just upgraded to the new Microsoft Intune Company Portal version 5.0.4323.0 (3086761), device compliance rechecked, and no issues encountered (no root detection). Therefore implementing this new Intune version looks to be safe.

Nb.

Hiding Magisk Manager (repackage Magisk Manager with random package name in Magisk Manager settings) still not needed to prevent root detection by Intune.

Environment:

At my device (OnePlus 5) I still need to run a pre-v18 Magisk version, and therefore also still using the Microsoft Intune Company Portal Hider module. This because the "Unreliable MagiskHide Process Monitor" issue at some devices since Magisk v18.0 (see https://github.com/topjohnwu/Magisk/issues/907) is unfortunately still not resolved.
[Magisk] khaberz:
Workaround for Magisk 18+ if you have tasker: write a task that executes the following as root: ':/sbin/magiskhide --disable ; sleep 2 && /sbin/magiskhide --enable' (borrowed from a user on GitHub) and then starts Outlook. Export the task as app.
[Magisk] rajackar:
I can seem to get it to work with 18.1 either.

Will revert to magisk 17.3 for now.
[Magisk] Dreamer(3MF):
Updated IntuneHider4Magisk To 0.1.3.2AN!

Changelog: Minimizing The Code For Some Versions & Adding New Version For Magisk v18.0 Which Re-Enables Magisk Hide Every 5 Min.

>>>To Ensure That The Module Will Work Properly, Kindly Do What Are Mentioned In The General Steps<<<

- For The Module Which Is Ended Its Name With v1300, It Supports Magisk v13.1(1310) To v13.6(1360)

- For The Module Which Is Ended Its Name With v1400, It Supports Magisk v14.0(1400) To v15.3(1531)

- For The Module Which Is Ended Its Name With v1500, It Supports Magisk v15.0(1500) To v17.3(17300)

- For The Module Which Is Ended Its Name With v17000, It Supports Magisk v17.0(17000) To v17.3(17300)

- For The Module Which Is Ended Its Name With v18000, It Supports Magisk v18.0(18000) To The Latest Version Which Is Currently v18.1(18100)

P.S. It Is Recommended To Clear Magisk Hide List Including Each App/Activity/Process Before Flashing The New One So Use The Module Of ClearHideList4Magisk From This Thread https://xdaforums.com/apps/magisk/module-hide-list-bootloop-bootscreen-t3849208
[Magisk] nomesrjp:
Works perfectly, with Magisk 18.1, Android 9 with Feb patch. Thank you!

Cleared cache and storage on S4B and OneDrive. All apps are working fine now!
[Magisk] Dreamer(3MF):
Thanks For Sharing Your Idea But Did You Try To Use The Module Of ClearHideList4Magisk From This Thread https://xdaforums.com/apps/magisk/module-hide-list-bootloop-bootscreen-t3849208? Give It A Try & Awaiting Your Feedback. And By The Way, Did You Try The Amended/New Version? And If So, Kindly Send Your Feedback.

Did You Try The Amended/New Version? And If So, Kindly Send Your Feedback Which Will Be Highly Appreciated As Always.
[Magisk] GroovyGeek:
Not working on OnePlus 6T, Android 9, Magisk 18.1, with the 1800 series module. Initial install was successful but then root was detected within about 15 minutes. Tried switching to Magisk 17.3 with the 1700 series module, same deal. Did a clean reinstall of the ROM, including a complete factory reset and user data wipe, same thing. Quite disappointing, this worked beautifully on my 5 with Magisk 17.3
[Magisk] GroovyGeek:
Can you list the apps that the module added to Magisk Hide? I am seeing significant differences between what the 17.xx and 18.xx modules are putting there, most notably phone storage.
[Magisk] Dreamer(3MF):
Thanks For Your Concern & Feedback. Kindly Be Noted That This Module Depends On Magisk Hide Which Should Be Working Properly (Continuously/Consistently Not Intermittently).

As For Magisk 17.x, IntuneHider4Magisk-v0.1.3.2AN(v17000)(3MF) Is An Attempt To Minimize The Code But You Can Either Use IntuneHider4Magisk-v0.1.3.2AN(v1500)(3MF) Or Download The Old One From The Same Download Link Inside The Folder Of Old.

As For Magisk 18.x, IntuneHider4Magisk-v0.1.3.2AN(v18000)(3MF) Is The 1st Release For Magisk 18.x Which Aims To Resolve The Issue Of Magisk Hide Which Is Working Intermittently By Re-Enabling Magisk Hide Every A Certain Time.

Meanwhile, Could I Ask You To Send The Logs According To These Posts https://xdaforums.com/apps/magisk/module-microsoft-intune-company-portal-t3780451/post76606993 & https://xdaforums.com/apps/magisk/module-microsoft-intune-company-portal-t3780451/post77305754?