|This article may rely excessively on sources too closely associated with the subject, potentially preventing the article from being verifiable and neutral. (June 2016) (Learn how and when to remove this template message)|
|Source model||Free software|
|Latest release||6.0 (May 13, 2017 ) [±]|
|Kernel type||Monolithic (Linux)|
|Userland||Bionic C library, mksh shell, native core utilities with a few from NetBSD|
|License||Apache License 2.0, GNU GPLv2, and various other licenses|
Replicant is a free and open source operating system (OS) based on the Android mobile platform and aims to replace all proprietary Android components with free software counterparts. It is available for several smartphones and tablet computers. It is written in the same programming languages as Android (as it's forked from it, through an indirect fork), while the modifications are mostly in the C language, as the changes are mostly to the lower level parts of the OS, such as the Linux kernel and drivers, that use it.
The Replicant project started in mid-2010 with an effort to consolidate various initiatives attempting to produce a fully free-as-in-freedom Android derivative for the HTC Dream. The original team consisted of Bradley M. Kuhn, Aaron Williamson, Graziano Sorbaioli and Denis ‘GNUtoo’ Carikli. The project quickly led to the writing of replacement code for the non-free parts that were required to make the HTC Dream functional. The first component to be replaced permitted audio to work without a proprietary library. Replicant originally provided its own FOSS application repository, which was later replaced by F-Droid.[self-published source][self-published source]
The Radio Interface Layer, software that handles communication with the modem, was replaced by free code, thus making the telephony part usable. A library handling the GPS was then adapted from free code that was originally written for another phone and permitted the HTC Dream to have GPS working with Replicant.[self-published source]
Early versions of Replicant were based on the Android Open Source Project code, while versions 2.2 (April 2011) and later used CyanogenMod as their base, in order to make supporting more devices easier. In a blog post on on February 1, 2017, the Replicant project said the future versions of Replicant will be based on LineageOS, as the CyanogenMod project was discontinued.
As development continued, many members of the original Replicant team retired from the project, making Denis "GNUtoo" Carikli the only remaining member from the original team still actively working on the project. In April 2011, Paul Kocialkowski decided to get involved with the project and gradually became the main Replicant developer, after successfully porting it to the Nexus S and Galaxy S devices.
The following table lists major releases of Replicant:
|Version||Release date||Based on||Notes|
|Old version, no longer supported: 2.2||26 April 2011||N/A||N/A|
|Old version, no longer supported: 4.0||16 November 2012||Android 4.0 "Ice Cream Sandwich"||Five updates have been released; the last one, 0005, was released on October 1, 2013.|
|Current stable version: 4.2||2 September 2015||CyanogenMod 10.1, based on Android 4.2 "Jelly Bean"||Four updates have been released; the most recent one, 0004, was released on September 2, 2015.|
|Future release: 6.0||13 May 2017||CyanogenMod 13.0, based on Android Marshmallow/AOSP 6.0.x |
In March 2014, Replicant developers found and closed a vulnerability present in a wide range of Samsung Galaxy products that allowed the baseband processor to read and write the device's storage, sometimes with normal user privileges and sometimes as the root user depending on device model. Replicant's lead developer Paul Kocialkowski claimed it was a backdoor, but this was contested by Dan Rosenberg, a senior security researcher at Azimuth Security, who said there was "virtually no evidence for the ability to remotely execute this functionality".
On January 3, 2013, the project released Replicant 4.0 SDK as a fully libre replacement to Android SDK. The Replicant SDK was released in response to Google updating the license for add-ons and binaries under a proprietary agreement. Replicant's SDK was discontinued on April 28, 2017 in favour of the free SDK packaged by Debian. 
Scope of the Replicant project has been gradually expanded to include support for new devices, starting with the Nexus One, Nexus S and Galaxy S. As of January 2014, the following devices are supported, with Wi-Fi and Bluetooth requiring proprietary firmware in order to work:
|Device||Device Class||Codename||Replicant version||2D graphics||3D graphics||Sound||Telephony||Mobile Data||NFC||GPS||Sensors||Camera||Wi-Fi||Bluetooth|
|Samsung Galaxy S||Smartphone||galaxysmtd||4.2||Yes||No||Yes||Yes||Yes||N/A||No||Yes||Yes||Proprietary||Proprietary|
|Samsung Galaxy SII||Smartphone||galaxys2||4.2||Yes (fast)||No||Yes||Yes||Yes||No||No||Yes||Yes||Proprietary||Proprietary|
|Samsung Galaxy Note (original)||Smartphone||n7000||4.2||Yes (slow)||No||Yes||Yes||Yes||No||No||Yes||No||Proprietary||Proprietary|
|Samsung Galaxy Tab 2 (7.0)||Tablet computer||p3100||4.2||Yes (fast)||No||Yes||Yes||Yes||N/A||No||Yes||No||Proprietary||Proprietary|
|Samsung Galaxy Tab 2 (10.1)||Tablet computer||p5100||4.2||Yes (slow)||No||Yes||Yes||Yes||N/A||No||Yes||No||Proprietary||Proprietary|
|Samsung Galaxy SIII||Smartphone||i9300||4.2||Yes||No||Yes||Yes||Yes||Yes||No||Yes||Yes (back) / proprietary (front)||Proprietary||Proprietary|
|Samsung Galaxy Note 2||Smartphone||n7100||4.2||Yes||No||Yes||Yes||Yes||Yes||No||Yes||Yes (back) / proprietary (front)||Proprietary||Proprietary|
|Goldelico OpenPhoenux GTA04||Smartphone||gta04||4.2||Yes||No||Yes||Work in progress||Work in progress||N/A||Yes||Work in progress||Work in progress||Proprietary||Proprietary|
Additional target devices are evaluated, based on the suitability of their hardware platforms and required device drivers; as of January 2014, devices listed below are not yet supported, and porting Replicant to them is only in consideration.
In November 2013, it was announced that Replicant could work on a Fairphone device and that the bootloaders may even be free software. The Fairphone team seemed "definitely interested" in helping to get Replicant ported to the device. In December 2014, Fairphone admitted that it had failed to convince chipset vendor MediaTek to open up the source code for first-generation Fairphones.
Based on either the unsuitability of their hardware platforms or the lack of available free software drivers, porting Replicant to the devices listed below has been considered and rejected.
|Galaxy Tab 8.9||Unlikely||Tegra slowness|
|Nexus 7 (all versions)||Possible but unlikely||Too many proprietary drivers|
|Nexus 4||Very unlikely||Too many proprietary drivers|
|Motorola Defy||Impossible||Kernel is signed|
SELinux is running in enforcing mode (also in recovery mode).[..] I was able to get the Samsung-RIL and libsamsung-ipc code updated. [..] Compiled images if you can't or don't want to build it yourself (build date: 25.3.16) [..] replicant-6.0.zip
At Replicant, things are moving again: Replicant is being updated from Android 4.2 to Android 6.0 by Wolfgang Wiedmeyer. [..] This work is currently being done for the Galaxy S 3 (I9300).
free userspace, proprietary loaded firmware
|Wikimedia Commons has media related to Replicant.|