Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work profile detects root after module installation #1165

Closed
3 tasks done
omarilzz opened this issue Nov 21, 2023 · 5 comments
Closed
3 tasks done

Work profile detects root after module installation #1165

omarilzz opened this issue Nov 21, 2023 · 5 comments

Comments

@omarilzz
Copy link

omarilzz commented Nov 21, 2023

Please check before submitting an issue

  • I have searched the issues and haven't found anything relevant
  • I will upload bugreport file in KernelSU Manager - Settings - Report log
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

Work profile Microsoft intune company portal detects root once a module is installed in KSU so no work apps would work resulting in a screen stating
"Device non-complaint This app can't be used because you are using a rooted device. Contact your administrator for help."

In order to be able to use the work apps once more all modules need to be deleted and modules.img to be deleted as well
Although personal apps will work fine whether modules are installed or not

To Reproduce

KSU Manager
Install a Module
Reboot
Unlock Screen
Navigate and Launch any Work app e.g (Teams,Outlook,etc..)
App loads for a brief moment
Error "Device non-complaint"

Expected behavior

To behave normally like device isn't even rooted

Screenshots

1089356152330256384

Logs

bug.zip

Device info

  • Device: Redmi Note 9 Pro ( Joyeuse )
  • OS Version: 14
  • KernelSU Version: 0.7.1
  • Kernel Version: 4.14.330

Additional context

If logs needed kindly advise what type of logs and i will surely share

@Bot-wxt1221
Copy link
Contributor

你的内核4.14没有使用模块卸载,就会被检测。

Your kernel is 4.14 without umount modules support .

View this:
#955 (comment)

你可以参考这个。

@omarilzz
Copy link
Author

I will update the ticket once the maintainer responds

@omarilzz
Copy link
Author

bug.zip
Bugreport from KSU Manager
We already implemented the fixes you mentioned and yet when ever the simplist module gets installed the work profile gets triggered once modules.img is created

@tiann
Copy link
Owner

tiann commented Nov 22, 2023

We already implemented the fixes you mentioned

Please show your kernel source

@tiann
Copy link
Owner

tiann commented Nov 22, 2023

#1062 (comment)

@tiann tiann closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants