Android 8.0s streaming OS updates will work even if your phone is full

Google logoWe've probably all had this happen at one point or another: it's time for an OS update, and your phone wants to download a ~1GB brick of an update file. On Android, normally this gets downloaded to the user storage partition and flashed to the system partition. But waitif your phone is full of pictures, or videos, or apps, there may not be enough space to store the update file. In such circumstances, the update fails, and the user is told to "free up some space." According to the latest source.android.com documentation, Google has cooked up a scheme to make sure that an "insufficient space" error will never stop an update again.

Where the heck can Google store the update if your phone is full, though? If you remember in Android 7.0, Google introduced a new feature called "Seamless Updates." This setup introduced a dual system partition schemea "System A" and "System B" partition. The idea is that, when it comes time to install an update, you can normally use your phone on the online "System A" partition while an update is being applied to the offline "System B" partition in the background. Rather than the many minutes of downtime that would normally occur from an update, all that was needed to apply the update was a quick reboot. At that point, the device would just switch from partition A to the newly updated partition B.

Android 8.0s streaming OS updates will work even if your phone is full

When you get that "out of space" error message during an update, you're only "out of space" on the user storage partition, which is just being used as a temporary download spot before the update is applied to the system partition. Starting with Android 8.0, the A/B system partition setup is being upgraded with a "streaming updates" feature. Update data will arrive from the Internet directly to the offline system partition, written block by block, in a ready-to-boot state. Instead of needing ~1GB of free space, Google will be bypassing user storage almost entirely, needing only ~100KB worth of free space for some metadata.

Streaming updates is a new feature built into Android 8.0, but, oddly, the docs say Google is also backporting the feature to Google Play Services. That will enable this feature on "Android 7.0 and later" devices with a dual system partition setup. To the best of my knowledge, only the Google Pixel has an A/B partition setup, and devices are never "upgraded" to an A/B setup via an update (repartitioning is too scary). So, why backport streaming updates to Play Services when all the Pixels will be running Android 8.0 soon anyway?

My only guess is that maybe Google wants to roll this out to Play Services along with the 8.0 update so Pixel owners won't have to worry about free space when they upgrade to 8.0. I don't see any references to this feature in the current version of Play Services, and filling a Pixel to the max and trying to update it to the 8.0 developer preview didn't work, so I don't think this is live in Play Services yet.

Since streaming updates are attached to the A/B update system, it's an optional system that OEMs can choose to implement or choose to ignore. Android OEMs are infamous for not following Google's best practices, and so far the uptake for the A/B partition system outside of Google's in-house devices has been non-existent. For now, it seems like this is yet another feature that will be exclusive to the Pixels.

Source: Ars Technica

Tags: Android 8, Google, OSes

Comments
Add comment

Your name:
Sign in with:
or
Your comment:


Enter code:

E-mail (not required)
E-mail will not be disclosed to the third party


Last news

 
This number is expected to rise and will hit 20 million in 2018
 
The iPhone 7 and 7 Plus take the number one and two spots in terms of global smartphone shipments
 
Google has been conducting tests with some users
 
The company wants to see what desktop users think about it
 
The ZenFone 4 Series currently includes two models: ZenFone 4 Pro and ZenFone 4.
 
Its being called a 'cop button'
 
A company called Keyssa is working on a new tech standard for wireless transfers, called Kiss
 
The Samsung Galaxy A5 (2017) Review
The evolution of the successful smartphone, now with a waterproof body and USB Type-C
February 7, 2017 /
Samsung Galaxy TabPro S - a tablet with the Windows-keyboard
The first Windows-tablet with the 12-inch display Super AMOLED
June 7, 2016 /
Keyboards for iOS
Ten iOS keyboards review
July 18, 2015 /
Samsung E1200 Mobile Phone Review
A cheap phone with a good screen
March 8, 2015 / 4
Creative Sound Blaster Z sound card review
Good sound for those who are not satisfied with the onboard solution
September 25, 2014 / 2
Samsung Galaxy Gear: Smartwatch at High Price
The first smartwatch from Samsung - almost a smartphone with a small body
December 19, 2013 /
 
 

News Archive

 
 
SuMoTuWeThFrSa
  12345
6789101112
13141516171819
20212223242526
2728293031  




Poll

Do you use microSD card with your phone?
or leave your own version in comments (4)