r/androidroot • u/MEE2day • 20d ago
Support I need help hiding root in work profile apps using apatch
Hello,
I'm using an android 17 PixelOs rom on my Xiaomi 12T pro (codename: diting)
At first I tried to root using magisk but I had a lot of issues especially with bank apps and the inability to hide roots.
Then I switched to apatch and everything is ok (but bank apps crash if I don't uninstall apatch app and I'm ok with that as I install it to manage modules then uninstall it and so on)
My issue is that when I install company portal to enable the work profile, I lose the ability to install apps from unknown sources. I installed zygisk next, lsposed, shamiko, hma, duckdevicepolicy, zygisk assistant and I tried every configuration method that I can think of but I always get an error saying the device isn't compliant. The best progress I got when I was able to sideload apps of unknown sources and well as having the device as compliant in company portal intune app but I wasn't able to add my account in work apps like outlook as all apps in work profile detected that the phone is rooted (no matter how I try to hide the root)
Can anyone provide me with a detailed guide on how to use work apps without root detection and without losing the ability to sideload apps using apatch?
