Jun 092014
 

I’ve used CyanogenMod before and was very satisfied with it. No bloatware, latest features and stable. Had it on my Motorola Droid (special version, since it’s not officially supported), on my Galaxy Nexus, I have it on my Galaxy S4 (my work phone) and after the latest KitKat update from Sony that drains the battery faster than a crackwhore needs her next shot, I decided to give in.

Bootloader unlock, which means a factory reset (you have to request the unlock key from Sony support). Which was the alleged solution to the battery problems anyway, so what could go wrong.

Enter Murphy.

My Windows 8.1 laptop does not recognize the XPeriaZ in fastboot mode. On neither USB port. Not with Android drivers, not with Sony drivers. Just an unknown device with a yellow exclamation mark in the device list. So I hooked up my phone on my Linux server. Yep. That just works.

CyanogenMod usually works perfectly with the ClockWorkMod recovery instructions. Boot in fastboot mode, flash the boot.img and reboot. Flash the custom rom image, and while your at it the Google Apps, and reboot and done. Not this time. The phone is stuck at the CM boot logo. Read the instructions again. Okay, mandatory “factory reset/wipe data” when doing a fresh CM install. I thought I did that, but hey, let’s restart. Flash boot.img, reboot, factory reset/wipe, install CM, install Google Apps. Reboot. Same thing: the CM boot logo. WTF?!

Google is your friend. I wasn’t the only one with this problem. Seems that the data partition made by Sony is encrypted in a way, and CWM does not wipe it properly or doesn’t wipe it at all. TWRP (TeamWin Recovery Project) should be able to do it properly. Next restart: flash the twrp image, reboot. Wow, nice GUI! No fiddling with the volume buttons, just point and click. Wipe the data partition/factory reset. Put the CM and Google Apps zip in the update queue (!) and flash them. Reboot. Wait. CM boot logo. Wait some more.

YES!!!! It asks for my PIN to unlock the SIM card.

Enter Google account credentials and……..oh wait. I have 2-factor authentication and the authenticator was …. on this phone. What now? Damn you Murphy. Turns out you can install the authenticator on another device, scan a barcode (the squares thingy) from a browser on your desktop and then it “moves” the authenticator to that device.
After that, I could succesfully login on my Google account with my fresh CyanogenMod installation.

Only to find that it does not automatically download all my apps. In fact, none of them. Ah well, at least it’s working again.

One more word: if you play games that are Google Play Games enabled, make sure you install Google Play Games first and then the games. Doing it the other way around will give you strange and unpredictable results. In The Gate for example, I got an “Download failed because you may not have purchased this app” which is very weird, since it’s a Free-2-Play game. Just uninstall, install Google Play Games, and then install your games.

Nov 302013
 

As a sidetrack for a work related project, I recently looked at GeoDjango. GeoDjango is the geospatially enabled version of Django, the socalled webframework for perfectionists with deadlines.

Doing the GeoDjango tutorial for the umpth time, Python caught me again. The way the language works, it seems to flawlessly connect with the way I think when I’m programming.

I needed to do some manual upgrading, can’t remember what exactly, but that had to do with the Ubuntu registries not having the latest version or so. Nothing special.

Thinking about two projects to create now. One is an idea I already have for a long time, so maybe it will see daylight some time.

Nov 282013
 

Yes, that’s right! The deal was made earlier this week, but I wanted to go public with it after talking to my boss. Which I did this afternoon. He took it very well, I guess.

For the first time in a long time, I will be leaving consultancy behind me. Unfortunately that also means no more company car, so I’ll need to buy one myself in time. My new title is Senior Developer, and I guess the senior refers to the amount of grey hair I have, or the lack of hair for that matter ;-)

I will be starting my new job February 1st, since I have a 2 months notice on my current contract. Plenty of time to finish my current project(s), and to transfer the knowledge I have of previous projects to some of my colleagues.

Exiting times!

Jun 182012
 

On a side note, my desktop PC no longer runs Linux (OpenSuSE). I’ve had it with it. There’s always something that doesn’t work. Or that keeps crashing. Or that suddenly stops working until a reboot. Sound support sucks. After every kernel update I had to do a manual install of the NVidia drivers to get X running. Always waiting for the X64 versions, since the Linux community still thinks we all run 32-bit computers (same on Windows, but at least that let’s me run 32-bit programs without problems).

I bought a new videocard (a Sapphire HD7970 to be exact), bought an SSD (OCZ Vertex4 128GB) and switched to Windows 7. Everything works. Period. And I can now use Adobe software, so I bought Adobe Photoshop Lightroom to finally being able to organize my pictures (lastest count: over 26000) the way I like it (F-spot and Picasa are nice, but not more than that).

Main reason for the videocard was gaming of course. Racing in the first place, FPS as a close second. Bought Deus Ex Human Revolution (FPS-ish) today, more to follow.

Mar 182010
 

When using an x64 OS, like Windows 7 x64, you undoubtedly found that most software is still 32-bits. If your computer has a lot of memory, you will find that you run out of memory quickly, since 32-bits software only uses the first 4GBytes. For some reason x64 binaries are still hard to find.
Today I stumbled upon this weblog. It’s a great source for x64 software and info, so check it out.