Modding Audio Driver thunderg - Optimus One, P500, V General

Can we modify audio driver for Optimus ONe to improve the sound quality as in wider stereo and all ..... WinMobile6 users had an app that did so i think (not actually change driver code but instead modifying registry entries on winmobile6) ..I read the LGE internal guide forP500.. the northbridge MSM7227 is interfaced with a WM9093 southbridge..Can one of the devs look into this..any tips are welcome

I think it can be modified in .prop files but I'm not sure.

Related

[Q] DSP on froyo !!!! Devs plz take a look here !!!

i wud really appreciate it if one of the devs cud simply port this for our froyo ROMS....PLz m a music buff and i m really missing stereo widening and reverb effects nokia phones have....
a HOwto on the internet says replacing native libaudioflinger.so with the one provided (not on the project page ) and then using DSP manager to control audio effects...
Replacing the library breaks audio... tried it on both the roms stock/megatron...
Can somebody come up with a workaround ???

[Q] How do I make CM7's Dynamic range compressior from DSP manager work

I'm trying to get dynamic range compression to work for DSP manager. I installed the .apk from CM7 on my Samsung Galaxy YP-G70 running Gingerbread 2.3.5 and all DSP features work except Dynamic Range compression. Does anyone know if it needs to be flashed as part of a ROM to make it work? My device is rooted, however there is no support for it for CM7 yet. I get no responses to this question when I post on the Cyanogen forums, most likely because my Samsung device isn't supported and I'm being ignored.
Yes, yes I know, everybody hates Dynamic range compression, "It's destroying music" blah! blah! blah! But there are many times when it's needed, especially on small devices like android phones and PMP's. Listening to music, movies and video clips on these devices in noisy environments, or on small speakers can be difficult to hear the quieter passages of the content. then of course when the loud parts come in, they blast the speakers or headphones with distortion. I can't believe there aren't any Android apps out there to address this situation. Anybody know of one that maybe isn't on the android marketplace?
Yes, i love "dynamic range compression" too and i wish to use it with YP-G70, but it seems not possible to our device.
All i know because compatibility sound chipset... most of devices which compatible with DSP Manager uses Wolfson audio chip.... unfortunately, YP-G70 uses yamaha audio chip

The "mixer_paths.xml" file doesn't utilize the phones hardware fully?

So, I've found that the audio on Lineage OS and other Roms based on LOS wasn't as good as on the stock firmware. Both when it comes to mic and headphones audio.
I followed this up by comparing the "mixer_paths.xml" files from Lineage OS between the file from stock marshmallow as well as stock nougat (A2017G model) and there are quite a few missing lines in the AOSP version and some lines that just have different values. B.T.W Is the "mixer_paths.xml" the only file where you edit values which have to do with audio?
Anyway, I then used the standard mixer file from the stock Marshmallow firmware on the Lineage OS rom and although the sound is lower than with the standard mixer file from LOS the audio is noticeably better according to my ears. (This could be placebo but I doubt it. I also use the HD 598 headphones which are quite good compared to many other headphones on the market so the difference in audio quality is easier to discover).
Feel free to try this out if you are on a AOSP rom and want better audio. Steps below:
1: Make sure you're rooted and have disabled system write protection.
2: Navigate to System -> etc -> mixer_paths.xml.
3: Cut the "mixer_paths.xml" file to a backup location in case you want to go back.
4: Download either the marshmallow or the nougat file that I've provided below and rename it to "mixer_paths.xml" and paste it in the same location. System -> etc.
5: Reboot.
6: Profit? I don't know, it's up to you if you think it sounds better. Remember that with cheap earbuds you most likely won't hear a difference, at least I wouldn't.
You can try the process with either the Nougat or the Marshmallow file i uploaded. The Nougat is a little bit louder.
In case you want to go back then just copy the mixer_paths.xml file you backed up and replace the current mixer_paths.xml file in the same directory as above. Also reboot.
Edit: As @RUNNERX pointed out, make sure that the permissions are set to 644 and then reboot to make sure it's working correctly.
Download
I think we need a properly soundmod...
I tried with stock ROM (B19 A2017U) but it only affects the Normal Mode in headphones.
There's so much potential with this device... Ak4490 is a beast that needs to be released from its "cage".
As far as I can tell, the problem is that no custom rom is using the akm dac?
This is too bad, especially since regular dac sounds in my opinion much much better (and different) in aosp with the latest sound fix compared to stock normal (loudness being part of it). Still it is clearly not the akm dac.
On stock, both normal and superior mode have some kind of strange tuning, almost like there is some postprocessing even with dolby off. On aosp that seems to be gone at least.
It was mentioned previously that the mixer XML was ignored and all changes needed to be made the (ADC**?) files. This has since been patched resulting in proper use of akm DAC. The issues with the sound not being as good quality wise lies within these files, not the XML.
icenight89 said:
It was mentioned previously that the mixer XML was ignored and all changes needed to be made the (ADC**?) files. This has since been patched resulting in proper use of akm DAC. The issues with the sound not being as good quality wise lies within these files, not the XML.
Click to expand...
Click to collapse
Ok. Where would I find these files?
icenight89 said:
It was mentioned previously that the mixer XML was ignored and all changes needed to be made the (ADC**?) files. This has since been patched resulting in proper use of akm DAC. The issues with the sound not being as good quality wise lies within these files, not the XML.
Click to expand...
Click to collapse
So can anyone confirm that they got the akm dac working with headphones? (and comment on the results?)
I installed the AOSP extended 7.1.2 and then magisk zip, but it didn't seem to work, though it did play louder (and stereo on speakers).
Maybe I'll try a different rom...
cfbruck said:
So can anyone confirm that they got the akm dac working with headphones? (and comment on the results?)
I installed the AOSP extended 7.1.2 and then magisk zip, but it didn't seem to work, though it did play louder (and stereo on speakers).
Maybe I'll try a different rom...
Click to expand...
Click to collapse
I was under the impression that the headphone DAC has been working since early March. The stereo speaker fix has nothing to do with the headphone DAC.
https://forum.xda-developers.com/showpost.php?p=70971100&postcount=1041
Ok, it might just be that it sounds bad in the LOS-implementation then. Thanks to senny for exploring possibilities.
Just to give some feedback
This definitely changes the sound. Standard aosp sounded kind of raw to me, with tizzy trebles, though with a lot of detail. This makes it smoother, sounds more like it should in a way, easier to listen to.
There is some loss of information though, and soundstage a bit smaller.
(I found that if I tried to copy and replace the file it didn't work (sound not working). I had to first delete the mixer file present, then paste the other one.)
After replacing the file make sure permissions are 644 and reboot.
cfbruck said:
Just to give some feedback
This definitely changes the sound. Standard aosp sounded kind of raw to me, with tizzy trebles, though with a lot of detail. This makes it smoother, sounds more like it should in a way, easier to listen to.
There is some loss of information though, and soundstage a bit smaller.
(I found that if I tried to copy and replace the file it didn't work (sound not working). I had to first delete the mixer file present, then paste the other one.)
Click to expand...
Click to collapse
Well good to hear that more people find a difference.
when i'm looking at this: http://blog.son-video.com/en/2017/01/test-fiio-x5-iii/
I can't help but think that ZTE could have done so much more to make the experience more complete. The fiio got viper pre-installed, and digital low pass filter to play with that are actually coming straight from AKM :
"Five different 32-bit digital filter types are available: Short delay sharp roll-off and short delay slow roll-off filters have overall short delay characteristics. Sharp roll-off filter and slow roll-off filter preserve the phase difference and a new filter that has even slower roll-off character was added to these four filters. They are selectable according to the user audio and system preferences."
We've got a phone with one of the best DAC in the world, but can't do much because android by default is limited, and it seems obvious that zte don't have a lot of experience when it comes to makes audiophile device. a partenrship with fiio, cayin, or ibasso would have been terrific, especially considering that fioo and cayin have both already launch a product with an akm4490 running on android at full potential.
Maybe we can hope that some developer with at interest in audio can unlock some of the potential.
Listening some more with the mixer files I have to say it really is a big improvement, especially with the marshmallow to me.
Whatever it is that makes it better should be part of LOS. Using LOS 14.1 with the beastmode kernal and the changed mixer paths - it actually sounds pretty good.
However, for me changing the mixerpaths breaks audio functionality. I get no audio in calls, neither speaker nor headphones. I am using the sounds fix for stereo speakers 4.1, maybe that affects it.
Does it work without side effects for you senny? Whats your setup?
No mixer_paths.xml
Hi,i have marshall london phone and i'm sure i don't have mixer_paths.xml to edit,please help me to find the file responsible for editing volume output values.
FocaTm said:
Hi,i have marshall london phone and i'm sure i don't have mixer_paths.xml to edit,please help me to find the file responsible for editing volume output values.
Click to expand...
Click to collapse
same here I did not find the mixer_paths.xml file in my AOSP extended Android pie rom.

tinyalsa-audio.xml changes not persists!

So, i've edited tinyalsa-audio.xml file to make sound louder. It worked. But, after some time, usually after phone calls, audio settings roll back to default values, while the tinyalsa-audio.xml file remains unchanged. To get louder sound back I just need to reboot android. Untill it happens again...
This is really annoying. Is there a way to fix this?
OS: Android 7.1.2
Somepony said:
So, i've edited tinyalsa-audio.xml file to make sound louder. It worked. But, after some time, usually after phone calls, audio settings roll back to default values, while the tinyalsa-audio.xml file remains unchanged. To get louder sound back I just need to reboot android. Untill it happens again...
This is really annoying. Is there a way to fix this?
OS: Android 7.1.2
Click to expand...
Click to collapse
Instead of editing .xml files, try editing the default_gain.conf file, something like this:
https://forum.xda-developers.com/showthread.php?t=2777535
There are also similar and possibly better guides and mods for audio on the S2/S3/S4 devices here at XDA but I did not find them with a general search, you can find them using the XDA search box, audio is similar in all of them. Look around here on XDA about editing sound files to improve audio. Editing audio.xml is, by no means, the only way, nor is it even the best way to modify audio, I've seen mods for .soc files, .xml files, .db files and .conf files. It just depends on the device and exactly what aspects of audio you want to change.
There are also things like Viper4Android or Dolby Atmos and other similar sound mods, some of them are combinations of the various sound mods to give more variety of features and options to improve audio on various platforms. For example, the mod will be named something like Dolby Atmos+something or V4A+something or Dolby Atmos+something+something. The mods that are combinations of the others can, in some cases, on some devices, give more improvement than using only one of the mods by itself.
Sent from my LGL84VL using Tapatalk

[HELP] Creating impulse response for ViPER4Android

Hello, i am having a problem with creating impulse response sample for ViPER4Android. I want to Adapt Sound from Samsung to work on my phone. And for that i found a guide posted by theormex.
There's an equalizer app called ViPER4Android, which doesn't only have kick-ass features, but also has a built in "convolver"
So what's a convolver? Basically it lets you simulate effects on audio. It works by having an audio clip, and and another one which has effects on it (in our case adapt sound) and comparing them together to see what changes occurred
You basically take a sine sweep (an audio clip that goes from low frequency to high), and record it paying on your device with adapt sound on (connect your phone to your microphone port by a 3.5mm cable)
Then you import these two clips to an app that can generate convolver presets (Aka impulse response samples)
The result you get is a .Wav file that you put on your phone and select as your convolver presets. And that's it!
Click to expand...
Click to collapse
But at <Then you import these two clips to an app that can generate convolver presets> part i am having difficulty. I couldn't find a program to do that. I have sine sweep from samsung note 8 and i have access both windows and mac computers. Which program should i use and how do i do that? Thank you

Categories

Resources