{Guide} Install the best sound mods for android 10 - Lenovo P2 Guides, News, & Discussion

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:

Unable to understand the step 2

Hi thanks for the guide.
However I get boot loop after step 3b on a fresh havoc install

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!

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

how to create that file ? And How to give the execution permission to that file ? Could you elaborate it please ...

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.

Abhi8232 said:
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.
Click to expand...
Click to collapse
Option 4 5 and 7 are same ,so we have to do it two times ? And it is working on selinux enforcing ?

shivang_bagh said:
Unable to understand the step 2
Click to expand...
Click to collapse
this step to avoid issues like viper not processing, u can skip it and use this app will do it easily
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502

luukvbaal said:
Hi thanks for the guide.
However I get boot loop after step 3b on a fresh havoc install
Click to expand...
Click to collapse
make sure the kernel is permissive and after following instructions when u put the files give it all permissions, I'm on havoc 3.0 already.

Crimson flamethrower said:
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
Click to expand...
Click to collapse
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.
shivang_bagh said:
how to create that file ? And How to give the execution permission to that file ? Could you elaborate it please ...
Click to expand...
Click to collapse
use root explorer or mixplorer and Create empty file then open it as note editor and put the two lines in the instructions.

Abhi8232 said:
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.
Click to expand...
Click to collapse
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.

mido hamdy said:
Option 4 5 and 7 are same ,so we have to do it two times ? And it is working on selinux enforcing ?
Click to expand...
Click to collapse
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.

mido hamdy said:
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.
"
Iam Also on havoc 3.0 but i am stuck in boot animation after flashing the 4a module
Click to expand...
Click to collapse

Crimson flamethrower said:
Iam Also on havoc 3.0 but i am stuck in boot animation after flashing the 4a module
Click to expand...
Click to collapse
I'm also on havoc 3.0 and also had boot loop following the instructions with v4a magisk module.
What worked for me was using v4a apk instead.

When bootloop boot directly to twrp and Copy the file again in data\abd\moduls\v4a.

How to excute permission? This point is not clear

HACKIMTOSH said:
How to excute permission? This point is not clear
Click to expand...
Click to collapse
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.

luukvbaal said:
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.
Click to expand...
Click to collapse
Thank you bro it works but when i switched the kernel i lost fp gestures i'm using AEX 6.6

V4A for Q
Hi everybody!
There's much easier way:
4pda.ru/forum/index.php?s=&showtopic=930324&view=findpost&p=90127751

Related

[Q] Unable to install Viper4Android driver (install prompt still occurs) (M4 Aqua)

Hi everyone!
I've got Sony Xperia M4 Aqua 2303 - stock Lollipop, rooted, TWRP Recovery.
I have installed busybox pro, SELinux Mode set to permissive (by SELinuxModeChanger) and newest version of Viper4Android (installed in recovery). I have also version from market.
And my problem is that ask prompt occurs every time I'm opening V4A app, I'm picking Yes>hugh quality>it show that it's installed and want me to reboot. After reboot the same prompt occurs - install driver :/
I've changed tunnel decode, ipa.decode and ipa.use to false.
Am I doing something wrong?
I can't find solution for this problem.
Has anyone solved it?
nekju said:
Hi everyone!
I've got Sony Xperia M4 Aqua 2303 - stock Lollipop, rooted, TWRP Recovery.
I have installed busybox pro, SELinux Mode set to permissive (by SELinuxModeChanger) and newest version of Viper4Android (installed in recovery). I have also version from market.
And my problem is that ask prompt occurs every time I'm opening V4A app, I'm picking Yes>hugh quality>it show that it's installed and want me to reboot. After reboot the same prompt occurs - install driver :/
I've changed tunnel decode, ipa.decode and ipa.use to false.
Am I doing something wrong?
I can't find solution for this problem.
Has anyone solved it?
Click to expand...
Click to collapse
i have the same problem.... sometimes it works and sometimes not....
saadcore said:
i have the same problem.... sometimes it works and sometimes not....
Click to expand...
Click to collapse
Ok i Fixed that Problem
i found a tutorial on the internet but i am not allowed to post links here at this moment ... so you need to google for gizdev
[Guide] Install Viper4Android On Any Lollipop Devices Android 5.0/5.1
i hope you will find it quickly
you need to do it like method 2 explained in that tutorial
but in other steps like explained.
it is explained in this tutorial like:
####################################
Method 2 For Any Lollipop 5.0 And 5.1
####################################
Install Busy Box
Download The Both Zip Files LolliViPER.zip, Viper4A-_Build.Prop-Tweaks_-CWM.zip, Viper4A-_Soundfix-LibFiles_-CWM.zip
Copy To Sd Or Phone Storage
Flash 3 Zip File Via Cwm Or Twrp
Flash First LolliViPER.zip Don’t Reboot Flash Viper4A-_Build.Prop-Tweaks_-CWM.zip Don’t Reboot Viper4A-_Soundfix-LibFiles_-CWM.zip
Clear Dalvik Cache And Cache
Reboot
Open Viper4Android Install Driver Prompt Yes When Ask For Driver Install
###########################
But that didn´t work on my e2303 device....
the only way it worked for me was like setting up fresh stock rom version .167
then install super SU and go to settings. make sure you set super su is enabled on startup.
this is very important cause if this is not set the selinuxpermissive app will not work while v4a will try to install the driver while booting the device.
after that you need to install the selinuxpermissive app mentioned in method 1 in the tutorial. set it to permissive and boot into TWRP.
It is important that busy box is NOT installed at that time.
now install the files from that tutorial in method 2 in that way:
Download The Both Zip Files LolliViPER.zip, Viper4A-_Build.Prop-Tweaks_-CWM.zip, Viper4A-_Soundfix-LibFiles_-CWM.zip
Copy To Sd Or Phone Storage
Flash 3 Zip File Via Cwm Or Twrp
Flash First LolliViPER.zip Don’t Reboot Flash Viper4A-_Build.Prop-Tweaks_-CWM.zip Don’t Reboot Viper4A-_Soundfix-LibFiles_-CWM.zip
Clear Dalvik Cache And Cache
Reboot
Open Viper4Android Install Driver Prompt Yes When Ask For Driver Install
So if V4A will try to install the driver it will detect that busy box is not installed.... it will ask you to install. go and install busy box via V4A.... after the install the driver and reboot and voila !!! we have that ****in low budget Phone sound like a machine from hell !!!
all files needed can be found on the link you searched from google
I hope everybody understands what i mean feel free to ask ...
it took me about 8 hours to find the right way to set it up properly but respect goes to the one who wrote that tutorial found on google
It sounds like you still have Sony ric on your devices.
Sony ric makes the system read only. So any changes you make when in android will not be saved between boots.
Zips still work because those are installed via recovery.

[Guide](Tmp/Permanent TWRP) Get Root and Xposed on MIUI 7/8 (Tested on Both)

First and Foremost : If you think that i am a noob and you should not follow my guide then don't. If you do follow my guide then looks at my posts and threads from before.
******************************************************************
1 ) Stuff to Download ​Link to Mega Folder
^ This Folder Contains everything that you need to download for flashing and stuff
Link to ADB/Fastboot Instaler
^ For The actual flashing of recovery
^^ This Stuff Should Be installed/Downloaded before you do anything at ALL !!!
******************************************************************
- For Root/Xposed​1 ) Keep The Following files on your Internal Storage.
- xposed-v87-sdk21-arm64-MIUI-edition-by-SolarWarez-20161126.zip
- xposed-uninstaller-20150831-arm64.zip
- XposedInstaller_3.1.1.apk
- twrp-3.0.2-0-ferrari.img
- SR2-SuperSU-v2.79-SR2-20170103215521.zip
- Deep_Sleep for MIUI.zip
Keep This File on Your PC
- Twrp 2.x.img ( RENAME IT TO TW)
2 ) Connect Your Device to The Pc. Enable Developer Mode and USB Debugging Beforehand
- Go to the folder where your twrp file is located and press Shift+Right Mouse Button and choose open command window Here
3 ) Type in The Following Commands
adb reboot bootloader
Click to expand...
Click to collapse
fastboot boot TW.img
Click to expand...
Click to collapse
4 ) Soon TWRP will load up swipe to access it.
5 ) If You want to ROOT ONLY Then Only Flash SR2-SuperSU-v2.79-SR2-20170103215521.zip and Reboot.
6 ) If you want Xposed As well then flash xposed-v87-sdk21-arm64-MIUI-edition-by-SolarWarez-20161126.zip and Reboot
6 1/2 ) Flash The Deep Sleep Patch For Better Battery Life
If You reboot now TWRP will be Erased/Not Be Installed/Remain on Your Device. To Install It permanently Follow Below ​
7 ) If You want Permanent TWRP then go to Install And Click on Images Button and then select twrp-3.0.2-0-ferrari.img and Next Choose Recovery Partition. Then Reboot to recovery and You will see new and updated twrp.
******************************************************************
Boot back to The System
go to SuperSU and Set it Up
Go to File Manager and install Xposed and Install Modules.
******************************************************************
This Thread Will Be Updated With more Information Soon.

Viper4android help

Can some one guide me how to install viper4android in purenexus rom 7.1.2
I'm on RR 7.1.2 so there might be the same environment for installing V4A:
1. Flash V4A zip
2. change audio_effects.conf to audio_effects.conf.bak through this path: system/vendor/etc
3. Instal Busybox from playstore (open app and press install button in it)
4. Now open installed V4A and when message pops up about driver installation press Yes. wait a little until reboot pop up displayed. Press Ok and reboot.
If on step 4 driver installation failed and all the previous steps are correctly done then restart your device anyway and check if V4A works (drivers status).
iHomeric said:
I'm on RR 7.1.2 so there might be the same environment for installing V4A:
1. Flash V4A zip
2. change audio_effects.conf to audio_effects.conf.bak through this path: system/vendor/etc
3. Instal Busybox from playstore (open app and press install button in it)
4. Now open installed V4A and when message pops up about driver installation press Yes. wait a little until reboot pop up displayed. Press Ok and reboot.
If on step 4 driver installation failed and all the previous steps are correctly done then restart your device anyway and check if V4A works (drivers status).
Click to expand...
Click to collapse
Thank you ... But i already tried arise sound mod and it worked preety well
Welcome!
Good way. You would not have faced with drivers issue, because they are pre installed.
Susan Dahal said:
Thank you ... But i already tried arise sound mod and it worked preety well
Click to expand...
Click to collapse
Same here. Arise works.
https://forum.xda-developers.com/and...earch-t3379709
But they leave out the critical step of modifying the arise_customize.prop file
and placing it in internal storage
BEFORE you flash (SMH).
http://www.droidviews.com/install-ar...d-mod-android/
-G

VIPER4Android + DolbyAtmos For Any Android

Hello friends, i have seen many people struggling with viper4android and dolby and they dont work, so i made a 100% working tutorial for it.
This method works on Lollipop, Marshmallow, Nougat and Oreo.
WARNING I WILL NOT BE RESPONSIBLE FOR ANY BOOTLOOP OR BRICK SO KINDLY PROCEED AT YOUR OWN RISK BECAUSE I AM NOT A DEVELOPER
Here is the youtube video tutorial : https://www.youtube.com/watch?v=RpFNMSCEBK8&t=28s
and below is the written guide.
Download the required files here http://www.mediafire.com/file/cltv25q40t2spkx/viperdolby%20with%20magisk%20fix.zip
1-Extract and copy viper4android folder and ViPERAtmos_5.2_Sony_Beats_Edition.zip both to your internal storage!
2-Go to TWRP recovery and flash viperatmos zip file
3- Reboot to system and go to viper4android app, tap on top right corner for options and tap on uninstall drivers, it will ask super user rights so grant them and wait until OK message appears.
4- Go to TWRP recovery again and flash viperatmos zip again!!!
5- Reboot to system and play some music, check Dolby Atmos! if its working and you see moving visualizer then its fine.
6- Now go to viper4android and from top right corner tap on 3 dots and check driver status ! if it says processing that you have fully working dolby and viper
BUT IF DRIVER STATUS SHOWS ABNORMAL NOT PROCESSING THEN DO THIS!
FIX
There is a file vipersupportfix.sh in that rar your extracted before, copy this file to your internal storage and open root explorer in your phone, copy this file and go to the root of your phone
and paste this file in this path /magisk/.core/post-fs-data
After pasting vipersupportfix.sh in post-fs-data folder change its permissions to 0755 and reboot your phone.
NOW Play some music and check driver status in viper4android, it should say Processing! and Status Normal
if the status is normal but says not processing then use Lark Player for your music.
TIP
I suppose viper4android is working now, tap on the dots and select Expert from ui!
then scroll down until you see convolver and enable it, and below there is a button to select the convolver, find Hip Hop DFX and select it and enjoy killer sound!
You can change and fine tune the treble and bass as to your needs!
Will this work on my mate 10 Pro (emui 8)?

TWRP - ROOT - XPOSED Tutorial [Xiaomi Mi 10]

Android 10/11 (tested on latest weekly rom MIUI 12.2 (20.10.16)
Hello, i want to share with u a simplefied tutorial how to:
I AM NOT RESPONSIBLE FOR ANY DAMAGE, DO IT AT YOUR OWN RISK !!!
TWRP
Before installing custom recovery called TWRP u need to unlock bootloader. Be sure that u enable developer options and inside enable USB debugging.
1. Turn OFF your phone (wait few seconds) and then press VOLUME DOWN + POWER till u see fastboot on the screen.
2. Connect phone with PC.
3. Download TWRP image and adb. DOWNLOAD
4. Extract ZIP anywhere.
5. Open cmd window in the same folder where are extracted files.
6.Type fastboot flash recovery TWRP_umi.img.
Done
MAGISK / ROOT
After u install TWRP u now have custom recovery so u can do whatever u want.
1. Download magisk.
20.4 version (Android 10) DOWNLOAD
21.0 version (Android 11) DOWNLOAD
21005 version (Android 11) DOWNLOAD
2. Copy that zip to your phone/sd card/usb.
3. Run TWRP recovery (turn OFF phone, wait few seconds, press VOLUME UP + POWER, wait 2 vibrations than release).
4. Click INSTALL button, locate your zip file called magisk_20.4.zip or Magisk-v21.0.zip, select that zip and flash.
5. Reboot System.
6. Download Magisk Manager. DOWNLOAD
7. Install it.
8. Run installed magisk.
9. Update magisk or magisk manager (if update is avaliable).
10. Press "Check SafetyNet" button. If is failed go to settings (home screen of magisk manager, press upper right button, scroll down and find MagiskHide and enable it).
11. Press again "Check SafetyNet" and it shoud be success.
U are done, u have root over magisk.
TIP: If u get any problems (bootloop) or u want totaly to remove magisk u can use uninstaller and flash it over TWRP just like u did for installation
Uninstaller 20.4 version DOWNLOAD
Uninstaller 21.0 version DOWNLOAD
Uninstaller 21005 version DOWNLOAD
XPOSED / EDXPOSED
EdXposed is a Magisk & Riru module that provides original Xposed frameworks on latest Android ART devices. With this module u can load bunch cool modules including
CustoMIUIzer.
1. Go to your magisk manager, u will find 4 buttons at bottom middle screen (home, superuser, logs, modules). Press modules.
2. search for riru. Install Riru (Riru - Core) v21.3 by Rikka.
3. After flashing riru press reboot button.
4. After reboot check modules tab in magisk and check did riru core is successfully installed. If yes everything is ok.
5. Download EdXposed Manager. DOWNLOAD
6. Install EdXposed Manager.
7. Run it.
8. U will get red warning that says "EdXposed Framework is not installed". Dont worry.
9. Go to CANARY tab and choose in framework EdXposed-YAHFA-V0.5.0.6 (IMPORTANT IS TO CHOOSE YAHFA not SANDHOOK) if u choose sandhook by mistake u will lose SafetyNet then scroll down to SafetyNet part.
10. So u choose YAHFA, Press INSTALL/UPDATE (zip will be downloaded to your download folder on your phone).
11.Open Magisk Manager go to modules tab and press install from storage button.
12. Find YAHFA zip and flash it. After installation press reboot button and wait a phone to get rebooted.
13. When your phone boot go to EdXposed Manager and check did framework says that its installed.
14. If u get warning "EdXposed Framework is installed, but not active". please reinstall EdXposed Manager. It shoud says "EdXposed Framework is active".
Done !
SAFETYNET
If u by accident or any other reason install sandhook framework, u will get safetynet problem. And even if u uninstall it u will still get warning. To solve that u need to remove sandhook traces over (root explorer, or explorer in TWRP). I personaly use Root Browser from play store.
Open root explorer, and go to /data/user_de/0/ search sandhook ( u shoud get 111 folders and im think about 50kb size for delete). remove all and reboot a device. Be aware that some modules can make safetynet problem too.
BOOTLOOP
If u get a bootloop in any part of this tutorial (except TWRP) u can manualy over TWRP recovery mode (VOLUME UP + POWER) manualy delete xposed or magisk modules.
Run TWRP, go to advanced go to file manager, go to /data/adb/modules and remove modules. Then go to data/misc/riru and delete that folder. Reboot and u are ok to try again.
TIP: Every time when u install/upgrade firmware u have a possibility to keep old battery information. So its good to go to TWRP then go to Advance then find RM battery-info and remove it and reboot a device. Personaly i repair battery drain on my mi 10 with this.
I hope this tutorial will help someone. I tried to make it as simple as possible.
Special thanks to meowcat
TWRP doesnt work. I have a bootlop/brick
What model of cell phone u have?
UPDATE​
- Added latest magisk version (and his uninstaller) and tested on latest weekly rom (20.10.22 )
10. Press "Check SafetyNet" button. If is failed go to settings (home screen of magisk manager, press upper right button, scroll down and find MagiskHide and enable it).
11. Press again "Check SafetyNet" and it shoud be success.
No success error SafetyNet ctsProfile
I just tried this, and it's not working on the stable MIUI 12 12.2.2 . Holding Vol. Down plus Power or Up plus Power rebooted to fastboot.
xterminater07 said:
I just tried this, and it's not working on the stable MIUI 12 12.2.2 . Holding Vol. Down plus Power or Up plus Power rebooted to fastboot.
Click to expand...
Click to collapse
Same here, well I'm on MIUI 12.0.3 (Stable)
TWRP
Before installing custom recovery called TWRP u need to unlock bootloader. Be sure that u enable developer options and inside enable USB debugging.
1. Turn OFF your phone (wait few seconds) and then press VOLUME DOWN + POWER till u see fastboot on the screen.
2. Connect phone with PC.
3. Download TWRP image and adb. DOWNLOAD
4. Extract ZIP anywhere.
5. Open cmd window in the same folder where are extracted files.
6.Type fastboot flash recovery TWRP_umi.img
I think there is an important step after this
then type fastboot reboot while click volume up on phone press enter
it's successfully going to twrp recovery and then I instal magisk and succesfully rooted the phone

Categories

Resources