[android-porting] Re: gears porting for X86 in Android

2009-06-16 Thread Chen Yang
I have raised the question about 5 months ago: http://groups.google.com/group/android-porting/browse_thread/thread/f34d9ff618f8fc50/5dcd265cd2b7e126?pli=1 While no response. Only google can do the that porting. -- Chen On Tue, Jun 16, 2009 at 1:33 PM, Yi Sun beyo...@gmail.com wrote: what does

[android-porting] Re: gears porting for X86 in Android

2009-06-16 Thread Yi Sun
Ok, that gears. :-) On Tue, 2009-06-16 at 14:06 +0800, Chen Yang wrote: I have raised the question about 5 months ago: http://groups.google.com/group/android-porting/browse_thread/thread/f34d9ff618f8fc50/5dcd265cd2b7e126?pli=1 While no response. Only google can do the that porting. --

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI ChenYang: It seemed that I have to dig into it to get the result. Thanks for your help. On 6月16日, 下午2时20分, Chen Yang sunsety...@gmail.com wrote: I have not met this kind of problem. I have successfully used the pcnet-pci card, also well as the e1000 desktop card with original 2.6.25

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI YiSun: No,such kind of thing can't happen twice,haha. BTW, I built the kernel in cupcake branch, and copy the built image and .config to the master' branch,everything is ok, just randomly the adb can't connect to the virtual box. Thanks! On 6月16日, 下午2时25分, Yi Sun beyo...@gmail.com

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread Chen Yang
oh, after the virtualbox restarts its kernel, you'd better repeat the adb kill-server and adb devices to let it scan for it. Otherwise, adb may not be able to find it. -- Chen 2009/6/16 GrainWang wlc...@yahoo.com.cn HI YiSun: No,such kind of thing can't happen twice,haha. BTW, I built

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread Yi Sun
Grain, Let's us know if it works for you or not. If it is solve your problem, I will make this thread into a wiki page. Yi On Tue, 2009-06-16 at 14:35 +0800, Chen Yang wrote: oh, after the virtualbox restarts its kernel, you'd better repeat the adb kill-server and adb devices to let it scan for

[android-porting] Re: Error in lowmemorykiller.c NR_ACTIVE' undeclared (first use in this function)

2009-06-16 Thread mizmit1222
Hi, - rem = global_page_state(NR_ACTIVE) + global_page_state (NR_INACTIVE); + rem = global_lru_pages(); Regarding configuration, check Documentations/Android.txt. And make sure *not* PMEM turned on. Good luck, On 6月16日, 午後1:44, Neo zingafri...@yahoo.com wrote: I am porting

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI YiSun,ChenYang: Thanks! It's solved,when using adb kill-server and adb devices as Chen recommended. It have none business with the kernel. I tried adb devices alone several times,but not used together with adb kill- server. I'm now upgrading the virtualbox to check whether it helps. On

[android-porting] where the media decoder is figured out for playback

2009-06-16 Thread Wenlong Li
Hello, I know Android supports several media types. My question is for a given media type input, such as H.264, where the corresponding media decoder is chosen for processing this media input? I suppose it is done in opencore based on the file extension and metadata? thx, wenlong

[android-porting] Re: ALSA on x86 - No sound

2009-06-16 Thread ehung
Hi Luca. I have follow your tips on wiki to implment alsa function. I have built the libaudio.so, alsa_ctl, alsa_amixer and alsa_aplay on android system. I use a aplayer application to test the alsa function, but the audio still not work. Could you give me some suggestion? Thank in advance.

[android-porting] Re: X86 ALSA Sound Issue

2009-06-16 Thread ehung
Hi dmoti I have follow your tips to implment alsa function. I have built the libaudio.so, alsa_ctl, alsa_amixer and alsa_aplay on android system. I use a aplayer application to test the alsa function, but the audio still not work. Could you give me some suggestion? Thank in advance. Best

[android-porting] Re: Working items for Android on X86

2009-06-16 Thread Yi Sun
After some offline discussions with others,here is the new list (not the final list). And I will post it on the wiki later. 1. project goal: To provide complete solution for Android on EeePC platforms first and then to provide solutions for common X86 platforms as well 2. working items: a. HW

[android-porting] Re: pre compiler macro for andriod

2009-06-16 Thread shiva
Thanks for information On Jun 15, 8:19 pm, David Turner di...@android.com wrote: it's declared by the build system. You can also try HAVE_ANDROID_OS which is declared in AndroidConfig.h which is automatically included by the build system too before any other file. On Mon, Jun 15, 2009 at

[android-porting] Re: ALSA on x86 - No sound

2009-06-16 Thread Androidphan
If you give some more information on your soundcard, errors, logcat etc. We can't do anything with more information. On Jun 16, 9:22 am, ehung ehung1...@gmail.com wrote: Hi Luca.      I have follow your tips on wiki to implment alsa function. I have built the libaudio.so, alsa_ctl,

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI ChenYang: When adb push a video and a jpg file into /sdcard,still got No media found, I added setprop EXTERNAL_STORAGE_STATE mounted in the end of init.rc. The following is the logcat message. Any suggestions? Thanks! I/ActivityManager( 2060): Starting activity: Intent {

[android-porting] Re: Error in lowmemorykiller.c NR_ACTIVE' undeclared (first use in this function)

2009-06-16 Thread Neo
On Jun 16, 12:10 pm, mizmit1222 mizmit1...@gmail.com wrote: Hi, - rem = global_page_state(NR_ACTIVE) + global_page_state (NR_INACTIVE); + rem = global_lru_pages(); Regarding configuration, check Documentations/Android.txt. And make sure *not* PMEM turned on. Good luck,

[android-porting] Re: ALSA on x86 - No sound

2009-06-16 Thread ehung
Hi Androidphan. I can launch alsa_aplay -l and audio card is listed. Launching alsa_aplay file.mp3 and it tells me unable to install hw params. Launching alsa_amixer -c 0, it has show some information below. Simple mixer control 'Master' ,0 Capabilities: pvolume pvolume-joined

[android-porting] Re: X86 ALSA Sound Issue

2009-06-16 Thread ehung
Hi all:. This is my test result below. Could someone give me some suggestion? I can launch alsa_aplay -l and audio card is listed. Launching alsa_aplay file.mp3 and it tells me unable to install hw params. Launching alsa_amixer -c 0, it has show some information below. Simple mixer control

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread Chen Yang
Check the /sdcard's permission, see whether you app has the write permission. -- Chen On Tue, Jun 16, 2009 at 4:32 PM, GrainWang wlc...@yahoo.com.cn wrote: HI ChenYang: When adb push a video and a jpg file into /sdcard,still got No media found, I added setprop EXTERNAL_STORAGE_STATE mounted

[android-porting] Re: How to get into command mode after booting in virtualbox

2009-06-16 Thread GrainWang
HI ChenYang: I can adb push the file into /sdcard, and to be safe, before playing file, I chmod 777 sdcard,so it should have no permission issue. Maybe it's related to thumbnail check or something, when i dig into the source code. But I'm not sure.Thanks! On 6月16日, 下午5时01分, Chen Yang

[android-porting] Re: Error in lowmemorykiller.c NR_ACTIVE' undeclared (first use in this function)

2009-06-16 Thread Neo
On Jun 16, 12:10 pm, mizmit1222 mizmit1...@gmail.com wrote: Hi, -       rem = global_page_state(NR_ACTIVE) + global_page_state (NR_INACTIVE); +       rem = global_lru_pages(); Regarding configuration, check Documentations/Android.txt. And make sure *not* PMEM turned on. Good luck,

[android-porting] error during make BUILD_TINY_ANDROID=true

2009-06-16 Thread ja...@work
Hi guys! I've got a problem during compliation :( I'm trying to port Android on a new arch, and I've been working around since last month. I tried to complile the tiny android configuration with my compiler and an arm arm architecture target just to have an idea of which problems would pop

[android-porting] Re: ALSA on x86 - No sound

2009-06-16 Thread Luca Belluccini
E/MediaPlayer: Unable to to create media player. It seems a MediaPlayer issue, not ALSAAudio. Issues are at high floors =) On 16 Giu, 10:52, ehung ehung1...@gmail.com wrote: Hi Androidphan. I can launch alsa_aplay -l and audio card is listed. Launching alsa_aplay file.mp3 and it tells me

[android-porting] Re: X86 ALSA Sound Issue

2009-06-16 Thread Luca Belluccini
It { seems to be / is } not possible. On 1 Mag, 02:49, penguins suf...@gmail.com wrote: Is is possible to add sound to eee pc without rebuilding android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-porting] Re: ALSA on x86 - No sound

2009-06-16 Thread Luca Belluccini
Alsa amixer will not work correcly. Never worked. Remember that if you built before without ALSA support, do a $ make clean There's something wrong in build phase: without clean libraries are not linked correctly. On 16 Giu, 10:52, ehung ehung1...@gmail.com wrote: Hi Androidphan. I can

[android-porting] Re: touchscreen tsc2102 on I.mx27

2009-06-16 Thread xro
i'm alone... please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-porting group. To post to this group, send email to android-porting@googlegroups.com To unsubscribe from this group, send email to

[android-porting] sdcard on real hardware

2009-06-16 Thread xro
hello, i have android's files on my sdcard. I boot with the initial file system and after i boot android with the chroot /mnt/mmc /init. it works fine but i can't mount my SD card... can you help me? i saw that i have to do 2 partition on my SD card (vfat and ext2)... i tried but it didn't

[android-porting] getting java exception during bootup

2009-06-16 Thread dhananjay
Hi All, I am trying to bring android on ppc64 platform .i have got whole android source almost compiled when i am trying to boot from target board not able to see UI screen.instaed of that on console it is throwing followingg exception. here i m attaching o/p of logcat. D/

[android-porting] Re: export the Term

2009-06-16 Thread xro
thanks, i just download the term.apk http://www.helloandroid.com/files/Term.apk and replace it... --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: touchscreen tsc2102 on I.mx27

2009-06-16 Thread Michael Trimarchi
Hi, xro wrote: i'm alone... please help Can you write to me? michael at panicking.kicks-ass.org so I can help you and share my experience on freerunner. Michael --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: where the media decoder is figured out for playback

2009-06-16 Thread Matthew Porter
On Jun 16, 2009, at 3:22 AM, Wenlong Li wrote: Hello, I know Android supports several media types. My question is for a given media type input, such as H.264, where the corresponding media decoder is chosen for processing this media input? I suppose it is done in opencore based on the

[android-porting] Invoking the PowerDialog

2009-06-16 Thread F H
Hi All, I want to cause the PowerDialog to pop up in response to an item on a menu (I have a button shortage) so that I can shut down. Do I do this by attaching an 'intent' to the menu option (if so which one), or send a message to a particular listener (what message and to who), or ... Thanks.

[android-porting] Service manager crashing after launch

2009-06-16 Thread Neo
After boot when the init launches the service manager it exits quickly and this happens a few more times which causes the system to reboot. What could be the cause of this crash? I am running android with 2.6.28 kernel but don't have all the configs enabled as listed in the goldfish_defconfig. Is

[android-porting] Re: Board up problem

2009-06-16 Thread hari uppalapati
Refer to http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board regards Haritha On Mon, Jun 15, 2009 at 6:11 AM, Sreehari anumanubhas...@gmail.com wrote: Hi Experts, I am fresher in android porting. I got the android sources from git repositories.I build the sources

[android-porting] Re: Invoking the PowerDialog

2009-06-16 Thread Dianne Hackborn
There is on way to do this, sorry. If you are customizing a phone you could add an IPC call to the window manager to poke into the policy class to have it shown. On Tue, Jun 16, 2009 at 7:56 AM, F H expelia...@googlemail.com wrote: Hi All, I want to cause the PowerDialog to pop up in

[android-porting] Porting android to PXA255

2009-06-16 Thread zhou kejun
Hi, Android can run on my YFDVK-255-I (PXA255) development board. I do it in my spare time, so there are some devices can not work yet. There is kernel public repo on github repo http://github.com/zhoukejun/android-2.6.27-yf255/tree/master. There is some photos:

[android-porting] sdcard problem

2009-06-16 Thread saxoappeal
Hi All: after making new system.img, I have made my dev phone G1 upgrade with my new system.img using fastboot process. everything looks fine, but I can't not use sdcard and the system can't detect sdcard. How can I fix this problem? Pleas help me...Thanks.

[android-porting] Re: Soft Keyboard stopped unexpectedly...

2009-06-16 Thread ertan...@gmail.com
Just not to leave this unanswered. This seems related to policy_mid. When I use it, the soft keyboard does not show up. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Soft Keyboard stopped unexpectedly...

2009-06-16 Thread Dianne Hackborn
The mid policy is not being maintained, and it would be surprising if it worked at all. I strongly suggest staying away from it. On Tue, Jun 16, 2009 at 11:30 AM, ertan...@gmail.com ertan...@gmail.comwrote: Just not to leave this unanswered. This seems related to policy_mid. When I use

[android-porting] Re: where the media decoder is figured out for playback

2009-06-16 Thread Wenlong Li
Thx very much. Very helpful information. On Tue, Jun 16, 2009 at 10:40 PM, Matthew Porter mpor...@embeddedalley.comwrote: On Jun 16, 2009, at 3:22 AM, Wenlong Li wrote: Hello, I know Android supports several media types. My question is for a given media type input, such as H.264,

[android-porting] android Boot up issue

2009-06-16 Thread muneendra kumar
Hi all, Iam using imx31 on my custom board. Iam using the latest PDK(3stack) board ,android bsp as my reference. I ahve all appliaed the patches provided by freescale and built my android image with the below command make PRODUCT-imx51_3stack-eng I changed BoardConfig.mk to Then turn on

[android-porting] CPU state

2009-06-16 Thread dan raaka
is there a way to know the state of the CPU, whether ON or OFF ? -Dan --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Service manager crashing after launch

2009-06-16 Thread Neo
On Jun 16, 7:38 pm, Neo zingafri...@yahoo.com wrote: After boot when the init launches the service manager it exits quickly and this happens a few more times which causes the system to reboot. What could be the cause of this crash? I am running android with 2.6.28 kernel but don't have all