How to set selinux permissive PERMANENTLY? - Xiaomi Poco F1 Questions & Answers

Hi friends,
Please tell me how to set selinux permissive, so that it can resist reboot?
I'm using magisk 19.1 and MIUI Stable 103.4 version, also JamesDSP + Ainur Sauron + AML + Audio Compatibility patch.
JamesDSP crashed every time, and I figured out, that it's caused by sepolicy set to enforcing.
When I repaired it in TWRP, JamesDSP worked fine, but next reboot destroyed permissive mode.
I tried to google, flashing permissive scripts, but it's not working, works till next reboot.
Anybody knows how to set permissive selinux that persist reboots?

Related

How to execute inid selinux on boot in MM

I have a Xiaomi Redmi 3s and I would like to have selinux to permissive on boot. I have systemless root so the command
To make root work on boot seems to be a bit different.
I tried using kernel auditor but that doesn't seem to work.

[Help] Dolby with SELinux enforcing and no root

Pretty self explanatory; Looking for a way to install Dolby on a phone with SELinux enforcing and no root. On a beta Oreo build and can't root it yet. On top of no root, it has a locked bootloader (not unlockable)
I do however, have a debug recovery, so I can run adb as root. So I can push files.
It may not have been done yet, but any ideas? I know it worked on Nougat. Any help is appreciated!

Any permissive kernel?

Hello. I have unlocked bootloader, root and TWRP recovery. Any permissive kernel for this device ? Switch App don't work. I want to install viper audio but in enforcing kernel state drivers don't work/install correctly. Any ideas?

SELinux Permissive EMUI9

Has anyone managed to get Permissive Selinux?
I tried some apps and from terminal with no luck
UP

Cannot pass CTS check

After clean flashing my ROM today I just can not get cts check-in Magisk to pass. Tried different ROMs (Xiaomi.eu, crDroid etc), Magisk Canary, Magisk Stable, manually selected Poco fingerprint with MagiskHide Props Config
Any ideas?
Currently on Xiaomi.eu 11.0.6 with the stock kernel
dustojnikhummer said:
After clean flashing my ROM today I just can not get cts check-in Magisk to pass. Tried different ROMs (Xiaomi.eu, crDroid etc), Magisk Canary, Magisk Stable, manually selected Poco fingerprint with MagiskHide Props Config
Any ideas?
Currently on Xiaomi.eu 11.0.6 with the stock kernel
Click to expand...
Click to collapse
Yep having the same problem....... don't know what is going on........
Yep having the same problem
Users who have not even unlocked bootloader ever will also fail safety net test
As this is an issue from Google and we all are waiting for a fix from their side
I tried this from other post and it worked. running miui 11.0.6. with lawrun kernel, be magisk hide off, selinux permissive and usb debugging on.
1. From your magisk, install these 2 modules: Riru - Core, and Riru - EdXposed (Sandbox or Yahfa is okay]
2. Reboot your device to activate both modules.
3. Install Xposed Installer APK by DVDandroid.
4. Reboot to activate the Xposed Installer app
5. Inside Xposed Installer app, go to downloads and install the HiddenCore Module.
6. Reboot and go back to Magisk and test the SafetyNet.

Categories

Resources