[android-porting] Re: signing update.zip for stock recovery

2017-09-12 Thread Aaron David Secor
what exactly do you type to use this dd command? Is the dd command included in adb or fastboot? On Wednesday, March 12, 2014 at 10:27:40 AM UTC-5, fastludeh22 wrote: > > First off are you sure that recovery is compatible with your device? Do > you have root access though adb in recovery. If

[android-porting] Phone mode in VirtualBox

2017-04-05 Thread David Clements
Hi folks, I have searched all over on this subject, but maybe put in the wrong keywords. I'm trying to convert my AOSP install in VirtualBox from an emulated tablet to an emulated phone. I know the distinction is important for certain apps. Can anyone offer some information on this or point

[android-porting] Re: How to debug text not shown?

2017-03-03 Thread David
I have some update: The reason text not shown is default facetype not work. In TextView.java, setTypefaceFromAttrs, if I ceate a typeface using createFromFile,the text shows correctly. Is anyone familiar with how font is load in Android? David於 2017年3月3日星期五 UTC+8上午4時25分52秒寫道: > > Hi, &

[android-porting] How to debug text not shown?

2017-03-02 Thread David
Hi, I am porting Android 4.4.4 for a low cost device. After porting I found all text not shown in UI. Android draws buttons, edit boxes but all text associated to them are gone. There is no suspicious error message in logcat. Any suggestion to debug this kind of issue? -- --

[android-porting] Efficient way to debug art crash issue

2016-04-13 Thread David
When porting a new android device base on AOSP 5.0.1, we experience random crash across Java process. >From tombstone we see it mostly cause by GC check memory, such as backtrace: #00 pc 00127e90 /system/lib/libart.so (art::gc::collector::MarkSweep::ProcessMarkStack(bool)+183) #01 pc

[android-porting] Porting pure AOSP to a samsung device

2015-12-15 Thread David Hetherington
Hi, im a bit of a noob, I got a Samsung Galaxy J1 here. How do I go abouts porting a pure kitkat rom to it? What does the samsungs source code files for mobile devices contain? -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: Add apps to source code

2015-08-21 Thread David Boas
Hi, First, if you're willing to work with the AOSP, i recommend you to read this book : Embedded Android By Karim Yaghmour http://shop.oreilly.com/product/0636920021094.do#tab_03_2 If you have the apk : http://stackoverflow.com/questions/10579827/add-apk-files-in-aosp If you don't :

[android-porting] Re: Issues with TI wilink 1835 module on kit kat 4.4.4 r2 branch

2015-07-09 Thread David Robinson
Hi Som, Did you ever resolve this issue. I believe I may have come across the same problem. The system successfully associates with networks but then immediately disconnects. Just before the disconnect error messages relating to WLS_BATCHING being unsupported are displayed in logcat. I am

[android-porting] Re: Zygote crash while porting 5.1.1 to 64-bit platform

2015-06-23 Thread David
After further inspection, we found this is because all our 32-bit process does not have [stack] line in their /proc/pid/maps. But a 32-bit process on nexus 9 has that line. It seems a kernel issue. David於 2015年6月23日星期二 UTC+8上午6時50分48秒寫道: Hi, I am porting Android 5.1.1 to a 64-bit SoC

[android-porting] Zygote crash while porting 5.1.1 to 64-bit platform

2015-06-22 Thread David
Hi, I am porting Android 5.1.1 to a 64-bit SoC. The kernel is 64-bit. We build multilib with ro.zygote=zygote64_32. The booting crashed with the following log: W/art ( 144): WARNING!!!: Incomplete boot detected. Pruning dalvik cache F/libc( 144): No [stack] line found in

[android-porting] Heap corruption in art.so in 5.0

2015-05-11 Thread David
We are poriting Android 5.0 to our SoC. Under 4 core condition we find dex2oat causes heap corruption. The log is like: I/dex2oat2( 411): dex2oat2 F/libc( 411): heap corruption detected by dlfree F/libc( 411): Fatal signal 6 (SIGABRT), code -6 in tid 413 (Compiler driver) I/DEBUG

[android-porting] undefined instruction when porting 5.0 to our hardware

2014-12-08 Thread David
I am poritng android 5.0 to our hardware. The boot is OK and we can boot into Launcher. Problem we have is when we execute some native program in console, kernel log show undefined instruction like: # /system/bin/wm [ 953.473988] app_process (1557):

[android-porting] How to enable Android 4.4 whole disk encryption

2014-05-16 Thread David
I try to enable whole disk encryption in 4.4 but still don't figure how to make it work. 1. I see Nexus 7 has a partition use to hold encrypt footer MDA - /dev/block/mmcblk0p8 in fstab.grouper wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA What is this

[android-porting] Customize screen behavior in landscape/portrait mode

2014-04-21 Thread David
Hi, I am porting android to our TV Box product. When app request a portrait screen, the original Android behavior is rotate the screen, but our output is fixed position, the user can not use the device in this case. We change it to app use the center of the screen and leave the

[android-porting] Re: Why system.img/system filesystem size is always fixed?

2014-03-14 Thread David
As far as I know, the image is a sparse so the size depends on its actual content. (which means the free space will not 1:1 mapping to the image) BOARD_SYSTEMIMAGE_PARTITION_SIZE is the size when image file is written to the real storage. mansoor vm於 2014年3月11日星期二UTC+8下午6時45分55秒寫道: i am

[android-porting] Re: JB4.3 compilation error

2014-03-04 Thread David
, David wrote: Try the following fix build/core/Makefile, $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \ $(TARGET_RECOVERY_ROOT_OUT)/default.prop to $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop

[android-porting] Re: JB4.3 compilation error

2014-02-26 Thread David
Try the following fix build/core/Makefile, $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \ $(TARGET_RECOVERY_ROOT_OUT)/default.prop to $(hide) cat $(INSTALLED_DEFAULT_PROP_TARGET) $(recovery_build_prop) \

[android-porting] Controlling the intensity of camera LED on Nexus 4

2014-02-12 Thread David Borthwick
the camera LED? Once I can locate this code I can analyze it and continue with the project. Thanks, David Borthwick -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed

[android-porting] Re: Booting from NFS mount

2014-01-25 Thread David
Since zygote is starting, you should have logcat ready. You can use logcat to get more information to track this issue. Jon Smirl於 2014年1月17日星期五UTC+8上午2時30分43秒寫道: I have a working Android system that boots fine from RAM. But I'd like to speed up the development process. A good way to do that

[android-porting] Re: How android use framebuffer?

2013-11-25 Thread David
! Vishveshwar於 2013年11月22日星期五UTC+8下午2時44分14秒寫道: On Tuesday, November 19, 2013 12:37:01 PM UTC+5:30, David wrote: Thanks. I try to apply emulator setting. It seems the library works only in QEMU. I repeatedly got the following messages E/EGL_emulation( 1753): Failed to establish

[android-porting] Re: How android use framebuffer?

2013-11-19 Thread David
wonder what egl.cfg and software stack I should include in my build. Vishveshwar於 2013年11月15日星期五UTC+8下午3時00分50秒寫道: On Thursday, November 14, 2013 11:37:33 AM UTC+5:30, David wrote: Hi, all, I am porting katkit to our new hardware. Because the graphic driver is not yet ready, I want

[android-porting] How android use framebuffer?

2013-11-14 Thread David
Hi, all, I am porting katkit to our new hardware. Because the graphic driver is not yet ready, I want to use framebuffer + software openGL to boot the device. What should I do? I check the HWComposer.cpp, but seems its mFbDev never filled. Does anyone has experience to make

[android-porting] Re: Some strange permission issue

2013-05-28 Thread David
I solve the first problem. The permission check is done in new version of logger.c in android kernel. We forget to sync our staging drivers to the latest ones. David於 2013年5月23日星期四UTC+8下午6時08分01秒寫道: Hi, all, My device porting is almost complete and now I try to pass CTS test

[android-porting] Some strange permission issue

2013-05-24 Thread David
Hi, all, My device porting is almost complete and now I try to pass CTS test. There are some strange issue that I do not know how to solve. 1. I know for JellyBean, the READ_LOGS permission are restricted to system. But I still can read output from logcat in my device.

[android-porting] UEventObserver catch Uevent on boot

2013-05-16 Thread David
Hi, I write a service with UEventObserver to listen some event from USB device plug/unplug. But it can not catch event if I plug the device when booting. Is there anyway that Java service can catch such event or I need to read device state manually? -- -- unsubscribe:

[android-porting] Re: [Multi channel on Jelly Bean] Support multi channel through HDMI port on Jelly Bean 4.1

2013-04-25 Thread David Kim
Dear Eric, Thank you very much for your very clear and detail explanation. Best Regards, On Wednesday, April 17, 2013 5:58:30 AM UTC+9, Eric Laurent wrote: David, Mutlichannel audio uses a DirectoutputThread. The DirectOutputThread is selected if an AudioTrack is opened with a channel

[android-porting] Supporting multi channel for HDMI output on Jelly Bean

2013-04-16 Thread David Kim
Dear experts, I would like to ask some questions about multi channel supporting on JellyBean. Please give your advice for my questions. According to Google, multi channel audio can be supported from JB 4.1 as follows *'Multichannel audio : Android 4.1 supports multichannel audio on devices

[android-porting] [Multi channel on Jelly Bean] Support multi channel through HDMI port on Jelly Bean 4.1

2013-04-16 Thread David Kim
Dear experts, I would like to ask some questions about multi channel supporting on JellyBean. Please give your advice for my questions. According to Google, multi channel audio can be supported from JB 4.1 as follows *'Multichannel audio : Android 4.1 supports multichannel audio on devices

[android-porting] Chrome apk build?

2013-03-29 Thread David
Hi, I notice in Nexus 7 or Nexus 4. Android 4.2 and later version change the default browser to Chrome. Searching the AOSP git repositories I don't see where I can got this apk built. Does this mean I need to get an open source version from Chromium and build it separately?

[android-porting] kernel 3.7 and NETFILTER_XT_MATCH_QTAGUID

2013-02-26 Thread David
I am porting Android to a new platform with Linux kernel 3.7. However, I found NETFILTER_XT_MATCH_QTAGUID seems gone from the kernel config。I try to turn some xtable config such as CONFIG_NETFILTER_XT_MATCH_OWNER and CONFIG_NETFILTER_XT_MATCH_QUOTA but has no luck. Still I can't see

[android-porting] Boot 4.2.1 missing dex file

2013-02-17 Thread David
I am porting Android 4.2.1 to a new hardware platform. Since we don't have emmc or nand ready we try to boot from NFS. However, we found some of the jar file in /system/framework are not extract correctly in /data/dalvik-cache/ (Not all of them, we have

Re: [android-porting] Build Android Source Code On Windows Platform

2012-10-18 Thread David Turner
On Thu, Oct 11, 2012 at 9:18 AM, Shivanagouda Biradar shivanagouda.bira...@asmaitha.com wrote: Hi All, I would like to build Android source code , having linux drivers, on windows platform. Please do suggest . Simply speaking, building directly from Windows is not supported (it's far too

[android-porting] Using the AOSP to create an Open webOS ROM on crespo4g

2012-10-02 Thread David Barone
any standard Linux kernel should be able to run Open webOS. The Open Embedding/porting of webOS says to use the sources (AOSP) building and add the webOS layer on top. I haven't built anything for over a decade, it's not as easy as I thought it would be. The 4.1.1 kernel and all of the driver

[android-porting] Re: [Question] CTS -- Audio Quality Verifier

2012-09-25 Thread David Wagner
Hi Guru, Any news on the audioquality verifier ? Best regards, David. On Tuesday, June 5, 2012 7:19:59 PM UTC+2, Guru Nagarajan wrote: Hello Stanley, We are replacing the Audio Quality Verifier test tool in the coming weeks. We have removed it in ICS and intend to do so in Gingerbread

[android-porting] CTS

2012-09-24 Thread David Ghaemi
Hello, We have ran the CTS on our new product. How can we submit the results to Google for registration? Please advise. DavidGhaemi ( 303.799.4944 ext: 211 direct ( 303.521-7090 mobile USA Office: 188 Inverness Drive West, Suite 250, Englewood CO 80112 Taiwan Office:

Re: [android-porting] Why memcmp is like this in bionic?

2012-06-20 Thread David Given
Victor Surfer wrote: [...] In the for loop, the same logic repeats 4 times, why? Can it no repeat? It's to improve performance; the magic keyword to lookup for more information is 'loop unrolling'. -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ Parents let children ride bicycles

Re: [android-porting] Re: EXPERT in menuconfig

2012-06-11 Thread David Given
Babak wrote: David If you don't mind me asking what kernel version are you doing this for? It turns out that expert not in kernels = 2.6.37 Ah. I have 3.0.x. I definitely recall something similar from older kernels, though --- all the option does is enable a bunch of other options that most

Re: [android-porting] EXPERT in menuconfig

2012-06-09 Thread David Given
On 07/06/12 02:08, Babak wrote: In a patch that adds a kernel module, I see that it has the requirement EXPERT. How do you enable this feature? General setup - Configure standard kernel features. For reference, if you do: make nconfig ...it will build and run the fast ncurses based

[android-porting] Re: Why packagemanager drops the vendor apps (Nativity Activity)'s so file.

2012-04-22 Thread David Turner
+cc android-porting, +bcc android-ndk That's not an NDK question, I'm redirecting you to android-porting. On Sat, Apr 21, 2012 at 5:33 PM, chinlin@tw-roc chinlin0...@gmail.comwrote: If you put your Native Activity apk in /vendor, the .so file will not be extracted and dropped by package

[android-porting] Re: permissions failing from init on first boot after flashing device

2012-04-18 Thread David Turner
I'm redirecting you to android-porting@, this is not related to the NDK. On Wed, Apr 18, 2012 at 8:30 PM, girlCoder best.car...@gmail.com wrote: I am working on a project that creates custom images for an Android device. We edit the kernel and other os files. Our system init calls

[android-porting] Re: Porting touchpad driver to android

2012-04-06 Thread David Barber
for handwriting - taking notes etc. David. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Cupcake source?

2012-03-29 Thread David Given
Does anyone know how to get the Android cupcake source code? The official repository only has tags going back as far as donut, and the only links I've found all refer to the old, defunct, kernel.org repository. -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ Parents let children ride

[android-porting] Re: Toast messages very small on Galaxy Nexus for Launcher2 fork

2012-01-03 Thread David Strickland
My issue was due to Android's compatibility features which kick in if uses-sdk element is not set in the AndroidManifest. Once I added uses-sdk android:minSdkVersion=14 android:targetSdkVersion=14 / to the manifest everything was fine. -- unsubscribe:

[android-porting] Re: Android 4.0 Ice Cream WiFi porting issue

2011-12-20 Thread David Roth
Maybe this link will help :-) http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html Do not add these if you use Android private socket because it will make wpa_supplicant non-functional, because hardware/libhardware_legacy/wifi/wifi.c check for existence of the*

[android-porting] Re: Static lib creation issue

2011-12-19 Thread David Turner
Hello, First of all, this is not a question related to the NDK, so I'm redirecting this to android-porting instead. On Mon, Dec 19, 2011 at 8:39 AM, Meraj Ahmad Ansari meraj.ahmad.ans...@hotmail.com wrote: Hi List, I have 2 questions - Q1- - I am trying to build static lib with

[android-porting] Toast messages very small on Galaxy Nexus for Launcher2 fork

2011-12-13 Thread David Strickland
this is due to the density of the Galaxy Nexus. However, the unmodified Launcher2 displays normal sized Toast messages. Any tips where to look that I may have messed up? -David -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: What permissions does AndroidManifest.xml need to access a device driver?

2011-10-17 Thread David Turner
Hello, I think this is not related to the NDK, try android-porting@ instead, where people with similar problems will likely be able to help you Regards On Fri, Oct 14, 2011 at 7:08 PM, Anil anil.phi...@motorolasolutions.comwrote: What permissions does AndroidManifest.xml need to access a

Re: [android-porting] VMGL integration with android emulator

2011-10-11 Thread David Turner
On Tue, Oct 11, 2011 at 6:54 AM, Inder inderjeet.tha...@gmail.com wrote: Hi All, I have build VMGL for host (ubuntu 10.04). Can anybody let me know how I can integrate VMGL in android emulator? or How to build VMGL for Android emulator? I'm afraid this is not possible, nor desirable: -

[android-porting] Re: How to debug Android boot on emulator?

2011-10-06 Thread David Turner
This is not related to the NDK, try android-porting instead. On Wed, Oct 5, 2011 at 2:51 AM, Dmitry divis1...@gmail.com wrote: Hi, I'm trying to run custom Android build on emulator. This build is created for Cortex-a9, so I had selected the -armv7 kernel image (from

[android-porting] Re: CAN interface missing in NDK platforms

2011-09-01 Thread David Turner
I'm redirecting this thread to android-porting because it no longer has anything to do with the NDK. Maybe some folks here will better be able to help you. On Thu, Sep 1, 2011 at 5:20 PM, Palsson palsson...@gmail.com wrote: Hello David, Thanks man. Its my bad.. android-3 and android-8 got

Re: [android-porting] muti-threaded native code using JNI

2011-08-25 Thread David Turner
Why are you calling pthread_exit(0) on the main thread, this will terminate your application immediately. You can't block on the main UI thread (which calls your JNI callback). You'll need to find a different synchonization primitive (see AsyncHandlers in the SDK doc) On Wed, Aug 24, 2011 at

Re: [android-porting] Gingerbread linker crash on Linux kernel 3.0

2011-08-24 Thread David Turner
It's the function that calls a shared-library or executable list of constructor functions. It is likely a constructor crashing. Unfortunately, the shared library's mapping is not available to gdb until after the constructors have run It's a know bug, you could try changing the lines in linker.c

Re: [android-porting] why __func__ variable contains the type signature of the function except its bare name?

2011-08-04 Thread David Turner
Use __FUNCTION__ instead of __func__, see http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Function-Names.html On Thu, Aug 4, 2011 at 8:04 AM, Simon Chan simonchan1...@gmail.com wrote: Hi all, Now I add debug info for my overlay hal module. #define LOG_FUNC_NAME LOGD(%s, __func__) the output

[android-porting] build error about sample SDK addon with android-2.3.4_r1

2011-08-04 Thread david
I find the sample code in device/sample ,I try to build the sample add-on , But, below error ocuured: : out/target/product/generic/system/xbin/oprofiled Stubbing addon jar using target Java: com.example.android.platform_library (out/target/common/

[android-porting] Android sitemap.txt and custom sample applications.

2011-07-14 Thread David Escalona
Hello all, I am in the process of adding several custom samples to our ported Android SDK demonstrating new API usage. What I am doing is to include custom application samples directly in Android sources (under development/samples) so after calling the make sdk they are compiled and exported

[android-porting] Add new API in Framework

2011-07-11 Thread David
Hi, I am working on a customized android system based on 2.3.3. I want to add a new class in java framework. So I create a folder called foo under /framework/base and add this folder name in /build/core/pathmap.mk. I follow the structure /framework/core and arrange my own module like

[android-porting] Re: Add new API in Framework

2011-07-11 Thread David
On 7月12日, 上午2時58分, freakingtux kees.jongenbur...@gmail.com wrote: Hi On Monday, July 11, 2011 1:51:35 PM UTC+2, David wrote: Hi,    I am working on a customized android system based on 2.3.3. I want to add a new class in java framework.    So I create a folder called foo

Re: [android-porting] Ginger Bread build errors on ubuntu 10.10 64 bit.

2011-07-01 Thread David Turner
This should be fixed now (but you may need to make clean build). Sorry, you were probably caught in the middle of various subtle C library changes, one of them introduced the issue, but another one fixed it. On Thu, May 26, 2011 at 5:27 AM, maliha malihamari...@gmail.com wrote:

[android-porting] How to add Arabic support in Android Froyo?

2011-06-29 Thread David Khosid
? As a matter of fact, vendors like Samsung added Arabic support to their devices running Android Froyo. Thanks, David -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Where to send kernel patches?

2011-06-22 Thread David Turner
addresses in the git log that correspond to people that have submitted stuff in parts of the kernel that relate to your patch, and add them as reviewers for your patch on gerrit. Hope this helps - David Jason -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http

Re: [android-porting] Is there OSAL layer

2011-06-06 Thread David Turner
On Fri, Jun 3, 2011 at 11:01 AM, Vikas KM vikki...@gmail.com wrote: Hi, Is there any OSAL layer in Android Build System..? What do you mean by Android Build System? The OSAL within the platform is called the kernel interface :-) -- Regards Vikas KM -- unsubscribe:

[android-porting] Re: User input, getevent and keydown events

2011-05-25 Thread David Turner
This is not related to the NDK, you should try android-porting instead. Briefly speaking, getevent() returns the events sent from the kernel to the framework. Since everything seems good here, you can forget about a driver/hardware failure. It looks like the framework input handling code is

Re: [android-porting] GL acceleration in Emulator - demo - at Google IO

2011-05-20 Thread David Turner
On Thu, May 19, 2011 at 7:45 PM, Suman Saraf sumansa...@gmail.com wrote: Thanks David. I checked out the latest code and have started to fiddle with it. I am trying to run this on x86 inside VirtualBox. I have a few questions and would be glad if you could help: 1. I built everything

Re: [android-porting] Whether NeofreeRunner is compatible with android 2.3

2011-05-18 Thread David Turner
On Tue, May 17, 2011 at 2:38 PM, vishnu vardhanraj4...@gmail.com wrote: this is Ravulapati.Iam new to android porting.we r intersted to port android 2.3 version (ginger bread) on Neofree Runner whether it supports or not.If it supports can any body send links to get source code and all stuff

Re: [android-porting] GL acceleration in Emulator - demo - at Google IO

2011-05-16 Thread David Turner
On Fri, May 13, 2011 at 3:58 PM, Suman Saraf sumansa...@gmail.com wrote: Hello, I just saw this demo on youtube. Looks very cool. I have been working independently on the same problem trying to remote GL calls to the host. This basically means mapping EGL and GL calls to GLX/GL on Linux

Re: [android-porting] Info required on Goldfish Kernel

2011-05-16 Thread David Turner
On Fri, May 13, 2011 at 7:56 AM, Srinidhi K V srinidh...@yahoo.co.inwrote: Hi All, I was wondering why there is no Goldfish kernel after 2.6.29 . Is it google stopped forward porting it to the subsequent versions or is there something new in subsequent kernels (2.6.30 onwards) that wont

Re: [android-porting] Upgrading Goldfish Kernel

2011-05-16 Thread David Turner
On Thu, May 12, 2011 at 5:00 PM, Srinidhi K V srinidh...@yahoo.co.inwrote: Hi, I have set of device drivers which works on 2.6.35 kernel. I am developing a module which will integrated with Android. During the development stage I want to test the module on SDK before doing it on real

Re: [android-porting] Running my own libgps.so on emulator

2011-05-16 Thread David Turner
IIRC, the hardware abstraction library will try to load a library named /system/lib/hw/libgps.hardware.so first before any system wide libgps.so Where hardware corresponds to the hardware name, and is goldfish when running under emulation. See development/tools/emulator/system/gps/Android.mk for

Re: [android-porting] Emulator:how are add-on platform images merged ?

2011-05-16 Thread David Turner
They are not merge, they are simply searched in numerical order (so sysdir.1 first, then sysdir.2, etc...) A platform add-on typically provides a full system.img if it provides new system libraries / frameworks. There is no way to provide partial system images that get merged into the main one.

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

2011-03-18 Thread David Turner
On Fri, Mar 18, 2011 at 3:26 AM, WuZhenda wuzhe...@gmail.com wrote: 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. I doubt you're using ndk-build to operate anything on the device :-)

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

2011-03-17 Thread David Grimfors
David On Mar 3, 12:24 pm, Ananthapadmanaban gapadmana...@e-consystems.com wrote: Hi All,    Using camera application available in the froyo build, I was able to stream VGA frame at 7 fps maximum.   But my sensor streaming frame rate at 30 fps. How to optimize the camera application ? *Test

[android-porting] validating the CDD section 5.3 requirements

2011-03-14 Thread David O.
Is there a standardized/preferred method for validating the section 5.3 Audio Latency requirements? It's not clear to me if CTS covers audio latency testing. Thanks, David -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Android boot process deadlock

2011-03-11 Thread David Turner
Not NDK-related. Don't cross-post! On Fri, Mar 11, 2011 at 1:40 PM, Amit Pundir pundira...@gmail.com wrote: Hi, I'm trying to create a surface while handling the InputReader. I followed this test given here frameworks/base/services/surfaceflinger/tests/surface/surface.cpp to create a

Re: [android-porting] Re: init.architecture.rc

2011-02-11 Thread David Turner
On Fri, Feb 11, 2011 at 10:19 AM, Stefan sgo...@dh-electronics.de wrote: It's not architecture, but board specific. So, I have to delete the goldfish-init and write my board specific file. You don't have to delete it technically, it will just be ignored. What do I have to write into

Re: [android-porting] Android NDK: x86-4.2.1 libsupc++ support

2011-02-02 Thread David Turner
On Wed, Feb 2, 2011 at 3:08 PM, Subramani Venkatesh subbu31m...@gmail.comwrote: David, Thanks for the info.. I tried for quite sometime but not succesful in building libstc++, here is the log of failure.. Configure: x86-4.2.1 toolchain build Building : x86-4.2.1 toolchain [this can take

Re: [android-porting] Android NDK: x86-4.2.1 libsupc++ support

2011-02-01 Thread David Turner
On Tue, Feb 1, 2011 at 4:13 PM, Subramani Venkatesh subbu31m...@gmail.comwrote: Hi, I am porting an application to Android x86 platform There is no such thing for now, though we're working on it :-) , while porting I understood that my application depends on Android libsupc++ support for

[android-porting] Re: using the camera service from android native code

2011-01-21 Thread David Turner
Redirecting to android-porting, this is not NDK-related. On Fri, Jan 21, 2011 at 8:45 PM, ajay mna...@gmail.com wrote: hi, we are trying to modify the android filesystem.we are trying to use the camera service from a c++ code.we are using the cameralistner class present in

Re: [android-porting] SDK v.s. SDK-addon v.s. hardware build.

2011-01-19 Thread David Turner
On Wed, Jan 19, 2011 at 7:06 AM, freakingtux kees.jongenbur...@gmail.comwrote: Hello, I am trying to understand how to deploy and use the different Android platform make targets. I am working with the following cases: Case-1) I will need to make small modifications to the standard Android

[android-porting] Re: Enable and disable ADB Driver initialization dynamically

2011-01-06 Thread David Turner
nto android-ndk related, try android-porting On Thu, Jan 6, 2011 at 3:42 PM, b_hirawat b.hirawa...@gmail.com wrote: HI, I am trying to enable and disable ADB driver initialization dynamically in my android device. I have tried to block the ADB initialization in adb_function_init(void)

[android-porting] Is there a standard for updating a system ?

2010-12-28 Thread David Lynch Jr.
I am bringing up android on a new device. There is a requirement to be able to update, the bootloader, Linux, the rootfs, ... as needed over the net. Before I start re-inventing the wheel, I am trying to check if there is a standard way of managing systems updates. I have tried

[android-porting] 64bit ubuntu10.04 build android error

2010-12-21 Thread David
Hi guys, I am trying to build android under 64 bit ubuntu server 10.04, but got the error message that: fcc_offset != 128 at external/webkit/JavaScriptCore/pcre/dftables line 109. make: *** [out/target/product/tcc8900/obj/STATIC_LIBRARIES/ libjs_intermediates/chartables.c] Error 25 At first i

[android-porting] Re: porting CUPS to android

2010-12-21 Thread David Chkhikvadze
I'm going to clean it up and post the instructions here when it's done. I would be very thankful, I am basically trying to accomplish the very same goal. Is there any chance you would share binaries too? On Dec 4, 9:13 pm, Charlie Hamilton charleeh1...@gmail.com wrote: I have an update on

Re: [android-porting] How to permanently mount a SD card in android-x86 OS?

2010-12-18 Thread David Turner
Please use the android-x86 forums instead, not the official Android ones, for such questions. On Sat, Dec 18, 2010 at 5:22 PM, 捷超 王 ee07b...@gmail.com wrote: The SDCARD variable methods provided on http://www.android-x86.org/documents/sdcardhowto seems only suitable for temporarily mount a a

Re: [android-porting] Re: Native code segfault on Tegra2

2010-12-16 Thread David Turner
system image. Howe do you run the code exactly? Is it through JNI or calling a standalone executable from the adb shell? If all else fails, I will root it (Viewsonic gTablet) and see if changing the ulimit will produce a core dump. Thanks, Howard On Dec 14, 2:14 am, David Turner di

Re: [android-porting] libgps.so on emulator?

2010-12-01 Thread David Turner
The SDK system images contain /system/lib/hw/libgps.goldfish.so which implements the GPS implementation for the emulated session. Source code is available under sdk/emulator/gps/ On Fri, Nov 26, 2010 at 2:59 PM, Dudero sinfanh...@googlemail.com wrote: Hello, I do not understand why I can not

Re: [android-porting] Android build issue

2010-10-26 Thread David Turner
That's right, the emulator is built as a 32-bit binary, so you need 32-bit development libraries for it to work. On Tue, Oct 26, 2010 at 9:38 AM, Przemyslaw Wegrzyn pwegr...@codepainters.com wrote: On 10/26/10 4:37 PM, Butchi Peddi wrote: I am trying to build android source on Ubuntu(9.10)

Re: [android-porting] CANNOT LINK EXECUTABLE

2010-10-26 Thread David Turner
Probably a problem in the dynamic linker. You should try to enable debug traces to get more information. See bionic/linker/linker_debug.h and the end of bionic/linker/linker.c for more details. On Tue, Oct 26, 2010 at 12:38 PM, jakiee janghwa...@gmail.com wrote: I ran the Eclair code on superH

Re: [android-porting] Is it or will it be possible to install a driver through an app?

2010-10-17 Thread David Turner
Installing a kernel driver requires root access (for good reasons), applications are not allowed to do that. On Thu, Oct 7, 2010 at 7:29 PM, Andres Buritica and...@thelinuxkid.comwrote: Hi, I saw the release of the Netflix video out adapter for the iPhone and it made me wonder if something

[android-porting] SMDK6410 android lcd porting

2010-09-26 Thread david
Hi, ALL I got a SMDK6410 EVB and tried to port android on this platform. Now the kernel can works and LCD logo can be displayed, but when changed to android there is no display and i also didn't see ANDROID... logo on the lcd. Have you ever met this situation? Can anybody give me some hints? the

[android-porting] Re: [Error ] annot find symbol symbol : method log(java.lang.String)

2010-09-22 Thread David Turner
Please avoid cross-posting !! this should go into android-developers only. On Wed, Sep 22, 2010 at 6:57 PM, Atul Raut atul.dr...@gmail.com wrote: Hi I have imported import android.os.Message; still giving error. On Wed, Sep 22, 2010 at 10:24 PM, Atul Raut atul.dr...@gmail.com wrote: Hi am

Re: [android-porting] Error when build Froyo for Emulator

2010-08-29 Thread David Turner
You should select 1 (Device); the simulator is something different than the emulator, and I'm not sure it's supported anymore anyway. hope this helps On Sat, Aug 28, 2010 at 4:13 PM, Tung Dang tung...@gmail.com wrote: Hi all , I build the Android system image (Froyo) for emulator mode and

[android-porting] Re: Regarding Camera Service

2010-07-27 Thread David Grimfors
Sorry, I can´t help you since I haven´t tried using CameraService except through the Camera.cpp. On 19 Juli, 05:27, Raghu raghavendrars...@gmail.com wrote: hi David, Thank you for your idea. After following your thought I got stuck. Here is the explanation. I created camera client in UI

Re: [android-porting] libc in dynamic linker

2010-07-18 Thread David Turner
The dynamic linker uses a special version of the static c library. The shared c library is used by other shared libraries and dynamic executables. Prelinking is only an optimization used to speed up shared library loading and reducing their sizes. It is not required. Regards. On Friday, July

[android-porting] Re: Regarding Camera Service

2010-07-13 Thread David Grimfors
CameraService accepts only one client at a time. One of your processes will have to go through the other. Regards David On 13 Juli, 10:50, Raghu raghavendrars...@gmail.com wrote: Hi, I am trying to access Camera Service from two different process (1 is java application process and other

Re: [android-porting] Android Kernel Vs Linux Kernel.

2010-07-07 Thread David Turner
On Wed, Jul 7, 2010 at 5:57 AM, sanjeev sharma sanjeevsharmae...@gmail.comwrote: Hi, Let me tell you that to run Android on Linux kernel you need Android specific driver to Linux kernel like. Belows is feature of an Android based kernel. 01). GoldFish : Qemutrace , FB

Re: [android-porting] boot speed -- scan package, IO buffering, and prefetch

2010-06-24 Thread David Turner
The problem is that you didn't count the time to do the cat in your overall benchmark. Hence, the savings you present are purely hyptohetical, even if you implement prefetching. On Sun, Jun 20, 2010 at 4:31 PM, Tomei tomei.ninge...@gmail.com wrote: Hello, It seems package scanning speed is

Re: [android-porting] Android Openssl library - libcrypto.so and libssl.so

2010-06-22 Thread David Turner
Remove libdl from your LOCAL_SHARED_LIBRARIES, and add LOCAL_LDLIBS += -ldl instead in your Android.mk The Android.mk is for a full system/firmware build, and assumes that libdl is going to be built at the same time than libssl. For the NDK, you need to tell your libcrypto/libssl to rely on the

Re: [android-porting] Building android without debug symbols

2010-06-14 Thread David Turner
I'm not sure to understand what you want, but the debug symbols are removed from the system images by default by the build. On Mon, Jun 14, 2010 at 4:21 AM, yogesh embedded.yog...@gmail.com wrote: Hi, I am trying to build android eclair without debug symbols for hawkboard, so that its

Re: [android-porting] How to make the emulator work with the Custom Android IMage

2010-05-28 Thread David Turner
use -show-kernel to get kernel messages, and -logcat '*:v' to get logcat traces, that should tell you a lot about what's going wrong. On Thu, May 27, 2010 at 11:32 PM, gopu gopuraj...@gmail.com wrote: Hi , Created a custom Android Image Its working in real hardware.But in emulator its not

Re: [android-porting] Regarding Toolchain

2010-05-21 Thread David Turner
The toolchain sources live at kernel.org, to get them try: repo init -u android.git.kernel.org/toolchain/manifest.git -b master repo sync Alternatively, NDK r4 comes with several scripts that can help your download / build / install them. See ndk/build/tools/rebuild-all-prebuilt.sh On Fri, May

  1   2   3   >