[Optimus One, P500 Android Development] orsonbear:
To Boykioy

Ok, I have some report. First, the log file recorded when receiving a call with DEFAULTS rom setting (no ringtone)

D/dalvikvm( 1970): GC_EXPLICIT freed 200K, 51% free 2914K/5895K, external 944K/1456K, paused 53ms

I/AudioService( 1508): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

I/HeadsetService( 1710): During phone call: disable DSP.

D/AccelerometerListener( 1599): enable(false)

V/AudioManager( 1599): shouldVibrate, group: d393035d-ea71-4f2a-bdbd-b65f6bf298f1 mode: DEFAULT

D/MediaPlayer( 1599): Couldn't open file on client side, trying server side

E/MediaPlayerService( 1417): Couldn't open fd for content://settings/system/ringtone

E/MediaPlayer( 1599): Unable to to create media player

E/RingtoneManager( 1599): Failed to open ringtone content://settings/system/ringtone

D/szipinf ( 1508): Initializing inflate state

D/dalvikvm( 1599): GC_CONCURRENT freed 481K, 49% free 3188K/6151K, external 0K/0K, paused 5ms+14ms

D/dalvikvm( 1508): GC_EXTERNAL_ALLOC freed 161K, 42% free 5273K/9031K, external 1222K/1733K, paused 91ms

I/InCallScreen( 1599): onCreate()... this = com.android.phone.InCallScreen@406029e8

D/szipinf ( 1581): Initializing inflate state

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 17K, 49% free 3186K/6151K, external 0K/0K, paused 229ms

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 2K, 49% free 3185K/6151K, external 0K/512K, paused 193ms

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 68K, 48% free 3257K/6151K, external 1106K/1112K, paused 51ms

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 18K, 47% free 3280K/6151K, external 1590K/1630K, paused 52ms

W/ResourceType( 1599): getEntry failing because entryIndex 65 is beyond type entryCount 1

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 7K, 47% free 3289K/6151K, external 2172K/2190K, paused 51ms

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 14K, 46% free 3340K/6151K, external 2767K/2769K, paused 52ms

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 16K, 46% free 3363K/6151K, external 3476K/3478K, paused 55ms

I/power ( 1508): *** set_screen_state 1

W/SurfaceFlinger( 1508): surface format changed from RGBX to RGBA for pid 1599 (1 x 1)

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 40K, 45% free 3392K/6151K, external 3438K/3544K, paused 57ms

I/ActivityManager( 1508): Displayed com.android.phone/.InCallScreen: +1s631ms

I/HeadsetService( 1710): Phone status idle: enable DSP.

I/AudioService( 1508): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

D/AccelerometerListener( 1599): enable(false)

......

Now, the log file recorded when receiving a call with a ringtone choosed from audio menu (android system option)

D/dalvikvm( 1738): GC_EXPLICIT freed 265K, 50% free 2833K/5575K, external 0K/0K, paused 54ms

D/dalvikvm( 1687): GC_EXPLICIT freed 174K, 47% free 3050K/5703K, external 1020K/1115K, paused 70ms

I/HeadsetService( 1710): During phone call: disable DSP.

I/AudioService( 1508): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

D/AccelerometerListener( 1599): enable(false)

V/AudioManager( 1599): shouldVibrate, group: d393035d-ea71-4f2a-bdbd-b65f6bf298f1 mode: DEFAULT

W/SurfaceFlinger( 1508): surface format changed from RGBX to RGBA for pid 1599 (320 x 480)

D/AudioHardwareInterface( 1417): setMode(RINGTONE)

I/power ( 1508): *** set_screen_state 1

D/dalvikvm( 1599): GC_EXTERNAL_ALLOC freed 169K, 45% free 3405K/6151K, external 3870K/3888K, paused 106ms

E/AudioHardwareMSM72XX( 1417): Parsing error in AudioFilter.csv.

W/AudioFlinger( 1417): write blocked for 288 msecs, 2 delayed writes, thread 0xcc10

I/HeadsetService( 1710): Phone status idle: enable DSP.

I/AudioService( 1508): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

D/AudioHardwareInterface( 1417): setMode(NORMAL)

D/AccelerometerListener( 1599): enable(false)

E/AudioHardwareMSM72XX( 1417): Parsing error in AudioFilter.csv.

D/dalvikvm( 1970): GC_CONCURRENT freed 404K, 50% free 2984K/5895K, external 962K/1474K, paused 7ms+7ms

The phone rings correctly but the audio error is reported in the log file. All the rom setting are at default but the ringtone choosed by me.

The log reports that during call the headset service want to disable the DSP, when hangup the phone the headset service want to enable DSP (that's normal).

At this time I don't understand the error in AudioFilter.csv, I dunno if it's normal or not.

Btw, I can confirm that adding the missing file in /system/usr/keychars (post #619) the keyboard error is gone! More, add 7k_handset.kl and thunder_keypad.kl to /system/usr/keylayout (from Mik_os CM7 6.5.8, with the right permissions setting)