[android-porting] Debugging Methods n booting time?

2010-09-12 Thread gopu
Please provide what are debugging methods or see the log messages before logcat is available? If some crash happened before the adb avilable how to debug that? Thanks Gopu -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Debugging Methods n booting time?

2010-09-12 Thread Chris Stratton
As with any other embedded linux you want a console for kernel messages and ideally an interactive shell under the gui. Serial ports are still preferred for this (htc's phones have one with wierd voltages on the extusb headphone lines) - less advantageous possibilities are doing it over usb or eve

[android-porting] [Android Build] build/target/product or Vendor

2010-09-12 Thread Matt Shao
Hi Guys: As a fresh man to Android, I have some question about the build system. the official site of Android said we need to add the directory and some mk file under "/mydroid/vendor" directory. I have tried the instructions and it works. But when searching on the internet about the

Re: [android-porting] Re: Network Time is not auto updating with some service provider???

2010-09-12 Thread Rajesh Jounwal
I had tested on : LG Thunder : In which i saw the issue. With Reliance/ BSNL carrier. in india working fine with LG Swift GT540: Rajesh On Fri, Sep 10, 2010 at 10:47 PM, Robert Greenwalt wrote: > When an OEM ports froyo to their device, the may change the code > substantially. It could be the

Re: [android-porting] Setting Display panel size for android.

2010-09-12 Thread Deva R
Android queries fb info via FBIOGET_VSCREENINFO ioctl call., and processes it. it should be inherently taken care as per fb is set by kernel, but you can track if /hardware/libhardware/modules/gralloc/framebuffer.cpp Also, check in pdk display driver doc (at bottom), this exact problem is mentio

Re: [android-porting] [Android Build] build/target/product or Vendor

2010-09-12 Thread Deva R
> My guess is Adding directory and mk file under "/mydroid/build/target" is a > out-of-date way and now google suggest add the new product by using the > "/mydroid/vendor" ? Even /mydroid/vendor is obselete now, /mydroid/device is being used in froyo. we just use this folder to add desired platf

Re: [android-porting] Re: Debugging Methods n booting time?

2010-09-12 Thread Deva R
- if you have jtag debuggers, nothing like that., pls refer http://omappedia.org/wiki/Android_Debugging#Lauterbach_TRACE32 you can debug starting right from bootloader, kernel, android init, and any library. - if you can get trace via debug port, you can start logcat very early from your init

[android-porting] PVMFOMXVideoDecNode

2010-09-12 Thread André Barbosa
Anybody can help me to decoder and play some h264 data with PVMFOMXVideoDecNode? I searched and i don't find any information how i use this class! Anybody can give me a example or some information that can help me? Best Regards, André Barbosa. -- unsubscribe: android-porting+unsubscr...@googlegr

[android-porting] Re: PVMFOMXVideoDecNode

2010-09-12 Thread André Barbosa
I will try to be more especific! I want to received an h264 RTP streaming. I need to open the package, get the data and play this information. My problem is how i use the PVMFOMXVideoDecNode to decoder this data and play. Anybody know where is a can obtain information about how use PVMFOMXVideoDecN

[android-porting] Re: Building 64-bit x86

2010-09-12 Thread Jean-Marc Spaggiari
Hi, I tried to build Android under a64-bit linux debian and it was not working. All those steps are working fine: - Setting up your machine - Installing Repo - Initializing a Repo client - Getting the files Make is failling with the following output: /usr/include/gnu/stubs.h:7:27: error: gnu/stu

Re: [android-porting] Re: Building 64-bit x86

2010-09-12 Thread Deva R
>So look like __WORDSIZE value is 32 and should be 64. probably you installed 32bit ubuntu release?? coming to core problem, in general, android binaries should have 32-bit code, and you can force generation of 32-bit code in 64-bit machines by installing libiconv, ia32-libs. Pls refer below link

Re: [android-porting] Re: Building 64-bit x86

2010-09-12 Thread Jean-Marc Spaggiari
Hi Deva, I found stubs-32.h in the package libc6-dev-i386 wich I forgot to install. Look like also I had an issue with sun-java5-jdk. I had the 6 installed because the 5 is not available on debian testing. So I got the version 5 from the stable branch. I installed libiconv too based on what is d

[android-porting] Migrating libhgl to android 2.2

2010-09-12 Thread Chen
Hi, I have a workable libhgl.so implementation of Donut for my device. Now I've asked to port it to android 2.2. After reading the code of 2.2, it seems the graphic system has been changed substantially. Is there any migrating guide for porint libhgl to android 2.2? Any hint is appreciated. Chen

[android-porting] Re: ALSA and Audio: Unable to attach mixer to device AndroidOut: No such file or directory

2010-09-12 Thread ani
check from where are these logs coming "unable to attach". I think your kernel has not created properly your device files for mixers. In case it has not then you need to first fix that or you can get help from alsa mailing list(Very good group and they reply most of the time if your question is fin

[android-porting] wifi is not disconnecting in suspend mode

2010-09-12 Thread guru
HI All I heard that when phone goes to suspend mode, wifi should disconnect and after we again press the power button then it should connect. This is not happening in my phone. is there any reason for this? where i need to lookin to this issue? Thanks Gururaja -- unsubscribe: android-porting+

[android-porting] Re: Eclair : HOME KEY not working .

2010-09-12 Thread Srikant
Hi Robs, May be your Home screen is getting locked after boot and the icons are not displaying. So to unlock it, it explicitly needs the Home Key to press. Just have a look at the code in PhoneWindowManager.java, there is a function launchHomeFromHotKey() add some debug logs in this to check. Als

Re: [android-porting] wifi is not disconnecting in suspend mode

2010-09-12 Thread Irfan Sheriff
On Sun, Sep 12, 2010 at 9:27 PM, guru wrote: > HI All > > I heard that when phone goes to suspend mode, wifi should disconnect > and after we again press the power button then it should connect. > > Thats not correct. In suspend mode (which happens when you put the screen off), the driver typica

Re: [android-porting] Re: Building 64-bit x86

2010-09-12 Thread Deva R
unless modified explicitly, out/target/product/generic build binaries will work for emulators only (qemu platforms)., we need to build for devices by creating target specific build files (usually arm binaries) like, http://git.omapzoom.org/?p=device/ti/zoom2.git;a=blob;f=buildspec.mk.default;hb=fr

Re: [android-porting] wifi is not disconnecting in suspend mode

2010-09-12 Thread Gururaj BO
Hi Irfan, where this default 15min is specified in the code base? Please let me know. so if phone wakes up within 15min then wifi will still be in connected state. I will check this by waiting for 15 min. Thanks Gururaja B O On Mon, Sep 13, 2010 at 10:31 AM, Irfan Sheriff wrote: > > On Sun, S

[android-porting] Re: Eclair : HOME KEY not working .

2010-09-12 Thread Srikant
Did you try with WAKE? "key 3HOME WAKE" without WAKE_DROPPED? - On Sep 11, 8:26 am, Robin Gujjar wrote: > Hi Everybody, > > i tried to make the home key work on my board ,i ma running eclair > android 2.1 ) . but after making change in > key layout and kernel it doe not work .