12/17/2009

NetWalker x Eclair - Bootable Image

Though few will be interested in, here is a binary set of Android 2.0 (Eclair) system for NetWalker (Sharp PC-Z1)
o http://drop.io/eclairwalker091217/
and followed by How-To. A patch set is available on my github but they are for donut. I'll make Eclair version available some time later.

1) Recovery SD
In a terminal on NetWalker, run following commands to create a bootable SD card using recovery system image.
$ wget http://mit.sharp.co.jp/os.tar.bz2
$ sudo umount /media/disk
$ sudo fdisk /dev/mmcblk0
-> claim at least 2GB for Linux
$ sudo mkfs.ext3 /dev/mmcblk0p1
$ sudo mount -t ext3 /dev/mmcblk0p1 /mnt
$ sudo tar jxvpf os.tar.bz2 -C /mnt && sync
$ sudo mv /mnt/etc/rc2.d/S01upfirm /mnt/etc/rc2.d/~S01upfirm

2) Copy Eclair system files and kernel
Continue to install Eclair and kernel. First download eclairwalker.tar.gz from http://drop.io/eclairwalker091217/ with Firefox on NetWalker.
o size 32,115,123
o md5sum df72d1f48e3d15c4ac93df9a20fb5adf
$ mkdir -p /mnt/android/eclair
$ cd /mnt/android
$ tar zxvpf ~/Desktop/eclairwalker.tar.gz
$ sudo mv /mnt/boot/boot.conf /mnt/boot/recovery.boot.conf
$ sudo cp zImage boot.conf /mnt/boot
$ tar zxvpf eclair.tar.gz -C eclair
$ sudo mkdir -p /mnt/lib/modules/2.6.28.10-android/kernel
$ sudo tar zxvpf ko.tar.gz -C /mnt/lib/modules/2.6.28.10-android/kernel
$ sync
$ sudo poweroff

3) Boot Android
Booting from SD is a bit tricky.
1) Press and hold both mouse buttons next to the power switch.
2) Press the power switch and hold for a few seconds.
3) Keep pressing both mouse buttons until Tux the Penguin shows up.
4) Login as root without password.

You can play with a console. First thing to do is depmod.
# depmod -a

Now is the time to boot Android by a familliar chroot commnad.
# chroot /android/eclair /init &

4) Tips
Key assignment.
FunctionKey Assign
OKF5, Mouse Left
MenuF1, Home Icon
BackESC, Back Space, Mouse Right
EndF4, Star Icon

Don't forget to change screen off timeout in Settings otherwise you end up loosing control in a few seconds. I'll recommend also set end key behavior to "Go Home" with Spare Parts.

To shutdown, press and hold F4 until a shutdown dialog comes up, then hit F5 twice.

5) Known issues
A lot of kown issues like,
No WiFi.
No Sound.
No SD storage.

Just a proof of concept, as usual. Any contributions are always welcome.

Cheers,
posted by 安藤恐竜 at 17:19 | Comment(4) | TrackBack(0) | 日記
Comments for this entry
今記載していただいているdonut版のパッチセットを使い、PC-Z1上でandroidを楽しんでます。
eclairのパッチセットは何時ごろ公開できそうですか?新機能をいろいろと実機で確認したいのでよろしくお願いします。
Posted by future_ryou at 04/20/2010 22:52
Are you still interested in this project?

Any updates?

I tried loading the system but got an error, I will try again.
The SD card was formatted to 8gb, maybe that is too big for the kernel to handle...

I got an I/O error and then said /lib/modules/2.6.28.10-android/modules.dep does not exist

Tom
Posted by Tom Moulton at 07/03/2010 12:37
ok

depmod -a creates /lib/modules/2.6.28.10-android/modules.dep

when I run 'chroot /android/eclair /init' I get the following messages and the andriod splash screen comes and it puts up a POWER OFF icon and goes off.

A N D R O I D init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash-recovery'
sh: can't access tty: job control turned off
(the screen then clears and I see)
static no change 0 -> 0. (I think.. it is quick)
(then android paints the screen but is turning the power off)

The can't access tty: message makes me think I should log out as soon as I start the chroot command... it'll run in background anyway

no help...

Posted by Tom Moulton at 07/04/2010 04:23
Do you plug AC? This image doesn't work on battery.
Posted by androidzaurus at 07/05/2010 10:54
Leave your comment
Name: [Must]

EMail: [Must]

URL: [Must]

Comment: [Must]

Confirmation Code: [Must]


Type in alphabets what you see in this image.
Trackback URI:  http://blog.seesaa.jp/tb/135889863
Trackback entries must contain URL of this entry.

Trackbacks to this entry
×

この広告は1年以上新しい記事の投稿がないブログに表示されております。