I've rooted and froze everything Knox related yet SELinux switches back to enforcing no matter what I do. Suggestions?
mascondante said:
I've rooted and froze everything Knox related yet SELinux switches back to enforcing no matter what I do. Suggestions?
Click to expand...
Click to collapse
We would need a custom kernel to set it to permissive. For that, we'd need an unlocked bootloader.
Should all Knox app be frozen, what are the pros and cons?
Hello everyone!!!
I have installed mokee(MK44.4-p880-150131-HISTORY) rom on my phone with 3.1.10-WerewolfJB_v010 kernel.
I want to enable SElinux but I dont know how, currently at my phones settings->about->SElinux it says disabled.
How can I enable it in permissive mode? Thank you
I need it for V4A and some other stuff I tried several things such as terminal emulator, SELinux mode changer etc. nothing worked I don't want to flash kernel or ROM do I have any options to get it on stock nougat ? I have N920C device by the way. Thanks in advance...
Jaqen Hghar said:
I need it for V4A and some other stuff I tried several things such as terminal emulator, SELinux mode changer etc. nothing worked I don't want to flash kernel or ROM do I have any options to get it on stock nougat ? I have N920C device by the way. Thanks in advance...
Click to expand...
Click to collapse
Install busybox(from google play) and use this Arise zip: https://androidfilehost.com/?fid=457095661767141554
If you only want Viper, select it and skip the others. There is an option to set the policy as Permissive, select it too. It ''may'' work. You havent mentioned that your device is rooted or not. Viper as I know works on rooted devices.
Kalisfura1001 said:
Install busybox(from google play) and use this Arise zip: https://androidfilehost.com/?fid=457095661767141554
If you only want Viper, select it and skip the others. There is an option to set the policy as Permissive, select it too. It ''may'' work. You havent mentioned that your device is rooted or not. Viper as I know works on rooted devices.
Click to expand...
Click to collapse
Of course it's rooted but I already tried something else and it's worked I flashed the NForce kernel and it's already permissive
So im trying to root the stock s7 boot.img (G935U) and so far I've gotten Xposed, Dolby, and a ton of build.prop tweaks. So I obviously disabled all the Knox and TIMA stuff, as well as kap and Selinux.
Now, after flashing eng boot, and running the root.bat (system root, not systemless like usual) it is rooted. Then I flash stock boot.img and all the apps are present, and in SuperSU is says that the SU binary is occupied.
I pulled a logcat and it was a SELinux issue, SELinux being set to Enforcing seems to be preventing root and scripts to run.
So, my question... With Xposed being fully functional, is there any way to set SELinux to permissive with ONLY Xposed, no root?
Thanks for reading, awaiting a response
Edit: Forgot this isn't an s7 thread.... Whoops. So let me clerify the eng boot:
The eng boot is what we use to root, it's insecure and adb is insecure, and dm verity is disabled (aside from custom images like twrp, the eng boot is still signed by Sammy) and with it being insecure and no dm verity, we can do about anything we want. Dope right? Well, aside from the horrendous lag and crappy battery life, hence my efforts towards root on stock.
Craz Basics said:
...So, my question... With Xposed being fully functional, is there any way to set SELinux to permissive with ONLY Xposed, no root?
Click to expand...
Click to collapse
From what I know, xposed is more "system-mod-inject", so simple script like selinux changer are not made for xposed, instead they are for magisk.
Just asking: since supersu is slowly dying and magisk growing, why not try with Magisk, which adds/replaces things systemlessly?
I found a guide for your phone: here
Not sure if there is a better method now, but then you will be able to install useful magisk modules + xposed systemless with other useful modules, everything easy to remove or update.
So, no need to set permissive for root. Just saying.
TENN3R said:
From what I know, xposed is more "system-mod-inject", so simple script like selinux changer are not made for xposed, instead they are for magisk.
Just asking: since supersu is slowly dying and magisk growing, why not try with Magisk, which adds/replaces things systemlessly?
I found a guide for your phone: here
Not sure if there is a better method now, but then you will be able to install useful magisk modules + xposed systemless with other useful modules, everything easy to remove or update.
So, no need to set permissive for root. Just saying.
Click to expand...
Click to collapse
I would definitely try Magisk, but I'm unable to. First and foremost, I don't have the Exynos variant so my bootloader isn't unlockable.
Because of that, I can't flash custom boot/recovery imgs. Magisk modifies the boot.img. I'm able to do some system mods because of a dm-verity "spoof" where it allows system mods on stock. I use eng to flash everything and then flash stock boot again.
Thanks for the reply though
May I know if this is normal?
Preserve Force Encryption is always checked & i cannot Set Linux to Permissive
Please see attachment for reference
aoshi62 said:
May I know if this is normal?
Preserve Force Encryption is always checked & i cannot Set Linux to Permissive
Please see attachment for reference
Click to expand...
Click to collapse
You can't set SELinux to permissive because of the Kernel from the Stock ROM B360.
If you want SELinux on permissive you have to flash another Kernel, But if you think after that
you will install viper4android successfully, you are wrong.
I tried, I flashed another kernel, this one:
https://forum.xda-developers.com/p10-plus/development/kernel-hyperplus-kernel-oreo-t3753128
can now get busybox working, but the driver for viper4android will still not install/load.
MyPhone: VTR-L29c636 dual sim on Oreo 8.0 B360