[Guide] Easily Build and Install LineageOS 17.1 with or without Gapps replacement

tvoneicken

Member
Oct 31, 2010
31
1
0
Thanks to @SolidHal and @anonym12, things are working pretty well so far for me!
One issue I have is that I end up with 2 camera apps: com.android.camera2 and org.lineageos.snap and both have the same icon :(. How can I get rid of or hide com.android.camera2 ?
 

michp

New member
Dec 27, 2019
3
1
0
Berlin
I am trying to build this on a Mac (the Docker way), but the build fails. This is what's in my log:

Code:
 [Sun Sep 20 19:55:07 UTC 2020] Starting build for sargo, lineage-17.1 branch
19:57:14 Could not create module-finder: finder encountered 5 errors: [/srv/src/LINEAGE_17_1/external/libese/libese/: lstat /srv/src/LINEAGE_17_1/external/libese/libese/: no such file or directory /srv/src/LINEAGE_17_1/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/AggressiveInstCombine: readdirent: input/output error /srv/src/LINEAGE_17_1/prebuilts/fuchsia_sdk/arch/x64/sysroot/include/bits/x86_64: readdirent: input/output error /srv/src/LINEAGE_17_1/prebuilts/clang/host/linux-x86/clang-r349610b/include/c++/v1: readdirent: input/output error /srv/src/LINEAGE_17_1/packages/apps/TV/tuner/src/com/android/tv/tuner/singletons: readdirent: input/output error]
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo sync has finished successfully.
Device sargo not found. Attempting to retrieve device repository from LineageOS Github ([url]as a new user I can not post a url so I removed this[/url]).
Found repository: android_device_google_sargo
Default revision: lineage-17.1
Checking branch info
Checking if device/google/sargo is fetched from android_device_google_sargo
LineageOS/android_device_google_sargo already fetched to device/google/sargo
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/google/sargo
Looking for dependencies in device/google/bonito
Looking for dependencies in kernel/google/msm-4.9
kernel/google/msm-4.9 has no additional dependencies.
Done


19:59:28 Could not create module-finder: finder encountered 5 errors: [/srv/src/LINEAGE_17_1/art/test/604-hot-static-interface/: lstat /srv/src/LINEAGE_17_1/art/test/604-hot-static-interface/: no such file or directory /srv/src/LINEAGE_17_1/packages/overlays/Lineage/accents/brown: readdirent: input/output error /srv/src/LINEAGE_17_1/kernel/google/msm-4.9/sound/pci/oxygen: readdirent: input/output error /srv/src/LINEAGE_17_1/prebuilts/fuchsia_sdk/arch/arm64/sysroot: readdirent: input/output error /srv/src/LINEAGE_17_1/prebuilts/maven_repo/android/com/android/support/design/24.1.0: readdirent: input/output error]
20:01:30 Could not create module-finder: finder encountered 3 errors: [/srv/src/LINEAGE_17_1/prebuilts/gradle-plugin/com/android/tools/build/gradle-api/2.0.0-beta6: readdirent: input/output error /srv/src/LINEAGE_17_1/prebuilts/go/linux-x86/src/cmd/go/testdata/script: readdirent: input/output error /srv/src/LINEAGE_17_1/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/: lstat /srv/src/LINEAGE_17_1/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/: no such file or directory]

** Don't have a product spec for: 'lineage_sargo'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
>> [Sun Sep 20 20:01:30 UTC 2020] Failed build for sargo
>> [Sun Sep 20 20:01:30 UTC 2020] Finishing build for sargo
Does anyone have any hints how to troubleshoot this? It took about 5hrs to do the syncing, so I'd love to avoid redoing that, but I have no clue where to best start fixing this...?
Any help appreciated!