[Sony Xperia M2] ARandomIndian:
A QUICK TUTORIAL ON HOW TO INSTALL VIPER4ANDROID ON STOCK FIRMWARE​

Prerequisites​

Download the right version of Viper4Android from here http://xdaforums.com/showthread.php?t=2191223 (Can't link direct download due to OP's request)

Download and install ES File Explorer on your device - https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en

Download SELinuxModeChanger - http://xdaforums.com/showthread.php?t=2524485

Root

__________________________________________________________________________________________________

INSTRUCTIONS

First install Busybox from Playstore open the app and press "Install" then install the downloaded SELinux Mode Changer,

Then open the application on your device, it will ask for root, grant it, then after a couple seconds you will be able to change the modes, now select SELinux Mode "PERMISSIVE" and exit the app,

Now open ES file explorer with root explorer enabled from options, now move Viper4Android to Device/system/app Now long press the app and go to options>Properties Now click Change Permissions and give it the following,

User: Read Write only

Group: Read Only

Others: Read only

Now reboot your device and wait about a minute till your Super User manager has given SE Linux Changer root access, now you should see Viper4Android has been installed and is in your app drawer, now open it, if it prompts you to install a driver, do so, if not continue.

Now go to Driver Status in Viper4Android Settings, after you have enabled it in "Enable" in all tabs you should see

NEON: Enabled

ENABLED: YES

STATUS: NORMAL

AUDIO FORMAT: SUPPORTED

PROCESSING: (YES If playing audio at the moment) (NO if not playing audio at the moment)

Sampling Rate: 48000

__________________________________________________________________________________________________

You now have Viper4Android on your device, have fun listening to pristine quality music.

__________________________________________________________________________________________________

Other Information:​

DRIVER: 2.4.0.1

Build Number: 18.6.A.0.182 (5.1.1 Lollipop)

Date: 25-09-2016

I don't know if i will update this, installation instructions may change over time, make sure you contact/read Viper4Androids instructions before hand always. Especially if this topic gets dated.

__________________________________________________________________________________________________

FAQ:

​

Question: Why not use the Playstore version?

Answer: It's not officially maintained by the Viper4Android devs, this is easy and secure and up to date.

Question: Why do i need the SELinux Changer application?

Answer: Our firmware comes with SELinux mode ENFORCING, which does not allow Viper4Android the permissions it needs to install properly and installation without this will result in only the Viper4Android app working and making no changes to the sound quality as the sound driver fails to work. What this app does is change the mode to PERMISSIVE, which gives it the permissions to install properly so the sound driver installs successfully.

Question: Can i uninstall SELinux Changer application after installation?

Answer: No, the sound driver will fail as soon as you remove it, as it goes back to ENFORCING mode.

Question: I followed the instructions but i still did not notice any sound improvements?

Answer: Try rebooting and wait a couple minutes then open SELinux Changer and make sure it has root access and select PERMISSIVE and make sure It's on by closing and opening it and reboot and try again

*Reinstall the sound driver

*Make sure you tick Enable Viper4Android in all the tabs if you don't know which one your audio is played through and just to be sure

*Post in the Viper4android thread

Question: Can i install this as a user app? And is this a system app?

Answer: Yes you can install it as a user app but you might have problems with installation. Yes this is a system app.

__________________________________________________________________________________________________

Last Updated: 01:06 25-09-2016 IST (I may not keep it up-to-date!)

****Make sure you install BusyBox from Playstore****