Author Topic: Google Android Installable Image Available!  (Read 559662 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #60 on: January 12, 2008, 01:08:00 pm »
Quote from: anil
It would be really great if someone can give some input/suggsetions regarding this.
Can the pre-built Android binaries run on ARMv6 compatible machines? How do we move forward and get the framework properly working on our custom hardware?

Warm Regards,
Anil

i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices...

EDITED: just found that while googling:
http://benno.id.au/blog/2007/11/21/android-neo1973
« Last Edit: January 12, 2008, 01:21:54 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Google Android Installable Image Available!
« Reply #61 on: January 12, 2008, 03:47:41 pm »
Quote from: jpmatrix
i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices...

EDITED: just found that while googling:
http://benno.id.au/blog/2007/11/21/android-neo1973

hmm, very interesting. I concur with the conclusion - google are unlikely to release sufficient source to android's OS to allow it to be recompiled for any processor.
Possibly slightly interesting point of history. When Arm first release their processors with the thumb instruction set, my employer won a contract to do some testing on it to take a bunch of example programs and verify they worked and compare execution speeds and code sizes etc.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Android Zaurus

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://androidzaurus.seesaa.net
Google Android Installable Image Available!
« Reply #62 on: January 12, 2008, 07:39:06 pm »
Quote from: speculatrix
hmm, very interesting. I concur with the conclusion - google are unlikely to release sufficient source to android's OS to allow it to be recompiled for any processor.

I'm looking forward to hte source codes of /init and qwerty.kcm.bin.

The /init source will explain where setprop/getprop saves runtime parameter. The qwerty.kcm may be only a filter module but without source code we don't know how to customise for Zaurus.



By the way, regarding Anil's ARM6 porting, I guess EABI support is required.

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #63 on: January 13, 2008, 06:17:43 am »
I'm trying to get this thing to work on my C1000, but this is giving me some headaches. I did some traces to find out what is happening, and I get following socket error during the start of runtime:

Code: [Select]
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused)
close(3)                = 0

On the working SL-C3100 version this looks like:

Code: [Select]
socket(PF_FILE, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_FILE, path=@property_service}, 19) = 0
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\200\", 4}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {5}}, msg_flags=0}, 0) = 4
mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 5, 0) = 0x40000000
close(5)                = 0
close(4)                = 0

Any ideas what the reason could be?
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

studio

  • Newbie
  • *
  • Posts: 3
    • View Profile
Google Android Installable Image Available!
« Reply #64 on: January 13, 2008, 07:00:09 am »
Hi

I'm hoping to get this working on a C1000 but unfortunately my knowledge of Linux is limited. It would be great if you could share in steps how to do it once you manage to get it working.

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #65 on: January 13, 2008, 03:28:35 pm »
Quote from: cortez
I'm trying to get this thing to work on my C1000, but this is giving me some headaches. I did some traces to find out what is happening, and I get following socket error during the start of runtime:

Code: [Select]
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused)
close(3)                = 0

On the working SL-C3100 version this looks like:

Code: [Select]
socket(PF_FILE, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_FILE, path=@property_service}, 19) = 0
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\200\", 4}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {5}}, msg_flags=0}, 0) = 4
mmap2(NULL, 32768, PROT_READ, MAP_SHARED, 5, 0) = 0x40000000
close(5)                = 0
close(4)                = 0

Any ideas what the reason could be?

I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched.
Quote
* if you have jffs2 for / patch /init
* modify with hexedit : "/system_property" -> "/tmp/sy_property"
* NOTE: jffs2 does not support memory mapped file
I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated.
« Last Edit: January 13, 2008, 03:41:32 pm by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

osteron

  • Newbie
  • *
  • Posts: 6
    • View Profile
Google Android Installable Image Available!
« Reply #66 on: January 13, 2008, 04:39:30 pm »
Quote from: cortez
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched.
Quote
* if you have jffs2 for / patch /init
* modify with hexedit : "/system_property" -> "/tmp/sy_property"
* NOTE: jffs2 does not support memory mapped file
I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated.

Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part.

stuffman

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • http://www.dylanpowell.net/zaurus
Google Android Installable Image Available!
« Reply #67 on: January 13, 2008, 08:09:55 pm »
Alright, maybe I'm an idiot, but can someone give me a step-by-step of what I need to type to get the android stuff extracted the right way?

So far, I have a clean install of Angstrom on my C-860 and the android-root.tar.gz on my CF card. What do I do from here?
[span style=\'font-size:8pt;line-height:100%\']SL-C860 Running pdaXrom 1.1.0beta1.
5GB Seagate ST-1 Microdrive from Rio Carbon, Asst. Other CF Cards.
512MB Sandisk SD.
AmbiCom WL1100C-CF WiFi Card.
Some GPS Card I Can't Remember...
Palm Tungsten Retractable Stylus (If You're Not Using These, You're Missing Out!).
[/font][/span]

Android Zaurus

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://androidzaurus.seesaa.net
Google Android Installable Image Available!
« Reply #68 on: January 13, 2008, 10:20:32 pm »
Quote from: osteron
Quote from: cortez
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched.
Quote
* if you have jffs2 for / patch /init
* modify with hexedit : "/system_property" -> "/tmp/sy_property"
* NOTE: jffs2 does not support memory mapped file
I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated.

Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part.

We want the source code of init!

I was lucky to have C-3000, which is equipped with versatile ATA HDD. For the NAND model, yaffs2 might need to be ported.

Cortez, what happens if you go back to run Xzygote, dbus-daemon, runtime instead of init?

anil

  • Newbie
  • *
  • Posts: 2
    • View Profile
Google Android Installable Image Available!
« Reply #69 on: January 14, 2008, 12:07:49 am »
Quote from: jpmatrix
Quote from: anil
It would be really great if someone can give some input/suggsetions regarding this.
Can the pre-built Android binaries run on ARMv6 compatible machines? How do we move forward and get the framework properly working on our custom hardware?

Warm Regards,
Anil

i don't know if it is really true but i read somewhere that android can only be run under ARMV5te devices...

EDITED: just found that while googling:
http://benno.id.au/blog/2007/11/21/android-neo1973


Thanks a lot for this input Does that mean the ARMv6 machines are not backward compatible with ARMv5 instructions?

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #70 on: January 14, 2008, 01:57:27 am »
Quote from: Android Zaurus
Quote from: osteron
Quote from: cortez
I just installed Angstrom (x11-image-glibc-ipk-2007.12) and tried to see if it works. Same applies here, connection errors on property_service. According to the article here the init executable needs to be patched.
Quote
* if you have jffs2 for / patch /init
* modify with hexedit : "/system_property" -> "/tmp/sy_property"
* NOTE: jffs2 does not support memory mapped file
I patched the init-exec but that didn't help. This isn't the way I expecting this to work. Any help is much appreciated.

Perhaps they got it to work because their /tmp is assigned to ramfs and not to the jffs2 part.

We want the source code of init!

I was lucky to have C-3000, which is equipped with versatile ATA HDD. For the NAND model, yaffs2 might need to be ported.

Cortez, what happens if you go back to run Xzygote, dbus-daemon, runtime instead of init?

Running init segfaults after reading the /etc/init.d file. Running zygote, dbus-daemon and runtime instead generates the timeouts. After a long time it displays ++post-zygote, but the timeouts prevent it from continuing I guess.
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

JohnX

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #71 on: January 14, 2008, 03:18:51 am »
When I had it working on my C1000 zaurus I was running it off of an ext3 formatted USB stick.
Zaurus SL-C1000 - Linux 2.6.22 - Angstrom/Debian dual boot - Ambicom 802.11b - 1GB Corsair SD
Nokia N800 - 2GB PQI SD card
Zaurus SL-5500 - OZ 3.5.3/Hentges T2/Opie - 64MB Lexar SD card

Android Zaurus

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://androidzaurus.seesaa.net
Google Android Installable Image Available!
« Reply #72 on: January 14, 2008, 08:19:38 am »
Help Wanted!

I tried an applet called MusicDroid which can be downloaded from here.
http://www.helloandroid.com/node/166

It is an MP3 player which can play MP3 files on SD card.
http://www.helloandroid.com/node/134

It's an interresting applet to have, isn't it?

But it didn't work on my Android Zaurus.

If you have your Androided Zaurus ready, please let me know how it works on your Z.

Quick instruction for test.
1) Download MusicDroid.zip
2) Unzip it and copy bin/MusicDroid.apk to you android-root/data/app.
3) Load your favorite MP3 files on to an SD card.
4) Boot Android up and click MusicDroid in app folder.
5) See what happens.

o Are MP3 files enumelated correctly?
o Can you hear MP3 file played back?

My case, MP3 files are not listed. Neither I can listen to any sound. I posted an article to my blog on this issue.

Two more issues: sdcard and sound
http://androidzaurus.seesaa.net/article/78452267.html

Thanks,

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #73 on: January 14, 2008, 10:56:31 am »
Quote from: JohnX
When I had it working on my C1000 zaurus I was running it off of an ext3 formatted USB stick.

What did you use to do that, Altboot?
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #74 on: January 14, 2008, 02:32:42 pm »
Pfew, just to let you all know. I finally did it, Android is working on my SL-C1000. I'll post more info on my blog shortly, including downloads and installation instructions. After this I think it will be a piece of cake to set things up on the C7x0 and C860 series. More on that later.
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]