Re: [android-porting] .rodata section

2011-03-17 Thread HV
Hi Shachar, Thanks for your response. This is what I did to get the sections: objdump -Sx mylib.so mylib.map in the .map file I noticed all C++ methods under .rodata. OK, if this is a compile time task, am I missing some flag here? btw, this is a MIPS (not ARM) build. Best regards HV --

Re: [android-porting] .rodata section

2011-03-17 Thread HV
Sorry, false alarm. Lot of names are very similar (fields and methods). Since I have tons of data, I got a little confused, sorry about that -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: Fwd: [android-porting] Downloading Linux kernel meant for Android

2011-03-17 Thread hedwin
If I really want to be sure I about the kernel I check the Makefile in the kernel top directory. At the beginning of the Makefile the version is specified. Hedwin On Thu, Mar 17, 2011 at 2:58 AM, Nate H hnm...@gmail.com wrote: use command 'git branch' On Thu, Mar 17, 2011 at 9:26 AM, Lay

[android-porting] Re: Camera preview frame rate very low

2011-03-17 Thread David Grimfors
Yes. Froyo has the same problem with excessive garbage collection as Eclair, in default mode. Unlike Eclair, it is however easy to fix since the functions for manual buffers are available in Froyo. So, in short: Use addCallbackBuffer to queue up 2 buffers Set previewCallbackWithBuffer Start

Re: [android-porting] Re: Camera preview frame rate very low

2011-03-17 Thread Ananthapadmanaban
Hi David, Thanks ! Did you implement this in your local repo ? If yes, Will you please share the patch to me. Thanks and regards, Ananth. On Thursday 17 March 2011 03:50 PM, David Grimfors wrote: Yes. Froyo has the same problem with excessive garbage collection as Eclair, in default mode.

[android-porting] Re: arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

2011-03-17 Thread Kumar Mohanty
On Mar 16, 9:45 am, Kumar Mohanty kumar0sh...@gmail.com wrote: I checked all package installation and found every thing is correct only but I am unable understand why is it giving same error I build this up to 4 times but still I have same problem I dont know why it is like that Error is

Re: [android-porting] Adding Prebuilt apk's to passion build

2011-03-17 Thread aparajitha rajapur
Keep the .apk file in location /vendor/... Under PRODUCT_COPY_FILES += \ add: $(LOCAL_PATH)/Prebuilt.apk:system/app/Prebuilt.apk \ i was able to compile like this... or copy your apk to /out/target/.../system/app/ after compilation and do *make snod*, then we get the updated system.img(with

[android-porting] Re: Cannot get WiFi and Bluetooth running

2011-03-17 Thread BiX
Ok I followed this article http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html Built following the Unix standard socket as /data/system/ wpa_supplicant seems to be needed. Created wlan_loader with: #!/system/bin/sh # # WLAN Loader # if netcfg wlan0 up; then sleep 1

[android-porting] Re: Modules for GSM?

2011-03-17 Thread Maffiou
Can you send at command on ttyUSB0 ? If yes then you need to try to put the reference ril on it and see what happens... (start it with -d ttyUSB0) Having just one com port may be a bit of a challenge if you want to do data... M. On Mar 16, 7:38 am, BiX bixt...@gmail.com wrote: Sorry I do not

[android-porting] Re: Adding Prebuilt apk's to passion build

2011-03-17 Thread Ne0
Had an email response of Keep the .apk file in location /vendor/... Under PRODUCT_COPY_FILES += \ add: $(LOCAL_PATH)/Prebuilt.apk:system/app/Prebuilt.apk \ i was able to compile like this... or copy your apk to /out/target/.../system/app/ after compilation and do make snod, then we get the

Re: [android-porting] tethering eth0 interface

2011-03-17 Thread Narseo Vallina Rodriguez
I was looking at the code and it looks like it only supports tethering via USB. I can imagine that sharing 3G over BT will be slowl but I was looking at the code of Tether WiFi application (that also supports BT) and it is not as neat as this one (Tethering.java) and I would like to have something

Re: [android-porting] .rodata section

2011-03-17 Thread Shachar Shemesh
On 17/03/11 09:46, HV wrote: Sorry, false alarm. Lot of names are very similar (fields and methods). Since I have tons of data, I got a little confused, sorry about that -- I usually dump the sections using objdump. It has an option (-C) to demangle the C++ names so that they appear as they

Re: [android-porting] .rodata section

2011-03-17 Thread HV
Tried it that sort of dereferencing certainly helps, thanks again HV -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: RIL Issue for Making GSM call

2011-03-17 Thread Maffiou
Have you provisioned voice call in your sqlite DB? In an adb root shell: $ cd /data/data/com.android.providers.settings/databases $ sqlite3 settings.db sqlite INSERT INTO secure (name, value) VALUES ('device_provisioned', 1); sqlite .exit $ reboot I think that should

[android-porting] android-ndk,handler usbfs read write

2011-03-17 Thread WuZhenda
hi,all I have ported the libusb hidapi to the android, but when I use ndk-build to operate the usb device on java platform,I always return false. so I do chmod 666 /proc/bus/usb/002/001 cmd manually to make the device can be read write , then it return OK. but I think when I mount the

[android-porting] Re: android-ndk,handler usbfs read write

2011-03-17 Thread WuZhenda
should I change the device readwrite mode each time ? and how ? the device bus number device number changed every time ! 2011/3/18 WuZhenda wuzhe...@gmail.com hi,all I have ported the libusb hidapi to the android, but when I use ndk-build to operate the usb device on java platform,I

[android-porting] Gingerbread booting fail on OMAP3530 based board

2011-03-17 Thread Kyle Lai
Hi, all I am porting gingerbread on ti omap3530 based board (which is made by our lab, it is a begleboard clone board.). Eclair was ported on this clone successfully before. I am trying to port gingerbread now, but facing some problem. I find that there are some people face the same problem just