Test-driving the Android free software alternative Replicant
Installing the System
The installation guide on the Replicant homepage envisions two approaches. I will be restricting this article to the easier approach, which uses adb sideload
. After entering the recovery, select the Install ZIP item, followed by Install ZIP from Sideload. Then, change to your Linux computer and dispatch the image. For the Galaxy Nexus the command is:
adb sideload replicant-4.2-maguro.zip
This action takes a couple of minutes; the system is then installed and set up. If everything works, you will see the Recovery reappear. Then select the Reboot System Now item to boot Replicant.
What to Expect…
Once you have started up Replicant 4.2, you might expect the Galaxy Nexus to become something like a feature phone. In fact, you can do very little, apart from actually making calls – a lack of 3D acceleration means that there are no games, and if you want to totally do without proprietary firmware, then WiFi, Bluetooth and GPS are also "off limits." Due to a lack of graphic acceleration, Replicant shows a very slow response, and working with it is not much fun. The Replicant project does not conceal the limitations; in fact the project provides a detailed table on the features available with the Galaxy Nexus (Table 1) [8].
Table 1
Galaxy Nexus Support
Component | Name | Source | Status |
---|---|---|---|
SoC |
TI OMAP 4460 |
Linux kernel |
Linux kernel support |
GPU |
PowerVR SGX540 |
Linux kernel support, proprietary userspace |
|
Audio Codec |
TWL6040 |
Linux kernel |
Linux kernel support (ALSA) |
Modem |
XMM6260 |
Linux kernel |
Free userspace implementation: |
WiFi |
BCM4330 |
Linux kernel |
Linux kernel support, proprietary loaded firmware |
Bluetooth |
BCM4330 |
Linux kernel |
Linux kernel support, proprietary loaded firmware |
NFC |
PN544 |
Android userspace |
Linux kernel support |
GPS |
GSD4t |
Android userspace |
Proprietary userspace, no free implementation: GSD4t |
Accelerometer |
BMA250 |
Linux kernel |
Linux kernel support, free userspace |
Compass |
YAS530 |
Kernel sources |
Linux kernel support, free userspace |
In my case, I also had a problem creating screenshots. It looked like the factory reset had not worked properly. All the photos in screenshots from the previous system were still in place, and USB debugging was still enabled. A second attempt led to the same results. Apparently, this problem was not due to permissions but to the fact that the Replicant system does not have the required graphics drivers to access the screen buffer. A second attempt with the Dalvik Debug Monitor revealed only a fuzzy image.
The Replicant project readily admits that the system "… doesn't ship with applications that cover the wide spectrum of activities that a mobile device is expected to provide," presumably because the project does not have the resources to individually integrate and test every possible application for every possible phone. The developers recommend the F-Droid store [9] as a source or Android-compatible Free Software applications, although they provide no details or recommendations on which tools are best suited to run on Replicant.
Replicant or AOSP?
Replicant is more or less GNU Android. The software consists of 100% components that are available under the GPL or another Free license. Having said this, Replicant is not the only open source system based on Android. The Android Open Source Project (AOSP) is a project operated directly by Google that provides an open source edition of the Android OS. Like Replicant, AOSP provides a limited user experience that is not the same as a full-featured Android smartphone; however, AOSP is backed by the strength of the Google development team. If your phone will run AOSP, there is actually no reason for using Replicant, given the fact that the Replicant code base is fairly old and it supports just about a dozen devices. The AOSP website is primarily focused on the operating system, though, and you won't find the same level of information on compatibility with specific devices you will find at the Replicant site.
Replicant does not use the code from the Android Open Source project directly but instead relies on the Android derivative CyanogenMod as its code base (Figure 4). Put simply:
Replicant = CyanogenMod – proprietary components
The difference feels much bigger however. Although most of the Galaxy Nexus's components work without any problems on CyanogenMod 11, they do not work on Replicant 4.2. In this case, doing without proprietary software does indeed limit the experience. Additionally, the Replicant system is not completely free. The bootloader and a modem remain proprietary.
Although free Linux drivers exist for WiFi and Bluetooth, the firmware is again proprietary. Last but not least, the GPS module needs proprietary drivers. It isn't much help that the Replicant files have appropriate checksums designed to detect the modifications. Given so many proprietary components, that is the least of all problems.
« Previous 1 2 3 Next »
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
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
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