[p710] How to set selinux to permissive? - LG Optimus L3 II, L5 II, L7 II, L9 II

Hello, how to set selinux if terminal emulator says "selinux not found" or "... invalid argument" ? I tried different kerneles but no one is working with my roms (kk/lp)
I need permissive to install xtrememusic, HELP

Not a kernel. "SELinuxModeChanger" or "KernelAdiutor" have such options,not from PlayMarket .Root access required. AFAIK there is also a init.d script,but i use KA.

Which rom are u using? Stock rom and kernel don't have SELinux. Maybe you can flash xtrememusic with SELINUX Disabled.
I have a p715 with CM12.1 and I could install DivineBeats v8.5 with selinux disabled without any problem.

Related

[Q] setenforce not working after NG6 update

Hi all,
I'm running a newly rooted verizon phone and trying to make a safestrap backup so that I can install a custom rom and finally be rid of touchwiz. As far as I can tell, the only thing stopping me is a swap from enforcing to passive status -- using terminal emulator to enter setenforce 0 or setenforce permissive doesn't work: getenforce returns Enforcing for both. Previous posts make this seem like a relatively simple thing, am I missing something?
Thanks!
Maybe try the SELinux Mode Changer app from Google Play and see what happens.

Viper4Android for Xperia M4 Aqua

This Tutorial is on how to make viper4android work on your xperia m4 aqua(any model)(tested and working be me)
1)Install selinux mode changer and set your selinux to permisive
2)Install viper4android and choose your desirable driver(i personally choosed super audio quality)
3)make sure to have busybox installed before installing driver
4)reboot and done. Viper4android works perfectly.
if you encounter any issues dont hesitate to reply to the thread. please press thanks if this worked for you so other people will see it.
Download viper4android from here http://forum.xda-developers.com/showthread.php?t=2191223
Download selinux mode changer from here http://forum.xda-developers.com/showthread.php?t=2524485
GerasxD said:
This Tutorial is on how to make viper4android work on your xperia m4 aqua(any model)(tested and working be me)
1)Install selinux mode changer and set your selinux to permisive
2)Install viper4android and choose your desirable driver(i personally choosed super audio quality)
3)make sure to have busybox installed before installing driver
4)reboot and done. Viper4android works perfectly.
if you encounter any issues dont hesitate to reply to the thread. please press thanks if this worked for you so other people will see it.
Download viper4android from here http://forum.xda-developers.com/showthread.php?t=2191223
Download selinux mode changer from here http://forum.xda-developers.com/showthread.php?t=2524485
Click to expand...
Click to collapse
Mine didn't fine driver, it said busybox was broken or somthing
Any idea to fix it, Bro?
cafelak said:
Mine didn't fine driver, it said busybox was broken or somthing
Any idea to fix it, Bro?
Click to expand...
Click to collapse
Same here.
You also need to select awesome player instead of nu-player in developer options on lollipop
cafelak said:
Mine didn't fine driver, it said busybox was broken or somthing
Any idea to fix it, Bro?
Click to expand...
Click to collapse
This might be the problem..Go to SuperSu and disable Mount Namespace seperation..did the same, solved the problem
it thanks if i helped you bro!
Can i set the SeLinux Mode back to enforcing after the installation or will this brake v4a?
Silentur said:
Can i set the SeLinux Mode back to enforcing after the installation or will this brake v4a?
Click to expand...
Click to collapse
You can set, but V4a will not work.
Please need help...
I just installed ViPER4Android v2.5.0.5 on my Xperia m4 aqua...
Have problem with driver installation
After installing the driver and reboots, it keep asking for driver reinstallation again when i open viper...
It been doing that over and over...
I switched to version 2.4.0.1, same problem
Need help...
From Xperia M4 Aqua
Marshmallow

Selinux , ViperFX

Hi guys.
Selinux mode changer can't get root access, so i can't use ViperFX. On lolipop it was working properly, but not on Marshmallow. Does anyone know maybe some solution to change the Selinux to permissive? There is some command through ADB, and it's working, but after hard restart, it goes back to enforce. I need a permanent solution, if there is any, or if there is any other way to run ViperFX without changing to permissive... Thanks.
Use kernel adiutor app and download plugin.

Kernel with CIFS for SM-P350 Stock MM

This is my personal compiled Kernel for SM-P350.
There is so little resource for my P350,
I need a Kernel with permissive and cifs function for my daily use,
because i frequently read PDF on local network,
with CIFS mount enbled , i can open PDF directly without the need to download it to my device.
However, i search all the forums, no this kind of Kernel i can find.
That's the reason i decide to learn compiling kernel from zero and finally out this kernel.
You may use this Kernel on P350 stock MM or Fenix Rom MM.
I'm currently on Fenix MM,
I cannot guarantee it will work on you P350, so , make a nadroid backup with TWRP first !
Take your risk by yourself.
Kernel Feather:
-Full Permissive
-Cifs built-in
-NTFS enable
Requirement:
-P350 Stock Android MM or Fenix Rom MM
-Device Rooted with TWRP installed
How:
1: Make sure you have 3 files copy to you internal or external storage.
-boot.img (kernel)(extract it first)
-pronto_wlan.ko(wifi module)(extract it first)
-SuperSu.zip (you can download form net , search it)
2: use your file explorer(with root access) copy pronto_wlan.ko to /system/lib/modules/pronto.
replace the old one, chmod to 644. make sure to backup old one first , rename old one to pronto_wkan.ko.bak.
3ower off device and boot to TWRP.
4:Use TWRP to install boot.img(install as boot, DO NOT CHOOSE RECOVERY)
5:Use TWRP to install SuperSu.zp (to get root re-enable)
6:After all, reboot system, first booting time may take some time , wait , be patient.
7:After boot finsh, check your wifi and root are all functional.
8:Now you can start to use cifs function.
Don't ask me what is CIFS and how to use, search on net.
Also, don't ask me to add more function on Kernel, I'm not a developer,
all i need is Cifs enabled Kernel, no other needed.
Update:
V2: add ondemand governor for better battery life, wifi module also need to be update.
Thansk to Ashyx teaching me on Kernl building, and permissive code form he.
Thankk to cbtc helping me to solve Wifi problem and his Fenix Rom.
Nice job!
kevinchg said:
This is my personal compiled Kernel for SM-P350.
There is so little resource for my P350,
I need a Kernel with permissive and cifs function for my daily use,
because i frequently read PDF on local network,
with CIFS mount enbled , i can open PDF directly without the need to download it to my device.
However, i search all the forums, no this kind of Kernel i can find.
That's the reason i decide to learn compiling kernel from zero and finally out this kernel.
You may use this Kernel on P350 stock MM or Fenix Rom MM.
I'm currently on Fenix MM,
I cannot guarantee it will work on you P350, so , make a nadroid backup with TWRP first !
Click to expand...
Click to collapse
Hi Kevin, this is awesome!!! Thanks for posting this! I have been looking for a CIFS solution for a long time.
I have not installed this yet - just wanted to know if this removes any capability from the Fenix ROM?
Ideally I would like to have all functionality that Fenix gives me, with the ability to CIFS mount my NAS.
Just installed Fenix on the SM-P350 and its awesome (thanks heaps cbtc!)
- Matty -ArctiX
kevinchg said:
This is my personal compiled Kernel for SM-P350.
There is so little resource for my P350,
I need a Kernel with permissive and cifs function for my daily use,
because i frequently read PDF on local network,
with CIFS mount enbled , i can open PDF directly without the need to download it to my device.
However, i search all the forums, no this kind of Kernel i can find.
That's the reason i decide to learn compiling kernel from zero and finally out this kernel.
You may use this Kernel on P350 stock MM or Fenix Rom MM.
I'm currently on Fenix MM,
I cannot guarantee it will work on you P350, so , make a nadroid backup with TWRP first !
Take your risk by yourself.
Kernel Feather:
-Full Permissive
-Cifs built-in
-NTFS enable
Requirement:
-P350 Stock Android MM or Fenix Rom MM
-Device Rooted with TWRP installed
How:
1: Make sure you have 3 files copy to you internal or external storage.
-boot.img (kernel)(extract it first)
-pronto_wlan.ko(wifi module)(extract it first)
-SuperSu.zip (you can download form net , search it)
2: use your file explorer(with root access) copy pronto_wlan.ko to /system/lib/modules/pronto.
replace the old one, chmod to 644. make sure to backup old one first , rename old one to pronto_wkan.ko.bak.
3ower off device and boot to TWRP.
4:Use TWRP to install boot.img(install as boot, DO NOT CHOOSE RECOVERY)
5:Use TWRP to install SuperSu.zp (to get root re-enable)
6:After all, reboot system, first booting time may take some time , wait , be patient.
7:After boot finsh, check your wifi and root are all functional.
8:Now you can start to use cifs function.
Don't ask me what is CIFS and how to use, search on net.
Also, don't ask me to add more function on Kernel, I'm not a developer,
all i need is Cifs enabled Kernel, no other needed.
Update:
V2: add ondemand governor for better battery life, wifi module also need to be update.
Thansk to Ashyx teaching me on Kernl building, and permissive code form he.
Thankk to cbtc helping me to solve Wifi problem and his Fenix Rom.
Click to expand...
Click to collapse
YOU WILL HAVE THE FÉNIX ROM THAT YOU CAN SEND ME

Selinux mode changer not working

How to change selinux to permissive with the app of selinux mode changer im getting error superuser manager dosent allow app to access su or you dont have root at all fix this to use this selinux mode changer (im using redmi note 4 sd version with latest stable global rom 8.2.1.0 and super su version v2.82-sr1)
sjadhav282 said:
How to change selinux to permissive with the app of selinux mode changer im getting error superuser manager dosent allow app to access su or you dont have root at all fix this to use this selinux mode changer (im using redmi note 4 sd version with latest stable global rom 8.2.1.0 and super su version v2.82-sr1)
Click to expand...
Click to collapse
Use terminal emulatr app
And type
su
Give root permission
Then
setenforce 0
sjadhav282 said:
How to change selinux to permissive with the app of selinux mode changer im getting error superuser manager dosent allow app to access su or you dont have root at all fix this to use this selinux mode changer (im using redmi note 4 sd version with latest stable global rom 8.2.1.0 and super su version v2.82-sr1)
Click to expand...
Click to collapse
I have faced the same issue then I flash older version of superSu and updated it on play store now selinux mode will work

Categories

Resources