Tired of Android? Try your luck with Sailfish OS, Ubuntu Touch, and Firefox OS
Running Firefox OS
Mozilla's approach to the smartphone market is a bit different from Canonical's or Jolla's. Instead of aiming for a system that looks nice and is feature rich, Mozilla engaged in a race to the bottom of the bargain bin – an OS that can run on the cheapest, slowest phones – in a bid to win over users in developing markets. The box titled "Installing Firefox OS" describes how to install the operating system on a Nexus 4.
Installing Firefox OS
The first step toward installing Firefox OS is to download its system file [6]. Once the download is complete, plug your phone into your computer and reboot it into the bootloader:
$ adb reboot bootloader
Now, you have to download the ClockworkMod Recovery [2] (CWM), and install it by typing:
$ fastboot flash recovery \ <your_recovery_image>.img
Replace <your_recovery_image>.img
with the name of the image file you just downloaded. Once the custom recovery has been flashed, tap the Volume Down key twice until Recovery is highlighted, and press the Power button to confirm your choice. Once your phone has booted into the custom recovery, go ahead and press wipe data/factory reset (Figure 4). After the data has been wiped, push the file onto your phone:
$ adb push <FFOS>.zip /sdcard/
Replace <FFOS>.zip
with the name of the Firefox OS zip you just downloaded. Then go to the install zip option and tap on select zip from SD card. After selecting the option choose zip from /sdcard/, and choose the zip file you just pushed onto your phone.
Firefox OS is now installed on your Nexus 4! Go ahead and reboot.
Firefox OS (Figure 3, right) is based on the Boot2Gecko project developed by Mozilla and was first released in April 2013. Like Ubuntu Touch, the system itself is completely open source and uses open standards.
Because of the very low requirements needed for Firefox OS to run on devices, the interface is simple … and ugly, very ugly. Icon designs in the home screen (Figure 6, right) are garish and quite an eyesore. Navigation around the UI is similar to iOS, with a central Home button overlaid on the screen and all other navigation buttons placed inside the individual applications. Long-pressing the Home button takes you to the app switcher (Figure 5, right), which is as basic as everything else in the system. There's not much to customize here, at least not easily, apart from wallpapers and sounds, but dive in deep, and you can change as many things as you want – if you know how, of course.
Interestingly the app situation is the best out of the three systems I tested, even if it is only because Firefox OS has been around the longest. Applications are similar in nature to the web apps of Ubuntu Touch, although they do run a bit more smoothly, which is good because the OS itself is very light on apps, not even featuring a terminal or calculator applications out of the box.
Firefox OS still has a long way to go with its app store, though, with many large apps such as Instagram or WhatsApp missing (at least officially), although I did find an official Telegram web app.
The lightness of the system means it runs blazingly fast. Apps open quickly and animations are smooth. Firefox OS is also the stablest of the three systems tested.
The problem is that all of this means nothing if few phones ship with Firefox OS and Android keeps getting slimmer and faster with every release. Right now, Android commands a massive percentage of the developing market, and Firefox OS hasn't made much of a dent in it, even though it has been out for more than two years.
Getting Back to Android
If you're tired of playing with your custom OS, it's pretty easy to flash Android back onto your Nexus.
The first thing you have to do is download an appropriate version of Android [7] for your device. Once that's done, simply reboot into the bootloader, either by holding the Volume Down and Power buttons when the phone is turned off or via ADB:
$ adb reboot bootloader
After your phone has booted into the bootloader, it is as simple as uncompressing the file you just downloaded and running the flash-all
script included in it.
$ ./flash-all
Now you are back to where you were at the beginning of this article.
Conclusion
Firefox OS, although it is the most mature of the three, is by far the biggest eyesore; Sailfish OS, though pretty, is the buggiest, most featureless, and deficient system I have ever run on a mobile phone. Ubuntu Touch is simply a joy and deserves to be the fourth contender in the mobile market.
Infos
- Android 4.2.2 system image for the Nexus 4: https://dl.google.com/dl/android/aosp/occam-jdq39-factory-345dc199.tgz
- ClockworkMod custom Recovery for the Nexus 4: http://builder.unstableapps.com/#/latest/clockworkmodrecovery/mako
- CyanogenMod version 10.1.3 install file for the Nexus 4: http://download.cyanogenmod.org/get/jenkins/42526/cm-10.1.3-mako.zip
- Sailfish OS install file directory for the Nexus 4: http://images.devaamo.fi/sfa/mako/
- Ubuntu Touch: https://developer.ubuntu.com/en/start/ubuntu-for-devices/
- Firefox OS install file for the Nexus 4: http://forum.xda-developers.com/devdb/project/dl/?id=9351
- Stock Android images for Nexus: https://developers.google.com/android/nexus/images
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.