Systemd Service Dependency On Device

In my SailfishOS port for Motorola Photon Q there was a dependency issue. Sometimes the mce service was starting before the LEDs become available and as a result they were not used. I solved the issue by creating a dependency on one of the LEDs for the mce service.
In general, in order to add a systemd service dependency on a device do the following:
(more…)

Porting Ubuntu Touch for Motorola Photon Q

Introduction

This post describes how to build Ubuntu Touch for Motorola Photon Q. It’s based on the official porting guide. If you face any issues or have doubts, please consult the official porting guide.

Requirements

This guide assumes that you are using Ubuntu Linux as your host OS. All the commands are relevant to Ubuntu only.
(more…)

Using Autotools

There are many Linux distributions, shipping different libraries and tools to different locations. Developing software that is portable across several Posix-compatible operating systems is hard. Luckily, there are several build suites, designed to make the build process portable. One of them is Autotools. Autotools is a set of tools:

  • Autoconf – generates configuration script from a template (configure.ac) file. Generates Makefiles from Makefile.in files.
  • Automake – takes Makefile.am files as an input and generates Makefile.in files
  • Libtool – handles all the requirements for building shared libraries

(more…)

Motorola Photon Q

Motorola Photon Q

Motorola Photon Q

I used to have Nokia’s Maemo phone: N900. Maemo is a Linux-based OS. Traditionally Linux has had rich multitasking capabilities and Maemo is not an exception. Multitasking on N900 was the best I ever had on a mobile phone. The hardware QWERTY keyboard was great too. I enjoyed using the N900, but unfortunately Nokia stopped supporting it and I had to move on. I went with the stream and both an Android phone. I’ve been an Android user for a year now, but I always missed the user experience of Maemo and the hardware keyboard of N900.
Ever since Ubuntu started working on Touch I wanted to try it out, because I think that it can be a good replacement for the aging Maemo platform. Unfortunately the developer preview is available only for Nexus devices. I wanted to try Ubuntu on a phone with hardware keyboard, but they are not popular and there are just a few available devices. That is why, when I came across Motorola Photon Q, I did not hesitate and bought it.
(more…)

Building Firefox for Mobile (Fennec) on Maemo SDK

Recently I built Firefox for mobile (Fennec) for Maemo, because I wanted the latest version. A few modifications had to be made and I decided to describe the process.

Note:If you don’t want to build Fennec yourself, you can skip reading and download the latest version here.
(more…)

Using Qualified Certificates on Nokia N900

Introduction

Nokia N900

Several months ago I decided that I want to change my ageing Symbian platform, Nokia phone with something newer. I came across a bargain for Nokia N900. N900 has a querty keyboard and is running Maemo, a Linux-based OS. It has great integration with different instant messengers like Skype, GTalk, etc. The phone has 32 GB of storage, USB host and fully customizable UI. When I chose this phone I reasoned that I can easily customize its software, if the need arises, because it’s Linux-based. It’s a great phone, though it’s old (2009 model).

Qualified Digital Certificates

Digital certificates are the electronic equivalent of an ID card. They are issued by certification authorities and contain identification information about the holder, including the person’s public key, along with the authority’s digital signature, so that the recipient can verify the authenticity of the certificate.

The term qualified certificate is defined in European Directive. The qualified digital certificates are used in conjunction with secure signature-creation devices (cryptographic tokens) to create qualified electronic signatures. According to the EU legislation the qualified electronic signatures are equivalent to the handwritten signatures.

I have a qualified digital certificate, issued on Siemens CardOS card and an ACS ACR reader. Most of the time I have access to a PC, but I decided that since the N900 is running Linux it will be great, if I can use my qualified certificate on my phone.

The reader connected to the phone.

(more…)