Selinux , ViperFX - Sony Xperia M4 Aqua

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.

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.

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

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

Xposed Framework and Viper4Android on rooted H960A

Hi,
some information for everyone who's interested: I tried to install Xposed Framework and Viper4Android on my rooted H960A and that worked very well.
1. Xposed Framework:
I just installed the latest framework V85 for arm64 and the second screen fix for MM, which you can find here.
Both zip files were flashed via TWRP after I flashed the SuperSu.zip to root my phone. Afterwards I installed the XposedInstaller_3.0-alpha4.apk.
You can find the latest xposed framework here and the Xposed Installer here.
To test the Xposed frameword I installed some modules (RootCloak and Flat Style Bar Indicators). Both modules work perfectly on the V10.
2. Viper4Android:
Why would you want to install Viper4Android if you have a very good Hifi DAC onboard? Simple answers at least for me: Viper4Android supports sound settings for Bluetooth devices. I have a nice Bluetooth headset I wanted to use with my V10 and after the installation I must say it was totally worth it.
You need:
* rooted H960A
* Viper4Android (I used version 2.4.0.1)
* install Busybox and run it at least once to obtain root rights
* set Selinux to permissive
* After the phone is rooted install Busybox and run the installation procedure to have busybox installed (current version 1.24.2).
* Then Viper4Android can be installed and started to install the drivers. The phone needs to be restarted afterwards.
* Then I tried to change Selinux setting to permissive with the app SelinuxModeChanger. But that did not work for me as after starting the app and granting root rights I just received the message that the superuser manager did not allow the application to access root or that my device is not rooted at all.
I tried a manual way by installing a terminal emulator and entering the commands
Code:
su
setenforce 0
Opening Viper4Android and showing the driver status revealed that the driver was now active.
The downside of this manual method is that after a reboot Selinux is set to enforced again and you would have to enter above commands in the terminal emulator again.
To set Selinux to permissive at boot time you can do the following:
* install the "Universal inid.d Tool" from the play store. Start the application and switch the slider at the top of the page to "on" to activate inid.d support. Reboot your phone.
* after the reboot is done start the universal init.d tool again and tap on the entry "scripts" under "Manage your inid.d scripts". Then tap on the pen symbol at the top right of the app screen to edit this script.
* a popup window opens showing "no scripts found". If you tap on this line you can change it. Remove everything and enter the following code instead:
Code:
#!/system/sh
setenforce 0
* tap on "save"
That should be it. Now every reboot Selinux is set to permissive again.
Have fun.
If you have questions I will try to answer them.
thank you very much for this tutorial
did you notice any battery drain ?
vip57 said:
thank you very much for this tutorial
did you notice any battery drain ?
Click to expand...
Click to collapse
No, so far no noticeable battery drain. But I have this running only since yesterday afternoon. I will observe the battery consumption an let you now should I notice any drain.

[p710] How to set selinux to permissive?

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.

Categories

Resources