This is a mod to enable stereo audio recording with camcorder.
This isn't my work actually, it's done by @chdloc, i was looking for something like this and found his thread for nexus 5 and asked if he can make it for nexus 5x too. and he did it :good: so please give him thanks instead of me
Requirements:
Root
A file explorer ( i use solid explorer)
Installation:
make a backup of your stock media_profiles.xml and mixer_paths.xml files (attached in the "stock_files" archive for convenience)
manually push the two files in the "Stereo_audio_mod_nexus5x" archive to /system/etc/
adjust the permissions of the two files to 644 (rw-r--r--)
reboot
These are not flashable zips For flashable zip see post #2.
Enjoy stereo audio in all videos you record
Welcome side effect:
In addition to the camcorder now being able to capture stereo audio, all audio recording apps that allow the microphone
to be changed to the "camcorder" microphone (provided the app itself offers stereo processing) can take advantage of this mod, too.
Apps that are capable of recording stereo audio with this mod are "Voice Recorder" and "Easy Voice Recorder Pro".
I have created a flashable zip for the mod for you guys! @op feel free to add link in the first post
https://www.androidfilehost.com/?fid=673368273298917236
So with Google Camera I can't record stereo audio?
I assume this disables surround sound/dual mono mod, since it's replacing same files?
axiel7 said:
So with Google Camera I can't record stereo audio?
Click to expand...
Click to collapse
previously you can't, but now with this mod you can record stereo audio. (or with any camera app)
resutatto said:
I assume this disables surround sound/dual mono mod, since it's replacing same files?
Click to expand...
Click to collapse
Most likely yes. i don't use surround sound mod so i don't know.
kraatus90 said:
previously you can't, but now with this mod you can record stereo audio. (or with any camera app)
Most likely yes. i don't use surround sound mod so i don't know.
Click to expand...
Click to collapse
What lines do you edit for stereo recording? Maybe we can make a surround mod with stereo recording
resutatto said:
I assume this disables surround sound/dual mono mod, since it's replacing same files?
Click to expand...
Click to collapse
No, it doesn't.
axiel7 said:
What lines do you edit for stereo recording? Maybe we can make a surround mod with stereo recording
Click to expand...
Click to collapse
in mixer_path-
add this -
Code:
<path name="camcorder-stereo-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC10" />
<ctl name="DEC10 MUX" value="DMIC3" />
<ctl name="SLIM TX8 MUX" value="DEC7" />
<ctl name="DEC7 MUX" value="DMIC1" />
<ctl name="DEC7 Volume" value="78" />
<ctl name="DEC10 Volume" value="78" />
</path>
and modify this -
Code:
<path name="camcorder-mic">
<path name="camcorder-handset-mic" />
</path>
into this -
Code:
<path name="camcorder-mic">
<path name="camcorder-stereo-mic" />
</path>
That's what i see changed compared to stock.
Flashable zip with stereo camcorder and surround combined into one.
Please test whether it works, because I replaced the files on my phone manually.
Some info: Google Camera records in stereo @48 kHz ~98 kbps.
Snap Camera is available to record @48 kHz 192 kbps.
Test It on 7.11 puer nexus, working good!! Thank you for work....
Thank you for sharing
przemcio510 said:
Flashable zip with stereo camcorder and surround combined into one.
Please test whether it works, because I replaced the files on my phone manually.
Some info: Google Camera records in stereo @48 kHz ~98 kbps.
Snap Camera is available to record @48 kHz 192 kbps.
Click to expand...
Click to collapse
So this is a flashable zip with surround sound mod and stereo audio recording mod?
I'm not sure if this mod is responsible but since I flashed it my girlfriend claims that my voice reception is terrible. I told her for the last time stop blaming my phone, and to get something to replace that crappy Galaxy S3 of hers.
For me, the first zip does not break surround sound.
Ryder. said:
So this is a flashable zip with surround sound mod and stereo audio recording mod?
Click to expand...
Click to collapse
Yes
leolawliet said:
I'm not sure if this mod is responsible but since I flashed it my girlfriend claims that my voice reception is terrible. I told her for the last time stop blaming my phone, and to get something to replace that crappy Galaxy S3 of hers.
Click to expand...
Click to collapse
You may try to disable noise cancelling on your side by changing persist.audio.fluence.voicecall to false in build.prop. If it doesn't help, then her phone might be the problem
doggie13_ said:
For me, the first zip does not break surround sound.
Click to expand...
Click to collapse
Flashing your zip didn't work for me, i had to manually copy both files to the system/etc folder.
Same with @przemcio510 combined zip file. I'm using the combined mod and both stereo recording and "surround" sound are working.
Stock_files.zip gives me a error och stock rooted mmf26f.
RoadToNever said:
Stock_files.zip gives me a error och stock rooted mmf26f.
Click to expand...
Click to collapse
Did you even read the OP?
kraatus90 said:
These are not flashable zips For flashable zip see post #2.
Click to expand...
Click to collapse
---------- Post added at 04:12 PM ---------- Previous post was at 03:35 PM ----------
I increased the bitrate for the recorded audio to 192kbps as 96kpbs is pretty low for stereo and made a flashable zip with both stereo recording and DualMonoV2 combined. I've also attached a flashable zip with the stock files.
Thanks to @Jose-MXL @chdloc and @kraatus90 for these mods.
Can you make a module for magisk with this mod (stereo mic + dual mono)? I don't know if is easy or complicated to achieve.
v1c70r said:
Can you make a module for magisk with this mod (stereo mic + dual mono)? I don't know if is easy or complicated to achieve.
Click to expand...
Click to collapse
Here's a zip for Magisk. I don't know if it works but I followed the template they have.
Related
i dont like to talk alot here we go
use any explorer i prefer ES File it free and good
now starting
1- open the explorer and got to /system/etc/
2- scroll down till u find this file mixer_paths.xml and open it as text (ES File)
3- now scroll down till u find this line <!-- These are actual sound device specific mixer settings -->
under it look for this
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="67" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="SPK DAC Switch" value="1" />
</path>
the red numbers will make the speaker loud and louder than stock LG roms also
me for 1st red line i use 75 for 2nd i keep it without any change
scroll down again till u find this lines
<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="RX1 Digital Volume" value="58" />
<ctl name="RX2 Digital Volume" value="58" />
<ctl name="HPHL Volume" value="15" />
<ctl name="HPHR Volume" value="15" />
</path>
this lines will make the headphone BOOOOM :cyclops:
for me 1st and 2nd 65
3rd and 4th 20
go high or low and test till u be satisfied
u can also gain handset and mic all in this file
use this guid at own ur risk
it will work for all G2 models using any kit kat rom.
Update 1:
In all CM and Aosp base the quality of speaker sound very bad because more bass
If u follow this steps u will have a close lg stock quality
1: download the last version of viper4android FX
2: open file explorer and go to system/app and delete DSP and reboot ur device
3: open file explorer and push viper4android FX to system/app then reboot
4: open viper4android FX and install driver (choose super quality) after it done reboot
5: open viper4android FX and under phone speaker check the box beside Enable v4A under master power
And under firequalizer check the box beside Enable and in select preset choose custom and in equalizer
down the 1st five bars from the left side
6: press menu and select show notification ( this is to make the app not closed by system)
If u don't see any change in sound make sure the viper4android driver is working by press menu and choose driver status
update 2 : if u just need a fix to reduce the bass from speaker u can use flash it from here
why is it that when I try to save the file it sasys "eror occured when trying to save the file. it will not be saved."? Im using ES File explorer
Edit: Silly me, I didn't make give es file explorer permission to rewrite files with root..
HOLY ****. that's very loud and AWESOME!! THANKS
Btw, will this switch back to default everytime i update CM11?
@Henryy97 yeah you'll have to do this every time you flash a nightly. It gets overwritten with every flash.
Henryy97 said:
why is it that when I try to save the file it sasys "eror occured when trying to save the file. it will not be saved."? Im using ES File explorer
Edit: Silly me, I didn't make give es file explorer permission to rewrite files with root..
HOLY ****. that's very loud and AWESOME!! THANKS
Btw, will this switch back to default everytime i update CM11?
Click to expand...
Click to collapse
u can take the file u edit and save it in ur SD and after flash any kitkat rom just replace it i do that save time
MaZaGnGy said:
u can take the file u edit and save it in ur SD and after flash any kitkat rom just replace it i do that save time
Click to expand...
Click to collapse
Awww. Really didn't wanna have to do that but this loud sound is definitelyyy worth it!
Amazing tip. We will need this information much more once international kernels are shared for 4.4
Flashed new Houstonn's ROM and this HELPED alot and could pretty much customize how loud I set my device. THANKS
Thanks for this.
Sent from my LG-VS980 using Tapatalk
whoa!!!!!, thanks for the headset tip. Really made a difference
Thank you for this. Also, your values are perfect.
Sent from my G2 using Tapatalk
is it possible to have this mod in a flashable zip?
i don't feel confident editing files with a file browser
Wow it really makes a huge diffrence.
But the sound now sounds horrible, Any way to change that ?
rkiller51 said:
Wow it really makes a huge diffrence.
But the sound now sounds horrible, Any way to change that ?
Click to expand...
Click to collapse
Some sounds gets distorted cause the speakers can't handle the higher output. Nothing to do except lowering the volume.
Sent from my G2 using Tapatalk
---------- Post added at 03:26 PM ---------- Previous post was at 03:23 PM ----------
provolinoo said:
is it possible to have this mod in a flashable zip?
i don't feel confident editing files with a file browser
Click to expand...
Click to collapse
That's probably not as wise as the file you need to edit can be different from rom to rom and could possibly cause a softbrick or other issues. This is the safest way to do it.
Sent from my G2 using Tapatalk
I wish there was a fix like this for AOSP roms.
Bwangster12 said:
I wish there was a fix like this for AOSP roms.
Click to expand...
Click to collapse
Um, this is for AOSP roms..
Sent from my LG-D800
btm fdr said:
Um, this is for AOSP roms..
Sent from my LG-D800
Click to expand...
Click to collapse
I guess with ES File Explorer, I needed to let the entire file load or something. That little percentage meter at the bottom loads to a 100%. I was apparently trying to edit the file prior to that and all the contents weren't visible.
Henryy97 said:
Btw, will this switch back to default everytime i update CM11?
Click to expand...
Click to collapse
Use the app CyanDelta which is a delta update, it only downloads the changed files for each nightly and therefore is not going to replace that modified file each update, of course if the file gets changed then it will but that shouldn't be very often.
Sent from my LG-D802
MaZaGnGy said:
i dont like to talk alot here we go
use any explorer i prefer ES File it free and good
now starting
1- open the explorer and got to /system/etc/
2- scroll down till u find this file mixer_paths.xml and open it as text (ES File)
3- now scroll down till u find this line <!-- These are actual sound device specific mixer settings -->
under it look for this
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="67" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="SPK DAC Switch" value="1" />
</path>
the red numbers will make the speaker loud and louder than stock LG roms also
me for 1st red line i use 75 for 2nd i keep it without any change
scroll down again till u find this lines
<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="RX1 Digital Volume" value="58" />
<ctl name="RX2 Digital Volume" value="58" />
<ctl name="HPHL Volume" value="15" />
<ctl name="HPHR Volume" value="15" />
</path>
this lines will make the headphone BOOOOM :cyclops:
for me 1st and 2nd 65
3rd and 4th 20
go high or low and test till u be satisfied
u can also gain handset and mic all in this file
use this guid at own ur risk
it will work for all G2 models using any kit kat rom
Click to expand...
Click to collapse
Sorry guys,
But root is necessary or may i use es and this mod without rooting device?
Many thanks,anyway
You have to be able to modify and save the file so yes.
LG-VS980
diegocapassi said:
Sorry guys,
But root is necessary or may i use es and this mod without rooting device?
Many thanks,anyway
Click to expand...
Click to collapse
/system is read only unless your routed so yeah you do.
Sent from my LG-D802
Anyone here used a Motorola device with stock camera app using "Concert" mode and been able to record crystal-clear audio in a noisy environment without distortion? Whether you have or not, it works very well an I am trying to figure out how to get similar results with my Qualcomm based AT&T branded Galaxy S4 running Cyanogenmod 11 latest nightlies. It'd be great to find out if any solutions will work for other devices as well. I know very well that iOS devices can record video in noisy environments flawlessly without having to change any microphone settings at all.
To begin, the stock touchwiz configuration and AOSP-based rom configurations currently capture extremely distorted audio when you are in loud environment on the Galaxy S4, quite certain most all of the other Galaxy devices as well. In a quiet environment, the audio capture is awesome and in 2 channel stereo.
Digging into the audio configuration file, I've found many parameters that can be adjusted, changed, replaced, etc.
The file /system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3 is the audio configuration file.
It can be open and edited directly on the device using any text editor.
Here is the settings for the "camcorder" profile when recording video in the camera app:
Code:
[B][COLOR="DarkRed"]SectionDevice
Name "Camcorder Tx"
Comment "Camcorder Tx device"
EnableSequence
'SLIM_0_TX Channels':0:Two
'SLIM TX7 MUX':0:DEC3
'DEC3 MUX':0:ADC4
'ADC4 Volume':2:91.7%
'DEC3 Volume':2:84%
'SLIM TX8 MUX':0:DEC4
'DEC4 MUX':0:ADC3
'ADC3 Volume':2:91.7%
'DEC4 Volume':2:84%
'MICBIAS3 CAPLESS Switch':1:1
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC3 MUX':0:ZERO
'ADC4 Volume':1:0
'DEC3 Volume':1:67%
'SLIM TX8 MUX':0:ZERO
'DEC4 MUX':0:ZERO
'ADC3 Volume':1:0
'DEC4 Volume':1:67%
'MICBIAS3 CAPLESS Switch':1:0
EndSequence
ACDBID 56:2
EndSection[/COLOR][/B]
Adjusting volume percentages does result in differences in recording levels of the left/right channel, but what I am really looking for is the possibility of using Auto-gain control. I have read over and over that the audio hardware of these qualcomm processors do have auto-gain control in the audio processing. Does anyone know the perimeters here that enable it?
Apps like Tapemachine (a very awesome audio recording and editing app https://play.google.com/store/apps/details?id=com.samalyse.free.tapemachine ) has an option for Auto-gain control. Is this app using a hardware based auto-gain control or is it rendering within the app? Either way, any information leading towards the development of auto-gain control in video/audio recording in AOSP android would be great help. I'm not much of a programmer but I'm willing to dig into putting work into the AOSP camera app to enable this feature.
Thanks for reading.
-Steve
Changing the volume sensitivities in the lines above to something lower, ~54ish percent dramatically improved the audio recording in loud environments. The audio in my vehicle is really loud, figured it was a good place to test it. Before modifying the file, the sound was entirely inaudible distortion.
This works very well, it's just a drag to have to edit the file manually, reboot, and then go back to camera app and then record to get different levels of audio capture sensitivity.
Anyone want to help out with being able to control audio gain in video recording?
I'm looking for that too...
Do You compare gain and quality audio in video in Stock (Galaxy S4) and AOSP camera?
Camera App Name
Hi Steve,
I found your post very interesting. The issue is, I am not finding the camera app you are referring to (I am looking for an app with the possibility of lowering mic gain).
Thanks a lot!!
Juan
CLICK THIS TEXT TO BE DIRECTED TO THE LOLLIPOP THREAD
I would appreciate a small Donation, u can but u dont need to its up to you if u want thanks to all who are supporting me since Z1 generation
As all of you get confused this MOD is for All KITKAT Roms works with any update, doesn't matter if 108 or 157 ALL KITKAT Compatible
CAUTION!
]FIRST OF ALL DO BACKUP PLS, TO AVOID ANY SPAM LIKE HOW CAN I REVERT BACK,
IM NOT RESPONSIBLE FOR ANY DAMAGES WITH YOUR PHONE LIKE BROKEN EARPIECE ETC
JUST FOR INFORMATION I CANT DO SEPARATE ZIP FILES FOR EACH ONE, SPECIALLY MONO ZIPS I WILL NOT DO ANYMORE, SO PLS DONT ASK THAT THE HEADPHONES ARE TOO LOUD OR DISORT.
IM AN AUDIOPHILE SO I KNOW THE LIMIT WHAT DISORT OR NOT, I WILL KEEP THE HEADPHONE SETTINGS LIKE THIS.
Enjoy
I was able to activate Earpiece aswell while playing Music and I can hear the Difference so good and it is the most Genius thing I found for this Device.
Everyone dreamed to have Stereo Sound on this Phone like Xperia Z2
Now the Z1 Specifications are quite similar to the Z2 expect few Things
Click to expand...
Click to collapse
OLD
UPDATE v7 Pure Stereo
V7
Mirror
1. V7
2. V7
UPDATE v7.5 Pure Stereo
V7.5
Mirror
1. V7.5
2. V7.5
UPDATE v8 Bugfix Pure Stereo
V8
Mirror
1. V8
UPDATE v9 Pure Stereo
V9
Mirror
1. V9
UPDATE v10 Pure Stereo
V10
Mirror
1. V10
UPDATE v11 Pure Stereo
V11
Mirror
1. V11
UPDATE v12 Pure Stereo
V12
Mirror
1. V12
UPDATE v13 Super Stereo Mod
V13
Mirror
1. V13
2. V13
UPDATE v14 Super Clear Stereo Mod
STOCK ROM
STOCK v14
CM11 ROM
CM11 v14
Mirror
STOCK. STOCK v14
CM11. CM11 v14
Click to expand...
Click to collapse
New
HUGE UPDATE v15 Super Clear Stereo Mod
STOCK ROM
STOCK v15
Mirror
1. STOCK v15
Click to expand...
Click to collapse
STOCK files Stereo
STOCK STEREO
Mirror
STOCK STEREO
STOCK files Mono
STOCK MONO
Mirror
STOCK MONO
Click to expand...
Click to collapse
v1 Cyanogenmod
For Cyanogenmod install this Thanks to
Chocolatetrain
Follow Link
Click to expand...
Click to collapse
Changelog
v1.0
-bass active
-StereoSound active
-Headphones Volume boost
-loudspeaker Volume boost
-Microphone sensitivity boost
-Earpiece Volume call boost
v2.0
-Turned bass off (for louder Volume and less crackling
-fixed microphone and reduce sensitivity of microphone bit
-fixed microphone camcorder
-Reduce earpiece call volume for less echo or maybe not echo? Tell me
Increased the dual stereospeakers Volume bit
v3.0
-Add new speaker_cal.acdb From LG g3 (more clear sound)
- add bit more bass (not really noticeable
-Reduce volume bit (less cracking)
-Mixerpath.xml From Dreamingonmusic v8.5 just flash over nothing will happen
-Reduce microphone gain( no more echos)
-new Files
v3.5
-Added Bass (no conflicts with microphone)
-XLOUD and ClearPhase not able to deactivate (activated automatically) it's a bug
-Lowered volume reduces crackling (follow my eq settings in OP down
v4.0
-Removed bass (because of some issues
-Added Xperia T /Z2 and Galaxy Note III soundfiles edited by me
-Added more Mid-Trebble (producing more bass than the stock Rom and less than v3.5)
-XLOUD and ClearPhase work Again (but ClearPhase Have a bug I think don't sound clear as it should)
-Lowered volume (Eliminated crackling sound now
-Raised earpiece incall Volume
-Raised Mic gain little bit more
-Added Xperia Z2 headphone files (adds more bass and more clarity and much louder it can go to 91 without distort instead of 89)
v5.0
-Added whole SONY XPERIA z2 Audio System
-Fixed ClearPhase Sound bug
-Fixed incall headphone volume balance
-Lowered incall Speaker (maybe no more echos)
-Higher Volume (Stereo Speakers)
-Xperia Z2 Headphone configs
-Xperia Z2 Speaker Configs
-Added bass (start from 40hz)
-no more crackling so far, (depends on songs)
-Pushed incall equalizer volume Up
v5.5
-Reduced microphone gain to 14 (stock 12)
-Reduced bit volume
-Added SAMPLERATE 192_KHZ
v6
-Fixed Mic
-New Z3 Files
-Z3 DSEE - HX
-Z3 ACDB Files
-Improved Headphones alot (added much more bass)
-Fixed Crackling
-High Volume
-Bit more Bass
-More Clear Sound
-2 versions mono and stereo
-Updated Mixer_paths.xml
-And more
v7
-Updated Mixer_paths.xml
-Improved Earpiece Sound
-Added Megabass (Old Sony Devices)
-Updated Many Files
-Revert back to Stock Sony Speaker_cal.acdb due to some issues with distort in some Songs
-Impressive Loud Volume
-Hopefully fixed echo
-Fixed headset incall volume
v7.5
-Added Volume in Voice From Z3 (Deeper)
-Added bass (disable XLOUD and adjust Clearbass if u want to have bass but keep in mind volume is low)
-Improved Earpiece volume
-Hopefully fixed echo call (for your information I don't have any echo,)
-Xperia Z3 Speaker Calibration
-Added Dolby_mobile Virtual from LG G3 (my dad's phone) ?
v8 Bugfix
- Added SRS TruMedia
- fixed crackling on speaker
- more clear sound
- tuned microphone
v9
- Added Xperia Z2 Libs
- Added Bass And volume in voice
- more clear sound
- tuned microphone again
- Updated Mixer_paths.xml
- Added E1 speaker optimisation along with Z3 files
- Rework Megabass and dolby_mobile
v10
- Combined Xperia Z1/Z2/Z3 and Z Ultra Libs
-Z Ultra Speaker Optimisation (bass start 90hz compared to stock Z1 115hz)
- Added Bass, Volume and clarity in voice
- more clear sound
- tuned microphone and increase earpiece incall (no more Echos anymore for sure)
- Updated Mixer_paths.xml to Z3
- Improved Soundenhancment quality
- Improved the Stereo Output
- LOUDER VOLUME
- alot of more Z3 Files in forgot :/ Enjoy
v11
- replaced Z Ultra Speaker Optimisation with Z1c now bass start at 50hz Instead of 90hz
- Added more Bass, Volume and clarity in voice
- fixed no microphone and decrease bit earpiece incall (no more Echos anymore for sure)
- Reverted Mixer_paths.xml to Z1 due to issues
- Improved the Stereo Output
v12
- Made Speakers more equal loud
- Fixed microphone problem now completely
- Stereo incall loudspeaker
- updated Mixer_paths.xml
- Improved the Stereo Output
-lowered the speakers volume bit top reduce noise
v13
- Speakers Finally equal Loud and Balanced
- Retuned Mixerpath.xml
- Improved the Stereo Output
- tuned dB of Earpiece and Push Force (it's safe don't worry it will be not damaged)
v14
- Added CM11 version
- Speakers are Clear And Normal LOUD
- Retuned Mixerpath.xml
- Improved the Stereo Output
- tuned dB of Earpiece to maximum (6dB) so no Noise of Earpiece anymore and double Push Force to earpiece output
- Double Push Force for Loudspeaker and Clear Sound output
- Viper4android bug Fixed
Click to expand...
Click to collapse
New
v15
- Speakers are totally equal now
- Retuned Mixerpath.xml
- Improved the Stereo Output
- Triple Push Force to earpiece
- Double Push Force for Loudspeaker and Clear Sound output
- Viper4android bug NOW hopefully Fixed
- Based on latest v11Z Sonico
Click to expand...
Click to collapse
-Tell me more I forgot
Click to expand...
Click to collapse
EQ Settings
My equalizer settings for v4.0
Left to right
+6
+0
+4
+7
+10
Clearbass +10
Click to expand...
Click to collapse
My equalizer settings for v3.5 and v6.0 and v8.0
Left to right
+3
+2
+4
+7
+10
Clearbass +10
Click to expand...
Click to collapse
My equalizer settings for v7.5
Left to right
+0
-2
+3
+6
+10
Clearbass +10
Click to expand...
Click to collapse
My equalizer settings for v9.0 and v10.0 and v11.0 and v12.0
Left to right
+10
-3
+2
+6
+10
Clearbass +10
Click to expand...
Click to collapse
My equalizer settings for v13.0, v14.0 and 15.0
Left to right
+2
-3
+2
+6
+10
Clearbass +10
Click to expand...
Click to collapse
Better Use Without Viper4android (This Mod is already Perfect) personally I Don't use.
Credits to
@monivan
@mffu
@JimRnor
@Chocolatetrain
@Ohle76
@shiro321
@sinosuke
@xxx_sunnyboy_xxx
Click to expand...
Click to collapse
PS: Sorry if the Whole Thread look Ugly I wrote all these stuff with my Phone and edited all my files with my phone as much possible as I could now enjoy
I would appreciate a small Donation, u can but u dont need to its up to you if u want thanks to all who are supporting me since Z1 generation
Sent from my C6903 using XDA Premium 4 mobile app
I was thinking about doing this myself, amazing job! :laugh:
Chocolatetrain said:
I was thinking about doing this myself, amazing job! :laugh:
Click to expand...
Click to collapse
How u would do? It was so simple but we all was so stupid to find the how it work, it was just abt to copy and paste
In mixerpath.xml u just need to find the path
Speaker-and-headphone section
And Copy everything in that path and
Then delete everything in speaker section and paste the copied one, so simple I was
So much investing time nearly one month and now look the simplest way to do so stupid things take my time
But finally it works
Report if there is any bug
And I will try to push bass inside the two speakers without distortion let's try
Sent from my C6903 using XDA Premium 4 mobile app
dontbelive said:
How u would do? It was so simple but we all was so stupid to find the how it work, it was just abt to copy and paste
In mixerpath.xml u just need to find the path
Speaker-and-headphone section
And Copy everything in that path and
Then delete everything in speaker section and paste the copied one, so simple I was
So much investing time nearly one month and now look the simplest way to do so stupid things take my time
But finally it works
Report if there is any bug
And I will try to push bass inside the two speakers without distortion let's try
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah it was an idea, but I had no idea how to do it though good luck.
Chocolatetrain said:
Yeah it was an idea, but I had no idea how to do it though good luck.
Click to expand...
Click to collapse
Haha no need I did now and I hope other modders and devs can provide better sound with these work, I think I did a great job seriously I am proud of myself haha xD u noticed any bug?
Sent from my C6903 using XDA Premium 4 mobile app
dontbelive said:
Haha no need I did now and I hope other modders and devs can provide better sound with these work, I think I did a great job seriously I am proud of myself haha xD u noticed any bug?
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No Bugs, but I do not see any difference, I can not install with TWRP (Failed !), I had to copy it with ES :good:
Kisaraji said:
No Bugs, but I do not see any difference, I can not install with TWRP (Failed !), I had to copy it with ES :good:
Click to expand...
Click to collapse
It does not work? For me it works perfectly
EDIT ; can you test if it works when u flash with recovery I also.increased microphone sensitivity and headphones
Sent from my C6903 using XDA Premium 4 mobile app
I uploaded new zip pls test for those who don't have sound mods pls test cuz I have DreamingOnMusic installed and don't want to.replace lazy haha
Report me bugs pls
Sent from my C6903 using XDA Premium 4 mobile app
ask
I have a question:
we all know our xperia z1 loudspeaker is only 1 (mono) not stereo.
how can we produce stereo sound from only 1 speaker?
I checked your mixer_paths.xml.
it contains
<ctl name="TFA98XX_PARAM_TYPE" value="Playback" />
<ctl name="TFA98XX_CHANNEL" value="Both" /> --> I think it was taken from xperia z2 mixer_path.xml
<ctl name="TFA98XX_SPKR_AMP" value="1" />
<ctl name="DAC1 Switch" value="1" />
I wonder, will it working with our xperia z1?
thank you.
choco-bio said:
I have a question:
we all know our xperia z1 loudspeaker is only 1 (mono) not stereo.
how can we produce stereo sound from only 1 speaker?
I checked your mixer_paths.xml.
it contains
<ctl name="TFA98XX_PARAM_TYPE" value="Playback" />
<ctl name="TFA98XX_CHANNEL" value="Both" /> --> I think it was taken from xperia z2 mixer_path.xml
<ctl name="TFA98XX_SPKR_AMP" value="1" />
<ctl name="DAC1 Switch" value="1" />
I wonder, will it working with our xperia z1?
thank you.
Click to expand...
Click to collapse
It means u don't understand BTW it's not the speaker settings and one more I uploaded new zip and this lines are useless ignore if u compare with original mixerpath.xml u will see
New lines begin from
CLASS_DSM_HPHL something like this u will see it
Rx 7 is for right speaker (actually it's loudspeaker)
Rx1 and RX2 is for left speaker (it's earpiece speaker) but RX2 don't work so
Logically rx7 for right and rx1 for left, try ur self,,
Sent from my C6903 using XDA Premium 4 mobile app
great
so far, the "stereo sound" sounds great !! -> I disable speaker settings sony(clear phase n xloud) to get better sound though.
I only implement "stereo" tweak, not headphoneµphone boost.
Great job !!:good::good::good:
anyway I have tried your bass mod, it sounds terrible.
choco-bio said:
so far, the "stereo sound" sounds great !! -> I disable speaker settings sony(clear phase n xloud) to get better sound though.
I only implement "stereo" tweak, not headphoneµphone boost.
Great job !!:good::good::good:
anyway I have tried your bass mod, it sounds terrible.
Click to expand...
Click to collapse
Hahahaha leave this bass boost for now it's so unless bit I will experiment with it a bit let's see
Sent from my C6903 using XDA Premium 4 mobile app
1 more question
btw before I forget this thing, should we change "RX7 Digital Volume" value into 100 instead of 90 ??
because RX1 Digital Volume & RX2 Digital Volume values are 100.
i don't understand how we can have a stereo mode if we have only 1 loudspeaker. what's the second loudspeaker?
fer2503 said:
i don't understand how we can have a stereo mode if we have only 1 loudspeaker. what's the second loudspeaker?
Click to expand...
Click to collapse
It's the earpiece speaker it suppose to be the second one
Sent from my C6903 using XDA Premium 4 mobile app
choco-bio said:
btw before I forget this thing, should we change "RX7 Digital Volume" value into 100 instead of 90 ??
because RX1 Digital Volume & RX2 Digital Volume values are 100.
Click to expand...
Click to collapse
Leave it to 90 bcuz it will disort and will jot sound good
Sent from my C6903 using XDA Premium 4 mobile app
dontbelive said:
Leave it to 90 bcuz it will disort and will jot sound good
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright =) thank you.
dontbelive said:
It's the earpiece speaker it suppose to be the second one
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
But the earpiece is too lower than the loudspeaker. Can we hear it?
fer2503 said:
But the earpiece is too lower than the loudspeaker. Can we hear it?
Click to expand...
Click to collapse
Ofc I makes so much difference,, instead of asking so many questions try urself
Sent from my C6903 using XDA Premium 4 mobile app
dontbelive said:
Ofc I makes so much difference,, instead of asking so many questions try urself
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
it doesn't work, i didn't get any sound from the phone, i try to restore the default one but it doesn't work
Hi, I wanted to lower the JPG compression of Google Camera (I'm assuming stock is 85% I want to make it 95%) I also wanted to know I can increase microphone volume... I only know how to increase headphone volume, and speaker volume...thanks.
As far as I know the compression can be adjusted in media_profiles.xml.
I found that these lines need to be adjusted:
Code:
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
I changed all values to 100 and the quality seems to be a little better. If you want to reduce the compression you could also raise this value:
Code:
<ImageDecoding memCap="20000000" />
So the pictures are able to save more information, which will make them bigger, but they will be at a better quality (not that noticeable though).
And for microphone volume (for camera. I don't know which one is used during phone calls) in mixer_paths.xml under
Code:
<path name="camcorder-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
change the value of
Code:
<ctl name="DEC6 Volume" value="88" />
I use the value of 96 for "DEC6 Volume", which seems to be ok, though I haven't tested it thoroughly.
I am not a dev so I cannot offer any warranty that this is 100% the most accurate method to do these, but I tested them on my Nexus and they worked so far.
If anyone knows better I'd like to hear their opinion, because I'm interested in these too.
Try Real Nexus 5 Volume booster in the app section for headphone and speaker boosts. The rest, I use Franco Kernel and I can modify it using his app. The above post is an informative way to do so without using a custom kernel or app.
.
For Redmi Note 5 AI GLOBAL users:
Tested on Global/China Rom.
Requirements:
Unlocked bootloader
Magisk 16.x
1. Low volume fix on earphones/speakers, especially on games like PUBG, ROS, etc.
In-Game Low Volume Fix
2. Increased earphone volume with value of 5.
Increase Earphone Volume
3. Muffled sound output fix when recording loud music or audio.
Muffled Sound Output Fix
Thanks.
These are the edited files.
\vendor\etc
mixer_paths.xml
mixer_paths_mtp.xml
mixer_paths_wcd9326.xml
mixer_paths_wcd9335.xml
mixer_paths_wcd9340.xml
Added 5 on each of these lines on the xml files. It increases volume gradually while on earphones.
Code:
HPHL Volume
HPHR Volume
RX1 Digital Volume
RX2 Digital Volume
\vendor\etc\audio
audio_policy_configuration.xml
Added these lines. These were absent on 9.5.11 up to Miui 10.
It increases audio output on earphones on online games like PUBG, ROS, etc.
Code:
<mixPort name="raw" role="source"
flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<route type="mix" sink="Earpiece"
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
\vendor\build.prop
persist.vendor.audio.fluence.voicecall=
persist.vendor.audio.fluence.speaker=
Set to false as they cause an issue with noise cancellation feature of the device.
Loud sound or music recorded on video/audio is like underwater or it's muffled all the time.
devcon69 said:
.
For Redmi Note 5 AI GLOBAL users:
1. Low volume on earphones/headphones. especially on games like PUBG, ROS, etc. I increased a value of 6 only on earphone settings.
2. Muffled sound output fix when recording loud music or audio.
3. Enabled 4K video recording on stock cam. Credits Vidhanth
4. Enabled some manual mode settings on stock cam.
Tested on Global 9.5.13.0. You can try with version 9.5.6.0/9.5.11.0.
Thanks.
Click to expand...
Click to collapse
Hi @devcon69,
Will it work on Redmi note 5 pro Global version (9.5.13.0) as I am from India and hate the fact that I can't hear much on PUBG mobile?
If not, can you please make one file for Redmi note 5 pro global version or let me know which values in which files you changed for earphone audio
abhishek943 said:
Hi @devcon69,
Will it work on Redmi note 5 pro Global version (9.5.13.0) as I am from India and hate the fact that I can't hear much on PUBG mobile?
If not, can you please make one file for Redmi note 5 pro global version or let me know which values in which files you changed for earphone audio
Click to expand...
Click to collapse
He says that it was "Tested on Global 9.5.13.0. "
also , there are 2 files , you can compare patch and restore archives to see which values are different
kodorevi8ulis said:
He says that it was "Tested on Global 9.5.13.0. "
also , there are 2 files , you can compare patch and restore archives to see which values are different
Click to expand...
Click to collapse
But he has written note 5 AI global, mine is not the AI version so unsure
Good point though, will compare both the files!!
devcon69 said:
.
For Redmi Note 5 AI GLOBAL users:
..
2. Muffled sound output fix when recording loud music or audio.
..
If it does not work or has no effect then flash RESTORE_MediaRMN5_whyred.zip
Thanks.
Click to expand...
Click to collapse
Any idea how to change the filters on the audio recording? I noticed that during video recording the audio seems to have a high pass filter. Meaning almost no bass.
@devcon69 and @kodorevi8ulis.
Thanks again, its working fine now but now output while listening to music on headphones is way loud, more like sound is getting distorted at full volume.
I will try to increase the volume by 4 in that case.
lukesan said:
Any idea how to change the filters on the audio recording? I noticed that during video recording the audio seems to have a high pass filter. Meaning almost no bass.
Click to expand...
Click to collapse
abhishek943 said:
@devcon69 and @kodorevi8ulis.
Thanks again, its working fine now but now output while listening to music on headphones is way loud, more like sound is getting distorted at full volume.
I will try to increase the volume by 4 in that case.
Click to expand...
Click to collapse
Check 2nd post
devcon69 said:
Check 2nd post
Click to expand...
Click to collapse
Nope, record a song with bass and then listen to the recording with a headphones. Seems that there is a high pass filter like at 150Hz or so.
lukesan said:
Nope, record a song with bass and then listen to the recording with a headphones. Seems that there is a high pass filter like at 150Hz or so.
Click to expand...
Click to collapse
Yes that's why I told you to read 2nd post so you'll know what to edit.
Try to set them back to false.
\vendor\build.prop
persist.vendor.audio.fluence.speaker=
persist.vendor.audio.fluence.voicecall=
devcon69 said:
Yes that's why I told you to read 2nd post so you'll know what to edit.
Try to set them back to false.
\vendor\build.prop
persist.vendor.audio.fluence.speaker=
persist.vendor.audio.fluence.voicecall=
Click to expand...
Click to collapse
And what do you think I just edited and test?
Did you try what I just wrote?
lukesan said:
And what do you think I just edited and test?
Did you try what I just wrote?
Click to expand...
Click to collapse
I really don't know what you edited. Everything is posted here. You just edit the files according to your liking and find which is better. I've tried this and it all worked fine for me, well to my ears.. If you don't like the effect then restore the default settings.
devcon69 said:
I really don't know what you edited. Everything is posted here. You just edit the files according to your liking and find which is better. I've tried this and it all worked fine for me, well to my ears.. If you don't like the effect then restore the default settings.
Click to expand...
Click to collapse
I asked about changing audio filters. Noise reduction has nothing to do with it.
lukesan said:
I asked about changing audio filters. Noise reduction has nothing to do with it.
Click to expand...
Click to collapse
I try on my redmi note 5 and everything is great. After update my mi earphones low sound in pubg and after install all is great. Record sound great also.
Lukesan i think you know more so why you ask and dont listen. You find answer yourself.
[email protected] said:
Lukesan i think you know more so why you ask and dont listen. You find answer yourself.
Click to expand...
Click to collapse
No worries, I'm sorry for asking for the high pass filter settings and getting a reply back in regards to noise reduction. My English must be bad. Good that you got your first like.
lukesan said:
No worries, I'm sorry for asking for the high pass filter settings and getting a reply back in regards to noise reduction. My English must be bad. Good that you got your first like.
Click to expand...
Click to collapse
Off topic.
Yea man I really don't owe you anything. If you're not satisfied with my answer then ask for others help cause it's what you're good at.
You are ungrateful. Think you're better than them? Then don't ask for help.
Are you mocking [email protected] for his english and for the thank I gave him?! Really man??
English is a Language NOT a measure of intelligence. This is a diverse community.
I don't care much about people like you as I came here to learn and to help people NOT to mock them.
devcon69 said:
Off topic.
Yea man I really don't owe you anything. If you're not satisfied with my answer then ask for others help cause it's what you're good at.
You are ungrateful. Think you're better than them? Then don't ask for help.
Are you mocking [email protected] for his english and for the thank I gave him?! Really man??
English is a Language NOT a measure of intelligence. This is a diverse community.
I don't care much about people like you as I came here to learn and to help people NOT to mock them.
Click to expand...
Click to collapse
off topic.
Since when did I mock [email protected] about his English? I asked YOU about the high pass filter and even posted asking you to test this with a track with some bass and headphones. To me that is a very clear question. I'm a non native English speaker, so stop blaming of something which I did not do at all, that is just false accusation and not done! Maybe we should have some moderators have a look at this?
Good job... Finally low sound issues on pubg and other sound that use headset now solved... Great job!!!
How you will do that to 4 bit...can you help me
abhishek943 said:
@devcon69 and @kodorevi8ulis.
Thanks again, its working fine now but now output while listening to music on headphones is way loud, more like sound is getting distorted at full volume.
I will try to increase the volume by 4 in that case.
Click to expand...
Click to collapse
my email id- [email protected]
can you please help me
---------- Post added at 10:38 PM ---------- Previous post was at 10:35 PM ----------
devcon69 said:
.
For Redmi Note 5 AI GLOBAL users:
1. Low volume on earphones/headphones. especially on games like PUBG, ROS, etc. I increased a value of 6 only on earphone settings.
2. Muffled sound output fix when recording loud music or audio.
3. Enabled 4K video recording on stock cam. Credits Vidhanth
4. Enabled some manual mode settings on stock cam.
Tested on Global 9.5.13.0. You can try with version 9.5.6.0/9.5.11.0.
Requirements:
Unlocked bootloader
TWRP/REDWOLF Recovery
PATCH_MediaRMN5_whyred.zip
RESTORE_MediaRMN5_whyred.zip
Download PATCH_MediaRMN5_whyred.zip, save on internal storage/sdcard then boot to TWRP/REDWOLF.
Browse for zip file and flash. Then wipe cache/dalvik cache only and reboot.
If it does not work or has no effect then flash RESTORE_MediaRMN5_whyred.zip
Thanks.
Click to expand...
Click to collapse
How to do that can you elaborate this??? Can I do this through build prop editor because 6 bit is too high and the sound is breaking with full volume.. please help
RSubha said:
my email id- [email protected]
can you please help me
---------- Post added at 10:38 PM ---------- Previous post was at 10:35 PM ----------
How to do that can you elaborate this??? Can I do this through build prop editor because 6 bit is too high and the sound is breaking with full volume.. please help
Click to expand...
Click to collapse
If you have flashed the patch zip then restore it.
Open the patch zip file and extract and replace only one file: audio_policy_configuration.xml using root explorer.
Then set the permissions of newly created come as of other files.
Then restart. It's done