Version of the Android operating system | |
Developer | |
---|---|
General availability | September 29, 2015[1][2] |
Final release | 6.0.1_r81 (MOI10E)[3] / October 3, 2017[4] |
Kernel type | Monolithic (Linux) |
Preceded by | Android 5.1.1 "Lollipop" |
Succeeded by | Android 7.0 "Nougat" |
Official website | www |
Support status | |
Unsupported as of October 3, 2017, Security patch level updates ended in August 2018 |
Android Marshmallow (codenamed Android M during development) is the sixth major version of the Android operating system developed by Google, being the successor to Android Lollipop. It was announced at Google I/O on May 28, 2015, and released the same day as a beta, before being officially released on September 29, 2015. It was succeeded by Android Nougat on August 22, 2016.[5]
Android Marshmallow primarily focuses on improving the overall user experience of its predecessor. It introduced a new opt-in permissions architecture, new APIs for contextual assistants (first used by a new feature "Now on Tap" to provide context-sensitive search results), a new power management system that reduces background activity when a device is not being physically handled, native support for fingerprint recognition and USB-C connectors, the ability to migrate data and applications to a microSD card, and other internal changes.
Android Marshmallow was met by low adoption numbers, with 13.3% of Android devices running Marshmallow by July 2016.[6] Usage of Marshmallow steadily increased since then, and by August 2017, 35.21% of Android devices ran Marshmallow, before receding. As of November 2023[update], 1.4% of Android devices ran Marshmallow.[7] Security updates for Marshmallow ended in August 2018.
As of September 2024, Android Marshmallow is the oldest version of Android still supported by Google Play services.[8][9]
Android Marshmallow internally codenamed "Macadamia Nut Cookie".[10] The first developer preview build for Marshmallow, codenamed Android "M", was unveiled and released at Google I/O on May 28, 2015, for the Nexus 5 and Nexus 6 smartphones, the Nexus 9 tablet, and the Nexus Player set-top box.[11][12][13] The second developer preview was released on July 9, 2015,[14][15] and the third and final preview was released on August 17, 2015, along with announcing that Android M would be titled Android "Marshmallow".[16][17]
On September 29, 2015, Google unveiled launch devices for Marshmallow: the LG-produced Nexus 5X, the Huawei-produced Nexus 6P,[18][19][20] alongside Google's own Pixel C tablet.[21][22]
Android 6.0 updates and factory images for Nexus 5, 6, 7 (2013), 9, and Player were released on October 5, 2015.[23] Older Nexus devices, including the Nexus 4, Nexus 7 (2012) and Nexus 10, did not receive an official update.[24] On October 14, 2015, LG announced that it planned to release Marshmallow for its flagship LG G4 smartphone in Poland the following week, marking the first third-party device to receive an update to Marshmallow.[25][26]
Android 6.0.1, a software patch featuring security fixes, support for Unicode 8.0 emoji (although without supporting skin tone extensions for human emoji), and the return of the "until next alarm" feature in Do Not Disturb mode, was released on December 7, 2015.[27][28][29]
A new "Assist" API allows information from a currently opened app, including text and a screenshot of the current screen, to be sent to a designated "assistant" application for analysis and processing. This system is used by the Google Search app feature "Google Now on Tap", which allows users to perform searches within the context of information currently being displayed on-screen. While the "Home" button was used in Android 5 to show available apps, the "Home" button is used now (together with a voice command) to generate on-screen cards which display information, suggestions, and actions related to the content.[30] "Direct Share" allows Share menus to display recently used combinations of contacts and an associated app as direct targets.[30]
The new "Adoptable storage" feature allows a newly-inserted SD card or other secondary storage media[citation needed] to be optionally designated as "internal" rather than "portable" storage.
"Portable" storage is the default behavior used in previous Android versions, treating the media as a secondary storage device for storage of user files, and the storage media can be removed or replaced without repercussions, but user-installed apps are restricted to writing to their respective package name directories located inside Android/data
. This restriction was introduced in Android 4.4 KitKat. The Storage Access Framework, through which shared writing access to memory cards has been reinstated in Android 5.0 Lollipop, is backwards-incompatible and slower due to latencies.[31]
When designated as "Internal" storage, the storage media is reformatted with an encrypted ext4 file system, and is "adopted" by the operating system as an extension of the primary storage partition. Existing data (including applications and "private" data folders) are migrated to the external storage, and normal operation of the device becomes dependent on the presence of the media. Apps and operating system functions will not function properly if the adopted storage device is removed, and the card can not be reused in other devices until reformatted. If the user loses access to the storage media, the adopted storage can be "forgotten", which makes the data permanently inaccessible.[30] Samsung and LG have, however, removed the ability to use an SD card as "internal" storage on their Galaxy S7 and G5 devices, with Samsung arguing that the feature could result in unexpected losses of data, and prevents users from being able to transfer data using the card.[32][33]
Android Marshmallow introduces a redesigned application permissions model; apps are no longer automatically granted all of their specified permissions at installation time. An opt-in system is now used, in which users are prompted to grant or deny individual permissions (such as the ability to access the camera or microphone) to an application when they are needed for the first time. Applications remember the grants, which can be revoked by the user at any time.[12][34][35] 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.[36][37]
Marshmallow introduces new power management schemes known as "Doze" and "App Standby"; when running on battery power, a device will enter a low-power state if it is inactive and not being physically handled. In this state, network connectivity and background processing are restricted, and only "high-priority" notifications are processed.[30] Additionally, network access by apps is deferred if the user has not recently interacted with the app.[38] Apps may request a permission to exempt themselves from these policies, but will be rejected from Google Play Store as a violation of its "Dangerous Products" policy if their core functionality is not "adversely affected" by them.[38][39]
Android Marshmallow provides native support for fingerprint recognition on supported devices via a standard API, allowing third-party applications to implement fingerprint-based authentication. Fingerprints can be used for unlocking devices and authenticating Play Store and Google Pay purchases. Android Marshmallow supports USB-C, including the ability to instruct devices to charge another device over USB. Marshmallow also introduces "verified links" that can be configured to open directly in their specified application without further user prompts.[12][11] User data for apps targeting Marshmallow can be automatically backed up to Google Drive over Wi-Fi. Each application receives up to 25 MB of storage, which is separate from a user's Google Drive storage allotment.[30]
As of Marshmallow, the Android Compatibility Definition Document contains new security mandates for devices, dictating that those that are capable of accessing encrypted data without affecting performance must enable secure boot and device encryption by default.[40] These conditions comprise part of a specification that must be met in order to be certified for the operating system,[40] and be able to license Google Mobile Services software.[41] The requirement for mandatory device encryption was originally intended to take effect on Lollipop, but was delayed due to performance issues.[40]
Google Play policies prohibit apps from requesting direct exemption from Power Management features in Android 6.0+ (Doze and App Standby) unless the core function of the app is adversely affected.