How to build with camera fix (warning : time-consuming method !) :
- start a normal Docker build as instructed in my first post
- once successfully terminated, delete everything from “logs” and “zips” folder (you may want to try this build, be aware that the camera won’t work)
- apply all changes from https://review.arrowos.net/q/topic:"perseus-hax"+(status:open%20OR%20status:merged) in your source tree (see below for hints)
- start the Docker build again
- enjoy
Hints :
- qva is in src/Q/device/qcom/sepolicy/
- dynamic & vendor are in src/Q/device/lineage/sepolicy/
- repo or git commands will not override your changes, nor synchronize other files anymore; thus I recommend to start over with a clean src tree for each new build
They are more efficient (in matter of time) ways to build this ROM, but I found the Docker way much more easier for others to reproduce