CopperheadOS is a
mobile operating system
A mobile operating system is an operating system for mobile phones, tablet computer, tablets, smartwatches, smartglasses, or other non-laptop personal computing, personal mobile computing devices. While computers such as typical laptops are "mobi ...
for
smartphone
A smartphone is a portable computer device that combines mobile telephone and computing functions into one unit. They are distinguished from feature phones by their stronger hardware capabilities and extensive mobile operating systems, whic ...
s, based on the
Android mobile platform. It adds privacy and security features to the official releases of the
Android Open Source Project
Android is a mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen mobile devices such as smartphones and tablets. Android is developed by a consortium of deve ...
by
Google
Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
. CopperheadOS is developed by Copperhead, a Canadian information security company. It is licensed under Creative Commons
BY-NC-SA
A Creative Commons (CC) license is one of several public copyright licenses that enable the free distribution of an otherwise copyrighted "work".A "work" is any creative material made by a person. A painting, a graphic, a book, a song/lyri ...
4.0, although its source code is not available for public download.
CopperheadOS supports smartphones in the Google Pixel product line; other devices are not targeted in order to preserve the resources of the development team. It has several security features not found in stock Android, such as a hardened version of the
Linux kernel
The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ...
, and the ability to use separate passwords for unlocking the device and for encryption. Rather than use the
Google Play Store
Google Play, also known as the Google Play Store and formerly the Android Market, is a digital distribution service operated and developed by Google. It serves as the official app store for certified devices running on the Android operating sy ...
found on most Android devices, CopperheadOS ships with the
F-Droid
F-Droid is an app store and software repository for Android, serving a similar function to the Google Play store. The main repository, hosted by the project, contains only free and open source apps. Applications can be browsed, downloaded and ...
store in order to reduce the risk of users installing malicious apps.
Development of CopperheadOS began in 2014, and the operating system had an initial alpha release in August 2015. This was followed by a beta release in February 2016, followed by several other releases targeting the
Google Nexus
Google Nexus is a discontinued line of consumer electronic devices that run the Android operating system. Google managed the design, development, marketing, and support of these devices, but some development and all manufacturing were carried o ...
and
Pixel
In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device.
In most digital display devices, pixels are the s ...
phones. The project was initially released under the
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
, with the project's source code publicly available on
GitHub
GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, co ...
. In October 2016 the license was changed to
Creative Commons Attribution-NonCommercial-ShareAlike (BY-NC-SA), and as of June 2020 access to the source code was restricted to members of Copperhead's partner network.
History
Project inception and initial releases
The CopperheadOS project was started in 2014 by Copperhead, an information security company based in
Toronto
Toronto ( ; or ) is the capital city of the Provinces and territories of Canada, Canadian province of Ontario. With a recorded population of 2,794,356 in 2021, it is the List of the largest municipalities in Canada by population, most pop ...
, Canada. The company was founded in the same year by James Donaldson, the CEO, and Daniel Micay, the CTO and lead developer, and initially served clients in the Canadian legal and intelligence industries. During this work, the founders noticed an absence of secure,
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
operating systems for mobile devices, and they created CopperheadOS under an open source license to try to address this need.
Copperhead announced the development of CopperheadOS in April 2015. According to the announcement, the operating system was designed to be a "secure-by-default version of
Android" aimed at privacy-conscious users.
At first, CopperheadOS was licensed under the
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
,
and the project's code was located on
GitHub
GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, co ...
.
Copperhead contributed several of their bug fixes and improvements developed for CopperheadOS to the
Android Open Source Project
Android is a mobile operating system based on a modified version of the Linux kernel and other open-source software, designed primarily for touchscreen mobile devices such as smartphones and tablets. Android is developed by a consortium of deve ...
, the main project for Android development by
Google
Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
.
In August 2015, Copperhead released the first alpha version of CopperheadOS.
At this point, the project was based on
CyanogenMod
CyanogenMod ( ; CM) is a discontinued open-source operating system for mobile devices, based on the Android mobile platform. It was developed as free and open-source software based on the official releases of Android by Google, with added origin ...
, and included support for the
Google Nexus 5
Nexus 5 (code-named Hammerhead) is an Android smartphone sold by Google and manufactured by LG Electronics. It is the fifth generation of the Nexus series, succeeding the Nexus 4. It was unveiled on October 31, 2013 and served as the lau ...
and
Samsung Galaxy S4
The Samsung Galaxy S4 is an Android smartphone produced by Samsung Electronics as the fourth smartphone of the Samsung Galaxy S series and was first shown publicly on March 14, 2013, at Samsung Mobile Unpacked in New York City. It is the succes ...
.
This was followed by a beta version in February 2016, with support for the Nexus 5,
Nexus 9 and
Nexus 5X
The Nexus 5X (codenamed bullhead) is an Android smartphone manufactured by LG Electronics, co-developed with and marketed by Google as part of its Nexus line of flagship devices. Unveiled on September 29, 2015, it was a successor to the Nexus 5 ...
. The beta was based directly on the Android Open Source Project instead of using CyanogenMod, as were subsequent releases. The move away from CyanogenMod and the lack of vendor support led to dropping support for the Samsung Galaxy S4.
In May 2016, Copperhead launched an online store where the Nexus 5X could be purchased directly with CopperheadOS pre-loaded. The
Nexus 6P
Nexus 6P (codenamed ''Angler'') (also known as the Nexus 6 Plus, Nexus 6 Pro or Nexus 6 Premium) is an Android smartphone developed and marketed by Google and manufactured by Huawei. It succeeded the Nexus 6 as the flagship device of the Nexus l ...
was made available for purchase from the store in July of the same year.
License change and departure of Daniel Micay
From October 2016, for versions of CopperheadOS based on Android 7.0 Nougat, Copperhead changed the CopperheadOS license to the
Creative Commons Attribution-NonCommercial-ShareAlike (BY-NC-SA) license.
According to Donaldson, this was to prevent other companies from using the CopperheadOS code without paying Copperhead for licensing, in order to keep the project sustainable.
Copperhead began selling
Google Pixel
Google Pixel is a brand of consumer electronic devices developed by Google that run either ChromeOS or the Android operating system. The Pixel brand was introduced in February 2013 with the first-generation Chromebook Pixel. The Pixel line in ...
phones pre-loaded with CopperheadOS in March 2017, in addition to their lineup of Nexus phones. For Nexus devices, users could download and install CopperheadOS for free;
however, this option was not made available for Pixel phones.
For Pixel phones, users could either buy a phone from the Copperhead store with CopperheadOS pre-loaded, or send their own phone to Copperhead for the operating system to be installed on it. This was done to prevent violations of CopperheadOS's non-commercial license; Copperhead competitors had been selling Nexus phones with CopperheadOS installed without obtaining a commercial license, and Copperhead wanted to avoid this issue with the Pixel.
The issue came to a head in November the same year, when Copperhead briefly shut down the update server for Nexus devices in order to stop the continued license violations. The company restored the update server after two days.
Copperhead released an alpha version of CopperheadOS for the
Pixel 2
The Pixel 2 and Pixel 2 XL are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as the successors to the Pixel and Pixel XL. They were officially announc ...
and Pixel 2 XL in January 2018. Official releases for the Pixel 2 and 2 XL were marked as "for internal use", and could not be downloaded from the Copperhead website without authentication. This maintained the status quo of only Nexus releases being available for public download.
Disagreements between the two founders over business policy became increasingly heated over the first few months of 2018, and led to Donaldson firing Micay in June of that year.
Micay responded by posting his dismissal notice on
Reddit
Reddit (; stylized in all lowercase as reddit) is an American social news news aggregator, aggregation, Review site#Rating site, content rating, and Internet forum, discussion website. Registered users (commonly referred to as "Redditors") subm ...
, and by deleting the cryptographic keys necessary to release updates for the project.
Micay said that he considered "the company and infrastructure to be compromised", and that he would "prevent
onaldsonfrom harming any users". Copperhead failed to provide CopperheadOS updates for several months afterwards.
Micay continued the development of the open source parts of CopperheadOS as the Android Hardening project, which was later rebranded as
GrapheneOS
GrapheneOS (formerly Android Hardening or AndroidHardening) is an Android-based, open source, privacy and security-focused mobile operating system for selected Google Pixel smartphones.
History
The main developer, Daniel Micay, originall ...
. According to Donaldson, as of February 2019 he and Micay were in a legal dispute over the incident.
Android Pie and beyond
In March 2019, Copperhead released a version of CopperheadOS based on
Android Pie
Android Pie ( codenamed Android P during development), also known as Android 9 (API 28) is the ninth major release and the 16th version of the Android mobile operating system. It was first released as a developer preview on March 7, 2018, and ...
(9), which had support for the Pixel, Pixel XL, Pixel 2 and Pixel 2 XL. Pixel devices pre-installed with CopperheadOS could be purchased from Copperhead's website. This was followed in February 2020 with a version of CopperheadOS based on Android 10, available for the Pixel 2 and Pixel 2 XL. As of June 2020, CopperheadOS sources and installation files were no longer available for public download and could only be obtained from Copperhead's partner network. Copperhead cites "mass violation of Copperhead's non-Commercial licensing" as the reason for this change.
Copperhead released a version of CopperheadOS based on
Android 11
Android 11 is the eleventh major release and 18th version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. It was released on September 8, 2020. The first phone launched in Europe with Android 11 w ...
in November 2020. This was followed with a version based on
Android 12
Android 12 is the twelfth major release and 19th version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. The first beta was released on May 18, 2021. Android 12 was released publicly on October 4, ...
in February 2022. This version added support for the
Pixel 4a
The Pixel 4a and Pixel 4a (5G) are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as mid-range variants of the Pixel 4 and Pixel 4 XL. The Pixel 4a was ...
, the Pixel 4a 5G, the
Pixel 5
The Pixel 5 is an Android smartphone designed, developed, and marketed by Google as part of the Google Pixel product line. It serves as the successor to the Pixel 4. It was officially announced on September 30, 2020 at the " Launch Night In" ...
, the
Pixel 5a
The Pixel 5a, also known as the Pixel 5a with 5G, is an Android smartphone designed, developed, and marketed by Google as part of the Google Pixel product line. It serves as a mid-range variant of the Pixel 5. It was officially announced on A ...
, and the
Pixel 6
The Pixel 6 and Pixel 6 Pro are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as the successor to the Pixel 5. The phones were first previewed in Au ...
.
Features and compatibility
CopperheadOS is focused on hardening the Android operating system to make it more difficult for attackers to exploit any potential security vulnerabilities. In a 2016 interview, Copperhead CEO James Donaldson said, "The point of it is to increase the amount of resources an attacker needs to expend... to the point where hopefully they will just give up."
The operating system features several security improvements over stock Android related to how programs interact with
memory
Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembered ...
. It implements the
PaX security patches for the
Linux kernel
The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ...
, which improves resistance against executing code that has managed to find its way into writeable memory.
It also features improved
address space layout randomization
Address space layout randomization (ASLR) is a computer security technique involved in preventing exploitation of memory corruption vulnerabilities. In order to prevent an attacker from reliably jumping to, for example, a particular exploited ...
, a version of
malloc
C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely , , , and .
The C++ programming language includ ...
with better memory layout randomization, and more secure
SELinux
Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls (MAC).
SELinux is a set of kernel modifications and user-space ...
policies.
CopperheadOS also features
verified boot
A hardware restriction (sometimes called hardware DRM) is low-level protection enforced by electronic components. The hardware restriction scheme may protect against physical or malware attacks or complement a digital rights management system i ...
, which protects against malware taking over the boot process or the recovery process of the device.
There are also various changes from stock Android in user-facing features. CopperheadOS separates the password used to unlock the device from the device's encryption password; users can use a relatively simple password to unlock their devices, but if the wrong password is entered five times in a row, the device reboots and the encryption password must be entered, which would be presumably more difficult for an attacker to guess.
The operating system ships with the
F-Droid
F-Droid is an app store and software repository for Android, serving a similar function to the Google Play store. The main repository, hosted by the project, contains only free and open source apps. Applications can be browsed, downloaded and ...
store, from which users can install open-source applications, instead of the
Google Play Store
Google Play, also known as the Google Play Store and formerly the Android Market, is a digital distribution service operated and developed by Google. It serves as the official app store for certified devices running on the Android operating sy ...
usually found on Android phones. This is intended to prevent users from unknowingly installing malicious apps on their devices.
The project supports
smartphone
A smartphone is a portable computer device that combines mobile telephone and computing functions into one unit. They are distinguished from feature phones by their stronger hardware capabilities and extensive mobile operating systems, whic ...
s in the Google Pixel product line. This is done to preserve Copperhead's development resources, and to enable quick patching when Google releases security updates.
, the supported phones are the
Pixel 3a
The Pixel 3a and Pixel 3a XL are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as mid-range variants of the Pixel 3 and Pixel 3 XL. They were official ...
, the
Pixel 3a XL
The Pixel 3a and Pixel 3a XL are a pair of Android (operating system), Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as mid-range variants of the Pixel 3 and Pixe ...
, the
Pixel 4, the
Pixel 4 XL, the
Pixel 4a
The Pixel 4a and Pixel 4a (5G) are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as mid-range variants of the Pixel 4 and Pixel 4 XL. The Pixel 4a was ...
, the
Pixel 4a 5G, the
Pixel 5
The Pixel 5 is an Android smartphone designed, developed, and marketed by Google as part of the Google Pixel product line. It serves as the successor to the Pixel 4. It was officially announced on September 30, 2020 at the " Launch Night In" ...
, the
Pixel 5a
The Pixel 5a, also known as the Pixel 5a with 5G, is an Android smartphone designed, developed, and marketed by Google as part of the Google Pixel product line. It serves as a mid-range variant of the Pixel 5. It was officially announced on A ...
, and the
Pixel 6
The Pixel 6 and Pixel 6 Pro are a pair of Android smartphones designed, developed, and marketed by Google as part of the Google Pixel product line. They collectively serve as the successor to the Pixel 5. The phones were first previewed in Au ...
.
Reception
In January 2018, Tarus Balog of opensource.com was favorably impressed by features in CopperheadOS, but he found the lack of Google applications difficult, and was confused by licensing terms and conditions. Balog said he initially used a Nexus 6P because available Pixel and Pixel XL phones from Copperhead were too expensive. At that time source code was available, but he was unable to successfully complete his own build.
Influence
In 2016,
The Tor Project
The Tor Project, Inc. is a Seattle-based 501(c)(3) research-education nonprofit organization founded by computer scientists Roger Dingledine, Nick Mathewson and five others. The Tor Project is primarily responsible for maintaining software for ...
released a prototype smartphone based on CopperheadOS named the
Tor Phone, which gave users the ability to route their network connections through
Tor for anonymity. CopperheadOS was chosen for its focus on security, in particular its use of verified boot and its prevention of system apps being overridden by apps from the Google Play Store. The prototype only worked on Google Nexus and Pixel hardware, and had many unfinished pieces.
See also
*
List of custom Android distributions
This is a list of Android distributions (Android-based operating systems, custom firmware, custom ROM) that have received independent coverage in notable Android-related sources. The list may include distributions that come preinstalled on a devi ...
*
Security-focused operating system
This is a list of operating systems specifically focused on security. Operating systems for general-purpose usage may be secure without having a specific focus on security.
Similar concepts include security-evaluated operating systems that have ...
*
Guardian Project
References
External links
*
*
{{Mobile operating systems
Custom Android firmware
Mobile Linux
Mobile operating systems