Mounting with webdav under Linux

I recently got a Box account with 50 gB of online storage (see this thread on XDA on how to get one).

To get it mounted under linux, install the davfs2 package, add your credentials in /etc/davfs2/secrets with the syntax: <email address used in account> <password>

Next, edit the /etc/davfs2/davfs2.conf file, to disable locking. It doesn’t really support it, and causes input/output errors when trying to write anything to the filesystem. To this file you should add the entry

use_locks 0

To automatically mount it at boot, you can add the following to /etc/fstab (all in one line): /mnt/ davfs defaults,uid=<your linux user>,gid=<your linux group> 0 0

Now you just need to create the directory, and mount it:

mkdir /mnt/
mount /mnt/

Et voila, you can now use your Box account as a regular filesystem ;)

Adobe AIR 2.6 and Debian Sid 64-bit

I wanted to get Adobe AIR to work on my 64-bit Debian Sid installation, to try out some other twitter clients, more specifically Saezuri. (On a side note: the offering of twitter clients on linux is … mediocre. Bad, even. The (imho) best one is Pino, but it has problems of it’s own).

(Sidenote: Adobe has decided to discontinue AIR for Linux.)

It didn’t really go all that smooth, so here’s the process:

First, download the Adobe AIR 2.6 runtime from Save it somewhere (like /tmp).
Next, open a terminal and make it executable: chmod +x /tmp/AdobeAIRInstaller.bin

Normally, now, you can try to install it: /tmp/AdobeAIRInstaller.bin. This should popup a dialog, telling you it’s going to install it. Unfortunatly at this point, I ran into a problem: it didn’t find either Gnome Keyring or KDE Kwallet, even though I have both installed on my system. After some digging, I recalled that AIR is a 32-bit framework, so I would need the 32-bit libraries for it to work.
While leaving the installer open, I went to look for the extracted directory, which was found under /tmp/air.w9qZiT, where, in one of the subdirectories I found a bunch of binaries which ended looking for libraries like
I found the needed libraries in the i386 packages kdelibs4c2a and libqt3-mt (which are for Debian Squeeze…), extracted them and put them in /usr/lib32:

lrwxrwxrwx 1 root root 16 Aug 8 2010 ->
-rw-r--r-- 1 root root 213988 Aug 8 2010
lrwxrwxrwx 1 root root 19 Aug 8 2010 ->
-rw-r--r-- 1 root root 2465476 Aug 8 2010
lrwxrwxrwx 1 root root 17 Aug 8 2010 ->
-rw-r--r-- 1 root root 172488 Aug 8 2010
lrwxrwxrwx 1 root root 25 Aug 8 2010 ->
-rw-r--r-- 1 root root 61452 Aug 8 2010
lrwxrwxrwx 1 root root 17 Sep 5 2010 ->
lrwxrwxrwx 1 root root 17 Sep 5 2010 ->
-rw-r--r-- 1 root root 7515480 Sep 5 2010

(I’ve made a tarball with those libraries, which you can find here. You can install it by extracting it with cd /usr/lib32; tar xvfz ia32-libs.tar.gz.)

Retry the installer, still didn’t go further. After some more digging, I found an article detailing the use of AIR on non-KDE and non-Gnome systems on the Adobe Knowledge base. (I use a mix of Gnome, GTK and KDE apps, with XFCE as desktop environment)

What I had to do was run the following commands before launching the installer:

(for Gnome, see the article)

After this, the installer went ahead and dumped AIR in /opt/Adobe AIR. (spaces in a directory? Really, Adobe????)

Next hurdle: after installing Saezuri, I noticed it had a hideous black border:

Saezuri with black border

… completely not acceptable. Luckely, this was easily fixed by enabling display compositing in the XFCE settings. Another problem fixed:

Saezuri with transparancy

The last problem I ran into is that AIR seems to default to firefox as the default browser. Since I’m not a firefox user (I do have it installed for those special occasions), that didn’t do. After some more digging I found a blog post detailing how to change this: apparently Adobe decided that hardcoding firefox as a browser was a good idea. I fixed this by hex-editing the file under /opt/Adobe AIR/Versions/1.0, changing the hardcoded ‘firefox’ by ‘browser’, and adding a symlink under /usr/bin pointing browser to x-www-browser:
ln -s /usr/bin/x-www-browser /usr/bin/browser
(x-www-browser is part of the Debian alternatives system, which allows for easy selection of default browsers and what not.)

You can download the patched here.

Now AIR seems to behave the way I want it to, so I’m a happy camper :)

Christmasconcert Arte Musicale

As some of you might (not) know, I’ve recently joined a choir, called Furiant, which is part of the Arte Musicale group. (I already play in a pipe band (the Flemish Caledonian Pipes & Drums))

On the 26th of december, we’re giving a christmas concert in the OLV Sint Pieterschurch on the Sint Pietersplein in Ghent.

Christmas Concert Arte Musicale 2011

Here’s a handy google maps thingy to help you find us :)

Show bigger map

phptelemeter 1.36-beta2 released

I’ve just released phptelemeter 1.36-beta2. This version includes the following changes:

  • Added support to set timezone from the application as opposed to systemwide via php.ini
  • Removed call-time pass-by-reference function calls (deprecated in php 5.3)
  • Corrected ‘php version too low’ error to actually ask for php >= 5.0.0
  • Added subaccount parameter to account section, to select the actual account in case there are multiple under the same login
  • Updated mobilevikings_api parser to new API (2.0)
  • The edpnet_web parser is dropped for now – I haven’t been able to figure out sofar how to make it work again against their new AJAX-drive site
  • Fixed telemeter4tools parser, telenet’s WSDL is faulty…
  • Added reset_date to mobilevikings_api parser

As per usual, you can download it from SourceForge.

How to RUU your Desire

I’ve always been a fan of the 3rd party roms that are available for the different Android based phones.
Unfortunately, it seems mine has developed a bit of a quirk: sometimes, when unplugging the USB cable, it will reboot. Or it no longer detects it as ‘external storage’ when putting it in USB-drive mode.

Seems I’ll have to return it to HTC for fixing within warranty. But to prevent HTC from being all bitchy about my custom ROM, I decided to RUU (RUU stands for Rom Update Utility) it – basically returning it to it’s pristine state, the state in which it came out of the box. No custom HBOOT’s, no custom radio’s, and no custom ROM’s.

Unfortunately the RUU utility for my Desire didn’t want to cooperate – it didn’t find the signatures it expected, so – no RUU for you!

Fortunately, I found an alternative way to RUU it. It does require a windows pc, but here’s the procedure:

First, download the correct RUU from In my case, I downloaded the RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00.32U_5.11.05.27_release_159811_signed.exe file.

Next, download Procmon, from the Microsoft Technet Site. We’ll use this to find out where the RUU extracts it’s files.

Now, launch procmon, and add a filter on “Path” for “”. Now you can launch the RUU updater, and click next until you get to the point where it wants the phone.
Look back in procmon, and you should have some lines there linking to Rightclick and pick “Jump To”. This should open the directory where the file is.

Now, copy this file on your phone’s SD card (in the root), and rename it to PB99IMG.ZIP.

Now it’s time to power off your phone. Press and hold the Volume-Down button and power it back on. After a few seconds you should be dumped in the HBOOT, and it will scan your SD card for zipfiles, and when it finds the PB99IMG.ZIP, it’ll start loading it.

You’ll then get:

Parsing………………….[SD zip]

Do you want to reboot device?

Here, you can press Volume-Up, and the flashing will commence.

It will reboot a few times, and then you should get:

Update complete
So you want to reboot device?

Press Volume-Up again, and you should be greeted by a pristine out-of-the-box Desire :)