[android-porting] New adb features pushed to master

2009-08-26 Thread Mike Lockwood
s or other devices without device-side USB support. Mike -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

Re: [android-porting] Debugging apps with ADB via USB OTG

2009-12-18 Thread Mike Lockwood
n the > hardware , we cannot use emulator to debug. > Kindly help me to fix this issue. > > > Thanks and Regards > Fasil > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > --

Re: [android-porting] gpstest for emulator is not working

2010-07-01 Thread Mike Lockwood
and did not complete its > test. > > Can anyone help how to perform gpstest on emulator? > > Thanks > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > -- Mike Lockwood Google and

[android-porting] Re: Filesystems (yaffs2, jffs2 and nfs)

2008-11-18 Thread Mike Lockwood
ot;Android was not able to >>> >>>>>> boot onyaffs2". What were the actual error messages? Did the >>> >>>>>> kernel >>> >>>>>> hang, or the init process? >>> >>> >>>>>> Best Regards, >>> >>>>>> Gergely >>> >>> >>>>>> On Thu, Nov 6, 2008 at 4:18 PM, Markus <[EMAIL PROTECTED]> wrote: >>> >>> >>>>>>> Hi, >>> >>> >>>>>>> as I wrote in Android Internals, we ported Android to an i.MX31. >>> >>>>>>> Unfortunately, we have some issues with the file system. >>> >>>>>>> If I use NFS as file system with a modified init.rc config, >>> >>>>>>> everything >>> >>>>>>> seems to work well, but this is no option for us as permanent >>> >>>>>>> file >>> >>>>>>> system, so we decided to useyaffs2as file system. As this did not >>> >>>>>>> work (Android was not able to boot), we changed to jffs2. jffs2 >>> >>>>>>> boots >>> >>>>>>> fine as long as we use a read-only file system. After booting, we >>> >>>>>>> can >>> >>>>>>> start many applications, but it seems that those requiring file >>> >>>>>>> write >>> >>>>>>> operations fail to start, e.g. the webbrowser. If we change >>> >>>>>>> init.rc >>> >>>>>>> config to give file-write permissions, Android is not able to >>> >>>>>>> boot >>> >>>>>>> anymore. >>> >>> >>>>>>> So we have decided to use a mixture ofyaffs2and jffs2, after we >>> >>>>>>> saw >>> >>>>>>> this idea at the armv4 port. The basic idea is, that all mmap >>> >>>>>>> operations are done onyaffs2, as jffs2 does not support them. At >>> >>>>>>> the >>> >>>>>>> moment, we split the file system to two parts: /data is located >>> >>>>>>> on our >>> >>>>>>> yaffs2partition, everything else on our jffs2 partition. The >>> >>>>>>> system >>> >>>>>>> boots fine and we can run every application. But now, it is >>> >>>>>>> getting >>> >>>>>>> confusing: As soon as Android has finished booting, it is >>> >>>>>>> impossible >>> >>>>>>> to write/delete files in /data/app - if we do, we get a kernel >>> >>>>>>> panic, >>> >>>>>>> which reports FileObserver to fail. This does not happen, if we >>> >>>>>>> do >>> >>>>>>> file accesses before Android has finished its booting process. >>> >>> >>>>>>> Remembering that we had some cases, in which it was necessary to >>> >>>>>>> start >>> >>>>>>> the system with strace running in the background (and discarding >>> >>>>>>> the >>> >>>>>>> log), I booted theyaffs2/jffs2 system with strace in the >>> >>>>>>> background. >>> >>>>>>> Now, I am able to access files in /data/app, I just get "syscall: >>> >>>>>>> unknown syscall trap 0xe1a0" reported to my debug console. In >>> >>>>>>> this >>> >>>>>>> mode, it is also possible to run applications directly from >>> >>>>>>> Eclipse on >>> >>>>>>> the target device. >>> >>> >>>>>>> So can anybody tell me what is going wrong, if I use ayaffs2only >>> >>>>>>> file system? And why does strace heal those problems with >>> >>>>>>> ayaffs2/ >>> >>>>>>> jffs2 system? It just makes the system slower... >>> >>> >>>>>>> bye >>> >>>>>>> Markus >> > >> > > > > -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: USB fastboot PC tools anyone?

2008-11-19 Thread Mike Lockwood
http://dl.google.com/android/android_usb_windows.zip MIke On Wed, Nov 19, 2008 at 7:40 AM, Shirish <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > Is the fastboot available for the windows xp as well? > > > Thanks, > -Shirish > > On Nov 5, 6:43 pm, "Mike Lockwood" &

[android-porting] Re: Filesystems (yaffs2, jffs2 and nfs)

2008-11-19 Thread Mike Lockwood
which made > me think that maybe I should go seriously scan over the mountd configuration > to make certain it wasn't broken (and it was). Yay! > > Sincerely, > Jay Freeman (saurik) > [EMAIL PROTECTED] > http://www.saurik.com/ > > --

[android-porting] Re: Filesystems (yaffs2, jffs2 and nfs)

2008-11-20 Thread Mike Lockwood
partition map" case > (which I didn't realize would ever come up: sorry about that). > > I have submitted this as this new patch: > http://review.source.android.com/r/1964942af0f1 > > Sincerely, > Jay Freeman (saurik) > [EMAIL PROTECTED] > http://www.saurik.c

[android-porting] Re: adb USB gadget driver now available

2008-11-24 Thread Mike Lockwood
the driver to match VID/PID used by your device. Mike > Regards, > Shivdas > > > Mike Lockwood wrote: >> FYI - a USB gadget driver for adb is now available: >> >> http://android.git.kernel.org/?p=kernel/common.git;a=commit;h=fc20ff5191502a6c0bb9e112cea56feea8d12

[android-porting] Re: USB fastboot PC tools anyone?

2008-12-07 Thread Mike Lockwood
nApi.a was: dlltool --def $(LOCAL_PATH)/AdbWinApi.def --dllname AdbWinApi.dll --output-lib $(LOCAL_PATH)/AdbWinApi.a It might need a bit of adjusting to work within the new build system. Since we aren't supporting building on Windows this hasn't been a priority to fix. Mike > > > >

[android-porting] Re: ADB over TCP IP

2009-01-21 Thread Mike Lockwood
430 board an IP. How can now connect to >> the board using a windows machine(host). >> >> After searching for this information I have got a way from a linux >> machine using the below commands: >> >> # Killall –a adb >> #

[android-porting] Re: Can i call Ril function from Location Manager?

2009-03-14 Thread Mike Lockwood
s_qemu.c (the implementation for the emulator) as an example of how to do this. Then in your BoardConfig.mk, add: BOARD_GPS_LIBRARIES := libgps to tell the build system to use your library rather than the stubbed out implementation of the GPS API. Mike -- M

[android-porting] Re: Can i call Ril function from Location Manager?

2009-03-16 Thread Mike Lockwood
Config.mk you refer to in the directory of /libhardware/gps/?  Or > somewhere? Thanks again. > > 2009/3/15 Mike Lockwood >> >> On Sat, Mar 14, 2009 at 4:32 AM, Nio wrote: >> > >> > Hi all, >> > >> > Is there any possibilities to call Ril inter

[android-porting] Re: how to report gps sv status

2009-03-18 Thread Mike Lockwood
> android_location_GpsLocationProvider_wait_for_event > > Can anyone tell me how to give a correct value to > ephemeris_mask,almanac_mask and used_in_fix_mask that base on the > above debug info . > > > -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: a2dp on android

2009-03-19 Thread Mike Lockwood
set. This is fixed in the latest cupcake - now ringtones will play out both the speaker and headset. I expect this will be fixed in master after JBQ finishes merging the latest cupcake changes. Mike -- Mike Lockwood Google android team --~--~-~--~~~---~--~~

[android-porting] Re: how to report gps sv status

2009-03-19 Thread Mike Lockwood
ver don't report which satellite has > ephemeris_mask and almanac_mask . > > On 3月18日, 下午10时48分, Mike Lockwood wrote: >> The ephemeris_mask, almanac_mask and used_in_fix_mask are bit fields >> based on the PRN for the satellites. The bit numbers are one less >>

[android-porting] Re: a2dp on android

2009-03-19 Thread Mike Lockwood
erged say the ringtones, will play on the BT head-set right ? > would it try and use a2dp ? > > Just thinking what can I change for the same to be played over hsp/hfp, > that's all... > > regards, > Pavan > > On Thu, Mar 19, 2009 at 7:29 AM, Mike Lockwood wrote: >&

[android-porting] Re: [Kernel Panic] in case of building adb composite gadget dynamically

2009-03-20 Thread Mike Lockwood
x0/0x68) from [] (load_module+0x25c/ > 0x14ec) >  r8:c902f36c r7:0014 r6:c902f0c0 r5:0028 r4:21c4 > [] (load_module+0x0/0x14ec) from [] > (sys_init_module+0x54/0x > 188) > [] (sys_init_module+0x0/0x188) from [] > (ret_fast_syscall+0x0 > /0x2c) >  r7:0080 r6:bed98f14 r5:80b4 r4:00026010 > Code: e3120002 1281 e24c2020 e1a03002 (e5b3c020) > Kernel panic - not syncing: Fatal exception in interrupt > > > -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Can somebody provide a gps test app?

2009-03-26 Thread Mike Lockwood
rking on the logistics for releasing the source code. I'll let you know when it is ready. Mike -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Can somebody provide a gps test app?

2009-04-14 Thread Mike Lockwood
On Thu, Mar 26, 2009 at 10:37 AM, Mike Lockwood wrote: > On Thu, Mar 26, 2009 at 7:40 AM, Nio wrote: >> >> Hi, >> >> Can anybody provide a gps test app? Thanks. > > I am working on a GPS test application, but it only works on cupcake. > It also uses Maps,