Everipedia Logo
Everipedia is now IQ.wiki - Join the IQ Brainlist and our Discord for early access to editing on the new platform and to participate in the beta testing.
Android (operating system)

Android (operating system)

Android is a mobile operating system developed by Google. It is based on a modified version of the Linux kernel and other open source software, and is designed primarily for touchscreen mobile devices such as smartphones and tablets. In addition, Google has developed Android TV for televisions, Android Auto for cars, and Wear OS for wearables, each with a specialized user interface. Variants of Android are also used on game consoles, digital cameras, PCs and other electronics.

Initially developed by Android Inc., which Google bought in 2005, Android was unveiled in 2007, with the first commercial Android device launched in September 2008. The current stable version is Android 10, released on September 3, 2019. The core Android source code is known as Android Open Source Project (AOSP), which is primarily licensed under the Apache License.

Android is also associated with a suite of proprietary software developed by Google, called Google Mobile Services (GMS),[11] that frequently comes pre-installed on devices. This includes core apps such as Gmail, the application store/digital distribution platform Google Play and associated Google Play Services development platform, and usually includes the Google Chrome web browser and Google Search app. These apps are licensed by manufacturers of Android devices certified under standards imposed by Google, but AOSP has been used as the basis of competing Android ecosystems such as Amazon.com's Fire OS, which use their own equivalents to Google Mobile Services.

Android has been the best-selling OS worldwide on smartphones since 2011 and on tablets since 2013. As of May 2017, it has over two billion monthly active users, the largest installed base of any operating system, and as of December 2018, the Google Play store features over 2.6 million apps.[12]

Android
Screenshot
Android Pie.png
Android Pie home screen with the Pixel Launcher on the Google Pixel 2
Developer
  • Google,
  • Open Handset Alliance
Written inJava (UI), C (core), C++ and others[2]
OS familyUnix-like (Modified Linux kernel)
Working stateCurrent
Source modelOpen source (most devices include proprietary components, such as Google Play)
Initial releaseSeptember 23, 2008 (2008-09-23)[3]
Latest releaseAndroid 10 / September 3, 2019 (2019-09-03)[4]
Repository
  • android.googlesource.com [471]
Marketing targetSmartphones, tablet computers, smart TVs (Android TV), Android Auto and smartwatches (Wear OS)
Available in100+ languages[5]
Update methodOver-the-air
Package managerAPK-based
Platforms32- and 64-bit ARM, x86 and x86-64
Kernel typeMonolithic
UserlandBionic libc,[6] mksh shell,[7] Toybox as core utilities (beginning with Android 6.0)[8][9]
Default user interfaceGraphical (multi-touch)
License
  • Apache License 2.0
  • GNU GPL v2 for the Linux kernel modifications[10]
Official websitewww.android.com [472]
Articles in the series
Android version history

History

First Android logotype (2007–2014)

First Android logotype (2007–2014)

Second Android logotype (2014–2019)

Second Android logotype (2014–2019)

HTC Dream or T-Mobile G1, the first commercially released device running Android (2008)

HTC Dream or T-Mobile G1, the first commercially released device running Android (2008)

Eric Schmidt, Andy Rubin and Hugo Barra at a 2012 press conference announcing Google's Nexus 7 tablet

Eric Schmidt, Andy Rubin and Hugo Barra at a 2012 press conference announcing Google's Nexus 7 tablet

Android Inc. was founded in Palo Alto, California, in October 2003 by Andy Rubin, Rich Miner, Nick Sears, and Chris White.[13][14] Rubin described the Android project as "tremendous potential in developing smarter mobile devices that are more aware of its owner's location and preferences".[14] The early intentions of the company were to develop an advanced operating system for digital cameras, and this was the basis of its pitch to investors in April 2004.[15] The company then decided that the market for cameras was not large enough for its goals, and by five months later it had diverted its efforts and was pitching Android as a handset operating system that would rival Symbian and Microsoft Windows Mobile.[15][16]

Rubin had difficulty attracting investors early on, and Android was facing eviction from its office space. Steve Perlman, a close friend of Rubin, brought him $10,000 in cash in an envelope, and shortly thereafter wired an undisclosed amount as seed funding. Perlman refused a stake in the company, and has stated "I did it because I believed in the thing, and I wanted to help Andy."[17][18]

In July 2005,[14] Google acquired Android Inc. for at least $50 million.[19] Its key employees, including Rubin, Miner and White, joined Google as part of the acquisition.[14] Not much was known about the secretive Android at the time, with the company having provided few details other than that it was making software for mobile phones.[14] At Google, the team led by Rubin developed a mobile device platform powered by the Linux kernel. Google marketed the platform to handset makers and carriers on the promise of providing a flexible, upgradeable system.[20] Google had "lined up a series of hardware components and software partners and signaled to carriers that it was open to various degrees of cooperation".[21]

Speculation about Google's intention to enter the mobile communications market continued to build through December 2006.[22] An early prototype had a close resemblance to a BlackBerry phone, with no touchscreen and a physical QWERTY keyboard, but the arrival of 2007's Apple iPhone meant that Android "had to go back to the drawing board".[23][24] Google later changed its Android specification documents to state that "Touchscreens will be supported", although "the Product was designed with the presence of discrete physical buttons as an assumption, therefore a touchscreen cannot completely replace physical buttons".[25] By 2008, both Nokia and BlackBerry announced touch-based smartphones to rival the iPhone 3G, and Android's focus eventually switched to just touchscreens. The first commercially available smartphone running Android was the HTC Dream, also known as T-Mobile G1, announced on September 23, 2008.[26][27]

On November 5, 2007, the Open Handset Alliance, a consortium of technology companies including Google, device manufacturers such as HTC, Motorola and Samsung, wireless carriers such as Sprint and T-Mobile, and chipset makers such as Qualcomm and Texas Instruments, unveiled itself, with a goal to develop "the first truly open and comprehensive platform for mobile devices".[28][29][30] Within a year, the Open Handset Alliance faced two other open source competitors, the Symbian Foundation and the LiMo Foundation, the latter also developing a Linux-based mobile operating system like Google. In September 2007, InformationWeek covered an Evalueserve study reporting that Google had filed several patent applications in the area of mobile telephony.[31][32]

Since 2008, Android has seen numerous updates which have incrementally improved the operating system, adding new features and fixing bugs in previous releases. Each major release is named in alphabetical order after a dessert or sugary treat, with the first few Android versions being called "Cupcake", "Donut", "Eclair", and "Froyo", in that order. During its announcement of Android KitKat in 2013, Google explained that "Since these devices make our lives so sweet, each Android version is named after a dessert", although a Google spokesperson told CNN in an interview that "It's kind of like an internal team thing, and we prefer to be a little bit — how should I say — a bit inscrutable in the matter, I'll say".[33]

In 2010, Google launched its Nexus series of devices, a lineup in which Google partnered with different device manufacturers to produce new devices and introduce new Android versions. The series was described as having "played a pivotal role in Android's history by introducing new software iterations and hardware standards across the board", and became known for its "bloat-free" software with "timely ... updates".[34] At its developer conference in May 2013, Google announced a special version of the Samsung Galaxy S4, where, instead of using Samsung's own Android customization, the phone ran "stock Android" and was promised to receive new system updates fast.[35] The device would become the start of the Google Play edition program, and was followed by other devices, including the HTC One Google Play edition,[36] and Moto G Google Play edition.[37] In 2015, Ars Technica wrote that "Earlier this week, the last of the Google Play edition Android phones in Google's online storefront were listed as "no longer available for sale" and that "Now they're all gone, and it looks a whole lot like the program has wrapped up".[38][39]

From 2008 to 2013, Hugo Barra served as product spokesperson, representing Android at press conferences and Google I/O, Google's annual developer-focused conference. He left Google in August 2013 to join Chinese phone maker Xiaomi.[40][41] Less than six months earlier, Google's then-CEO Larry Page announced in a blog post that Andy Rubin had moved from the Android division to take on new projects at Google, and that Sundar Pichai would become the new Android lead.[42][43] Pichai himself would eventually switch positions, becoming the new CEO of Google in August 2015 following the company's restructure into the Alphabet conglomerate,[44][45] making Hiroshi Lockheimer the new head of Android.[46][47]

In June 2014, Google announced Android One, a set of "hardware reference models" that would "allow [device makers] to easily create high-quality phones at low costs", designed for consumers in developing countries.[48][49][50] In September, Google announced the first set of Android One phones for release in India.[51][52] However, Recode reported in June 2015 that the project was "a disappointment", citing "reluctant consumers and manufacturing partners" and "misfires from the search company that has never quite cracked hardware".[53] Plans to relaunch Android One surfaced in August 2015,[54] with Africa announced as the next location for the program a week later.[55][56] A report from The Information in January 2017 stated that Google is expanding its low-cost Android One program into the United States, although The Verge notes that the company will presumably not produce the actual devices itself.[57][58]

Google introduced the Pixel and Pixel XL smartphones in October 2016, marketed as being the first phones made by Google,[59][60] and exclusively featured certain software features, such as the Google Assistant, before wider rollout.[61][62] The Pixel phones replaced the Nexus series,[63] with a new generation of Pixel phones launched in October 2017.[64]

In May 2019, the operating system became entangled in the trade war between China and the United States involving Huawei which like many other tech firms have become dependent on access to the Android platform.[65][66] In the summer of 2019, Huawei announced it would create an alternative operating system to Android[67][68] known as Harmony OS,[69] and have filed for intellectual property rights across major global markets.[70][71] Huawei does not currently have any plans to replace Android in the near future, as Harmony OS is designed for internet of things devices, rather than for smartphones.[72]

On August 22, 2019, it was announced that Android "Q" would officially be branded as Android 10, ending the historic practice of naming major versions after desserts. Google stated that these names were not "inclusive" to international users (due either to the aforementioned foods not being internationally known, or being difficult to pronounce in some languages).[73][74] On the same day, Android Police reported that Google had commissioned statue of a giant number "10" to be installed in the lobby of the developers' new office.[75] Android 10 is scheduled to be released on September 3, 2019 to Google Pixel phones first.[76]

Features

Interface

Android's default user interface is mainly based on direct manipulation, using touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching, and reverse pinching to manipulate on-screen objects, along with a virtual keyboard.[77] Game controllers and full-size physical keyboards are supported via Bluetooth or USB.[78][79] The response to user input is designed to be immediate and provides a fluid touch interface, often using the vibration capabilities of the device to provide haptic feedback to the user. Internal hardware, such as accelerometers, gyroscopes and proximity sensors are used by some applications to respond to additional user actions, for example adjusting the screen from portrait to landscape depending on how the device is oriented,[80] or allowing the user to steer a vehicle in a racing game by rotating the device, simulating control of a steering wheel.[81]

Android devices boot to the homescreen, the primary navigation and information "hub" on Android devices, analogous to the desktop found on personal computers. Android homescreens are typically made up of app icons and widgets; app icons launch the associated app, whereas widgets display live, auto-updating content, such as a weather forecast, the user's email inbox, or a news ticker directly on the homescreen.[82] A homescreen may be made up of several pages, between which the user can swipe back and forth.[83] Third-party apps available on Google Play and other app stores can extensively re-theme the homescreen,[84] and even mimic the look of other operating systems, such as Windows Phone.[85] Most manufacturers customize the look and features of their Android devices to differentiate themselves from their competitors.[86]

Along the top of the screen is a status bar, showing information about the device and its connectivity. This status bar can be "pulled" down to reveal a notification screen where apps display important information or updates.[83] Notifications are "short, timely, and relevant information about your app when it's not in use", and when tapped, users are directed to a screen inside the app relating to the notification.[87] Beginning with Android 4.1 "Jelly Bean", "expandable notifications" allow the user to tap an icon on the notification in order for it to expand and display more information and possible app actions right from the notification.[88]

An All Apps screen lists all installed applications, with the ability for users to drag an app from the list onto the home screen. A Recents screen lets users switch between recently used apps.[83]

Applications

Applications ("apps"), which extend the functionality of devices, are written using the Android software development kit (SDK)[89] and, often, the Java programming language.[90] Java may be combined with C/C++,[91] together with a choice of non-default runtimes that allow better C++ support.[92] The Go programming language is also supported, although with a limited set of application programming interfaces (API).[93] In May 2017, Google announced support for Android app development in the Kotlin programming language.[94][95]

The SDK includes a comprehensive set of development tools,[96] including a debugger, software libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials. Initially, Google's supported integrated development environment (IDE) was Eclipse using the Android Development Tools (ADT) plugin; in December 2014, Google released Android Studio, based on IntelliJ IDEA, as its primary IDE for Android application development. Other development tools are available, including a native development kit (NDK) for applications or extensions in C or C++, Google App Inventor, a visual environment for novice programmers, and various cross platform mobile web applications frameworks. In January 2014, Google unveiled an framework based on Apache Cordova for porting Chrome HTML 5 web applications to Android, wrapped in a native application shell.[97]

Android has a growing selection of third-party applications, which can be acquired by users by downloading and installing the application's APK (Android application package) file, or by downloading them using an application store program that allows users to install, update, and remove applications from their devices. Google Play Store is the primary application store installed on Android devices that comply with Google's compatibility requirements and license the Google Mobile Services software.[98][99] Google Play Store allows users to browse, download and update applications published by Google and third-party developers; as of July 2013, there are more than one million applications available for Android in Play Store.[100] As of July 2013, 50 billion applications have been installed.[101][102] Some carriers offer direct carrier billing for Google Play application purchases, where the cost of the application is added to the user's monthly bill.[103] As of May 2017, there are over one billion active users a month for Gmail, Android, Chrome, Google Play and Maps.

Due to the open nature of Android, a number of third-party application marketplaces also exist for Android, either to provide a substitute for devices that are not allowed to ship with Google Play Store, provide applications that cannot be offered on Google Play Store due to policy violations, or for other reasons. Examples of these third-party stores have included the Amazon Appstore, GetJar, and SlideMe. F-Droid, another alternative marketplace, seeks to only provide applications that are distributed under free and open source licenses.[98][104][105][106]

Memory management

Since Android devices are usually battery-powered, Android is designed to manage processes to keep power consumption at a minimum. When an application is not in use the system suspends its operation so that, while available for immediate use rather than closed, it does not use battery power or CPU resources.[107][108] Android manages the applications stored in memory automatically: when memory is low, the system will begin invisibly and automatically closing inactive processes, starting with those that have been inactive for the longest amount of time.[109][110] Lifehacker reported in 2011 that third-party task killer applications were doing more harm than good.[111]

Hardware

The main hardware platform for Android is ARM (the ARMv7 and ARMv8-A architectures), with x86 and x86-64 architectures also officially supported in later versions of Android.[112][113][114][115] The unofficial Android-x86 project provided support for x86 architectures ahead of the official support.[116][117] The ARMv5TE and MIPS32/64 architectures were also historically supported but removed in later Android releases.[118] Since 2012, Android devices with Intel processors began to appear, including phones[119] and tablets. While gaining support for 64-bit platforms, Android was first made to run on 64-bit x86 and then on ARM64. Since Android 5.0 "Lollipop", 64-bit variants of all platforms are supported in addition to the 32-bit variants.[112]

Requirements for the minimum amount of RAM for devices running Android 7.1 range from in practice 2 GB for best hardware, down to 1 GB for the most common screen, to absolute minimum 512 MB for the lowest spec 32-bit smartphone. The recommendation for Android 4.4 is to have at least 512 MB of RAM,[120] while for "low RAM" devices 340 MB is the required minimum amount that does not include memory dedicated to various hardware components such as the baseband processor.[121] Android 4.4 requires a 32-bit ARMv7, MIPS or x86 architecture processor (latter two through unofficial ports),[116][117] together with an OpenGL ES 2.0 compatible graphics processing unit (GPU).[122] Android supports OpenGL ES 1.1, 2.0, 3.0, 3.1 and as of latest major version, 3.2 and since Android 7.0 Vulkan (and version 1.1 available for some devices[123]). Some applications may explicitly require a certain version of the OpenGL ES, and suitable GPU hardware is required to run such applications.[122]

Android devices incorporate many optional hardware components, including still or video cameras, GPS, orientation sensors, dedicated gaming controls, accelerometers, gyroscopes, barometers, magnetometers, proximity sensors, pressure sensors, thermometers, and touchscreens. Some hardware components are not required, but became standard in certain classes of devices, such as smartphones, and additional requirements apply if they are present. Some other hardware was initially required, but those requirements have been relaxed or eliminated altogether. For example, as Android was developed initially as a phone OS, hardware such as microphones were required, while over time the phone function became optional.[102] Android used to require an autofocus camera, which was relaxed to a fixed-focus camera[102] if present at all, since the camera was dropped as a requirement entirely when Android started to be used on set-top boxes.

In addition to running on smartphones and tablets, several vendors run Android natively on regular PC hardware with a keyboard and mouse.[124][125][126][127] In addition to their availability on commercially available hardware, similar PC hardware-friendly versions of Android are freely available from the Android-x86 project, including customized Android 4.4.[128] Using the Android emulator that is part of the Android SDK, or third-party emulators, Android can also run non-natively on x86 architectures.[129][130] Chinese companies are building a PC and mobile operating system, based on Android, to "compete directly with Microsoft Windows and Google Android".[131] The Chinese Academy of Engineering noted that "more than a dozen" companies were customising Android following a Chinese ban on the use of Windows 8 on government PCs.[132][133][134]

Development

The stack of Android Open Source Project

The stack of Android Open Source Project

Android is developed by Google until the latest changes and updates are ready to be released, at which point the source code is made available to the Android Open Source Project (AOSP),[135] an open source initiative led by Google.[136] The AOSP code can be found without modification on select devices, mainly the Nexus and Pixel series of devices.[137] The source code is, in turn, customized and adapted by original equipment manufacturers (OEMs) to run on their hardware.[138][139] Also, Android's source code does not contain the often proprietary device drivers that are needed for certain hardware components.[140] As a result, most Android devices, including Google's own, ultimately ship with a combination of free and open source and proprietary software, with the software required for accessing Google services falling into the latter category.

Update schedule

Google announces major incremental upgrades to Android on a yearly basis.[141] The updates can be installed on devices over-the-air.[142] The latest major release is Android 10.

Compared to its primary rival mobile operating system, Apple's iOS, Android updates typically reach various devices with significant delays. Except for devices within the Google Nexus and Pixel brands, updates often arrive months after the release of the new version, or not at all.[143] This was partly due to the extensive variation in hardware in Android devices,[144] to which each upgrade must be specifically tailored, a time- and resource-consuming process.[145] Manufacturers often prioritize their newest devices and leave old ones behind.[146] Additional delays can be introduced by wireless carriers that, after receiving updates from manufacturers, further customize and brand Android to their needs and conduct extensive testing on their networks before sending the upgrade out to users.[146][147] There are also situations in which upgrades are not possible due to one manufacturing partner not providing necessary updates to drivers.[148]

The extensive variation of hardware in Android devices causes significant delays for software upgrades, with new versions of the operating system and security patches typically taking months before reaching consumers, or sometimes not at all. The lack of after-sale support from manufacturers and carriers has been widely criticized by consumer groups and the technology media.[149][150][151] Some commentators have noted that the industry has a financial incentive not to upgrade their devices, as the lack of updates for existing devices fuels the purchase of newer ones,[152] an attitude described as "insulting".[151] The Guardian complained that the method of distribution for updates is complicated only because manufacturers and carriers have designed it that way.[151] In 2011, Google partnered with a number of industry players to announce an "Android Update Alliance", pledging to deliver timely updates for every device for 18 months after its release; however, there has not been another official word about that alliance since its announcement.[146][153]

In 2012, Google began decoupling certain aspects of the operating system (particularly its core applications) so they could be updated through the Google Play store independently of the OS. One of those components, Google Play Services, is a closed-source system-level process providing APIs for Google services, installed automatically on nearly all devices running Android 2.2 "Froyo" and higher. With these changes, Google can add new system functionality through Play Services and update apps without having to distribute an upgrade to the operating system itself.[154] As a result, Android 4.2 and 4.3 "Jelly Bean" contained relatively fewer user-facing changes, focusing more on minor changes and platform improvements.[155]

In May 2016, Bloomberg reported that Google was making efforts to keep Android more up-to-date, including accelerated rates of security updates, rolling out technological workarounds, reducing requirements for phone testing, and ranking phone makers in an attempt to "shame" them into better behavior. As stated by Bloomberg: "As smartphones get more capable, complex and hackable, having the latest software work closely with the hardware is increasingly important". Hiroshi Lockheimer, the Android lead, admitted that "It's not an ideal situation", further commenting that the lack of updates is "the weakest link on security on Android". Wireless carriers were described in the report as the "most challenging discussions", due to carriers' slow approval time due to testing on their networks, despite some carriers, including Verizon and Sprint, having already shortened their respective approval times. HTC's then-executive Jason Mackenzie called monthly security updates "unrealistic" in 2015, and Google was trying to persuade carriers to exclude security patches from the full testing procedures. In a further effort for persuasion, Google shared a list of top phone makers measured by updated devices with its Android partners, and is considering making the list public. Mike Chan, co-founder of phone maker Nextbit and former Android developer, said that "The best way to solve this problem is a massive re-architecture of the operating system", "or Google could invest in training manufacturers and carriers "to be good Android citizens"".[156][157][158]

In May 2017, with the announcement of Android 8.0, Google introduced Project Treble, a major re-architect of the Android OS framework designed to make it easier, faster, and less costly for manufacturers to update devices to newer versions of Android. Project Treble separates the vendor implementation (device-specific, lower-level software written by silicon manufacturers) from the Android OS framework via a new "vendor interface". In Android 7.0 and earlier, no formal vendor interface exists, so device makers must update large portions of the Android code to move a device to a newer version of the operating system. With Treble, the new stable vendor interface provides access to the hardware-specific parts of Android, enabling device makers to deliver new Android releases simply by updating the Android OS framework, "without any additional work required from the silicon manufacturers."[159]

In September 2017, Google's Project Treble team revealed that, as part of their efforts to improve the security lifecycle of Android devices, Google had managed to get the Linux Foundation to agree to extend the support lifecycle of the Linux Long-Term Support (LTS) kernel branch from the 2 years that it has historically lasted to 6 years for future versions of the LTS kernel, starting with Linux kernel 4.4.[160]

In May 2019, with the announcement of Android 10, Google introduced Project Mainline to simplify and expedite delivery of updates to the Android ecosystem. Project Mainline enables updates to core OS components through the Google Play Store. As a result, important security and performance improvements that previously needed to be part of full OS updates can be downloaded and installed as easily as an app update.[161]

Linux kernel

Android's kernel is based on the Linux kernel's long-term support (LTS) branches. As of 2018, Android targets versions 4.4, 4.9 or 4.14 of the Linux kernel.[162] The actual kernel depends on the individual device.[163]

Android's variant of the Linux kernel has further architectural changes that are implemented by Google outside the typical Linux kernel development cycle, such as the inclusion of components like device trees, ashmem, ION, and different out of memory (OOM) handling.[164][165] Certain features that Google contributed back to the Linux kernel, notably a power management feature called "wakelocks",[166] were initially rejected by mainline kernel developers partly because they felt that Google did not show any intent to maintain its own code.[167][168] Google announced in April 2010 that they would hire two employees to work with the Linux kernel community,[169] but Greg Kroah-Hartman, the current Linux kernel maintainer for the stable branch, said in December 2010 that he was concerned that Google was no longer trying to get their code changes included in mainstream Linux.[168] Google engineer Patrick Brady once stated in the company's developer conference that "Android is not Linux",[170] with Computerworld adding that "Let me make it simple for you, without Linux, there is no Android".[171] Ars Technica wrote that "Although Android is built on top of the Linux kernel, the platform has very little in common with the conventional desktop Linux stack".[170]

In August 2011, Linus Torvalds said that "eventually Android and Linux would come back to a common kernel, but it will probably not be for four to five years".[172] In December 2011, Greg Kroah-Hartman announced the start of Android Mainlining Project, which aims to put some Android drivers, patches and features back into the Linux kernel, starting in Linux 3.3.[173] Linux included the autosleep and wakelocks capabilities in the 3.5 kernel, after many previous attempts at merger. The interfaces are the same but the upstream Linux implementation allows for two different suspend modes: to memory (the traditional suspend that Android uses), and to disk (hibernate, as it is known on the desktop).[174] Google maintains a public code repository that contains their experimental work to re-base Android off the latest stable Linux versions.[175][176]

The flash storage on Android devices is split into several partitions, such as /system for the operating system itself, and /data for user data and application installations.[177] In contrast to desktop Linux distributions, Android device owners are not given root access to the operating system and sensitive partitions such as /system are read-only. However, root access can be obtained by exploiting security flaws in Android, which is used frequently by the open-source community to enhance the capabilities of their devices,[178] but also by malicious parties to install viruses and malware.[179]

Android is a Linux distribution according to the Linux Foundation,[180] Google's open-source chief Chris DiBona,[181] and several journalists.[182][183] Others, such as Google engineer Patrick Brady, say that Android is not Linux in the traditional Unix-like Linux distribution sense; Android does not include the GNU C Library (it uses Bionic as an alternative C library) and some of other components typically found in Linux distributions.[184]

With the release of Android Oreo in 2017, Google began to require that devices shipped with new SoCs had Linux kernel version 4.4 or newer, for security reasons. Existing devices upgraded to Oreo, and new products launched with older SoCs, were exempt from this rule.[185][186]

Software stack

Android's architecture diagram

Android's architecture diagram

On top of the Linux kernel, there are the middleware, libraries and APIs written in C, and application software running on an application framework which includes Java-compatible libraries. Development of the Linux kernel continues independently of Android's other source code projects.

Android uses Android Runtime (ART) as its runtime environment (introduced in version 4.4), which uses ahead-of-time (AOT) compilation to entirely compile the application bytecode into machine code upon the installation of an application. In Android 4.4, ART was an experimental feature and not enabled by default; it became the only runtime option in the next major version of Android, 5.0.[187] In versions no longer supported, until version 5.0 when ART took over, Android previously used Dalvik as a process virtual machine with trace-based just-in-time (JIT) compilation to run Dalvik "dex-code" (Dalvik Executable), which is usually translated from the Java bytecode. Following the trace-based JIT principle, in addition to interpreting the majority of application code, Dalvik performs the compilation and native execution of select frequently executed code segments ("traces") each time an application is launched.[188][189][190] For its Java library, the Android platform uses a subset of the now discontinued Apache Harmony project.[191] In December 2015, Google announced that the next version of Android would switch to a Java implementation based on the OpenJDK project.[192]

Android's standard C library, Bionic, was developed by Google specifically for Android, as a derivation of the BSD's standard C library code. Bionic itself has been designed with several major features specific to the Linux kernel. The main benefits of using Bionic instead of the GNU C Library (glibc) or uClibc are its smaller runtime footprint, and optimization for low-frequency CPUs. At the same time, Bionic is licensed under the terms of the BSD licence, which Google finds more suitable for the Android's overall licensing model.[190]

Aiming for a different licensing model, toward the end of 2012, Google switched the Bluetooth stack in Android from the GPL-licensed BlueZ to the Apache-licensed BlueDroid.[193]

Android does not have a native X Window System by default, nor does it support the full set of standard GNU libraries. This made it difficult to port existing Linux applications or libraries to Android,[184] until version r5 of the Android Native Development Kit brought support for applications written completely in C or C++.[194] Libraries written in C may also be used in applications by injection of a small shim and usage of the JNI.[195]

In current versions of Android, "Toybox", a collection of command-line utilities (mostly for use by apps, as Android doesn't provide a command-line interface by default), is used (since the release of Marshmallow) replacing a similar "Toolbox" collection found in previous Android versions.[196]

Android has another operating system, Trusty OS, within it, as a part of "Trusty" "software components supporting a Trusted Execution Environment (TEE) on mobile devices." "Trusty and the Trusty API are subject to change. [..] Applications for the Trusty OS can be written in C/C++ (C++ support is limited), and they have access to a small C library. [..] All Trusty applications are single-threaded; multithreading in Trusty userspace currently is unsupported. [..] Third-party application development is not supported in" the current version, and software running on the OS and processor for it, run the "DRM framework for protected content. [..] There are many other uses for a TEE such as mobile payments, secure banking, full-disk encryption, multi-factor authentication, device reset protection, replay-protected persistent storage, wireless display ("cast") of protected content, secure PIN and fingerprint processing, and even malware detection."[197]

Open-source community

Android's source code is released by Google under an open source license, and its open nature has encouraged a large community of developers and enthusiasts to use the open-source code as a foundation for community-driven projects, which deliver updates to older devices, add new features for advanced users or bring Android to devices originally shipped with other operating systems.[198] These community-developed releases often bring new features and updates to devices faster than through the official manufacturer/carrier channels, with a comparable level of quality;[199] provide continued support for older devices that no longer receive official updates; or bring Android to devices that were officially released running other operating systems, such as the HP TouchPad. Community releases often come pre-rooted and contain modifications not provided by the original vendor, such as the ability to overclock or over/undervolt the device's processor.[200] CyanogenMod was the most widely used community firmware,[201] now discontinued and succeeded by LineageOS.[202]

There are, as of August 2019, a handful of notable custom Android distributions (ROMs) of the latest Android version 9.0 Pie, which was released publicly in August 2018. See List of custom Android distributions.

Historically, device manufacturers and mobile carriers have typically been unsupportive of third-party firmware development. Manufacturers express concern about improper functioning of devices running unofficial software and the support costs resulting from this.[203] Moreover, modified firmware such as CyanogenMod sometimes offer features, such as tethering, for which carriers would otherwise charge a premium. As a result, technical obstacles including locked bootloaders and restricted access to root permissions are common in many devices. However, as community-developed software has grown more popular, and following a statement by the Librarian of Congress in the United States that permits the "jailbreaking" of mobile devices,[204] manufacturers and carriers have softened their position regarding third party development, with some, including HTC,[203] Motorola,[205] Samsung[206][207] and Sony,[208] providing support and encouraging development. As a result of this, over time the need to circumvent hardware restrictions to install unofficial firmware has lessened as an increasing number of devices are shipped with unlocked or unlockable bootloaders, similar to Nexus series of phones, although usually requiring that users waive their devices' warranties to do so.[203] However, despite manufacturer acceptance, some carriers in the US still require that phones are locked down, frustrating developers and customers.[209]

Device codenames

Internally, Android identifies each supported device by its device codename, a short string,[210] which may or may not be similar to the model name used in marketing the device. For example, the device codename of the Pixel smartphone is sailfish.

The device codename is usually not visible to the end user, but is important for determining compatibility with modified Android versions. It is sometimes also mentioned in articles discussing a device, because it allows to distinguish different hardware variants of a device, even if the manufacturer offers them under the same name. The device codename is available to running applications under android.os.Build.DEVICE.[211]

Security and privacy

Scope of surveillance by public institutions

As part of the broader 2013 mass surveillance disclosures it was revealed in September 2013 that the American and British intelligence agencies, the National Security Agency (NSA) and Government Communications Headquarters (GCHQ), respectively, have access to the user data on iPhone, BlackBerry, and Android devices. They are reportedly able to read almost all smartphone information, including SMS, location, emails, and notes.[212] In January 2014, further reports revealed the intelligence agencies' capabilities to intercept the personal information transmitted across the Internet by social networks and other popular applications such as Angry Birds, which collect personal information of their users for advertising and other commercial reasons. GCHQ has, according to The Guardian, a wiki-style guide of different apps and advertising networks, and the different data that can be siphoned from each.[213] Later that week, the Finnish Angry Birds developer Rovio announced that it was reconsidering its relationships with its advertising platforms in the light of these revelations, and called upon the wider industry to do the same.[214]

The documents revealed a further effort by the intelligence agencies to intercept Google Maps searches and queries submitted from Android and other smartphones to collect location information in bulk.[213] The NSA and GCHQ insist their activities are in compliance with all relevant domestic and international laws, although the Guardian stated "the latest disclosures could also add to mounting public concern about how the technology sector collects and uses information, especially for those outside the US, who enjoy fewer privacy protections than Americans."[213]

Leaked documents published by WikiLeaks, codenamed Vault 7 and dated from 2013–2016, detail the capabilities of the Central Intelligence Agency (CIA) to perform electronic surveillance and cyber warfare, including the ability to compromise the operating systems of most smartphones (including Android).[215][216]

Common security threats

Research from security company Trend Micro lists premium service abuse as the most common type of Android malware, where text messages are sent from infected phones to premium-rate telephone numbers without the consent or even knowledge of the user. Other malware displays unwanted and intrusive advertisements on the device, or sends personal information to unauthorised third parties.[217] Security threats on Android are reportedly growing exponentially; however, Google engineers have argued that the malware and virus threat on Android is being exaggerated by security companies for commercial reasons,[218][219] and have accused the security industry of playing on fears to sell virus protection software to users.[218] Google maintains that dangerous malware is actually extremely rare,[219] and a survey conducted by F-Secure showed that only 0.5% of Android malware reported had come from the Google Play store.[220]

In August 2015, Google announced that devices in the Google Nexus series would begin to receive monthly security patches. Google also wrote that "Nexus devices will continue to receive major updates for at least two years and security patches for the longer of three years from initial availability or 18 months from last sale of the device via the Google Store."[221][222][223] The following October, researchers at the University of Cambridge concluded that 87.7% of Android phones in use had known but unpatched security vulnerabilities due to lack of updates and support.[224][225][226] Ron Amadeo of Ars Technica wrote also in August 2015 that "Android was originally designed, above all else, to be widely adopted. Google was starting from scratch with zero percent market share, so it was happy to give up control and give everyone a seat at the table in exchange for adoption. [...] Now, though, Android has around 75–80 percent of the worldwide smartphone market—making it not just the world's most popular mobile operating system but arguably the most popular operating system, period. As such, security has become a big issue. Android still uses a software update chain-of-command designed back when the Android ecosystem had zero devices to update, and it just doesn't work".[227] Following news of Google's monthly schedule, some manufacturers, including Samsung and LG, promised to issue monthly security updates,[228] but, as noted by Jerry Hildenbrand in Android Central in February 2016, "instead we got a few updates on specific versions of a small handful of models. And a bunch of broken promises".[229]

In a March 2017 post on Google's Security Blog, Android security leads Adrian Ludwig and Mel Miller wrote that "More than 735 million devices from 200+ manufacturers received a platform security update in 2016" and that "Our carrier and hardware partners helped expand deployment of these updates, releasing updates for over half of the top 50 devices worldwide in the last quarter of 2016". They also wrote that "About half of devices in use at the end of 2016 had not received a platform security update in the previous year", stating that their work would continue to focus on streamlining the security updates program for easier deployment by manufacturers.[230] Furthermore, in a comment to TechCrunch, Ludwig stated that the wait time for security updates had been reduced from "six to nine weeks down to just a few days", with 78% of flagship devices in North America being up-to-date on security at the end of 2016.[231]

Patches to bugs found in the core operating system often do not reach users of older and lower-priced devices.[232][233] However, the open-source nature of Android allows security contractors to take existing devices and adapt them for highly secure uses. For example, Samsung has worked with General Dynamics through their Open Kernel Labs acquisition to rebuild Jelly Bean on top of their hardened microvisor for the "Knox" project.[234][235]

Android smartphones have the ability to report the location of Wi-Fi access points, encountered as phone users move around, to build databases containing the physical locations of hundreds of millions of such access points. These databases form electronic maps to locate smartphones, allowing them to run apps like Foursquare, Google Latitude, Facebook Places, and to deliver location-based ads.[236] Third party monitoring software such as TaintDroid,[237] an academic research-funded project, can, in some cases, detect when personal information is being sent from applications to remote servers.[238]

Technical security features

Android applications run in a sandbox, an isolated area of the system that does not have access to the rest of the system's resources, unless access permissions are explicitly granted by the user when the application is installed, however this may not be possible for pre-installed apps. It is not possible, for example, to turn off the microphone access of the pre-installed camera app without disabling the camera completely. This is valid also in Android versions 7 and 8.[239]

Since February 2012, Google has used its Google Bouncer malware scanner to watch over and scan apps available in the Google Play store.[240][241] A "Verify Apps" feature was introduced in November 2012, as part of the Android 4.2 "Jelly Bean" operating system version, to scan all apps, both from Google Play and from third-party sources, for malicious behaviour.[242] Originally only doing so during installation, Verify Apps received an update in 2014 to "constantly" scan apps, and in 2017 the feature was made visible to users through a menu in Settings.[243][244]

Before installing an application, the Google Play store displays a list of the requirements an app needs to function. After reviewing these permissions, the user can choose to accept or refuse them, installing the application only if they accept.[245] In Android 6.0 "Marshmallow", the permissions system was changed; apps are no longer automatically granted all of their specified permissions at installation time. An opt-in system is used instead, in which users are prompted to grant or deny individual permissions to an app when they are needed for the first time. Applications remember the grants, which can be revoked by the user at any time. Pre-installed apps, however, are not always part of this approach. In some cases it may not be possible to deny certain permissions to pre-installed apps, nor be possible to disable them. The Google Play Services app cannot be uninstalled, nor disabled. Any force stop attempt, result in the app restarting itself.[246][247] The new permissions model is used only by applications developed for Marshmallow using its software development kit (SDK), and older apps will continue to use the previous all-or-nothing approach. Permissions can still be revoked for those apps, though this might prevent them from working properly, and a warning is displayed to that effect.[248][249]

In September 2014, Jason Nova of Android Authority reported on a study by the German security company Fraunhofer AISEC in antivirus software and malware threats on Android. Nova wrote that "The Android operating system deals with software packages by sandboxing them; this does not allow applications to list the directory contents of other apps to keep the system safe. By not allowing the antivirus to list the directories of other apps after installation, applications that show no inherent suspicious behavior when downloaded are cleared as safe. If then later on parts of the app are activated that turn out to be malicious, the antivirus will have no way to know since it is inside the app and out of the antivirus’ jurisdiction". The study by Fraunhofer AISEC, examining antivirus software from Avast, AVG, Bitdefender, ESET, F-Secure, Kaspersky, Lookout, McAfee (formerly Intel Security), Norton, Sophos, and Trend Micro, revealed that "the tested antivirus apps do not provide protection against customized malware or targeted attacks", and that "the tested antivirus apps were also not able to detect malware which is completely unknown to date but does not make any efforts to hide its malignity".[250]

In August 2013, Google announced Android Device Manager (renamed Find My Device in May 2017),[251][252] a service that allows users to remotely track, locate, and wipe their Android device,[253][254] with an Android app for the service released in December.[255][256] In December 2016, Google introduced a Trusted Contacts app, letting users request location-tracking of loved ones during emergencies.[257][258]

On October 8, 2018 Google announced new Google Play store requirements to combat over-sharing of potentially sensitive information, including call and text logs. The issue stems from the fact that many apps request permissions to access user's personal information (even if this information is not needed for the app to function) and some users unquestionably grant these permissions. Alternatively, a permission might be listed in the app manifest as required (as opposed to optional) and app would not install unless user grants the permission; user can withdraw any, even required, permission from any app in the device settings after app installation, but few users do this. Google promised to work with developers and create exceptions if their apps require Phone or SMS permissions for "core app functionality". The new policies enforcement started on January 6, 2019, 90 days after policy announcement on October 8, 2018. Furthermore, Google announced a new "target API level requirement" (targetSdkVersion in manifest) at least Android 8.0 (API level 26) for all new apps and app updates. The API level requirement might combat practice of app developers bypassing some permission screens by specifying early Android versions that had more coarse permission model.[259][260]

Licensing

The source code for Android is open-source: it is developed in private by Google, with the source code released publicly when a new version of Android is released. Google publishes most of the code (including network and telephony stacks) under the non-copyleft Apache License version 2.0. which allows modification and redistribution.[261][262] The license does not grant rights to the "Android" trademark, so device manufacturers and wireless carriers have to license it from Google under individual contracts. Associated Linux kernel changes are released under the copyleft GNU General Public License version 2, developed by the Open Handset Alliance, with the source code publicly available at all times. Typically, Google collaborates with a hardware manufacturer to produce a flagship device (part of the Nexus series) featuring the new version of Android, then makes the source code available after that device has been released.[263] The only Android release which was not immediately made available as source code was the tablet-only 3.0 Honeycomb release. The reason, according to Andy Rubin in an official Android blog post, was because Honeycomb was rushed for production of the Motorola Xoom,[264] and they did not want third parties creating a "really bad user experience" by attempting to put onto smartphones a version of Android intended for tablets.[265]

Only the base Android operating system (including some applications) is open-source software, whereas most Android devices ship with a substantial amount of proprietary software, such as Google Mobile Services, which includes applications such as Google Play Store, Google Search, and Google Play Services – a software layer that provides APIs for the integration with Google-provided services, among others. These applications must be licensed from Google by device makers, and can only be shipped on devices which meet its compatibility guidelines and other requirements.[99] Custom, certified distributions of Android produced by manufacturers (such as TouchWiz and HTC Sense) may also replace certain stock Android apps with their own proprietary variants and add additional software not included in the stock Android operating system.[98] There may also be "binary blob" drivers required for certain hardware components in the device.[98][140]

Richard Stallman and the Free Software Foundation have been critical of Android and have recommended the usage of alternatives such as Replicant, because drivers and firmware vital for the proper functioning of Android devices are usually proprietary, and because the Google Play Store application can forcibly install or uninstall applications and, as a result, invite non-free software; although the Free Software Foundation has not found Google to use it for malicious reasons.[266][267]

Leverage over manufacturers

Google licenses their Google Mobile Services software, along with Android trademarks, only to hardware manufacturers for devices that meet Google's compatibility standards specified in the Android Compatibility Program document.[268] Thus, forks of Android that make major changes to the operating system itself do not include any of Google's non-free components, stay incompatible with applications that require them, and must ship with an alternative software marketplace in lieu of Google Play Store.[98] Examples of such Android forks are Amazon's Fire OS (which is used on the Kindle Fire line of tablets, and oriented toward Amazon services), the Nokia X Software Platform (a fork used by the Nokia X family, oriented primarily toward Nokia and Microsoft services), and other forks that exclude Google apps due to the general unavailability of Google services in certain regions (such as China).[269][270] In 2014, Google also began to require that all Android devices which license the Google Mobile Services software display a prominent "Powered by Android" logo on their boot screens.[99] Google has also enforced preferential bundling and placement of Google Mobile Services on devices, including mandated bundling of the entire main suite of Google applications, and that shortcuts to Google Search and the Play Store app must be present on or near the main home screen page in its default configuration.[271]

Some stock applications and components in AOSP code that were formerly used by earlier versions of Android, such as Search, Music, Calendar, and the location API, were abandoned by Google in favor of non-free replacements distributed through Play Store (Google Search, Google Play Music, and Google Calendar) and Google Play Services, which are no longer open-source. Moreover, open-source variants of some applications also exclude functions that are present in their non-free versions, such as Photosphere panoramas in Camera, and a Google Now page on the default home screen (exclusive to the proprietary version "Google Now Launcher", whose code is embedded within that of the main Google application).[98][272][273][274] These measures are likely intended to discourage forks and encourage commercial licensing in line with Google requirements, as the majority of the operating system's core functionality (and in turn, third-party software), are dependent on proprietary components licensed exclusively by Google, and it would take significant development resources to develop an alternative suite of software and APIs to replicate or replace them. Apps that do not use Google components would also be at a functional disadvantage, as they can only use APIs contained within the OS itself.[275]

In March 2018, it was reported that Google had begun to block "uncertified" Android devices from using Google Mobile Services software, and display a warning indicating that "the device manufacturer has preloaded Google apps and services without certification from Google". Users of custom ROMs are able to register their device ID to their Google account to remove this block.[276]

Members of the Open Handset Alliance, which include the majority of Android OEMs, are also contractually forbidden from producing Android devices based on forks of the OS;[98][277] in 2012, Acer Inc. was forced by Google to halt production on a device powered by Alibaba Group's Aliyun OS with threats of removal from the OHA, as Google deemed the platform to be an incompatible version of Android. Alibaba Group defended the allegations, arguing that the OS was a distinct platform from Android (primarily using HTML5 apps), but incorporated portions of Android's platform to allow backwards compatibility with third-party Android software. Indeed, the devices did ship with an application store which offered Android apps; however, the majority of them were pirated.[278][279][280]

Reception

Android received a lukewarm reaction when it was unveiled in 2007. Although analysts were impressed with the respected technology companies that had partnered with Google to form the Open Handset Alliance, it was unclear whether mobile phone manufacturers would be willing to replace their existing operating systems with Android.[281] The idea of an open-source, Linux-based development platform sparked interest,[282] but there were additional worries about Android facing strong competition from established players in the smartphone market, such as Nokia and Microsoft, and rival Linux mobile operating systems that were in development.[283] These established players were skeptical: Nokia was quoted as saying "we don't see this as a threat," and a member of Microsoft's Windows Mobile team stated "I don't understand the impact that they are going to have."[284]

Since then Android has grown to become the most widely used smartphone operating system[285][286] and "one of the fastest mobile experiences available".[287] Reviewers have highlighted the open-source nature of the operating system as one of its defining strengths, allowing companies such as Nokia (Nokia X family),[288] Amazon (Kindle Fire), Barnes & Noble (Nook), Ouya, Baidu and others to fork the software and release hardware running their own customised version of Android. As a result, it has been described by technology website Ars Technica as "practically the default operating system for launching new hardware" for companies without their own mobile platforms.[285] This openness and flexibility is also present at the level of the end user: Android allows extensive customisation of devices by their owners and apps are freely available from non-Google app stores and third party websites. These have been cited as among the main advantages of Android phones over others.[285][289]

Despite Android's popularity, including an activation rate three times that of iOS, there have been reports that Google has not been able to leverage their other products and web services successfully to turn Android into the money maker that analysts had expected.[290] The Verge suggested that Google is losing control of Android due to the extensive customization and proliferation of non-Google apps and services – Amazon's Kindle Fire line uses Fire OS, a heavily modified fork of Android which does not include or support any of Google's proprietary components, and requires that users obtain software from its competing Amazon Appstore instead of Play Store.[98] In 2014, in an effort to improve prominence of the Android brand, Google began to require that devices featuring its proprietary components display an Android logo on the boot screen.[99]

Android has suffered from "fragmentation",[291] a situation where the variety of Android devices, in terms of both hardware variations and differences in the software running on them, makes the task of developing applications that work consistently across the ecosystem harder than rival platforms such as iOS where hardware and software varies less. For example, according to data from OpenSignal in July 2013, there were 11,868 models of Android device, numerous different screen sizes and eight Android OS versions simultaneously in use, while the large majority of iOS users have upgraded to the latest iteration of that OS.[292] Critics such as Apple Insider have asserted that fragmentation via hardware and software pushed Android's growth through large volumes of low end, budget-priced devices running older versions of Android. They maintain this forces Android developers to write for the "lowest common denominator" to reach as many users as possible, who have too little incentive to make use of the latest hardware or software features only available on a smaller percentage of devices.[293] However, OpenSignal, who develops both Android and iOS apps, concluded that although fragmentation can make development trickier, Android's wider global reach also increases the potential reward.[292]

Market share

Research company Canalys estimated in the second quarter of 2009, that Android had a 2.8% share of worldwide smartphone shipments.[294] By May 2010, Android had a 10% worldwide smartphone market share, overtaking Windows Mobile,[295] whilst in the US Android held a 28% share, overtaking iPhone OS.[296] By the fourth quarter of 2010, its worldwide share had grown to 33% of the market becoming the top-selling smartphone platform,[297] overtaking Symbian.[298] In the US it became the top-selling platform in April 2011, overtaking BlackBerry OS with a 31.2% smartphone share, according to comScore.[299]

By the third quarter of 2011, Gartner estimated that more than half (52.5%) of the smartphone sales belonged to Android.[300] By the third quarter of 2012 Android had a 75% share of the global smartphone market according to the research firm IDC.[301]

In July 2011, Google said that 550,000 Android devices were being activated every day,[302] up from 400,000 per day in May,[303] and more than 100 million devices had been activated[304] with 4.4% growth per week.[302] In September 2012, 500 million devices had been activated with 1.3 million activations per day.[305][306] In May 2013, at Google I/O, Sundar Pichai announced that 900 million Android devices had been activated.[307]

Android market share varies by location. In July 2012, "mobile subscribers aged 13+" in the United States using Android were up to 52%,[308] and rose to 90% in China.[309] During the third quarter of 2012, Android's worldwide smartphone shipment market share was 75%,[301] with 750 million devices activated in total. In April 2013 Android had 1.5 million activations per day.[306] As of May 2013, 48 billion applications ("apps") have been installed from the Google Play store,[310] and by September 2013, one billion Android devices have been activated.[311]

As of February 2017, the Google Play store has over 2.7 million Android applications published,[312] and As of May 2016, apps have been downloaded more than 65 billion times.[313] The operating system's success has made it a target for patent litigation as part of the so-called "smartphone wars" between technology companies.[314][315]

Android devices account for more than half of smartphone sales in most markets, including the US, while "only in Japan was Apple on top" (September–November 2013 numbers).[316] At the end of 2013, over 1.5 billion Android smartphones have been sold in the four years since 2010,[317][318] making Android the most sold phone and tablet OS. Three billion Android smartphones are estimated to be sold by the end of 2014 (including previous years). According to Gartner research company, Android-based devices outsold all contenders, every year since 2012.[319] In 2013, it outsold Windows 2.8:1 or by 573 million.[320][321][322] As of 2015, Android has the largest installed base of all operating systems;[19] Since 2013, devices running it also sell more than Windows, iOS and Mac OS X devices combined.[323]

According to StatCounter, which tracks only the use for browsing the web, Android is the most popular mobile operating system since August 2013.[324] Android is the most popular operating system for web browsing in India and several other countries (e.g. virtually all of Asia, with Japan and North Korea exceptions). According to StatCounter, Android is most used on mobile in all African countries, and it stated "mobile usage has already overtaken desktop in several countries including India, South Africa and Saudi Arabia",[325] with virtually all countries in Africa having done so already (except for seven countries, including Egypt), such as Ethiopia and Kenya in which mobile (including tablets) usage is at 90.46% (Android only, accounts for 75.81% of all use there).[326][327]

While Android phones in the Western world commonly include Google's proprietary add-ons (such as Google Play) to the otherwise open-source operating system, this is increasingly not the case in emerging markets; "ABI Research claims that 65 million devices shipped globally with open-source Android in the second quarter of [2014], up from 54 million in the first quarter"; depending on country, percent of phones estimated to be based only on AOSP source code, forgoing the Android trademark: Thailand (44%), Philippines (38%), Indonesia (31%), India (21%), Malaysia (24%), Mexico (18%), Brazil (9%).[328]

According to a January 2015 Gartner report, "Android surpassed a billion shipments of devices in 2014, and will continue to grow at a double-digit pace in 2015, with a 26 percent increase year over year." This made it the first time that any general-purpose operating system has reached more than one billion end users within a year: by reaching close to 1.16 billion end users in 2014, Android shipped over four times more than iOS and OS X combined, and over three times more than Microsoft Windows. Gartner expected the whole mobile phone market to "reach two billion units in 2016", including Android.[329] Describing the statistics, Farhad Manjoo wrote in The New York Times that "About one of every two computers sold today is running Android. [It] has become Earth's dominant computing platform."[19]

According to a Statistica's estimate, Android smartphones had an installed base of 1.8 billion units in 2015, which was 76% of the estimated total number of smartphones worldwide.[330][331][1] Android has the largest installed base of any mobile operating system and, since 2013, the highest-selling operating system overall[320][323][333][334][335] with sales in 2012, 2013 and 2014[336] close to the installed base of all PCs.[337]

In the second quarter of 2014, Android's share of the global smartphone shipment market was 84.7%, a new record.[338][339] This had grown to 87.5% worldwide market share by the third quarter of 2016,[340] leaving main competitor iOS with 12.1% market share.[341]

According to an April 2017 StatCounter report, Android overtook Microsoft Windows to become the most popular operating system for total Internet usage.[342][343] It has maintained the plurality since then.[344]

In September 2015, Google announced that Android had 1.4 billion monthly active users.[345][346] This changed to 2 billion monthly active users in May 2017.[347][348]

Adoption on tablets

The first-generation Nexus 7 tablet, running Android 4.1 Jelly Bean

The first-generation Nexus 7 tablet, running Android 4.1 Jelly Bean

Barnes & Noble Nook running Android

Barnes & Noble Nook running Android

Despite its success on smartphones, initially Android tablet adoption was slow.[349] One of the main causes was the chicken or the egg situation where consumers were hesitant to buy an Android tablet due to a lack of high quality tablet applications, but developers were hesitant to spend time and resources developing tablet applications until there was a significant market for them.[350][351] The content and app "ecosystem" proved more important than hardware specs as the selling point for tablets. Due to the lack of Android tablet-specific applications in 2011, early Android tablets had to make do with existing smartphone applications that were ill-suited to larger screen sizes, whereas the dominance of Apple's iPad was reinforced by the large number of tablet-specific iOS applications.[351][352]

Despite app support in its infancy, a considerable number of Android tablets, like the Barnes & Noble Nook (alongside those using other operating systems, such as the HP TouchPad and BlackBerry PlayBook) were rushed out to market in an attempt to capitalize on the success of the iPad.[351] InfoWorld has suggested that some Android manufacturers initially treated their first tablets as a "Frankenphone business", a short-term low-investment opportunity by placing a smartphone-optimized Android OS (before Android 3.0 Honeycomb for tablets was available) on a device while neglecting user interface. This approach, such as with the Dell Streak, failed to gain market traction with consumers as well as damaging the early reputation of Android tablets.[353][354] Furthermore, several Android tablets such as the Motorola Xoom were priced the same or higher than the iPad, which hurt sales. An exception was the Amazon Kindle Fire, which relied upon lower pricing as well as access to Amazon's ecosystem of applications and content.[351][355]

This began to change in 2012, with the release of the affordable Nexus 7 and a push by Google for developers to write better tablet applications.[356] According to International Data Corporation, shipments of Android-powered tablets surpassed iPads in Q3 2012.[357]

As of the end of 2013, over 191.6 million Android tablets had sold in three years since 2011.[358][359] This made Android tablets the most-sold type of tablet in 2013, surpassing iPads in the second quarter of 2013.[360]

According to StatCounter's web use statistics, as of August 15, 2017, Android tablets represent the majority of tablet devices used in South America (57.46%)[361] and Africa (69.08%),[362] while being a distant second to iOS in North America (25.29%) and Europe (32.64%), despite having sizeable majorities in many Central American, Caribbean, and Eastern European states.[363]) and representing the majority in Asia (51.25%)[364] notably in India (65.98%)[365] and Indonesia (82.18%).[366] Android is an extremely distant second at 11.93% in Oceania as well, mostly due to Australia (10.71%) and New Zealand (16.9%), while in some countries such as Nauru over 80% of tablets are believed to use Android.[367] As well, Android is more often than not used by the minority of web users in Antarctica, which has no permanent population.[368]

In March 2016, Galen Gruman of InfoWorld stated that Android devices could be a "real part of your business [..] there's no longer a reason to keep Android at arm's length. It can now be as integral to your mobile portfolio as Apple's iOS devices are".[369] A year earlier, Gruman had stated that Microsoft's own mobile Office apps were "better on iOS and Android" than on Microsoft's own Windows 10 devices.[370]

Platform information

Android Pie 9.0 is the most used Android, at over 32%, more than twice as popular as the next popular single version (Oreo 8.1).[371][372][373] On tablets only, Android Lollipop 5.1 is the single most used version at 23.11%.[374] The most used versions of Android on tablets vary a lot by country, still Lollipop 5.1 is the most used single version in the United States (and e.g. India) at 41.26%, while a recent Oreo 8.1 is most used in e.g. China, Sweden and Angola.[375]

VersionCode nameRelease dateAPI levelRuntimeFirst devices to run version
1010September 3, 2019Current stable version:29ARTPixel, Pixel XL, Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL[376]
9PieAugust 6, 2018Older version, yet still supported:28ARTEssential Phone, Pixel, Pixel XL, Pixel 2, Pixel 2 XL, Nokia 7 Plus, OnePlus 6, Oppo R15 Pro, Sony Xperia XZ2, Vivo X21UD, Vivo X21, Xiaomi Mi Mix 2S[377]
8.1OreoDecember 5, 2017Older version, yet still supported:27ARTPixel, Pixel XL, Nexus 6P, Nexus 5X
8.0August 21, 2017Older version, yet still supported:26ARTN/A
7.1NougatOctober 4, 2016Older version, yet still supported:25ARTPixel, Pixel XL
7.0August 22, 2016Older version, yet still supported:24ARTNexus 5X, Nexus 6P
6.0MarshmallowOctober 5, 2015Old version, no longer supported:23ART
5.1LollipopMarch 9, 2015Old version, no longer supported:22ARTAndroid One
5.0November 3, 2014Old version, no longer supported:21ART 2.1.0Nexus 6, Nexus 9
4.4KitKatOctober 31, 2013Old version, no longer supported:19Dalvik (and ART 1.6.0)Nexus 5
4.3Jelly BeanJuly 24, 2013Old version, no longer supported:18DalvikNexus 7 2013
4.2November 13, 2012Old version, no longer supported:17DalvikNexus 4, Nexus 10
4.1July 9, 2012Old version, no longer supported:16DalvikNexus 7
4.0Ice Cream SandwichOctober 19, 2011Old version, no longer supported:15DalvikGalaxy Nexus
2.3GingerbreadFebruary 9, 2011Old version, no longer supported:10Dalvik 1.4.0Nexus S
Legend:
Old version
Older version, still supported
Latest version
Latest preview version
Future release

As of May 2019, 78.9% of devices have OpenGL ES 3.0 or higher; 35.5% are on latest OpenGL ES 3.2. Note however Android also supports Vulkan, a successor to OpenGL.

Application piracy

In general, paid Android applications can easily be pirated.[378] In a May 2012 interview with Eurogamer, the developers of Football Manager stated that the ratio of pirated players vs legitimate players was 9:1 for their game Football Manager Handheld.[379] However, not every developer agreed that piracy rates were an issue; for example, in July 2012 the developers of the game Wind-up Knight said that piracy levels of their game were only 12%, and most of the piracy came from China, where people cannot purchase apps from Google Play.[380]

In 2010, Google released a tool for validating authorized purchases for use within apps, but developers complained that this was insufficient and trivial to crack. Google responded that the tool, especially its initial release, was intended as a sample framework for developers to modify and build upon depending on their needs, not as a finished piracy solution.[381] Android "Jelly Bean" introduced the ability for paid applications to be encrypted, so that they may work only on the device for which they were purchased.[382][383]

The success of Android has made it a target for patent and copyright litigation between technology companies, both Android and Android phone manufacturers having been involved in numerous patent lawsuits and other legal challenges.

Patent lawsuit with Oracle

On August 12, 2010, Oracle sued Google over claimed infringement of copyrights and patents related to the Java programming language.[384] Oracle originally sought damages up to $6.1 billion,[385] but this valuation was rejected by a United States federal judge who asked Oracle to revise the estimate.[386] In response, Google submitted multiple lines of defense, counterclaiming that Android did not infringe on Oracle's patents or copyright, that Oracle's patents were invalid, and several other defenses. They said that Android's Java runtime environment is based on Apache Harmony, a clean room implementation of the Java class libraries, and an independently developed virtual machine called Dalvik.[387] In May 2012, the jury in this case found that Google did not infringe on Oracle's patents, and the trial judge ruled that the structure of the Java APIs used by Google was not copyrightable.[388][389] The parties agreed to zero dollars in statutory damages for a small amount of copied code.[390] On May 9, 2014, the Federal Circuit partially reversed the district court ruling, ruling in Oracle's favor on the copyrightability issue, and remanding the issue of fair use to the district court.[391][392]

In December 2015, Google announced that the next major release of Android (Android Nougat) would switch to OpenJDK, which is the official open-source implementation of the Java platform, instead of using the now-discontinued Apache Harmony project as its runtime. Code reflecting this change was also posted to the AOSP source repository.[191] In its announcement, Google claimed this was part of an effort to create a "common code base" between Java on Android and other platforms.[192] Google later admitted in a court filing that this was part of an effort to address the disputes with Oracle, as its use of OpenJDK code is governed under the GNU General Public License (GPL) with a linking exception, and that "any damages claim associated with the new versions expressly licensed by Oracle under OpenJDK would require a separate analysis of damages from earlier releases".[191] In June 2016, a United States federal court ruled in favor of Google, stating that its use of the APIs was fair use.[393]

Anti-competitive challenges in Europe

In 2013, FairSearch, a lobbying organization supported by Microsoft, Oracle and others, filed a complaint regarding Android with the European Commission, alleging that its free-of-charge distribution model constituted anti-competitive predatory pricing. The Free Software Foundation Europe, whose donors include Google, disputed the Fairsearch allegations.[394] On April 20, 2016, the EU filed a formal antitrust complaint against Google based upon the FairSearch allegations, arguing that its leverage over Android vendors, including the mandatory bundling of the entire suite of proprietary Google software, hindering the ability for competing search providers to be integrated into Android, and barring vendors from producing devices running forks of Android, constituted anti-competitive practices.[395] In August 2016, Google was fined US$6.75 million by the Russian Federal Antimonopoly Service (FAS) under similar allegations by Yandex.[396] The European Commission issued its decision on July 18, 2018, determining that Google had conducted three antitrust operations related to Android: bundling Google's search and Chrome as part of Android, blocking phone manufacturers from using forked versions of Android, and establishing deals with phone manufacturers and network providers to exclusively bundle the Google search application on handsets (a practice Google ended by 2014). The EU fined Google for €4.3 billion (about US$5 billion) and required the company to end this conduct within 90 days.[397] Google filed its appeal of the ruling in October 2018, though will not ask for any interim measures to delay the onset of conduct requirements.[398]

On October 16, 2018, Google announced that it would change its distribution model for Google Mobile Services in the EU, since part of its revenues streams for Android which came through use of Google Search and Chrome were now prohibited by the EU's ruling. While the core Android system remains free, OEMs in Europe would be required to purchase a paid license to the core suite of Google applications, such as Gmail, Google Maps and the Google Play Store. Google Search will be licensed separately, with an option to include Google Chrome at no additional cost atop Search. European OEMs are able to bundle third-party alternatives on phones and devices sold to customers, if they so choose. OEMs will no longer be barred from selling any device running incompatible versions of Android in Europe.[399]

Others

In addition to lawsuits against Google directly, various proxy wars have been waged against Android indirectly by targeting manufacturers of Android devices, with the effect of discouraging manufacturers from adopting the platform by increasing the costs of bringing an Android device to market.[400] Both Apple and Microsoft have sued several manufacturers for patent infringement, with Apple's ongoing legal action against Samsung being a particularly high-profile case. In January 2012, Microsoft said they had signed patent license agreements with eleven Android device manufacturers, whose products account for "70 percent of all Android smartphones" sold in the US[401] and 55% of the worldwide revenue for Android devices.[402] These include Samsung and HTC.[403] Samsung's patent settlement with Microsoft included an agreement to allocate more resources to developing and marketing phones running Microsoft's Windows Phone operating system.[400] Microsoft has also tied its own Android software to patent licenses, requiring the bundling of Microsoft Office Mobile and Skype applications on Android devices to subsidize the licensing fees, while at the same time helping to promote its software lines.[404][405]

Google has publicly expressed its frustration for the current patent landscape in the United States, accusing Apple, Oracle and Microsoft of trying to take down Android through patent litigation, rather than innovating and competing with better products and services.[406] In August 2011, Google purchased Motorola Mobility for US$12.5 billion, which was viewed in part as a defensive measure to protect Android, since Motorola Mobility held more than 17,000 patents.[407][408] In December 2011, Google bought over a thousand patents from IBM.[409]

Other uses

Ouya, a video game console which runs Android

Ouya, a video game console which runs Android

Android-x86 running on an ASUS Eee PC netbook

Android-x86 running on an ASUS Eee PC netbook

Google has developed several variations of Android for specific use cases, including Android Wear, later renamed Wear OS, for wearable devices such as wrist watches,[410][411] Android TV for televisions,[412][413] and Android Things for smart devices and Internet of things.[414][415] Additionally, by providing infrastructure that combines dedicated hardware and dedicated applications running on regular Android, Google have opened up the platform for its use in particular usage scenarios, such as Android Auto for cars,[416][417] and Daydream, a Virtual Reality platform.[418]

The open and customizable nature of Android allows device makers to use it on other electronics as well, including laptops, netbooks,[419][420] and desktop computers,[421] cameras,[422] headphones,[423] home automation systems, game consoles,[424] media players,[425] satellites,[426] routers,[427] printers,[428] payment terminals,[429] automated teller machines,[430] and robots.[431] Additionally, Android has been installed and run on a variety of less-technical objects, including calculators,[432] single-board computers,[433] feature phones,[434] electronic dictionaries,[435] alarm clocks,[436] refrigerators,[437] landline telephones,[438] coffee machines,[439] bicycles,[440] and mirrors.[424]

Ouya, a video game console running Android, became one of the most successful Kickstarter campaigns, crowdfunding US$8.5m for its development,[441][442] and was later followed by other Android-based consoles, such as Nvidia's Shield Portable – an Android device in a video game controller form factor.[443]

In 2011, Google demonstrated "Android@Home", a home automation technology which uses Android to control a range of household devices including light switches, power sockets and thermostats.[444] Prototype light bulbs were announced that could be controlled from an Android phone or tablet, but Android head Andy Rubin was cautious to note that "turning a lightbulb on and off is nothing new", pointing to numerous failed home automation services. Google, he said, was thinking more ambitiously and the intention was to use their position as a cloud services provider to bring Google products into customers' homes.[445][446]

Parrot unveiled an Android-based car stereo system known as Asteroid in 2011,[447] followed by a successor, the touchscreen-based Asteroid Smart, in 2012.[448] In 2013, Clarion released its own Android-based car stereo, the AX1.[449] In January 2014, at the Consumer Electronics Show (CES), Google announced the formation of the Open Automotive Alliance, a group including several major automobile makers (Audi, General Motors, Hyundai, and Honda) and Nvidia, which aims to produce Android-based in-car entertainment systems for automobiles, "[bringing] the best of Android into the automobile in a safe and seamless way."[450]

Android comes preinstalled on a few laptops (a similar functionality of running Android applications is also available in Google's Chrome OS) and can also be installed on personal computers by end users.[451] On those platforms Android provides additional functionality for physical keyboards[452] and mice, together with the "Alt-Tab" key combination for switching applications quickly with a keyboard. In December 2014, one reviewer commented that Android's notification system is "vastly more complete and robust than in most environments" and that Android is "absolutely usable" as one's primary desktop operating system.[453]

In October 2015, The Wall Street Journal reported that Android will serve as Google's future main laptop operating system, with the plan to fold Chrome OS into it by 2017.[454][455] Google's Sundar Pichai, who led the development of Android, explained that "mobile as a computing paradigm is eventually going to blend with what we think of as desktop today."[454] Also, back in 2009, Google co-founder Sergey Brin himself said that Chrome OS and Android would "likely converge over time."[456] Lockheimer, who replaced Pichai as head of Android and Chrome OS, responded to this claim with an official Google blog post stating that "While we've been working on ways to bring together the best of both operating systems, there's no plan to phase out Chrome OS [which has] guaranteed auto-updates for five years".[457] That is unlike Android where support is shorter with "EOL dates [being..] at least 3 years [into the future] for Android tablets for education".[458]

At Google I/O in May 2016, Google announced Daydream, a virtual reality platform that relies on a smartphone and provides VR capabilities through a virtual reality headset and controller designed by Google itself.[418] The platform is built into Android starting with Android Nougat, differentiating from standalone support for VR capabilities. The software is available for developers, and was released in 2016.

Mascot

A giant Android mascot at Googleplex in 2008

A giant Android mascot at Googleplex in 2008

Android robot logo

Android robot logo

The mascot of Android is a green android robot, as related to the software's name. Although it has no official name, the Android team at Google reportedly call it "Bugdroid".[459] Due to Android's high popularity in the 2010s, it has become one of the most recognizable icons in the technology world.

It was designed by then-Google graphic designer Irina Blok on November 5, 2007 when Android was announced. Contrary to reports that she was tasked with a project to create an icon,[460] Blok confirmed in an interview that she independently developed it and made it open source. The robot design was initially not presented to Google, but it quickly became commonplace in the Android development team, with various different variations of it created by the developers there who liked the figure, as it was free under a Creative Commons license.[461][462] Its popularity amongst the development team eventually led to Google adopting it as an official icon as part of the Android logo when it launched to consumers in 2008.

See also

  • Comparison of mobile operating systems

  • Index of Android OS articles

  • List of Android smartphones

  • Android version history

References

[1]
Citation Linkopenlibrary.orgTo put the Statistica's numbers in context: by Strategy Analytics estimates, Windows the most popular "desktop" operating system, has an estimated installed base of about 1.3 billion at best; "Replacement Demand to Boost PC Sales in 2015, says Strategy Analytics: More than 70 percent of Developed Market Households Will Continue to Own PCs through 2018". Strategy Analytics. Archived from the original on February 18, 2015. Retrieved February 18, 2015. they also estimate the overall tablet installed base to be already of comparable size to the PC market and predict tablets will have surpassed them by 2018.
Sep 26, 2019, 4:57 PM
[2]
Citation Linkweb.archive.org"Android Language Breakdown". Open Hub. October 25, 2017. Archived from the original on December 14, 2017. Retrieved December 15, 2017.
Sep 26, 2019, 4:57 PM
[3]
Citation Linkweb.archive.orgMorrill, Dan (September 23, 2008). "Announcing the Android 1.0 SDK, release 1". Android Developers Blog. Archived from the original on March 5, 2017. Retrieved March 11, 2017.
Sep 26, 2019, 4:57 PM
[4]
Citation Linkwww.theverge.comBohn, Dieter (September 3, 2019). "Android 10 officially released for Google Pixel phones". The Verge.
Sep 26, 2019, 4:57 PM
[5]
Citation Linkweb.archive.org"Android 7.0 Nougat". Archived from the original on August 22, 2016. Retrieved September 5, 2016. InternationalizationMulti-locale support [..]New languages supported: Coupled with allowing you to select multiple languages preferences, Android Nougat allows you to select from 100 new languages and 25 locales for commonly used languages such as English, Spanish, French, and Arabic. This enables Apps to better support and understanding your language preferences even if your devices lacks official support for it.
Sep 26, 2019, 4:57 PM
[6]
Citation Linkweb.archive.org"android/platform/bionic/". Archived from the original on December 3, 2017.
Sep 26, 2019, 4:57 PM
[7]
Citation Linkandroid.googlesource.com"android/platform/external/mksh/". Archived from the original on January 21, 2016.
Sep 26, 2019, 4:57 PM
[8]
Citation Linkweb.archive.org"android/platform/external/toybox/toys/". Archived from the original on March 14, 2016.
Sep 26, 2019, 4:57 PM
[9]
Citation Linkweb.archive.org"Android gets a toybox". Archived from the original on March 4, 2016.
Sep 26, 2019, 4:57 PM
[10]
Citation Linkweb.archive.org"Licenses". Android Source. Archived from the original on December 15, 2016. Retrieved March 11, 2017.
Sep 26, 2019, 4:57 PM
[11]
Citation Linkwww.android.com"Android – Google Mobile Services". Android. Retrieved October 21, 2018. While the Android Open Source Project (AOSP) provides common, device-level functionalities such as email and calling, GMS is not part of AOSP. GMS is only available through a license with Google [..] We ask GMS partners to pass a simple compatibility test and adhere to our compatibility requirements for their Android devices.
Sep 26, 2019, 4:57 PM
[12]
Citation Linkwww.statista.com"Number of available applications in the Google Play Store from December 2009 to December 2018". Statista. Retrieved January 26, 2019.
Sep 26, 2019, 4:57 PM
[13]
Citation Linkweb.archive.org"Google's Android OS: Past, Present, and Future". PhoneArena. August 18, 2011. Archived from the original on March 13, 2017. Retrieved March 12, 2017.
Sep 26, 2019, 4:57 PM
[14]
Citation Linkwww.businessweek.comElgin, Ben (August 17, 2005). "Google Buys Android for Its Mobile Arsenal". Bloomberg Businessweek. Bloomberg L.P. Archived from the original on February 5, 2011. Retrieved March 12, 2017.
Sep 26, 2019, 4:57 PM
[15]
Citation Linkweb.archive.orgAlabaster, Jay (April 16, 2013). "Android founder: We aimed to make a camera OS". PC World. International Data Group. Archived from the original on May 10, 2017. Retrieved May 9, 2017.
Sep 26, 2019, 4:57 PM
[16]
Citation Linkweb.archive.orgWelch, Chris (April 16, 2013). "Before it took over smartphones, Android was originally destined for cameras". The Verge. Vox Media. Archived from the original on April 29, 2017. Retrieved May 9, 2017.
Sep 26, 2019, 4:57 PM
[17]
Citation Linkweb.archive.orgEadicicco, Lisa (March 27, 2015). "THE RISE OF ANDROID: How a flailing startup became the world's biggest computing platform". Business Insider. Axel Springer SE. Archived from the original on May 20, 2017. Retrieved May 9, 2017.
Sep 26, 2019, 4:57 PM
[18]
Citation Linkweb.archive.orgVance, Ashlee (July 29, 2011). "Steve Perlman's Wireless Fix". Bloomberg Businessweek. Bloomberg L.P. Archived from the original on March 19, 2017. Retrieved March 12, 2017.
Sep 26, 2019, 4:57 PM
[19]
Citation Linkweb.archive.orgManjoo, Farhad (May 27, 2015). "A Murky Road Ahead for Android, Despite Market Dominance". The New York Times. Archived from the original on July 6, 2017. Retrieved March 12, 2017.
Sep 26, 2019, 4:57 PM
[20]
Citation Linkweb.archive.orgBlock, Ryan (August 28, 2007). "Google is working on a mobile OS, and it's due out shortly". Engadget. AOL. Archived from the original on March 12, 2017. Retrieved March 11, 2017.
Sep 26, 2019, 4:57 PM