[android-porting] Re: pppd on android for x86, and kernel crash!!

2009-04-01 Thread cxh
what is err message of the kernel crashed? Then comparing with System.map file to debug it. On 4月1日, 下午6时19分, "ehung1...@gmail.com" wrote: > Hi everyone > I build pppd for x86 and I met a problem. > > target Executable: pppd (out/target/product/eee_701/obj/EXECUTABLES/ > pppd_intermediates/LINKE

[android-porting] Re: Error about building adb for windows

2009-04-01 Thread allendroid
Hi, David I want to build adb and fast boot. So i do the modification in 'make_windows_sdk.sh', as below . build/envsetup.sh make adb fastboot || die "Build failed" Add your note, and run again, it terminated without any prompt.So what would i do? Should i do any other modification i

[android-porting] Re: Problem when initing root file systems

2009-04-01 Thread aow
"Warning: unable to open an initial console. "Plz check your console configure. android init is complex,try to use busybox init first,and then manually run android init. On 4月1日, 上午1时11分, huymq85 wrote: > thanks for reading. > I changed zImage to > >          root=/dev/mtdblock2 rootfstype=cramfs

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Chen Yang
Thanks for let us know your plan. Then would you like to share the anticipated date for the refactored code? Thanks. -- Chen On Thu, Apr 2, 2009 at 1:46 PM, Dianne Hackborn wrote: > On Wed, Apr 1, 2009 at 10:41 PM, Chen Yang wrote: >> >>   Yes, eee_701 is using the mid policy at present. And t

[android-porting] Re: About VideoView Issue, Please help to post

2009-04-01 Thread Dave Sparks
Does your SurfaceFlinger implementation support scaling? The assumption is that SurfaceFlinger will scale the frame buffer to the size of the SurfaceView. The VideoView widget calculates a fixed size for the surface that will maintain the correct aspect ratio. This size may be larger or smaller t

[android-porting] Re: HF Bluetooth Device connection.

2009-04-01 Thread vishy
Hello Nick, thanks for the information. Regards, Vishy On Apr 1, 10:02 pm, Nick Pelly wrote: > On 4/1/09, vishy wrote: > > > > >  Hello , > > >  During our testing with one of Android Phone,we noticed ,after we Pair > >  and Connect a Bluetooth Stereo HF device to the phone,if we power > >  c

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Dianne Hackborn
On Wed, Apr 1, 2009 at 10:41 PM, Chen Yang wrote: > Yes, eee_701 is using the mid policy at present. And that policy > doesn't seem well maintained. It is not maintained at all. Actually I am close to deleting it from the tree because it is completely not in sync with the current cupcake tre

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Chen Yang
Dianne: Yes, eee_701 is using the mid policy at present. And that policy doesn't seem well maintained. -- Chen On Thu, Apr 2, 2009 at 12:42 PM, Dianne Hackborn wrote: > Um, those classes certainly should exist.  Unless you are trying to build > with the "mid" policy, which I am sure at this

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Brian
I'm playing with x86 android in the vmware. The mouse does not work. Is this the case? I'm using keyboard. What's the keyboard button that's corresponding to the menu button on the phone? Thanks, Brian On Apr 1, 9:13 pm, Chen Yang wrote: > hi Brian: >   You may need to modify the framework/bas

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Brian
Hi Chen, Finally, Android booted successfully ! Thanks for all the help. I need to connect to it using adb, but I don't know its ip address. In my phone, I'm using an terminal emulator I downloaded from the market... Thanks, Brian On Apr 1, 9:13 pm, Chen Yang wrote: > hi Brian: >   You may nee

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Dianne Hackborn
Um, those classes certainly should exist. Unless you are trying to build with the "mid" policy, which I am sure at this point is utterly broken. On Wed, Apr 1, 2009 at 9:13 PM, Chen Yang wrote: > > hi Brian: > You may need to modify the framework/base/preloaded-classes to > remove those non ex

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Brian
Hi Androidphan, What paths did you use? I can't exactly figure out all paths for all the following defs. AC_ONLINE_PATH USB_ONLINE_PATH BATTERY_STATUS_PATH BATTERY_HEALTH_PATH BATTERY_PRESENT_PATH BATTERY_CAPACITY_PATH BATTERY_VOLTAGE_PATH BATTERY_TEMPERATURE_PATH BATTERY_TECHNOLOGY_PATH Is AC_O

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Chen Yang
hi Brian: You may need to modify the framework/base/preloaded-classes to remove those non existing classes. And you can reference Androidphan's reply in this thread. You may encounter the NFE and NPE, reference this: http://groups.google.com/group/android-porting/msg/64eb5a0158e6b815 and A

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Brian
The system is trying to run zygote, but I got the following error. I'm attaching my logcat output. E/Zygote ( 2126): Zygote died with exception E/Zygote ( 2126): java.lang.IllegalStateException: Missing class(es) for preloading, update preloaded-classes [com.android.internal.policy.impl.PhoneLa

[android-porting] Why do we need external/fdlibm other than use libm in Bionic?

2009-04-01 Thread KevinWang
Hello, I saw the code is using fdlibm in external/, I tried to modify the code to make Android to use the libm in Binoic, it seems work, does anybody know the reason that we need a seperate external project fdlibm other then use bionic/libm directly? Regards -Kevin --~--~-~--~~--

[android-porting] Re: ALSA Compile Error

2009-04-01 Thread lihongxia8...@gmail.com
some method you do not write , maybe the method of openinputstream On Mar 25, 10:35 am, Sean McNeil wrote: > archerypp wrote: > > I have updated my Android to the latest one using 'repo sync'. > > That was a mistake. The main Android repo is currently broken.ALSAwill > not be updated until main

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Chen Yang
Cool. It seems that you don't have the essential process: zygote. You can check the logcat messages to see what was happenning. Thanks. -- Chen On Thu, Apr 2, 2009 at 8:09 AM, Brian wrote: > > Hi all, > > I finally managed to boot android x86 with vga=788 option without > black screen in vmware

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Brian
Hi all, I finally managed to boot android x86 with vga=788 option without black screen in vmware. Thanks for all the help! I'm trying to go to the next step. Even with vga=788 option, I don't see GUI. Why? Instead, I get a shell prompt. Here's the list of system processes stored under /system/bi

[android-porting] SensorManager file descriptor shared?

2009-04-01 Thread Huaka‘i Po
(reposting from android-framework) Hi all, is the file descriptor in SensorManager.java global to all threads? In setting up the event dispatch thread for sensor events, there is a call ParcelFileDescriptor fd = service.getDataChanel(); getDataChanel() eventually winds up calling open_data_source

[android-porting] Re: how to test bluetooth handset/handsfree without phone module

2009-04-01 Thread pavan savoy
Hey look @ this, I connected to headset via the UI [pairing & connecting...], then I run scotest -s and then you can hear a faint noise, on the headset, and then hcidump also shows 7F being written, I guess SCO connection is fine. Nick, Can you suggest, how I can go about streaming a media ? fr

[android-porting] Re: how to test bluetooth handset/handsfree without phone module

2009-04-01 Thread pavan savoy
Well. What does scotest do ? send ? I know it does something, take a look regards, Pavan On Wed, Apr 1, 2009 at 3:46 AM, katherine wrote: > > Hi Pavan/Nick, > Thanks much for your guide! > > Nick, > I'm sorry I don't familar for the java app, if possible, could you > please give me some more

[android-porting] Re: porting android to omap3 evm

2009-04-01 Thread haritha uppalapati
hi Have you set the permission for data and system. from the following lines from your logs permissions 3>init: Unable to open persistent property directory /data/property errno: 2 init: Unable to open persistent property directory /data/property errno: 2 Do the following as root or sudo $cd ~/

[android-porting] Re: Toolchain for ARMv4 not ARMv4T

2009-04-01 Thread Jean-Baptiste Queru
To be a bit more explicit, we've looked around for devices with pre-ARMv4T instruction sets that'd be likely to run the entire Android stack acceptably, and didn't find any significant enough candidate to justify efforts in that area (especially given the magnitude of the efforts). JBQ On Wed, A

[android-porting] Re: Dalvik VM init failed (check log file)

2009-04-01 Thread fadden
On Mar 30, 11:51 pm, Anand Android wrote: > is the version source tree that ran on ppc still available ? > if so,is it advisable to use it now and can you point me to that source tree ? Looking at the perforce history, the axe was dropped on PPC support in June 2007. So, no. :-| --~--~

[android-porting] Re: Toolchain for ARMv4 not ARMv4T

2009-04-01 Thread fadden
On Apr 1, 3:09 am, shannon chuang wrote: > Goolu has released one for ARMv4T (for neo 1973 and freerunner which core is > ARM920T). > > But my target CPU only support ARMv4 (not ARMv4T, no thumb). >From bionic/libc/arch-arm/include/machine/cpu-features.h: # elif defined __ARM_ARCH_4__ #err

[android-porting] Re: Byte code format

2009-04-01 Thread fadden
On Apr 1, 7:29 am, Zhubham wrote: > I am keen on understanding how the DVM works and finally what's the > format of the generated byte code. Can anyone please recommend a > weblink for this. In the git sources, dalvik/docs/ has some useful documents. You can find them on the web here: http:

[android-porting] Re: HF Bluetooth Device connection.

2009-04-01 Thread Nick Pelly
On 4/1/09, vishy wrote: > > Hello , > > During our testing with one of Android Phone,we noticed ,after we Pair > and Connect a Bluetooth Stereo HF device to the phone,if we power > cycle the HF device,the phone does not connect back both HF and A2DP > profiles ,we noticed,most of the time it

[android-porting] Re: Cupcake sensors problem

2009-04-01 Thread David Turner
Maybe taking a look at development/emulator/sensors/sensors_qemu.cpp would help. It contains the emulator-specific support for sensors in the system, but implements the sensor API expected by libhardware. On Wed, Apr 1, 2009 at 5:09 PM, sm7xab wrote: > > Hi! > > I'm trying to use the sensors API

[android-porting] Re: About VideoView Issue, Please help to post

2009-04-01 Thread jerryfan2000
Hi Mr. Sparks, I have same problem on eeepc using i915 video driver. On Mar 24, 11:17 am, Dave Sparks wrote: > Thevideobit rate is a little higher than the G1 officially supports. > What device are you testing it on? > > On Mar 23, 10:26 am, "chiaminghu...@gmail.com" > > wrote: > > Dear Dave Sp

[android-porting] HF Bluetooth Device connection.

2009-04-01 Thread vishy
Hello , During our testing with one of Android Phone,we noticed ,after we Pair and Connect a Bluetooth Stereo HF device to the phone,if we power cycle the HF device,the phone does not connect back both HF and A2DP profiles ,we noticed,most of the time it is only A2DP. we are trying to analyze th

[android-porting] Re: a2dp on android

2009-04-01 Thread pavan savoy
Ok, frankly, I haven't tested HSP/HFP kind of doing it now. But from the initial view, MODE_IN_CALL, is either speakers or hsp/hfp. so no A2DP. Ok, even try this, play a ringtone, from Menu->Sound&Display-> It's played over the speakers, and not a2dp even if it is connected. So, I am thinking, hsp

[android-porting] Re: a2dp on android

2009-04-01 Thread vishy
Hello All, Sorry for writing into this thread.The context of my question kind of fits into this discussion. We noticed that when we've connected a Bluetooth Stereo Headset,an incoming call alert ,heard on the Bluetooth headset,includes beeps and some music(happens only on Stereo Bluetooth device

[android-porting] Cupcake sensors problem

2009-04-01 Thread sm7xab
Hi! I'm trying to use the sensors API in Cupcake. Sadly, I find it is somewhat poorly documented and not much example code is available. Have used the overlay.cpp as a model for my sensor and I think I have initialized what needs to be initialized. However, my sensors module doesn't get loaded

[android-porting] HTTP://WWW.FASHION4BIZ.com.COM wholesale cheap jordans,china nike factory jordans wholesale,cheap jordan spiz'ikes,air jordan factory directn,jordan mixed with air force one new st

2009-04-01 Thread nikeshoes1...@gmail.com
HTTP://WWW.FASHION4BIZ.com.COM wholesale cheap jordans,china nike factory jordans wholesale,cheap jordan spiz'ikes,air jordan factory directn,jordan mixed with air force one new style,cheap air force ones outlet,authentic nike af1s,air force 1 xxv'07 anniversary edition premium,custom nike sb dunk

[android-porting] Number of Bluetooth Connections

2009-04-01 Thread vishy
Hi , During our initial testing with Android Phones(Using Cupcake build) we noticed that the phone connects to more than one BT HF device.Can anyone share some information on the number of devices Android phones can connect to via Bluetooth! Like ,can we connect Phone A to HFP only Headset and P

[android-porting] Byte code format

2009-04-01 Thread Zhubham
Hi, I am keen on understanding how the DVM works and finally what's the format of the generated byte code. Can anyone please recommend a weblink for this. As such, i am looking for the size of Code Segment, Data Segment, Stack, Heap. How can I find these details for any Android application writt

[android-porting] Re: ALSA sound: Unable to attach mixer

2009-04-01 Thread Michael Trimarchi
Hi, Androidphan wrote: > Something is wrong with my asound.conf I guess. > > If I just put this in my asound.conf: > ctl.AndroidPlayback { > type hw > card 0 > } > > ctl.AndroidRecord { > type hw > card 0 > } > > I'm now getting: > > E/AudioHardwareALSA( 2162): Una

[android-porting] Re: ALSA sound: Unable to attach mixer

2009-04-01 Thread Androidphan
Something is wrong with my asound.conf I guess. If I just put this in my asound.conf: ctl.AndroidPlayback { type hw card 0 } ctl.AndroidRecord { type hw card 0 } I'm now getting: E/AudioHardwareALSA( 2162): Unable to attach mixer to device AndroidPlayback: Permi

[android-porting] Re: ALSA sound: Unable to attach mixer

2009-04-01 Thread Michael Trimarchi
Hi, Androidphan wrote: > Android is not booting at the moment. I tried building it with ALSA > support. > When booting it gets a segfault on mediaserver and tries to restart it > over and over. > > The logcat errors are: > > I/( 2182): ServiceManager: 0x804abe0 > E/ALSALib ( 2182): extern

[android-porting] ALSA sound: Unable to attach mixer

2009-04-01 Thread Androidphan
Android is not booting at the moment. I tried building it with ALSA support. When booting it gets a segfault on mediaserver and tries to restart it over and over. The logcat errors are: I/( 2182): ServiceManager: 0x804abe0 E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909: (

[android-porting] Re: Error about building adb for windows

2009-04-01 Thread David Turner
If you only want to build adb, you should try the following: . build/envsetup.sh lunch generic-eng m adb that should be sufficient to rebuild adb.exe only, which will be located in out/host/windows/bin/adb.exe On Wed, Apr 1, 2009 at 5:48 AM, allendroid wrote: > > Hi all, > > I got headache of a

[android-porting] Re: Error about building adb for windows

2009-04-01 Thread allendroid
One line prompt "expr: syntax error", that's under path build \envsetup.sh Does this cause envsetup.sh could not generate the total makefiles? Thank you. On Apr 1, 11:59 am, Jean-Baptiste Queru wrote: > I think you have to make the SDK first under linux, and then use the > output to build the Wi

[android-porting] Re: How to let Android friend with my wifi driver?

2009-04-01 Thread aow
you need run dhcpd to get ip address On 3月31日, 下午7时38分, stater wrote: > Hi everybody, > > My wifi UI in wireless Controls always display "Unable to start Wi- > Fi". > But, I could run step as below: > > 1.insmod dhd.ko > 2.download firmware > 3.ifconfig eth0 up > > Then, I could use WL tools to

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread Manish Sharma
Hi Sean, In our case display base register is not shadow register but still I will try doing base address update in pan_display. Thanks, MS On Wed, Apr 1, 2009 at 6:08 PM, Sean McNeil wrote: > > The code below assumes that the change in the display base address > happens immediately. If you ha

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread Sean McNeil
The code below assumes that the change in the display base address happens immediately. If you have an architecture that provides shadow registers, then you want to set them in pan_display and not in the isr and just wait for the VSYNC. Manish wrote: > Hi Jay, > > I missed one thing in the psu

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread Manish
Hi Jay, I tried disabling "CONFIG_HARDIRQS_SW_RESEND" but still the situation is same. I agree with you if the data is sent between two vsync it will produce tearing. In my case out of below 5 applications only "Translucent GLSurfaceView" is giving tearing other applications are working fine. A

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Chen Yang
Cool! Then google has modified the battery service related code. -- Chen On Wed, Apr 1, 2009 at 5:15 PM, Androidphan wrote: > > This is why Android is not booting: > > I/SystemServer( 6925): Starting Battery Service. > E/BatteryService( 6925): Could not open '/sys/class/power_supply/ac/ > onlin

[android-porting] Re: pppd on android for x86, and kernel crash!!

2009-04-01 Thread ehung1...@gmail.com
Hi everyone I build pppd for x86 and I met a problem. target Executable: pppd (out/target/product/eee_701/obj/EXECUTABLES/ pppd_intermediates/LINKED/pppd) out/target/product/eee_701/obj/EXECUTABLES/pppd_intermediates/main.o: In function `open_ccp': external/ppp/pppd/main.c:1438: undefined refere

[android-porting] Toolchain for ARMv4 not ARMv4T

2009-04-01 Thread shannon chuang
Hi, I'm newbie in Android. As I know, the prebuild toolchain in Android source is for ARMv5. Goolu has released one for ARMv4T (for neo 1973 and freerunner which core is ARM920T). But my target CPU only support ARMv4 (not ARMv4T, no thumb). Is there anyone knows where can get one to support AR

[android-porting] Re: Keyboard mapping for Android

2009-04-01 Thread Claw
MS, Thank you. I have dropped the WAKE_DROPPED and the stuff works. Now I can continue. great input. Thanks. On Apr 1, 1:46 pm, Manish Sharma wrote: > Hi Claw, > > Check for "What is WAKE_DROPED in qwerty.kl?" subject mail on Feb26th. It > might be helpful for you. > > Regards, > MS > > On We

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread arden jay
Hi Manish, My point is, if you disable/enable irq at each pan display, you will encounter that kernel resend the interrupt. Not the real hardware vsync triggers. So, if you check your waveform, you will find you send out data between two vsync interval. If you cross the next vsync, you will get

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Androidphan
This is why Android is not booting: I/SystemServer( 6925): Starting Battery Service. E/BatteryService( 6925): Could not open '/sys/class/power_supply/ac/ online' E/BatteryService( 6925): Could not open '/sys/class/power_supply/usb/ online' E/BatteryService( 6925): Could not open '/sys/class/power

[android-porting] About porting dalvik to Symbian

2009-04-01 Thread Tony Chang
Does porting dalvik runtime to Symbian be feasible? Can anybody give some suggestion? S60 has a P.I.P.S library which supports POSIX APIs. I don't how hard it will be to port dalvik to symbian. I post this message to android-platform. They suggest me to post it here. --~--~-~--~~--

[android-porting] Re: how to test bluetooth handset/handsfree without phone module

2009-04-01 Thread katherine
Hi Pavan/Nick, Thanks much for your guide! Nick, I'm sorry I don't familar for the java app, if possible, could you please give me some more detail? 1. I don't know how to make the startVoiceRecognition() be called, I even don't find any voice recognition app on my platform. 2. For the debug prop

[android-porting] Re: Keyboard mapping for Android

2009-04-01 Thread Manish Sharma
Hi Claw, Check for "What is WAKE_DROPED in qwerty.kl?" subject mail on Feb26th. It might be helpful for you. Regards, MS On Wed, Apr 1, 2009 at 1:46 PM, Claw wrote: > > Hello All, > > I have read this forum for the keyboard porting requirements followed > all of them but with no success. > > I

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread Manish
Hi Jay, I missed one thing in the psuedo code. pan_display() { 1. gets the yoffset(0/480) and updates the display base address in a global variable 2. enables the interuppt on vertical sync 3. waits for event } isr() { 1. clears the interrupt 2. gets the base address from global va

[android-porting] Re: Tearing issue with OpenGL

2009-04-01 Thread Manish
Thanks Jay, Yes you are right I am using ARM based board and vsync is edge triggered. >> You will probably need to enable irq at request_vsync(). (I think it is >> better than put it in pan_display()) Can you please give some more details regarding the request_vsync()? Regards, MS On Mar 30,

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-04-01 Thread Androidphan
It looks like it ain't the AppWidget service. It gives a NULL pointer exception in (SystemServer.java:332). That line says: boolean safeMode = wm.detectSafeMode(); That looks like wm is never created, so this code is never called: Log.i(TAG, "Starting Window Manager."); wm = WindowMa

[android-porting] Keyboard mapping for Android

2009-04-01 Thread Claw
Hello All, I have read this forum for the keyboard porting requirements followed all of them but with no success. I have done the following: 1. I tried using the http://beagleboard.googlecode.com/files/evtest.c when the android is running. It returns proper values of the events being generated.