[android-porting] Re: In call screen

2010-03-25 Thread eternity
Kernel 2.6.29 and Android Eclair (2.1)... On Mar 26, 9:24 am, Neo wrote: > On Mar 25, 11:29 pm, eternity wrote: > > > > > I am working on porting Android on a ARM based platform. I observed > > that, when there is call active and after few seconds screen go > > blackif other end disconnects

[android-porting] ALSA: Waiting for sevice media.audio_policy...

2010-03-25 Thread abukustfan
Hi, Thanks for reply! Yes, I can get my device info at pcm0p and pcm0c. For example, pcm0p shows # ls /proc/asound/card0/pcm0p/ oss sub0 info # cat /proc/asound/card0/pcm0p/info card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: [MY DEVICE NAME] name: subname: subdevice #0 class: 0 subclass: 0 su

[android-porting] Re: android build sequence

2010-03-25 Thread Neo
On Mar 19, 9:21 am, chungae9ri wrote: > Hi, I am analyzing the build flow of android. > I inserted the messages like print log and I lost after the build/core/ > main.mk. > what is the next step or makefile that is executed after main.mk? The build is a huge set of nested makefiles. Your prints

[android-porting] Re: Please help me to proceed further

2010-03-25 Thread Neo
On Mar 22, 6:21 pm, Venkat wrote: > hi Experts, > > I am Venkat, I am new to Android porting, I would like to port > android. I have done the works as per the instruction from this > websitehttp://source.android.com/download, I have done the make once > getting the things form the repo sync. I n

[android-porting] Re: In call screen

2010-03-25 Thread Neo
On Mar 25, 11:29 pm, eternity wrote: > I am working on porting Android on a ARM based platform. I observed > that, when there is call active and after few seconds screen go > blackif other end disconnects the call, the screen remains black > and there is no Call Disconnect UI is coming on th

[android-porting] Re: Android hangs on execution init from initramfs with "Kernel panic - not syncing: Attempted to kill init!"

2010-03-25 Thread Neo
I feel some of your kernel configs could be off. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting To unsubscribe from this group, send email to android-porting+unsubscribegooglegroups.com or reply to this email with the words

[android-porting] Re: alsa: In valid type of nonblock

2010-03-25 Thread ani
It would be better if you ask alsa mailing list these questions. ># alsa_amixer -c 0 ># alsa_aplay -l >shows my devices info correctly. Check whether your device nodes are getting created or not. It should be /proc/asound/card0/pcm0P -Playback device /proc/asound/card0/pcm0C -Capture device If

Re: [android-porting] Re: Extending KeyEvent (or another way of adding new KeyCodes)

2010-03-25 Thread Dianne Hackborn
Sorry I forgot to review this. Could you rebase and upload a new patch, and I will submit it? Thanks. On Thu, Mar 25, 2010 at 6:33 PM, Chih-Wei wrote: > Why do you need to add new keycode if it only has 4 buttons? > What functions do you expect to add? > > If you really want to do, see my patc

Re: [android-porting] Extending KeyEvent (or another way of adding new KeyCodes)

2010-03-25 Thread Dianne Hackborn
We request that you contribute a patch for any new keycodes you would like, so that we can maintain a single, consistent list of keycodes for the platform. On Thu, Mar 25, 2010 at 12:06 PM, Ashwin Bihari wrote: > I've got a device that has 4 buttons that are indeed by an application > that will

[android-porting] Re: Extending KeyEvent (or another way of adding new KeyCodes)

2010-03-25 Thread Chih-Wei
Why do you need to add new keycode if it only has 4 buttons? What functions do you expect to add? If you really want to do, see my patch for how to add PageUp & PageDown to android. https://review.source.android.com/#change,10065 (it is verified, but I don't understand why it's still not been ad

[android-porting] Re: Android hangs on execution init from initramfs with "Kernel panic - not syncing: Attempted to kill init!"

2010-03-25 Thread abukustfan
Hi, seem your framebuffer driver is fine. At least it did not hang on "page flipping not supported". Now, I thinks the problem is here. > > select 1714 (sh), adj 0, size 34, to kill > > select 1715 (servicemanager), adj 0, size 38, to kill > > select 1716 (vold), adj 0, size 57, to kill > > selec

Re: [android-porting] Re: Crashing while playing m4a file.

2010-03-25 Thread Deva R
I'm not sure why we should see this on new codec integration. Regular aac cdoec was tested in L25.12 drop.. http://www.omappedia.com/wiki/L25.12_Release_Notes 'll keep you posted if i get some hint/updt.. in mean time, can you post it to omapandroid-discuss...@gforge.ti.com? or check w zoom deve

[android-porting] Extending KeyEvent (or another way of adding new KeyCodes)

2010-03-25 Thread Ashwin Bihari
I've got a device that has 4 buttons that are indeed by an application that will run on this device. Initially I went the route of modifying the KeyEvent.java file and adding new KEYCODE entries for these buttons. That approach worked but required recompiling a custom SDK that included these define

[android-porting] Re: Number of metadata keys doesn't match between OpenCORE & MediaMetadataRetriever.java

2010-03-25 Thread RaviY
Thanks. Will make the change. On Mar 25, 12:41 am, NoraBora wrote: > There is a METADATA_KEY_WRITER in > > frameworks/base/include/media/mediametadataretriever.h > frameworks/base/media/java/android/media/MediaMetadataRetriever.java > > but it is not considered in > > external/opencore/android/me

[android-porting] Re: H264 Decode Frame Distortion

2010-03-25 Thread RaviY
Please share the complete log from the omx base and video decoder nodes. -Ravi On Mar 24, 3:32 pm, scs sek wrote: > + Android porting > > On Wed, Mar 24, 2010 at 1:30 PM, scs sek wrote: > > Hello Ravi, > > > in pv_OMXComponent.cpp file the function > > OmxComponentBase::BufferMgmtFunction() is

[android-porting] Need help with PlatformLibrary sample

2010-03-25 Thread MBethDev
Hi, Awhile back I wrote some customized code that modified the underlying framework to perform some tasks I needed to do. Unfortunately, that implementation was coupled and statically compiled with the rest of the android framework code, which I soon learned was not supported practice. I was the

[android-porting] In call screen

2010-03-25 Thread eternity
I am working on porting Android on a ARM based platform. I observed that, when there is call active and after few seconds screen go blackif other end disconnects the call, the screen remains black and there is no Call Disconnect UI is coming on the screen. During digging this problem, I found,

[android-porting] Re: Crashing while playing m4a file.

2010-03-25 Thread anupama
Hi Deva, Thanks for your reply. I am working on donut-25.12 on Zoom2 platform. As m4a uses AAC codec for decoding ,I am testing with that. >From the stack trace using arm-eabi-addr2line I got to know that the crashing is happening in SendInputBufferToComponent() -> getMediaFragments(). Can you

Re: [android-porting] How to visit bootloader control block(BBC) for factory mode reset

2010-03-25 Thread Porting beginner
On Wed, Aug 12, 2009 at 7:13 PM, Hadwin wrote: > > > Hi all, > > I don't know where is the bootloader control block(BCB), is it > also a mtd partition? > > Can you tell how to read/write from the part? > > My bsp is qualcomm's. > > Thanks very much. > > Hi I am not sure but as

[android-porting] Re: Adding GPRS to Android with an external modem

2010-03-25 Thread Prakash A S
Hello Mike, I am trying to connect an external modem with Mini2440 board on Android. Can you guide me how to do this. -Prakash On Mar 23, 11:22 pm, ms12 wrote: > We are trying to get GPRS support with an external modem on Android > 1.6 running on a Beagleboard.  The modem is working fin

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
Hi, On Mar 25, 2010, at 8:26 PM, Elvis Dowson wrote: I was wondering if I perhaps change the init.rc file to mount yaffs2 m...@system / mount yaffs2 m...@system / ro remount chown system system /system chmod 0771 /system Making those changes allowed me to boot, but Im'm getting

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
Hi, I've found something. When I prepare my rootfs image, initially in /bin I have a few files like zcat.zip for example. Now, in that same rootfs, I have a /system/bin folder which contains the android servicemanager, vold executables, etc. Upon booting from NAND, the /system/bin folde

[android-porting] Utilizing PRODUCT_PACKAGE_OVERLAYS with mm

2010-03-25 Thread Mike
The PRODUCT_PACKAGE_OVERLAYS mechanism seems to work with a full make or make Foo. I think this makes sense because the PRODUCT_PACKAGE_OVERLAYS are placed in the top level product makefile. But I'm wondering is there a way to point the build system to use the overlay when building a single compo

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
Hi, If I do a ls -l on the root / folder, I get the following permissions drwxrwx--x 1 1000 1000 2048 Jan 1 00:00 data drwxrwx--x 1 1000 1000 2048 Jan 1 00:00 system I can't see the group system defined, I just get a 1000 group id as above. What should I do ? My init.rc file looks like

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
Hi, I tried making the changes to make the /system rw and changed the permissions. Here are the modifications that I made to init.rc # mount mtd partitions # Mount /system rw first to give the filesystem a chance to save a checkpoint mount yaffs2 m...@system /system mount yaffs2

[android-porting] Re: Android hangs on execution init from initramfs with "Kernel panic - not syncing: Attempted to kill init!"

2010-03-25 Thread supermaximus79
Hello guys! Could you tell me please, what do you think about log meggases in my previous letter? In previous messages you told that framebuffer driver for android must have double buffering. I found in the internet some articles which describe android frame buffer. Here they are: http://pdk.andro

Re[2]: [android-porting] Re: Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Максим Андрущенко
Patch for u-boot 2009.03 in attachment. Good luck! Thu, 25 Mar 2010 08:55:55 -0400 письмо от Ashwin Bihari : > Could you post that patch to U-boot please. > > Thanks > -- Ashwin > > > > On Thu, Mar 25, 2010 at 8:49 AM, supermaximus79 > wrote: > > I made a patch for u-boot 2009.3 which enab

[android-porting] Re: Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread supermaximus79
I can post patch for u-boot to support yaffs2 write, but i don't know how to attach files to messages here. Is it possible? On Mar 25, 2:57 pm, Elvis Dowson wrote: > Hi Deva, > > On Thu, Mar 25, 2010 at 3:54 PM, Deva R wrote: > > pls check > >http://groups.google.com/group/android-porting/msg/d3

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
Hi Deva, On Thu, Mar 25, 2010 at 3:54 PM, Deva R wrote: > pls check > http://groups.google.com/group/android-porting/msg/d303260bc1dbb08a > > can u cross check ur init.rc for proper MTD partition mounting sequence?? > > mount yaffs2 m...@system /system > mount yaffs2 m...@system /system ro remo

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Ashwin Bihari
Elvis, Appreciate the detailed writeup.. Deva, The links you provided are very helpful.. Thanks -- Ashwin On Thu, Mar 25, 2010 at 8:55 AM, Deva R wrote: > Hi Ashwin, > > u can check in below wiki.. > http://omappedia.org/wiki/Android_Getting_Started#Creating_Android.27s_File_System_for_NAND

Re: [android-porting] Re: Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Ashwin Bihari
Could you post that patch to U-boot please. Thanks -- Ashwin On Thu, Mar 25, 2010 at 8:49 AM, supermaximus79 wrote: > I made a patch for u-boot 2009.3 which enable nand write.yaffs2 > command. > > On Mar 25, 2:15 pm, Ashwin Bihari wrote: >> Guys, >> >> A slightly related question, since you'r

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Deva R
Hi Ashwin, u can check in below wiki.. http://omappedia.org/wiki/Android_Getting_Started#Creating_Android.27s_File_System_for_NAND Additional pointers http://omappedia.org/wiki/Android_Fastboot http://omappedia.org/wiki/Zoom_Flashing#Flashing_u-boot_and_xloader_to_nand On Thu, Mar 25, 2010 at 5:

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Elvis Dowson
> > > A slightly related question, since you're playing with NAND and > YAFFS2. Do you guys have a procedure handy on how to generate a YAFFS2 > RFS image and flash it to the NAND using U-boot? Also on how you flash > and load the Kernel from NAND would be great. Appreciate the > pointers.. > > *Pr

[android-porting] Re: Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread supermaximus79
I made a patch for u-boot 2009.3 which enable nand write.yaffs2 command. On Mar 25, 2:15 pm, Ashwin Bihari wrote: > Guys, > > A slightly related question, since you're playing with NAND and > YAFFS2. Do you guys have a procedure handy on how to generate a YAFFS2 > RFS image and flash it to the NA

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Ashwin Bihari
Guys, A slightly related question, since you're playing with NAND and YAFFS2. Do you guys have a procedure handy on how to generate a YAFFS2 RFS image and flash it to the NAND using U-boot? Also on how you flash and load the Kernel from NAND would be great. Appreciate the pointers.. Regards -- As

Re: [android-porting] Android system binaries disappearing when running from NAND and YAFFS2

2010-03-25 Thread Deva R
pls check http://groups.google.com/group/android-porting/msg/d303260bc1dbb08a can u cross check ur init.rc for proper MTD partition mounting sequence?? mount yaffs2 m...@system /system mount yaffs2 m...@system /system ro remount mount yaffs2 m...@userdata /data nosuid nodev mount yaffs2 m...@cach