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
Related
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.
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.
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.
Help
Sent from my Redmi Note 3 using XDA-Developers mobile app
Do you mean by change SElinux to premsive or enforcing
Changer is working with both for me....
android_smater said:
Do you mean by change SElinux to premsive or enforcing
Changer is working with both for me....
Click to expand...
Click to collapse
It's not working for me. I am using a system less root using magisk
Sent from my Redmi Note 3 using XDA-Developers mobile app
Download terminal emulator from google play and then enter code "su" grant root access after that enter code "getenforce" click ok you will see either enforcing or permissive if there is enforcing then enter code "setenforce 0" linux mode will be changed to permissive if you want to change to enforcing then enter "setenforce 1" and again check your linux mode via entering "getenforce". Hoping its may help
maxpaynebeck said:
It's not working for me. I am using a system less root using magisk
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Well, there is your reason. Selinux mode changer doesn't wait for root access, and system less root always takes a bit more time to receive a root request from application. That's why Selinux mode changer will never have root request granted.
You can try using some scripts etc (I never tried it) or you can perform normal root.
Sent from Note 3, Xiaomi Redmi Note 3.
muklshakya123 said:
Download terminal emulator from google play and then enter code "su" grant root access after that enter code "getenforce" click ok you will see either enforcing or permissive if there is enforcing then enter code "setenforce 0" linux mode will be changed to permissive if you want to change to enforcing then enter "setenforce 1" and again check your linux mode via entering "getenforce". Hoping its may help
Click to expand...
Click to collapse
How about using magisk... Any tips
Hi,
I need to change my mac address. My phone is Xiaomi Redmi Note 4 (with Mediatek X20 processor), with 64GB storage and 3GB RAM. Running latest MIUI Global Stable 8.0.40. Bootloader is unlocked, installed latest cofface's TWRP, and rooted.
I tried several apps (ChameleMAC & Change My Mac don't work), the MTK Engineering Mode method by changing through byte string access in WiFi_NVRAM also didn't work (the 'write' function doesn't do or change anything). Wanted to try the hex editor method, but can't find the /nvram/APCFG/APRDEB folder in /data or /dev folder.
I'm out of ideas. Anybody know a method to change mac address that's actually /U] work for Redmi Note 4 (nikel) with Mediatek X20 processor?
I'm running AOSP rom on RMN4 and can change MAC address with ChameleMAC or MTK Engineer Mode. You must root, then use app called SELinuxModeChanger to set into Permissive, then ChameleMAC can working after that.
http://forum.xda-developers.com/showthread.php?t=2524485
longnt2007 said:
I'm running AOSP rom on RMN4 and can change MAC address with ChameleMAC or MTK Engineer Mode. You must root, then use app called SELinuxModeChanger to set into Permissive, then ChameleMAC can working after that.
http://forum.xda-developers.com/showthread.php?t=2524485
Click to expand...
Click to collapse
THANK YOU!
SELinuxModeChanger is the key.
No success with SElinuxModeChanger or SELinux Toggler
longnt2007 said:
I'm running AOSP rom on RMN4 and can change MAC address with ChameleMAC or MTK Engineer Mode. You must root, then use app called SELinuxModeChanger to set into Permissive, then ChameleMAC can working after that.
http://forum.xda-developers.com/showthread.php?t=2524485
Click to expand...
Click to collapse
Your success in changing the MAC-Adress gave me hope to do the same... (I need to change the MAC-Adress because two of our Redmi Pro have somehow the same MAC-Adress...and this causes constat WIFI-Problems...)
But unfortunately, both apps didn't work for me... (Redmi Pro, SuperSu 2.82, BusyBox)
The Toggler couldn't be installed at all... And the ModeChanger "can't get root" (although SuperSu states, it has root rights...)
Any ideas? Thanks in advance!
UPDATE!
I could install the SELinux Toggler by flashing the ZIP with TWRP... and could finally change the WLAN-MAC-Adress (after a few attempts) with SELinux set to permissive and writing a new MAC-Adress within the Engeneer Mode...
The only strange thing is, that after the first reboot the MAC-Adress changed again to a completely new one. But since then, it stays the same so far...
This App Also Work Like Charm :-
https://play.google.com/store/apps/details?id=net.xnano.android.changemymac