FORUMS

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

[CUSTOM] Modded-CyanogenMod ROM discussion thread

967 posts
Thanks Meter: 101
 
By agent205, Senior Member on 3rd January 2012, 04:30 AM
Post Reply Subscribe to Thread Email Thread
3rd January 2012, 11:17 AM |#11  
temasek's Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 79,521
 
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: 569
 
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,800
 
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: 569
 
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: 569
 
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
 
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: 569
 
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: 533
 
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: 79,521
 
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: 79,521
 
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 ]
4th January 2012, 09:03 AM |#21  
masterthor's Avatar
Senior Member
Flag Iasi
Thanks Meter: 26
 
More
Quote:
Originally Posted by temasek

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

That's cool, it'd be nice if redy would do the same (only if he wishes to). This way, it would be much easier to keep track of the original CM7, the modded ones, or any different versions, with a clean way to discuss the changes, bugs, evolution of each of these versions.

Thank you for your efforts

Read More
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