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.
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
I'm willing to pledge $20 USD for the development of a permissive SELinux kernel for the LTE version of this tab.
If anyone else is interested in pledging, post below.
hmmm... what is a permissive selinux?...
micro17 said:
hmmm... what is a permissive selinux?...
Click to expand...
Click to collapse
Opposed to an enforcing selinux kernel, it allows you true root access.
An enforcing selinux kernel prevents the user from performing certain tasks
such as installing Linux on the device.
Refer here for more detailed information:
https://wiki.gentoo.org/wiki/SELinux/Tutorials/Permissive_versus_enforcing
Maybe this thread for the old note 10.1 will give you a better idea:
http://forum.xda-developers.com/showthread.php?t=2471416
is it there a rom based on aosp for i9500 where i can do screen mirroing by using chromecast's app?
I can screen mirroing on aosp roms but the mirror screen is with negative/inverse colors on TV.
This problem (negative/inverse colors) doesnt happen on other tvs using the same chromecast dongle or using another cellphone (lg g2 stock and note 2 stock) and tablet (tab pro 8.4 5.1.1 aosp).
Also it doesnt happen if i use a stock rom based on 5.0.1 touchwiz.
PD: I have tried 2 different gapps and 3 different aosp rom based on 5.1.1. and all of them screen mirror with negative/inverse colors.
No it's a aosp/cm bug.
Lennyz1988 said:
No it's a aosp/cm bug.
Click to expand...
Click to collapse
Thanks for the reply . It should be a bug on aosp on i9500 because im using a galaxy tab pro using resurrection remix with aosp 5.1.1 and screen mirroing doesnt give negative / inverse colors .
Bruno_Tec said:
Thanks for the reply . It should be a bug on aosp on i9500 because im using a galaxy tab pro using resurrection remix with aosp 5.1.1 and screen mirroing doesnt give negative / inverse colors .
Click to expand...
Click to collapse
That is correct. Different device > Different drivers.
Hi,
I used Chromecast screen mirroring fine with PhoenixROM, but it's Touchwiz based. I don't know about Lollipop AOSP/CM based ROMs as I don't own a Chromecast yet.
~Lord
Lennyz1988 said:
That is correct. Different device > Different drivers.
Click to expand...
Click to collapse
Thanks for your answer.
do you know if there is a way to enable selinux in a cm based rom ?
i read in another forum that the problem with screen mirroing is because there is no selinux in cm for i9500.
i havent found a kernel with permissive selinux or a way to enable selinux on cm12.
do you know a way get selinux enabled? thanks.
Bruno_Tec said:
Thanks for your answer.
do you know if there is a way to enable selinux in a cm based rom ?
i read in another forum that the problem with screen mirroing is because there is no selinux in cm for i9500.
i havent found a kernel with permissive selinux or a way to enable selinux on cm12.
do you know a way get selinux enabled? thanks.
Click to expand...
Click to collapse
Hi,
You can't get "SELinux enabled". You can however change it from Enforced to Permissive. To do that try this app out.
All the best,
~Lord
XxLordxX said:
Hi,
You can't get "SELinux enabled". You can however change it from Enforced to Permissive. To do that try this app out.
All the best,
~Lord
Click to expand...
Click to collapse
Thanks for answering . I know that app . My problem is that on a s4 running aosp when i use apps like selinux changer the app says that there is no selinux to change .
Bruno_Tec said:
Thanks for answering . I know that app . My problem is that on a s4 running aosp when i use apps like selinux changer the app says that there is no selinux to change .
Click to expand...
Click to collapse
I have used this on many ROMs whos screen mirroring doesn't seem to work properly, It always seems to ... Well just WORK ! lol - Give this a shot and see if its helps any
http://forum.xda-developers.com/har...experimental-enable-mirroring-device-t2812193
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
Most of us using custom roms, it will be helpful for me if anyone can suggest me some roms which has Permissive selinux status.
Having some problems with enforcing and problems still remains even after changing selinux.
that's why I'm stucked in a rom and can't shift because most roms comes with enforcing selinux.
tested so many roms but can't solve audio problem that's why need some rom that comes with permissive selinux by default.
any one facing same problem?
Everything working fine with enforcing selinux for me. Perhaps a complete clean flash with latest firmware might fix your problem. Otherwise you can use permissive selinux module.
farhanshaikh671 said:
Everything working fine with enforcing selinux for me. Perhaps a complete clean flash with latest firmware might fix your problem. Otherwise you can use permissive selinux module.
Click to expand...
Click to collapse
as i told tried every single solutions I got from here and there, also this solution but not worked. now I'm kind of hopeless and searching for roms that comes with permissive.
DinIslamJoy said:
as i told tried every single solutions I got from here and there, also this solution but not worked. now I'm kind of hopeless and searching for roms that comes with permissive.
Click to expand...
Click to collapse
you can try borets rom. It has an option to manually enable/disable enforcing selinux.
farhanshaikh671 said:
you can try borets rom. It has an option to manually enable/disable enforcing selinux.
Click to expand...
Click to collapse
thanks a lot
Which custom will better then stock rom for my XOOTD device.
pls suggest me.
Official Lineage OS 16 released for our device. It theoretically should give better performance than stock.
You may consider installing latest colt rom. Not only it meets your requirements but also can be used as a daily driver.
Use nxp.zip and get audio problem fixed