The Android Virtual A/B system is called VAB for short, and I call it a virtual partition.
This series of articles is based on Android R (11) for analysis, unless otherwise specified, it is based on the code version android-11.0.0_r46
Friends who have purchased the "Android Virtual Partition" column, please add me wx to the "Virtual Partition Column VIP Q&A" group, as an additional service of this column, to answer your questions about virtual partitions.
0. Introduction
This series is called Detailed Explanation of Virtual Partitions, and I have written three articles so far:
- "Detailed Explanation of Android Virtual Partition (1) Recommended Reference Materials"
- "Detailed Explanation of Android Virtual Partition (2) Virtual Partition Layout"
- "Detailed Explanation of Android Virtual Partition (3) Partition Status Change"
And the principle of the underlying linux snapshot snapshot of the virtual partition: