!!!!The .29 kernel is now outdated, for more current system and guide check here!!!

Installing phh's latest ubuntu with nilfs2 rootfs on an sd-card


Make sure you have these things:
  1. 1x Toshiba AC100
  2. 1x Linux computer (physical or virtual)
  3. Either: 1x SD-card (min. 4GB class 6 and up) or 1x USB Mini-B to Standard-A
  4. An hour or two....or more.

The tideous bit

  1. Get nilfs-tools for your linux laptop/desktop ( for example sudo apt-get install nilfs-tools )

  2. Get the latest boot.img, modules, ubuntu tarball from phh and tools from nvidia

  3. Stick your sd-card to the linux machine and don't let it automount.

  4. Create a single partition to the sd-card and format it to nilfs2 ( for example sudo mkfs -t nilfs2 /dev/mmcblkXp1 )

  5. Mount the newly created nilfs2 partition to /mnt ( sudo mount -t nilfs2 /dev/mmcblkXp1 /mnt )

  6. Unpack the ubuntu base and modules to /mnt ( with sudo tar xavf Ubuntu5.tar.lzma --numeric-owner -C /mnt and sudo tar xavf modules-4dd097f.tbz2 --numeric-owner -C /mnt )

  7. Umount the sd-card and set it aside for a while

  8. Power off your ac100, connect an usb cable from ac100 to your linux machine and power on the ac100 while pressing crtl+esc. The screen on the ac100 should remain off and the power led should light up.

  9. Surf to the folder where you unpacked the .run file from nvidia and take backup at least of the partition you're going to flash ( with sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --bl ./prebuilt/fastboot.stock.bin --read 5 tegra_partition_5.bin --go )

  10. Power down the ac100 first and then power on again with ctrl+esc.

  11. You can flash either part 5 or part 6 with the boot.img. The Following command flashes part 5. Flashing part 6 makes the ac100 boot straight into ubuntu, but destroys android ( sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --wait --bl ./prebuilt/fastboot.stock.bin --download 5 /the/path/to/boot.img --go )

  12. Nvflash should say that the flashing was succesfull and you can power off the ac100 by pressing the power button for a few seconds.

  13. Stick the sd-card to the ac100 and power on while pressing home and select 1 (if you flashed part 6, you won't have to press home)

  14. You should soon get in front of the typical ubuntu setup assistant, which will ask you your name, where you live etc.

Final setup

  1. Edit /L4T/etc/X11/xorg.conf, so your alt+gr key gets recognized properly ( add Option "XkbModel" "pc105" and Option "XkbLayout" "fi" the last argument is the countrycode )

  2. fetch the lid-switch-daemon, install it in /usr/sbin, and edit /etc/rc.local so it is launched with "-b" or "-s" -- it will put the box to sleep when you close the lid

  3. while you're editing /etc/rc.local, replace /button by /usr/sbin/button

  4. Wifi works by first entering echo 1 > /proc/test_program/wifi3g and then sudo ifconfig ra0 down and sudo ifconfig ra0 up (you can also add this to your rc.local to get wifi working straight from the boot).

  5. Now do sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade and get nilfs-tools (you should also read about maintaining nilfs).

  6. Reboot.

Internal setup

Installing on the internal emmc works the same way.
Just use usb and androids usb-file sharing to connect the ac100 partition 14 to your linux-machine and don't create a new partition, just format it and follow instructions above.

If you have problems, come to IRC

html5+css3 no rights reserved
webmaster: gildean