[android-kernel] Re: Compile kernel for Nexus One but got errors

2012-01-09 Thread ヘマント
The undefined elements all seem to be board specific devices. Are you building for a specific target?. I don't think you can build for msm_defconfig. (I guess. Maybe you can) You should be using something like 'msm8660-perf_defconfig' or similar, based on your requirement. If the target is not set,

[android-kernel] Re: getting build errors with CAF source code

2012-01-09 Thread ヘマント
Looks like there is a mismatch between your bionic headers and your kernel headers. Probably the bionic headers were not updated to match the kernel headers. You could start off by checking the SHA ID of the heads of the buildable and non-buildable code. Ex [cd XX; git rev-parse HEAD;] Check if th

[android-kernel] Re: How does MSM based phone sense battery voltage and current

2012-01-03 Thread ヘマント
Hi, I think some of the information that you are looking for might be proprietary. For almost anything MSM related, a good place to start is codeaurora. Some platforms do use the standalone ICs (bq27xxx) https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=commitdiff;h=339f30bc1ad4adaf3a

[android-kernel] Re: Power manager issue when holding wake lock for more than 3 hours

2011-12-06 Thread ヘマント
Hi, I think those are the smsm states being printed in the logs. Do you see a timeout message just after these logs too? Like "timed out waiting for Modem's response ". If so, you can check what is up with the modem at that time using some debug prints for dumping the smsm state. Im not sure if

[android-kernel] Re: about google market apk

2011-11-29 Thread ヘマント
Passing CTS is a necessary, but not sufficient condition to get the market app. Refer to : http://source.android.com/compatibility/index.html You have to discuss with Google about installing and distribution of market and other google apps. They are not a part of AOSP. On Nov 29, 12:26 pm, jun

[android-kernel] Re: How to know whether I have iptables support or not

2011-11-29 Thread ヘマント
You can check the defconfig of your kernel for the flag.You can download the kernel for your product at the samsung opensource site. I think there might be a KERN_INFO print somewhere during bootup about iptables, when they are enabled, but checking the defconfig is more reliable. On Nov 24, 12:47

[android-kernel] Re: Detecting current foreground application

2011-11-18 Thread ヘマント
Ah, I type faster than I read.You explicitly stated that you are looking for something in the kernel to do it! I think doing this from the kernel is actually more difficult. Ultimately, it might be simpler and faster to use the framework to lookup the foreground process. Implemented well, it shoul

[android-kernel] Re: Detecting current foreground application

2011-11-18 Thread ヘマント
I just posted the link below in another thread. http://stackoverflow.com/questions/6363207/android-background-service-to-determine-foreground-application It might be useful for you too. On Nov 16, 12:22 am, Bateman <7thharmo...@gmail.com> wrote: > Hi, > I want to detect the currently executing for

[android-kernel] Re: Not getting early print logs even-though I enabled CONFIG_DEBUG_LL

2011-08-25 Thread ヘマント
Hi, Please take a look at the CAF commit below. (assuming you are using 8x60, even if not it should not be too different) https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=commitdiff;h=f8e46d4268bf7111f4b1c5124ecd2d6424c9165c On Aug 24, 9:27 pm, jagan <402ja...@gmail.com> wrote: > H

[android-kernel] Re: Info requested - android alarm

2011-08-16 Thread ヘマント
Hi, I'm speculating a bit here.. -16 is EBUSY, so since you already know that someone is setting the alarms, the next thing would be to look for who is using it. It does look like it is not a kernel problem. You can set the alarms from Alarmmanagerservice. Perhaps, you can dump the service from

[android-kernel] Re: Screen timed out in power manager.

2011-08-16 Thread ヘマント
gt; implemented timer and timertask in PowerManagerService. I'm calling > gotoSleep() method or PowerManagerService from the timerTask. but this > gotoSleep(0 doesn't get called somehow. > > I have put prints in gotoSleep() but no prints comes up! >

[android-kernel] Re: Screen timed out in power manager.

2011-08-11 Thread ヘマント
Hi, The settings app updates the settings database with the timeout value selected by the user. See: http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_OFF_TIMEOUT This value is read by PowerManagerService.java http://www.netmite.com/android/mydroid/frameworks/bas

[android-kernel] Re: compiling a kernel from source, android

2011-08-08 Thread ヘマント
Hi, It might be added in the setting app. You can check the value that the settings app reads from "/proc/ version" If the output does not have "lg-electronics", then I strongly suspect that the settings app hardcodes it. It looks likely since the format does not look like the usual ones. If it

[android-kernel] Re: panic ! who can help me!

2011-08-01 Thread ヘマント
Try running file command on system/bin/netd in your out folder, if it is not compiled for your target architecture, it should be easy to check. On Jul 30, 12:31 pm, "William W.-Y. Liang" wrote: > The last message indicates format error for netd. Is it possible that you > have ever compiled it sep

[android-kernel] Re: statically loading modules

2011-05-24 Thread ヘマント
Does your kernel support loadable modules? Could you attach the kernel log when you try to load the module. If the version the module was built for is different from the running kernel the module is not loaded. On May 15, 5:28 am, akanksha maggo wrote: > I am trying to make my application which