OTA update is another major function of recovery. OTA packages can be updated using the recovery user interface after entering the recovery mode manually. It can also be updated automatically after an update notification is received. In both cases, the path of the update package may be different, but the installation process is the same. In this section, we will look at the flow after the device received an OTA update notification. Then, we will look into the details of the installation process:
- After an OTA update notification is received by the device, main system downloads the OTA package to /cache/update.zip.
- Main system writes a --update_package=/cache/update.zip command to /cache/recovery/command.
- Main system reboots the ...