How to execute inid selinux on boot in MM - Android Q&A, Help & Troubleshooting

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.

Related

[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

How to set selinux permissive PERMANENTLY?

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?

Redmi Note 5 root lost

Xiaomi Redmi Note 5 and Magisk 19.3. After restart phone root is lost. Only installation again Magisk in TWRP helps. What can I do to save root permanently ?
please specify what rom u use, what fw, what kernel and based on 3.18 kernel or 4.9 kernel, any mod you use in your phone?
Kastorpol said:
Xiaomi Redmi Note 5 and Magisk 19.3. After restart phone root is lost. Only installation again Magisk in TWRP helps. What can I do to save root permanently ?
Click to expand...
Click to collapse
Install OrangeFox 10 recovery from fastboot, then boot it without restarting.
When it boots, install the latest Magisk, then reboot to Android, reboot twice and magisk should work just fine.
EriecTan said:
please specify what rom u use, what fw, what kernel and based on 3.18 kernel or 4.9 kernel, any mod you use in your phone?
Click to expand...
Click to collapse
Android 9
MIUI 10.5
Kernel 4.4.153-perf+
no mods are installed
installation orange fox recovery doesn't help - sometimes root is lost and must be installed in recovery ( magisk )

Categories

Resources