[android-kernel] GIF file with bg white, lyrics black

2010-03-23 Thread Porting beginner
Hi, We have one .gif file and try to see it from gallery, it looks fine but couldn't see lyrics (fonts ), it has some problem. This gif is kind of special, tried it on PC with a viewer, the background is white and the lyrics in problem are black. Then tried it on one of other phone ( available

Re: [android-kernel] Re: Display Kernel Messages

2010-03-23 Thread Chris Stratton
You really want to be looking at generic linux kernel hacking guides as these arent really android specific questions. You might want to research how the dmesg command works, too. On Mar 23, 2010 11:38 PM, "perumal316" wrote: Hi, I have come up with a kernel module doing monitoring of system c

[android-kernel] Re: Display Kernel Messages

2010-03-23 Thread perumal316
Hi, I have come up with a kernel module doing monitoring of system calls and will printk messages. Now I want to show these messages to user through an application. I can write an application to read from file but not from "/proc/kmsg" where the printk messages are stored. So I think either ther

Re: [android-kernel] Display Kernel Messages

2010-03-23 Thread Greg KH
On Tue, Mar 23, 2010 at 8:21 PM, perumal316 wrote: > Hi All, > > I want to show the kernel messages to user through an application. Why would you want to do that? What are you trying to achieve here? > In Android the kernel messages are stored in "/proc/kmsg" but when I > tried to display that

[android-kernel] Display Kernel Messages

2010-03-23 Thread perumal316
Hi All, I want to show the kernel messages to user through an application. In Android the kernel messages are stored in "/proc/kmsg" but when I tried to display that nothing is coming out. I think it is because "proc/kmsg" is not a file as I can display files stored in "/data". I have also found

[android-kernel] Re: Process ID and App Name

2010-03-23 Thread perumal316
These are java applications whose PID I want to get using a kernel module. In the kernel module it will be tracking the system calls. Regards, Perumal On Mar 23, 11:23 pm, Amit Dang wrote: > Are these applications java applications or a native executable? > > On Tue, Mar 23, 2010 at 9:01 AM, pe

Re: [android-kernel] Need Help

2010-03-23 Thread karthik poduval
Hi Please find replies inline:- Regards, Karthik Poduval On Tue, Mar 23, 2010 at 1:53 PM, Ambuj wrote: > Hi, > > I am a Junior Undergraduate in a University in India, I have been > working with Embedded Systems Programming group of my university. > > Now, for some of the projects we have starte

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Ricardo Silva
Yes, it didnt work, but "fastboot boot boot.img" works. But now I recompiled the kernel with less config options and worked with flash (IPv4+IPv6 tunneling, mobility, multicast, etc). Regards, Ricardo Silva On Mon, Mar 22, 2010 at 6:00 PM, Andrew Xu wrote: > have you tried flashboot flash boo

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Andrew Xu
have you tried flashboot flash boot boot.img? On Mon, Mar 22, 2010 at 10:59 AM, Tirtha Kanti Ghosh wrote: > I think you should take the the log while booting and post it. That will > help to find the cause. > While flashing is your write completed with success??? > > Logs will really help. > > >

[android-kernel] Need Help

2010-03-23 Thread Ambuj
Hi, I am a Junior Undergraduate in a University in India, I have been working with Embedded Systems Programming group of my university. Now, for some of the projects we have started to us Google Android based devices. Some of the things we are looking into are : (a) Interfacing Google Android b

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Ricardo Silva
>From ram yes. But the flash always gave OK. I think that some config could be giving problems Regards, Ricardo Silva On Tue, Mar 23, 2010 at 9:11 PM, Chris Stratton wrote: > Maybe the boot.img with all your config options was too big for the flash > partition, but could be fastbooted from ra

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Chris Stratton
Maybe the boot.img with all your config options was too big for the flash partition, but could be fastbooted from ram? On Mar 23, 2010 1:16 PM, "Ricardo Silva" wrote: The problem was a kernel configuration. I reset the .config file and reconfigure again (with less options). Now is working ok. I

Re: [android-kernel] System Calls used in SMS and Call functions

2010-03-23 Thread karthik poduval
Hey you could check the RIL(Radio Interface Layer) side logs, they might already be containing it. The RIL logs do not appear straight , u need to give some options to logcat to get them which I unfortunately do not remember at the moment. Regards, Karthik Poduval On Tue, Mar 23, 2010 at 5:52 AM

Re: [android-kernel] About Dynamic Voltage and Frequency Scaling In ADP2

2010-03-23 Thread Mike Chan
You need root access to change cpufreq values. I'm not sure if this is available on the Google IO devices but try: adb root to switch into root mode, or adb su userspace is not compiled into the kernel for the ADP2, you will need to either compile a custom kernel, or just pin the min/max speeds

Re: [android-kernel] About Dynamic Voltage and Frequency Scaling In ADP2

2010-03-23 Thread ecss utdallas
Firstly, many thanks for your answer. That really helps a lot. I am using the ADP2 actually a google IO phone. When I did "adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governor". The result is : "ondemand, performance". It means that the sytem on my phone only supports *onde

[android-kernel] Build with customized SDK

2010-03-23 Thread Porting beginner
Hi, I want to use my own SDK ( Android SDK + few new app + modified apps ) along with Eclipse on Windows / Linux machine. Am I able to do this ? can anyone share setup procedure for this ? -- Thanks -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Ricardo Silva
The problem was a kernel configuration. I reset the .config file and reconfigure again (with less options). Now is working ok. In the white android screen, the adb was not working. Thank you very much. Regards, Ricardo Silva On Tue, Mar 23, 2010 at 9:48 AM, Tirtha Kanti Ghosh wrote: > you sai

Re: [android-kernel] Re: Process ID and App Name

2010-03-23 Thread Amit Dang
Are these applications java applications or a native executable? On Tue, Mar 23, 2010 at 9:01 AM, perumal316 wrote: > > I have tried that but it is giving the process ID of > android.process.acore not of the application > > Regards, > Perumal > > > On Mar 23, 10:43 am, Mike Chan wrote: > > Mayb

Re: [android-kernel] System Calls used in SMS and Call functions

2010-03-23 Thread San Mehat
On Tue, Mar 23, 2010 at 3:52 AM, perumal316 wrote: > Hi All, > > I want to log down the numbers to which SMS was send or calls being > placed to. Is it possible to do so by monitoring the system calls? > No. > I tried to monitor the sys_socketcall system call, but it is not > passing the numbers

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-23 Thread Shuduo Sang
Got it. Thanks On Tue, Mar 23, 2010 at 3:07 PM, Dianne Hackborn wrote: > Yes fastboot is the Android tool for flashing images (and doing other > things). > > On Mon, Mar 22, 2010 at 11:00 PM, Porting beginner > wrote: >> >> >> On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn >> wrote: >>> >>> O

[android-kernel] System Calls used in SMS and Call functions

2010-03-23 Thread perumal316
Hi All, I want to log down the numbers to which SMS was send or calls being placed to. Is it possible to do so by monitoring the system calls? I tried to monitor the sys_socketcall system call, but it is not passing the numbers as parameters. Is there any other system call that I can monitor to

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Tirtha Kanti Ghosh
you said the screen got stuck on small white Android screen...which means your init(user space) is up"ANDROID" screen is part of system/core/init.c you should have your kernel log alsoso that you can make sure the reason behind this stuck...is it kernel or system??? If "sh" has not been s

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Ricardo Silva
The flash is completed with success. Logcat dont work because the system is not yet loaded. The only thing I changed in the kernel was activate the IPv6 options and Multicast. And the worst is if I boot using "fastboot boot boot.img", it works. But when I flash the boot.img and start the phone n

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-23 Thread Dianne Hackborn
Yes fastboot is the Android tool for flashing images (and doing other things). On Mon, Mar 22, 2010 at 11:00 PM, Porting beginner < porting.begin...@gmail.com> wrote: > > > On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn wrote: > >> On Mon, Mar 22, 2010 at 9:07 PM, Shuduo Sang wrote: >> >>> Is i