[MOD][ROOT] Stereo Audio Recording

Search This thread

kraatus90

Senior Member
Sep 2, 2012
407
479
103
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 :p

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 :cool:


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".
 

Attachments

  • Stereo_audio_mod_nexus5x.zip
    104.4 KB · Views: 585
  • stock_files.zip
    103.7 KB · Views: 216
Last edited:

kraatus90

Senior Member
Sep 2, 2012
407
479
103
So with Google Camera I can't record stereo audio?
previously you can't, but now with this mod you can record stereo audio. (or with any camera app)

I assume this disables surround sound/dual mono mod, since it's replacing same files?

Most likely yes. i don't use surround sound mod so i don't know.
 
Last edited:

kraatus90

Senior Member
Sep 2, 2012
407
479
103
What lines do you edit for stereo recording? Maybe we can make a surround mod with stereo recording

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. :)
 

Immortalis

Senior Member
May 31, 2012
1,452
452
118
Warsaw
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.
 

Attachments

  • stereo_audio_mod_combined.zip
    132.4 KB · Views: 261

Ryder.

Senior Member
Feb 4, 2016
387
46
48
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.

So this is a flashable zip with surround sound mod and stereo audio recording mod?
 

Immortalis

Senior Member
May 31, 2012
1,452
452
118
Warsaw
So this is a flashable zip with surround sound mod and stereo audio recording mod?

Yes

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.

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 :p
 
  • Like
Reactions: Ryder.

RoadToNever

Senior Member
Jun 14, 2012
581
109
0
Malmö, Sweden
Stock_files.zip gives me a error och stock rooted mmf26f.
 

Attachments

  • Screenshot_2017-01-11-19-10-58.png
    Screenshot_2017-01-11-19-10-58.png
    135.6 KB · Views: 593
Last edited:

CazeW

Senior Member
Nov 14, 2008
863
454
83
Stock_files.zip gives me a error och stock rooted mmf26f.

Did you even read the OP?

These are not flashable zips For flashable zip see post #2.


---------- 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.
 

Attachments

  • StereoMic_and_DualMonoV2.zip
    183.7 KB · Views: 787
  • StereoMic_stock_files.zip
    183.3 KB · Views: 205

CazeW

Senior Member
Nov 14, 2008
863
454
83
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.

Here's a zip for Magisk. I don't know if it works but I followed the template they have.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Stock_files.zip gives me a error och stock rooted mmf26f.

    Did you even read the OP?

    These are not flashable zips For flashable zip see post #2.


    ---------- 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.
    7
    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
    6
    Sorry but... bootloop :(

    Yeah, sorry that was my bad. I had a typo in the config and I had misunderstood one the instructions. Try this one.
    6
    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.
    4
    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 :p

    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 :cool:


    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".
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone