Software:Android Nougat

From HandWiki
Short description: Seventh major version of the Android operating system
Android Nougat
A version of the Android operating system
Android Nougat Logo.svg
Screenshot
Android Nougat screenshot 20170116-070000.png
Android 7.1 Nougat home screen with Pixel Launcher
DeveloperGoogle
General
availability
August 22, 2016; 7 years ago (2016-08-22)[1][2]
yes|Final release|Latest release}}7.1.2_r39 (5787804)[3] / October 4, 2019; 4 years ago (2019-10-04)
Kernel typeMonolithic (Linux 4.1)
Preceded byAndroid 6.0.1 "Marshmallow"
Succeeded byAndroid 8.0 "Oreo"
Official website{{{1}}}
Support status
Unsupported since October 2019

Android Nougat (codenamed Android N during development) is the seventh major version and 14th original version of the Android operating system. First released as an alpha test version on March 9, 2016, it was officially released on August 22, 2016, with Nexus devices being the first to receive the update. The LG V20 was the first smartphone released with Nougat.

Nougat introduces notable changes to the operating system and its development platform, including the ability to display multiple apps on-screen at once in a split-screen view, support for inline replies to notifications, and an expanded Doze power-saving mode that restricts device functionality once the screen has been off for a period of time. Additionally, the platform switched to an OpenJDK-based Java environment and received support for the Vulkan graphics rendering API, and seamless system updates on supported devices.

Nougat received positive reviews. The new app notification format received particular praise; while the multitasking interface was seen as a positive change, reviewers experienced that several apps were incompatible with the feature. Critics had mixed experiences with the Doze power-saving mode, but faster app installs and tweaks to the user interface were also reviewed positively.

(As of December 2022), 4.02% of devices ran Android Nougat, with 1.6% on 7.1.x and 2.42% on 7.0.[4] Android Nougat went unsupported with no more security updates after October 2019.

History

Android 7.0 home screen

The release was internally codenamed "New York Cheesecake".[5] On March 9, 2016, ahead of the Google I/O developer conference, Google released the first alpha version[6] of Android "N" as part of a new "Android Beta Program" intended for testing by developers and enthusiasts before official its release "this summer". The developer preview builds were compatible with only current Google Nexus devices; the 5X, 6P, 6, 9, Pixel C, and Nexus Player. The "Android Beta Program" that was introduced allowed testers to opt-in for over-the-air updates to new beta versions as they were released.[7]

On April 13, 2016, Android N Beta Preview 2 was released.[8] Google further discussed Android "N" during the I/O keynote on May 18, 2016, and unveiled its new virtual reality platform, Daydream. Beta Preview 3, the first preview release deemed suitable for wider public beta testing, was released at this time. Google also announced that it would hold a contest to determine the official release name of the operating system.[9][10][11]

Beta Preview 4 was released on June 15, 2016.[12][13] On June 30, 2016, Google announced that N's release name would be "Nougat"; it was also confirmed that Nougat would be version 7.0 of Android.[14][15][16]

The final Beta Preview, 5, was released on July 18, 2016.[17]

Android 7.0 was officially released on August 22, 2016, with the Nexus 6, 5X, 6P, 9, Nexus Player, Pixel C, and General Mobile 4G as the first devices to receive the update.[18] Dave Burke, Android's Vice President of Engineering, stated in August 2016 that updates to Nougat would be released quarterly as maintenance releases focusing on "continued refinements and polish".[19] On September 6, 2016, LG announced the V20, the first smartphone to ship with Nougat pre-installed.[20] Google unveiled the first-party Pixel and Pixel XL smartphones during a hardware-focused event on October 4, 2016,[21] with the Pixel phones replacing the Nexus series.[22]

Updates to existing devices vary by manufacturer and carrier, and driver support for the version by the manufacturer of a device's respective system-on-chip.[23] Major manufacturers, including HTC, Sony, and Motorola announced intents to update a range of their recent devices to Nougat.[24][25][26] Qualcomm stated that it would not support Nougat on devices using its Snapdragon 800 and 801 system-on-chips for undisclosed reasons. Although developer preview builds of Nougat were released for the device, Sony stated that it would not upgrade the Xperia Z3 (which uses the Snapdragon 801) to the final version due to "unforeseen platform limitations". It was reported that the Google Compatibility Test Suite (whose tests must be passed in order to receive official certification) specified that all devices running Nougat must support either Vulkan or OpenGL ES 3.1 graphics APIs—neither of which are supported by the device's Adreno 330 graphics core.[23][27] The Fairphone 2 is purported to be the only device with the Qualcomm Snapdragon 801 chipset to provide official support for Android 7.1.2, delivering on their effort towards increased longevity for a more sustainable device.[28]

A post-release update known as Android 7.1 was pre-loaded onto Google's Pixel and Pixel XL smartphones released in October 2016; the new version added support for the Google Daydream VR platform, image keyboards, expanded emoji support (including male and female versions), support for actions to be displayed in menus on home screen app shortcuts, and other new features. A preview of 7.1 for existing Nexus devices was released via Android Beta Program later in the month,[29] and officially released as Android 7.1.1 on December 5, 2016.[30][31][32] As of 7.1.1, the Nexus 6 and Nexus 9 were considered end-of-life, and did not receive any further updates.[33]

Android 7.1.2 was released in April 2017, providing various improvements and minor functionality improvements to Nexus and Pixel-branded devices.[33][34]

Features

User experience

The updated notification shade on Nougat

Nougat redesigns the notification shade, which now features a smaller row of icons for settings, replacing notification cards with a new "sheet" design, and allowing inline replies for notifications. Multiple notifications from a single app can also be "bundled",[7] and there is greater per-app control over notifications.[35]

A split-screen display mode was introduced for phones, in which two apps can be snapped to occupy halves of the screen. An experimental multi-window mode is also available as a hidden feature, where multiple apps can appear simultaneously on the screen in overlapping windows.[36]

The "Doze" power saving mechanism introduced in Android Marshmallow was expanded to include a state activated when the device is running and the screen has been off for a period of time but is not stationary. In this state, network activity is restricted, and apps are granted "maintenance windows" in which they can access the network and perform background tasks. As in Marshmallow, the full Doze state is activated if the device is stationary with its screen off for a period of time.[7][37] A new "Data Saver" mode restricts background mobile data usage, and can trigger internal functions in apps that are designed to reduce bandwidth usage, such as capping the quality of streaming media.[37][38]

Platform

In December 2015, Google announced that Android Nougat would switch its Java Runtime Environment from the defunct Apache Harmony to OpenJDK—the official open source implementation of the Java platform maintained by Oracle Corporation and the Java community.[39] The Android Runtime (ART) now incorporates a profile-guided compilation system, utilizing a JIT compiler and profiling alongside its current ahead-of-time compiler to further optimize apps for a device's hardware and other conditions in the background.[37]

Nougat introduces a system for enabling "seamless", automatic system updates, based upon and sharing some code with the implementation of similar functionality on ChromeOS. The system uses a pair of partitions. During the pre-release phase of development, SquashFS had been considered as the filesystem, to help offset the extra storage overhead of maintaining two copies of these partitions. However, for performance reasons, in the public release of Nougat, designers ultimately chose to continue using Android's traditional ext4 filesystem.[40] The Android system executes from an "online" partition, while updates are applied in the background to a redundant "offline" partition. On the next boot following the installation of an update, the redundant partition is designated as active to boot into the updated OS. This system removes the requirement for the device to reboot into the system recovery environment to apply the update (which prevents the device from being used until the update is complete), and also provides a backup of the existing OS in case of failure. Google chose to enable seamless updates only for devices shipped with Nougat (or later), rather than enabling earlier devices to support the feature after repartitioning.[41][42] Additionally, due to the ART changes on Nougat, apps no longer need to be re-compiled upon the first boot after a system update.[43]

Developer Preview 2 added platform support for Vulkan, a new low-level 3D-rendering API alternative to OpenGL ES with higher graphics performance.[8][44][45]

Nougat is the first version featuring Unicode 9.0 support, and comes with updated emoji, plus support for emoji skin tones.[8]

Android 7.1 adds native API support for implementing image keyboards; multi-endpoint telephones;[clarification needed] shortcut menus and rounded icon assets for apps on launchers; and support for the Google Daydream virtual reality platform.[29][46] The Daydream environment includes a "sustained performance mode" to assist developers in optimizing apps to a device's thermal profile,[37] a new head tracking algorithm which combines the input from various device sensors, and integration of system notifications into the VR user interface.[47]

Security

In response to the Stagefright family of bugs disclosed and fixed in 2015, several changes were made to harden the media stack against future vulnerabilities. Runtime integer overflow detection was implemented, preventing the majority of Stagefright-like programming bugs from becoming vulnerabilities, in addition to helping fix and prevent such bugs. Android's monolithic MediaServer process was redesigned to better adhere to the principle of least privilege. MediaServer is now split into several separate processes, each running in its own unprivileged sandbox, and granted only the permissions required for its task. For example, only the AudioServer can access Bluetooth, and libstagefright now runs within the MediaCodecService sandbox, which is only granted GPU access. Further constraints were placed on the media stack through seccomp.[48]

Various mechanisms were enabled to reduce the possibility of malicious code being injected and/or executed inside the Linux kernel, including dividing kernel memory into logical segments for code and data, with page access permissions of read-only and no-execute as appropriate. The kernel was also restricted from directly accessing user space memory, and stronger stack protection was enabled in the GCC compiler to reduce stack smashing. To limit exposure of the kernel to potentially malicious code, perf was disabled by default, ioctl commands were restricted by SELinux, and seccomp-bpf was enabled to grant processes the ability to restrict system calls.[49]

On devices shipping with Android Nougat, the "Verified Boot" policy (introduced partially on KitKat, and displaying notifications on startup on Marshmallow) must be strictly enforced. If system files are corrupted or otherwise modified, the operating system will only allow operation in a limited-use mode or will refuse to boot at all.[50][51]

Android Nougat supports an alternative drive encryption scheme known as "file-based encryption". As opposed to full disk encryption, it allows less-sensitive contents of the storage—such as operating system files—to be encrypted using only a hardware key rather than requiring credentials. Sensitive user data remains encrypted using credentials. File-based encryption removes the requirement for pre-boot authentication: instead, Android boots normally without additional intervention, but access to credential-protected data is restricted until the user unlocks the device for the first time ("Direct boot"). In the meantime, background services can access data they store in the device-encrypted context (such as alarms or messaging notifications, particularly after automatic reboots due to updates or crashes) to maintain limited functionality until the user unlocks the credential-encrypted storage.[52][53]

Reception

Dieter Bohn of The Verge praised the new multitasking interface in Android Nougat, calling it "long overdue" for Android tablets. Although he initially found the implementation "confusing", he wrote that it worked well once he understood it properly, though he noted that "some apps don't fully support split screen, while others work fine but pop up a warning anyway". Bohn also liked the new way to reply to any message notification, stating "Android has long had an advantage in useful and consistent notifications" versus iOS, and added "now that quick replies are standard on it I don't see that lead diminishing". He also noted "tweaks" throughout the OS as welcome changes, including quick toggles in the notification drawer, a Settings menu with more visual information, and a Camera app that has been "cleaned up a bit". Bohn stated that he didn't notice any significant battery improvements despite the Doze power-saving feature in Nougat. He also wrote extensively about the fact that, even though Nougat is "great", "it’s a shame it will take so long for anybody to see it", writing about the lack of updates to most Android devices, and that "unless you have a Nexus, it could be a few months, it could be a year [sic], before it becomes available on your phone".[54]

Chris Velazco of Engadget also praised the new, bundled app notifications, writing that prior Android versions' notifications "just sort of sit there" until interaction, but Nougat "does a much better job of bundling them by app and letting you get things done". He highlighted the ability to expand a bundled Gmail notification to see subjects and senders of individual messages. Velazco stated that split-screen multitasking was a "big deal", but he also encountered non-compatible apps. Visual elements in the Settings app, quick toggles in the notification dropdown, and new language and emoji support were also positive highlights in the review. Velazco did note a battery improvement from the Doze power-saving feature, stating his "Nexus 6P seemed to gain about an hour or two of standby battery life". He also wrote that installing and launching apps might be "a little faster than usual" thanks to Nougat's new app compiler, and he hoped game developers would utilize the new Vulkan API for some "seriously good-looking mobile gaming".[55]

See also

References

  1. "Taking the final wrapper off of Android 7.0 Nougat". https://android-developers.googleblog.com/2016/08/taking-final-wrapper-off-of-nougat.html. 
  2. "Android 7.0 Nougat. Made for you". https://www.android.com/versions/nougat-7-0/. 
  3. "Android Source". https://android.googlesource.com/platform/build/+/android-7.1.2_r39. 
  4. "Mobile & Tablet Android Version Market Share Worldwide". https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide/. 
  5. "Name". 15 March 2016. https://www.androidpolice.com/2016/03/15/google-is-calling-android-n-new-york-cheesecake-nyc-internally/. 
  6. "Program Overview". https://developer.android.com/preview/overview.html. 
  7. 7.0 7.1 7.2 Amadeo, Ron (March 10, 2016). "Surprise! The Android N Developer Preview is out right now". Condé Nast. https://arstechnica.com/gadgets/2016/03/surprise-the-android-n-developer-preview-is-out-right-now/. 
  8. 8.0 8.1 8.2 Burke, Dave (April 13, 2016). "Android N Developer Preview 2, out today!". https://android-developers.googleblog.com/2016/04/android-n-developer-preview-2-out-today.html. 
  9. Savov, Vlad (May 18, 2016). "Google details Android N features ahead of late summer release". Vox Media. https://www.theverge.com/2016/5/18/11698930/android-n-release-date-features-google-io-2016. 
  10. Kastrenakes, Jacob (May 18, 2016). "Google's latest Android N beta is meant for everyone". Vox Media. https://www.theverge.com/2016/5/18/11702022/android-n-public-beta-release-today. 
  11. Protalinski, Emil (May 18, 2016). "Google launches Android N Developer Preview 3 with seamless updates and VR mode". https://venturebeat.com/2016/05/18/google-launches-android-n-developer-preview-3-with-seamless-updates-and-vr-mode/. 
  12. Burke, Dave (June 15, 2016). "Android N APIs are now final, get your apps ready for Android N!". https://android-developers.googleblog.com/2016/06/android-n-apis-are-now-final.html. 
  13. Ruddock, David (June 15, 2016). "Android N Developer Preview 4 is out, build NPD56N". https://www.androidpolice.com/2016/06/15/android-n-developer-preview-4-is-out-build-npd56n/. 
  14. Walter, Derek; Cross, Jason (July 1, 2016). "Android N name revealed: It's Nougat". International Data Group. https://www.pcworld.com/article/3090436/android/android-n-name-revealed-its-nougat.html. 
  15. T., Florin (June 30, 2016). "Android 7.0 Nougat statue unveiled by Google". https://www.phonearena.com/news/Android-7.0-Nougat-statue-unveiled-by-Google_id82773. 
  16. Gibbs, Samuel (July 1, 2016). "Nougat: Google's new Android name divides opinion". https://www.theguardian.com/technology/2016/jul/01/google-android-nougat-version-7. 
  17. Ruddock, David (July 18, 2016). "Android 7.0 Nougat Developer Preview 5 - the final preview - is available for download". https://www.androidpolice.com/2016/07/18/android-7-0-nougat-developer-preview-5-the-final-preview-is-available-for-download/. 
  18. Samat, Sameer (August 22, 2016). "Android 7.0 Nougat: a more powerful OS, made for you". https://blog.google/products/android/android-70-nougat-more-powerful-os-made/. 
  19. Cunningham, Andrew (August 23, 2016). "Google lays out plans to update Android more regularly and frequently". Condé Nast. https://arstechnica.com/gadgets/2016/08/android-moving-to-a-regular-maintenance-schedule-with-continued-public-betas/. 
  20. Statt, Nick (September 6, 2016). "LG launches V20 smartphone with Android 7.0 Nougat". Vox Media. https://www.theverge.com/2016/9/6/12822006/lg-v20-mobile-android-7-nougat-announce-pricing-release-date. 
  21. Seifert, Dan (October 4, 2016). "Google's new Pixel phones come with Android 7.1 Nougat". Vox Media. https://www.theverge.com/2016/10/4/13098314/google-android-update-7-1-nougat-new-features. 
  22. Bohn, Dieter (4 October 2016). "The Google Phone: The inside story of Google's bold bet on hardware". Vox Media. https://www.theverge.com/a/google-pixel-phone-new-hardware-interview-2016. 
  23. 23.0 23.1 Cunningham, Andrew (August 31, 2016). "Why isn't your old phone getting Nougat? There's blame enough to go around". Ars Technica. Condé Nast. https://arstechnica.com/gadgets/2016/08/why-isnt-your-old-phone-getting-nougat-theres-blame-enough-to-go-around/. 
  24. O'Boyle, Britta; Hall, Chris (February 10, 2017). "When is Android 7.1.1 Nougat coming to my phone?". https://www.pocket-lint.com/news/137654-when-is-android-7-1-1-nougat-coming-to-my-phone. 
  25. Carman, Ashley (February 9, 2017). "Sony is rolling Android Nougat out to some Xperia devices". Vox Media. https://www.theverge.com/circuitbreaker/2017/2/9/14564266/sony-android-nougat-xperia-update. 
  26. "Android 7.0 Nougat update starts hitting Motorola Moto G4 and Moto G4 Plus". GSMArena. October 21, 2016. https://www.gsmarena.com/android_70_nougat_update_starts_hitting_motorola_moto_g4_and_moto_g4_plus-news-21215.php. 
  27. V., Cosmin (August 31, 2016). [httsp://www.phonearena.com/news/Sony-claims-its-not-at-fault-for-not-releasing-Android-7.0-Nougat-for-Xperia-Z3_id84749 "Sony claims it's not at fault for not releasing Android 7.0 Nougat for Xperia Z3"]. httsp://www.phonearena.com/news/Sony-claims-its-not-at-fault-for-not-releasing-Android-7.0-Nougat-for-Xperia-Z3_id84749. 
  28. "Investing in long-lasting design: Android 7 for the Fairphone 2". 2018-11-13. https://www.fairphone.com/en/2018/11/13/investing-in-long-lasting-design-android-7-for-fairphone-2/. 
  29. 29.0 29.1 Lumb, David (October 11, 2016). "Download Android 7.1 Nougat in beta later this month". Engadget. AOL. https://www.engadget.com/2016/10/11/download-android-7-1-nougat-in-beta-later-this-month/. 
  30. Fonts, Agustin (December 5, 2016). "A sweet update to Nougat: Android 7.1.1". The Keyword Google Blog. https://blog.google/products/android/sweet-update-nougat-android-711/. 
  31. Ingraham, Nathan (December 5, 2016). "Android 7.1.1 is rolling out now". AOL. https://www.engadget.com/2016/12/05/android-7-1-1-is-rolling-out-now/. 
  32. Carman, Ashley (December 5, 2016). "Google is bringing Pixel features to its Nexus line with Android 7.1.1". The Verge. Vox Media. https://www.theverge.com/2016/12/5/13847312/google-android-nougat-update-7-1-1-pixel-nexus. 
  33. 33.0 33.1 Amadeo, Ron (April 4, 2017). "Android 7.1.2 leaves beta, arrives on Pixel and Nexus devices". Condé Nast. https://arstechnica.com/gadgets/2017/04/android-7-1-2-leaves-beta-arrives-on-pixel-and-nexus-devices/. 
  34. Walter, Derek (April 7, 2017). "Android device updates: Android 7.1.2 arrives for Pixel and Nexus devices". International Data Group. https://www.greenbot.com/article/3188274/android/android-device-updates-android-712-arrives-for-pixel-and-nexus-devices.html. 
  35. Swider, Matt; Peckham, James. "Android Nougat release date: when you'll get it and everything you need to know". Future plc. https://www.techradar.com/news/phone-and-communications/mobile-phones/android-7-what-we-want-to-see-1311290. 
  36. Amadeo, Ron (March 21, 2016). "This is Android N's freeform window mode". Condé Nast. https://arstechnica.com/gadgets/2016/03/this-is-android-ns-freeform-window-mode/. 
  37. 37.0 37.1 37.2 37.3 "Android N for Developers". https://developer.android.com/preview/api-overview.html. 
  38. "Android: The Road to JIT/AOT Hybrid Compilation-Based Application User Experience". Intel Corporation. https://software.intel.com/en-us/articles/android-the-road-to-jitaot-hybrid-compilation-based-application-user-experience. 
  39. Amadeo, Ron (January 7, 2016). "Android N switches to OpenJDK, Google tells Oracle it is protected by the GPL". Condé Nast. https://arstechnica.com/tech-policy/2016/01/android-n-switches-to-openjdk-google-tells-oracle-it-is-protected-by-the-gpl/. 
  40. "A/B System Updates: Frequently Asked Questions: Why didn't you use SquashFS". https://source.android.com/devices/tech/ota/ab/ab_faqs#why-didnt-you-use-squashfs. 
  41. Ruddock, David (2016-05-20). "Current Nexus Devices Will Not Get The New Seamless Update Feature From Android N". https://www.androidpolice.com/2016/05/19/current-nexus-devices-will-not-get-the-new-seamless-update-feature-from-android-n/. 
  42. Amadeo, Ron (2016-08-22). "Android 7.0 Nougat review—Do more on your gigantic smartphone". https://arstechnica.com/gadgets/2016/08/android-7-0-nougat-review-do-more-on-your-gigantic-smartphone/8/#h1. 
  43. Amadeo, Ron (May 18, 2016). "Android N borrows Chrome OS code for "seamless" update installation". Condé Nast. https://arstechnica.com/gadgets/2016/05/android-n-borrows-chrome-os-code-for-seamless-update-installation/. 
  44. Woods, Shannon (April 13, 2016). "Optimize, Develop, and Debug with Vulkan Developer Tools". https://android-developers.googleblog.com/2016/04/optimize-develop-and-debug-with-vulkan.html. 
  45. "Vulkan Graphics API". https://developer.android.com/ndk/guides/graphics/index.html. 
  46. Amadeo, Ron (May 18, 2016). "Gear VRs for everyone! Google turns Android into a VR-ready OS: Daydream". Condé Nast. https://arstechnica.com/gadgets/2016/05/android-vr-os-gets-a-virtual-reality-mode-and-vr-ready-smartphones/. 
  47. ""VR at Google - Google I/O 2016"". May 9, 2016. https://www.youtube.com/watch?v=UGlcsJOt-ng&t=9m. 
  48. Austin, Dan; Vander Stoep, Jeff (May 5, 2016). "Hardening the media stack". https://android-developers.googleblog.com/2016/05/hardening-media-stack.html. 
  49. Vander Stoep, Jeff (July 27, 2016). "Protecting Android with more Linux kernel defenses". https://security.googleblog.com/2016/07/protecting-android-with-more-linux.html. 
  50. Fingas, Jon (July 19, 2016). "Android Nougat won't boot your phone if its software is corrupt (updated)". AOL. https://www.engadget.com/2016/07/19/android-nougat-strict-verified-boot/. 
  51. Y., Miley (July 20, 2016). "Android 7.0 devices could be harder to root, won't boot at all if the software is corrupt". https://www.phonearena.com/news/Android-7.0-devices-could-be-harder-to-root-wont-boot-at-all-if-the-software-is-corrupt_id83337. 
  52. "The Android 10 Privacy and Security Upgrades You Should Know About". Wired. ISSN 1059-1028. https://www.wired.com/story/android-10-privacy-security-features/. 
  53. Amadeo, Ron (2016-08-22). "Android 7.0 Nougat review—Do more on your gigantic smartphone". https://arstechnica.com/gadgets/2016/08/android-7-0-nougat-review-do-more-on-your-gigantic-smartphone/. 
  54. Bohn, Dieter (August 22, 2016). "Android 7.0 Nougat review: great, but does it matter?". Vox Media. https://www.theverge.com/2016/8/22/12578946/android-7-nougat-review-nexus. 
  55. Velazco, Chris (August 29, 2016). "Android 7.0 Nougat review: All about getting things done faster". AOL. https://www.engadget.com/2016/08/29/android-7-0-nougat-review/. 

External links