android 2.3.4 (Gingerbread) on NetWalker : Kanamaru Lab. in Kogakuin Univ.
Navigation
netwalker-gb
In this page, we summarize how to install android 2.3.4 (Gingerbread) into Sharp NetWalker (PC-Z1).

Our method is based on Android on NetWalker (by androidzaurus)

To build gingerbread, please note that JDK1.6 and 64bit OS are required.

History
2011.7.29: Open to the public


To build the android from the sources, please see Section 1.
If you want to try it as soon as possible, please see Section 7.

1. Downloading android sources

To download the sources, please use another x64-based PC.

First please determine the destination directory, and the set a environment variable ANDROID to it, e.g.,
$ export ANDROID=/home/kanamaru/gingerbread-netwalker
Then, please download the sources.
$ mkdir -p $ANDROID
$ cd $ANDROID
$ repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.4_r1
$ repo sync

2. Downloading kernel

$ cd $ANDROID
$ wget http://netbook-remix.archive.canonical.com/updates/pool/public/l/linux-fsl-imx51/linux-fsl-imx51_2.6.28-15.50fsl1araneo19.tar.gz
$ tar zxf linux-fsl-imx51_2.6.28-15.50fsl1araneo19.tar.gz

3. Downloading and applying the patches by androidzaurus

First, download the patches from androidzaurus / droidwalker.
By clicking "Downloads" , "Download.tar.gz", download "androidzaurus-droidwalker-61b2290.tar.gz" to $ANDROID directory.
$ cd $ANDROID
$ tar zxf androidzaurus-droidwalker-61b2290.tar.gz
$ cd jaunty-arm
$ patch -p1 < ../androidzaurus-droidwalker-61b2290/diff-araneo-android-2.6.28.patch
$ patch -p1 < ../androidzaurus-droidwalker-61b2290/disable_double_buffering.patch
$ patch -p1 < ../androidzaurus-droidwalker-61b2290/fbmem_8m.patch
$ patch -p1 < ../androidzaurus-droidwalker-61b2290/build-wifi-defconfig.patch

4. Downloading and applying our patches

$ cd $ANDROID
$ wget http://brain.cc.kogakuin.ac.jp/research/files/vendor_tk-netwalker-gingerbread2.3.4-20110726.tar.gz
$ tar zxf vendor_tk-netwalker-gingerbread2.3.4-20110726.tar.gz
$ $ANDROID/vendor/tk/patch/tk_patch.sh

5. Building kernel

$ cd $ANDROID/jaunty-arm
$ make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- netwalker_android_defconfig
$ make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage modules
The built kernel is $ANDROID/jaunty-arm/arch/arm/boot/zImage.
You can also use pre-build kernel.

6. Building android

$ cd $ANDROID/
$ source build/envsetup.sh
$ lunch netwalker-eng
$ make -j8
After the completion of build, please execute the following command.
$  $ANDROID/vendor/tk/netwalker/image/netwalker-image.sh
(SU password is required once.)

The android system will be stored in $ANDROID/vendor/tk/netwalker/image/gingerbread.
You can also use pre-built binary.

7. Setting up NetWalker

In ths following, the kernel (zImage) and android system are required.

If you want to try first, please use pre-built zImage and pre-built system gingerbread2.3.4.tgz.

First, please install gparted into your NetWalker, and make partitions in your SD card.
To install gparted, please try the command "sudo apt-get install gparted,"
and if it does not work, please find gparted_0.4.3-0ubuntu1_armel.deb from the Internet, and install it with "dpkg -i gparted_0.4.3-0ubuntu1_armel.deb".
sudo gparted /dev/mmcblk0
The following two partitions are required.

Then mount the SD card by re-inserting the SD card.
Then, install the android as follows. You should have write permission in the working directory. [Status] [References]