Feb 142010
 
Fixing Emobile S21HT

I have a H11T from Emobile. Simple phone. Works well for connecting computers via Bluetooth or USB to the Internet. The phone itself is medicore. Web browsing is a pain as the phone constantly runs out of memory and reflowing web pages is a big challenge for the phone. Unfortunately there is no Android phone available from Emobile. Otherwise I would have bought one.

I got my fingers on an Emobile S21HT (AKA HTC Touch Diamond). Not the most modern phone, but not bad either. And it’s surprisingly small with a nice display. But it has one severe flaw: It runs Windows Mobile 6.1. For phones it is the most horrible OS possible in my opinion. Sluggish. Non-intuitive usage. It is Japanese only, which does not help here.

Luckily there is fix available for those shortcomings: Android On HTC which allows you to install Android (currently 2.01) on several HTC Windows phones. Like the HTC Touch Diamond.

Initially it failed for me. haret displayed an error message which did not make much sense. What fixed it was a full reset of the phone including formatting the internal flash.

For those who want to fix their S21HT too: here is the link for the download. Phone works. Internet works. WiFi works. And using it is far more intuitive now.

Small problem: the buttons at the bottom are swapped. The very bottom one and the top one are swapped. The neat thing is, that when you start to touch one, the other one starts to glow. Neat.

Not everything works though: This table shows what works and what does not. Mostly the cameras and GPS does not work. Luckily my real phone has both, so I don’t care.

So far I am happy. It is a bit slower than I expected (but snappier than on Windows Mobile), but it is great to do my first steps on Android and I can figure out whether this is something I want or not.

Update: 3G data transmission has to be set up. I found the settings here. In short: APN=emb.ne.jp,  Username=Password=em, MCC=440, MNC=00

I have to admit I have no clue what those things means, but once set up, browsing the web via 3G works like a charm.

Feb 082010
 
KVM and Kubuntu

I used to run VMware products since they exist (well, shortly later). Back when there was VMware Workstation 1.0 in 1999. We use it at work in shape of ESX 3.5. Great stuff. Solid. Useful at home too with VMware Server (free) or for Mac, use Fusion (cheap).

That is, all was well until I updated to Kubuntu 9.10. Then things broke. Badly. VMware server kernel modules could not compile (see here and here and here). Despite the helpful fixes (not from VMware if I may comment), it was simply unstable. The web console would suddenly stop working (the VMs were fine), and maybe the console could be restarted, or maybe not. And if not, then there was nothing in the world I could do to fix this beside rebooting. Very annoying.

I waited some months(!) for a fix from VMware, but I guess when it comes to support, the free VMware Server cannot compete with the (quite expensive) ESX.

Fair enough. The kernel of (K)Ubuntu 9.10 is not supported in VMware Server 2.02 after all. Time to move on as I did not want to move back to an older kernel. I rather move to a more recent kernel.

Enter KVM. I used qemu some time ago for fun. Mostly for emulating non-x86 architectures (e.g. ARM) to run their binaries for no other reason than because I could. It’s fun to use an arm cross compiler (my NAS runs on a Marvell 88F5182 AKA Orion), and run the very same binary on an AMD Athlon Linux box via qemu. KVM, the native Linux virtualization has a lot in common with qemu. E.g. it uses the same network infrastructure, same file format, same BIOS from Bochs. KVM expects a CPU to offer hardware assisted virtualization. I had that, so I tried to make KVM work.

And what shall I say: It’s working as expected! Even has a graphical interface to setup VMs (but all can be scripted too) via libvirt. Great for the first initial creation of a VM. The graphical interface is not even close to the polished interface the Virtual Infrastructure client software ESX offers, but good enough. And it works. USB pass-through works too after a bit of Google (AppArmor, which I did not even know was enabled until then, was in my way but the fix was here). PCI pass-through would probably work, as well as live migration (AKA VMWare’s vmotion or CitrixXen live motion). I lack the equipment to do this though.

I have to admit I like virtualization in general. It’s great for consolidations, not only at work. At home it’s very useful to be able to have USB and PCI pass-through (see here for a Xen virtual server to capture video signals for MythTV). You can have one computer instead of one Linux, one Windows, or one computer booting either Linux or Windows.

With KVM I’m a happy user again. And I can even think about upgrading to the latest Linux kernel…

http://libvirt.org/