Ubuntu on Toshiba Folio 100

Toshiba got a lot of heat with its Folio 100 Android tablet. While on paper, the specs looks absolutely fantastic (Nvidia Tegra 250 dual core processor, 10.1 inch WSVGA resolution (1024 x 600), full HD video decoding)), it is the Android 2.2 that makes the tablet just weird to use in daily life. Also, it feels cheap and immediately, you will realize why it costs less than the Galaxy Tab. Anyway, now it is possible to get the Ubuntu running on the Folio. Here are the instructions on how to do it:

Ubuntu Install on Toshiba Folio 100

We will flash a kernel to the Toshiba folio tablet which makes it possible to boot from an SD card or USB-stick (You have to choose one, we need at least 2GB, I would recommend 4GB so you can install fancy stuff like OpenOffice etc.).
We will then create a root filesystem with rootstock, which will hold our Ubuntu system (similar to your hard drive-Ubuntu).
Finally, we have to tweak that filesystem and change passwords, copy wifi driver etc. Then we’re able to boot a beautiful Ubuntu.

Things you will need:
– A Computer running Linux (Debian / Ubuntu would be great. If you’re not running Linux on your computer, running it on the folio would make absolutely no sense. Please don’t ask, I don’t know how to install it in Windows.)
– The files i added to this post
– A SD-Card, 2-4 GB should be fine.
– optional: A second SD-card, 128MB would be enough (for flashing)
– A USB hub (If you want to boot from USB AND use a keyboard.
– Some time

The first thing you should do is flash one of the update.zip files; choose update-sdmmc.zip (file at the bottom of this post) (this will boot your folio from sdcard) or update-usb.zip (file at the bottom) (this will boot from a usb pen drive), open it and unpack the content to a sdcard (This has to be a SDcard, we’re gonna flash our device from there.)

Backup all your data on your folio (I’m serious! It’ll be gone!) and turn it off. Put the SDcard in its slot and turn the folio back on. Press + hold both power and volume up.

Follow instructions to do a system update (If you’ve never done this before you shouldn’t start now). When it reboots, your folio will show some funny black and white Linux text stuff and hang somewhere. Congratulations! You just bricked your tablet. Now lets see how we can fix it. Turn it off (Keep power pressed for about 5 seconds) and take out the sdcard, put it in your PC. It is surely getting messy now, so grab a beer and let’s go:

Open a Terminal on your linux computer.

Code:

#echo "Hello world!"

If your console says “Hello World” you got it. Awesome!

Code:

#sudo apt-get install rootstock gparted

This will install rootstock, the tool we’re going to need to create our filesystem, as well as gparted, a tool for partitioning our flash drive.

Meanwhile, open another terminal. (This is linux! We’re going to multitask since our computer is capable of handling that!) Go to where you stored the attached files, for example

Code:

#cd /home/YourUserName/Desktop/FolioStuff

and unpack them:

Code:

#rar x *.rar

Make sure to remember this directory. Write it down on something.
Close the second terminal, go back to the first one. If your beer is already empty, you need a faster computer.

Back to the first terminal:

Code:

#sudo rootstock -f MyCoolHostName -l myCoolUserName -p myCoolPassword --seed xubuntu-desktop -i 2G --notarball

This will create our filesystem with a user called “myCoolUserName” and (theoretically) his password “myCoolPassword” and install a basic xubuntu-desktop. I had to change the password manually because it didn’t work this way… We’ll do that later.

Rootstock will download lots of packages (You could also set it up with “–seed ubuntu-desktop”, then youll download even more packages or “–seed ubuntu-minimal” or kubuntu… I still didnt find a list of seeds online :-/

The creating will take quite some time, get another beer.

When this is done, you’ll get a file like this : “qemu-armel-201104112120.img”. We will now mount this image: (make sure the directory /mnt/ does exist and is empty:

Code:

#ls -la /mnt )

Code:

#sudo su

(its simpler to be root for now)

Code:

#mount -o loop qemu-armel-201104112120.img /mnt/

(You are aware that your filename is different, are you? Try this:

Code:

    # mount -o loop qemu-armel-*TAB*

and your terminal will automatically fill in your filename. Awesome Linux, huh? =)

)

Code:

#cd /mnt/etc/
#mv fstab fstab.bak
#echo "proc /proc proc defaults 0 0" > fstab
#echo "dev /dev tmpfs rw 0 0" >> fstab

Note that the first time we create a file called fstab (echo asdf > fstab), then we add one line to this file (echo asdfasdf >> fstab)

Now we need to copy our wifi-driver over. Remember I told you to write down the directory you put them in? =)

Code:

#cp /home/YourUserName/Desktop/FolioStuff/firmware /mnt/lib/firmware

We will now do something stupid: We chroot into our arm-based system from an intel-system. But since we’re only changing passwords, we should be OK.

Code:

#cd /
#chroot /mnt/
#passwd myCoolUserName
#passwd
#exit

That’s it, we’re out of the chroot.

It’s now time to prepare the SDcard (The steps are the same for a USB Flash drive, I think you’ll figure them out.)

Find out how your SDcard can be accessed (You should still be root):

Code:

# fdisk -l

In my card reader, it’s “/dev/mmcblk0”, it could also be “/dev/sdb1” in your computer.

Now there are two possibilities:

1. You know what you are doing. Then it’s easy: You wipe the only partition (or, if there are more than one, the first partition) on your sdcard and format it with ext3:

Code:

#mkfs.ext3 /dev/mmcblk0p1

Note: The device is called /dev/mmcblk0, the partition itself /dev/mmcblk0p1 (Partition 1)

2. You are not sure about this. No problem, start gparted: (as root!)

Code:

#gparted

In the upper right corner, select your flash drive, delete all partitions and create one formatted with ext3. Close gparted.

Mount your freshly created partition somewhere (i chose /mnt2/):

Code:

#mkdir /mnt2/

Code:

#mount /dev/mmcblk0p1 /mnt2

We can now copy our filesystem over. Make sure you use exactly the same flags (rfp for recursive, force, preserve (attributes))

Code:

#cp -rfp /mnt/* /mnt2/

OK, that could work. Unmount the sdcard:

Code:

#umount /mnt2/

Put it in your folio and cross your fingers. [via]

[update-usb.zip] | [update-sdmmc.zip]

Thanks to ph84 for the instructions. Good job.


Related topics