[android-beginners] Re: Debug Android G1 on FreeBSD

2008-12-29 Thread Alexey Tarasov

to Markus:
 I was wondering if somebody uses FreeBSD to develop Android
 applications and is able to debug on the phone?

I've made port of Android SDK for FreeBSD. You may find prebuilt
version here (86 Mb): 
http://bsdroid.org/downloads/android-sdk_eng.taleks_freebsd-x86-20081116.zip

It was compiled on FreeBSD 8.0-CURRENT, I'm sure it must work on 7.x,
but may not work on 6.x. Archive was made via `gmake sdk`, so it's
content is same as for official SDK for other platforms and doesn't
include Eclipse plugin. All tools are working correctly as much as I
tested it.

Patches may be found at http://review.source.android.com in freebsd-
port branch.
Only small amount of it is merged to korg/master branch, so it's
impossible to compile Android sdk from vanilla sources from git
repository on FreeBSD host. I don't know when verifiers will check all
of them and result will be submitted to main branch. Additionaly to
compile from sources you need prebuilt SWT, flex, SDL libraries (all
sourceballs except SWT may be found at android.com ftp).

I've also added usb module for adb and fastboot, but as I've no G1 -
it can't be shipped to my country - I'm not sure it works properly. If
you'll be interested in it and have some time, I'd like to know if it
really works. It differs from Linux implementation (uses events,
instead of /dev modes enumerating), so it is more efficient, but not
confirmed to work :)

 I am just able to mount the G1 to read from the sd card but my phone
 isn't listed using adb devices.
I'm not sure it's possible to list this phone, while it is connected
as mass storage device.
Try usbdevs, or dmesg to see if any device was connected except mass
storage (sd).

Also, as Niklas Hallqvist stated, you may need to update compatibility
libraries, or update kernel.
Recently there were some improvements to Linux emulation code.
_AFAIK_, most of usb devices must work correctly in 7.x-RELEASE
branch.

to Niklas:
Are your patches available somewhere?

---
Best regards,
Alexey

PS:
I've sent reply to this message two hours ago, but it seems was not
posted, so I sent it again.
So, if it'll be posted twice, sorry for double post.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Debug Android G1 on FreeBSD

2008-12-28 Thread maecky

Thanks for your answer! I'm quite new to BSD and I don't think that
I'm able to solve the usb issue. But I will give it a try.

Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Debug Android G1 on FreeBSD

2008-12-27 Thread Niklas Hallqvist

I'm not quite there yet, but soon the build system should be ported
to OpenBSD at least, from there FreeBSD should be easy.  Most of the
BSD-related porting is done, it's just the USB parts left, I think.
Since I have yet to receive my phone, I have not prioritized that part,
but rather spent time on the emulator.  Since I'm not just doing the
OpenBSD porting, but also going to 64-bit host support, I have some
other issues I need fixed, and they're not simple to pinpoint at all.

To me it sounds like you are using linux emulation to try to connect
to the phone, and that that doesn't work.  That's not surprising, I have
not looked at FreeBSD, but I would be surprised if the USB device
controls are emulated.  I think you need a native port of the host tools.
If you are up to do such a port I can help.  If you are on a 32-bit i386
host, it's not very hard.

Niklas

maecky wrote:
 Hi!

 I was wondering if somebody uses FreeBSD to develop Android
 applications and is able to debug on the phone?

 I am just able to mount the G1 to read from the sd card but my phone
 isn't listed using adb devices.
 If anyone could help, I would be grateful.

 Regards Markus

 
   

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---