Re: [android-porting] regarding low memory killer

2011-07-29 Thread Dianne Hackborn
Just ignore ActivityManager.getMemoryInfo(). It is trying to infer the status of memory on the device, but as the java doc says due to the nature of modern kernels things like the available memory is somewhat meaningless. The low memory flag is just set if the activity manager is inferring that m

[android-porting] Re: ALSA recording audio on Donut problem

2011-07-29 Thread Diego
On Jul 28, 12:29 pm, Diego wrote: > Next problem I get (yeah, not finished yet!) is a "buffer overflow" > issue in AudioFlinger which prevents audio recording to succeed. > Inspecting the code I found out that disabling the second condition of > the if in "AudioFlinger::AudioRecordThread::threadLo

[android-porting] IPed (Yes IPED) upgrade?

2011-07-29 Thread Philip Rhoades
People, I have an early IPad 1 clone called "Iped" from a Chinese company that has since disappeared - the info available is: On boot: Android Version: 1.6 Kernel Version: 2.6.29 WMT SDK Version: 1.7.2 On the back: Id No: Model No: M-003 Input Power: 9V Designed and made i

[android-porting] arch header files changed from kernel 2.6.24 to 2.6.36

2011-07-29 Thread 070
Guys: I am porting Gingerbread to palm pre plus. HP have released linux kernel source for GPL, but the kernel version is 2.6.24. So i decided to port kernel to 2.6.36.But it seems that the kernel source architecture changes a little. The header files which is located in include/asm-arm/arch-omap in

[android-porting] Sensor HAL implementation in Gingerbread

2011-07-29 Thread jagan
Hi All, I am working on sensor porting on Gingerbread. I am taking a sample HAL code from device/samsung git at device/ samsung/crespo/libsensors Due to above code reference I customized Proximity sensor HAL accordingly some Proximity driver code..It's working fine on my device. But as my devic

Re: [android-porting] arch header files changed from kernel 2.6.24 to 2.6.36

2011-07-29 Thread Ashwin Bihari
Hi, 2.6.24 was released on Jan 24, 2008..and 2.6.36 was released on Oct 20, 2010..that's nearly 2.5 years of Kernel releases and countless changes in between.. There is not going to be any document that describes changes between arbitrary Kernel changes, but Linus keeps a rolling changelog betwee

Re: [android-porting] IPed (Yes IPED) upgrade?

2011-07-29 Thread Ying Wang
Does it look like this? http://en.wikipedia.org/wiki/IPed On Thu, Jul 28, 2011 at 3:56 PM, Philip Rhoades wrote: > People, > > I have an early IPad 1 clone called "Iped" from a Chinese company that has > since disappeared - the info available is: > > On boot: > > Android Version: 1.6 > Kernel

Re: [android-porting] IPed (Yes IPED) upgrade?

2011-07-29 Thread Philip Rhoades
Ying, Yep! That's it! (It didn't occur to me to look on Wikipedia . . ) Thanks, Phil. On Fri, 29 Jul 2011 09:51:03 -0700, Ying Wang wrote: Does it look like this?http://en.wikipedia.org/wiki/IPed [4] On Thu, Jul 28, 2011 at 3:56 PM, Philip Rhoades wrote: People, I have an early IPad 1 c