Read-Only System Image Update via Writable Partition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for updating system-level services in read-only system images are inefficient and risky, often requiring Over-The-Air (OTA) updates that can be slow and potentially render devices inoperable, and may compromise device integrity when rooting is involved.
Innovation Solution
Implementing a system and method that allows updates for system-level services to be executed from a writable partition, where digitally signed updates are verified and executed instead of the original services stored in the read-only system image, avoiding the need for OTA updates and maintaining device integrity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If OTA updates are used to update system-level services, then system services can be updated, but the update process is slow and may render the device inoperable
Solution Approach 1:
The system divides the update process into two independent parts: (1) downloading update packages OTA, and (2) installing them locally from a writable partition. This segmentation allows the update to be prepared remotely without risking device operability, while enabling fast local installation when conditions are safe.
Solution Approach 2:
The update package is downloaded and prepared in advance and stored in a writable partition before actual installation. This preliminary action allows the system to verify update integrity and safety conditions beforehand, enabling fast installation without re-downloading and reducing overall update time.
2Productivity
If developers update services via OTA updates, then services can be updated, but the process is inconvenient and slow
Solution Approach 1:
The system implements automatic update checking, downloading, and installation mechanisms. The mobile device automatically checks for updates, downloads them to a writable partition, and installs them without requiring user intervention, thereby improving both convenience and speed.
3Adaptability or versatility
If developers provide updates to rooted system images, then updates can be applied, but device integrity is compromised and carrier network connection may be prevented
Solution Approach 1:
The writable partition acts as an intermediary between the read-only system image and update content. Updates are stored and executed from this intermediate location rather than directly modifying the system image, thereby maintaining device integrity while enabling update capability.
Solution Approach 2:
Instead of modifying the original system image, the system creates and executes copies of updated services from a writable partition. This copying approach allows updates to be applied without altering the integrity of the original read-only system image, preventing carrier network connection issues.
4Reliability
If OTA updates involve reflashing the device, then system services can be updated, but the update process becomes inherently risky
Solution Approach 1:
The patent extracts the update execution process from the boot image and places it in a writable partition. This separation allows updates to be applied without reflashing the entire device, eliminating the inherent risks of reflashing while maintaining update efficiency through local execution.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A computer-implemented method for updating system-level services within read-only system images may include (1) executing, during initialization of a mobile computing device, an update service stored within a read-only system image located on the mobile computing device, (2) identifying, via the update service, a writable partition located on the mobile computing device, (3) identifying, via the update service, a digitally signed update within the writable partition for at least one system-level service stored within the read-only system image, and (4) executing, via the update service, the digitally signed update within the writable partition instead of the system-level service stored within the read-only system image. Various other methods, systems, and computer-readable media are also disclosed.