yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] springer.music:
[MENTION=2760454]chdloc[/MENTION]

Thanks for uploading the file. The file alone may not help raka with his bootloop (please see below).

[MENTION=323518]raka[/MENTION]

The bootloop you had is not due to the mixer_paths.xml and media_profiles.xml from 6.0 (they are not different afaik).

I successfully flashed the 6.0 files on 6.0.1 (my N6 is also rooted with SuperSu 2.62) and all is fine - i.e. I have stereo audio recording.

The bootloop is actually triggered by the complete lack of space in /system on 6.0.1
[MENTION=631273]Chainfire[/MENTION] gave a valid explanation in the SuperSu beta thread: /system has no space left on 6.0.1, therefore any modification to any system file ends up in a bootloop.

In order to get around this, you need to root with SuperSu 2.62 first, then remove some system apps that can be later downloaded as user apps from the Play Store (e.g. Books, Newsstand, News & Weather), reboot and install the zip in recovery.

Hope this helps
[Nexus 6  General] chdloc:
You are correct. The files have not changed. I compared the "new" mixer_paths.xml file with the one in the OP, which came from a Lollipop build. I really need to clean up the OP...
[Nexus 6  General] raka:
Thanks [MENTION=3322890]springer.music[/MENTION] and [MENTION=2760454]chdloc[/MENTION]! After removing Newsstand from /system/app and reapplying the mods the stereo recording is back indeed.
[Nexus 6  General] Bait-Fish:
What's your experience after some time with this modification? I'm seeing Muse tomorrow and want to ratchet the gain down.

I'm set to zero like [MENTION=3322890]springer.music[/MENTION] suggested works best. Testing in a quiet environment using values from 1 to 13 didn't make any discernable difference using Voice Recorder (by Splend Apps).
[Nexus 6  General] kryddan:
I think it sounded good, but I have nothing to compare with. I did not do any recordings before the change. So I can't actually say if it got better.

Sure I got stereo instead of mono. That is good :) The sound is great for being a cellphone. But your best bet will be a Zoom Q3 or Zoom Q4 if you want better sound. Best would be grab video with one source and sound with another and mix them together :)
[Nexus 6  General] LudwigFerdinand18:
I have a Moto G2 that only works the upper microphone , IT has 2 mic ... Editing this file has some way to make the mic 2 as a primary for call ? and disable mic 1 ... ?
[Nexus 6  General] chdloc:
What you are asking should be possible. As your question does not pertain to the Nexus 6, PM me your mixer_paths.xml file.
[Nexus 6  General] budies3:
Flashable File

Has the [MENTION=235617]Springer[/MENTION] file been updated to work with 6.0.1 on our nexus 6? Thank you.
[Nexus 6  General] springer.music:
The file from the following post works fine with both 6.0.1 and the N preview.

http://xdaforums.com/showthread.php?p=63316038
[Nexus 6  General] budies3:
Thank you!!
[Nexus 6  General] JUMPhil:
Does this mod also work with the Nexus 5X?
[Nexus 6  General] chdloc:
The current mod for the Nexus 6 will not work for the Nexus 5x as the audio mixers are very different.

PM me your current /system/etc/mixer_paths.xml file if you are interested in pursuing this further.
[Nexus 6  General] oOflyeyesOo:
Great work!! This could be useful for a few things I do.
[Nexus 6  General] :
hello, have you done this? i want to try stereo recording too :(
[Nexus 6  General] chdloc:
I have not, but we should take this offline. PM me copies of your current mixer_paths.xml and media_profiles.xml files. They sit in /system/etc.
[Nexus 6  General] Arcide:
Could this possibly work on nexus 6p?
[Nexus 6  General] chdloc:
Likely. Please see the post above yours.
[Nexus 6  General] LiquidAlloy:
This worked on my 6P with 6.0.1 but i tried tonight with the 7.0 and no audio. So strange. This is very upsetting. Everything looks identical too so i am confused on what happened. When I tried to go back to the regular settings there was still no audio. I had to reflash the device with an image from the google developers page. Luckily the phone had nothing on it anyways. I am using 2 6P phones, one is a test for stuff like this. My main one is what i am wanting to get a working solution for the stereo recording and louder audio output. Any suggestions would great. I have a test 6P with Nougat to hopefully get all this functioning.
[Nexus 6  General] chdloc:
This is OT here as this thread pertains to the Nexus 6 only. I'm surprised to hear that the zip available here ever worked on the 6p. The zip flashes a mixer file that is hardware-dependent.

Having said that you can PM me your current stock /system/etc/mixer_paths.xml and /system/etc/media_profile.xml and I'll see what I can do.
[Nexus 6  General] bmakk2055:
Could you update this to work on Android nougat 7.0?
[Nexus 6  General] str8str:
Thanks for this. I really think that the reason Google only enabled the one mic on the front is because if you have a case on the back is covered making the two mics on the back basically muted. Jmo
[Nexus 6  General] Arcide:
There are no 2 mics on the back.
[Nexus 6  General] Face_Plant:
Yes there is. There's one on the bottom just above the charging port and one in the flash ring at about the 2 o'clock position.
[Nexus 6  General] Arcide:
Oh god, sorry I thought this was a nexus 6p thread.
[Nexus 6  General] saa1618:
Modifications to the files for the Google Nougat

Hello Devs,

Great concept you have here. Hope you get some guys over at Google take a look at this mod so they can have a out of box stereo recording on the Nexus 6. But I have installed the official factory image of Google Nougat for my Nexus 6 and I'm rooted. Can you please suggest what lines I can modify in what files so the stereo sound works with the default Google Camera app and any Voice recording app from playstore?

Thanks and have a happy new year! :victory:

Love,

Syed
[Nexus 6  General] chdloc:
If the flashable zip posted some time ago that worked on the N preview does not work on Nougat, post your current mixer_paths.xml and media_profiles.xml files.
[Nexus 6  General] vic18274646:
I attached the mixer_paths.xml and media_profiles.xml for android nougat 7.0
[Nexus 6  General] chdloc:
After backing up the relevant files, try the attached flashable zip.
[Nexus 6  General] david49503:
The above zip file does not work for me on android 7.1.1 nougat
[Nexus 6  General] chdloc:
Then please post the relevant files for Android 7.1.1
[Nexus 6  General] springer.music:
Here's a flashable zip for 7.1.1

http://cloud.tapatalk.com/s/586fddc9579d9/Nexus6_stereo_audio_rec_7.1.1.zip
[Nexus 6  General] saa1618:
Viper4Android interference

Hi,

Thanks for the mod I will try this on the 7.1.1 update. Would you think this will break my Viper4Android setup?

Love,

Syed
[Nexus 6  General] vic97:
The 7.1.1 zip does not work for me, my nexus 6 still records in mono.
[Nexus 6  General] saa1618:
Post testing

Hi,

How did you check if the audio is recorded in stereo/mono? Did you use the stock Google camera or other app for video recording?

Thanks,

Syed
[Nexus 6  General] vic97:
I use the Easy Voice Recorder Pro app
[Nexus 6  General] bmakk2055:
They app has to support stereo recording!

---------- Post added at 01:36 AM ---------- Previous post was at 01:34 AM ----------

Do you know how to fix the speaker phone echo bug?
[Nexus 6  General] Didgeridoohan:
https://xdaforums.com/showpost.php?p=70542151&postcount=33153

I use this:

https://xdaforums.com/nexus-6/themes-apps/mod-speakerphone-echo-fix-nexus-6-t3537776
[Nexus 6  General] Bait-Fish:
I have *finally* started using Magisk and love it. Has anyone looked into making this [stereo mod] into a Magisk module? I'm just starting to delve into figuring it out myself, but my skills are limited.
[Nexus 6  General] Didgeridoohan:
It's just a matter of pushing two edited files to the device, right? Then it's dead easy making a Magisk module.

Download the template from GitHub, add the files to the system folder (with the proper paths), edit config.sh (instructions in the file), module.prop and changelog.txt (optional, if you're not sharing it) to fit, zip it up and you're good to go. Flash away.

Maybe [MENTION=2760454]chdloc[/MENTION] could even add it to the Magisk repo?
[Nexus 6  General] paradise-san:
Thank you, you saved me. Perhaps someone can tell the OP to add this to the initial post? Because the files on the initial post break all the audio in a Nougat-based Nexus 6 ROM.
[Nexus 6  General] vic18274646:
Unfortunately, this version of the mod breaks all sound on build N6F26Y.
[Nexus 6  General] krazzyvishal:
I flashed the Nougat zip on my Nexus 6 running build N6F26Y (7.1.1). After that, I lost audio on the phone.

The speakers stopped working, no sound, though the camera was now recording videos with stereo audio (I checked they were stereo after reverting).

This shouldn't happen because the previous day, I was using Pure Nexus ROM and this mod worked perfectly on it. :confused: :p

Can anyone explain why is this happening? Why on the latest official build, the speakers stop working after flashing this zip?

---------- Post added at 03:21 PM ---------- Previous post was at 03:03 PM ----------

What does the zip that you attached contain?
[Nexus 6  General] raka:
I suppose the original N6F26Y files. I flashed them and I have sound back on N6F26Y, but unfortunately no stereo recording.

[MENTION=3322890]springer.music[/MENTION], [MENTION=2760454]chdloc[/MENTION]: are you still active with this topic on the Nexus 6? Do you know what may couse the loss of sound on N6F26Y?
[Nexus 6  General] chdloc:
Try the attached.
[Nexus 6  General] krazzyvishal:
WORKING PERFECT! Thanks! :D
[Nexus 6  General] raka:
I can confirm, it works indeed. Thanks a lot for the very fast reply, [MENTION=2760454]chdloc[/MENTION]!
[Nexus 6  General] Y_Yan_C:
OP, If I have a damaged mic ( I dont know which one out of the three), do you think this will help?

EDIT: To answer my own question, this flash fixes my video recording (stock camera app). OP, is there a way to change everything to ADC1 and ADC4? (phone call / voice detection/ all apps)and neglect ADC3? Seems like my main mic in the speaker grill is fried!
[Nexus 6  General] chdloc:
Changing the physical microphone for certain use-cases is absolutely possible. PM me if you are interested in pursuing this further.
[Nexus 6  General] Y_Yan_C:
PM sent!
[Nexus 6  General] trimtri:
Using this method for Lenovo Vibe K4 Note

Is there any way to apply this method to Lenovo Vibe K4 Note?
[Nexus 6  General] wolfballz:
Will there be an update for this for 8.0 or 8.1 (Oreo)?
[Nexus 6  General] chdloc:
Post your /vendor/etc/mixer_paths.xml and /vendor/etc/media_profiles.xml along with a note of the version of Android you are running.
[Nexus 6  General] Dixon Butz:
Here are some from 8.1, beltz rom for Shamu.

mixer_paths.xml was in vendor/etc/ Not in vendor/etc/mixer.

http://www.mediafire.com/file/8gd8dx3d8ebykar/Mixer.zip
[Nexus 6  General] chdloc:
Did you find the files in /vendor/etc or /system/etc?
[Nexus 6  General] Dixon Butz:
Whoops! Those are from system. I'll post the correct ones from vendor. Sorry

---------- Post added at 01:43 PM ---------- Previous post was at 01:34 PM ----------

There is no mixer_paths.xml in system/vendor/etc

There is one in system/etc Is that the wrong one?

---------- Post added at 02:30 PM ---------- Previous post was at 01:43 PM ----------

Post was edited. U C my reply?
[Nexus 6  General] chdloc:
Try the attached flashable zip. It assumes that the relevant files reside in /system/etc.
[Nexus 6  General] Dixon Butz:
No audio when played on phone and computer. I have backups.

Looks like it's mono:

Audio

ID : 2

Format : AAC

Format/Info : Advanced Audio Codec

Format profile : LC

Codec ID : mp4a-40-2

Duration : 24 s 452 ms

Duration_FirstFrame : 110 ms

Bit rate mode : Constant

Bit rate : 96.0 kb/s

Channel(s) : 1 channel

Channel positions : Front: C

Sampling rate : 48.0 kHz

Frame rate : 46.875 FPS (1024 SPF)

Compression mode : Lossy

Stream size : 285 KiB (1%)

Title : SoundHandle

Language : English
[Nexus 6  General] chdloc:
Then it is likely that the relevant files did move to the vendor partition. Restore your backup and try the new flashable zip (attached).
[Nexus 6  General] Dixon Butz:
Sound works now but it is one channel. Seems like only the right mic is recording.
[Nexus 6  General] chdloc:
OK, then we need to dig deeper.

First, while making a recording with the app you've been using (the camcorder?) run the following command in a shell

logcat | grep audio_hw

Next, we need to find out which mixer file is being used.

This one is a little tricky. First, you will need to have adb configured on your PC. You will need to reboot your phone and run the following command immediately after the adb shell becomes available, which is typically right after the second boot animation has started:

adb shell logcat | grep mixer
[Nexus 6  General] Dixon Butz:
Won't have time until this weekend.

In the first part, you mean a shell on the phone right?

I have adb configured on PC I think. Minimal ADB and Fastboot it's called.
[Nexus 6  General] dgm_mixtoon:
Hello!, I need help !, my Nexus 6 stopped working the call microphone, can I use the mic recording for calling? ?, please help!:crying:
[Nexus 6  General] dimon153:
It is?

AOSiP latest 8.1

logcat | grep audio_hw
03-12 23:37:04.584 361 535 D audio_hw_primary: adev_set_mic_mute: state 0
03-12 23:37:06.696 361 586 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback handset
03-12 23:37:06.697 361 586 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
03-12 23:40:19.902 361 586 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
03-12 23:40:19.905 361 1033 D audio_hw_primary: select_devices: changing use case low-latency-playback output device from(1: handset, acdb 7) to (2: speaker, acdb 15)
03-12 23:40:19.905 361 1033 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
03-12 23:40:19.909 361 1033 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback speaker
03-12 23:40:19.969 361 1033 D audio_hw_primary: out_write: retry previous failed cal level set
03-12 23:40:19.993 361 3596 D audio_hw_primary: select_devices: changing use case audio-record input device from(0: none, acdb -1) to (63: camcorder-mic, acdb 61)
03-12 23:40:19.993 361 3596 D audio_hw_primary: enable_snd_device: snd_device(63: camcorder-mic)
03-12 23:40:20.006 361 3596 D audio_hw_primary: enable_audio_route: usecase(9) apply and update mixer path: audio-record
03-12 23:40:23.470 361 586 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback speaker
03-12 23:40:23.473 361 586 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)

logcat | grep mixer
03-12 23:36:57.995 361 361 D msm8974_platform: platform_init: Loading mixer file: /system/etc/mixer_paths.xml
03-12 23:36:58.137 361 361 E audio_hw_acdb: acdb_init: Could not get ctl for mixer cmd - CVD Version
03-12 23:36:58.149 361 361 E msm8974_platform: init_be_dai_name_table: Could not get ctl for mixer name Backend DAI Name Table
03-12 23:37:03.525 361 1033 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback handset
03-12 23:37:06.696 361 586 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback handset
[Nexus 6  General] raka:
Im currently using LineageOS as my main ROM, unfortunately stereo recording isn't enabled in LineageOS 15.1 and the patches offered in this thread, initially for the stock roms, are not working. So I thought may be I can participate for a solution this (and another issue with low microphone gain on LineageOS 15.1).

A change for Oreo is that the file media_profiles_V1_0.xml now resides in the vendor partition. In Nougat (and before), media_profiles.xml was located in /system/etc.

I've applied the changes to the original files of the April 16th LineageOS rom. The result is, in my case on my device, working. I've set the microphone volume (for ADC1 and ADC4) on 16 and that seems to solve the gain issue.

I've attached two flashable zips. One with the patched files, and one with the original xmls from the lineage-15.1-20180416-nightly-shamu-signed.zip. Please test my patches, and if they're working, happy recording! If they're not - a pity but then you can flash the original files back again. May be the patches are also working on other Oreo roms. Flashing on your own risk of course.
[Nexus 6  General] albaniax:
Do you have an idea how I can test this and go back if it fails - can I backup only specific files?

I am on LG V20 H990, lineage 15.1 September build.
[Nexus 6  General] raka:
You can try, but what I learned now it won’t work because changes are related to hardware. The configuration of the H990 can be completely different than on shamu. Since Oreo everything related to hardware should be in /vendor and that was the initial reason for my post.

If the H990 doesn’t have stereo recording, and has more than one addressable microphone, then you have to search for:

The files named media_profiles.xml and mixer_paths_.xml (or equivalents)

The microphone ‘slots’ for microphones you want to use (in case of shamu that was ADC1 and ADC4)

Change mixer_paths.xml accordingly

In the file media_profiles.xml is defined what to to with the extra sound channels in different cases. I think you’ll have more luck with copying that file to your device. You can view and learn from the differences with the shamu variants in a text editor with a compare function (e.g. Notepad++ with the Compare plugin).

Success!

For shamu users on LOS 15.1: the changes are since long time part of the official builds. So no need to patch the ROM anymore.
[Nexus 6  General] newderwish:
Hi there

Please i need that : Nexus6_stereo_audio_rec_7.1.1.zip

the download link does not work any more
[Nexus 6  General] Dixon Butz:
http://www.mediafire.com/file/cm8eox7y0kme4ug/Nexus6_stereo_audio_rec_7.1.1.zip/file
[Nexus 6  General] JuanMnz93:
Hi! I have a big problem with my phone. the microphone only works in the camera app using this rom, the microphone doesnt work in stock and any other. Can someone help me to modify the mixer_patch to put the microphones uses in the camera app for recording, as default to all other apps? I really hope someone can help me.

I attach the mixer patch that the mic works in the camera app.
[Sprint LG G3] IamFlynn:
Has anyone tried the Furnace kernel for AOSP roms? link here: http://xdaforums.com/lg-g3/development/kernel-furnace-aosp-roms-t3000289

and the SM lollipop kernel found here: http://xdaforums.com/lg-g3/development/kernel-optimized-sm-4-9-3-kernel-t2976049

Just wondering.
[Sprint LG G3] whoppe862005:
After you posted this i flashed Dirty Unicorns with Furnace Kernel and everything is running good. Booted up with no issues and it seems to work well. Granted I've just flashed it but will report back if I find any issues.
[AT&T Samsung Galaxy Note II] thedigitalman:
Hello,

My question is regarding what is the compatible copy version of cyanogenMod which can work on SGH-I317M Bell Canada device.

thanks
[Galaxy S 4 Mini Accessories] Patris_1:
I recently bought a non official flip cover for my s4 mini LTE (GT-I9195), and although the on/off display function works perfectly (without any third party apps), I can't get the information to show on the small window. Is anyone else having this problem?

I'm on the latest CM snapshot and using nova launcher.
[Galaxy S 4 Mini Accessories] SilviuMik:
S-view is for samsung STOCK roms not for CM ;)

There are apps to add a workaround, but official is only samsung TW roms
[Galaxy S 4 Mini Accessories] Patris_1:
Actually it is supposed to work since CM11 11.0 (proof of this is the fact that the lock/unlock function works perfectly), and I have noticed that when I open the lid the s-view information is showing, but never while the lid is closed, which is my problem.
[Galaxy S 4 Mini Accessories] Patris_1:
Alright, I found the problem. On the cyanogenmod settings, under display I unchecked "Prevent accidental wake-up" which aparently checks the proximity sensor before waking up the screen, which kept the smart window form showing.
[Galaxy S 4 Mini Accessories] RazCrimson:
I think the S-View Flip Cover might not be fully compatable with CM better to use stock rom to use S-View Flip Cover Perfectly.
[XDA Assist] XDA Visitor:
So i'm trying to get my play store working again after I rooted my Galaxy S3 a while ago. I've tried modifying and deleting the "hosts" file under etc. In a file expolorer but it wont work. Any help?
[XDA Assist] Perseus:
Can you please specify if you have International Galaxy S3 or US Variant ? If on US Variant then what Carrier ?

This information will help us point you in the right direction. Also specify why Play store stopped working after root.
[Miscellaneous Android Development] Huskerjeff:
Is anyone out there aware of a way to root a Galaxy Beam 2 (SM-G3838)?

I recently purchased an ulocked device. It did not come with Play Store installed, and I can not seem to get it to work by installing the APK file.

The phone would be a great help at work if I could fully convert it to an American Phone.

Any help would be greatly appreciated.

Thank you,

HuskerJeff
[Miscellaneous Android Development] g256w:
Search youtube for "Allabouthegalaxybeam" - he's done a tutorial on how to root + playstore / google services and it worked well for me.
[Miscellaneous Android Development] g256w:
Update - I just found a method that works better than the Allabouthegalaxybeam youtube tutorial.. unfortunately I can't post links yet, but do the following:

1) Root your phone using the above tutorial.. but stop after rooting.

2) Use ODIN to flash CWM 6.0.5.0 - there is a tutorial online that you can use.

3) Install ADB on your PC and ADB Sideload one of the CM Jellybean GAPPS packages.

4) Sign in to your google account and update all your google stuff via playstore.

This will give you full google play services and framework + playstore + all google apps via play store, and you don't need to go through any strange 3rd party app stores or do any root explorer file copies. This is the most stable / secure way of getting Google on to the beam 2.
[Miscellaneous Android Development] waelmahran:
i need files link

i need files link
[General Questions and Answers] alibay13:
hi guys

i have chinese tablet model action

i install sony tablet z bootanimatin on my tablet and now my tablet has a boot loop(its not boot up and play boot animatin again and again) and i can fix it

my tablet is not going to recovery mod

what can i do???

i need my tablet

can any one help me please :crying:

sorry for my bad english :crying:
[Android Q&A, Help & Troubleshooting] BBotteron1:
OK so we all know the moto g XT1028 is unlockable and unrootable without the help of a third party but that's another days talk. Lol Anyways is there a way to partition the internal memory of this device and somehow install a mobile friendly Linux or other OS without unlock/root? I'm about to get rid of this phone for as little the customization fits my wants and needs. I've unlocked and rooted a few phone but never put thought into partitioning but I'm starting to get into Linux and I'm just curious. :) thank you for the answers in advance!
[Nook Color Q&A, Help & Troubleshooting] dparrothead1:
Trying a little project and need to know the best kernel for a 4.4.2 build! Thanks in advance for any advice!!!