Table of Contents

Installing system to NAND

Preparation

Before we start, we must make two things:

  • Install factory Android 4.0 using LiveSuit. We need this to properly flash system
  • Clean apt-cache! (sudo apt-get clean)

Installation

First, install cubian-nandinstall using apt-get.

Then, log in as root, and type cubian-nandinstall. NAND partitions will be erased.

2048+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.259265s, 2.9MB/s

*** Reboot is needed! Please re-run cubian-nandinstall after system is up ***

reboot now?

To avoid device damage, installer will ask if you want to reboot, type yes.

After reboot, log in again as root. Run cubian-nandinstall and wait - partitions will be created and system will be copied to NAND:

continue to install on NAND
mkfs.vfat 3.0.13 (30 Jun 2012)
unable to get drive geometry, using default 255/63
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
249488 inodes, 997118 blocks
49855 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1023410176
31 block groups
32768 blocks per group, 32768 fragments per group
8048 inodes per group
Superblock backups stored on blocks:
	32768, 98304, 163840, 229376, 294912, 819200, 884736,

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

[...] - files are copying...

sent 431431747 bytes  received 360577 bytes  1596304.34 bytes/sec
total size is 429805189  speedup is 1.00
sync disk... please wait
unmounting /dev/nanda
unmounting /dev/nandb
*** Success! remember to REMOVE your SD card from board ***
shutdown now?

When installer will ask shutdown now?, disconnect power adaptor and type yes. Tablet will shutdown.

  • Warning: In Linux, shutdown looks other than on Android.
    So, when your tablet is shutdown, and charger is connected, you will *NOT* get “charging battery animation”, but Linux will automatically boot! Remember about your battery, and always disconnect charger before shutdown Linux. I don't know how to fix it (yet). Here is how to partially fix it