Android Marshmallow (codenamed Android M during development) is the sixth major version of the Android operating system and the 13th version of Android. First released as a beta build on May 28, 2015, it was officially released on September 29, 2015, with the Nexus devices being the first to receive the update. The first phone with Android Marshmallow was Nexus 5X and Nexus 6P.
|A version of the Android operating system|
|September 29, 2015|
|Final release||6.0.1_r81 (MOI10E) / October 1, 2017|
|Kernel type||Monolithic Kernel (Linux Kernel)|
|Preceded by||Android 5.1.1 "Lollipop"|
|Succeeded by||Android 7.0 "Nougat"|
Marshmallow primarily focuses on improving the overall user experience of its predecessor, Lollipop. It introduced a new 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.
As of May 2022[update], 2.54% of Android smartphones ran Android 6.0 Marshmallow, and 3.71% of Android tablets. Android 6.0 is no longer supported with security updates since October 1, 2017.
The release was internally codenamed "Macadamia Nut Cookie". The first developer preview build, codenamed Android "M", was unveiled and released at Google I/O on May 28, 2015, for the Nexus 5 and Nexus 6 smartphones, Nexus 9 tablet, and Nexus Player set-top box. The second developer preview was released on July 9, 2015, and the third and final preview was released on August 17, 2015, along with announcing that Android M would be titled Android "Marshmallow".
Android 6.0 updates and factory images for Nexus 5, 6, 7 (2013), 9, and Player were released on October 5, 2015. Older Nexus devices, including the Nexus 4, Nexus 7 (2012) and Nexus 10, did not receive an official update. 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.
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.
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. "Direct Share" allows Share menus to display recently used combinations of contacts and an associated app as direct targets.
"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.
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. 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.
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. 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.
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. Additionally, network access by apps is deferred if the user has not recently interacted with the app. 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.
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[disambiguation needed] 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. 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.
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. These conditions comprise part of a specification that must be met in order to be certified for the operating system, and be able to license Google Mobile Services software. The requirement for mandatory device encryption was originally intended to take effect on Lollipop, but was delayed due to performance issues.
- "Refs/Tags/Android-6.0.0_r1 - platform/System/Core - Git at Google".
- Rakowski, Brian (October 5, 2015). "Get ready for the sweet taste of Android 6.0 Marshmallow". Official Android Blog. Retrieved March 6, 2017.
- "Android Source". Google Git. Retrieved October 3, 2017.
- "Codenames, Tags, and Build Numbers".
- "Mobile Android Version Market Share Worldwide". StatCounter Global Stats. Retrieved May 8, 2022.
- "Tablet Android Version Market Share Worldwide". StatCounter Global Stats. Retrieved May 8, 2022.
- "Mobile & Tablet Android Version Market Share Worldwide". StatCounter Global Stats. Retrieved March 18, 2022.
- "Google's Internal Code Name For Android M Is Macadamia Nut Cookie (MNC)". May 23, 2015.
- Seifert, Dan (May 28, 2015). "Google announces Android M, available later this year". The Verge. Vox Media. Retrieved March 6, 2017.
- Chester, Brandon (May 28, 2015). "Google Announces Android M At Google I/O 2015". AnandTech. Purch Group. Retrieved March 6, 2017.
- Cunningham, Andrew (May 28, 2015). "Google's Android M preview build will run on the Nexus 5, 6, 9, and Player [Updated]". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- Kumparak, Greg (July 9, 2015). "Google Releases A Second Build Of Android M Just For Developers". TechCrunch. AOL. Retrieved March 6, 2017.
- Amadeo, Ron (July 9, 2015). "Google releases the second Android M Developer Preview". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- Eason, Jamal (August 17, 2015). "Develop a sweet spot for Marshmallow: Official Android 6.0 SDK & Final M Preview". Android Developers Blog. Retrieved March 6, 2017.
- Welch, Chris (August 17, 2015). "Android M's name is Marshmallow, and it's version 6.0". The Verge. Vox Media. Retrieved March 6, 2017.
- Kastrenakes, Jacob (September 29, 2015). "Google Nexus 6P with 5.7-inch display announced starting at $499". The Verge. Vox Media. Retrieved March 6, 2017.
- Savov, Vlad (September 29, 2015). "Nexus 5X announced with Android Marshmallow and Nexus Imprint". The Verge. Vox Media. Retrieved March 6, 2017.
- Amadeo, Ron (September 29, 2015). "Google announces the LG Nexus 5X and Huawei Nexus 6P; pre-orders start today". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- Chester, Brandon (September 29, 2015). "Google Announces The Pixel C Tablet". AnandTech. Purch Group. Retrieved March 6, 2017.
- Lomas, Natasha (September 29, 2015). "Google Announces Pixel C Android Tablet With Magnetic Keyboard Add-on". TechCrunch. AOL. Retrieved March 6, 2017.
- Welch, Chris (October 5, 2015). "Android 6.0 Marshmallow is now available for Google's Nexus devices". The Verge. Vox Media. Retrieved March 6, 2017.
- Whitwam, Ryan (September 28, 2015). "Android Marshmallow Will Begin Rolling Out To The Nexus 5, 6, 7 (2013), 9, And Player On October 5th, Along With AOSP". Android Police. Retrieved March 6, 2017.
- Byford, Sam (October 14, 2015). "LG begins rolling out Android 6.0 Marshmallow to the G4 next week". The Verge. Vox Media. Retrieved March 6, 2017.
- Nickinson, Phil (October 14, 2015). "LG announces its first Android 6.0 Marshmallow update". Android Central. Mobile Nations. Archived from the original on March 7, 2017. Retrieved March 6, 2017.
- Ruddock, David (December 7, 2015). "Android 6.0.1 Factory Images Now Available, Many New Emoji And December Security Patch In Tow". Android Police. Retrieved March 6, 2017.
- Amadeo, Ron (December 7, 2015). "Android 6.0.1 adds a ton of new emoji, and we've got the full list". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- R., Ben (December 7, 2015). "Android 6.0.1 Marshmallow roll-out brings 200+ emoji to Nexus devices". PhoneArena. Retrieved March 6, 2017.
- Amadeo, Ron (October 5, 2015). "Android 6.0 Marshmallow, thoroughly reviewed". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- "Scoped Storage in Android Q forces developers to use SAF". xda-developers. May 31, 2019.
- Amadeo, Ron (February 24, 2016). "The LG G5 and Galaxy S7 won't support Android 6.0's adoptable storage". Ars Technica. Condé Nast. Retrieved March 6, 2017.
- Triggs, Robert (February 24, 2016). "LG G5 and Galaxy S7 don't support Marshmallow's adoptable storage". Android Authority. Retrieved March 6, 2017.
- Mediati, Nick (October 12, 2015). "How to toggle app permissions in Android Marshmallow". Greenbot. International Data Group. Retrieved March 6, 2017.
- "Requesting Permissions at Run Time". Android Developers. Retrieved March 6, 2017.
- Hoffman, Chris (October 11, 2015). "How to Manage App Permissions on Android 6.0". How-To Geek. Retrieved March 6, 2017.
- Wagoner, Ara (November 1, 2015). "How to take advantage of the new App Permissions in Marshmallow". Android Central. Mobile Nations. Retrieved March 6, 2017.
- "Optimizing for Doze and App Standby". Android developers portal. Retrieved November 17, 2015.
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.
- "Tasker has been pulled from the Play Store". Android Authority. Retrieved November 17, 2015.
- "Google makes full-disk encryption and secure boot mandatory for some Android 6.0 devices". IT World. IDG. October 20, 2015. Retrieved October 20, 2015.
- "Balky carriers and slow OEMs step aside: Google is defragging Android". Ars Technica. September 2, 2013. Retrieved September 3, 2013.