[FAQ][ROM] Cyanogenmod 11 for Moto G

MiyagiSan

Senior Member
Sep 18, 2014
632
167
0
The latest nightlies have an audio bug. I've already made a JIRA issue report. Has anyone else had that "reverse stereo" bug?
Last version to work fine was 20141025.

Can't get a logcat/dmesg because I'm running the stock ROM now.
How were you able to detect this in normal use of your device?

Did you reflash stock because of this issue?

Thanks you both for the report and jira issue btw.
 

DoctorStrange96

Senior Member
Feb 21, 2014
1,616
2,374
153
Belém
How were you able to detect this in normal use of your device?

Did you reflash stock because of this issue?

Thanks you both for the report and jira issue btw.
I detected this while listening to a song. Originally, some parts of it go through the left channel (e.g. vocals) whilst others go through the right (e.g. guitar). However, in CM, this was reversed. And yes, I had to reflash stock because of this. I've tried flashing a custom kernel before reflashing stock but it didn't help.

Oh, and this is present in other CM-based ROMs for this device, such as AOSPA and PAC. At least in CM's official nightlies. @MiyagiSan, I'll test your unofficials, and maybe Quarx's unofficials too, and see if they also have this bug.

UPDATE: I've just confirmed that Quarx's nightlies do not have this bug.
 
Last edited:

sedelman

Member
Sep 19, 2012
21
2
0
Gmail notification vibration

Is there any method to shut off Gmail notification vibration? No matter which settings I choose, it vibrates when I get a new email.
 

michael_ch

Senior Member
Oct 27, 2009
233
209
63
Is there any method to shut off Gmail notification vibration? No matter which settings I choose, it vibrates when I get a new email.
That's a really annoying "feature". But it can be disabled easily in CyanogenMod:
Settings => Sound => Notification => uncheck "Vibrate on notification"
 
  • Like
Reactions: sedelman

sedelman

Member
Sep 19, 2012
21
2
0
That's a really annoying "feature". But it can be disabled easily in CyanogenMod:
Settings => Sound => Notification => uncheck "Vibrate on notification"
I appreciate the response. Unfortunately that hasn't had an effect on it. It seems like such a stupid reason to re-flash roms but it's going to really start annoying me I think.
 
Last edited:

michael_ch

Senior Member
Oct 27, 2009
233
209
63
I appreciate the response. Unfortunately that hasn't had an effect on it. It seems like such a stupid reason to re-flash roms but it's going to really start annoying me I think.
Well I can only say that this feature was made for that purpose and it works for me. Check your settings again, otherwise I'm out of ideas ;)
 

sedelman

Member
Sep 19, 2012
21
2
0
Are you on stable or nightly? I'm going to give stable one last try before I try something else.

Edit: For what it's worth, I reflashed to the 0405 snapshot and it is working as expected now. Not sure if I should file a bug report or not. They both got compared head-to-head right after flashing.
 
Last edited:

michael_ch

Senior Member
Oct 27, 2009
233
209
63
Are you on stable or nightly? I'm going to give stable one last try before I try something else.

Edit: For what it's worth, I reflashed to the 0405 snapshot and it is working as expected now. Not sure if I should file a bug report or not. They both got compared head-to-head right after flashing.
Using Nightly of November 1st.
 
  • Like
Reactions: towseef.ali

justplayeR

Member
Nov 4, 2014
7
0
0
São Paulo
Restart

Just copying what gameeater said in the Debugger thread:

By increasing the volume of a video in the horizontal system hangs and restarts.
Sorry, no logcat.

Rom: CM11-falcon_nightly-30/10/2014
Kernel: original

I'm in 11-20141106-nightly-falcon
Kernel:
3.4.42-g608ad60
[email protected] #1

It is a know bug?
 

OldYellowBricks

Senior Member
Aug 31, 2012
633
263
0
I detected this while listening to a song. Originally, some parts of it go through the left channel (e.g. vocals) whilst others go through the right (e.g. guitar). However, in CM, this was reversed. And yes, I had to reflash stock because of this. I've tried flashing a custom kernel before reflashing stock but it didn't help.

Oh, and this is present in other CM-based ROMs for this device, such as AOSPA and PAC. At least in CM's official nightlies. @MiyagiSan, I'll test your unofficials, and maybe Quarx's unofficials too, and see if they also have this bug.

UPDATE: I've just confirmed that Quarx's nightlies do not have this bug.
will help you in a bit. i know how to fix this. it involves editing mixer_path file.

---------- Post added at 10:11 PM ---------- Previous post was at 09:52 PM ----------

I detected this while listening to a song. Originally, some parts of it go through the left channel (e.g. vocals) whilst others go through the right (e.g. guitar). However, in CM, this was reversed. And yes, I had to reflash stock because of this. I've tried flashing a custom kernel before reflashing stock but it didn't help.

Oh, and this is present in other CM-based ROMs for this device, such as AOSPA and PAC. At least in CM's official nightlies. @MiyagiSan, I'll test your unofficials, and maybe Quarx's unofficials too, and see if they also have this bug.

UPDATE: I've just confirmed that Quarx's nightlies do not have this bug.
FIRST OF ALL YOU MUST USE FX FILE MANAGER TO EDIT THIS FILE (INSTALL FX FILE MANAGER AND ITS ROOT ADD ON VIA PLAYSTORE)

okay. Now go to system/etc and locate a file named mixer_path and open it and go ahead and edit it.

NOW LOOK FOR THESE LINES

<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="RX_HPHL" />
<ctl name="RDAC3 MUX" value="DEM2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
</path>

now...CHANGE THE BOLDED LINES' VALUE TO THIS

<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />

okay moving ooonnn. Repeat the steps with these lines too

<path name="speaker-and-headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="RX_HPHL" />
<ctl name="RDAC3 MUX" value="DEM2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK DAC Switch" value="1" />
</path>

change the bolded values to this

<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />

after that hit save and reboot.

PLEASE US FX FILE MANAGER AND DONT FORGET TO INSTALL THE ROOT ADD ON TOO OKAY. PLS USERS HAVE REPORTED NUMEROUS ERRORS AFTER USING OTHER FILE MANAGERS. SO PLEASE.

AS USUAL, NANDROID BACKUP BEFORE YOU DO ANYTHING IN CASE ANYTHING GOES WRONG. which is very unlikely if you follow these steps properly.

Now I don't know if CM people know about this bug but this is the workaround that ive been using so far.

AND THE FEELING WHEN THE GUITAR SOLO PLAYS ON THE WRONG SIDE OF YOUR EARS IS JUST AKOSGJKOFJ;GKFDJGljkfgjdfksgj
 
Last edited:

DoctorStrange96

Senior Member
Feb 21, 2014
1,616
2,374
153
Belém
will help you in a bit. i know how to fix this. it involves editing mixer_path file.

---------- Post added at 10:11 PM ---------- Previous post was at 09:52 PM ----------



FIRST OF ALL YOU MUST USE FX FILE MANAGER TO EDIT THIS FILE (INSTALL FX FILE MANAGER AND ITS ROOT ADD ON VIA PLAYSTORE)

okay. Now go to system/etc and locate a file named mixer_path and open it and go ahead and edit it.

NOW LOOK FOR THESE LINES

<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="RX_HPHL" />
<ctl name="RDAC3 MUX" value="DEM2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
</path>

now...CHANGE THE BOLDED LINES' VALUE TO THIS

<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />

okay moving ooonnn. Repeat the steps with these lines too

<path name="speaker-and-headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="RX_HPHL" />
<ctl name="RDAC3 MUX" value="DEM2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK DAC Switch" value="1" />
</path>

change the bolded values to this

<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />

after that hit save and reboot.

PLEASE US FX FILE MANAGER AND DONT FORGET TO INSTALL THE ROOT ADD ON TOO OKAY. PLS USERS HAVE REPORTED NUMEROUS ERRORS AFTER USING OTHER FILE MANAGERS. SO PLEASE.

AS USUAL, NANDROID BACKUP BEFORE YOU DO ANYTHING IN CASE ANYTHING GOES WRONG. which is very unlikely if you follow these steps properly.

Now I don't know if CM people know about this bug but this is the workaround that ive been using so far.

AND THE FEELING WHEN THE GUITAR SOLO PLAYS ON THE WRONG SIDE OF YOUR EARS IS JUST AKOSGJKOFJ;GKFDJGljkfgjdfksgj
Huge thanks man. I'm gonna test this right now. I'll try to make a flashable zip with this file. As soon as I finish testing, I'll update this post.

Update: It works! Confirmed to be working on PA 4.6 Beta 5. Thanks a lot man, you saved me from reflashing stock!

If anyone of you guys also has this issue I had, I can upload a flashable zip I made. Works with CM, PA, and maybe with other custom ROMS too.
 
Last edited:

OldYellowBricks

Senior Member
Aug 31, 2012
633
263
0
Huge thanks man. I'm gonna test this right now. I'll try to make a flashable zip with this file. As soon as I finish testing, I'll update this post.

Update: It works! Confirmed to be working on PA 4.6 Beta 5. Thanks a lot man, you saved me from reflashing stock!

If anyone of you guys also has this issue I had, I can upload a flashable zip I made. Works with CM, PA, and maybe with other custom ROMS too.
Also, if you want to increase some volume, change the HPHR + HPHL Values to either 20 or 30 depending on which kernel you use. Stock CM/PA should use 20, xperience kernel 30

Im talking about these lines

<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
 

DoctorStrange96

Senior Member
Feb 21, 2014
1,616
2,374
153
Belém
Also, if you want to increase some volume, change the HPHR + HPHL Values to either 20 or 30 depending on which kernel you use. Stock CM/PA should use 20, xperience kernel 30

Im talking about these lines

<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
Thanks again. I'll look into this later on. But sometimes I think that my earphones' audio output is too loud, even if I'm in a regular volume level and with the values above unchanged :p