1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Add informtaion about 'clean' and 'dirty' flashing. See #404

This commit is contained in:
Pete Fotheringham 2023-08-16 12:00:48 +01:00
parent 6fda0c9e3d
commit 847a90a3c2

@ -42,6 +42,21 @@ Docker will produce two files in the `zips` directory:
Follow the LineageOS installation instructions for your device, which can be accessed from the [LineageOS Devices wiki pages](https://wiki.lineageos.org/devices/). If the LineageOS installation instructions refer to any `.img` files, these images can be obtained by unzipping the `-img.zip` file mentioned in the previous section.
### 'Clean' and 'dirty' flashing
A 'clean' flash is when the data partition is wiped and/or formatted before the ROM is installed. This will remove all user-installed apps and data. It is sometimes referred to as a 'fresh installation'.
A 'dirty flash' is when the data partition ***is not*** wiped and/or formatted before the ROM is installed. Normally this will result in all user-installed apps and data still being present after the intallation.
Newer versions of the LineageOS for MicroG ROM can usually be 'dirty flashed' over older versions ***with the same Android version***.
Dirty flashing is sometimes possible over
- older versions of the LineageOS for MicroG ROM ***with an earlier** Android version***;
- the official LineageOS ROM (without microG)
In both these cases, problems may be encountered with app permissions, bith for user-installed apps and for the pre-installed apps. These problems can sometimes be fixed by manullay changing the app permissions.
If you are 'dirty' flashing, it is a good idea to backup your user-installed apps and data in case the 'dirty' flash fails.
## How can I build LineageOS?