Operating System Upgrade via Automatic Partition Table Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing operating system upgrade methods require manual preparation of burning tools and are cumbersome, especially when adjusting partition architectures for significant upgrades, leading to user inconvenience.
Innovation Solution
An operating system upgrade method that utilizes a virtual A/B upgrade solution, allowing for automatic updating of the partition table without the need for a burning tool, by entering recovery mode, saving and updating the partition table, and restarting the device to implement the new partition architecture.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a burning tool is used to update the partition table, then the partition architecture can be adjusted for significant version upgrades, but the operation complexity and user inconvenience increase
Solution Approach 1:
The terminal device automatically updates its own partition table using the upgrade package, eliminating the need for external burning tools. The system performs self-upgrade by extracting partition table information from the upgrade package and applying it during the recovery mode process
Solution Approach 2:
The recovery mode serves as an intermediary state that enables partition table updates. By booting into recovery mode, the system creates a safe environment where the partition table can be modified without affecting the running operating system, thus simplifying the update process
2Reliability
If the partition table is updated manually, then the upgrade process can be controlled, but the time consumption and operational steps increase
Solution Approach 1:
The partition table information is prepared in advance within the upgrade package before the actual upgrade occurs. This preliminary preparation allows the system to directly apply the pre-configured partition table during recovery mode, eliminating manual configuration steps and reducing upgrade time while maintaining reliability
Solution Approach 2:
The manual mechanical process of using burning tools to update partition tables is replaced with an automated software-based process. The system uses script automation and recovery mode mechanisms to perform what previously required manual intervention, significantly reducing upgrade time while maintaining control
Data Source
AI summary
An operating system upgrade method and device, and a storage medium. The method includes: obtaining an operating system upgrade package that includes a second partition table and operating system upgrade data, where address configurations of partitions with a same name are consistent in the second partition table and a first partition table; triggering a first restart of the electronic device; updating a partition table of the electronic device to the second partition table in the recovery mode; triggering a second restart of the electronic device, where after the second restart, the electronic device loads data of a basic partition, a first static partition, and a dynamic partition to run the first operating system; and upgrading an operating system of the electronic device according to the operating system upgrade data, and upgrading the first operating system to a second operating system.


