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

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« on: December 29, 2007, 04:52:50 pm »
Hi,

For the time being posted here in "General Discussion" since there is no dedicated Android subforum (yet). Tested on my SL-C3100, this is a small bootable Poky 2.6.23 kernel with a copy of the Android OS from the SDK (qemu) emulator.

Installation is done in the usual way:

1. Download zImage.bin, updater.sh, gnu-tar and android-root.tar.gz and copy the files to a SD card
2. Remove battery and power adapter cable
3. Wait for 5 seconds
4. Replace battery, close and lock battery cover
5. Attach power adapter cable
6. Keep OK button pressed while pressing on/off switch
7. From the Japanese menu, choose option 4 (Update), then 2 (SD) and finally Y

Flashing starts, and you are asked if you want to flash the kernel, if you want the microdrive to be formatted and if you want the root filesystem to be installed.
Accept all questions answering them with y

After flashing is complete, the machine is rebooted. Login with root and type /start to start Android.
This is the basic version, without any of the patches found across the Net.

Have fun, and share your results and findings here please!

Updated: There is a special version for the SL-C1000. Downloads and instructions can be found at www.omegamoon.com
Updated: A test version for the SL-C7x0 and SL-C860 can be downloaded from www.omegamoon.com. Please test and give feedback

Greetz,
cortez
« Last Edit: January 15, 2008, 03:52:41 am 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]

sds

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Google Android Installable Image Available!
« Reply #1 on: December 29, 2007, 07:36:18 pm »
Good job, cortez!
I just bought a used C3000 eBay specifically for experiments with Android and now flashed your image.
Looks quite quick... the network and rotate-to-landscape hacks would be nice to have setup.
How does one kill the GUI and get back to the shell prompt, what are the navigation keys (as the touchscreen is not working)?
Can you describe in more detail your build setup, especially the differences to original japanese one, if any?

I'll be spending time on this during the holidays, and even intend to install OpenEmbedded...
Thanks!
C3100 pdaXrom

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #2 on: December 30, 2007, 12:08:21 am »
excellent!  looking forward to testing
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #3 on: December 30, 2007, 12:09:26 am »
any hint about getting android on a 6k?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #4 on: December 30, 2007, 04:44:49 am »
I m trying to chroot your rootfs under my debian. It fails to launch with this error :
fatal error opening "/sys/android_power/acquire_partial_wake_lock"
any help ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #5 on: December 30, 2007, 09:18:38 am »
Quote from: jpmatrix
I m trying to chroot your rootfs under my debian. It fails to launch with this error :
fatal error opening "/sys/android_power/acquire_partial_wake_lock"
any help ?
jpmatrix,

To get things working on any 2.6.23 distro, including Debian, Poky, Angstrom etc just extract the /home/root/android and the /start script from andoid-root.tar.gz. Make sure to extract android in /home/root/android, otherwise it doesn't work. If /lib/modules/2.6.23/kernel/drivers/binder doesn't exist on your distro extract this also from andoid-root.tar.gz. Finally extract /doit to force the /start script to setup the binder module correctly.

Last but not least, use the tar -xzpf options (the p is important) to make sure you keep all permissions correct.

I hope I didn't miss anything, but I think this should do the trick.

Greetz,
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]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #6 on: December 30, 2007, 09:24:29 am »
Quote from: adf
any hint about getting android on a 6k?

If you have a 2.6.23 kernel running on your 6k, then read my previous post to get Android working. Shouldn't be any problem 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]

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Google Android Installable Image Available!
« Reply #7 on: December 30, 2007, 10:00:52 am »
Quote from: sds
Good job, cortez!
I just bought a used C3000 eBay specifically for experiments with Android and now flashed your image.
Looks quite quick... the network and rotate-to-landscape hacks would be nice to have setup.
How does one kill the GUI and get back to the shell prompt, what are the navigation keys (as the touchscreen is not working)?
Can you describe in more detail your build setup, especially the differences to original japanese one, if any?

I'll be spending time on this during the holidays, and even intend to install OpenEmbedded...
Thanks!
sds,

I'll try to incorporate all hacks available shortly. I didn't find any info on the Net about ways to exit Android, but I've found out the following:

Press CTRL+ALT+1 simultaneously for approx. 1 second to display the console. Next, keeping CTRL+ALT pressed press HOME followed by MENU. Following message is displayed:
Quote
SysRq : HELP : loglevel0-8 reBoot Crashdump tErm Full kIll saK showMem Nice powerOff showPc show-all-timers(Q) unRaw Sync showTasks Unmount shoW-blocked-tasks
Keeping CTRL+ALT pressed, choose one of the (bold) uppercase characters to perform the corresponding action. I don't know the meaning of all actions, but pressing I results in a forced exit. Pressing CTRL+ALT+2 returns you to Android.

My build setup is a clean Poky environment not much different from the Japanese (Angstrom) version I guess. I just added a few extras like Midnight Commander (mc) to make life a bit easier when copying/editing etc on the Zaurus.

Cheers,
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]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #8 on: December 31, 2007, 09:47:21 am »
Quote from: cortez
Quote from: jpmatrix
I m trying to chroot your rootfs under my debian. It fails to launch with this error :
fatal error opening "/sys/android_power/acquire_partial_wake_lock"
any help ?
jpmatrix,

To get things working on any 2.6.23 distro, including Debian, Poky, Angstrom etc just extract the /home/root/android and the /start script from andoid-root.tar.gz. Make sure to extract android in /home/root/android, otherwise it doesn't work. If /lib/modules/2.6.23/kernel/drivers/binder doesn't exist on your distro extract this also from andoid-root.tar.gz. Finally extract /doit to force the /start script to setup the binder module correctly.

Last but not least, use the tar -xzpf options (the p is important) to make sure you keep all permissions correct.

I hope I didn't miss anything, but I think this should do the trick.

Greetz,
cortez

gotcha!  i at last managed to launch it ! thank you !
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #9 on: January 01, 2008, 01:00:55 pm »
just one question:
how do you open the android console ?

i can  switch to another tty but i cannot go back to android gui then...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

omro

  • Hero Member
  • *****
  • Posts: 796
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #10 on: January 02, 2008, 04:20:27 pm »
Will it work on a C1000?

Any screenshots?
Zaurus C-1000

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #11 on: January 03, 2008, 08:14:54 am »
Quote from: omro
Will it work on a C1000?

Any screenshots?

(terrrrrible!) screenshots can be seen on this master blog:
http://androidzaurus.seesaa.net/article/75516785.html

my main problem at now is that i cannot have network to work....any help? (under debian chroot)
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #12 on: January 03, 2008, 09:31:36 am »
That's definitely a good toy to play with in New Year!

I notice that image is for installation via the [OK] flash menu.
So anyone got it working under the debian-yonggun kernel using uboot (2or0)?  
« Last Edit: January 03, 2008, 09:32:04 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Google Android Installable Image Available!
« Reply #13 on: January 03, 2008, 09:45:37 am »
Quote from: ZDevil
That's definitely a good toy to play with in New Year!

I notice that image is for installation via the [OK] flash menu.
So anyone got it working under the debian-yonggun kernel using uboot (2or0)?  

or you can also just untar the android-root dir and run it as chroot under your existing debian

about network problem i've a dns setting trouble i think

perhaps this page would help:

http://nemustech.blogspot.com/
http://www.anddev.org/advanced_networking_...linux-t155.html
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Google Android Installable Image Available!
« Reply #14 on: January 03, 2008, 10:06:26 am »
Quote from: ZDevil
That's definitely a good toy to play with in New Year!

I notice that image is for installation via the [OK] flash menu.
So anyone got it working under the debian-yonggun kernel using uboot (2or0)?  

I already did it last week.    I built the kernel and tested it on debian. If you are interested in it, I will upload the kernel and modules.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)