Hello there! Since I bought this phone I've always had sound problems while using camcorder. I used the first and, probably, the only method to fix it (change number ACDBID 545:2 to ACDBID 528:2), but it wasn't good enough. The sound was too quiet on records, and it wasn't really clear. For a while now I've been trying to fix it and I thought of trying to record sound by using only one microphone. The other microphone is no longer used. As a result, I got video records with clear and loud sound. Here is what I did. I changed this
Code:
SectionDevice
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
EnableSequence
'SLIM_0_TX Channels':0:Two
'SLIM TX7 MUX':0:DEC4
'DEC4 MUX':0:ADC3
'DEC4 Volume':1:66
'SLIM TX8 MUX':0:DEC7
'DEC7 MUX':0:ADC1
'DEC7 Volume':1:85
'ADC3 Volume':1:100
'ADC1 Volume':1:100
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC7 MUX':0:ZERO
'SLIM TX8 MUX':0:ZERO
'DEC3 MUX':0:ZERO
'ADC3 Volume':1:0
'ADC1 Volume':1:0
EndSequence
ACDBID 545:2
into this
Code:
SectionDevice
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
EnableSequence
'SLIM_0_TX Channels':0: One
'SLIM TX7 MUX':0:DEC7
'DEC7 MUX':0:ADC1
'DEC7 Volume':1:85
'ADC1 Volume':1:100
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC7 MUX':0:ZERO
'ADC1 Volume':1:0
EndSequence
ACDBID 528:2
For some unknown reason, code line ''''SLIM_0_TX Channels':0: One'' is not displayed correctly inside the wrap code tags. So you need to move the word 'One' one space to the left to get the correct code line.
If you don't want to manually change code lines, you can download the whole file from these links
https://drive.google.com/file/d/0B0fm48_gHjlYTl9FT21ZTGxzZkU/view?usp=sharing
https://mega.nz/#!VwcyyBya!EmkmzPx2w2vWMMldFWNfjO4A4dIPO0U8KIwB7_tHtZU
and replace them with the existing file at the location system/etc/snd_soc_msm.
I hope this has been helpful.
I am very Happy with this
Thank you very much
I have been waiting for this since purchase.
I was not satisfy with sound while recording videos.
I went to Consumer Court and even won, but the problem still remain same.
Now I my phone is perfect, Thanks to you.
I can now record videos whenever I want.
Thank you
works also on CM12 or CM13? Can you make a flashable zip? (and with the original for recovery back to original just in case)
thx!!!!
Extraordinary. The same fix I think was also given by xenius9 long ago.
BTW combined this with volume boost
I can get good audio mic recording in camera and nice loud volume too!
I tried this fix on .283 4.4.4 version and it doesn't work. I have no sound at all after this fix.
So this works only for LP?
Edit: It was my mistake...I forgot to remove the space for the word "One". Works fine now, thanks.
What apps do i need to do this? I have root.
Root file manager or similar.
gavranpero said:
Root file manager or similar.
Click to expand...
Click to collapse
Is there any fix for custom roms like RR sir?
Related
n00b here. Recording a video with the audio at only 8000 Hz sounds like your camera is in a toilet. Are there any 3rd party camera apps that can do 16000 Hz, or maybe a hack for the default app?
I can successfully change bitrate and resolution for video encoding in build.prop, but changing any values for the audio just causes the camera app to force close. Failing at that, I looked up the AMRNB codec and found that it doesn't support 16000 Hz at all anyway. My next misguided idea was to change the default codec stuff from this
Code:
ro.media.enc.hprof.codec.aud=amrnb
...
ro.media.enc.hprof.aud.bps=12200
ro.media.enc.hprof.aud.hz=8000
ro.media.enc.hprof.aud.ch=1
to AAC, like it is in the Droid/Milestone
Code:
ro.media.enc.hprof.codec.aud=aac
...
ro.media.enc.hprof.aud.bps=96000
ro.media.enc.hprof.aud.hz=16000
ro.media.enc.hprof.aud.ch=1
I realize they are different phones, but I figured it was worth a shot. Failed again, naturally.
Can anyone shed some light on this? Why did HTC give us DVD resolution video with only telephone quality audio? That's like having an HDTV with only a piezo buzzer for a sound system. I do not understand this decision at all.
+1
I have noticed this as well, but I assumed it was a hardware restriction.
If there can be any light shed on this let us know!
Really good idea. I was thinking of adjusting the frame rate so that it always remained at a constant 24 fps, rather than going down to 9 fps in indoor conditions. Any suggestions?
gsmsosv said:
n00b here. Recording a video with the audio at only 8000 Hz sounds like your camera is in a toilet. Are there any 3rd party camera apps that can do 16000 Hz, or maybe a hack for the default app?
I can successfully change bitrate and resolution for video encoding in build.prop, but changing any values for the audio just causes the camera app to force close. Failing at that, I looked up the AMRNB codec and found that it doesn't support 16000 Hz at all anyway. My next misguided idea was to change the default codec stuff from this
Code:
ro.media.enc.hprof.codec.aud=amrnb
...
ro.media.enc.hprof.aud.bps=12200
ro.media.enc.hprof.aud.hz=8000
ro.media.enc.hprof.aud.ch=1
to AAC, like it is in the Droid/Milestone
Code:
ro.media.enc.hprof.codec.aud=aac
...
ro.media.enc.hprof.aud.bps=96000
ro.media.enc.hprof.aud.hz=16000
ro.media.enc.hprof.aud.ch=1
I realize they are different phones, but I figured it was worth a shot. Failed again, naturally.
Can anyone shed some light on this? Why did HTC give us DVD resolution video with only telephone quality audio? That's like having an HDTV with only a piezo buzzer for a sound system. I do not understand this decision at all.
Click to expand...
Click to collapse
YES!
I agree 100%. Maybe the idea was to create a suitable MMS birate/container solution w/ no regard to ANYONE else... there has to be a way. in fact I'm excited that you were able to at least play w/ the video and adjust bitrate & res. Care to share how to a layman?
AMR sounds like garbage. In addition to the incredibly low samling frequency, the bitrate is ~ 12.5Kbps. I would say that's a cut below telephone SQ.
Can any people in here far smarter than me, tell us if one can hackney a difference audio codec (say mp3?) as AMR seems too limited to work with. Or maybe a 3rd party app... why are there NONE?
this seems to make it seem possible:
http://developer.android.com/reference/android/media/CamcorderProfile.html
I would really love this on my Desire. Currently both video and audio are crap, audio especially. Here's a little demonstration I made, where I went to see which encoding type is better, mpeg4 or H.264:
http://www.youtube.com/watch?v=CgW28VE0eOo
justin.tv app mitigates this for now, as the video uploaded to justin.tv in near realtime is markedly better than the abysmal quality of the native android app, which just goes to show how dysfunctional it really is.
for now, I'll use justin.tv whenever recording videos... it goes to show that many android phones (inc. my hero) are capable of so much more in the hardware, and the limiting factor is crappy software devs and/or requirements.
1. If you want stereo sound from the camera:
-find in snd_soc_msm_2x_Fusion3(placed in system/etc/snd_soc_msm)
SectionDevice
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
EnableSequence
'SLIM_0_TX Channels':0:Two
'SLIM TX7 MUX':0EC4
'DEC4 MUX':0:ADC3
'DEC4 Volume':1:66
'SLIM TX8 MUX':0EC7
'DEC7 MUX':0:ADC1
'DEC7 Volume':1:68
'ADC3 Volume':1:100
'ADC1 Volume':1:100
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC7 MUX':0:ZERO
'SLIM TX8 MUX':0:ZERO
'DEC3 MUX':0:ZERO
'ADC3 Volume':1:0
'ADC1 Volume':1:0
EndSequence
ACDBID 545:2
EndSection
-change ACDBID 545:2 to ACDBID 544:2 and save
-reboot and use)))
2. 1. If you want mono sound from the camera:
-find in snd_soc_msm_2x_Fusion3(placed in system/etc/snd_soc_msm)
SectionDevice
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
EnableSequence
'SLIM_0_TX Channels':0:Two
'SLIM TX7 MUX':0EC4
'DEC4 MUX':0:ADC3
'DEC4 Volume':1:66
'SLIM TX8 MUX':0EC7
'DEC7 MUX':0:ADC1
'DEC7 Volume':1:68
'ADC3 Volume':1:100
'ADC1 Volume':1:100
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC7 MUX':0:ZERO
'SLIM TX8 MUX':0:ZERO
'DEC3 MUX':0:ZERO
'ADC3 Volume':1:0
'ADC1 Volume':1:0
EndSequence
ACDBID 545:2
EndSection
-change all to:
SectionDevice
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
EnableSequence
'SLIM_0_TX Channels':0ne
'SLIM TX7 MUX':0EC7
'DEC7 MUX':0:ADC1
'DEC7 Volume':1:68
'ADC1 Volume':1:100
EndSequence
DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC7 MUX':0:ZERO
'ADC1 Volume':1:0
EndSequence
ACDBID 545:2
EndSection
-save and use))
OR DOWNLOAD AND FLASH ATTACHMENT FOR RIGHT VERSION OF ANDROID.
So , Is that the solution of this? Sony Xperia ZR issue
Yes
will it also fix this?
https://code.google.com/p/freexperia/issues/detail?id=2286&start=300
https://jira.cyanogenmod.org/browse/CYAN-2802
Could anybody try this? I dont own the device but I am very interested about the solution of the bad sound recording in video camera
Jonfensu said:
Could anybody try this? I dont own the device but I am very interested about the solution of the bad sound recording in video camera
Click to expand...
Click to collapse
All working fine on 4.2 rom.
Hi.. Xenius9 the attach file on the first posting is it for mono audio or stereo audio for camera.?
---------- Post added at 10:16 PM ---------- Previous post was at 10:12 PM ----------
Hi xenius9. The attached file from your post is it for mono sound or stereo sound for the xperia.
xenius9 said:
All working fine on 4.2 rom.
Click to expand...
Click to collapse
already download the file and sound recording much much better now. tq
ujangns said:
Hi.. Xenius9 the attach file on the first posting is it for mono audio or stereo audio for camera.?
---------- Post added at 10:16 PM ---------- Previous post was at 10:12 PM ----------
Hi xenius9. The attached file from your post is it for mono sound or stereo sound for the xperia.
Click to expand...
Click to collapse
For STEREO.
5503 on 4.2.2 here. 545 to 544 unfortunately didn't change a thing for me. Is that all to modify for stereo?
I am on 4.2.2 .244 and flashing the fix seems to be helping. Gee, I have been filming so many trips without this
Thanks
Sent from my Xperia ZR via Tapatalk
There is a simple decision of a problem.
It is necessary in a file snd_soc_msm_2x_Fusion3 ( \system\etc\snd_soc_msm\ ) To change it :
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
From this ACDBID 545:2 to ACDBID 528:2.
We keep and reboot the device.
Prior_Ori said:
There is a simple decision of a problem.
It is necessary in a file snd_soc_msm_2x_Fusion3 ( \system\etc\snd_soc_msm\ ) To change it :
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
From this ACDBID 545:2 to ACDBID 528:2.
We keep and reboot the device.
Click to expand...
Click to collapse
The first method didn't work but this one solved my problem.
No more strange level adjustment after one or two seconds of video recording.
Thanks!
Prior_Ori said:
There is a simple decision of a problem.
It is necessary in a file snd_soc_msm_2x_Fusion3 ( \system\etc\snd_soc_msm\ ) To change it :
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
From this ACDBID 545:2 to ACDBID 528:2.
We keep and reboot the device.
Click to expand...
Click to collapse
for stereo 545 to 544 or 528??????
I am confused really.
EDITED
I tested myself all the versions: 545, 544 and 528
At me 528 gives clear audio. That is the best from the 3 versions.
544 gives some distortion or smthg, it is hard to explain
545 was the original, it was even worse
The ROM where I tested is Stock 4.3 (.101) pre-rooted http://forum.xda-developers.com/showthread.php?t=2590174
Thank you guys!!!
I am excited that has helped you and..)) in fact phone excellent. Spoilt all only one bug.
Prior_Ori said:
There is a simple decision of a problem.
It is necessary in a file snd_soc_msm_2x_Fusion3 ( \system\etc\snd_soc_msm\ ) To change it :
Name "Camcorder Stereo"
Comment "Dual MIC recording device"
From this ACDBID 545:2 to ACDBID 528:2.
We keep and reboot the device.
Click to expand...
Click to collapse
I confirm. That has resolved the issue.
Thanks man for your appreciated efforts :good:.
I'm on stock 4.3 rooted.
can someone explain what does it actually do and why it helps? thx!!!!!!!!!!!
No - it does not
moolash said:
I am on 4.2.2 .244 and flashing the fix seems to be helping. Gee, I have been filming so many trips without this
Thanks
Sent from my Xperia ZR via Tapatalk
Click to expand...
Click to collapse
Update: no it is not working. After flashing, I did a video, viewed it on phone and sounded ok.
Now filming other things and watching them, it is the same. First 1-2 seconds OK, then spoilt.
(that test video shot right after flashing still sounds OK, however I was just talking, there is relevant background noise or so)
Any idea?
nostupidthing said:
can someone explain what does it actually do and why it helps? thx!!!!!!!!!!!
Click to expand...
Click to collapse
hard to explain, if you have some time test it yourself.
what I made:
-record with original value
-changed 545 to 544 with ESfile explorer
-reboot
-record
-change to 528
-reboot
-record
I heard significant difference in the background noise. I made the recording outside. There came a bus (~50-100m from me), and there were many birds. With 545, and 544 the audio of the video rec was basically ok, but the background noises (bus and birds) were strange, distorted, ufoish :cyclops: continous gruggling... It was hard to recognize what gave the sound in the backround if you didn't know what gave it.
With 528 they are more clear, recognizable.
-----------
Who has problem to get it working:
I recommend to edit your file (not use a flashable zip, because it will flash a different file from who knows where) after a backup. In this case possibly you don't make too big mess. You can edit the file on the phone or on computer...
I tested it only on stock 4.3 (.101)
for me, it's more like constant low volume in video record. it seems better with this patch, still low compared to my friend's nexus 5 though.
also in voice calls the other side hear very noisy, not "normal" for a modern smartphone.
all in all, the "2nd mic" doesn't seem to be working.
i believe there are more than one issue at play. the fact that stock roms have problems and fxp/cm devs are not actively supporting is disappointing.
p.s. you're talking about this right? http://www.youtube.com/watch?v=MAAz5bJuJlg
THIS MOD DOES NOT WORK ON OREO
First off
- your device has to be rooted / or at least have TWRP working to move the file
- you probably have to be on the latest OxygenOS Android 7.1.1 Beta for this to work
- the videos will be recorded with the latest Google Camera App:
http://www.apkmirror.com/apk/google...amera-4-3-016-147548696-android-apk-download/
- you will be able to record slowmotion video in 720p with sound
- you will be able to edit the video with Google Photos and to manually set the desired area which is played in slowmotion, the other area will play in full motion, just like on the iPhone for example!
How-to
1.) Download this file: https://www.dropbox.com/s/kt0pa3ks8b1lzpy/media_profiles.xml?dl=0
2.) put it into root/system/etc and overwrite the existing file
3.) set the correct permissions! rw-r--r-- (0644)
4.) reboot your device
5.) install the linked Google Camera, start it, go into Slowmotion mode
6.) open the Video from within the Google Photos App and edit it...
7.) Have fun!
I only stumbled across this just now, so I only got to test it on my OP3 with Beta12 Android 7.1.1.
I don't know if this works on older Betas or the latest stable build, so don't ask me.
But you are welcome to share your experience with us if you try it on other builds.
Keep in mind that the linked Google Camera version will only work on Android 7.1.1!
Here is a quick sample video I took which shows you how the video can be edited in Google Photos:
The sound is actually as good as always while playing it in full-speed in Google Photos and respectively "worse" in slowmotion,
which has to be expected in my opinion. At least it is much better than slowmotion without any sound, which is the reason I newer touched this feature in the past.
For the long explanation on how I found out about this:
I was already testing the latest Google Camera for Android 7.1.1 after flashing Beta 12 and unfortunately the slowmotion mode crashed immediately each time.
Today I stumbled over this commit for the OP3/3T on LineageOS:
https://review.lineageos.org/#/c/163935/
https://review.lineageos.org/#/c/163935/1/configs/media_profiles.xml
It adds these lines to the existing media_profiles.xml:
Code:
<!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/720P : [email protected]; 27.0 Mbps -->
<EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="27000000"
width="1280"
height="720"
frameRate="120" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="27000000"
width="1280"
height="720"
frameRate="120" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/1080P : [email protected]; 34.0 Mbps -->
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="34000000"
width="1920"
height="1080"
frameRate="60" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
This commit is meant to make slowmotion work on the latest Google Camera on LineageOS.
I thought to myself, why not add this code to the file provided in OxygenOS.
What can I say, It just works! The file provided above is taken from OOS Beta 12.
I just added the mentioned code from the spoiler.
I also think 1080p slowmotion with sound should be possible when we can already record [email protected]!
Great , works like a charm .
??????
Nice post, well explained. It would be nice to unlock 240fps too, but I highly doubt that's gonna happen.
Can the video encoding be changed to h.265?
Does this affect the existing OnePlus Camera?
shubhaemk said:
Does this affect the existing OnePlus Camera?
Click to expand...
Click to collapse
No, it still works as before. It also still fails to record audio in slowmotion mode.
is there any chance to get it implemented into the oneplus camera apk?
AcmE85 said:
First off
I don't know if this works on older Betas or the latest stable build, so don't ask me.
Click to expand...
Click to collapse
I can confirm that this also works on 7.0. I.e on 4.0.x oxygen os rom.
Thanks for the tip bro.
Camera and video recording works for me, but slow mo force closes the app. Followed all instructions. Not sure what "overwrite the existing file" means. What file are we talking about overwriting? Are we changing names of it? I also noticed I'm at 644 not 0644, none of the options I clicked added a zero in front.
MrWilsonxD said:
Camera and video recording works for me, but slow mo force closes the app. Followed all instructions. Not sure what "overwrite the existing file" means. What file are we talking about overwriting? Are we changing names of it? I also noticed I'm at 644 not 0644, none of the options I clicked added a zero in front.
Click to expand...
Click to collapse
It looks like you are changing the permissions for Google camera.
Read the instructions again please.
You have to download the XML file from step 1.)!
Thank you..It works on experience rom based on oos 4.0.3 in op3...I just had to dwonload google camera compatible with android 7.0..Then followed your guide..:good:
AcmE85 said:
It looks like you are changing the permissions for Google camera.
Read the instructions again please.
You have to download the XML file from step 1.)!
Click to expand...
Click to collapse
You would think at this point I would be able to read.. -_- obviously not. I replaced it, thank you. Everything works now! Thank you!
720P On OnePlus 3 and 3T.This is really a great news for all OnePlus 3 and 3T users.
@AcmE85
First of All I would like to give you a medal. Thx you so much for this. OnrPlus 3/3T is so strong that can have so much good features in camera. Too bad that OnePlus team dont work on it.
I have some question:
1. Please can you make record with 240fps slowmotion?
2. You say somethong about 1080p at 120fps? Can you do that?
3. And what about make slowmotion better video quality, to add more bitrate?
For all this and more camera features Im ready to pay.
One more time Thx you a LOT!
isko01 said:
1. Please can you make record with 240fps slowmotion?
2. You say somethong about 1080p at 120fps? Can you do that?
3. And what about make slowmotion better video quality, to add more bitrate?
Click to expand...
Click to collapse
You're welcome. I did not really code anything myself though.
1. I think the camera sensor does not even support 240fps
2. I did say 1080p at 60 fps. Sorry but both the stock OOS Camera and Google Camera are closed source and I'm no dev.
3. You could try to manually raise the bitrate inside the xml file. In terms of brightness there is nothing than can be done though.
Slowmotion recordings will always be darker compared to regular videos because of the higher framerate.
More fps means the sensor has less time per frame to capture light. A higher shutter-speed when you compare this to photos.
AcmE85 said:
You're welcome. I did not really code anything myself though.
1. I think the camera sensor does not even support 240fps
2. I did say 1080p at 60 fps. Sorry but both the stock OOS Camera and Google Camera are closed source and I'm no dev.
3. You could try to manually raise the bitrate inside the xml file. In terms of brightness there is nothing than can be done though.
Slowmotion recordings will always be darker compared to regular videos because of the higher framerate.
More fps means the sensor has less time per frame to capture light. A higher shutter-speed when you compare this to photos.
Click to expand...
Click to collapse
My friend,
I can tell you that crDroid ROM for OnePlus 3/3T have modified camera that can record 240fps at 720p.
So please can you take it from that rom and make it work for stock?
Here is Youtube proof video:
Go on 2minit and you will see 240fps at 720p.
@isko01
I'm at work right now but will take a look later...
If you want to help then please provide me the media_profiles.xml from mentioned crdroid.
edit: I've tried editing the xml to enable 240 fps but it did not work. Nothing I can do as I can't modify the apps to record with 240 fps.
I also suspect missing camera libs for 240 fps in OxygenOS. I won't flash CrDroid to test this out or find the missing pieces though.
If you want to help with this mod feel free to ask the CrDroid Dev how he managed to enable 240 fps recording.
I can only repeat that I am no dev, so anything which involves real coding is beyond my knowledge.
AcmE85 said:
@isko01
I'm at work right now but will take a look later...
If you want to help then please provide me the media_profiles.xml from mentioned crdroid.
edit: I've tried editing the xml to enable 240 fps but it did not work. Nothing I can do as I can't modify the apps to record with 240 fps.
I also suspect missing camera libs for 240 fps in OxygenOS. I won't flash CrDroid to test this out or find the missing pieces though.
If you want to help with this mod feel free to ask the CrDroid Dev how he managed to enable 240 fps recording.
I can only repeat that I am no dev, so anything which involves real coding is beyond my knowledge.
Click to expand...
Click to collapse
I will try, but im a noob, but i will try.
How I see on the video clip they are using Snapdragon camera but modified.
There is no way to run oss 7.0??
jotaandro said:
There is no way to run oss 7.0??
Click to expand...
Click to collapse
Users already commented that it also works on OOS 4.0.3.
Follow the how-to and use an older Google camera:
http://www.apkmirror.com/apk/google...era-4-1-006-126161292-2-android-apk-download/
It looks like the culprit is too aggressive noise cancellation. Even when recording in my room I can hear the sound is distorted a bit.
Update to latest
Enviado desde mi MI MAX 2 mediante Tapatalk
Dark_AJ9 said:
Update to latest
Enviado desde mi MI MAX 2 mediante Tapatalk
Click to expand...
Click to collapse
It doesn't help.
I've found a proper fix that actually works.
Mi Max 2 workaround for noise cancellation mess when recording video.
https://drive.google.com/uc?id=0BwsS2VrtI6iAZWZNNUFhTk96Wkk&export=download
Your device needs to be rooted.
Root Explorer app is recommended.
1)Make backup of audio_platform_info and mixer_paths_mtp (/system/etc/)
2) Write down these files' permissions (rw-r-r-)
3)copy-paste new files from the archive.
4) Fix their permissions.
5) Reboot.
Audio volume settings in the new files are kinda aggressive(90), so you'll definitely have to decrease your multimedia volume in MIUI to ~30% . It depends on your headphones,
Now when you record video you won't get audio distortions coz of noise cancellation anymore.
If sound is too loud or you want to decrease mic sensitivity, you can edit mixer_paths_mtp yourself. Look for "90" values. Actually I think you can easily reduce audio volume to 80 and it will be fine ..and safer.
Here is the link to the original poster. https://4pda.ru/forum/index.php?showtopic=793497&st=360#entry57205432 (if u wanna do it manually yourself then DON'T change already existing values
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="1"/> <device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="1"/>
in audio_platform_info. You need to add the new values at the end
Use chrome to translate it.
PS I've tried fluence method but it caused echo when talking on the phone.
Click to expand...
Click to collapse
Is it really work? I'll try, but not sure. Did you tried it?
Sorry for my bad english
Anyone tested it in Max 2 who can confirm.
Put "Cinema fv-5 pro" app
I fixed my metalic noise problem on my Mi Max 2.
Install the app Cinema FV-5 Pro.
The noise you ear is do to low mp3 bandwith.
With this app you can increase the audio quality.
In the app go to settings, click on:
- audio-source: built in mic
- custom audio settings
- enconding format: automatic
- audio channels: stereo 2
- audio bitrate 120000
- sampling rate: 44100
That worked for me.
hello there mi mix 2 lovers
I have found a solution to a problem that most of you know. :laugh:
The problem of our beloved mi mix 2 device or any xiaomi phone recording low quality audio while recording video.
possibly it's because of the agressive noise cancelation
While recording on the default app on miui (I think on every rom too but I am not sure tell me if I am wrong)
Anyway there is a trick to get that good audio
1) Download a free app called (Hi-Q free) it's a recording audio app
2) Download open camera it's a camera app
3) Mute audio in open camera settings
4) In Hi-Q app set it to +15 db gain (but it depends) , wav format and mic selection unprocesed raw.
5) tap record on Hi-Q and the record with open camera
6) then synchronize them in post with any video editing program I used premiere pro on PC but kinemaster on Android is my favorite for editing on the go but you can use whatever you like
7) enjoy the good quality
It's alot of work for recording a video on your phone but the quality you get it's amazing and if you're into recording musical instruments or videos on YouTube it's a must
I have prepared a video comparison showing the default camera app and open camera muted with (Hi-Q free) recording app.
https://drive.google.com/file/d/1pjdBeByA3ejYDT4z44RIF_WUCdlLjiGv/view?usp=drivesdk
If xiaomi will ever update fix this bug it would be awesome.
I speak in Greek there but who cares :silly:
Hi, thank you for the workaround!
I would like to understand if the low audio quality is due only to a bad noise cancellation algorithm or if microphones aren't that great either: I listened to the audio in your samples and it seems much better with the workaround, but since you mentioned "recording musical instruments", did you try to test it in a very loud environment like a concert? Many phones with low quality microphones just get their audio saturated in these occasions and the result is awful, could you tell anything about it related to the Mi Mix 2?
Thank you
That is a very good workaround.
However, I was wondering if the official MIUI devs care about the problem and are working on it. I am on the stock global ROM and happy so far, I dont want to flash Lineage just to bypass this problem.
Maybe I will open up a thread at the official MIUI site, there have to be a lot of people with this problem and maybe they will work on it then.
I had this problem too on my Redmi 4 Pro. It seems like this is a problem of MIUI itself?
Solution for bad audio recording
Hi, testing a lot i find how to rec very good audio with the mi mix 2, works on every app that i trying to record videos.
my english is very bad, i will try the help you guys.
I try this in latest global rom and latest lineage OS.
This only work with ROOT.
Step 1.
with a root file explorer Delete all media_profile and mixer_path files in System/etc and System/vendor/etc
Step 2.
Global ROM
Place in System/Vendor/etc the atached files mixer_paths_tasha.xml and media_profile_vendor.xml
Lineage OS
Place in System/Vendor/etc the atached files mixer_paths_tasha.xml and media_profile_v1_0.xml
Change the permissions of both files to rw- r-- r--
Step 3
Edit your /System/build.prop file like i did in te file "cambio.jpg" compare with your build.prop and change to "true" all the lines that you find different. i mark in red the important ones, but i change others lines of false to true.
I dondt attach that file because in every update you will have to change again that lines in build.prop, and make again step 1 and step 2.
Step.4
Reboot the phone and enjoy
if the audio is too quiet for you, you can edit the mixer_path_tasha.xml, find this lines at the begining of the file
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
change 86 to a higher value and test by yourself, this is for my own use, i like to rec rock concerts and loud envoirements
If someone with better english want to make a better guide i have no problem, i figure this solution testing a lot of times with a lot of smartphones. the only thing, thanks me haha
Looks promising. But its not a thing for me since I am on a locked bootloader and dont want to unlock it yet.
But the best solution would be if Xiaomi would simply fix this, and I dont understand whats the problem there or if they just dont care (which i cant imagine).
YES!!!!
This totally works!
Thank you!!!!
This has been my main complaint with this phone.
Thanks for the fix!
Also for me works good...thanks
To adjust the sound level is it just
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
or also DEC 0 thru 8?
colorado_al said:
To adjust the sound level is it just
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
or also DEC 0 thru 8?
Click to expand...
Click to collapse
DEC5 And DEC6 are specific for right and left mic when recording a video
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Baronex said:
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Click to expand...
Click to collapse
Try with ES File Explorer, i use that app without problems
How i can add more volume for the speaker?
manuerduarte said:
Try with ES File Explorer, i use that app without problems
Click to expand...
Click to collapse
Using Es File Explorer i'm getting "device or resource busy" error. I've tried restarting the phone and try again but still no succes.
It seems like these files are being used at the moment and i can't delete them.
Baronex said:
Using Es File Explorer i'm getting "device or resource busy" error. I've tried restarting the phone and try again but still no succes.
It seems like these files are being used at the moment and i can't delete them.
Click to expand...
Click to collapse
I never had that problem, what root method do you use? I have magisk v16
---------- Post added at 12:40 AM ---------- Previous post was at 12:36 AM ----------
emime12 said:
How i can add more volume for the speaker?
Click to expand...
Click to collapse
sorry, i never try to gain more volume on the speaker, i thing it will sound distorted
manuerduarte said:
I never had that problem, what root method do you use? I have magisk v16
Click to expand...
Click to collapse
Same here, sitting on miui 9, 8.5.8
Maybe is there a way to delete these files through ADB?
Baronex said:
Same here, sitting on miui 9, 8.5.8
Maybe is there a way to delete these files through ADB?
Click to expand...
Click to collapse
Same miui version here, if you try to uninstall magisk and reinstall? same with ES File Explorer
manuerduarte said:
Same miui version here, if you try to uninstall magisk and reinstall? same with ES File Explorer
Click to expand...
Click to collapse
Nevermind, I've managed to delete them using TWRP recovery file manager.
Everything's alright, video sound quality is now much better.
Thank you
Baronex said:
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Click to expand...
Click to collapse
Install busybox
Seems that I have to unlock the bootloader and root the phone. Nothing I am happy about, since the phone ran awesome out of the box and now the tinkering starts again, like in the good old days with all the other android phones I owned
This device is so great, even with the global official ROM, but why has it this one problem?
I found another workaround, you can use openCamera and only set the audio channel to mono and the recording device to standard/default. Then the audio is a lot better.
The MIUI recording app can also record in high quality if you set it to Music. Noise cancellation seems to be disabled then.
reapy0815 said:
Seems that I have to unlock the bootloader and root the phone. Nothing I am happy about, since the phone ran awesome out of the box and now the tinkering starts again, like in the good old days with all the other android phones I owned
This device is so great, even with the global official ROM, but why has it this one problem?
I found another workaround, you can use openCamera and only set the audio channel to mono and the recording device to standard/default. Then the audio is a lot better.
The MIUI recording app can also record in high quality if you set it to Music. Noise cancellation seems to be disabled then.
Click to expand...
Click to collapse
where do you find Music setting in the MIUI recording app?