Related
Hi everybody. I've ported a mod for our device that allows to reproduce media through the main speaker and the earpiece at the same time, giving a truely sensation of "surround" sound.
Features:
"Dual" speaker
Source:
https://github.com/kevinkvothe/Libra-Audio-Mod
Feel free to contribute to this mod.
Bugs:
Test and tell me.
It's reported to work on aqua (Mi4S). Needed to change permissions to 777 (read-write-execute). You can do this on almost any root explorer you find, I personally use ES File Explorer. (Thanks BlackXhorneT)
Credits:
sshafranko, as I took his mod to modify our source. :good:
Contributors:
kevinkvothe.
This mod is diretly ported from:
http://forum.xda-developers.com/nexus-5x/themes-apps/mod-surround-sound-testers-t3252659
Warning! Not tested on 5.1, I just report to work on CM based 6.0.1. I'm not responsible in any way of any damage that happens to your device if you test this mod. Do it at your own risk.
Installation:
For now, replace the stock mixer_paths.xml placed on /system/etc (you'll need a root explorer) with the one I provide in this post. Remember to make a backup before. :fingers-crossed:
Version Information
Status: Testing.
Current Stable Version: None by now.
First Release Date: 2016-06-13
Created: 2016-06-13
Last Updated: 2016-06-13
Reserved.
Tested on Aqua,
This broke the ability for me to use any app that uses audio (youtube/apple music/stock music/mp3's in es explorer...) I've restored the old stock file and it's back to normal but that was quite a nasty result.
I think this needs more testing for general release and is not for aqua.
Otherwise, love the idea. If you get it working I'll happily try another build as I know restoring the original file works just fine. Good luck with the project
---------------
EDIT:
This may be a permissions issue as its set to 660 rather than 777. No file manager I've got will successfully change this over (root explorer, total commander, es...) so this may need to be done before putting in /system/etc/ in order to work correctly. Any suggestions on a chmod 777 app to try?
---------------
EDIT 2:
confirmed chmod 777 did the trick (permission change worked from /system/etc/ folder, but NOT from download folder. Seems to work! Apologies for my earlier scepticism. Interested to see how this will sound (can't really test as I'm currently at work).
Should be interesting . Well done!
BlackXhorneT said:
Tested on Aqua,
...
confirmed chmod 777 did the trick (permission change worked from /system/etc/ folder, but NOT from download folder. Seems to work! Apologies for my earlier scepticism. Interested to see how this will sound (can't really test as I'm currently at work).
Should be interesting . Well done!
Click to expand...
Click to collapse
Thanks for your interest! I've already updated the post with the permissions info. That's strange, though, as in libra it works just fine with rw-r-r permissions and 777 is not needed.
Hope you enjoy it!
kevinkvothe said:
Thanks for your interest! I've already updated the post with the permissions info. That's strange, though, as in libra it works just fine with rw-r-r permissions and 777 is not needed.
Hope you enjoy it!
Click to expand...
Click to collapse
Happy to test . I'll give you better feedback this evening once I'm not in the office. Should be interesting!
Sent from my Mi-4s using XDA-Developers mobile app
Dude I like it a lot! Just watching YouTube and it sounds so much wider. Quality is ace too. Not bad!
Sent from my Mi-4s using XDA-Developers mobile app
Hi tried this on mi4c running ts cm 13.1 with permission set to rw-r-r works! Thanks ?
Thank you! This works perfectly , but unfortunately for me the speakers , headset and earpiece speaker too quiet . What values do I have to change in order to make the louder?
It works flawlessly ???? Keep it up on my MI4C. Good Job ????????????
works only for android 6 mm?
To increase stock volume you should modify the RX1 or/and RX7 Digital Volume on the section <path name = "speaker"> or <path name = "speaker-gain-default">.
Yes. at least for me it works fine.
Regarding the android version, I've just tested it android 6, but feel free to try yourself and report back.
rafaelwhoelse1 said:
Thank you! This works perfectly , but unfortunately for me the speakers , headset and earpiece speaker too quiet . What values do I have to change in order to make the louder?
Click to expand...
Click to collapse
Same as I said in the previous post with RX1 and RX2 in "headphones" section should work too.
I tried this mod in miui.eu last stable rom and it works but the front speaker sounds terribly distorted, so I had to go back to previous xml file.
Maybe the front speaker is not capable of reproducing sound with the same volume and fidelity as the main back speaker?
Thanks for your work anyway!
kurtxcobain said:
I tried this mod in miui.eu last stable rom and it works but the front speaker sounds terribly distorted, so I had to go back to previous xml file.
Maybe the front speaker is not capable of reproducing sound with the same volume and fidelity as the main back speaker?
Thanks for your work anyway!
Click to expand...
Click to collapse
Ofc, the front speaker is not designed to perform like the main one. This mod only provides a way to send media sound in a low volume through the front speaker, not to use it as the main media player.
kevinkvothe said:
Ofc, the front speaker is not designed to perform like the main one. This mod only provides a way to send media sound in a low volume through the front speaker, not to use it as the main media player.
Click to expand...
Click to collapse
I undestand that, but with the mod (at least in miui.eu stable) the sound is terribly distorted.
Maybe there are some gain parameters that need fine tuning?
Anyone given this a whirl on cm14.1?
Works great on cm14.1
Is there anyway to turn the stereo effect off and simply have the front speaker repeating the mono signal?
I find that many songs don't sound right since they pan a significant instrument to one side, and when that is on the front speaker it can change the way a song sounds.
Will it work on resurected rom?
Please can you help to make this MOD work with mi4i. I beleive the hardware other than processor is the same used in mi4c.
greatly works on aicp rom
but, is it okay to use the front speaker? and what happen when we make a call?
Description:
This is a reformed audio effect digital signal processing engine for Android. The GUI is copy from Omnirom DSPManager, but the internal audio engine is enhanced and reformed!
Features:
Pro dynamic range compression
Bass Boost
--> 1023/4095/8191 order FIR linear phase low pass bass boost
Reverberation (Dual engine reverb)
--> GVerb
--> Progenitor 2
10 Band Hybrid Equalizer
Stereo Widen
Triode dual stage vacuum tube simulation
--> Simulate with real mathematical model of 12AX7 tube
Auto partitioning high efficient convolution engine
--> Support mono / stereo / full stereo(LL, LR, RL, RR) impulse response
--> Samples per channels should less than 1000000* for stereo
--> Samples per channels should less than 400000* for full stereo
--> Impulse response file support: V4A IRS, FLAC, WAV
Install:
Install via Magisk Manager, Flashfire, or recovery (Magisk or System install will detect automatically)
Uninstall:
Delete module in Magisk Manager
OR Flash module in recovery
Audio Mod Troubleshooting Guide
Download
Notes:
Convolver have been tested working even in stereo impulse response with 16121304 samples per channels on Snapdragon 820
If you look at the source code from Java part, you will find some are similar with Viper4Android, but this is not true.
Viper4Android only open source it's interface, their core drivers source code have never been released.
For convenient sake, I copy some interface code to accelerate my development.
How to compile the source code?
Use Android NDK & Eclipse
Previous post
XDA:DevDB Information
JamesDSPManager, App for the Apps & Games
Contributors
james3460297, ahrion, Zackptg5
Source Code: https://github.com/james34602/JamesDSPManager
Version Information
Status: Stable
Current Stable Version: v3.3
Stable Release Date: 2020-11-02
Created 2017-11-11
Last Updated 2020-11-02
Deleted
Does it works with sound engines? And also if you already have AudioFX installed?
romskii said:
Does it works with sound engines? And also if you already have AudioFX installed?
Click to expand...
Click to collapse
If you copy/paste the content of the audio effects conf without deleting anything to the existing one in your system, then it should be perfectly compatible with any mod. But, you have to delete AudioFX, since only one DSP at time should be used, or else you could have distortions or the DSP Manager/AudioFX totally not working or crashing
Inviato dal mio Nexus 5 con Tapatalk 2
romskii said:
Does it works with sound engines? And also if you already have AudioFX installed?
Click to expand...
Click to collapse
It may work well with other audio engines, because this effect doesn't replace[bassboost][equalizer][virtualizer] anymore
You don't need to replace audio_effects.conf actually, you can manually add jamedsp effect UUID item in to your exist audio_effects.conf. My current provided .conf in 7z only contain JamesDSP, you could just add the item related to JamesDSP into your current .conf
It's possible add this like a magisk module?
Working great on my Xperia Z5 / lineageOS 14.1 (I've had to edit my audio_effects.conf)
It would be even greater if the app could remain as a background process without the persistent notification.
nreuge said:
Working great on my Xperia Z5 / lineageOS 14.1 (I've had to edit my audio_effects.conf)
It would be even greater if the app could remain as a background process without the persistent notification.
Click to expand...
Click to collapse
Thanks for testing and got great result!
Notification I made is because some devices like Huawei Mate which may not handle background service correctly.
However, I could do more detection on app install location, so far I know only put apk into /system/priv-app/ could prevent killing by system, otherwise notification is another killing-proof method will apply to app.
But copy to system partition require libjamesDSPImpulseToolbox.so(Convolver dependency for load impulse file into memory) also in system partition, which should put in /system/lib
james3460297 said:
Thanks for testing and got great result!
Notification I made is because some devices like Huawei Mate which may not handle background service correctly.
However, I could do more detection on app install location, so far I know only put apk into /system/priv-app/ could prevent killing by system, otherwise notification is another killing-proof method will apply to app.
But copy to system partition require libjamesDSPImpulseToolbox.so(Convolver dependency for load impulse file into memory) also in system partition, which should put in /system/lib
Click to expand...
Click to collapse
You mean that if I move your app to priv-app and disable persistent notification on my Sony device, it may work ?
nreuge said:
You mean that if I move your app to priv-app and disable persistent notification on my Sony device, it may work ?
Click to expand...
Click to collapse
Yes, possibly works, but notification icon display will not disappear until I change code.
james3460297 said:
Supported platform:
1. It should support from KitKat to Nougat.
Click to expand...
Click to collapse
Syntax error while trying to install apk on 4.4.2. What info can i provide you to help me fix it?
Sometimes the speaker config play for headset
.and the headset configs don't work until headset is replugged.
whood said:
Syntax error while trying to install apk on 4.4.2. What info can i provide you to help me fix it?
Click to expand...
Click to collapse
I set min api to Lollipop, so apk installer can't install.
ash001 said:
Sometimes the speaker config play for headset
.and the headset configs don't work until headset is replugged.
Click to expand...
Click to collapse
This bug usually appeared after Bluetooth headset connected.
james3460297 said:
This bug usually appeared after Bluetooth headset connected.
Click to expand...
Click to collapse
I dont use bluetooth headset
ash001 said:
I dont use bluetooth headset
Click to expand...
Click to collapse
I think this is device depends bug, because I have this issue very long time ago with a device use relative buggy rom.
Turning on Convolver instantly crashes the app and keeps it on a crash loop and I can't open it after a reboot so I have to go into Titanium Backup and uninstall it from there then reflash it for it to be usable again. VS986 LG G4 5.1 Lollipop.
Other than that, everything works fine and I enabled everything I could and kept the defaults and my gosh does it sound amazing. Way better than the default sound profile before installing this.
Love it man using the addon from the ainur team that bass boost is a god send cant wait to see more.
Just found this on the Viper thread. Is this an alternative to V4A?
Where are the install instructions?
Thanks!
instaled this on my galaxy tab s 10.5 sm t805, combined with viper, sound is great, only analog still have bugs maybe, but no problem just dont use analog feature, thanks for this great sound mod
Profiles for stock S8/n8 headphones.
AUDIOPHILES! YOU ARE IN NEED TO TEST THIS PROFILE!
Feedback please, what you would like to correct!
michel333alfa said:
I'm making a DDC profile for our headphones!
Click to expand...
Click to collapse
\o/
I have some great v4a and jamesDSP (and some for both!) profiles that I would be happy to share as well.
partcyborg said:
\o/
I have some great v4a and jamesDSP (and some for both!) profiles that I would be happy to share as well.
Click to expand...
Click to collapse
So share! I would like to try!
michel333alfa said:
So share! I would like to try!
Click to expand...
Click to collapse
Ok! I will need to tweak my daily driver profiles because they all use paid irs and most people won't have those. If you have them I can send you the undoctored versions
partcyborg said:
Ok! I will need to tweak my daily driver profiles because they all use paid irs and most people won't have those. If you have them I can send you the undoctored versions
Click to expand...
Click to collapse
Ok
Updated.
Update.
Amazing!!! i used the viper ddc and that are crazy! thanks for share!!!
pd: becarful when are testing... because some viper DDC crash and give a terrible distorsion.
how to try these?
shirruy said:
how to try these?
Click to expand...
Click to collapse
You download viper 2.5.0.5 and Dolby from magisk(cuz viper won't work without Dolby, idk why), then you unpack this zip to the internal storage, open viper, swipe from left to the right, click load effect profile, turn off then turn on "master power" on headset list and enjoy
There's about 50 different DDC files included for these earbuds. Which one(s) are the best to try?
galaxy s6 edge plus sm-g928t
michel333alfa said:
Profiles for stock S8/n8 headphones.
AUDIOPHILES! YOU ARE IN NEED TO TEST THIS PROFILE!
Feedback please, what you would like to correct!
Click to expand...
Click to collapse
i am using this with arise sound systems on the galaxy s6 edge plus and mind is blown if you set it up correctly it will sound even better than the s8. if you need help you can pm me.
partcyborg said:
Ok! I will need to tweak my daily driver profiles because they all use paid irs and most people won't have those. If you have them I can send you the undoctored versions
Click to expand...
Click to collapse
Hi have all zuhang paid irs's. Can u share for v4a and James (both), please? Tks in advanced
michel333alfa said:
You download viper 2.5.0.5 and Dolby from magisk(cuz viper won't work without Dolby, idk why), then you unpack this zip to the internal storage, open viper, swipe from left to the right, click load effect profile, turn off then turn on "master power" on headset list and enjoy
Click to expand...
Click to collapse
What Dolby am I downloading been wondering why v4a don't work and would like to try this profile as well
Sent from my SM-G950F using Tapatalk
boroboy69r said:
What Dolby am I downloading been wondering why v4a don't work and would like to try this profile as well
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
I found a new solution. Install viper (on magisk 16.0, cuz won't work on further versions) and then audio modification library. Then just apply the profile and open equaliser (idk why but equaliser won't apply without opening it)
This will install viper and driver properly...
https://forum.xda-developers.com/android/software/sound-mod-viper4android-oreo-t3734107/page13
And all modules working
not bad once i turned the output gain down abit im using V1 the first v1 with Soundalive 4k edition, dynamic system unknown 2 at 14%, base at pure 100hz at 8db, clarity hifi 3.5db masyer gain -3.0db
Just want to say a big thanks for the vdc, I really like the v1 but can't vote for the v1 on poll got the "test" word
v3 is clearer but I think it is lacking treble, base is good tho
I checked DDCs using FLC8s on silver cabel - the most natural sounding setting is V1 (as mentiond above). Would reccomend to change Master Gate (Limiter) -> Output Gain to ~ -6/-5 instaed of -20. With the rest I just started experimenting.
Sorry for reviving an old thread, just wanted to say that the included kernel profiles are great in the zip. I am using a Surface Book with W10 v1809 and V4W. (For those wondering how I got it working use https://github.com/alanfox2000/non-official-viper4windows)
After trying out a lot of different sound mods and apps and patches I always came back to Viper4Android. Simple to use, great sound quality and a lot of customization.
Steps:
-Extract the attached IRS.zip into Android/data/com.pittvandewitt.viperfx/files/Kernel (For Android 11 follow this tutorial)
-Install latest Viper4Android apk (Download here), open it, grant root access and install the drivers.
-Reboot the device.
IF THE MOD IS NOT WORKING AFTER REBOOT TRY SETTING SELINUX MODE TO PERMISSIVE WITH THIS APP AND/OR INSTALLING AUDIO MODIFICATION LIBRARY MAGISK MODULE
HEADSET
Go to Headset and enable the Master power switch, I suggest you put on your headphones now so you can hear the changes in the sound yourself and tweak them to your liking.
My settings are:
Master power: ON
FIR equalizer (enabled): Preset: Acoustic
Convolver (enabled); Impulse Response: IRS.irs (copy IRS.irs from the rar into Viper4Android/Kernel); Cross Channel: 60%
Dynamic System (enabled); Listening Device: High-end headphone (v2); Dynamic Bass:7%
Viper Bass (enabled); Bass mode: Natural bass; Bass Frequency: 115 Hz; Bass Boost: 3.5 dB
Viper Clarity (enabled); Clarity mode:Natural; Clarity:3.5 dB
Auditory system protection (enabled); On; Binaural level:1
Feel free to share your own settings in this thread!
Credits :
- @zhuhang (Official Thread)
- @osm0sis
- Viper's Audio (Official blog)
- @viper520
- @Team_DeWitt
- @ahrion
Thanks to @sauliiin for his profiles:
"Here I share a lot of profiles and some other stuff for Viper4Android.
Just download, copy it and replace viper4android folder, close and open viper and choose your desired profile. My favorite is "Saulin", that is based on "V4ARISE".
Try and choose the best for you! Peace out!
https://mega.nz/#F!z5UmGaTJ!kWuvdZ7lpJ7Vt0tEsSlR4A"
Really thank you!
What about speakers? What settings would you suggest to get maximum loudness with minimal distorsion?
I find that different headphones require different settings, this setting could sound incredible to you and just "meh" to me, so I think everyome finds their own but thanks for the effort.. maybe everyone will share their settings in this thread and we can find inspiration?
EdoNINJA93 said:
Really thank you!
What about speakers? What settings would you suggest to get maximum loudness with minimal distorsion?
Click to expand...
Click to collapse
No problem, I really haven't tested any settings on the speaker, as it's fragile I think and could break easily if you push it too hard, it's fine as is to me. If you find good settings please share it with us in this thread
SALVO9 said:
I find that different headphones require different settings, this setting could sound incredible to you and just "meh" to me, so I think everyome finds their own but thanks for the effort.. maybe everyone will share their settings in this thread and we can find inspiration?
Click to expand...
Click to collapse
I fully agree with you on this one, that's why I suggested putting the earphones on and trying the settings in real time so you could adjust it to your likings. However, over the past few years and dozen on earphones I owned this settings were kind of the same, only the values changed. Great idea with the settings sharing, I would like to see it happen
works on PIE 9.0?
gabrielsena said:
works on PIE 9.0?
Click to expand...
Click to collapse
Yes, with Magisk 17.1
Copied most of your settings!
A really improvement! Only convoler didn't worked... It gave me a strange bass... Like a broken speaker
The rest was good, just some adjustments for my taste!
Thanks for sharing! Viper4Android is like black magic, it's outstanding what it can do! It makes a cheap earphone looks like a JBL one
Don't know how people live with out it! It's one of the thinks that everyone should root to have
Installed and Everything looks perfect for me. Thanks
settings for jbl charge 3 would be cool
_JaSoN_ said:
settings for jbl charge 3 would be cool
Click to expand...
Click to collapse
I'll try experimenting with the phone speaker and with my UE Boom 2 (shouldn't be much different from Charge 3) and I'll update the thread with the settings.
saliksack said:
Installed and Everything looks perfect for me. Thanks
Click to expand...
Click to collapse
You can thank me in the OP by pressing Thanks Glad you like it.
***THREAD UPDATED***
-updated with settings for the phone speaker and a bluetooth speaker (in my case UE BOOM 2), please test the settings out and let me know what you think
Viper settings highly depends on the pair you own. There are no universal settings for all drivers. But thanks anyway. Ask people to share their profiles too. :good:
Tisckkytt said:
Viper settings highly depends on the pair you own. There are no universal settings for all drivers. But thanks anyway. Ask people to share their profiles too. :good:
Click to expand...
Click to collapse
Check few posts earlier, I adressed this.
V4a 1.7.2 was working perfectly. After upgrading to 1.7.3 it asks me to install drivers and doesn't work. Any fix? Or, does anyone have the 1.7.2 zip?
Guys I've experience weird sound on WhatsApp audio when screen is off or app in background. Seems like audio in slow motion. Can you try to play some audio message and switch off the screen or put WhatsApp in background and listen if the bug reproduce.
Thank you.
Inviato dal mio Redmi Note 5 utilizzando Tapatalk
I also noticed that if Convolver is ON (with the provided BBE 2.IRS file applied) there is a little audio lag in general. You can clearly see it in videos through lab-sync.
I think that the postprocessing refinement is so huge that it slows a bit the final output
haven80 said:
Guys I've experience weird sound on WhatsApp audio when screen is off or app in background. Seems like audio in slow motion. Can you try to play some audio message and switch off the screen or put WhatsApp in background and listen if the bug reproduce.
Thank you.
Inviato dal mio Redmi Note 5 utilizzando Tapatalk
Click to expand...
Click to collapse
I have noticed this one.
EdoNINJA93 said:
I also noticed that if Convolver is ON (with the provided BBE 2.IRS file applied) there is a little audio lag in general. You can clearly see it in videos through lab-sync.
I think that the postprocessing refinement is so huge that it slows a bit the final output
Click to expand...
Click to collapse
+1
By default bullets wireless sound too flat, their bass response is too low when streaming music, I connected them to my iPhone and saw that with the right Equalizer settings they sound awesome, given that iPhone sound processing is awesome, I tried to replicate the same in Viper4Android.
This
profile Improves Audio listening experience and bass significantly of your Bullets. If you are using Viper4Android then you can get the best of the Bullets. Just download the profile. Extract the zip into your ViPER4Android directory in your storage location. Now Load the profile in Viper and you are good to go.
You can download it from here
Github:
https://github.com/anaganisk/viper4android_oneplusbulletswireless
Direct Download:
https://github.com/anaganisk/viper4...ireless/raw/master/OnePlusBulletsWireless.zip
Thanks for this! <3
Where to put kernal folder??
Thanks which version of Viper should i download FX or XHiFi
aj38584 said:
Where to put kernal folder??
Click to expand...
Click to collapse
You have to put it in the "Viper4Android" folder, next to the "Profile" one.
Dragonlord07 said:
Thanks which version of Viper should i download FX or XHiFi
Click to expand...
Click to collapse
V4A FX is the right one.
Btw thanks OP, your profile works great
This is exactly what I was looking for. We loose volume but they don't feel flat anymore. I don't have any other good earphones and was wondering if this Does makes the bullets better sounding than other options like the air pods ?
man if someone come up with a profile for the Momentum True Wireless I'd give him gold. Loving those
If anyone is wondering this profile works on bullets wireless 2 aswell, make sure you install V4A FX Legacy from magisk and load effects profile also check convolver. Thanks a ton OP. Also if anyone has a link to a profile specifically built for BW2 please please PM me or link it here.
Hello,
i cant get this to work on Viper4Android v2.7.1.0 (which is latest i guess) on Android 10. Using Oneplus 6 Havoc OS latest Version default kernel.
I already tried to rename the "Profile" Folder into "Preset", which doesnt work. (I think Profile got renamed into Preset)
Maybe anyone has an idea how to get this to work? Or maybe someone has screenshots, how to build this without loading the profile?
i would be pleased about an answer and thank you very much for the work!
Liqweedable said:
Hello,
i cant get this to work on Viper4Android v2.7.1.0 (which is latest i guess) on Android 10. Using Oneplus 6 Havoc OS latest Version default kernel.
I already tried to rename the "Profile" Folder into "Preset", which doesnt work. (I think Profile got renamed into Preset)
Maybe anyone has an idea how to get this to work? Or maybe someone has screenshots, how to build this without loading the profile?
i would be pleased about an answer and thank you very much for the work!
Click to expand...
Click to collapse
Open the direct download zip. Put the IRS file in the "Kernel" folder of the zip into /storage/emulated/0/Android/data/com.pittvandewitt.viperfx/files/Kernel/
Open viper4android, click on bluetooth output, activate, activate convolver, expand convolver list entry, click on "impulse response" and pick the IRS file from the ZIP