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.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.