systemd-nspawn ping debugging

So I wanted to play with systemd-nspawn and got a Fedora22 container running in a minute:

$ yum --releasever=22 --installroot=/var/lib/container/fedora22 install systemd passwd yum fedora-release vim-minimal iputils
$ systemd-nspawn -D /var/lib/container/fedora22 passwd -d root
$ systemctl start systemd-nspawn@fedora22
$ machinectl login fedora22

Now I wanted to test my network connection running ping but suddenly:

-bash-4.3# /bin/ping 8.8.8.8
-bash: /bin/ping: Operation not permitted

What the heck? Clearly something is wrong here, let’s debug this! more ...


Force fsck on rootfs in Fedora

Small problem, a lot of hassle. My rootfs became corrupted in a way that fsck refused to fix it in non-interactive mode. This means that I have to run fsck manually but since rootfs is already mounted, it’s not really safe. There are couple ways one can handle this problem, here’s the one I prefer. more ...


Android boot.img manipulation

Typical Android system implementing fastboot (this includes FirefoxOS devices) uses so called boot.img images to run the kernel. It consist of the kernel itself and a ramdisk that it used to populate root (/) filesystem. Because it’s often useful to edit this filesystem (especially to modify /default.prop file), let’s look how we can manipulate this image. I already briefly described how this can be done as part of my older post but now I’m going to describe more advanced and standalone (you don’t need Android sources for it) tool. more ...


ClockworkMod for Alcatel One Touch Fire

ClockworkMod Recovery is a replacement recovery system for Android devices developed as part of famous CyanogenMod project. Because under the hood FirefoxOS reuses most low-level components from Android, we can use this recovery to easily backup and restore for example Alcatel One Touch Fire devices (but the steps shown here should be similar for other devices). This guide shows how to port and build ClockworkMod to AOTF devices by yourself. more ...



Alcatel One Touch Fire Hacking (Mini)Guide

Alcatel One Touch Fire is one of first two production phones running Firefox OS. Unlike ZTE Open, I haven’t seen too much information on how to make it hacker friendly. This is why I created this short guide.

First thing you want to do with your phone when doing some Firefox OS development is to flash your custom firmware built. Currently the phone is running the only stable release of the system which is 1.0.1. Because of the way Mozilla does its development, it feels like it’s ancient and the first thing you want to do with the phone when you get it is to upgrade the software. After recently fixed bug, at least version 1.1 should be working OK. Let’s see how can safely try it. more ...




More flash space on HTC Desire

I finally decided to root my HTC Desire phone. I know It’s the first think many people do with their Android phones but since this was my primary phone, I didn’t want do loose my warranty. Now, since it’s long gone I decided to upgrade it. I installed stable release of Cyanogen 7.2 and after fixing GPS (I had to replace HAL library), I had a working phone again. more ...


Whining about Firefox OS

I’ve got my hands on Alcatel One Touch Fire couple days ago so I decided to write couple of words about its drawbacks. Don’t get me wrong, even though I will only complain in this post, I’m quite impressed by this device as a whole. You can buy it for 404 PLN (it seems that T-mobile salesmen have a sense of humor) which is about 130 USD, without any simlock protection or a contract - that’s quite low price for Polish standards. It’s a very early version of the software (1.0.1) but it seems to be stable and usable - you can make phone calls, receive/send text messages, use Internet browser, listen to the music, or even watch Youtube. And don’t laugh, that’s not so obvious for me - couple years ago I bought OpenMoko FreeRunner for much, much bigger price and it never got that far (It was a great project, with very different goals, though). System generally runs quite smooth, you have GPS, accelerometer, camera, touchscreen and quite a lot of storage space - not bad for that price. There are, however, some imperfections and It’s not that easy to find informations about them on the Internet so let’s get started. more ...