{Guide} Install the best sound mods for android 10

mido hamdy

Senior Member
May 13, 2012
103
20
38
Cairo
hi,
This is a full guide on installing the best sound mods and get a flagship grade audio performance in android 10
I'm not a developer. all credits goes to the developers of ainur audio and viper4android.
please hit thanks if I helped.

1- Uninstall all of your existing audio mods
2- make sure that the kernel is permissive to avoid any issue, if not, make this step:
just put the following inside a file ( you can name it whatever, say "selinux", doesn't even need an extension), place it in /data/adb/service.d, give it execution permission and that's it:
#!/system/bin/sh
setenforce 0

That'll change to permissive at each boot.
3-Install audio mods from Magisk in this exact order:
a- Ainur Sauron Then reboot to TWRP recovery and mount all partitions
then go to /data/ADB/modules/ Ainur SAURON > delete services.sh to avoid boot loops then reboot to system,
b- install Viper4Android and don't open it then reboot the system and open Viper4android, install drivers then reboot to recovery,
mount everything and go to the file manager, copy the file post-fs-data.sh to /data/ADB/modules/viper4android then reboot system,
c- install Audio Mod Library (AML), reboot.
4- open viper4android and apply these settings to enjoy a great sound quality from my experience:
speaker > enable master limiter > enable playback gain control and modify the output threshold value to 0.
Headset > enable master limiter > enable playback gain control and modify the output threshold value to 0,
> enable FIR equalizer and use these values: 3.5 - 6.0 - 3.0 - 0.0 -0.0 - 0.0 - 0.0 - 0.0 - 0.0 - -0.5
> enable convolver and put the attached file Htc Beats Audio in the kernel folder inside viper4android folder > select impulse response and select HTC Beats Audio file in kernel folder > cross channel 25%.
> enable headphone surround+ level 2 > enable dynamic system only without modifications of the vlaues under it.
> enable viper bass, bass mod: natural bass - bass frequency: 80HZ - Bass gain: 10dB
> enable viper clarity , Clarity mode: natural - clarity gain 8dB.
For Bluetooth and USB, apply the same headset settings.
Enjoy the quality sound and hit thanks :laugh:
 

Attachments

luukvbaal

Member
Feb 12, 2017
19
4
3
Got it working but had to do a few things differently!
I noticed my SELinux wasn't set to permissive after following step 2. Make sure to set executable bit for the file then it should work.
For Viper4Android I used the apk from XDA labs instead of the magisk module. Magisk module resulted in boot loop every time even after copying the post-fs-data.sh file.
Thanks again!
 
Mar 9, 2019
31
7
0
i followed all the steps above but i get the prompt to install the driver then i tap yes and i wait until it says driver installed but after a reboot it repeats that again and asks for the driver installation and when i check the driver statuse it is 0.0.0.0 please help me
 

Abhi8232

Senior Member
Sep 23, 2018
73
54
0
Everyone who is finding it difficult can follow my steps:

(Extract files shared by author first and foremost.)

1: Install Ainur Sauron from magisk and reboot to recovery.
2: Go to data/adb/modules_update/ and delete services.sh and reboot.
3: Install viper4androidfx from magisk and reboot.
4: Open viper and install drivers( It will reboot system automatically, but) reboot to recovery.
5: Copy file post-fs-data.sh to data/adb/modules/viper4android and reboot
6: Install audio modification library from magisk and reboot.
7: When u open viper it will prompt to install drivers. Install and reboot to recovery ( by pressing volume buttons and power button) otherwise it will not boot.
8: Again perform step 5 and reboot. Now u r ready to go.

You can follow the settings explained by the author for good sound. All credits to him.
 
Last edited:

shivang_bagh

Senior Member
Sep 1, 2017
88
14
8
Everyone who is finding it difficult can follow my steps:

(Extract files shared by author first and foremost.)

1: Install Ainur Sauron from magisk and reboot to recovery.
2: Go to data/adb/modules_update/ and delete services.sh and reboot.
3: Install viper4androidfx from magisk and reboot.
4: Open viper and install drivers( It will reboot system automatically, but) reboot to recovery.
5: Copy file post-fs-data.sh to data/adb/modules/viper4android and reboot
6: Install audio modification library from magisk and reboot.
7: When u open viper it will prompt to install drivers. Install and reboot to recovery ( by pressing volume buttons and power button) otherwise it will not boot.
8: Again perform step 5 and reboot. Now u r ready to go.

You can follow the settings explained by the author for good sound. All credits to him.

Option 4 5 and 7 are same ,so we have to do it two times ? And it is working on selinux enforcing ?
 

mido hamdy

Senior Member
May 13, 2012
103
20
38
Cairo
i followed all the steps above but i get the prompt to install the driver then i tap yes and i wait until it says driver installed but after a reboot it repeats that again and asks for the driver installation and when i check the driver statuse it is 0.0.0.0 please help me
it may need to repeat that 3 times according to your ROM, I tested these steps on two different devices that were having problems with viper before.

how to create that file ? And How to give the execution permission to that file ? Could you elaborate it please ...
use root explorer or mixplorer and Create empty file then open it as note editor and put the two lines in the instructions.
 

mido hamdy

Senior Member
May 13, 2012
103
20
38
Cairo
Everyone who is finding it difficult can follow my steps:

(Extract files shared by author first and foremost.)

1: Install Ainur Sauron from magisk and reboot to recovery.
2: Go to data/adb/modules_update/ and delete services.sh and reboot.
3: Install viper4androidfx from magisk and reboot.
4: Open viper and install drivers( It will reboot system automatically, but) reboot to recovery.
5: Copy file post-fs-data.sh to data/adb/modules/viper4android and reboot
6: Install audio modification library from magisk and reboot.
7: When u open viper it will prompt to install drivers. Install and reboot to recovery ( by pressing volume buttons and power button) otherwise it will not boot.
8: Again perform step 5 and reboot. Now u r ready to go.

You can follow the settings explained by the author for good sound. All credits to him.
thank you,
there are some ROMs that need to repeat installing viper drivers, on havoc 3.0 or MSM 4.0 there is no need to repeat anything.
 

Abhi8232

Senior Member
Sep 23, 2018
73
54
0
Option 4 5 and 7 are same ,so we have to do it two times ? And it is working on selinux enforcing ?
I have not messed with selinux( but earlier did exactly same what author tells ). After completing all steps mentioned by author when i opened viper it prompted to install drivers again. When i installed drivers and rebooted i faced a bootloop. So i again copied the file post-fs-data.sh and rom booted again.
Same procedure (what i mentioned earlier) i follow everytime.
 
Last edited:

HACKIMTOSH

Senior Member
Sep 9, 2017
101
12
18
adb shell or terminal emulator -> chmod 744 /data/adb/service.d/<filename of setenforce 0 script>
Or use a root file browser like mixplorer and go to file properties of the script and set execute permissions that way.
Thank you bro it works but when i switched the kernel i lost fp gestures i'm using AEX 6.6
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone