Re: [android-porting] Re: Booting Issue - Help Needed
Thanks for your reply. Our's is PXA255 (arm5vTe). Do I still need to apply TLS patch for bionic and GL?? let me try to find out the patch over internet and get back to you. Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: OK, the following link is a kernel side solution for the TLS issue. http://elinux.org/Android_on_OMAP#TLS_issue or embinux had the TLS patch for bionic libGLES_CM, but the page is not found now. probably you can search the patch somewhere.. Regards, Atsuo On 1月5日, 午後3:08, linux newbie linux.newbi...@gmail.com wrote: Can you please explain me in brief?? 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: Hi, How about the TLS patch? Regards, Atsuo On 1月5日, 午後1:24, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestion for this issue? Thanks On Mon, Jan 4, 2010 at 6:06 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android sdk and extracted images. I am getting following error while booting on my target hardware. I can see Hackdroid on my screen and got Android console. Please help me in resolving this issue. # logcat I/DEBUG ( 1275): debuggerd: Nov 23 2009 12:01:01 I/vold( 1274): Android Volume Daemon version 2.0 E/vold( 1274): Unable to open '/sys/class/mmc_host' (No such file or directory) E/vold( 1274): Unable to open '/sys/class/switch' (No such file or directory) D/vold( 1274): Bootstrapping complete I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1280, tid: 1280 /system/bin/keystore I/DEBUG ( 1275): signal 11 (SIGSEGV), fault addr cd6fa3ab I/DEBUG ( 1275): r0 cd6fa3ab r1 af515998 r2 af511c24 r3 I/DEBUG ( 1275): r4 af50b3d4 r5 b0010220 r6 060c r7 af515998 I/DEBUG ( 1275): r8 r9 10 fp I/DEBUG ( 1275): ip afe0d870 sp be823b68 lr b491 pc b000850c cpsr 4030 I/DEBUG ( 1275): #00 pc b000850c /system/bin/linker I/DEBUG ( 1275): #01 pc b48c /system/bin/linker I/DEBUG ( 1275): #02 pc b4ea /system/bin/linker I/DEBUG ( 1275): #03 pc b508 /system/bin/linker I/DEBUG ( 1275): #04 pc b640 /system/bin/linker I/DEBUG ( 1275): #05 pc b0001844 /system/bin/linker I/DEBUG ( 1275): #06 pc b0001b70 /system/bin/linker I/DEBUG ( 1275): #07 pc b000155a /system/bin/linker I/DEBUG ( 1275): #08 pc b00017d4 /system/bin/linker I/DEBUG ( 1275): #09 pc b0001ab4 /system/bin/linker I/DEBUG ( 1275): I/DEBUG ( 1275): code around pc: I/DEBUG ( 1275): b00084fc 2300b510 3301e004 d1012a00 e0042000 I/DEBUG ( 1275): b000850c 5ccc5cc2 d0f642a2 bd101b10 5cca2300 I/DEBUG ( 1275): b000851c 330154c2 d1fa2a00 46c04770 4b05b510 I/DEBUG ( 1275): I/DEBUG ( 1275): code around lr: I/DEBUG ( 1275): b480 9a000134 6821191c 1c391850 f836f008 I/DEBUG ( 1275): b490 d1092800 09037b20 d0022b01 d1032b02 I/DEBUG ( 1275): b4a0 89e1e008 d1052900 00b6682a 2e005996 I/DEBUG ( 1275): I/DEBUG ( 1275): stack: I/DEBUG ( 1275): be823b28 b00163d0 I/DEBUG ( 1275): be823b2c b000f448 I/DEBUG ( 1275): be823b30 b000fd00 I/DEBUG ( 1275): be823b34 afc2 I/DEBUG ( 1275): be823b38 I/DEBUG ( 1275): be823b3c b559 /system/bin/linker I/DEBUG ( 1275): be823b40 afe3bcc4 I/DEBUG ( 1275): be823b44 001a I/DEBUG ( 1275): be823b48 I/DEBUG ( 1275): be823b4c 0009 I/DEBUG ( 1275): be823b50 b000ff30 I/DEBUG ( 1275): be823b54 be823b6c [stack] I/DEBUG ( 1275): be823b58 afc01989 /system/lib/libm.so I/DEBUG ( 1275): be823b5c b000fac4 I/DEBUG ( 1275): be823b60 df002777 I/DEBUG ( 1275): be823b64 e3a070ad I/DEBUG ( 1275): #00 be823b68 af50b3d4 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b6c b491 /system/bin/linker I/DEBUG ( 1275): #01 be823b70 af511c24 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b74 af505314 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b78 afc01efc /system/lib/libm.so I/DEBUG ( 1275): be823b7c f000 I/DEBUG ( 1275): be823b80 af51599c /system/lib/libcrypto.so I/DEBUG ( 1275): be823b84 I/DEBUG ( 1275): be823b88 I/DEBUG ( 1275): be823b8c b4ef /system/bin/linker I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1294, tid: 1294
Re: [android-porting] Re: Booting Issue - Help Needed
Hi, I find the TLS patch in following path. Can you please confirm whether it is correct file or not? http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 Also do I need to enable TLS support in Kernel config? Our's is PXA255 (arm5vTe) board. Thanks 2010/1/5 linux newbie linux.newbi...@gmail.com: Thanks for your reply. Our's is PXA255 (arm5vTe). Do I still need to apply TLS patch for bionic and GL?? let me try to find out the patch over internet and get back to you. Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: OK, the following link is a kernel side solution for the TLS issue. http://elinux.org/Android_on_OMAP#TLS_issue or embinux had the TLS patch for bionic libGLES_CM, but the page is not found now. probably you can search the patch somewhere.. Regards, Atsuo On 1月5日, 午後3:08, linux newbie linux.newbi...@gmail.com wrote: Can you please explain me in brief?? 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: Hi, How about the TLS patch? Regards, Atsuo On 1月5日, 午後1:24, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestion for this issue? Thanks On Mon, Jan 4, 2010 at 6:06 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android sdk and extracted images. I am getting following error while booting on my target hardware. I can see Hackdroid on my screen and got Android console. Please help me in resolving this issue. # logcat I/DEBUG ( 1275): debuggerd: Nov 23 2009 12:01:01 I/vold( 1274): Android Volume Daemon version 2.0 E/vold( 1274): Unable to open '/sys/class/mmc_host' (No such file or directory) E/vold( 1274): Unable to open '/sys/class/switch' (No such file or directory) D/vold( 1274): Bootstrapping complete I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1280, tid: 1280 /system/bin/keystore I/DEBUG ( 1275): signal 11 (SIGSEGV), fault addr cd6fa3ab I/DEBUG ( 1275): r0 cd6fa3ab r1 af515998 r2 af511c24 r3 I/DEBUG ( 1275): r4 af50b3d4 r5 b0010220 r6 060c r7 af515998 I/DEBUG ( 1275): r8 r9 10 fp I/DEBUG ( 1275): ip afe0d870 sp be823b68 lr b491 pc b000850c cpsr 4030 I/DEBUG ( 1275): #00 pc b000850c /system/bin/linker I/DEBUG ( 1275): #01 pc b48c /system/bin/linker I/DEBUG ( 1275): #02 pc b4ea /system/bin/linker I/DEBUG ( 1275): #03 pc b508 /system/bin/linker I/DEBUG ( 1275): #04 pc b640 /system/bin/linker I/DEBUG ( 1275): #05 pc b0001844 /system/bin/linker I/DEBUG ( 1275): #06 pc b0001b70 /system/bin/linker I/DEBUG ( 1275): #07 pc b000155a /system/bin/linker I/DEBUG ( 1275): #08 pc b00017d4 /system/bin/linker I/DEBUG ( 1275): #09 pc b0001ab4 /system/bin/linker I/DEBUG ( 1275): I/DEBUG ( 1275): code around pc: I/DEBUG ( 1275): b00084fc 2300b510 3301e004 d1012a00 e0042000 I/DEBUG ( 1275): b000850c 5ccc5cc2 d0f642a2 bd101b10 5cca2300 I/DEBUG ( 1275): b000851c 330154c2 d1fa2a00 46c04770 4b05b510 I/DEBUG ( 1275): I/DEBUG ( 1275): code around lr: I/DEBUG ( 1275): b480 9a000134 6821191c 1c391850 f836f008 I/DEBUG ( 1275): b490 d1092800 09037b20 d0022b01 d1032b02 I/DEBUG ( 1275): b4a0 89e1e008 d1052900 00b6682a 2e005996 I/DEBUG ( 1275): I/DEBUG ( 1275): stack: I/DEBUG ( 1275): be823b28 b00163d0 I/DEBUG ( 1275): be823b2c b000f448 I/DEBUG ( 1275): be823b30 b000fd00 I/DEBUG ( 1275): be823b34 afc2 I/DEBUG ( 1275): be823b38 I/DEBUG ( 1275): be823b3c b559 /system/bin/linker I/DEBUG ( 1275): be823b40 afe3bcc4 I/DEBUG ( 1275): be823b44 001a I/DEBUG ( 1275): be823b48 I/DEBUG ( 1275): be823b4c 0009 I/DEBUG ( 1275): be823b50 b000ff30 I/DEBUG ( 1275): be823b54 be823b6c [stack] I/DEBUG ( 1275): be823b58 afc01989 /system/lib/libm.so I/DEBUG ( 1275): be823b5c b000fac4 I/DEBUG ( 1275): be823b60 df002777 I/DEBUG ( 1275): be823b64 e3a070ad I/DEBUG ( 1275): #00 be823b68 af50b3d4 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b6c b491 /system/bin/linker I/DEBUG ( 1275): #01 be823b70 af511c24 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b74 af505314 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b78 afc01efc /system/lib/libm.so I/DEBUG ( 1275): be823b7c f000 I/DEBUG ( 1275): be823b80 af51599c /system/lib/libcrypto.so I/DEBUG ( 1275): be823b84 I/DEBUG ( 1275):
[android-porting] Re: OMX component Integration - Transition to Idle state from loaded state is failing
Hi Ravi, I have gone through PV code base and what i understood is he is When it sends command for state transition from Loaded to Idle through SendCommand(), the request will be in pending state until buffers are allocated. Then it will reschedule the command using RunIfNotReady(). I need one clarification on SendCommand: from OMX specification document The OMX_SendCommand macro will invoke a command on the component. This is a non-blocking call that should, at a minimum, validate command parameters but return within five milliseconds. . whether five milliseconds includes -- SendCommand issue, validate command parameters, allocation of buffers and again rescheduling of the command? -- Not correct. just for SendCommand issue, validate command parameters. I think this one is correct. Please clarify my doubt? Regards Gururaja B O On Jan 4, 4:46 pm, guru guru.nav...@gmail.com wrote: Whos is they here? - The command to allocate buffers should be all syncrhonous. So, the statement that buffer allocation takes time should not be relevant here. hi Ravi What I mean is, in the log in posted, it is giving Idle transition failed and then it is allocating buffers. My understading is buffers were not allocated and so state transition is failing. Since allocate buffers calls are synchronous, state transition should follow buffer allocations. is it right? In log SendCommand for state transition to idle is called before buffer allocations ( as per the PV code path), state transition should wait for buffer to get allocated!! How this wait is happening.? Regards Gururaja B O On Jan 4, 2:29 pm, RaviY yend...@pv.com wrote: If the IL client requests a state transition from OMX_StateLoaded to OMX_StateIdle, the component shall acquire all of its static resources, including buffers for all enabled ports, before completing the transition. The component does not acquire buffers for any disabled ports. Furthermore, before the transition can complete, the buffer supplier, which is always the IL client when not tunneling, shall ensure that the non-supplier possesses all of its buffers. What mechanism they are using to make component wait for buffers. Whos is they here? - Your description of the transition seems correct. - The command to move the component from Loaded to Idle state is an asynchronous call. - The command to allocate buffers should be all syncrhonous. So, the statement that buffer allocation takes time should not be relevant here. -Ravi On Jan 4, 9:36 am, guru guru.nav...@gmail.com wrote: Can any one guide me on this? I am thinking to provide thread synchronization mechanism! between state transition phase and buffer allocation to I/O ports. OR Current implementation itself provides? On Dec 31 2009, 5:32 pm, guru guru.nav...@gmail.com wrote: HI Ravi According to Omx call sequence doc for OMX Transition Loaded-Idle State: The buffer allocation is handled as part of the allocation to the Idle state. During this transition, PV Framework: ● Issues command to the OMX component to change state from OMX_StateLoaded to OMX_StateIdle via “OMX_SendCommand” call ● Issues a series of either “OMX_UseBuffer” calls or “OMX_AllocateBuffer” calls to the OMX component. The call is used NumInputBuffer times for input port, and NumOutputBuffers for the output port. ● Waits for the EventHandler callback to arrive from the component which notifies the framework that the component state transition is complete (OMX_EventCmdComplete). Since buffer allocation takes time,component has to wait for buffer to be allocated so that it can go to Idle state. What mechanism they are using to make component wait for buffers. Are they using locking mechanism?. Please give me some inputs? Regards Gururaja B O On Dec 30, 9:26 am, guru guru.nav...@gmail.com wrote: Hi All, I have integrated decoder component with OpenCore. If i try to play audio file it is failing. when I saw the log it is failing when it tries to change its state to Idle. My understanding is : Before it can change to idle state it has to allocate buffers to input and output ports. then it should call event handler about the state change. But according to the log, before allocating the buffers it is trying to check for buffers(whether allocated) then fails. after failure, buffers are allocated. It should be: Buffer allocation state transition to idle but in my case State transition to idle Buffer allocation. is happening What may be the reason? Since state change is occuring in Component Thread and buffer allocation in main thread, so is there any timing issue? E/PV ( 878): PVLOG:TID (0x5b950):Time=1150:PVMFOMXAudioDecNode::DoPrepare() : Changing
[android-porting] Re: Booting Issue - Help Needed
Hi, PXA255 has not that configuration, so not need to modify the kernel. but, probably need the TLS patch for bionic libEGL. sorry, i'm using omap, so i'm not sure. Regards, Atsuo On 1月5日, 午後6:00, linux newbie linux.newbi...@gmail.com wrote: Hi, I find the TLS patch in following path. Can you please confirm whether it is correct file or not? http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 Also do I need to enable TLS support in Kernel config? Our's is PXA255 (arm5vTe) board. Thanks 2010/1/5 linux newbie linux.newbi...@gmail.com: Thanks for your reply. Our's is PXA255 (arm5vTe). Do I still need to apply TLS patch for bionic and GL?? let me try to find out the patch over internet and get back to you. Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: OK, the following link is a kernel side solution for the TLS issue. http://elinux.org/Android_on_OMAP#TLS_issue or embinux had the TLS patch for bionic libGLES_CM, but the page is not found now. probably you can search the patch somewhere.. Regards, Atsuo On 1月5日, 午後3:08, linux newbie linux.newbi...@gmail.com wrote: Can you please explain me in brief?? 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: Hi, How about the TLS patch? Regards, Atsuo On 1月5日, 午後1:24, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestion for this issue? Thanks On Mon, Jan 4, 2010 at 6:06 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android sdk and extracted images. I am getting following error while booting on my target hardware. I can see Hackdroid on my screen and got Android console. Please help me in resolving this issue. # logcat I/DEBUG ( 1275): debuggerd: Nov 23 2009 12:01:01 I/vold( 1274): Android Volume Daemon version 2.0 E/vold( 1274): Unable to open '/sys/class/mmc_host' (No such file or directory) E/vold( 1274): Unable to open '/sys/class/switch' (No such file or directory) D/vold( 1274): Bootstrapping complete I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1280, tid: 1280 /system/bin/keystore I/DEBUG ( 1275): signal 11 (SIGSEGV), fault addr cd6fa3ab I/DEBUG ( 1275): r0 cd6fa3ab r1 af515998 r2 af511c24 r3 I/DEBUG ( 1275): r4 af50b3d4 r5 b0010220 r6 060c r7 af515998 I/DEBUG ( 1275): r8 r9 10 fp I/DEBUG ( 1275): ip afe0d870 sp be823b68 lr b491 pc b000850c cpsr 4030 I/DEBUG ( 1275): #00 pc b000850c /system/bin/linker I/DEBUG ( 1275): #01 pc b48c /system/bin/linker I/DEBUG ( 1275): #02 pc b4ea /system/bin/linker I/DEBUG ( 1275): #03 pc b508 /system/bin/linker I/DEBUG ( 1275): #04 pc b640 /system/bin/linker I/DEBUG ( 1275): #05 pc b0001844 /system/bin/linker I/DEBUG ( 1275): #06 pc b0001b70 /system/bin/linker I/DEBUG ( 1275): #07 pc b000155a /system/bin/linker I/DEBUG ( 1275): #08 pc b00017d4 /system/bin/linker I/DEBUG ( 1275): #09 pc b0001ab4 /system/bin/linker I/DEBUG ( 1275): I/DEBUG ( 1275): code around pc: I/DEBUG ( 1275): b00084fc 2300b510 3301e004 d1012a00 e0042000 I/DEBUG ( 1275): b000850c 5ccc5cc2 d0f642a2 bd101b10 5cca2300 I/DEBUG ( 1275): b000851c 330154c2 d1fa2a00 46c04770 4b05b510 I/DEBUG ( 1275): I/DEBUG ( 1275): code around lr: I/DEBUG ( 1275): b480 9a000134 6821191c 1c391850 f836f008 I/DEBUG ( 1275): b490 d1092800 09037b20 d0022b01 d1032b02 I/DEBUG ( 1275): b4a0 89e1e008 d1052900 00b6682a 2e005996 I/DEBUG ( 1275): I/DEBUG ( 1275): stack: I/DEBUG ( 1275): be823b28 b00163d0 I/DEBUG ( 1275): be823b2c b000f448 I/DEBUG ( 1275): be823b30 b000fd00 I/DEBUG ( 1275): be823b34 afc2 I/DEBUG ( 1275): be823b38 I/DEBUG ( 1275): be823b3c b559 /system/bin/linker I/DEBUG ( 1275): be823b40 afe3bcc4 I/DEBUG ( 1275): be823b44 001a I/DEBUG ( 1275): be823b48 I/DEBUG ( 1275): be823b4c 0009 I/DEBUG ( 1275): be823b50 b000ff30 I/DEBUG ( 1275): be823b54 be823b6c [stack] I/DEBUG ( 1275): be823b58 afc01989 /system/lib/libm.so I/DEBUG ( 1275): be823b5c b000fac4 I/DEBUG ( 1275): be823b60 df002777 I/DEBUG ( 1275): be823b64 e3a070ad I/DEBUG ( 1275): #00 be823b68 af50b3d4 /system/lib/libcrypto.so I/DEBUG ( 1275): be823b6c b491 /system/bin/linker I/DEBUG ( 1275): #01 be823b70 af511c24
Re: [android-porting] Re: Booting Issue - Help Needed
Hi Thanks for your reply. Can you please confirm me regarding the patch file in the following link? http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com Hi, PXA255 has not that configuration, so not need to modify the kernel. but, probably need the TLS patch for bionic libEGL. sorry, i'm using omap, so i'm not sure. Regards, Atsuo On 1月5日, 午後6:00, linux newbie linux.newbi...@gmail.com wrote: Hi, I find the TLS patch in following path. Can you please confirm whether it is correct file or not? http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 Also do I need to enable TLS support in Kernel config? Our's is PXA255 (arm5vTe) board. Thanks 2010/1/5 linux newbie linux.newbi...@gmail.com: Thanks for your reply. Our's is PXA255 (arm5vTe). Do I still need to apply TLS patch for bionic and GL?? let me try to find out the patch over internet and get back to you. Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: OK, the following link is a kernel side solution for the TLS issue. http://elinux.org/Android_on_OMAP#TLS_issue or embinux had the TLS patch for bionic libGLES_CM, but the page is not found now. probably you can search the patch somewhere.. Regards, Atsuo On 1月5日, 午後3:08, linux newbie linux.newbi...@gmail.com wrote: Can you please explain me in brief?? 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: Hi, How about the TLS patch? Regards, Atsuo On 1月5日, 午後1:24, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestion for this issue? Thanks On Mon, Jan 4, 2010 at 6:06 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android sdk and extracted images. I am getting following error while booting on my target hardware. I can see Hackdroid on my screen and got Android console. Please help me in resolving this issue. # logcat I/DEBUG ( 1275): debuggerd: Nov 23 2009 12:01:01 I/vold( 1274): Android Volume Daemon version 2.0 E/vold( 1274): Unable to open '/sys/class/mmc_host' (No such file or directory) E/vold( 1274): Unable to open '/sys/class/switch' (No such file or directory) D/vold( 1274): Bootstrapping complete I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1280, tid: 1280 /system/bin/keystore I/DEBUG ( 1275): signal 11 (SIGSEGV), fault addr cd6fa3ab I/DEBUG ( 1275): r0 cd6fa3ab r1 af515998 r2 af511c24 r3 I/DEBUG ( 1275): r4 af50b3d4 r5 b0010220 r6 060c r7 af515998 I/DEBUG ( 1275): r8 r9 10 fp I/DEBUG ( 1275): ip afe0d870 sp be823b68 lr b491 pc b000850c cpsr 4030 I/DEBUG ( 1275): #00 pc b000850c /system/bin/linker I/DEBUG ( 1275): #01 pc b48c /system/bin/linker I/DEBUG ( 1275): #02 pc b4ea /system/bin/linker I/DEBUG ( 1275): #03 pc b508 /system/bin/linker I/DEBUG ( 1275): #04 pc b640 /system/bin/linker I/DEBUG ( 1275): #05 pc b0001844 /system/bin/linker I/DEBUG ( 1275): #06 pc b0001b70 /system/bin/linker I/DEBUG ( 1275): #07 pc b000155a /system/bin/linker I/DEBUG ( 1275): #08 pc b00017d4 /system/bin/linker I/DEBUG ( 1275): #09 pc b0001ab4 /system/bin/linker I/DEBUG ( 1275): I/DEBUG ( 1275): code around pc: I/DEBUG ( 1275): b00084fc 2300b510 3301e004 d1012a00 e0042000 I/DEBUG ( 1275): b000850c 5ccc5cc2 d0f642a2 bd101b10 5cca2300 I/DEBUG ( 1275): b000851c 330154c2 d1fa2a00 46c04770 4b05b510 I/DEBUG ( 1275): I/DEBUG ( 1275): code around lr: I/DEBUG ( 1275): b480 9a000134 6821191c 1c391850 f836f008 I/DEBUG ( 1275): b490 d1092800 09037b20 d0022b01 d1032b02 I/DEBUG ( 1275): b4a0 89e1e008 d1052900 00b6682a 2e005996 I/DEBUG ( 1275): I/DEBUG ( 1275): stack: I/DEBUG ( 1275): be823b28 b00163d0 I/DEBUG ( 1275): be823b2c b000f448 I/DEBUG ( 1275): be823b30 b000fd00 I/DEBUG ( 1275): be823b34 afc2 I/DEBUG ( 1275): be823b38 I/DEBUG ( 1275): be823b3c b559 /system/bin/linker I/DEBUG ( 1275): be823b40 afe3bcc4 I/DEBUG ( 1275): be823b44 001a I/DEBUG ( 1275): be823b48 I/DEBUG ( 1275): be823b4c 0009 I/DEBUG ( 1275): be823b50 b000ff30 I/DEBUG (
Re: [android-porting] android porting imx27 - getting white screen after a long time.
Hi , i am porting android on imx27 based platform. android version 1.0, linux kernel 2.6.25 images from : android 1.0 emulator extracted binaries Did you build your own android root file system from source ?? I followed the procedures given in omap porting guide. i am getting the following messages as log. How did u boot android ?? chroot method or nand/SD card booting red eye , main screen is not coming . many of the processes are not starting . Thanks and regards , vels / $ logcat D/AndroidRuntime( 894): D/AndroidRuntime( 894): AndroidRuntime START D/AndroidRuntime( 894): CheckJNI is OFF D/AndroidRuntime( 894): --- registering native functions --- E/Zygote ( 894): Zygote died with exception E/Zygote ( 894): java.lang.RuntimeException: ANDROID_SOCKET_zygote unset or invalid E/Zygote ( 894): at com.android.internal.os.ZygoteInit.registerZygoteSocket (ZygoteInit.java:156) E/Zygote ( 894): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:466) E/Zygote ( 894): at dalvik.system.NativeStart.main(Native Method) E/Zygote ( 894): Caused by: java.lang.NumberFormatException: unable to parse 'null' as integer E/Zygote ( 894): at java.lang.Integer.parseInt(Integer.java: 362) E/Zygote ( 894): at java.lang.Integer.parseInt(Integer.java: 341) E/Zygote ( 894): at com.android.internal.os.ZygoteInit.registerZygoteSocket (ZygoteInit.java:154) E/Zygote ( 894): ... 2 more D/AndroidRuntime( 894): Shutting down VM W/dalvikvm( 894): threadid=3: thread exiting with uncaught exception (group=0x40008e28) D/dalvikvm( 894): DestroyJavaVM waiting for non-daemon threads to exit I/dalvikvm( 894): DestroyJavaVM shutting VM down D/dalvikvm( 894): VM cleaning up D/dalvikvm( 894): LinearAlloc 0x0 used 454348 of 4194304 (10%) -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- அன்புடன் அருண் -- http://ubuntu-tam.org http://lists.ubuntu.com/ubuntu-l10n-tam http://lists.ubuntu.com/ubuntu-tam -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: Eclair build bootup issue on Beagle board.
Hi Amarnath, This dint work out for us, as a temporary arrangement we tried to replace the batteryservice file from 1.6 and it is booting up now. Do you have any alternative for this? Karthik On Wed, Dec 23, 2009 at 12:57 PM, amarnath amarnath.alam...@embinux.comwrote: Karthik, Apply the following patch in frameworks/base folder and recompile the android build. http://labs.embinux.org/git/cgit.cgi/android-omap3/repo/android/platform/frameworks/base/commit/?h=beagle-eclair Thanks Regards, Amarnath Alamuri Karthik P wrote: Hi, This is kind of critical for us, any thought or light on this? Karthik On Tue, Dec 22, 2009 at 11:12 AM, Karthik P karthi...@gmail.com mailto:karthi...@gmail.com wrote: Hi, We are facing a bootup issue on Beagle board, I could see the logs as shown below. I/SystemServer( 829): System Content Providers I/ActivityThread( 829): Publishing provider settings: com.android.providers.settings.SettingsProvider I/SystemServer( 829): Battery Service W/dalvikvm( 829): No implementation found for native Lcom/android/server/BatteryService;.native_update ()V W/dalvikvm( 829): threadid=15: thread exiting with uncaught exception (group=0x4001b170) E/AndroidRuntime( 829): Uncaught handler: thread android.server.ServerThread exiting due to uncaught exception E/AndroidRuntime( 829): *** EXCEPTION IN SYSTEM PROCESS. System will crash. E/AndroidRuntime( 829): java.lang.UnsatisfiedLinkError: native_update E/AndroidRuntime( 829): at com.android.server.BatteryService.native_update(Native Method) E/AndroidRuntime( 829): at com.android.server.BatteryService.update(BatteryService.java:200) E/AndroidRuntime( 829): at com.android.server.BatteryService.init(BatteryService.java:138) E/AndroidRuntime( 829): at com.android.server.ServerThread.run(SystemServer.java:140) E/AndroidRuntime( 829): Crash logging skipped, no checkin service I/Process ( 829): Sending signal. PID: 829 SIG: 9 Any pointers to skip this to bring up the board quickly will be of great help. Karthik -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- Thanks Regards, Amarnath Alamuri Associate Embedded Software Engineer, Embedded and Wireless Services (EMBINUX group), SQLStar International Limited(/Inc.). Phone: +91 40 2310 1600 email address : amarnath.alam...@embinux.com,amarnat...@sqlstar.com -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Passing data from camera to application
Hi, I am developing one new camera application, that will not use existing camera framework at all. So, then how to render data from camera to the display ??? Is VideoView is feasible to display data ?? If yes, then how to pass raw data( or yuv/rgb data) to VideoView ?? Mohan -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Porting Android 2.0 on Samsung 360 M1
I have the Samsung H1 myself and would also LOVE to have android 2.0 on this device. I'm willing to help for sure but have no clue where to start. Vodafone hasn't even released an sdk to write native applications, so there currently is no way to at least launch some app that could explore the current partition on the device... Like I said, I have no clue as where to start On Dec 30 2009, 1:32 pm, Celegorm ndres...@googlemail.com wrote: Come on guys, is there no one willing to try this? The phone (together with theH1) is going to be quite common I think. Please... On 28 Dez., 02:55, Trystam francisco.card...@gmail.com wrote: First of all one needs to know how to hack the M1 to install a custom firmware. That should be the hard part as the M1 seems to be comonent wise on the HCL of Android 2.0. Anyone up for giving it a shot ? On Dec 7, 12:39 pm, Celegorm ndres...@googlemail.com wrote: Hello from Germany, well, I am happy I found this group. It certainly looks like I could use some help from you guys! I have a big problem with my new phone: aSamsung360 M-1 from Vader- ehm Vodafone. I got the device from a friend who in turn got it through an extension of his contract. Unaware of their new service called 360 I was quite happy with it (nice hardware and look and feel to it). Of course I use it with another service provider, but no troubles so far. Now that I got my first bill, I was completely shocked. Apparently the phone is always on. Not a good thing when you don't have a flatrate. While this is certainly my own fault, I have no way of returning the device. OR deleting the nice 360 application from it (Vodafone made that very clear)! So, without resorting to unlawful forms of violence, here is my question: Is it possible to get Android 2.0 running on theSamsungM1? The hardware should support it (360 is a LiMo-OS). And if so, how is it been done? I certainly hope you can help me. Please remember, you are my last hope against this evil empire. Many thanks, C -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] where's the Android Platform Development Kit?
There's a document hosted at: http://www.netmite.com/android/mydroid/development/pdk/docs/index.html It looks like a formal Google/Android document, but I can't find it (or an updated version) in any official Android site. I also couldn't find it inside the Android source tree. Am I missing something? Thanks, Noam. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: when/how to scale frames posted to a surface
Hi, i am also working on similar kind of application.But i am not using existing camera framework. So how to get preview of frames in application ?? can u suggest/share something ? Mohan. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] How to show the Android display on the new de vice?
Hello, all android porting users. I installed the android and linux kernel which Mistral OMAP3EVM released in my OMAP3530 device, I have modified the omap3_android_evm_defconfig to enter the kernel on my device, and it is scuessful to enter the kernel. However, the display didn't show anything. I didn't modify either display setting or driver, and I think this is the problem. What code should I modify to make my display work??? I am modifying the file : ~/Android/drivers/video/omap/lcd_omap3evm.c, and I hope it would be helpful. Another question, I don't know how does this file works :~/Android/arch/arm/mach_omap2/board_omap3_evm.c, there are many structure without implementation, where is the implementation?? Please notify me if you have any advise, and I would appreciate you very much !!! -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] New member
Hello, When I was surfing the web I found an interesting website. http://www.world-face-album.jkay.eu/index.html I joined the World Face Album. See website below: http://www.world-face-album.jkay.eu/poland.html When you click on my image you can send an e-mail to me! To fill in the formular go to the website: http://www.world-face-album.jkay.eu/index.html I hope it help us to meet better each other. Regards, wkay -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] readUnsignedLeb128's beb version
Hi, all I'd like to ask one question about dalvik code verify. the function readUnsignedLeb128 in leb128.h is for little endian base. But we have bytes are in Big endian base. I can't find functions such as readUnsignedBeb128 in android. Can any one provide one for me? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: where's the Android Platform Development Kit?
Looks similar to this one: http://pdk.android.com/ On Jan 5, 5:11 am, noamtm noa...@gmail.com wrote: There's a document hosted at:http://www.netmite.com/android/mydroid/development/pdk/docs/index.html It looks like a formal Google/Android document, but I can't find it (or an updated version) in any official Android site. I also couldn't find it inside the Android source tree. Am I missing something? Thanks, Noam. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: Android NDK - ObjC and code portability?
Hi, Do you plan to release your work as open-source (hopefully under Apache 2 to be compatible with the rest of Android)? Best Regards, Gergely On Sat, Jan 2, 2010 at 6:48 PM, Philippe Hausler phaus...@gmail.com wrote: Thanks for the feedback! I am quite familiar with Cocotron, very cool project (albeit that it could use some commercial support to drive more time devoted to development). So far with my tinkering the compiler fully works, and I have been able to construct from scratch some of the base classes from Foundation and UIKit. My approach was to build a static library housing some of the base calls to load a JNI app that has hooks peering into the base structures of my Foundation and UIKit classes. Ideally I would like to have the libraries loadable to a path e.g. /system/Library/Frameworks/Foundation.framework/ Foundation.so to more closely mimic the loading schemes used in the iPhone (this would provide more seamless integration between the port and the original platform). However this does not seem to be a valid place to keep them. The /sdcard path is writeable but for some reason the System.load does not want to load libraries from that location. So right now the biggest hurdle is where can I store a shared library that might be utilized by many applications? So far my code for Foundation and UIKit is fairly small, but I could see where the library may reach a point at which it would be cumbersome to require anyone who downloads an application that uses this to have to download the entire library for each application (these are mobile devices and memory space is limited). So far I think I can keep most of the heavy lifting to create the full API level runtime in c/obj-c instead of having to do the majority of the work in Java, but for the UI it is most likely that classes such as UITextView would have a binding to a jobject pointer to a android.view.TextView object. The Android platform has some nifty features like the override methods for theming, I could see where this advantage might cause some consistency issues with objc iPhone ported apps if the UIKit classes did not utilize their Java counterparts. And as per using the existing libraries from the iPhone, this is flat out not doable, there is a slew of platform issues that would prevent this, first and foremost the devices are different CPUs (the droid is an ARMv5te? and the iPhone is ARMv6), second off the iPhone is mach-o where as the android is ELF so the application architecture is different from the ground level, direct binary compatibility is not feasible. As I had mentioned before, I have gcc built to compile objc for Android, as well as the libobjc.a. I had not seen the XMLVM project. Quite interesting, however it seems after briefly looking at it that is the reverse direction, it takes the Java VM bytecode and creates native machine bytecode, the reverse ala llvm - conversion - jasmin might be doable but I think might require more work than its worth to port the libraries into a pure Java implementation that interfaces on that level. On Jan 2, 10:10 am, Gergely Kis gergely@gmail.com wrote: Hi Philippe, It would be nice to be able to use Objective-C libraries on Android, e.g. to port IPhone applications. Have you looked at Cocotron (http://www.cocotron.org/)?They have an implementation of various Cocoa frameworks that work on both Windows and Linux. I don't think they started to work on UIKit or IPhone specific parts. I don't think that the Android platform will have ObjC support officially in the foreseeable future. So if you want to be able to develop for consumer devices (that are not explicitly customized to allow ObjC apps), then each application will need to include the ObjC runtime + libraries. This probably means static linking, and some magic to initialize the Objective-C runtime from the Java side, because last I checked, application lifecycle management was only exposed in the Java API. Of course, such applications would be larger, but the same has been done for IPhone as well, for example with MonoTouch where the whole .NET runtime is packaged with the applications. Regarding Android API / UI integration: It is probably a good idea to look at how the Android Scripting Engine integrates different languages to the regular Android API. With a sufficiently generic Java-ObjC API bridge you can write Android applications in Objective-C, and possibly reuse already existing ObjC / IPhone libraries. Then, when you have a thin Objective-C wrapper over the Java API, you can try to build a UIKit wrapper, so that IPhone applications can be ported with minimal source changes. FYI: The XMLVM project (http://www.xmlvm.org) is doing something very similar, but the other way around: It allows cross-compilation of Android applications to native IPhone / Objective-C applications. It has Android API emulation, also a Java wrapper for IPhone APIs,
Re: [android-porting] hi,how to use mouse in Android
On Tue, Jan 5, 2010 at 1:29 PM, hedwin hedwin.kon...@gmail.com wrote: So I know that a working mouse depends on being able to open the files in '/sys/power'. No, the mouse is always working. A correct PM state is based on the access to /sys/power. The reason for the mouse events get dropped is the PM said screen is off and WM drops the mouse event based on the predefined policy. It has nothing to do with mouse. If your screen is off, there are not reason to process the mouse event. After further looking a QEMU I noticed that the ownership of the /sys/power files are changed to what is indicated in init.rc but if I monitor these over time that after a while all of the ownership of the '/sys/power' files change to root:root ownership thus preventing android from being allowed to read these files and as a result the mouse doesn't work anymore. Sounds like a driver refreshed these file entries. Maybe your QEMU faked some ACPI or PM events that triggered the problem. Also tried VirtualBox and this one doesn't seem to have this problem mouse works fine. As expected. Hedwin On Wed, Dec 30, 2009 at 9:47 PM, hedwin hedwin.kon...@gmail.com wrote: No, don't see OLD_PATHS either. Also searched the kernel nothing there as well. Guess power.c never got cleaned up Would also assume it to work as well. Will try VirtualBox see if it does the same or different. Hedwin On Wed, Dec 30, 2009 at 9:24 PM, Yi Sun beyo...@gmail.com wrote: When I change the sys file properties of the files in OLD_PATHS and NEW_PATHS to 666 mouse movement events are processed. What??? yes (OLD_PATHS and NEW_PATHS are defined in /hardware/libhardware_legacy/power/power.c) The power.c runs as system I think, and the files in /sys/power has rw for the system group. It should be able to be accessed by power.c BTW-- on all the x86 systems I ever used, I did not see OLD_PATHS in sysfs. Do you see it in your env? So I wonder how can this work anyway on any machine or is it just QEMU .. No, it seems that only you have the problem. Really, I only seen the same problem when we did not enable the wakelock driver in the kernel. And that was 10 months ago. Yi On Wed, 2009-12-30 at 20:49 +0100, hedwin wrote: Hi, Dug a little deeper now. Handling mouse movement indirectly depends on the power state of android. Eh what Mouse events are handled by the InputDeviceReader. This thread calls method 'preprocessEvent' in the WindowManagerService. The method itself then calls mPowerManager.screenIsOn. This method returns false for reason I explain later. This eventually results in preprocessEvent to return 0 and as a result the mouse movement events are not handled. Therefor not moving mouse pointer. Ok Now to the why screenIsOn return false. When android starts it will eventually execute initInThread in PowerManagementService. At the end setPowerState(ALL_BRIGHT) is called. So far so good. The method setPowerState will call Power.setScreenState(true). Still going ok. Power.setScreenState is a function implemented in /base/core/jni/android_os_power.cpp. The function Power.setScreenState will eventually call function set_screen_state implemented in /hardware/libhardware_legacy/power/power.c. The function set_screen_state will at the begining call initialize_fds. And here is where it goes wrong because initialize_fds cannot open the files mentioned in the array OLD_PATHS and NEW_PATHS. The reason why it cannot open the files is because the filesystem properties are set to 660 in init.rc. For this reason the power change never takes places and indirectly prevents the move movement events from being handled. When I change the sys file properties of the files in OLD_PATHS and NEW_PATHS to 666 mouse movement events are processed. What??? yes (OLD_PATHS and NEW_PATHS are defined in /hardware/libhardware_legacy/power/power.c) So I wonder how can this work anyway on any machine or is it just QEMU .. Hedwin On Sat, Dec 26, 2009 at 8:55 PM, Yi Sun beyo...@gmail.com wrote: If you use the latest qemu, would you still need these changes? Yi On Sat, 2009-12-26 at 20:14 +0100, hedwin wrote: The serial is just added to see the kernel boot an have access to the console later on. I use a slight older qemu, the one supplied with fedora. Newer qemu versions use usb per default. That might be the reason why you did no have to provide the usb arguments. Hedwin On Sat, Dec 26, 2009 at 7:39 PM, Yi Sun beyo...@gmail.com wrote: Thanks for the help. FYI-- in my env, I did not really add -serial stdio -usb -usbdevice mouse for my usb mouse to work with
Re: [android-porting] hi,how to use mouse in Android
BTW--, please help to remove the ticket. Thanks Yi On Tue, Jan 5, 2010 at 1:44 PM, Yi Sun beyo...@gmail.com wrote: On Tue, Jan 5, 2010 at 1:29 PM, hedwin hedwin.kon...@gmail.com wrote: So I know that a working mouse depends on being able to open the files in '/sys/power'. No, the mouse is always working. A correct PM state is based on the access to /sys/power. The reason for the mouse events get dropped is the PM said screen is off and WM drops the mouse event based on the predefined policy. It has nothing to do with mouse. If your screen is off, there are not reason to process the mouse event. After further looking a QEMU I noticed that the ownership of the /sys/power files are changed to what is indicated in init.rc but if I monitor these over time that after a while all of the ownership of the '/sys/power' files change to root:root ownership thus preventing android from being allowed to read these files and as a result the mouse doesn't work anymore. Sounds like a driver refreshed these file entries. Maybe your QEMU faked some ACPI or PM events that triggered the problem. Also tried VirtualBox and this one doesn't seem to have this problem mouse works fine. As expected. Hedwin On Wed, Dec 30, 2009 at 9:47 PM, hedwin hedwin.kon...@gmail.com wrote: No, don't see OLD_PATHS either. Also searched the kernel nothing there as well. Guess power.c never got cleaned up Would also assume it to work as well. Will try VirtualBox see if it does the same or different. Hedwin On Wed, Dec 30, 2009 at 9:24 PM, Yi Sun beyo...@gmail.com wrote: When I change the sys file properties of the files in OLD_PATHS and NEW_PATHS to 666 mouse movement events are processed. What??? yes (OLD_PATHS and NEW_PATHS are defined in /hardware/libhardware_legacy/power/power.c) The power.c runs as system I think, and the files in /sys/power has rw for the system group. It should be able to be accessed by power.c BTW-- on all the x86 systems I ever used, I did not see OLD_PATHS in sysfs. Do you see it in your env? So I wonder how can this work anyway on any machine or is it just QEMU .. No, it seems that only you have the problem. Really, I only seen the same problem when we did not enable the wakelock driver in the kernel. And that was 10 months ago. Yi On Wed, 2009-12-30 at 20:49 +0100, hedwin wrote: Hi, Dug a little deeper now. Handling mouse movement indirectly depends on the power state of android. Eh what Mouse events are handled by the InputDeviceReader. This thread calls method 'preprocessEvent' in the WindowManagerService. The method itself then calls mPowerManager.screenIsOn. This method returns false for reason I explain later. This eventually results in preprocessEvent to return 0 and as a result the mouse movement events are not handled. Therefor not moving mouse pointer. Ok Now to the why screenIsOn return false. When android starts it will eventually execute initInThread in PowerManagementService. At the end setPowerState(ALL_BRIGHT) is called. So far so good. The method setPowerState will call Power.setScreenState(true). Still going ok. Power.setScreenState is a function implemented in /base/core/jni/android_os_power.cpp. The function Power.setScreenState will eventually call function set_screen_state implemented in /hardware/libhardware_legacy/power/power.c. The function set_screen_state will at the begining call initialize_fds. And here is where it goes wrong because initialize_fds cannot open the files mentioned in the array OLD_PATHS and NEW_PATHS. The reason why it cannot open the files is because the filesystem properties are set to 660 in init.rc. For this reason the power change never takes places and indirectly prevents the move movement events from being handled. When I change the sys file properties of the files in OLD_PATHS and NEW_PATHS to 666 mouse movement events are processed. What??? yes (OLD_PATHS and NEW_PATHS are defined in /hardware/libhardware_legacy/power/power.c) So I wonder how can this work anyway on any machine or is it just QEMU .. Hedwin On Sat, Dec 26, 2009 at 8:55 PM, Yi Sun beyo...@gmail.com wrote: If you use the latest qemu, would you still need these changes? Yi On Sat, 2009-12-26 at 20:14 +0100, hedwin wrote: The serial is just added to see the kernel boot an have access to the console later on. I use a slight older qemu, the one supplied with fedora. Newer qemu versions use usb per default. That might be the reason why you did no have to provide the usb arguments. Hedwin On Sat, Dec 26, 2009 at 7:39 PM, Yi Sun beyo...@gmail.com wrote: Thanks for the help. FYI-- in my env, I did not
[android-porting] Re: FileWriter cannot create a file in sdcard with Android SDK 1.6
How did you fix it? Thanks, -Eric On Dec 17 2009, 1:48 am, yaoming qin qinyaom...@gmail.com wrote: Thanks i have fixed it On Nov 2, 10:57 pm, RaviY yend...@pv.com wrote:http://developer.android.com/reference/android/Manifest.permission.ht... On Oct 19, 12:06 am, CC guoyin.c...@freescale.com wrote: Hi ALL, I just write a application to write some information to sdcard with FileWriter. And it works fine in SDK 1.5. But in SDK 1.6, it always raise a Exception. Code as below: try{ mLogFile = new FileWriter(/sdcard/thumbnail.log,true); Log.i(TAG,***create log file***); } catch(Exception e) { Log.i(TAG, Error! Canot create or append log file); TextView fileLabel = (TextView)findViewById (R.id.filename_label); fileLabel.setText(/sdcard/fsl_thumbnail.log+:Error!Canot create or append log file); } Also I have add the permission for my application as below in AndroidManifest.xml: uses-permission android:name=android.permission.CAMERA / uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/ uses-permission android:name=android.permission.WAKE_LOCK / uses-permission android:name=android.permission.SET_WALLPAPER / uses-permission android:name=android.permission.SDCARD_WRITE / uses-permission android:name=android.permission.RECEIVE_MMS / uses-permission android:name=android.permission.RECEIVE_SMS/ uses-permission android:name=android.permission.RECEIVE_WAP_PUSH / uses-permission android:name=android.permission.RECORD_AUDIO / uses-permission android:name=android.permission.REORDER_TASKS / uses-permission android:name=android.permission.RESTART_PACKAGES/ uses-permission android:name=android.permission.SEND_SMS / uses-permission android:name=android.permission.SET_ACTIVITY_WATCHER / uses-permission android:name=android.permission.SET_ALWAYS_FINISH / uses-permission android:name=android.permission.SET_ANIMATION_SCALE/ uses-permission android:name=android.permission.SET_DEBUG_APP / uses-permission android:name=android.permission.SET_ORIENTATION / uses-permission android:name=android.permission.SET_PREFERRED_APPLICATIONS / uses-permission android:name=android.permission.SET_PROCESS_FOREGROUND / uses-permission android:name=android.permission.SET_PROCESS_LIMIT/ uses-permission android:name=android.permission.SET_TIME_ZONE / uses-permission android:name=android.permission.SET_WALLPAPER_HINTS / uses-permission android:name=android.permission.SIGNAL_PERSISTENT_PROCESSES / uses-permission android:name=android.permission.STATUS_BAR/ uses-permission android:name=android.permission.SYSTEM_ALERT_WINDOW / uses-permission android:name=android.permission.VIBRATE / uses-permission android:name=android.permission.WAKE_LOCK / uses-permission android:name=android.permission.WRITE_CALENDAR / uses-permission android:name=android.permission.WRITE_CONTACTS/ uses-permission android:name=android.permission.WRITE_OWNER_DATA / uses-permission android:name=android.permission.WRITE_SETTINGS / uses-permission android:name=android.permission.WRITE_SMS / uses-permission android:name=android.permission.WRITE_SYNC_SETTINGS/ Any reply will be welcome. BRs Guoyin Chen -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Linking external libraries to Android native shared library
Hi, I have a question. To include any external library whether a static library (*.a) or shared library (*.so) and link to the current native shared library I have to inlcude the below code in my Andriod.mk include $(CLEAR_VARS) LOCAL_PREBUILT_LIBS:= libexternal1.a include $(BUILD_MULTI_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE:=mynativeexample LOCAL_SRC_FILES:=myexample.c LOCAL_STATIC_LIBRARIES:=libexternal1 include $(BUILD_SHARED_LIBRARY) The library libexternal1.a is compiled and build outside android. and resides in the directory same as the path of my Andriod.mk The path is \android-ndk-1.6_r1\apps\MyApplication\project\jni\. And I am getting an error : No rule to make target 'out/apps/ MyApplication//libexternal1.a' needed to make 'out/apps/MyApplication// mynativeexample.so' If I copy the libexternal1.a to 'out/apps/MyApplication//' it gives me error 'out/apps/MyApplication//libexternal1.a' : file not recognized: File format not recognized As per few android-ndk threads I went thru it is improper to copy the libexternal1.a to the out directory as the library should be automatically created in the 'out' directory. Something is missing in my Android.mk or something related to path of my external static library. The same error occurs when I use a shared library instead of static library. Can anyone please help me why is this happening and how to solve this.? Thanks. Regards, Purvi -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Default home screen widgets
The file you're looking for is res/xml/default_workspace.xml. -joe On Jan 4, 2:12 am, Armando Ceniceros cenicero...@gmail.com wrote: The default desktop is defined by an xml but I don't remember which (layout/default_desktop.xml?). From examining different builds, you can specify the search and clock by default using calling them by name (search and clock), but I tried setting the music and power control widgets by default but I either have the wrong approach (calling them by name (music, power? power-control?)) or the 'search' and 'clock' widgets are unique that way. With a third-party widget, like the flip-clock widget, you'd probably have to call it by namespace, maybe the same works for all widgets. I need help on this too, anybody have any insight? On Jan 4, 2010 2:54 AM, Lox lox@knc.nc wrote: Hello, Has anyone managed to have some default widgets on home screen? I modified the LauncherProvider.java script with no success. Here it is: http://paste2.org/p/592936 The widget I wish to have on my homescreen by default is retro clock. Regards -- Lox lox@knc.nc -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2Bunsubscribe@ googlegroups.com website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: build issue
Hi, Can any one please help me in this issue? Thanks On Tue, Jan 5, 2010 at 3:24 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, Any suggestion? Thanks On Mon, Jan 4, 2010 at 1:33 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android source and gave make command (didnt modify any thing) and libwebcore is not building. Below is the part of make log. Can anyone let me know the root cause for this issue and the way to solve it? Host = ubuntu9.10 java version 1.5.0_19 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02) Java H otSpot(TM) Client VM (build 1.5.0_19-b02, mixed mode, sharing) flex 2.5.35 bison (GNU Bison) 2.4.1 GNU gperf 3.0.4 target Prelink: libwbxml_jni (out/target/product/generic/symbols/system/lib/libwbxml_jni.so) libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order! libelfcopy: Warning: Range lists in .debug_ranges section start at 0x730 target Strip: libwbxml_jni (out/target/product/generic/obj/lib/ libwbxml_jni.so) Install: out/target/product/generic/system/lib/libwbxml_jni.so target thumb C++: libwebcore = external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp In file included from external/webkit/WebKit/android/JavaVM/jni.h:29, from external/webkit/WebCore/bridge/jni/jni_utility.h: 34, from external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp:29: dalvik/libnativehelper/include/nativehelper/jni.h:489: note: the mangling of 'va_list' has changed in GCC 4.4 Generating CSSPropertyNames.h = CSSPropertyNames.in Generating CSSValueKeywords.h = CSSValueKeywords.in target Generated: libwebcore = external/webkit/WebCore/html/HTMLEntityNames.gperf target Generated: libwebcore = external/webkit/WebCore/platform/ ColorData.gperf WebCore Yacc: libwebcore = external/webkit/WebCore/css/CSSGrammar.y make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/ libwebcore_intermediates/WebCore/CSSGrammar.cpp] Broken pipe Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: Default home screen widgets
And, about adding a certain widget as default-layout to the desktop? On Jan 5, 2010 4:04 PM, Joe Onorato j...@android.com wrote: The file you're looking for is res/xml/default_workspace.xml. -joe On Jan 4, 2:12 am, Armando Ceniceros cenicero...@gmail.com wrote: The default desktop is defin... On Jan 4, 2010 2:54 AM, Lox lox@knc.nc wrote: Hello, Has anyone managed to have so... lox@knc.nc -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com android-porting%2Bunsubscribe@ googlegroups.com website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] 周毅敏 想跟您聊天
--- 周毅敏希望通过 Google 的一些最炫的新产品与您保持更密切的联系。 如果您已经拥有 Gmail 或 Google Talk,请访问: http://mail.google.com/mail/b-1ba04ea7bb-0679308bbd-71a2a8118e84c4d7 您需要点击此链接才能与周毅敏聊天。 要获取 Gmail(Google 提供的免费电子邮件帐户,存储空间超过 2,800 MB)并与周毅敏聊天,请访问: http://mail.google.com/mail/a-1ba04ea7bb-0679308bbd-71a2a8118e84c4d7 Gmail 提供以下功能: - 直接在 Gmail 中进行即时消息传递 - 强大的垃圾邮件防护功能 - 可用于查找邮件的内置搜索功能,以及实用的邮件整理方法(将邮件整理到“会话”中) - 没有弹出式广告或不相干的横幅广告,只显示文字广告和与邮件内容相关的信息 以上所有功能均免费为您提供。此外,我们还提供了更多服务!打开 Gmail 帐户后,您还可以访问 Google Talk(即时消息传输服务): http://www.google.com/talk/intl/zh-CN/ Google Talk 提供以下功能: - 无需下载即可供您在任何地方使用的基于网络的聊天功能 - 与 Gmail 帐户同步的联系人列表 - 免费、高品质的 PC 间语音呼叫服务(下载 Google Talk 客户端后) 我们一直致力于增加新的功能并不断改进服务,因此我们还可能会定期请您提供意见和建议。感谢您为我们的产品改进所提供的帮助! 此致 Google 小组敬上 要了解有关 Gmail 和 Google Talk 的详细信息,请访问: http://mail.google.com/mail/help/intl/zh_CN/about.html http://www.google.com/talk/intl/zh-CN/about.html (如果点击本邮件中提供的网址不起作用,请将其复制并粘贴到浏览器的地址栏中)。 -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] login
I cannot find the webpage to login in android-porting group now. Any one can tell me where to login? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] login
this one: website: http://groups.google.com/group/android-porting 2010/1/6 周毅敏 geelphe...@gmail.com I cannot find the webpage to login in android-porting group now. Any one can tell me where to login? -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: build issue
Hi, I downloaded bison 2.3 aswell and tried to compile, but still I am getting same Broken Pipe issue. Is there any way to discard Webcore module to be build in to my system? Thanks On Wed, Jan 6, 2010 at 10:36 AM, linux newbie linux.newbi...@gmail.comwrote: Hi, Can any one please help me in this issue? Thanks On Tue, Jan 5, 2010 at 3:24 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, Any suggestion? Thanks On Mon, Jan 4, 2010 at 1:33 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android source and gave make command (didnt modify any thing) and libwebcore is not building. Below is the part of make log. Can anyone let me know the root cause for this issue and the way to solve it? Host = ubuntu9.10 java version 1.5.0_19 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02) Java H otSpot(TM) Client VM (build 1.5.0_19-b02, mixed mode, sharing) flex 2.5.35 bison (GNU Bison) 2.4.1 GNU gperf 3.0.4 target Prelink: libwbxml_jni (out/target/product/generic/symbols/system/lib/libwbxml_jni.so) libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order! libelfcopy: Warning: Range lists in .debug_ranges section start at 0x730 target Strip: libwbxml_jni (out/target/product/generic/obj/lib/ libwbxml_jni.so) Install: out/target/product/generic/system/lib/libwbxml_jni.so target thumb C++: libwebcore = external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp In file included from external/webkit/WebKit/android/JavaVM/jni.h:29, from external/webkit/WebCore/bridge/jni/jni_utility.h: 34, from external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp:29: dalvik/libnativehelper/include/nativehelper/jni.h:489: note: the mangling of 'va_list' has changed in GCC 4.4 Generating CSSPropertyNames.h = CSSPropertyNames.in Generating CSSValueKeywords.h = CSSValueKeywords.in target Generated: libwebcore = external/webkit/WebCore/html/HTMLEntityNames.gperf target Generated: libwebcore = external/webkit/WebCore/platform/ ColorData.gperf WebCore Yacc: libwebcore = external/webkit/WebCore/css/CSSGrammar.y make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/ libwebcore_intermediates/WebCore/CSSGrammar.cpp] Broken pipe Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Booting Issue - Help Needed
No, the following patch enable TLS. but, part of libEGL is probably usable. --- frameworks/base/opengl/libs/hooks.h +++ frameworks/base//opengl/libs/hooks.h @@ -36,7 +36,7 @@ #define MAX_NUMBER_OF_GL_EXTENSIONS 32 -#if defined(HAVE_ANDROID_OS) !USE_SLOW_BINDING __OPTIMIZE__ +#if 0 defined(HAVE_ANDROID_OS) !USE_SLOW_BINDING __OPTIMIZE__ #define USE_FAST_TLS_KEY1 #else #define USE_FAST_TLS_KEY0 and the following is old patch for bionic. if you are using eclair, the following is not same, but you have to modify the similar part. diff --git a/libc/include/sys/tls.h b/libc/include/sys/tls.h index d59f1c3..9053f7f 100644 --- a/libc/include/sys/tls.h +++ b/libc/include/sys/tls.h @@ -70,7 +70,8 @@ extern int __set_tls(void *ptr); /* get the TLS */ #ifdef __arm__ -# define __get_tls() ( *((volatile void **) 0x0ff0) ) +typedef void* (__get_tls_t)(void); +static const __get_tls_t* __get_tls = (const __get_tls_t *) 0x0fe0; #else extern void* __get_tls( void ); #endif Regards, Atsuo On 1月5日, 午後7:45, linux newbie linux.newbi...@gmail.com wrote: Hi Thanks for your reply. Can you please confirm me regarding the patch file in the following link?http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com Hi, PXA255 has not that configuration, so not need to modify the kernel. but, probably need the TLS patch for bionic libEGL. sorry, i'm using omap, so i'm not sure. Regards, Atsuo On 1月5日, 午後6:00, linux newbie linux.newbi...@gmail.com wrote: Hi, I find the TLS patch in following path. Can you please confirm whether it is correct file or not? http://groups.google.com/group/0xlab-devel/msg/6d9e5b753998cb81 Also do I need to enable TLS support in Kernel config? Our's is PXA255 (arm5vTe) board. Thanks 2010/1/5 linux newbie linux.newbi...@gmail.com: Thanks for your reply. Our's is PXA255 (arm5vTe). Do I still need to apply TLS patch for bionic and GL?? let me try to find out the patch over internet and get back to you. Thanks 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: OK, the following link is a kernel side solution for the TLS issue. http://elinux.org/Android_on_OMAP#TLS_issue or embinux had the TLS patch for bionic libGLES_CM, but the page is not found now. probably you can search the patch somewhere.. Regards, Atsuo On 1月5日, 午後3:08, linux newbie linux.newbi...@gmail.com wrote: Can you please explain me in brief?? 2010/1/5 Atsuo Igarashi atsuoigara...@gmail.com: Hi, How about the TLS patch? Regards, Atsuo On 1月5日, 午後1:24, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestion for this issue? Thanks On Mon, Jan 4, 2010 at 6:06 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android sdk and extracted images. I am getting following error while booting on my target hardware. I can see Hackdroid on my screen and got Android console. Please help me in resolving this issue. # logcat I/DEBUG ( 1275): debuggerd: Nov 23 2009 12:01:01 I/vold( 1274): Android Volume Daemon version 2.0 E/vold( 1274): Unable to open '/sys/class/mmc_host' (No such file or directory) E/vold( 1274): Unable to open '/sys/class/switch' (No such file or directory) D/vold( 1274): Bootstrapping complete I/DEBUG ( 1275): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 1275): Build fingerprint: 'generic/sdk/generic/:2.0.1/ESD54/20723:eng/test-keys' I/DEBUG ( 1275): pid: 1280, tid: 1280 /system/bin/keystore I/DEBUG ( 1275): signal 11 (SIGSEGV), fault addr cd6fa3ab I/DEBUG ( 1275): r0 cd6fa3ab r1 af515998 r2 af511c24 r3 I/DEBUG ( 1275): r4 af50b3d4 r5 b0010220 r6 060c r7 af515998 I/DEBUG ( 1275): r8 r9 10 fp I/DEBUG ( 1275): ip afe0d870 sp be823b68 lr b491 pc b000850c cpsr 4030 I/DEBUG ( 1275): #00 pc b000850c /system/bin/linker I/DEBUG ( 1275): #01 pc b48c /system/bin/linker I/DEBUG ( 1275): #02 pc b4ea /system/bin/linker I/DEBUG ( 1275): #03 pc b508 /system/bin/linker I/DEBUG ( 1275): #04 pc b640 /system/bin/linker I/DEBUG ( 1275): #05 pc b0001844 /system/bin/linker I/DEBUG ( 1275): #06 pc b0001b70 /system/bin/linker I/DEBUG ( 1275): #07 pc b000155a /system/bin/linker I/DEBUG ( 1275): #08 pc b00017d4 /system/bin/linker I/DEBUG ( 1275): #09 pc b0001ab4
Re: [android-porting] Linking external libraries to Android native shared library
'out/apps/MyApplication//libexternal1.a' : file not recognized: File format not recognized --The above error might mean that the toolchain with which you have compiled libexternal1.a, is not compatible with Android toolchain. Regards, Sonal On Wed, Jan 6, 2010 at 4:01 AM, purvi purvi.n...@gmail.com wrote: Hi, I have a question. To include any external library whether a static library (*.a) or shared library (*.so) and link to the current native shared library I have to inlcude the below code in my Andriod.mk include $(CLEAR_VARS) LOCAL_PREBUILT_LIBS:= libexternal1.a include $(BUILD_MULTI_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE:=mynativeexample LOCAL_SRC_FILES:=myexample.c LOCAL_STATIC_LIBRARIES:=libexternal1 include $(BUILD_SHARED_LIBRARY) The library libexternal1.a is compiled and build outside android. and resides in the directory same as the path of my Andriod.mk The path is \android-ndk-1.6_r1\apps\MyApplication\project\jni\. And I am getting an error : No rule to make target 'out/apps/ MyApplication//libexternal1.a' needed to make 'out/apps/MyApplication// mynativeexample.so' If I copy the libexternal1.a to 'out/apps/MyApplication//' it gives me error 'out/apps/MyApplication//libexternal1.a' : file not recognized: File format not recognized As per few android-ndk threads I went thru it is improper to copy the libexternal1.a to the out directory as the library should be automatically created in the 'out' directory. Something is missing in my Android.mk or something related to path of my external static library. The same error occurs when I use a shared library instead of static library. Can anyone please help me why is this happening and how to solve this.? Thanks. Regards, Purvi -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Announcement: [New project] Build and run only Dalvik
On Wed, Jan 6, 2010 at 10:36 AM, show www.a...@gmail.com wrote: Hi Avtar, If I want to use other toolchin(arm-linux-gcc-3.4.1.tar.bz2) to build dalvik. How should I proceed? I'm planning to port dalvik to other linux. thanks in advance alex Start by modifying build/core/combo/linux-arm.mk to point to your toolchain. However, 3.4.1 seems to be a bit old. Avtar On 2009年10月12日, 午後3:02, Avtar Singh s.av...@gmail.com wrote: On Oct 9, 1:30 pm, Rakesh Kumar rakesh.y...@gmail.com wrote: Currently you are using Bionic to build the Dalvik. Please help me If I want to use glibc to build dalvik. How should I proceed? On Fri, Oct 9, 2009 at 8:30 PM, Jimmy-Creupagu jamai5...@gmail.com wrote: but I've got a different C library and would like to know the steps to go on... Using glibc or another libc instead of bionic would involve changing several make files. I do not have any step by step instructions to do that. If you intend to work on it, please do so by all means as the purpose of IDVK v1 was to involve interested contributors. If you are interested only in using it, you might have to wait for sometime. IDVK v2 might have that but it all depends on how much spare time I get to work on this activity. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Info
Once you get that screen, in your command prompt, type in logcat command. or logcat You will see what is happening. Regards, -- Vaisakh P S (http://www.google.com/profiles/VaisakhRulez) -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Android Eclair -- hangs after gralloc/mapFrameBufferLocked
Hi, I am also facing the same issue, when i tried to port Eclair. If the issue is already resolved by anyone, please post the resolution. Best Regards, Srinivas Kalbhavi On Nov 23 2009, 3:27 pm, AchimNohl achim.n...@coware.com wrote: Hi Alexey, here is my logcat after removing the locks from gralloc: I/SurfaceFlinger( 651): SurfaceFlinger is starting I/SurfaceFlinger( 651): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 W/gralloc ( 651): page flipping not supported (yres_virtual=480, requested=960) I/gralloc ( 651): using (fd=23) I/gralloc ( 651): id = CLCD FB I/gralloc ( 651): xres = 320 px I/gralloc ( 651): yres = 480 px I/gralloc ( 651): xres_virtual = 320 px I/gralloc ( 651): yres_virtual = 480 px I/gralloc ( 651): bpp = 16 I/gralloc ( 651): r = 0:5 I/gralloc ( 651): g = 5:6 I/gralloc ( 651): b = 11:5 I/gralloc ( 651): width = 51 mm (159.372543 dpi) I/gralloc ( 651): height = 76 mm (160.421051 dpi) I/gralloc ( 651): refresh rate = 125.36 Hz E/FramebufferNativeWindow( 651): xDpi -2046820352 E/FramebufferNativeWindow( 651): yDpi -2046820352 D/libEGL ( 651): egl.cfg not found, using default config D/libEGL ( 651): loaded /system/lib/egl/libGLES_android.so I/SurfaceFlinger( 651): EGL informations: I/SurfaceFlinger( 651): # of configs : 8 I/SurfaceFlinger( 651): vendor : Android I/SurfaceFlinger( 651): version : 1.4 Android META-EGL I/SurfaceFlinger( 651): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_im age_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROI D_get_render_buffer I/SurfaceFlinger( 651): Client API: OpenGL ES I/SurfaceFlinger( 651): EGLSurface: 5-6-5-0, config=0x100 I/SurfaceFlinger( 651): flags : 001c W/SurfaceFlinger( 651): ro.sf.lcd_density not defined, using 160 dpi by default I/SurfaceFlinger( 651): OpenGL informations: I/SurfaceFlinger( 651): vendor : Android I/SurfaceFlinger( 651): renderer : Android PixelFlinger 1.1 I/SurfaceFlinger( 651): version : OpenGL ES-CM 1.0 I/SurfaceFlinger( 651): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL _OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_ARB_ texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane G L_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap I/sysproc ( 651): System server: starting Android runtime. I/sysproc ( 651): System server: starting Android services. I/SystemServer( 651): Entered the Android system server! init: no such service 'bootanim' I/SystemServer( 651): Entropy Service I/SystemServer( 651): Power Manager I/SystemServer( 651): Activity Manager I/sysproc ( 651): System server: entering thread pool. I/ActivityManager( 651): Memory class: 16 W/UsageStats( 651): Usage stats version changed; dropping W/dalvikvm( 651): threadid=19: thread exiting with uncaught exception (group=0x 4001b168) E/AndroidRuntime( 651): Uncaught handler: thread ActivityManager exiting due to uncaught exception E/AndroidRuntime( 651): *** EXCEPTION IN SYSTEM PROCESS. System will crash. E/AndroidRuntime( 651): java.lang.NumberFormatException: unable to parse '' as integer E/AndroidRuntime( 651): at java.lang.Integer.parseInt (Integer.java:353) E/AndroidRuntime( 651): at java.lang.Integer.parseInt (Integer.java:323) E/AndroidRuntime( 651): at java.lang.Integer.valueOf (Integer.java:666) E/AndroidRuntime( 651): at com.android.server.am.ActivityManagerService. init(ActivityManagerService.java:1470) E/AndroidRuntime( 651): at com.android.server.am.ActivityManagerService. init(ActivityManagerService.java:126) E/AndroidRuntime( 651): at com.android.server.am.ActivityManagerService$ AThread.run(ActivityManagerService.java:1307) E/AndroidRuntime( 651): Crash logging skipped, no checkin service I/Process ( 651): Sending signal. PID: 651 SIG: 9 I/ServiceManager( 553): service 'SurfaceFlinger' died I/ServiceManager( 553): service 'entropy' died I/ServiceManager( 553): service 'power' died I/Zygote ( 650): Exit zygote because system server (651) has terminated request_suspend_state: wakeup (0-0) at 58135894000 (1970-01-01 00:00:59.1747180 00 UTC) D/AndroidRuntime( 671): Regards, Achim On Nov 22, 6:04 pm, Alexey Roslyakov alexey.roslya...@gmail.com wrote: Yes, it's mot safe, we also must add lockunlock before and after call to gralloc_alloc_buffer in function gralloc_alloc. But I guess your uncaught exception is essentially another problem, not gralloc- deadlock-related one. Can you post logcat? On 21 ноя, 13:08,
[android-porting] Porting Dalvik to other linux
Hi All, I'm porting Dalvik to linux based on ARM9,Does anyone in the group know about it? I want to use arm-linux-gcc-3.4.1.tar.bz2 to build dalvik.How should I proceed? Thanks. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: build issue
Hi, Ubuntu 9.10 --- It has GCC 4.4 looks like you caught there For building android you need GCC4.3 Google around for the error, someone reported a hack for this problem. Warm Regards, Harry Before posting try googling for your queries On Jan 6, 8:12 am, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded bison 2.3 aswell and tried to compile, but still I am getting same Broken Pipe issue. Is there any way to discard Webcore module to be build in to my system? Thanks On Wed, Jan 6, 2010 at 10:36 AM, linux newbie linux.newbi...@gmail.comwrote: Hi, Can any one please help me in this issue? Thanks On Tue, Jan 5, 2010 at 3:24 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, Any suggestion? Thanks On Mon, Jan 4, 2010 at 1:33 PM, linux newbie linux.newbi...@gmail.com wrote: Hi, I downloaded the android source and gave make command (didnt modify any thing) and libwebcore is not building. Below is the part of make log. Can anyone let me know the root cause for this issue and the way to solve it? Host = ubuntu9.10 java version 1.5.0_19 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02) Java H otSpot(TM) Client VM (build 1.5.0_19-b02, mixed mode, sharing) flex 2.5.35 bison (GNU Bison) 2.4.1 GNU gperf 3.0.4 target Prelink: libwbxml_jni (out/target/product/generic/symbols/system/lib/libwbxml_jni.so) libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order! libelfcopy: Warning: Range lists in .debug_ranges section start at 0x730 target Strip: libwbxml_jni (out/target/product/generic/obj/lib/ libwbxml_jni.so) Install: out/target/product/generic/system/lib/libwbxml_jni.so target thumb C++: libwebcore = external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp In file included from external/webkit/WebKit/android/JavaVM/jni.h:29, from external/webkit/WebCore/bridge/jni/jni_utility.h: 34, from external/webkit/WebKit/android/jni/WebCoreJniOnLoad.cpp:29: dalvik/libnativehelper/include/nativehelper/jni.h:489: note: the mangling of 'va_list' has changed in GCC 4.4 Generating CSSPropertyNames.h = CSSPropertyNames.in Generating CSSValueKeywords.h = CSSValueKeywords.in target Generated: libwebcore = external/webkit/WebCore/html/HTMLEntityNames.gperf target Generated: libwebcore = external/webkit/WebCore/platform/ ColorData.gperf WebCore Yacc: libwebcore = external/webkit/WebCore/css/CSSGrammar.y make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/ libwebcore_intermediates/WebCore/CSSGrammar.cpp] Broken pipe Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Seek the leb128's beb128 counterpart
Hi, all I'd like to ask one question about dalvik code verify. the function readUnsignedLeb128 in leb128.h is for little endian base. But we have bytes are in Big endian base. I can't find functions such as readUnsignedBeb128 in android. Can any one provide one for me? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Find tools on windows
In android sdk for windows, cant find tools like dexdump.exe, dexlist.exe and dexopt.exe. Can any one provide these tools for me? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Greeting
Nice to see you. Are an veteran of porting android? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] 周毅敏 想跟您聊天
--- 周毅敏希望通过 Google 的一些最炫的新产品与您保持更密切的联系。 如果您已经拥有 Gmail 或 Google Talk,请访问: http://mail.google.com/mail/b-1ba04ea7bb-7e3eef4ca0-5e63f9c1a02eb69d 您需要点击此链接才能与周毅敏聊天。 要获取 Gmail(Google 提供的免费电子邮件帐户,存储空间超过 2,800 MB)并与周毅敏聊天,请访问: http://mail.google.com/mail/a-1ba04ea7bb-7e3eef4ca0-5e63f9c1a02eb69d Gmail 提供以下功能: - 直接在 Gmail 中进行即时消息传递 - 强大的垃圾邮件防护功能 - 可用于查找邮件的内置搜索功能,以及实用的邮件整理方法(将邮件整理到“会话”中) - 没有弹出式广告或不相干的横幅广告,只显示文字广告和与邮件内容相关的信息 以上所有功能均免费为您提供。此外,我们还提供了更多服务!打开 Gmail 帐户后,您还可以访问 Google Talk(即时消息传输服务): http://www.google.com/talk/intl/zh-CN/ Google Talk 提供以下功能: - 无需下载即可供您在任何地方使用的基于网络的聊天功能 - 与 Gmail 帐户同步的联系人列表 - 免费、高品质的 PC 间语音呼叫服务(下载 Google Talk 客户端后) 我们一直致力于增加新的功能并不断改进服务,因此我们还可能会定期请您提供意见和建议。感谢您为我们的产品改进所提供的帮助! 此致 Google 小组敬上 要了解有关 Gmail 和 Google Talk 的详细信息,请访问: http://mail.google.com/mail/help/intl/zh_CN/about.html http://www.google.com/talk/intl/zh-CN/about.html (如果点击本邮件中提供的网址不起作用,请将其复制并粘贴到浏览器的地址栏中)。 -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting