I need to put SELinux in permissive mode permanently for a few things. Can someone tell me the best way to do this for this device?
Thanks
You need root for sure. Then there is an apk floating around xda that will switch permissive after reboot. Also kernel adiutor has a plug in that will do the same. Hope that helps.
Sent from my XT1575 using Tapatalk
Thanks! Any idea what the APK is closed? SELinux Mode Changer doesn't seem to stick on reboot. Also who makes kernel adiutor?
Edit: I found it. Testing it now
Edit 2: Will kernel adiutor be enough for XPosed or do I need to disable in a more permanent way for that?
Thanks so much!
I'm pretty sure as long as you use the plugin it should be OK.
Sent from my XT1575 using Tapatalk
Awesome. I'll back it up and give it a shot. Thanks
fbiryujin said:
I need to put SELinux in permissive mode permanently for a few things. Can someone tell me the best way to do this for this device?
Thanks
Click to expand...
Click to collapse
This one https://forum.xda-developers.com/g2...w-to-set-selinux-to-permissive-t3329439/page4
Related
So i need a SELinux Permissive KERNEL for the Galaxy Note III SM-N9005, that doesnt have bugs like that WiFi isnt working, or Camera isnt working, or Force Close of Apps or so. The best i found was the WonderChild Kernel, only problem was that the Camera wasnt working at all, and it ran hot like a baked pizza after some time. Else it was great, the other that i found also set my SELinux to Permissive, but has WiFi and Force Closing issue. Is there ANY kernel out there that is almost problem free? Cause i NEED SELinux on Permissive. I found a way to set SELinux to Permissive without any KERNEL, but the STOCK ROM doesnt support init.d afaik, so it resets everytime i reboot. (Now the problem is im stuck at the same problem as the other guy, i get when i i try to run the script: chmod /sys/fs/selinux/enforce "Permission Denied") Here: http://forum.xda-developers.com/showthread.php?t=2471416&page=7
If anyone knows a way, how to set SELinux to Permissive, that works on reboot (best is just having a KERNEL that does that), please tell me. Thanks
yanniclord said:
So i need a SELinux Permissive KERNEL for the Galaxy Note III SM-N9005, that doesnt have bugs like that WiFi isnt working, or Camera isnt working, or Force Close of Apps or so. The best i found was the WonderChild Kernel, only problem was that the Camera wasnt working at all, and it ran hot like a baked pizza after some time. Else it was great, the other that i found also set my SELinux to Permissive, but has WiFi and Force Closing issue. Is there ANY kernel out there that is almost problem free? Cause i NEED SELinux on Permissive. I found a way to set SELinux to Permissive without any KERNEL, but the STOCK ROM doesnt support init.d afaik, so it resets everytime i reboot. (Now the problem is im stuck at the same problem as the other guy, i get when i i try to run the script: chmod /sys/fs/selinux/enforce "Permission Denied") Here: http://forum.xda-developers.com/showthread.php?t=2471416&page=7
If anyone knows a way, how to set SELinux to Permissive, that works on reboot (best is just having a KERNEL that does that), please tell me. Thanks
Click to expand...
Click to collapse
CivZ Rev 3.2
radicalisto said:
CivZ Rev 3.2
Click to expand...
Click to collapse
Perhaps you missunderstood, Note 3 not Note 8.0 Tablet. Please give me a link to the mod/kernel if its for Note 3. Thanks
yanniclord said:
Perhaps you missunderstood, Note 3 not Note 8.0 Tablet. Please give me a link to the mod/kernel if its for Note 3. Thanks
Click to expand...
Click to collapse
I use it on my note 3 have done for a while, Here it is and for future reference and updates go HERE it's in his custom ROM thread..
radicalisto said:
I use it on my note 3 have done for a while, Here it is and for future reference and updates go HERE it's in his custom ROM thread..
Click to expand...
Click to collapse
Sorry, havent mentioned it, i try to STAY at STOCK. NO Custom ROM, only KERNEL or Mods. But i like the ROM, i may try it some time.
Edit: ok the ROM seems awesome, thanks, i just hope it doesnt remove the Boot Sound, thats one of the features i like at the Note 3
Known that most of Galaxy S5 SM-G900H Exynos users has come to Lollipop. But due to some reason I need a custom kernel to set SElinux mode from Enforcing to Permissive.
I wrote this thread is to ask a favor, if anyone has or want to do a similar thing, please share your work, experiences for everyone who has same demand/needed.
Million Thanks
I too need the Permissive mode. I tried SELinuxModeChanger, as suggested by others and also Synapse but they don't do anything. You can change it in the app from Enforcing to Permissive but as soon as you close the app or click on the apply it jumps back to Enforce mode.....
Me too...
Frann7824 said:
Me too...
Click to expand...
Click to collapse
Have you tried one of these kernels?
https://forum.xda-developers.com/ga...opment-exynos/kernel-crazyaquakernel-t3668606
https://forum.xda-developers.com/ga...lopment-exynos/kernel-duki994-kernel-t3427167
They are for android MM.
Does anybody know a way to make Viper4Android work on roms with new firmware like XXUHPF1. I'm using MBP V5 by melekbarca on the i9500. I already have try unchecking the mount separate option in super su but didn't work. Also tried this in other roms like albe95 and inferno but no luck.
I apologize for my English and my lack of experience.
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
GDReaper said:
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
Click to expand...
Click to collapse
Thank you for your answer but I don't think that's the problem cause I have try using Setlinux mode changer and also had try with versions of viper that don't require permissive kernell and nothing works.
GDReaper said:
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
Click to expand...
Click to collapse
Well actually it seems you were right. I try installing different kernels but had no luck; till I installed stock Permissive Kernel By @AL_IRAQI (http://forum.xda-developers.com/showpost.php?p=59507846&postcount=4860) and untick the separate mount option in super su. Now it works :laugh: . Thanks for the answer
Good to know you solved your problem.
To be noted that stock Samsung kernel is always enforcing, even after you use SELinux mode changer to change your SELinux status.
Sent from my ASUS_Z00AD using XDA Labs
I'm on Pure nexus 7. Latest version. I'm using magisk and phh super user. Anyways I flashed the Deuteronomy 2.3.1. When I boot it up and go to viper4arise. The drivers aren't installed, and says abnormal when I check driver status. I then restored a back up, tried 2.2.3 and the same issue. My music doesnt get changed, shows abnormal in the driver status.
Can anyone help me out? I just want arise to work and if possible to get dolby. I'd be happy with anything
Thanks in advance
Your selinux has to be permissive for it to work
xringo said:
I'm on Pure nexus 7. Latest version. I'm using magisk and phh super user. Anyways I flashed the Deuteronomy 2.3.1. When I boot it up and go to viper4arise. The drivers aren't installed, and says abnormal when I check driver status. I then restored a back up, tried 2.2.3 and the same issue. My music doesnt get changed, shows abnormal in the driver status.
Can anyone help me out? I just want arise to work and if possible to get dolby. I'd be happy with anything
Thanks in advance
Click to expand...
Click to collapse
ArminasAnarion said:
Your selinux has to be permissive for it to work
Click to expand...
Click to collapse
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
ohlin5 said:
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
Click to expand...
Click to collapse
I have no idea how you got it to work then? Mine would only process with my selinux as permissive on Deuteronomy. If I was enforcing the driver status was "unknown" and it wouldnt change anything
ArminasAnarion said:
Your selinux has to be permissive for it to work
Click to expand...
Click to collapse
I've tried both still nothing
ohlin5 said:
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
Click to expand...
Click to collapse
I'll try flashing deut 2.1 and see if it works. I got arise working on 7.0 stock (Used SU) but no clue why its not working now.
I'm thinking this has to do something magisk/phh. Maybe it only works with SU
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
DorianX said:
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
After flashing or before?
After, then reboot
Enviado desde mi Nexus 7 mediante Tapatalk
DorianX said:
After, then reboot
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
Yeah got it to work. Not sure which one worked. But I changed my selinux and flashed and renamed the audio file and its working. Thank you
The issue is PHhh Su. I have been in the exact situtation here is what happens with PhhSu.
1.)You get an i/o error when installing driver, even if Viper4A has Root,and SeLinux set to permissive.
2.)Error/abnormal not supported.
If you want to use phh, you need to switch to permissive using some kind of app OR kernal setting,then go into app,then developer mode,disable selinux,toggle on/off, and then it works.
or
switch to SuperuserSu, has no issue at all.
I perosnally dont like superuserSu because they put some of the busybox features behind a paywall, and also the phh is opensource no paywall for features.
I switched to using the Arise SoundSystem, they released a new update today and i said whta the heck,i did this enough let me give it one more shot. Nope didnt work. Current settings set to permissive,disable selinux via app, and working. But going to switch back to supersu. I have having it to permissive and having to switch everytime i want to play audio.
SOME people said they set to permissive,installed,then set back to enforcing and it works..but ive had no luck.
My suggestion, switch root, install, and forget about it and go post in the phh thread maybe they can fix it.
The issue with the i/o i think is when viper is trying to install the driver.
You can also try installing a zip with the driver installed,but again when you try to use it , youll get an neon not enable,not supported,abnormal.
ATM i cant find a fix myself, if you find a permenant fix that will be using phh ,selinux =enforcing please update me.
---------- Post added at 06:58 PM ---------- Previous post was at 06:54 PM ----------
Just saw your using magisk,systemless right? This was normal root,have not tried systemless,might not be supported at all, this would be asked in the Soundsystem thread?
Drops77 said:
The issue is PHhh Su. I have been in the exact situtation here is what happens with PhhSu.
1.)You get an i/o error when installing driver, even if Viper4A has Root,and SeLinux set to permissive.
2.)Error/abnormal not supported.
If you want to use phh, you need to switch to permissive using some kind of app OR kernal setting,then go into app,then developer mode,disable selinux,toggle on/off, and then it works.
or
switch to SuperuserSu, has no issue at all.
I perosnally dont like superuserSu because they put some of the busybox features behind a paywall, and also the phh is opensource no paywall for features.
I switched to using the Arise SoundSystem, they released a new update today and i said whta the heck,i did this enough let me give it one more shot. Nope didnt work. Current settings set to permissive,disable selinux via app, and working. But going to switch back to supersu. I have having it to permissive and having to switch everytime i want to play audio.
SOME people said they set to permissive,installed,then set back to enforcing and it works..but ive had no luck.
My suggestion, switch root, install, and forget about it and go post in the phh thread maybe they can fix it.
The issue with the i/o i think is when viper is trying to install the driver.
You can also try installing a zip with the driver installed,but again when you try to use it , youll get an neon not enable,not supported,abnormal.
ATM i cant find a fix myself, if you find a permenant fix that will be using phh ,selinux =enforcing please update me.
---------- Post added at 06:58 PM ---------- Previous post was at 06:54 PM ----------
Just saw your using magisk,systemless right? This was normal root,have not tried systemless,might not be supported at all, this would be asked in the Soundsystem thread?
Click to expand...
Click to collapse
I think I got it work with phh su by renaming the audio.conf file that was stated above and then changing the selinux using Kernel Adiutor-Mod. Working fine now.
xringo said:
I think I got it work with phh su by renaming the audio.conf file that was stated above and then changing the selinux using Kernel Adiutor-Mod. Working fine now.
Click to expand...
Click to collapse
Yes changing the seLinux to permissive will make it work, but now youve compromised security. I don't think editing the file was the solution.
Solution should be viper working on phh set to permissive, but yeah no go
DorianX said:
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
Not here. Never have with Deut and it works flawlessly systemwide. My understanding is that the install takes care of that. However, as others have reported, I have to flash the permissive zip for it to work so ...
Sent from my Nexus 6P using Tapatalk
Just wondering if SElinux has to be set to permissive for everything to work? In using H910 variant. Fingerprint works. If It can be set to enforcing, how do I change it? I used permissiver.zip to change it to permissive and don't know how to change it back if I need to. Any help is appreciated. Thanks. Also safetynet passes right now and using LSposed.
did you find the answer to this? the zach selinux zip I normally use on stock does not work for me.
ezzony said:
did you find the answer to this? the zach selinux zip I normally use on stock does not work for me.
Click to expand...
Click to collapse
Never found an answer... I have a OnePlus 7t pro now. It was a post that I read though, that said it had to be permissive for everything to work properly. Not sure though
^^Yeah well who knows. Driving me crazy. Could be a bug in the latest build. Giving me a real headache trying to work it out. I'm going to try using the lineage recovery instead of twrp and if that don't work I'll give up. Thanks, and ohh a 7tPro sounds nice : )
ezzony said:
^^Yeah well who knows. Driving me crazy. Could be a bug in the latest build. Giving me a real headache trying to work it out. I'm going to try using the lineage recovery instead of twrp and if that don't work I'll give up. Thanks, and ohh a 7tPro sounds nice : )
Click to expand...
Click to collapse
It's very nice, just no fully functional TWRP that I can find yet... Only usable to flash ROMs basically
parag0n1986 said:
It's very nice, just no fully functional TWRP that I can find yet... Only usable to flash ROMs basically
Click to expand...
Click to collapse
it's didn't work. I got kernel crash using lineage recovery. So even the recovery is not working for me. This is going well lol. Phew I was able to flash back twrp via fastboot.
Right, and all of a sudden seems problem is solved.
By complete chance I was reading this https://forum.xda-developers.com/t/conversion-of-lg-v20-f800.4161453/#post-84791351
There is a link to a flashable zip to set selinux policy permissive. A different one to the one I usually use by @Zachpth5. This allows the camera driver to load.
https://drive.google.com/file/d/1CRgp7awT86MfRTE2Os1h6fcc7MfPkeLV/view?usp=sharing
Edit: just use selinuxmodechanger apk instead. Can't belive I didn't know about that app 'till now lol