Post Reply

[CUSTOM] Modded-CyanogenMod ROM discussion thread

3rd January 2012, 11:17 AM   |  #11  
temasek's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 65,424
 
20,393 posts
Join Date:Joined: Feb 2010
More
Quote:
Originally Posted by Huexxx

Yeah, good solution!!!

I'm going to use local_manifest.xml too in order to remove de unneeded devices to my sync to reduce syncing time... I'll post it here too...

Regards!

FuZZ_ just submitted a commit for GB's version of ICS's fix

Change I847a44bd: Add second github remote and only pull prebuilt via https
http://review.cyanogenmod.com/#change,11428
3rd January 2012, 12:51 PM   |  #12  
redy2006's Avatar
Senior Member
Thanks Meter: 568
 
937 posts
Join Date:Joined: May 2008
Donate to Me
More
asound.conf
I think I've found out the "low sound" at recording, but can't confirm it myself for sure.. So I want other person could test and confirm it also..

Change it through Root Explorer, /system/etc/asound.conf, or make those files and copy it via adb push (but don't forget to set permission 0644).

-- original code --

Code:
pcm.AndroidIn {
	type hooks
	slave.pcm default
	hooks.0 {
		type ctl_elems
		hook_args [
			{
				name 'Analog Left Capture Route Main mic'
				value 'on'
				lock false
				preserve true
				optional false
			}
			{
				name 'Analog Right Capture Route Sub mic'
				value 'on'
				lock false
				preserve true
				optional false
			}
                        {
				name 'Analog Left Capture Route Headset mic'
				value 'off'
				lock false
				preserve true
				optional false
			}
		]
	}
}
change it to

Code:
pcm.AndroidIn {
	type hooks
	slave.pcm default
	hooks.0 {
		type ctl_elems
		hook_args [
			{
				name 'Analog Left Main Mic Capture Switch'
				value 'on'
				lock false
				preserve true
				optional false
			}
			{
				name 'Analog Right Sub Mic Capture Switch'
				value 'on'
				lock false
				preserve true
				optional false
			}
                        {
				name 'Analog Left Headset Mic Capture Switch'
				value 'off'
				lock false
				preserve true
				optional false
			}
		]
	}
}
Also applied to the pcm.AndroidIn_Headset below it, but pay attention to the value "on"/"off", not the same.
Don't forget to reboot.

Please, correct me if I am wrong

---

PS: IF it doesn't work, perhaps I've already had changes in alsa_omap3.cpp for INPUT devices... But as far I remember, it should still at default source code. I'll keep in touch for my progress with this audio stuff, Sorry
Last edited by redy2006; 3rd January 2012 at 01:08 PM.
The Following 2 Users Say Thank You to redy2006 For This Useful Post: [ View ]
3rd January 2012, 02:23 PM   |  #13  
Huexxx's Avatar
Recognized Contributor
Flag Arroyomolinos Madrid
Thanks Meter: 4,794
 
1,609 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Sorry but once changes are done, I've rebooted and tried but same bad result...

I'm on your last KANG.

Keep it up man!!!
3rd January 2012, 03:49 PM   |  #14  
redy2006's Avatar
Senior Member
Thanks Meter: 568
 
937 posts
Join Date:Joined: May 2008
Donate to Me
More
Lightbulb
Quote:
Originally Posted by Huexxx

Sorry but once changes are done, I've rebooted and tried but same bad result...

I'm on your last KANG.

Keep it up man!!!

Thanks for trying.. I guess it's related with input and ALSAMixer. The most confusing parts is about FM Radio. The recording working loudly, but FM audio failed. Actually you can also trying to change itself, by terminal or adb shell. ALSAMixer controls the mixing and switch between input & output.

First try alsa_amixer --help to get the parameter, then you can look out mixer or setting mixer. Our devices still use/read the config asound.conf, so it's related.
Last edited by redy2006; 3rd January 2012 at 10:58 PM.
3rd January 2012, 11:00 PM   |  #15  
redy2006's Avatar
Senior Member
Thanks Meter: 568
 
937 posts
Join Date:Joined: May 2008
Donate to Me
More
My progress:

If media sound level (speaker) correct, headset had broken level (including FM Radio). But the other way, if FM Radio headset/speaker are correct, media volume (speaker/headset) had broken level..
3rd January 2012, 11:14 PM   |  #16  
Pr3dator?'s Avatar
Senior Member
Flag Trois rivières
Thanks Meter: 5
 
114 posts
Join Date:Joined: Dec 2011
More
Redy can you post the link for your kang i can't find it

Envoyé depuis mon LG-P970 avec Tapatalk
3rd January 2012, 11:49 PM   |  #17  
redy2006's Avatar
Senior Member
Thanks Meter: 568
 
937 posts
Join Date:Joined: May 2008
Donate to Me
More
Quote:
Originally Posted by Pr3dator?

Redy can you post the link for your kang i can't find it

at the first post? or at my signature?

Build 20111210 has no BT audio.
Build 20111228 has BT, but "occasionally" audio bugs.
Next build ........... still up to 10 times built, test, and trial..
The Following User Says Thank You to redy2006 For This Useful Post: [ View ]
4th January 2012, 12:02 AM   |  #18  
lesp4ul's Avatar
Senior Member
Flag Paranoid Room
Thanks Meter: 530
 
1,887 posts
Join Date:Joined: Feb 2011
More
You guys can always make your own thread in dev section to make it dedicated. So users can follow and read the changelogs and anything from OP instead of navigate through pages. Also you now are freely to make extreme mod, not just kang if you want to.

Cheers

Sent from my LG-P970 using Tapatalk
4th January 2012, 07:38 AM   |  #19  
temasek's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 65,424
 
20,393 posts
Join Date:Joined: Feb 2010
More
Quote:
Originally Posted by lesp4ul

You guys can always make your own thread in dev section to make it dedicated. So users can follow and read the changelogs and anything from OP instead of navigate through pages. Also you now are freely to make extreme mod, not just kang if you want to.

Cheers

Sent from my LG-P970 using Tapatalk

I've already a thread for CM7 KANG in p990 and I'm KANGing for 3 devices. I'm lazy so I just stay with 1 thread. For OB & N1 device, I just make a small post on updates and move on.

temasek's KANG updated P20-13

OB users can bookmark this url and keep themselves updated.

http://forum.xda-developers.com/show....php?t=1421425

Cheers
4th January 2012, 08:55 AM   |  #20  
temasek's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 65,424
 
20,393 posts
Join Date:Joined: Feb 2010
More
After some thought, I've decided to create a thread for p970. It is in xda dev section.

http://forum.xda-developers.com/show....php?t=1427075

The Following User Says Thank You to temasek For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
cm7, cyanogen, discussion, mod, rom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes