How to change se Linux mode ( I tried selinuxmode Changer it doesn't work) - Xiaomi Redmi Note 3 Questions & Answers

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

Related

mobile data dis/enable via shell command in marshmallow

Until Android 6.o arrived you had this command:
Code:
svc data enable
to enable mobile data. That does not work anymore on marshmallow.
Is there any way to solve that in marshmallow?
I need that in my tasker profiles for perfect automation.
I searched with goole a long time and found nothing.
Thanks in advance!
Can you paste here the error?
Did you try to set SELinux to permissive mode?
throwaway-throwaway said:
Can you paste here the error?
Did you try to set SELinux to permissive mode?
Click to expand...
Click to collapse
sorry I can't.. as this feature is mandatory I installed a Lollipop Rom. I can't remember the error.. sorry

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.

How to change MAC address on Redmi Note 4 (nikel)?

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

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

How to change Android OS language viewed on screen, that is, English to Korea?

Hello,
I am a beginner in Android OS.
I have a Xiaomi Redmi note 7 mobile and I built new image from MIUI source code for this mobile.
But I can't change OS language viewed on screen
On where can I insert or remove any language on MIUI source code?
What options must I use for this?
To find right way, I wandered Internet for about 1 week.
But I can't go even one step because I don't know at all.
From where I must start?
And how?
Help me, please!
More and More Detail...
Thank you.
If you don't want to flash any custom rom, you can try using app called morelocale 2 https://play.google.com/store/apps/details?id=jp.co.c_lis.ccl.morelocale&hl=vi
After install, using adb, enter the following command:
Code:
adb devices
adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
Now you can use morelocale 2 to change language. If the display language is not what you expect, then the app itself doesn't support that language.
Ga_hap_la_chanh said:
If you don't want to flash any custom rom, you can try using app called morelocale 2 https://play.google.com/store/apps/details?id=jp.co.c_lis.ccl.morelocale&hl=vi
After install, using adb, enter the following command:
Code:
adb devices
adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
Now you can use morelocale 2 to change language. If the display language is not what you expect, then the app itself doesn't support that language.
Click to expand...
Click to collapse
Why is needed the adb commands??
CeroUno_200 said:
Why is needed the adb commands??
Click to expand...
Click to collapse
Just install it -))))) you'll see why
Ga_hap_la_chanh said:
Just install it -))))) you'll see why
Click to expand...
Click to collapse
Well, i used it for some weeks and i have never had to use that adb commands or root access
I guess it's for enable autostart app bc after reboot i had to manually enable it
CeroUno_200 said:
Well, i used it for some weeks and i have never had to use that adb commands or root access
I guess it's for enable autostart app bc after reboot i had to manually enable it
Click to expand...
Click to collapse
It depends on which rom of your phone. I have a Fujitsu F 04G and i need to use adb to grant permission to the app so it can change location.

Categories

Resources