Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,721 Members 39,599 Now Online
XDA Developers Android and Mobile Development Forum

[CUSTOM] Modded-CyanogenMod ROM discussion thread

Tip us?
 
temasek
Old
#11  
temasek's Avatar
Recognized Contributor
Thanks Meter 65,165
Posts: 20,306
Join Date: Feb 2010
Location: Singapore
Quote:
Originally Posted by Huexxx View Post
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
Samsung Galaxy S3 i9300 - CM11.0 SelfKANG ( KANG Thread / CHANGELOGS )
Samsung Galaxy Note 3 - hltexx (N9005) - CM11.0 SelfKANG ( KANG Thread )
Nexus 7 3G Tilapia - CM11.0 SelfKANG

Vadonka's temasek.hopto.org: temasek
Dev-Host: temasek
AndroidFileHost: temasek

Twitter: temasek71

 
redy2006
Old
(Last edited by redy2006; 3rd January 2012 at 01:08 PM.)
#12  
redy2006's Avatar
Senior Member
Thanks Meter 568
Posts: 937
Join Date: May 2008

 
DONATE TO ME
Default 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


How To Ask Good Question?

LG Optimus Black P970
Status: on Vacation.

The Following 2 Users Say Thank You to redy2006 For This Useful Post: [ Click to Expand ]
 
Huexxx
Old
#13  
Huexxx's Avatar
Recognized Contributor
Thanks Meter 4,794
Posts: 1,609
Join Date: Jul 2009
Location: Arroyomolinos Madrid

 
DONATE TO ME
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!!!
Give a try to my 3d battery icons here!



LG Optimus Black / ROM IZS v1 by Huexxx

DONATE PLEASE! HELP ME WITH MY MORTGAGE!

 
redy2006
Old
(Last edited by redy2006; 3rd January 2012 at 10:58 PM.)
#14  
redy2006's Avatar
Senior Member
Thanks Meter 568
Posts: 937
Join Date: May 2008

 
DONATE TO ME
Quote:
Originally Posted by Huexxx View Post
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.


How To Ask Good Question?

LG Optimus Black P970
Status: on Vacation.

 
redy2006
Old
#15  
redy2006's Avatar
Senior Member
Thanks Meter 568
Posts: 937
Join Date: May 2008

 
DONATE TO ME
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..


How To Ask Good Question?

LG Optimus Black P970
Status: on Vacation.

 
Pr3dator?
Old
#16  
Pr3dator?'s Avatar
Senior Member
Thanks Meter 5
Posts: 114
Join Date: Dec 2011
Location: Trois rivières
Redy can you post the link for your kang i can't find it

Envoyé depuis mon LG-P970 avec Tapatalk
 
redy2006
Old
#17  
redy2006's Avatar
Senior Member
Thanks Meter 568
Posts: 937
Join Date: May 2008

 
DONATE TO ME
Quote:
Originally Posted by Pr3dator? View Post
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..


How To Ask Good Question?

LG Optimus Black P970
Status: on Vacation.

The Following User Says Thank You to redy2006 For This Useful Post: [ Click to Expand ]
 
lesp4ul
Old
#18  
lesp4ul's Avatar
Senior Member
Thanks Meter 529
Posts: 1,879
Join Date: Feb 2011
Location: Paranoid Room
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

--=BE PART OF THE FUTURE=--


{{ LG NEXUS 5 | ASUS NEXUS 7 3G | SAMSUNG GALAXY NEXUS | OPPO FIND 5 | SAMSUNG GALAXY S II | SAMSUNG GALAXY ACE | LG OPTIMUS BLACK |
SAMSUNG GALAXY SPICA | NOKIA E72 | HTC MAGIC | NOKIA E71 | NOKIA 6500S | NOKIA 7610 | ERICSSON R310s | ERICSSON T65 | NOKIA 6510 |
NOKIA 9210C | SIEMENS M35 | NOKIA 3310 | NOKIA 5110 }}

NEXUS LOUDER + VIPER 4 ANDROID
My Viper4Android Profile
(N5, Sennheiser HD218)



 
temasek
Old
#19  
temasek's Avatar
Recognized Contributor
Thanks Meter 65,165
Posts: 20,306
Join Date: Feb 2010
Location: Singapore
Quote:
Originally Posted by lesp4ul View Post
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
Samsung Galaxy S3 i9300 - CM11.0 SelfKANG ( KANG Thread / CHANGELOGS )
Samsung Galaxy Note 3 - hltexx (N9005) - CM11.0 SelfKANG ( KANG Thread )
Nexus 7 3G Tilapia - CM11.0 SelfKANG

Vadonka's temasek.hopto.org: temasek
Dev-Host: temasek
AndroidFileHost: temasek

Twitter: temasek71

 
temasek
Old
#20  
temasek's Avatar
Recognized Contributor
Thanks Meter 65,165
Posts: 20,306
Join Date: Feb 2010
Location: Singapore
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
Samsung Galaxy S3 i9300 - CM11.0 SelfKANG ( KANG Thread / CHANGELOGS )
Samsung Galaxy Note 3 - hltexx (N9005) - CM11.0 SelfKANG ( KANG Thread )
Nexus 7 3G Tilapia - CM11.0 SelfKANG

Vadonka's temasek.hopto.org: temasek
Dev-Host: temasek
AndroidFileHost: temasek

Twitter: temasek71


The Following User Says Thank You to temasek For This Useful Post: [ Click to Expand ]
Tags
cm7, cyanogen, discussion, mod, rom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes