Skip to content

Commit b65f0e4

Browse files
committed
lineageos: update docs for LineageOS 18.1
1 parent c47f61c commit b65f0e4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/src/modules/flavors.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,22 @@ Alternatively, feel free to ask about your issue on the `#robotnix` IRC channel
4242
## LineageOS
4343
LineageOS is a free and open-source operating system for various devices, based on the Android mobile platform.
4444
LineageOS support may be enabled by setting `flavor = "lineageos";`.
45-
At the time of writing, this includes support for ~150 devices.
45+
At the time of writing, this includes support for ~160 devices.
46+
47+
Robotnix includes support for both LineageOS 17.1 as well as LineaegOS 18.1.
48+
By default, robotnix will select the latest supported version for the device specified in the configuration.
49+
This can be overridden by setting `androidVersion` to either 10 or 11, for LineageOS 17.1 and 18.1, respectively.
4650

4751
Since LineageOS does not produce tagged releases like vanilla AOSP or GrapheneOS,
4852
we periodically take snapshots of the upstream repositories and include metadata in robotnix which pins the source repositories to particular revisions.
49-
This metadata can be found under `flavors/lineageos/*.json`.
53+
This metadata can be found under `flavors/lineageos/*/*.json`.
5054

5155
LineageOS support in robotnix should be considered "experimental," as it does yet have the same level of support provided for `vanilla` and `grapheneos` flavors.
5256
LineageOS source metadata may be updated irregularly in robotnix, and certain modules (such as the updater) are not guaranteed to work.
5357
Moreover, LineageOS does not appear to provide the same level of security as even the vanilla flavor, with dm-verity/AVB, `userdebug` as the default variant, and vendor files with unclear origin.
5458
LineageOS support is still valuable to include as it extends support to a much wider variety of devices, and provides the base that many other Android ROMs use to customize.
5559
Contributions and fixes from LineageOS users are especially welcome!
5660

57-
For devices with "boot-as-recovery", the typical LineageOS flashing process involves first producing a `boot.img` and `ota`, flashing `boot.img` with fastboot, and then flashing the `ota` in recovery mode.
61+
For devices with "boot-as-recovery", the typical LineageOS flashing process involves first producing a `boot.img` and `ota`, flashing `boot.img` with fastboot, and then sideloading the `ota` in recovery mode.
5862
The `boot.img` and `ota` targets can be built using `nix-build ... -A bootImg` or `nix-build ... -A ota`, respectively.
5963
Check the upstream documentation for your particular device before following the above instructions.

0 commit comments

Comments
 (0)