Android Nougat Source Code For Pixel Phones Reveals Dual Partition Setup, Dual Booting, Seamless Custom ROM Updates

Android Nougat

When Google announced Android Nougat, one of the interesting features revealed is seamless updates. The purpose of this is to change how updates are delivered and installed, as many users neglect to bother checking for updates. Unfortunately, seamless updates would only be present on new devices that ship with Android Nougat. This caused disappointment in many users as old devices that will received Android Nougat through update will not have seamless update enabled (sorry Nexus users). Although we have some basic idea on how it works (which you can read here), more details have emerged now.

XDA-Developers member and Team Win Recovery Project lead Ethan Yonker dug into some Android Nougat source code, which revealed inner workings of Nougat’s seamless update. The source code belongs to Google’s upcoming Pixel phones and it reveals some interesting changes made to the partition layout. Basically, “Pixel phones will have 2 system partitions, 2 boot partitions, 2 vendor partitions, 2 modem partitions, etc.”.

In previous Android version, user have to sit through several minutes of watching the Android recovery logo during an update. This is to prevent any potential issues from the Android operating system attempting to access a file that is currently being updated. However, starting from Android Nougat, the update process works differently. When it is time for an update, the secondary system partition is updated, and the next time you reboot it will become primary while the other becomes secondary. This means no more staring at the Android recovery logo for end users and

When an update is published, the update will be applied to the second set in the background. Once the update has been applied, a prompt will appear asking to reboot. The reboot will not include booting to recovery. Instead, the device will switch which set of partitions are used to the second set and you will quickly, perhaps nearly instantly, boot an updated device.

– Ethan Yonker

If you wonder how it helps dual booting, then here is the answer. According to Ethan, ROM developers can theoretically hijack the second set of partitions to dual-boot. Previously, dual booting is risky and works only on few selected devices. However, with a second set of partitions to work with, we may be able to get dual-boot running on the Pixel phones with some cooperation between various members of the ROM community. In addition, custom ROM developers can also be able to implement seamless updates as well.

Of course the whole scenario is currently theoretical and is based on the source code of Android Nougat for Google’s Pixel phones. In practice there could be various roadblocks in using both partition in the devices. Ethan further adds that while looking into the source code, he also found lot of changes that complicate development on upcoming Pixel devices.

We may know more details in the coming days as ROM developers will be all over the source code and even more when we get some native Nougat hardware.

Source

Raja Rajan Avatar

Help Us Grow

If you like this post, please share it with your friends.

You are free to copy and redistribute this article in any medium or format, as long as you keep the links in the article or provide a link back to this page.

Subscribe to Newsletter




Privacy Settings

Privacy & Cookie Overview

Our website uses cookies to provide you with the best user experience possible. These cookies are stored in your browser and perform essential functions such as recognizing you when you return to our website, as well as helping us to understand which sections of the website you find most useful and engaging.

To learn more, you can read our Privacy & Cookie Policy or reach out through our Contact form.

Strictly Necessary Cookies

Strictly Necessary Cookies must always be enabled to ensure the proper functioning of this website and to allow us to provide you with excellent service. These cookies are also essential for saving your cookie preferences.

Google Adsense

We use Google AdSense to keep this site free by displaying relevant ads. AdSense requires essential cookies that cannot be disabled, but you can manage other cookies. We respect your privacy and provide options to control non-essential cookies.

For more details on how Google handles your data, visit Google's Data Usage Policy. Please review our Privacy Policy for more information on how we protect your data.

AddToAny

We use AddToAny for social sharing. It doesn’t store cookies, ensuring a privacy-friendly experience. AddToAny complies with GDPR and CCPA by default.

For more, see their Privacy Policy.

OneSignal

We use OneSignal to send notifications to users who opt in. OneSignal complies with GDPR and is certified under the EU-US and Swiss-US Privacy Shield frameworks.

For more, see their Privacy Policy.

3rd Party Cookies

This website utilizes third-party cookies, which can enhance your experience and support our ongoing efforts to improve our services.

Google Analytics

We use Google Analytics to collect anonymous data, such as visitor numbers and popular pages, to improve user experience and site performance. Keeping this cookie enabled helps us refine the site based on visitor activity.

For more information, see Google’s Privacy Policy.

Discover more from Prime Inspiration

Subscribe now to keep reading and get access to the full archive.

Continue reading