city in india

by lokesh lokesh » Mon, 09 Mar 2009 00:56:25 GMT


Sponsored Links
 *  **click to know the
message < http://citysinindia.blogspot.com/> ;*

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. IMX27 no sound ---alsa problem

I ported Android1.5 to iMX27 board,now it can play video but no
sound,neither playing mp3. Fllowings are my steps.
 I followed http://source.android.com/download to get android
source .The date should be 7.7. I found that alsa-lib has gone so that
i download them using the following commands.
git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git
git clone git://android.git.kernel.org/platform/external/alsa-lib.git
git clone git://android.git.kernel.org/platform/external/alsa-utils.git
the i modified /mydroid/build/target/board/generic/BoardConfig.mk   as
follows
# BOARD_USES_GENERIC_AUDIO := false
# HAVE_HTC_AUDIO_DRIVER := false
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS=true
then when boot up ,no sound still.And there are no /dev/snd*
I have searched discussions about alsa in the group,then i modified
devices.c as they said.And make an asound.conf which i put in /system/
etc .
This time i can see /dev/snd*.but there is stiil no sound ,and the
logcat is
D/dalvikvm( 1614): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
I/        ( 1626): ServiceManager: 0xac38
D/dalvikvm( 1625): Ignoring duplicate verify attempt on Ljava/lang/
Object;
D/AudioHardwareALSA( 1626): Mixer: element name: 'Master'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Master Mono'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Headphone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Bass'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Treble'
D/AudioHardwareALSA( 1626): Mixer: element name: '3D Control - Center'
D/AudioHardwareALSA( 1626): Mixer: element name: '3D Control - Depth'
D/AudioHardwareALSA( 1626): Mixer: element name: 'PCM'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Side Tone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Line'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Mic 1'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Mic 2'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Phone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'IEC958 Playback AC97-
SPSA'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Headphone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Phone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Side Tone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Attack Time'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Decay Time'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Headphone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Hold Time'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Max'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC NG Threshold'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC Target'
D/AudioHardwareALSA( 1626): Mixer: element name: 'ALC ZC Timeout'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Beep to Headphone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Beep to Phone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Beep to Side Tone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Out3'
D/AudioHardwareALSA( 1626): Mixer: master 'Front' not found.
D/AudioHardwareALSA( 1626): Mixer: route 'Master' found.
D/AudioHardwareALSA( 1626): Mixer: route 'Master' found.
D/AudioHardwareALSA( 1626): Mixer: route 'Bluetooth' not found.
D/AudioHardwareALSA( 1626): Mixer: route 'Master' found.
D/AudioHardwareALSA( 1626): Mixer: route 'Bluetooth A2DP' not found.
D/AudioHardwareALSA( 1626): Mixer: element name: 'Bass'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Treble'
D/AudioHardwareALSA( 1626): Mixer: element name: '3D Control - Center'
D/AudioHardwareALSA( 1626): Mixer: element name: '3D Control - Depth'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Side Tone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Mic 1'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Mic 2'
D/AudioHardwareALSA( 1626): Mixer: element name: 'IEC958 Playback AC97-
SPSA'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Headphone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Phone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Aux to Side Tone'
D/AudioHardwareALSA( 1626): Mixer: element name: 'Capture'
D/AudioHardwareALSA( 1626): Mixer: master 'Capture' found.
D/AudioHardwareALSA( 1626): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 1626): Mixer: route '' not found.
D/AudioHardwareALSA( 1626): Mixer: route 'Bluetooth Capture' not
found.
D/AudioHardwareALSA( 1626): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 1626): Mixer: route 'Bluetooth A2DP Capture' not
found.
D/AudioHardwareALSA( 1626): mixer initialized.
W/HAL     ( 1626): load: module=/system/lib/hw/acoustics.freescale.so
error=Cannot find library
I/AudioHardwareALSA( 1626): Initialized ALSA PLAYBACK device
AndroidPlayback
D/AudioHardwareALSA( 1626): Set PLAYBACK PCM format to S16_LE (Signed
16 bit Little Endian)
D/AudioHardwareALSA( 1626): Using 2 channels for PLAYBACK.
D/AudioHardwareALSA( 1626): Set PLAYBACK sample rate to 44100 HZ
D/AudioHardwareALSA( 1626): Buffer size: 768
D/AudioHardwareALSA( 1626): Latency: 17414
E/ALSALib ( 1626): external/alsa-lib/src/control/setup.c:169:
(snd_sctl_install) Cannot write ctl elem
E/AudioHardwareALSA( 1626): Unable to set hardware parameters:
Operation not permitted
I/DEBUG   ( 1611): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   ( 1611): Build fingerprint: 'generic/generic/generic/:1.5/
CUPCAKE/eng.root.20090722.131956:eng/test-keys'
I/DEBUG   ( 1611): pid: 1626, tid: 1626  >>> /system/bin/mediaserver
<<<
I/DEBUG   ( 1611): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG   ( 1611):  r0 00000000  r1 00000000  r2 c0000000  r3 00000000
I/DEBUG   ( 1611):  r4 00000000  r5 00000000  r6 00000000  r7 00000000
I/DEBUG   ( 1611):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   ( 1611):  ip 00000000  sp bef04b10  lr 00000000  pc
afe0dcfc  cpsr a0000010
I/DEBUG   ( 1611):          #00  pc 0000dcfc  /system/lib/libc.so
I/DEBUG   ( 1611):          #01  pc 0001432a  /system/lib/
libaudioflinger.so
I/DEBUG   ( 1611):          #02  pc 00016dea  /system/lib/
libaudioflinger.so
I/DEBUG   ( 1611):          #03  pc 00016f34  /system/lib/
libaudioflinger.so
I/DEBUG   ( 1611):          #04  pc 00008768  /system/bin/mediaserver
I/DEBUG   ( 1611):          #05  pc 0001fd22  /system/lib/libc.so
I/DEBUG   ( 1611):          #06  pc 0000bcb2  /system/lib/libc.so
I/DEBUG   ( 1611):          #07  pc b000157e  /system/bin/linker
I/DEBUG   ( 1611): stack:
I/DEBUG   ( 1611):     bef04ad0  00000000
I/DEBUG   ( 1611):     bef04ad4  afe39dd0
I/DEBUG   ( 1611):     bef04ad8  ffffffff
I/DEBUG   ( 1611):     bef04adc  00000000
I/DEBUG   ( 1611):     bef04ae0  00000000
I/DEBUG   ( 1611):     bef04ae4  afe0ecd4  /system/lib/libc.so
I/DEBUG   ( 1611):     bef04ae8  00000000
I/DEBUG   ( 1611):     bef04aec  000001b4
I/DEBUG   ( 1611):     bef04af0  000000dc
I/DEBUG   ( 1611):     bef04af4  00002bb0
I/DEBUG   ( 1611):     bef04af8  00000000
I/DEBUG   ( 1611):     bef04afc  afe0b663  /system/lib/libc.so
I/DEBUG   ( 1611):     bef04b00  afe39dd0
I/DEBUG   ( 1611):     bef04b04  ab71cacc  /system/lib/libaudio.so
I/DEBUG   ( 1611):     bef04b08  df002777
I/DEBUG   ( 1611):     bef04b0c  e3a070ad
I/DEBUG   ( 1611): #00 bef04b10  00000000
I/DEBUG   ( 1611):     bef04b14  000994f8  [heap]
I/DEBUG   ( 1611):     bef04b18  000992dc  [heap]
I/DEBUG   ( 1611):     bef04b1c  3fffffff
I/DEBUG   ( 1611):     bef04b20  00099240  [heap]
I/DEBUG   ( 1611):     bef04b24  ab01432f  /system/lib/
libaudioflinger.so
I/DEBUG   ( 1611): #01 bef04b28  000000dc
I/DEBUG   ( 1611):     bef04b2c  000992e8  [heap]
I/DEBUG   ( 1611):     bef04b30  000992e4  [heap]
I/DEBUG   ( 1611):     bef04b34  000992e0  [heap]
I/DEBUG   ( 1611):     bef04b38  000992dc  [heap]
I/DEBUG   ( 1611):     bef04b3c  000992cc  [heap]
I/DEBUG   ( 1611):     bef04b40  ab01aea8
I/DEBUG   ( 1611):     bef04b44  00000000
I/DEBUG   ( 1611):     bef04b48  bef04b84  [stack]
I/DEBUG   ( 1611):     bef04b4c  00099240  [heap]
I/DEBUG   ( 1611):     bef04b50  bef04b84  [stack]
I/DEBUG   ( 1611):     bef04b54  0000acb0  [heap]
I/DEBUG   ( 1611):     bef04b58  0000039c
I/DEBUG   ( 1611):     bef04b5c  ab016def  /system/lib/
libaudioflinger.so

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009/7/22 Micah <mi...@ourmailbox.net>


What universe do you live in? There is no such thing as 100% network
coverage on any phone network.

--~--~---------~--~----~------------~-------~--~----~

3. gadget loading with adb

4. I have attached example of intent.putExtra and intent.getExtras in android plz check it

5. Help with threading and UI changes

6. How to get phone state?

7. Where is the code of portable version of the dalvik interpreter