You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/modules/flavors.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,18 +42,22 @@ Alternatively, feel free to ask about your issue on the `#robotnix` IRC channel
42
42
## LineageOS
43
43
LineageOS is a free and open-source operating system for various devices, based on the Android mobile platform.
44
44
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.
46
50
47
51
Since LineageOS does not produce tagged releases like vanilla AOSP or GrapheneOS,
48
52
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`.
50
54
51
55
LineageOS support in robotnix should be considered "experimental," as it does yet have the same level of support provided for `vanilla` and `grapheneos` flavors.
52
56
LineageOS source metadata may be updated irregularly in robotnix, and certain modules (such as the updater) are not guaranteed to work.
53
57
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.
54
58
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.
55
59
Contributions and fixes from LineageOS users are especially welcome!
56
60
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.
58
62
The `boot.img` and `ota` targets can be built using `nix-build ... -A bootImg` or `nix-build ... -A ota`, respectively.
59
63
Check the upstream documentation for your particular device before following the above instructions.
0 commit comments