[android-porting] Re: Android porting on Qemu

2009-02-18 Thread indra dutt
No issues Avtar... I understand that. On Wed, Feb 18, 2009 at 11:26 AM, Avtar Singh s.av...@gmail.com wrote: It would be really great if you can forward any e-book on that. I don't have any. You should be able to get started with the details on the Android website. I thought I asked a

[android-porting] Re: Porting Android on Freescale IMX31 board

2009-02-18 Thread daniel.himmel...@googlemail.com
Hi, I found a solution to the x-panning issue. Simply replace FBIOPUT_VSCREENINFO with FBIOPAN_DISPLAY for i.MX31 boards. See also http://groups.google.com/group/android-porting/browse_thread/thread/e939f7e86a555892 On 17 Feb., 17:05, mvniekerk mvniek...@gmail.com wrote: Seems as though there

[android-porting] How to set a UID of my apk to AID_ROOT or AID_SYSTEM?

2009-02-18 Thread Alex
I use the SystemProperties.set, but it failed when check the permit, how could I set my.apk to AID_SYSTEM? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] How to set a UID of my apk to AID_ROOT or AID_SYSTEM?

2009-02-18 Thread Alex
I use the SystemProperties.set, but it failed when check the permit, how could I set my.apk to AID_SYSTEM? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Porting Android on Freescale IMX31 board

2009-02-18 Thread mvniekerk
Tested it, man it works like a charm! For those who don't know (or too lazy to read the threads :-) ), change all FBIOPUT_VSCREENINFO to FBIOPAN_DISPLAY in frameworks/base/ libs/ui/EGLDisplaySurface.cpp On Feb 18, 11:37 am, daniel.himmel...@googlemail.com daniel.himmel...@googlemail.com wrote:

[android-porting] PackageManager( 458): Package com.google.android.browser has mismatched uid: 1000 on disk, 10003 in setting

2009-02-18 Thread alvin
D/( 458): zip_openZipFile(/system/app/MasfProxyService.apk) D/( 458): zip_openZipFile(/system/app/SettingsProvider.apk) E/PackageManager( 458): Package com.google.android.browser has mismatched uid: 1000 on disk, 10003 in settings D/( 458):

[android-porting] Digital Sign,or Permission fidden: PackageManager( 458): Package com.google.android.browser has mismatched uid: 1000 on disk, 10003 in setting

2009-02-18 Thread alvin
D/( 458): zip_openZipFile(/system/app/Browser.apk) E/PackageManager( 458): Package com.google.android.providers.telephony has mismatched uid: 1000 on disk, 1001 in settings why there are so many mismatch uid with the setting uid, could you help me analysis out? anther question: it

[android-porting] Re: Camera Object in Video Capture Case

2009-02-18 Thread steve2641
Dave, Can you explain a little further on what you mean when you say enable a subset of safe API's? Since a good percentage of the interface configuration is handled by the Camera Parameters, and the Camera Parameters are pretty much an direct interface between the App and the Camera HAL, I'm

[android-porting] Re: Camera Object in Video Capture Case

2009-02-18 Thread Dave Sparks
I don't want to add another API to MediaRecorder. We can add another parameter to the setParameter interface in the camera HAL to indicate if the call comes from the owner of the camera. The camera driver is then responsible for preventing other callers from changing anything that might affect

[android-porting] Re: How to set a UID of my apk to AID_ROOT or AID_SYSTEM?

2009-02-18 Thread David Turner
You can't, all applications must have an UID that is = 1 on Android. Do you seriously expect to run an application as root ? On Wed, Feb 18, 2009 at 10:59 AM, Alex yu.linu...@gmail.com wrote: I use the SystemProperties.set, but it failed when check the permit, how could I set my.apk to

[android-porting] Re: How to determine requirements for porting Android?

2009-02-18 Thread ppmoore
Rizavan and Eric, Many thanks for the replies. They have been most helpful, especially the link about the port to the Nokia N810. Best regards, Paul On 18 feb, 08:26, Rizvan S porting.begin...@gmail.com wrote: Plz check my reply.. On Mon, Feb 16, 2009 at 5:30 AM, ppmoore polom...@gmail.com

[android-porting] Re: How to determine requirements for porting Android?

2009-02-18 Thread Rizvan S
Good, Let me know if you need anymore details. On Wed, Feb 18, 2009 at 9:16 AM, ppmoore polom...@gmail.com wrote: Rizavan and Eric, Many thanks for the replies. They have been most helpful, especially the link about the port to the Nokia N810. Best regards, Paul On 18 feb, 08:26,

[android-porting] Re: How to set a UID of my apk to AID_ROOT or AID_SYSTEM?

2009-02-18 Thread Dianne Hackborn
Not even the system process runs as root. :) On Wed, Feb 18, 2009 at 8:53 AM, David Turner di...@android.com wrote: You can't, all applications must have an UID that is = 1 on Android. Do you seriously expect to run an application as root ? On Wed, Feb 18, 2009 at 10:59 AM, Alex

[android-porting] Re: Digital Sign,or Permission fidden: PackageManager( 458): Package com.google.android.browser has mismatched uid: 1000 on disk, 10003 in setting

2009-02-18 Thread Dianne Hackborn
Your data got out of sync with your system build, you'll need to wipe the data partition. On Wed, Feb 18, 2009 at 6:12 AM, alvin huzhan...@gmail.com wrote: D/( 458): zip_openZipFile(/system/app/Browser.apk) E/PackageManager( 458): Package com.google.android.providers.telephony has

[android-porting] HTC dream compile option for G1

2009-02-18 Thread henry.lon...@gmail.com
Hi, I tried to compile HTC dream for G1, and I found the compile option used for G1, which has -march=armv5te -mtune=xscale -mthumb. It looks like the G1 core is ARM1136J(F)-S, so should we use compile option like -mcpu=arm1136j-s for armv6 instead of armv5te? Also for application that are cpu

[android-porting] I can't enable my USB mass storage in Android kernel.

2009-02-18 Thread ebmajor
Hi all, I'm trying to use my USB mass storage (8GB USB memory stick) on Android. But I can not enable it. I've tried almost everything I can so please give me any idea what I should do. Here is my booting log. I'm using 8GB USB stick. I hope I can get any ideas here.

[android-porting] There is mtdblock0,1,2 partitions but I can't see mtdblock0,1,2 under the /dev.

2009-02-18 Thread ebmajor
Hi all, Here is my situation. Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 init=/ init console=ttyS0,38400 mem=64M / # cat /proc/ partitions major minor #blocks name 31 0256 mtdblock0 31 1 4096 mtdblock1 31 2 28416 mtdblock2 8 0

[android-porting] Re: logcat can't display all log?

2009-02-18 Thread Alex
maybe need change the log level in init.rc?? On Feb 17, 11:30 am, forest forest...@gmail.com wrote: for example: void fun() {     static int c = 0;     LOGI(call func() %d, ++c); } the log sometimes display call func() 1 call func() 5 call func() 8 .. when debug PVMFStatus

[android-porting] Re: How to set a UID of my apk to AID_ROOT or AID_SYSTEM?

2009-02-18 Thread Alex
I want to set one property items, but my default UID is AID_COMPRASS, My means is how to change the UID, of course, set to AID_SYSTEM/ AID_ROOT may as well. On Feb 19, 12:53 am, David Turner di...@android.com wrote: You can't, all applications must have an UID that is = 1 on Android. Do

[android-porting] Re: There is mtdblock0,1,2 partitions but I can't see mtdblock0,1,2 under the /dev.

2009-02-18 Thread Sean McNeil
Hi, Did you look in both /dev and /dev/block? ebmajor wrote: Hi all, Here is my situation. Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 init=/ init console=ttyS0,38400 mem=64M / # cat /proc/ partitions major minor #blocks name 31 0256 mtdblock0 31

[android-porting] Re: There is mtdblock0,1,2 partitions but I can't see mtdblock0,1,2 under the /dev.

2009-02-18 Thread ebmajor
Oh! Should I use /dev/block/mtdblock2 instead of /dev/mtdblock2? I can see the /dev/block/mtdblock2. On Feb 18, 5:49 pm, Sean McNeil seanmcne...@gmail.com wrote: Hi, Did you look in both /dev and /dev/block? ebmajor wrote: Hi all, Here is my situation. Kernel command line:

[android-porting] Re: There is mtdblock0,1,2 partitions but I can't see mtdblock0,1,2 under the /dev.

2009-02-18 Thread Sean McNeil
The Android init process is what sets up the devices and they are not always in the main /dev directory. It places those in /dev/block, so yes that is what you should use. Cheers, Sean ebmajor wrote: Oh! Should I use /dev/block/mtdblock2 instead of /dev/mtdblock2? I can see the

[android-porting] Re: There is mtdblock0,1,2 partitions but I can't see mtdblock0,1,2 under the /dev.

2009-02-18 Thread ebmajor
thank you! so much Sean! On 2월19일, 오전11시07분, Sean McNeil seanmcne...@gmail.com wrote: The Android init process is what sets up the devices and they are not always in the main /dev directory. It places those in /dev/block, so yes that is what you should use. Cheers, Sean ebmajor wrote:

[android-porting] why does the code seem specific to msm platform ?

2009-02-18 Thread pavan savoy
Hi, I was surprised to see, bluetooth.c in bluedroid/ directory to find, access(/dev/ttyHS0... sort of code ? What does this mean ? That every platform should name its high-speed UART port as /dev/ttyHS*, or else have a service named hciattach_legacy? It simply doesn't make sense. Also,

[android-porting] How to build new version of emulator

2009-02-18 Thread Android_Learner
I would like to know How can i build new binary images of the following. Kernel-Qemu. System.Img , UserData.Img Ramdisk.Img Purpose: I want to exclude some un necessary component from the Android which i do not want im my version of Android. How can i go about that? Any help on this would be

[android-porting] Re: why does the code seem specific to msm platform ?

2009-02-18 Thread Nick Pelly
Hi Pavan, On Wed, Feb 18, 2009 at 9:31 PM, pavan savoy pavan.sa...@gmail.com wrote: Hi, I was surprised to see, bluetooth.c in bluedroid/ directory to find, access(/dev/ttyHS0... sort of code ? What does this mean ? Do you mean this code? /* TODO: Remove this once legacy hciattach is

[android-porting] alsa-lib error during porting android to beagle

2009-02-18 Thread Harishkumar V
Hi, i have download recent manifest from android git source. also, beagle-android-2.6.27 kernel from beagle wiki page. i followed all the instructions as mentioned in the wiki. i am getting error, arget StaticLib: libasound