Fixes for CM11 FXP Rom(e.g. headset button)

Search This thread

amnher

Senior Member
Here are some fixes I found for this rom

1. Headset Button does not work as play/pause on single press and next track on double press just like on stock

Credits to: @imanesaurus
got to
system/usr/keylayout/Generic.kl
key 226 HEADSETHOOK
key 256 BUTTON_1
change to
key 226 BUTTON_1
key 256 HEADSETHOOK

2. Contacts gives "sync is currently experiencing problems it will be back shortly"

Install this one and apply the fix. You can now uninstall the app
Contact Sync Fix

3. Low volume calls fix

Credits to: @chongns
a. to edit "snd_soc_msm_Sitar" in folder /system/etc/snd_soc_msm
b. find comment "Handset Rx device for voice call"
c. increase the value of 'RX1 Digital Volume':1:68 recommend in between 75 to 80, i use 78
(thanks to a member who post this, sorry forgot who's the name is.0)
d.make sure the permission is rw-r--r--, than reboot.
or

Credits to @Marius Cristian

If there are other fixes ill update the thread
 
Last edited:

Marius Cristian

Senior Member
May 10, 2011
713
200
Thanks for the headset fix,it's working.i'm having a harder time to change to previous song,I must press very fest 3 times on the button...and I don't always press fast enough...but it's better than nothing.Thanks a lot !
 

Shujja Haider

Senior Member
Jun 8, 2014
216
22
35
headset low volume

I have changed the value to 75 and uploading the file! In case someone has a hard time finding it!

Update : I got bricked on 322

When I clicked save to the edited file .. i found the same error .. operation failed..
then i went back and the file was missing.
then i reopened the folder, the file was there with changed value. I dont if it is normal or something went wrong.

I also need one help .. I am also experiencing very low volume of headset on voice calls.
what is the fix ?and also the speaker volume is low for ringtones to be noticed under Fan.
 

Marius Cristian

Senior Member
May 10, 2011
713
200
When I clicked save to the edited file .. i found the same error .. operation failed..
then i went back and the file was missing.
then i reopened the folder, the file was there with changed value. I dont if it is normal or something went wrong.

I also need one help .. I am also experiencing very low volume of headset on voice calls.
what is the fix ?and also the speaker volume is low for ringtones to be noticed under Fan.

Use PC to edit the file.The first value is at line 2975 and the second at line 3003.Use WORD find option to search line.Then put it in the etc folder,go to snd_soc_msm folder,delete old file,put the new one,change permissions to rw-r-r and then reboot.Root explorer will ask you to mount system as R/W.Press OK/YES.All the best.
@Hnk1
I did this on FXP 322 also and I haven't experienced any issues.How is your phone bricked?It doesn't respond in any way?you got bootloop?did you changed any other things?
 

shadowclone

Senior Member
Jul 26, 2013
112
4
Ormoc City
what app is needed to edit the file? i used the colornote to view and edit the necessary corrections but how to save it to the intended directory?

in pc mode, i cant view the root folder. how can i edit it in the pc?
 

Rockmins

Senior Member
Nov 12, 2011
199
50
colombo
OnePlus 3T
OnePlus 8 Pro
Headset Volume Control Buttons

I'am using Sony MH1c headset which comes with volume control buttons and is there any way to fix those two buttons ? I did fix the call answer button. When I click the volume control buttons the data traffic turn on! :confused:
 

Shujja Haider

Senior Member
Jun 8, 2014
216
22
35
Use PC to edit the file.The first value is at line 2975 and the second at line 3003.Use WORD find option to search line.Then put it in the etc folder,go to snd_soc_msm folder,delete old file,put the new one,change permissions to rw-r-r and then reboot.Root explorer will ask you to mount system as R/W.Press OK/YES.All the best.

@Hnk1
I did this on FXP 322 also and I haven't experienced any issues.How is your phone bricked?It doesn't respond in any way?you got bootloop?did you changed any other things?

I did as you had guided.. Now i rebooted the device and it is stuck at booting with Cyanogenmod Circling..
It has happened not just once but many times and i had to reinstall FXP322 and gapps to make it working.
what could have been gone wrong ?

---------- Post added at 04:49 PM ---------- Previous post was at 04:43 PM ----------

and also on each reboot.. device date and time are changed.. i have to set them everytime..
 

Hnk1

Senior Member
Dec 23, 2012
1,466
1,550
Newcastle Upon Tyne
OnePlus 5
Moto G6
Use PC to edit the file.The first value is at line 2975 and the second at line 3003.Use WORD find option to search line.Then put it in the etc folder,go to snd_soc_msm folder,delete old file,put the new one,change permissions to rw-r-r and then reboot.Root explorer will ask you to mount system as R/W.Press OK/YES.All the best.

@Hnk1
I did this on FXP 322 also and I haven't experienced any issues.How is your phone bricked?It doesn't respond in any way?you got bootloop?did you changed any other things?

I used PC to change values using a note pad as I couldn't find it using my phone.
I suppose notepad is to be blamed!

But it works on some previous built, I tried it before but this time it didn't for me.
Last time used root explorer

---------- Post added at 10:03 AM ---------- Previous post was at 09:59 AM ----------

I did as you had guided.. Now i rebooted the device and it is stuck at booting with Cyanogenmod Circling..
It has happened not just once but many times and i had to reinstall FXP322 and gapps to make it working.
what could have been gone wrong ?

---------- Post added at 04:49 PM ---------- Previous post was at 04:43 PM ----------

and also on each reboot.. device date and time are changed.. i have to set them everytime..

Next time, just flash fxp322 or which ever it is. Don't wipe or clear cache!

Your phone will come back in its previous state.
You only need to clear cache/factory reset when moving from one ROM to another !
Good luck
 
Last edited:

Shujja Haider

Senior Member
Jun 8, 2014
216
22
35
okay thanks alot ..
But what about date and time issue ? after each reboot the time changes to 1 PM and date goes to 2009.. everytime i have to change it . Automatic Network date and time thing is also not working ..
 

Marius Cristian

Senior Member
May 10, 2011
713
200
Here are some fixes I found for this rom

1. Headset Button does not work as play/pause on single press and next track on double press just like on stock

Credits to: @imanesaurus


will this method work on stock 4.2.2 rooted and unlocked?

On stock the headset buttons are working just fine.No need for any fix.

okay thanks alot ..
But what about date and time issue ? after each reboot the time changes to 1 PM and date goes to 2009.. everytime i have to change it . Automatic Network date and time thing is also not working ..

I don't have this issue with time.For me ticking Automatic time zone and Automatic date and time works like a charm...
 

chongns

Senior Member
Aug 1, 2011
917
426
Johor Bahru
Xiaomi Mi 11 Lite 4G
InCAll Volume and Noise fix

Hi

Attach new fix, but can't confirm it is working or not, (my hearing are not good):p
please try out, if work please let me know

attached zip file (non flashabel zip)


Code:
SectionDevice
	Name "Earpiece"
	Comment "Handset Rx device"

	EnableSequence
		'SLIM RX1 MUX':0:AIF1_PB
		'SLIM_0_RX Channels':0:eek:ne
		'DAC1 MUX':0:RX1
		'RX1 MIX1 INP1':0:RX1
		'EAR PA Gain':0:POS_[COLOR="red"]6[/COLOR]_DB
		'DAC1 Switch':1:1
		'RX1 Digital Volume':1:[COLOR="red"]71[/COLOR]
	EndSequence

	DisableSequence
		'SLIM RX1 MUX':0:ZERO
		'DAC1 MUX':0:ZERO
		'RX1 MIX1 INP1':0:ZERO
		'EAR PA Gain':0:POS_[COLOR="red"]2[/COLOR]_DB
		'DAC1 Switch':1:0
	EndSequence

	ACDBID	7:1
	EffectsMixerCTL "SRS TruMedia"
	EC_REF_RXMixerCTL "SLIM_RX"

EndSection

SectionDevice
	Name "Voice Earpiece"
	Comment "Handset Rx device for voice call"

	EnableSequence
		'SLIM RX1 MUX':0:AIF1_PB
		'SLIM_0_RX Channels':0:eek:ne
		'DAC1 MUX':0:RX1
		'RX1 MIX1 INP1':0:RX1
		'EAR PA Gain':0:POS_[COLOR="red"]6[/COLOR]_DB
		'DAC1 Switch':1:1
		'RX1 Digital Volume':1:[COLOR="red"]71[/COLOR]
	EndSequence

	DisableSequence
		'SLIM RX1 MUX':0:ZERO
		'DAC1 MUX':0:ZERO
		'RX1 MIX1 INP1':0:ZERO
		'EAR PA Gain':0:POS_[COLOR="red"]2[/COLOR]_DB
		'DAC1 Switch':1:0
	EndSequence

	ACDBID	7:1
	EffectsMixerCTL "SRS TruMedia"

EndSection


Code:
SectionDevice
	Name "Handset"
	Comment "Handset Tx device"

	EnableSequence
		'AIF1_CAP Mixer SLIM TX1':1:1
		'SLIM_0_TX Channels':0:eek:ne
		'SLIM TX1 MUX':0:DEC1
		'DEC1 MUX':0:ADC1
		'DEC1 Volume':1:[COLOR="red"]60[/COLOR]
		'ADC1 Volume':1:100
		[COLOR="red"]'MICBIAS1 CAPLESS Switch':1:1[/COLOR]
	EndSequence

	DisableSequence
		'AIF1_CAP Mixer SLIM TX1':1:0
		'SLIM TX1 MUX':0:ZERO
		'DEC1 MUX':0:ZERO
		'DEC1 Volume':1:0
		'ADC1 Volume':1:0
		[COLOR="red"]'MICBIAS1 CAPLESS Switch':1:0[/COLOR]
	EndSequence

	ACDBID	4:2
	EffectsMixerCTL "SRS TruMedia"

EndSection


Code:
SectionDevice
	Name "DMIC Endfire"
	Comment "Dual MIC Endfire Tx device"

	EnableSequence
		'AIF1_CAP Mixer SLIM TX1':1:1
		'AIF1_CAP Mixer SLIM TX5':1:1
		'SLIM TX1 MUX':0:DEC1
		'DEC1 MUX':0:ADC1
		'SLIM TX2 MUX':0:DEC2
		'DEC2 MUX':0:ADC3
		'DEC1 Volume':1:[COLOR="red"]82[/COLOR]
		'ADC1 Volume':1:100
		'DEC2 Volume':1:[COLOR="red"]67[/COLOR]
		'ADC3 Volume':1:100
		'SLIM_0_TX Channels':0:Two
		[COLOR="red"]'MICBIAS1 CAPLESS Switch':1:1
		'MICBIAS3 CAPLESS Switch':1:1[/COLOR]
	EndSequence

	DisableSequence
		'AIF1_CAP Mixer SLIM TX1':1:0
		'AIF1_CAP Mixer SLIM TX5':1:0
		'SLIM TX1 MUX':0:ZERO
		'DEC2 MUX':0:ZERO
		'SLIM TX2 MUX':0:ZERO
		'DEC2 MUX':0:ZERO
		'DEC1 Volume':1:0
		'ADC1 Volume':1:0
		'DEC2 Volume':1:0
		'ADC3 Volume':1:0
		[COLOR="red"]'MICBIAS1 CAPLESS Switch':1:0
		'MICBIAS3 CAPLESS Switch':1:0[/COLOR]
	EndSequence

	ACDBID	6:2
	EffectsMixerCTL "SRS TruMedia"

EndSection

SectionDevice
	Name "Speaker DMIC Endfire"
	Comment "Dual MIC Endfire Tx device"

	EnableSequence
		'AIF1_CAP Mixer SLIM TX1':1:1
		'AIF1_CAP Mixer SLIM TX5':1:1
		'SLIM TX1 MUX':0:DEC1
		'DEC1 MUX':0:ADC1
		'SLIM TX2 MUX':0:DEC2
		'DEC2 MUX':0:ADC3
		'DEC1 Volume':1:[COLOR="red"]82[/COLOR]
		'ADC1 Volume':1:100
		'DEC2 Volume':1:[COLOR="red"]67[/COLOR]
		'ADC3 Volume':1:100
		'SLIM_0_TX Channels':0:Two
[COLOR="red"]		'MICBIAS1 CAPLESS Switch':1:1
		'MICBIAS3 CAPLESS Switch':1:1[/COLOR]
	EndSequence

	DisableSequence
		'AIF1_CAP Mixer SLIM TX1':1:0
		'AIF1_CAP Mixer SLIM TX5':1:0
		'SLIM TX1 MUX':0:ZERO
		'DEC1 MUX':0:ZERO
		'SLIM TX2 MUX':0:ZERO
		'DEC2 MUX':0:ZERO
		'DEC1 Volume':1:0
		'ADC1 Volume':1:0
		'DEC2 Volume':1:0
		'ADC3 Volume':1:0
		[COLOR="Red"]'MICBIAS1 CAPLESS Switch':1:0
		'MICBIAS3 CAPLESS Switch':1:0[/COLOR]
	EndSequence

	ACDBID	13:2
	EffectsMixerCTL "SRS TruMedia"

EndSection
 

Attachments

  • snd_soc_msm_Sitar.rar
    5.9 KB · Views: 34

nenat00

Member
Dec 7, 2011
19
3
Good day. I encountered a little problem when switching the call to external speaker : the person calling me can hear herself when talking (echo, pretty loud actually), but when i commute to headset the call is fine, no echo on the other side of the call. Thank you !
 

chongns

Senior Member
Aug 1, 2011
917
426
Johor Bahru
Xiaomi Mi 11 Lite 4G
Good day. I encountered a little problem when switching the call to external speaker : the person calling me can hear herself when talking (echo, pretty loud actually), but when i commute to headset the call is fine, no echo on the other side of the call. Thank you !
this probably the problem of the 2nd mic setting, the voice cancellation function is buggy. this probably already fix in next build.

Sent from my Galaxy Nexus using Tapatalk
 

nenat00

Member
Dec 7, 2011
19
3
Thanks for replying ! LE: fxp324 headset and speaker issue still present !
 
Last edited:

Wazzzzaaaah

Member
Apr 29, 2014
40
15
Do you guys have any idea how to get the volume buttons to work during a call? Even with the latest build the volume buttons move the slider, but don't have any effect on the volume.
 

Top Liked Posts