[Q] disable enforcing - Galaxy Grand Prime Q&A, Help & Troubleshooting

hey guys...
Any1 know how can I disable enforcing in linux? IS there any kernel for it? or can I do it with edit build.prop ?
tnx

init.d script
ok
there is a simple method
it depends on init.d of your phone
rooted phone also
does init.d working in your phone?

Related

SELinux Permissive KERNEL

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

how to use init.d support on custom kernel?

I am using custom kernel that has init.d support, I am on stock rom but there is no init.d folder on system/etc so can i just create the init.d folder and put all scripts there would that even work?
TaylorDahmer said:
I am using custom kernel that has init.d support, I am on stock rom but there is no init.d folder on system/etc so can i just create the init.d folder and put all scripts there would that even work?
Click to expand...
Click to collapse
i thinks maybe .
most all custom kernel here have init.d support . if you using kernel that doenst support init.d - just download it from google play (ex - Universal Init.d) . it can activate your init.d folder
Sent from my GT-S5360
TaylorDahmer said:
I am using custom kernel that has init.d support, I am on stock rom but there is no init.d folder on system/etc so can i just create the init.d folder and put all scripts there would that even work?
Click to expand...
Click to collapse
Go to the link http://forum.xda-developers.com/showthread.php?t=1933849
So search befor posting..
imElectronica said:
Go to the link http://forum.xda-developers.com/showthread.php?t=1933849
So search befor posting..
Click to expand...
Click to collapse
http://forum.xda-developers.com/show....php?t=1933849
already been there, but it is only for those who don't have init.d support.. my kernel has init.d support.. but the system/etc/init.d isn't in my phone.. my question now is can I just create it if it doesn't exist? or do I need to do something else before doing that like editing some xml or whatever so it could run the scripts inside init.d
TaylorDahmer said:
http://forum.xda-developers.com/show....php?t=1933849
already been there, but it is only for those who don't have init.d support.. my kernel has init.d support.. but the system/etc/init.d isn't in my phone.. my question now is can I just create it if it doesn't exist? or do I need to do something else before doing that like editing some xml or whatever so it could run the scripts inside init.d
Click to expand...
Click to collapse
like i said . just download app like (ex Universal Init.d or Init.d Toggle) from google play to active/enable your init.d folder .
Sent from my GT-S5360

[Request] S5 SM-G900H Kernel Enable Permissive SELinux

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.

Init.d scripts

Can somone tell what scripts are in the default init.d folder? I accidentally deleted some script using kernel auditor, and dont know if i screwed some stuff up or not. Iam using wetarom lg v20...
Thx in advance!

Is it possible to set permissive without CR?

Hello there, my english is the worst but I'll try to explain,
Im a newbie, I dont know that dev terms, terminal and script use and etc that you guys do
Its just simple, I need to use some apps that says my phone need to be permissive mode, my cellphone is rooted with a 3.0.2 twrp on it.
is it possible set to permissive without install a custom rom? I don want to change my stock rom cause I'm affraid glitchs and etc
I've try some apps i've found here on xda, like selinux switch, selinux change etc but anything work
I already search here, but thanks to my bad english its difficult to me got good results and understand whats the guys says about that problem.
Mine is a j5000-m android 6.0.1. I dont have problem with lil modifications if it needed, I just dont want to change my hole rom. Thank you guys
Shadoowz said:
Hello there, my english is the worst but I'll try to explain,
Im a newbie, I dont know that dev terms, terminal and script use and etc that you guys do
Its just simple, I need to use some apps that says my phone need to be permissive mode, my cellphone is rooted with a 3.0.2 twrp on it.
is it possible set to permissive without install a custom rom? I don want to change my stock rom cause I'm affraid glitchs and etc
I've try some apps i've found here on xda, like selinux switch, selinux change etc but anything work
I already search here, but thanks to my bad english its difficult to me got good results and understand whats the guys says about that problem.
Mine is a j5000-m android 6.0.1. I dont have problem with lil modifications if it needed, I just dont want to change my hole rom. Thank you guys
Click to expand...
Click to collapse
Have u tried with kernel adiutor? I never used stock permissive kernel, but u can tweak the Corsicanu or Bulgaricus kernels very straightforward to stay permissive...
I suggest u to update your TWRP to lastest and official one for our device 3.1.1. by Vince.
Also using the command "getenforce"u can change selinux state, but u said don't understand using terminal...
I try this kernel auditor, but i dont found anything about selinux on it, i have terminal installed as well, ive try what ive found on another topic about comands (setenforce 0 etc) but it doesnt work, I dont know anything about this kernel thing will it change my phone? UI, apps etc?
Shadoowz said:
I try this kernel auditor, but i dont found anything about selinux on it, i have terminal installed as well, ive try what ive found on another topic about comands (setenforce 0 etc) but it doesnt work, I dont know anything about this kernel thing will it change my phone? UI, apps etc?
Click to expand...
Click to collapse
Kernel will not change your ROM, it's like changing the motor of your car for example.
There's plenty of TouchWiz kernels for j5 from Bulgaricus and Corsicanu, as they're custom kernels for stock, they have different settings and options than stock kernel lacks of. With kernel adiutor you will find selinux option in some of them if not all.
Taivotat2 said:
Kernel will not change your ROM, it's like changing the motor of your car for example.
There's plenty of TouchWiz kernels for j5 from Bulgaricus and Corsicanu, as they're custom kernels for stock, they have different settings and options than stock kernel lacks of. With kernel adiutor you will find selinux option in some of them if not all.
Click to expand...
Click to collapse
How do I change this Kernel? Do you have a download link? Whats the best?
its everithing ok now, I change the kernel, its permisive and my apps works ok thanks...
Shadoowz said:
its everithing ok now, I change the kernel, its permisive and my apps works ok thanks...
Click to expand...
Click to collapse
Nice.

Categories

Resources