Updating android phone
The update payload consists of the following: The post-install step (if any) is run.
In the case of an error during the execution of any step, the update fails and is re-attempted with possibly a different payload.
After a payload is available, the update process is as follows: .
The current slot is always marked as successful at the beginning of the update to prevent the bootloader from falling back to the unused slot, which will soon have invalid data.
To maintain a robust system, the update process should not modify the partition table, the contents of partitions in the current slot, or the contents of non-A/B partitions that can't be wiped with a factory reset.If all the steps so far have succeeded, the update succeeds and the last step is executed.Post-installation (described below) involves running a program from the "new update" version while still running in the old version.A/B system updates, also known as seamless updates, ensure a workable booting system remains on the disk during an over-the-air (OTA) update.This approach reduces the likelihood of an inactive device after an update, which means fewer device replacements and device reflashes at repair and warranty centers.