Informationstechnologie

Bibliotheken, oder warum ich zu doof für iTunes und Co. bin

Ich probiere gerade doubleTwist aus, und stelle mal wieder fest, dass ich zu doof für diesen ganzen “Playlist”-Mist bin.

Aber hier mal mein Leidensweg kurz dargestellt:

  • Installation von doubleTwist – will was aus dem Web laden – scheitert am im Internet Explorer eingetragen Proxy mit NTLM-Auth
  • Installation des full setups
  • Start von doubleTwist – die Ordner “Pictures”, “Videos”, “Music” werden automatisch in eine “Everything”-Liste gepackt
  • Sync mit dem Milestone
  • Super! Nun sind alle Bilder, die Apps zum cachen auf die SD gelegt haben auf meinem Rechner im “Pictures”-Folder.
  • “Remove” in doubleTwist. Das löscht auf der Platte gar nix, sondern sagt nur “Wenn du Bilder findest, zeige diese nicht an!”.
  • Also in den Explorer. Oh! Meine Bilder tauchen in den Ordnern “August” und “September” doppelt auf…
  • Hm, jetzt zeigt doubleTwist gar nichts mehr an. Also mal wieder reingeschaut… achja, wird ja alles ausgeblendet… Wo kann ich das rückgängig machen? Nirgendwo…

Jetzt noch Picasa zu starten (das nochmal rumkopiert, irgendwas “synchronisiert” und automatisch in irgendwelche Bibliotheken kopiert) traue ich mich schon gar nicht mehr. Und dann noch der Windows Media Player, in dem man auch jeden Mist als “Bibliothek” gereicht bekommt.

Am Ende darf mich dann durch ein Sammelsurium von 10x den gleichen Dateien in irgendwelchen Verwaltungsordnern wälzen, nur weil die hippe, idiotische Zielgruppe dieser Zeit einfach nicht mit Konzept “Ordner, Datei” belästigt werden darf. VERDAMMT! ICH WILL DOCH NUR DAS ICH DIE KAGGE AUF N GERÄTEN IN 1-FACHER MENGE REPLIZIERT WIRD ZUM TEUFEL!

App signoff by Apple tricked (tethering, App pulled after blogpost)

Quite often, if you talk to Apple Fanboys about their iPhone, they say “but the apps are checked if they could cause any harm”. Well, here’s an example how thoroughly those apps are “checked” – a simple ‘flashing light’ app contained a network server that nobody in Cupertino noticed until engadget ran a story on this…

You may ask yourself, why on earth would anyone pay 99 cents for an iPhone app whose sole purpose is to flash bright, solid colors? We certainly wouldn’t recommend it, but Handy Light has a great little Easter egg that undoubtedly doesn’t jive with the folks at Cupertino HQ. Like Nullriver’s Netshare app before it, this little piece of software allows for SOCKS proxy tethering, without having to sign up for AT&T’s tethering plan.

via Handy Light for iPhone’s dirty little secret: tethering (update) — Engadget.

Froyo for Motorola Milestone “Undecided”. | AndroidGuys

Next European Milestone and 2.2 Froyo. I have expressed over the last  few days that the decision is pending.

via Froyo for Motorola Milestone “Undecided”. | AndroidGuys.

Oh well. My first Android Device was a Samsung Galaxy (I7500), which did get official Android 1.5 updates; an Android 1.6 images was leaked, which made it possible for custom rom cookers to publish a modded 1.6 version. The GAOSP project ported 2.1, but without support for the camera. Long story short, even if the specs of the Samsung Galaxy S are impressive, I won’t buy one.

With the Motorola Milestone, it’s different. The phone has a hardware implemented signature check (like the Droid X) that prevents it from booting roms that haven’t been released by Motorola. If Motorola decides to not update the Milestone anymore, I will be stuck with Android 2.1 – missing out new features (like, with Android 2.2, the JIT compiler).

In this case it’s “Bye bye Motorola” for me. The list of manufacturers to buy from gets shorter and shorter. HTC has known not to lock down it’s devices (those can be unlocked using simple hacks; it looks like to be intended to give a small, but not impossible challenge to the developers).

reauktion zieht um

… und zwar zu netclusive. Dort gibt’s nämlich vServer mit (auf Anfrage) TUN/TAP interface.

Warum ich das brauche?

Nun, da es bei mir Zuhause gerade gefühlte 45°C warm ist (ich mach also der deutschen Bahn noch keine Konkurrenz), habe ich mir überlegt, mal ein wenig meiner Hardware auszulagern und zu konsolidieren. Das heißt, mein VPN-Endpunkt zieht jetzt vom heimischen Schreibtisch in’s Internet um, und reauktion.de eben auch.

Der Preis bei netclusive liegt geringfügig über dem des alten vServers, aber dafür sind die Leistungen besser (selbst in der Sparversion 1GB RAM vs. 256MB, 30GB HDD vs. 5GB).

Und da ich ja ab nächster Woche Urlaub hab’…

Was mich schon seit Zeiten extrem nervt, ist, wie Excel mit csv-Dateien umgeht. Zum Einen werden beim Import alle möglichen “Formate” erraten (die in 90% der Fälle F-A-L-S-H-C sind), zum Anderen beim Speichern z. B. Feldtrenner nicht “escaped”. Das geht mir gehörig auf die … – z. B. versuche ich gerade meine Kontakte zu bereinigen. Größter gemeinsamer Teiler ist nunmal das Outlook-CSV-Format. Leider kann man weder in google contacts, noch in Outlook (2007!) Änderungen auf alle Kontakte machen (z. B. kann ich im Internet mit ldap-Adressen wenig anfangen).
Langsam frage ich mich, ob ich nicht meine Kontakte wieder in ‘ner Textdatei pflegen soll.

Buzz und Android

So richtig lustig ist google Buzz eigentlich erst in Kombination mit google maps (hier ersetzt es die eher zäh angelaufene lattitude Anwendung) auf einem Android Phone. Wenn man in maps den Buzz-layer aktiviert, sieht man allerlei Statusmeldungen aus der Umgebung und kann auch mal ein wenig über die Karte wandern um zu schauen, wer da wo was zu sagen hat. Die meisten scheinen ihren Kaffee oder ihr Mittagessen der Welt präsentieren zu wollen ;) einige sagen dann aber auch auf wiedersehen am Flughafen.

Aber so nett das ausschaut – man macht sich damit auch sehr transparent, und man sollte länger nachdenken, ob man anderen diese Nachverfolgbarkeit in die Hand geben möchte.

Dalvik Turbo VM von Myriad

Myriad will die Dalvik VM (der Java-Teil von Android) bis zu 3x beschleunigen (Videos). Das sind gute Nachrichten für alle Android User (sofern es die neue Virtual Machine auch mal in die ROMs schafft). Sollte die Entwicklung auf dem aktuellen Android-Source basieren, drücken wir die Daumen, dass es von Herstellern oder den Custom ROM Bäckern (zu denen ich auch gehöre, s. hier) gelingt, einen Backport für die veralteten Geräte (Samsung Galaxy, G1 – veraltet deswegen, weil die Hersteller bereits gesagt haben, dass ein Update auf neuere Android Versionen aufgrund der Hardware nicht möglich sei, was ich zumindest beim Galaxy bezweifeln möchte) zu erstellen.

Allerdings stehen die Quellen der Android Dalvik VM unter Apache 2.0 Lizenz – Myriad ist also nicht gezwungen, diese wieder zur Verfügung zu stellen. Deswegen ist es gut möglich, dass Myriad die “Turbo VM” exclusiv an die Hersteller (HTC, Motorola, Samsung, …) lizenzieren wird, was einen Backport erschweren, wenn nicht gar unmöglich machen würde.

OpenVPN

Ah sweet! OpenVPN up and running again. The installation direktly on the router (dd-wrt) failed to work reliably. I set up the OpenVPN server on my linux home server (two servers, one on port 443 for http tunneling and one on 1194 for udp connections).

The servers have ip adresses 10.8.0.1 and 10.9.0.1. I adjusted the routing table on my router to route 10.0.0.0 via the linux server. The setup is pretty straightforward and well documented (german).

I installed openvpn gui on the windows client and made to configurations – one for the udp server, one for the http tunneled one. Changed stuff in the tunnel-config:

http-proxy 192.168.10.102 8080 creds.txt basic
proto tcp

The user and login password are in creds.txt.

Todo: getting the client to run on my android phones.

VDR – zero byte recordings

It took me a while, but I finally found out, why my vdr wasn’t recording some channels. At first, I thought I had USB timing issues. Or buffers too small. Or a kernel that’s not a good fit for my Eee 701. Turned out I was looking in the complete wrong spot to solve my problem.

I created the famous “channels.conf” using the scan program from the ubuntu dvb-apps package (scan -o vdr). The program outputs the frequencies in kHz, where vdr expects Hz.

For instance:
Bayerisches FS;ARD:738000:C12D12M64B8T8G8Y0:T:27500:4929:4930=deu:4932:0:34:8468:3841:0

where VDR needs:
Bayerisches FS;ARD:738000000:C12D12M64B8T8G8Y0:T:27500:4929:4930=deu:4932:0:34:8468:3841:0

VDR is still able to tune in and stream via network (streamdev), so you can’t find the cause easily. It restarts constantly when trying to record though, creating 0 byte files.

Solution: login via SVDRP (“netcat localhost 2001″) and type “LSTC”. VDR outputs your actual channel information. Copy the output into an editor of your choice and delete the wrong lines, save it as “channels.conf” in your vdr configuration directory.

Tadaa… recording should work now.

keywords: 0 Byte, Recording, Aufnahme, “ERROR: video data stream broken”, vdr, restart

Creating a patch android_2.6.27 vs. Samsung Galaxy

As you might have noticed (or not) I am working on my own custom Samsung Galaxy ROM called “Italy”. Right now, I am concentrating on the kernel. It looks like the devs over at Samsung (or their contractor) started from a rather outdated base of the android kernel.

To be able to include the drives for the Qualcomm MSM chip and board, I started various attempts…

First attempt: diff android_2.6.27 vs. Samsungs source. This wasn’t working, since the android 2.6.27 kernel has undergone some revisions, and the resulting patchset isn’t anywhere near to be called “Samsung additions”. It’s more one year of kernel development PLUS Samsung/ Qualcomm drivers. Unusable.

Second attempt: merge android_2.6.27 developments into the Samsung Kernel. Result: compiling and working kernel – yay!

Next step: create patchset from 2.6.27-44 (latest kernel.org download of 2.6.27) and android_2.6.27 – merge this one into the source mentioned at 2nd attempt: compiling and (mostly) working – yay!

Still, the changes from android_2.6.27 to android_2.6.29 are too big to be simply merged in. Let’s start over – every iteration brings more knowledge. Like, this time, the conclusion, that the Samsung kernel includes the “mem_notify” patch from early 2008 which is not used in any way as it seems. So before redoing the excercise, I will clean out those mem_notify patches to have an as-clean-as-possible base…

By the way, “meld” is a great tool for this purpose, you should take a look at it.

I gathered the mem_notify patches from the LKML mailing list archives, glued them together and created a reverse patch. Some of the changes got rejected (it happens all the time) but using meld, I can clearly separate out the mem_notify related changes and reverse them. The remaining big chunks are… deciding if a certain code change was introduced to support Qualcomm specific hardware features (for instance bluetooth poweroff, BCM4325 power controls) or if it’s just an evolutionary patch in android_2.6.27.

Oh, btw, I am not a kernel hacker – I admit I don’t even understand C except for a bit of code reading ;-)