[LG Optimus Black] gabwerkz:
I haven't began yet. Still no ubuntu installed. I have all the files needed, installer, partition, but don't have time as of now. :)

If I build, I want changes in the codes and correct some. Like you, I'm still studying options.

Cause if building from repo and commits won't solve anything without arcee touching it. Or us changing it. Haven't seen changes for a while. They are busy with ICS. I think he is focused with the *star (optimus 2x). It is his daily phone I believe.

Your log, it became mode 0 instead of 1? When routed to 0, it routes to BT? Mode 1 doesn't have any BT on it.

Ringing:

D/Omap3ALSA( 1323): route called for devices 00000000 in mode 1...

No ringtone:

D/Omap3ALSA( 1323): route called for devices 00000000 in mode 0...

I'm also looking at system/etc/asound.conf. Since you can reproduce the No Ringtone, you might wanna change something there and see if it works.

# Android ALSA configuration file for TI OMAP3430 reference platform using the TWL4030 ASoC audio.

##
## Mixer Devices
##

ctl.AndroidOut {
type hw
}

ctl.AndroidIn {
type hw
}

##
## Playback Devices
##

pcm.AndroidOut_Speaker {
type hooks
slave.pcm default
hooks.0 {
type ctl_elems

hook_args [
{
name 'DAC2 Analog Playback Volume'
value [9 9]
lock true
preserve true
optional false
}
{
name 'Earpiece Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
{
name 'DAC2 Digital Coarse Playback Volume'
value [1 1]
lock false
preserve true
optional false
}
{
name 'DAC2 Digital Fine Playback Volume'
value [54 54]
lock false
preserve true
optional false
}
{
name 'PredriveL Mixer AudioL2'
value 'on'
lock false
preserve true
optional false
}
{
name 'PredriveR Mixer AudioR2'
value 'on'
lock false
preserve true
optional false
}
{
name 'ExtAmp'
value 'Speaker'
lock false
preserve true
optional false
}
{
name 'HeadsetR Mixer AudioR2'
value 'off'
lock false
preserve true
optional false
}
{
name 'HeadsetL Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
]
}
}

pcm.AndroidOut_Headset {
type hooks
slave.pcm default
hooks.0 {
type ctl_elems
hook_args [
{
name 'Earpiece Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
{
name 'PredriveL Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
{
name 'PredriveR Mixer AudioR2'
value 'off'
lock false
preserve true
optional false
}
{
name 'ExtAmp'
value 'Headset'
lock false
preserve true
optional false
}
{
name 'HeadsetR Mixer AudioR2'
value 'on'
lock false
preserve true
optional false
}
{
name 'HeadsetL Mixer AudioL2'
value 'on'
lock false
preserve true
optional false
}
]
}
}

pcm.AndroidOut_Earpiece {
type hooks
slave.pcm default
hooks.0 {
type ctl_elems
hook_args [
{
name 'Earpiece Mixer AudioL2'
value 'on'
lock false
preserve true
optional false
}
{
name 'PredriveL Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
{
name 'PredriveR Mixer AudioR2'
value 'off'
lock false
preserve true
optional false
}
{
name 'ExtAmp'
value 'Bypass'
lock false
preserve true
optional false
}
{
name 'HeadsetR Mixer AudioR2'
value 'off'
lock false
preserve true
optional false
}
{
name 'HeadsetL Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
]
}
}

pcm.AndroidOut_Speaker_Headset_normal {
type hooks
slave.pcm default
hooks.0 {
type ctl_elems

hook_args [
{
name 'DAC2 Analog Playback Volume'
value [9 9]
lock true
preserve true
optional false
}
{
name 'Earpiece Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
{
name 'DAC2 Digital Coarse Playback Volume'
value [1 1]
lock false
preserve true
optional false
}
{
name 'DAC2 Digital Fine Playback Volume'
value [54 54]
lock false
preserve true
optional false
}
{
name 'PredriveL Mixer AudioL2'
value 'on'
lock false
preserve true
optional false
}
{
name 'PredriveR Mixer AudioR2'
value 'on'
lock false
preserve true
optional false
}
{
name 'ExtAmp'
value 'Dual'
lock false
preserve true
optional false
}
{
name 'HeadsetR Mixer AudioR2'
value 'off'
lock false
preserve true
optional false
}
{
name 'HeadsetL Mixer AudioL2'
value 'off'
lock false
preserve true
optional false
}
]
}
}

pcm.AndroidOut_Speaker_FM {
type hooks
slave.pcm {
type hw
card 0
device 2
}
hooks.0 {
type ctl_elems
hook_args [
]
}
}

# bluetooth
pcm.AndroidOut_Bluetooth {
type hooks
slave.pcm default
hooks.0 {
type ctl_elems
hook_args [
]
}
}

##
## Recording device
##

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
}
]
}
}

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