[android-porting] Re: Porting ASOP to a new platform, some basic step

2012-04-19 Thread ffxx68
I'd like to ask you help about the basics of adding a new HAL (gralloc) lib to AOSP. I've received the source code from the developers I mentioned below, but I'm having troubles integrating it for the final build. The build succeeds, but I have unexpected behaviour on the real device. First,

Re: [android-porting] Re: Touchscreen doesn't work (acer t231h, ICS, pandaboard)

2012-04-19 Thread Kenny Wickstrom
Are you getting any response when you touch the touchscreen? What if you enable Pointer Location in Settings - Developer Options? The messages you see in dmesg don't necessarily mean your driver is included in the kernel, just that you connected a USB device. The last 2 lines when connected

Re: [android-porting] Porting FM In Android Along With The Application

2012-04-19 Thread Ranganath TM
Hi Manjunath, When I lunch My FM RX application it is giving me the error as vendor registration failed. In JNI file *android_fmradio.cpp In the below function,* * * // if we haven't registred the library yet do it if (!session_p-isRegistered) { session_p-vendorMethods_p =

[android-porting] how to send ioctls to wifi driver using Android Apps?

2012-04-19 Thread karan
hi i have been developing android app which needs to communicate with wifi driver internally through ioctls.I have a shared library which takes care of talking to driver.Developed the android app and JNI library which is linked with the shared library. The issue is that the app is not able to

[android-porting] Re: Porting ASOP to a new platform, some basic step

2012-04-19 Thread ffxx68
Something I don't understand, which probably someone here can help clarify, is the following: I have my HAL implementations under: hardware/renesas/emev and all have a target path defined in the same way: grep LOCAL_MODULE_PATH */Android.mk libcopybit/Android.mk:LOCAL_MODULE_PATH :=

[android-porting] Re: How to provide root access to Android Application

2012-04-19 Thread Glenn Kasten
Sorry, creating Linux filesystems are not my area of expertise. I suggest asking about this on either android-kernel group, or your question might not be specific to Android so you could do a web search for Linux filesystems. Once you have a filesystem in place, you'll need to mount it, typically

[android-porting] Re: How to execute Shell script in android

2012-04-19 Thread Chris Stratton
On Monday, April 9, 2012 8:20:40 AM UTC-4, Vikas KM wrote: I want to execute a shell script in android *** SHELL SCRIPT if [ ! -d /sys/devices/platform/ehci-omap.0/usb1/1-2/1-2.4 ]; then if [ -d /sys/devices/platform/ehci-omap.0/usb1/1-2 ]; then

Re: [android-porting] Re: Touchscreen doesn't work (acer t231h, ICS, pandaboard)

2012-04-19 Thread Jiří Hamáček
I did everything but touchscreen wasn't there. When compiling kernel, hid-quanta.o was created and final size of compressed kernel image was different from the previous (with another config options). I tried compile the driver as module (hid-quanta.ko) adb push it to device and insmod it