Mi mix 2 video sound recording quality - Xiaomi Mi Mix 2 Guides, News, & Discussion

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?

Related

[OP3/3T] Unlock 720P slowmotion video WITH sound on Google Camera!

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/

LePro3 sound mod (clarity and bass) flashable

Hi all,
I introduce you to the first release of LePro3 sound modification. This modification makes your LePro 3 sounds a lot better with AOSP,Lineage ROM. It will give you clear voice on handset and speaker, no distortion. Also this build will give you good lowers (bass). I made the sound mod ready to flash via TWRP.
After installation please make sure you have this values on build.prop:
ro.vendor.audio.sdk.fluencetype=fluence
persist.vendor.audio.fluence.voicerec=true
persist.vendor.audio.fluence.speaker=true
use.voice.path.for.pcm.voip=true
persist.vendor.audio.fluence.audiorec=true
Any bug please report in here. This is a new project.
You never responded to this https://forum.xda-developers.com/showpost.php?p=75482276&postcount=1878
Hi,in AICP 20171024, it's work?
Abdiel1224 said:
Hi all,
I introduce you to the first release of LePro3 sound modification. This modification makes your LePro 3 sounds a lot better with AOSP,Lineage ROM. It will give you clear voice on handset and speaker, no distortion. Also this build will give you good lowers (bass). I made the sound mod ready to flash via TWRP.
After installation please make sure you have this values on build.prop:
ro.vendor.audio.sdk.fluencetype=fluence
persist.vendor.audio.fluence.voicerec=true
persist.vendor.audio.fluence.speaker=true
use.voice.path.for.pcm.voip=true
persist.vendor.audio.fluence.audiorec=true
Any bug please report in here. This is a new project.
Click to expand...
Click to collapse
What value should I change in the file mixer_paths_tasha.xml, to raise only the speaker volume during calls and not the global volume?
The volume of notifications is too high even putting it to a minimum ...
Is it possible to have indications on what are the values of the various volumes in the file mixer_paths_tasha.xml? so I could try to do some tests ...
Galushkin_ilya said:
Hi,in AICP 20171024, it's work?
Click to expand...
Click to collapse
Yes it works any Rom
Palm Trees said:
You never responded to this https://forum.xda-developers.com/showpost.php?p=75482276&postcount=1878
Click to expand...
Click to collapse
You can try it now, because we have the lower that we were misaing at the beginning. Try it and let me know
giogio1 said:
What value should I change in the file mixer_paths_tasha.xml, to raise only the speaker volume during calls and not the global volume?
The volume of notifications is too high even putting it to a minimum ...
Is it possible to have indications on what are the values of the various volumes in the file mixer_paths_tasha.xml? so I could try to do some tests ...
Click to expand...
Click to collapse
Go over speaker-stereo but you dont have to make any change there since is good if its too loud just use the Volume soft keys
Abdiel1224 said:
Go over speaker-stereo but you dont have to make any change there since is good if its too loud just use the Volume soft keys
Click to expand...
Click to collapse
The volume of notifications is too high even putting it to a minimum
giogio1 said:
The volume of notifications is too high even putting it to a minimum
Click to expand...
Click to collapse
Go to speaker-stereo and modify digital gain from 55 to 48.
Abdiel1224 said:
Go to speaker-stereo and modify digital gain from 55 to 48.
Click to expand...
Click to collapse
from your zip file "speaker-stereo" Digital Gain value is 66 no 55
edit: however I set it to 48, but the volume of notifications even at a minimum is too high
giogio1 said:
from your zip file "speaker-stereo" Digital Gain value is 66 no 55
edit: however I set it to 48, but the volume of notifications even at a minimum is too high
Click to expand...
Click to collapse
Just replace for this one and reset your device.
Abdiel1224 said:
Just replace for this one and reset your device.
Click to expand...
Click to collapse
no difference .. the notification sound is too loud even with the volume at a minimum... which rom u are using ? I'm on latest AICP 13.1 official
giogio1 said:
no difference .. the notification sound is too loud even with the volume at a minimum... which rom u are using ? I'm on latest AICP 13.1 official
Click to expand...
Click to collapse
Same as you go to settings and play with notification sound you will see the difference. Thats what I did and I see the difference
Quick question...
Abdiel1224 said:
Same as you go to settings and play with notification sound you will see the difference. Thats what I did and I see the difference
Click to expand...
Click to collapse
Hi. This will work if I have Dolby Atmos working? I`m on latest AICP Oreo 8.1 official, by the way...
Thank you. Great job
Tried it with the latest experimental aicp. Unless it was a coincidence, it broke my ability to listen to Google play music through a cdla adapter and my ability to record voice texts through the signal messaging app. When I copied the original etc folder back to root to revert the changes both my issues we're fixed following a reboot. Maybe it's because I didn't install it through recovery. I just took the files from the zip and moved them which seems easier.
Sent from my LEX727 using XDA Labs
Has anyone tested it?
How is it working?
Is there any problem during the call?
Microphone, handset, speaker etc ...
lazye53 said:
Has anyone tested it?
How is it working?
Is there any problem during the call?
Microphone, handset, speaker etc ...
Click to expand...
Click to collapse
There is none during the call.
Yeah, it's almost perfect for me.
The notification sounds are a little high.
Also, the sounds on YouTube videos I watch seem to be echoing on the wall.
Sounds right during the call, I have not tested the microphone yet ...
@Abdiel1224
Edit: Instagram video is very high even at the lowest audio track.
And the camera sounds are too loud. I'm terrified when I press the button to take a picture.
What can I do about it?
lazye53 said:
Yeah, it's almost perfect for me.
The notification sounds are a little high.
Also, the sounds on YouTube videos I watch seem to be echoing on the wall.
Sounds right during the call, I have not tested the microphone yet ...
@Abdiel1224
Edit: Instagram video is very high even at the lowest audio track.
And the camera sounds are too loud. I'm terrified when I press the button to take a picture.
What can I do about it?
Click to expand...
Click to collapse
the quality and clarity is great but we need some dev to get their hands on this mod to adjust the volumes of notifications etc .. the potentials of this mod are noticeable but we need to adjust the volumes.

[Magisk][Module] Low Headphone Volume Fix

I edited the mixer_paths.xml to fix the low headphone volume on MiA2 and created a magisk module since manual editing doesn't work.
It works on Pie March update. May not work on other versions.
Use it at your own risk. It is LOUD. Listening at a high volume for a long time may damage hearing.
Edit: Updated to V10.0.5.0
Thanks man! Its working great??
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
these are the changes
Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
Well, the problem is we can't just edit the file on the phone. Editing doesn't make any difference and the phone reverts it. Magisk is the only way right now.
I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you
Thank you so much for this module. Works perfectly ?
Thanks @onbeskarakterli
lukezainn said:
I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you
Click to expand...
Click to collapse
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.
onbeskarakterli said:
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.
Click to expand...
Click to collapse
I tried that but it doesn't seem to work for me, do you mind sharing your files?
Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk
lukezainn said:
I tried that but it doesn't seem to work for me, do you mind sharing your files?
Click to expand...
Click to collapse
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.
Sp_Ark said:
Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Manually changing doesn't work. You can't even save the changes you make. AFAIK Magisk virtually mounts system and vendor partitions and applies its own files and changes at boot time. That's why it works.
To be honest 88 is really high. I am using 85 right now, but I don't have any high impedance headphones.
onbeskarakterli said:
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.
Click to expand...
Click to collapse
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.
lukezainn said:
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.
Click to expand...
Click to collapse
Here.
onbeskarakterli said:
Here.
Click to expand...
Click to collapse
Still doesn't work
What about the other media profiles files? What are they used for?
I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
Sent from my Mi A2 using Tapatalk
Sp_Ark said:
I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
Click to expand...
Click to collapse
Hmm, I doubt it, these files include audio and video bitrate options when recording video
lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.
onbeskarakterli said:
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.
Click to expand...
Click to collapse
Yes the file is changed and it's set to 288000 now, but the audio quality in the videos are still horrible. I tried gcam, opencam, nothing works. I'm on pie 10.0.1

[Module][UNITY] FooView x Magisk - Internal/System Audio Recording Oreo/Pie

FooxMagisk Alpha[ v0.2.2/SIZE]​
×WHO:
FxM is aimed at Android users in search of an easy way to capture system or internal sounds (systemless-ly), and on Android versions past Lollipop. By installing my module users will no longer need to worry about background noise from their environment.
×WHAT:
FooView, an app by fvalpha, comes from the same dev behind ES File Explorer nearly a decade ago. Development is ongoing, but in essence, FV supplies the user with a range of controls outside of screen recording. Be sure to visit their thread.
×WHY:
Some time ago someone inquired about the possibility, which led us to trying other means before quitting. Recently I found FV and gave it a spin. Plus, others are frustrated by the absence of native recording on most devices. Whilst I've experimented with other techniques on Oreo & Pie, none come close.
×HOW:
The real reason you're here! First of all, in order use this module I strongly recommend Magisk 18+. It was used on 18, so can't guarantee the results on older versions. If there's demand, a test for 17 can be made.
×Prerequisites:
- Magisk 18+
- Grab fooView Play Store
- Download/Install FxM module from below
×Links
- All Releases
×Steps:
- Follow above
- Reboot after installing
- Check app info (foo can now be disabled, instead of uninstalled)
- Open foo -> Settings -> Advanced settings -> Dev Mode -> Enable "root for screenshots" -> Grant -> Enable "Record internal"
- Enable little MIC icon BEFORE recording
- Adjust media volume to < 40% (Volume bug on some devices)
×Credits:
- @fvalpha - Developer of fooView
- @topjohnwu - Magisk
- @ahrion - Unity Installer
- @Zackptg5 - Unity Installer
×Bugs
- Using high volume creates a tick sound on certain devices
- If Module is installed FIRST the app will crash constantly
×Revision History
v0.1a - Jan 18, 2019 - Initial Release (Unity v3.1 + 0.9.9.9)
v0.2.2a - Jan 21, 2019 - (Unity v3.2 + Perms fixed)
v0.2.3a - Jan 25, 2019 - (Removed unnecessary perms)
×Compatibility:
- LOS 15.1 (8.1)
- AICP 13 (8.1)
- AICP 14 (9.0)
×Devices:
- Le Pro 3
- Moto Z2
- Whyred
- Pocophone F1
Further testing is necessary to extend this list
×FAQ:
Q: Can I hear speaker audio whilst recording internal sounds?
A: No, not at this time. And likely never. It's a limitation in the API.
Q: Sound doesn't play when recording!
A: This is normal. Maybe simultaneous internal/external recording will be doable in Android Q.
Q: Fooview crashes!
A: This happens when Foo module is installed before the base app.
Q: Why is there no sound in my recording?
A: Turn on the microphone icon that's shown in fooview.
Q: Is root needed?
A: Yes!
Q: Watermark in videos?
A: This can be disabled in settings.
Still crashing unable to open setting I am using 9.0
Unable to here sound's..
hitesh748- said:
Still crashing unable to open setting I am using 9.0
Click to expand...
Click to collapse
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
hitesh748- said:
Unable to here sound's..
Click to expand...
Click to collapse
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Ace42 said:
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Click to expand...
Click to collapse
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
hitesh748- said:
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
Click to expand...
Click to collapse
No, because Android doesn't support system recording natively. You'd have to record your voice from another device and merge the waveforms. It's not possible to record MIC & system simultaneously, unless it's done on a Samsung or Xiaomi device.
This is meant for people that DON'T want sounds from their mic. Internal recording isn't possible without root after lollipop, and game audio from a microphone sounds awful.
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
ItsOm said:
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
Click to expand...
Click to collapse
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Ace42 said:
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Click to expand...
Click to collapse
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
WORK
Thanks dude, work in POCOPHONE F1 android 9 pie.
Bgsbeb said:
Thanks dude, work in POCOPHONE F1 android 9 pie.
Click to expand...
Click to collapse
No problem! Happy to help.
ItsOm said:
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
Click to expand...
Click to collapse
With school it'll take time for me to get around to it.
Only some Xiaomi phones feature it natively. I've heard of it being available on older devices like the Note 4.
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
smohanv said:
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
Click to expand...
Click to collapse
1. It's meant to record system audio. My buddy needs that for games. I guess there are other uses like recording calls, but I never considered it.
2. I've never tried this on WhatsApp, nor any app like it. I don't know if WA even allows recorders.
It only needs to be installed, nothing else it required.
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
vasu97 said:
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
Click to expand...
Click to collapse
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Ace42 said:
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Click to expand...
Click to collapse
I hate Google for that and even regret buying a Pixel
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Antidote03 said:
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Click to expand...
Click to collapse
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
I prefer this one for its ability to alter FPS (25 - 60).
Edit: Link removed temporarily
Ace42 said:
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
https://drive.google.com/file/d/1yiqCE8Szik59CGccrxLfjomwRDOTIhAN/view?usp=drivesdk
I prefer this one for its ability to alter FPS (25 - 60).
Click to expand...
Click to collapse
No picture please upload it again

Themes / Apps / Mods Modded camera with improved audio quality for Realme GT2

Since there was no fix, provided by Realme, for the quality of the audio in videos recorded with the stock camera app, and unlocking the bootloader is still not available for the RMX3311 (EU) the only way to improve the audio was to modify another camera app, without loosing stock camera features, like 60fps, stabilization, etc.
So, I've decompiled and modified the GCam port from SHAMIM (SGCAM) and changed the audio source from "Camcorder" to "Voice recognition" (see https://developer.android.com/reference/android/media/MediaRecorder.AudioSource), is not perfect but much better than stock.
I've also included the configuration xml for SGCAM 8.4 with basic settings for Realme GT2 so the quality of photos and videos be similar to the stock camera.
Working (after importing my config xml) :
- Back (main) camera: FHD videos 30/ 60fps, 4k 30fps, image quality equal to stock camera
- Improved sound quality in video recordings for front and back camera
- Front camera 60fps
Not working:
- Slow motion (works partially)
- Aux cameras (wide and macro)
- HDR+ or HDR+Enhanced if activated the colors are bad, inaccurate, too artificial. Can be improved but I personally like the results without hdr+, so I don't care to make them work.
I've created two builds because the recorded audio channels are reversed, (android 13, fw c.06), you can check using stock sound recorder, if you speak to top mic the sound plays on bottom speaker, mono for current situation (with reversed channels) and stereo for when (if) they will fix the channels order.
Install instructions:
1. Download the modified SGCAM from here:
mono: https://uploadnow.io/f/G4Ctrh7
or
stereo:
https://uploadnow.io/f/lJBRS1t
2. Download the Realme GT2 config file for SGCAM 8.4: Lcfg1.xml (attached to this post)
3. Install SGCAM, open once, allow permissions, (needed to create folders for configs)
4. Copy Lcfg1.xml to [phone internal storage]/SGCAM/XML/Lcfg1.xml
5. Import Lcfg1.xml by double tapping the blank space between shutter button and switch camera button (see the attached screenshot)
6. Leave a message if it helped you
reserved
Will test, nice work. Still angry at Realme for crippling the device like this.
This is sooooooooooo much better
In case if someone wonders, there is a xml for the GT 2 Pro, which the ultrawide camera works with, and it also works on our GT 2, but the picture quality is very low and noisy.
https://forum.xda-developers.com/t/gcam-for-realme-gt2-pro.4429173/post-87701663
It is in the attachments.
@hdavid1 For the aux cameras (wide and macro) to work you need GCAM, with package name com.ss.android.ugc.aweme But those have an issue, the photos taken with the main camera are shifted to the right (they have a black border on the left) - tested only on my GT2.
hdavid1 said:
In case if someone wonders, there is a xml for the GT 2 Pro, which the ultrawide camera works with, and it also works on our GT 2, but the picture quality is very low and noisy.
https://forum.xda-developers.com/t/gcam-for-realme-gt2-pro.4429173/post-87701663
It is in the attachments.
Click to expand...
Click to collapse
just tested that xml file and it's not working. My SGCAM build is not derived from the com.ss.android.ugc.aweme package, because of the reason posted above.
wizard8400 said:
just tested that xml file and it's not working. My SGCAM build is not derived from the com.ss.android.ugc.aweme package, because of the reason posted above.
Click to expand...
Click to collapse
hi there i have the gt but the 1 with the same audio issue i can open the bootloader so i can fix it but i dont know how can you provide me some guidence pls?
@alex61194, I didn't understand your request. Can you rephrase, please. And use punctuation, it really helps
wizard8400 said:
@alex61194, I didn't understand your request. Can you rephrase, please. And use punctuation, it really helps
Click to expand...
Click to collapse
sry, tipped too fast, i have the realme gt 5g, and have the same issue as your phone but in my case i can open the bootloader and be root, but i dont know what i have to change to fix the mic issue(i saw i have to edit mixed_paths.xlm), honestly i dont care about video but about voice recording in general
post here your mixer_paths.xml and I'll have a look, I don't think it's the same as on the gt2
Have you tried out other Audio Sources and if that changes anything or is Voice Recognition the best for this device?
@smashda Yes I've tried them all, and voice recognition is the only one with acceptable results. Sources like unprocessed is too low, voice com. has too much noise canceling, etc.
wizard8400 said:
post here your mixer_paths.xml and I'll have a look, I don't think it's the same as on the gt2
Click to expand...
Click to collapse
here you go https://mega.nz/file/8odHXDSB#IhmdD1ntn4fMyeRpMVZnNj-uiSBNUG9kOuseiC8bBjo
@alex61194
*!!! have a backup so you can restore from custom recovery, just in case.
1.make sure you are editing mixer_paths.xml from /vendor/etc
2. modify the file according to the instructions from the screenshots.
3.after saving the file verify/set the permissions to be rw-r-r (like before)
4. reboot the phone, check if the modifications are still there
5. try a recording see if something changed. Do not expect to fix or improve something. This is just a test to see if we are on the right path.
6. tell me the results.
@wizard8400 bruh we have GT 2 Indian variant RMX3312 with an unlocked bootloader. We, unfortunately don't have TWRP. Can you give some suggestions?
@Ptathavi I think is possible with magisk:
first you need to flash a patched boot image (patched by magisk) to have root
and then something like: https://forum.xda-developers.com/t/how-to-change-files-in-the-directory-system-with-magisk.4454489/
or try searching something like "edit system file with magisk"
wizard8400 said:
@Ptathavi I think is possible with magisk:
first you need to flash a patched boot image (patched by magisk) to have root
and then something like: https://forum.xda-developers.com/t/how-to-change-files-in-the-directory-system-with-magisk.4454489/
or try searching something like "edit system file with magisk"
Click to expand...
Click to collapse
Thank you bro, much appreciated. I'll try. Since I've root there's posibility
Ptathavi said:
Thank you bro, much appreciated. I'll try. Since I've root there's posibility
Click to expand...
Click to collapse
How did you root it? Did you flash the patched boot img from magisk?
Prinve said:
How did you root it? Did you flash the patched boot img from magisk?
Click to expand...
Click to collapse
Join our group for help
Mod. edit: social media link removed. alecxs
What!!! I have been searching for this for so long but i couldn't find it, searches only showed Neo 2 and Pro and as there were no posts in XDA i thought development hasn't started yet so i was learning/trying to build twrp and build device tree for it. Thanks for the link

Categories

Resources