Keep apps in work profile from detecting root? - Magisk

I have enrolled my phone with the MS Intune company portal app to be able to use my company mail from my phone. The Outlook app installs from the Play app in the work profile. The Outlook app in the work profile somehow detects root and will not open. I don't have permisssion to install Magisk (or any apps) in the work profile and use Magisk Hide. Any suggestions to how to hide root from Outlook in a work profile? I'm running Magisk Canary 20.2-72edbfc4 on my OnePlus 7T

Did you hide magisk manager? Open magisk > settings > hide magisk manager

joluke said:
Did you hide magisk manager? Open magisk > settings > hide magisk manager
Click to expand...
Click to collapse
Yeah did that already. Still detecting root.

I dont know this will work or not but worth to try
https://forum.xda-developers.com/apps/magisk/module-microsoft-intune-company-portal-t3780451/page41

paplo said:
I have enrolled my phone with the MS Intune company portal app to be able to use my company mail from my phone. The Outlook app installs from the Play app in the work profile. The Outlook app in the work profile somehow detects root and will not open. I don't have permisssion to install Magisk (or any apps) in the work profile and use Magisk Hide. Any suggestions to how to hide root from Outlook in a work profile? I'm running Magisk Canary 20.2-72edbfc4 on my OnePlus 7T
Click to expand...
Click to collapse
I have the same issue, outlook, SEP and intune installed in work profile. Unable to install Magisk in work profile due to managed profile.
Did you managed to find any solution for this ?

anandpandey said:
I have the same issue, outlook, SEP and intune installed in work profile. Unable to install Magisk in work profile due to managed profile.
Did you managed to find any solution for this ?
Click to expand...
Click to collapse
Yeah I ended up uninstalling Outlook, unrolled in Intune Company Portal app, which removed the work profile, and uninstalled Portal as well. Reinstalled portal app marked it hide in magisk before opening it. Enrolled and installed Outlook again. Then it worked

paplo said:
Yeah I ended up uninstalling Outlook, unrolled in Intune Company Portal app, which removed the work profile, and uninstalled Portal as well. Reinstalled portal app marked it hide in magisk before opening it. Enrolled and installed Outlook again. Then it worked
Click to expand...
Click to collapse
Thanks,
It worked for me after installation, I have SEP also as part of intune compliance.
It all work perfectly post installation, but once I reboot SEP detects the root and log me out of all work profile apps.

Related

Can Barclays App be used on rooted devices with Magisk?

I'm looking for a way to use Barclays App with my rooted phone (P8Lite). I thought Magisk will do it, but for some reason, it seems the app still detects the phone is rooted.
What I did:
- installed Magisk
- installed Barclays App (did NOT start the app!)
- Set Barclays App to Hide, in Magisk Hide menu
- rebooted the phone (just to be sure, I don't think it was required)
- checked if the app was still marked as hidden (it was)
- started Barclays App => It detected the phone is rooted
Anyone able to use Barclays App with rooted phone? If yes, how?
Cheers.
You forgot an important step: hiding the Manager itself.
More on hiding root in the Magisk guide.
Didgeridoohan said:
You forgot an important step: hiding the Manager itself.
More on hiding root in the Magisk guide.
Click to expand...
Click to collapse
Do you know if barclays app also detects other apps like xposed or Root Uninstaller? Like "indirectly" detecting if the phone is rooted?
derei said:
Do you know if barclays app also detects other apps like xposed or Root Uninstaller? Like "indirectly" detecting if the phone is rooted?
Click to expand...
Click to collapse
No idea, but that is a quite common detection method...
Didgeridoohan said:
No idea, but that is a quite common detection method...
Click to expand...
Click to collapse
Were you able to use Barclays App with rooted phone?
derei said:
Were you able to use Barclays App with rooted phone?
Click to expand...
Click to collapse
I've never used the app... But, IIRC, it's one of the banking apps with dependencies.
If anyone was able to run Barclays app on rooted phone, I'd appreciate to share their experience.
Didn't work for me. Hid the app and magisk. Disabled Xposed and passed SafetyNet. Device showing certified under Playstore. App was starting and crashing.
derei said:
If anyone was able to run Barclays app on rooted phone, I'd appreciate to share their experience.
Click to expand...
Click to collapse
If I hide the Manager, add the app and the phone app (com.android.phone) to the Hide list, it starts just fine. Otherwise it doesn't start and complains about a rooted phone. If the app has detected root once, I have to clear app data for it to work. Can't test more than that since I'm not a customer of that bank.
All of this is documented in the links I've posted above...
Didgeridoohan said:
If I hide the Manager, add the app and the phone app (com.android.phone) to the Hide list, it starts just fine. Otherwise it doesn't start and complains about a rooted phone. If the app has detected root once, I have to clear app data for it to work. Can't test more than that since I'm not a customer of that bank.
All of this is documented in the links I've posted above...
Click to expand...
Click to collapse
Will test using your workaround. Still, is weird that you need to hide the phone app. Any particular reason why this is needed?
derei said:
Will test using your workaround. Still, is weird that you need to hide the phone app. Any particular reason why this is needed?
Click to expand...
Click to collapse
https://forum.xda-developers.com/ap...ces-magisk-t3779919/post76283404#post76283404
Didgeridoohan said:
https://forum.xda-developers.com/ap...ces-magisk-t3779919/post76283404#post76283404
Click to expand...
Click to collapse
thanks, I guess I missed that reading yesterday.
Didgeridoohan said:
If I hide the Manager, add the app and the phone app (com.android.phone) to the Hide list, it starts just fine. Otherwise it doesn't start and complains about a rooted phone. If the app has detected root once, I have to clear app data for it to work. Can't test more than that since I'm not a customer of that bank.
All of this is documented in the links I've posted above...
Click to expand...
Click to collapse
Thanks! Followed your tip but no luck. App crashing straight after giving phone permission.
gkornaks said:
Thanks! Followed your tip but no luck. App crashing straight after giving phone permission.
Click to expand...
Click to collapse
I'm assuming you've cleared data for the Barclay app...
What about other known root apps on your device?
Didgeridoohan said:
I'm assuming you've cleared data for the Barclay app...
What about other known root apps on your device?
Click to expand...
Click to collapse
Yes, I did. Got one app hidden from Magisk and working.
@Didgeridoohan
As you've been asking about other root apps, I have the following:
-Magisk
- Greenify
-BusyBox
-Amplify
-Link2SD
-Root Uninstaller Pro
-SD Maid
(Not sure if I will install Xposed, but most probably I will)
gkornaks said:
Yes, I did. Got one app hidden from Magisk and working.
Click to expand...
Click to collapse
No, I mean: Do you have any apps on your device that the Barclay app might detect? Kind of like below...
derei said:
@Didgeridoohan
As you've been asking about other root apps, I have the following:
-Magisk
- Greenify
-BusyBox
-Amplify
-Link2SD
-Root Uninstaller Pro
-SD Maid
(Not sure if I will install Xposed, but most probably I will)
Click to expand...
Click to collapse
If Busybox means that you have Stericson's or Jrummy's Busybox installer, yes those might trigger apps looking for signs of root. Use @osm0sis Busybox from the Magisk repo and you'll be good to go (it'll be hidden by Magisk, since it's a Magisk module). Root Uninstaller is another app that has been known to trigger a reaction.
But, easiest way for you to know is to freeze or uninstall those apps and see if it works.
If you install Xposed you can be sure that there'll be a whole lot of apps triggering. Xposed can't be hidden and need to be deactivated if there's an app you want to use that doesn't like it.
Didgeridoohan said:
No, I mean: Do you have any apps on your device that the Barclay app might detect? Kind of like below...
If Busybox means that you have Stericson's or Jrummy's Busybox installer, yes those might trigger apps looking for signs of root. Use @osm0sis Busybox from the Magisk repo and you'll be good to go (it'll be hidden by Magisk, since it's a Magisk module). Root Uninstaller is another app that has been known to trigger a reaction.
But, easiest way for you to know is to freeze or uninstall those apps and see if it works.
If you install Xposed you can be sure that there'll be a whole lot of apps triggering. Xposed can't be hidden and need to be deactivated if there's an app you want to use that doesn't like it.
Click to expand...
Click to collapse
I've got few like Greenify, DNS changer and UMS enabler root apps. The rest is Magisk modules: Xposed and Busybox which were disabled when I was trying to launch Barclaycard app. It was complaining about the root just crashing after granting phone permissions. Got it working on my IPhone anyway. Thanks!
Good news:
Barclays app is working with Magistik.
I had to hide:
-barclays
-dialer
and as a precaution:
-app systemizer (magistik module)
-sd maid + Pro key
-Solid Explorer (as it can use root features)
I had to remove:
-Xposed (even though it was installed as magistik module)
-Amplify
I'm curious if there would be a way to DISABLE Xposed when Barclays is used, in a way that it won't be discovered (and no reboot required, ideally). In this way, maybe I could use Amplify... any ideas?
Main point is that I'm not using Barclays App all day long, so a small inconvenience would be accepted when I need the app, but Amplify is providing considerable benefit continuously, so it would make sense to have a compromise that keeps both with minimum of complications/discomfort.
Barclays App works if you hide it in Magisk Manager and you hide Magisk manager manager. No need to hide Phone Dialer.
If the described setup does not work, means your system is "dirty". In your case you had Xposed installed. Even if can be installed as a Magisk Module, YOU WILL BREAK HIDING SYSTEM IF YOU INSTALL XPOSED!!!!!!!!!!!!!!!!!!!!
You have to make a decision. Pick one:
- Barclays
- Xposed
Next time search in the main Magisk support thread, because me and others have discussed about Barclays app many times.

Does Citrix Secure Mail app work with Magisk?

I want to root my phone, but I want to check if Secure Mail works on rooted phone with Magisk. Can someone confirm? Thanks.
This is the link to the app: https://play.google.com/store/apps/details?id=com.citrix.mail.droid
I tested it out. I added it into Magisk Hide within the Magisk Manager app and it started to work. However, the first time I tried, I was given an error.
Ariac Konrel said:
I tested it out. I added it into Magisk Hide within the Magisk Manager app and it started to work. However, the first time I tried, I was given an error.
Click to expand...
Click to collapse
Thanks, Ariac for testing it out.
I will only get that Error, without also hiding the manager
Ariac Konrel said:
I tested it out. I added it into Magisk Hide within the Magisk Manager app and it started to work. However, the first time I tried, I was given an error.
Click to expand...
Click to collapse
Hi.. I am not able to get it work with quickedit app by citrix. Its used to open attachments from citrix securemail app
Nikhil2608 said:
Hi.. I am not able to get it work with quickedit app by citrix. Its used to open attachments from citrix securemail app
Click to expand...
Click to collapse
Same
quickedit called from secure mail detects root, while quickedit stopped detecting it if called directly after added to magisk hide
Seems Magisk doesn't hide fast enough on intent or something
thermatk said:
Same
quickedit called from secure mail detects root, while quickedit stopped detecting it if called directly after added to magisk hide
Seems Magisk doesn't hide fast enough on intent or something
Click to expand...
Click to collapse
Use Root cloak xposed module and select the apps. Plus add 'Magisk' in ' Add/remove keywords hidden by RootCloak'. It works...
Nikhil2608 said:
Use Root cloak xposed module and select the apps. Plus add 'Magisk' in ' Add/remove keywords hidden by RootCloak'. It works...
Click to expand...
Click to collapse
Thank you!
Nice, but I'm on Pie, no Xposed herr
Are you suggesting it detects "Magisk" as keyword, so renaming the app would work? Or you added these rules in advance and aren't sure they are the key to success?
thermatk said:
Thank you!
Nice, but I'm on Pie, no Xposed herr
Are you suggesting it detects "Magisk" as keyword, so renaming the app would work? Or you added these rules in advance and aren't sure they are the key to success?
Click to expand...
Click to collapse
I added the magisk keyword as a precaution. Without xposed, root is detected when if you change the package name and app name..
Nikhil2608 said:
I added the magisk keyword as a precaution. Without xposed, root is detected when if you change the package name and app name..
Click to expand...
Click to collapse
could you disable the keyword thing, reboot and test it? I have decompiled SecureHub, but the root detections are in native code, so didn't help to see what they detect.
My guess would be it's the app name, if the keyword helps. Then I just need to manually change Magisk app name, because the built-in rebuilding changes package name only.
https://discussions.citrix.com/topi...for-android-that-might-cause-a-security-risk/
Also, this guy should not be shaken hands with :laugh:
thermatk said:
could you disable the keyword thing, reboot and test it? I have decompiled SecureHub, but the root detections are in native code, so didn't help to see what they detect.
My guess would be it's the app name, if the keyword helps. Then I just need to manually change Magisk app name, because the built-in rebuilding changes package name only.
https://discussions.citrix.com/topi...for-android-that-might-cause-a-security-risk/
Also, this guy should not be shaken hands with :laugh:
Click to expand...
Click to collapse
Rootcloak works even after deleting magisk from the keywords. But if I delete the rootcloak, quickedit detects root even after changing the package name and app name.
My process to get Secure X working
I've got this working with a fresh install on Nexus 6, TWRP 3.2.3-0, LineageOS 15.1-20181226-nightly-shamu, Magisk Hide (Secure Hub, Secure Mail, Secure Web, installed from play store), Xposed Framwork V90 beta3 with RootCloak 2.1.1 added Secure Hub, Secure Mail, Secure Web. Btw I never opened Secure Hub or apps until Magisk and Xposed where fully configured.
Maybe too much info but its working good for me and thanks for the tips in the thread.

Banking app works only when magisk manager was uninstalled

Hello together,
I would like to continue using my banking app that worked in the past aside my magisk installation. I simply had to activate hide in magisk manager and I was fine to go without issues.
Since latest updates, this banking app only works if I have uninstalled the magisk manager app. I think this way of "app detection" is different compared to normal su or safetynet checks...right?
As there is a feature in settings that randomizes the package name, what might be the problem that the banking app nowadays recognizes my manager app? I really just have to uninstall the manager apk, then everything is fine again.
It probably detects "Magisk" in the app name (rather than the package name that you can randomise). There are plans to circumvent this as well. No ETA...
Didgeridoohan said:
It probably detects "Magisk" in the app name (rather than the package name that you can randomise). There are plans to circumvent this as well. No ETA...
Click to expand...
Click to collapse
Thanks for letting me know. Is there a thread or feature you could name?
God-Future said:
Thanks for letting me know. Is there a thread or feature you could name?
Click to expand...
Click to collapse
Latest Magisk already does this...

Chase Mobile App detecting root

Using the MIUI 10 EU rom right now and I'm still having issues trying to figure out how the app detects root.
App - Chase Mobile Banking App
This doesn't allow me to use reward points, but also does not allow me to add new contacts on their QuickPay Zelle.
The error message that appears is "For your security, the chase mobile app is not available on devices that have been "rooted" or contain malware".
Tried MagiskHide and even hiding the Magisk Manager (renaming it as well) itself to no success. SafetyNet passes and has no issues with other apps. Anyone have any ideas on what to do or what files it looks at?
ihavenolifee said:
Using the MIUI 10 EU rom right now and I'm still having issues trying to figure out how the app detects root.
App - Chase Mobile Banking App
This doesn't allow me to use reward points, but also does not allow me to add new contacts on their QuickPay Zelle.
The error message that appears is "For your security, the chase mobile app is not available on devices that have been "rooted" or contain malware".
Tried MagiskHide and even hiding the Magisk Manager (renaming it as well) itself to no success. SafetyNet passes and has no issues with other apps. Anyone have any ideas on what to do or what files it looks at?
Click to expand...
Click to collapse
After hide magisk tick for this app you'll have to reboot. If not working it's possible that this app has a second installed service apk which you have to hide too.
Laptapper said:
After hide magisk tick for this app you'll have to reboot. If not working it's possible that this app has a second installed service apk which you have to hide too.
Click to expand...
Click to collapse
I tried this option too. Any idea what second service it would fall under? Thanks
This is an old thread, but I also ran into the same problem on my Pixel 4a 5G. In my case, using Magiskhide on the Chase app and renaming Magisk Manager got things working again. I'm also using the 'Universal SafetyNet Fix' Magisk module to keep SafetyNet happy.
However, the problem came up again for me around the time that I started using the Elemental X Kernel. I've returned to my stock Magisk-patched boot.img and Chase seems happy again. Maybe it's related, and maybe not.
You might want to take a look at your root apps and see if uninstalling any of them helps. If you are running a custom kernel, could try returning to your Magisk-patched boot.img too. Once you find out what Chase is detecting, then you may be able to rename/repackage the offending app and be on your way.
Edit: I read in another forum that simply installing the Chase app in Island may work, but I have not tested this. It should work with Shelter as well, since it's essentially the same thing (isolated work-profile app-management). I prefer Shelter myself, and use it to run two instances of the eBay app at the same time.
Edit 2: There is a more current thread here on XDA that has been keeping up with this issue. Anyone looking for the latest info check here: https://forum.xda-developers.com/t/chase-app-always-detects-root.4099627/
I have the same issue but my phone isn't rooted wtf

"Sundhedskortet" detects root

Hi
The new danish app Sundhedskortet (https://play.google.com/store/apps/details?id=dk.digst.hc&hl=en_GB) detects root, and think i have tried everything in my own toolbox.
anyone with suggestions?
Got it working with a tip from another tread:
"You can also use "shelter" to isolate what the apps can see"
thanks to @Lu5ck
Sundhedskortet detects the hidden Magisk app. Use Island.
Tried Island and Shelter.
Fixed my issue with AL-Bank, but Sundhedskortet still detects root.
Tried uninstalling from main profile and installing directly in the work profile, but still complaining...
Feeling a bit foolish now... Forgot to actually uninstall from main profile, noticed the duplicate in my launcher, uninstalled - and now works like a charm (Shelter, but guess Island would work similarly).
ksga said:
Feeling a bit foolish now... Forgot to actually uninstall from main profile, noticed the duplicate in my launcher, uninstalled - and now works like a charm (Shelter, but guess Island would work similarly).
Click to expand...
Click to collapse
EDIT: nevermind. I did a reboot and everything is working now. Thanks!
Hi - I have the same problem. Can you explain what you did step by step? I installed shelter and then installed sundhedskortet directly using Google play in my work profile but the app still detects root
Thanks!
Peter
I have tried installig shelter and island - installed Sundkedakortet on the work profile but still says root detected.
Can you tell me more specific what you did to make it work?
Im rooted with Magisk and Magisk hide is activated + Sundhedskortet is hidden.
KAngelo said:
I have tried installig shelter and island - installed Sundkedakortet on the work profile but still says root detected.
Can you tell me more specific what you did to make it work?
Im rooted with Magisk and Magisk hide is activated + Sundhedskortet is hidden.
Click to expand...
Click to collapse
Have you uninstalled from main profile? And then remember to reboot. Mine didn't work till after reboot.
Same issue. Sundhedskortet detects root, no idea how.
Using magiskhide, rename magisk and app is added in the magiskhide list.

Categories

Resources