• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Need help building a SM-T355 (gt58lte) LineageOS ROM

Search This thread

user655362020

Member
Sep 5, 2020
16
0
Hello,

I am a noob. I am trying to build LineageOS 18.1 for gt58ltedo.

Repositories :

Manifest :

Device Tree :

lineage-18.1-gt58lte branch :

Kernel :

Vendor Blobs :
 
Last edited:

retiredtab

Senior Member
Nov 16, 2017
828
401

retiredtab

Senior Member
Nov 16, 2017
828
401
BTW, in your first build, you will likely face stuck at boot animation problems. I highly suggest you build an "eng" build when you do a brunch or make. That way, the OS will start adbd right away and you can run

Code:
adb logcat -C

right away to see log messages.

I run

Code:
TARGET_BUILD_TYPE=debug TARGET_BUILD_VARIANT=eng make -j2 bacon

I explain more in this thread. I helped someone who has never built LineageOS before. A lot of the questions you may have might be answered there are already so please give that a read.

https://forum.xda-developers.com/t/need-help-building-a-sm-t555-gt510lte-lineageos-rom.4255243/

In addition, the SM-T555 is the bigger brother to SM-T355 so you might be able to use code or look at his code for clues as the two should be very similar.
 

user655362020

Member
Sep 5, 2020
16
0
If you are going to use my roomservice.xml, upload that to your github as well so I can see what you are doing. Obviously, you will have to change some things that are gt58wifi specific to gt58ltedo.
Uploading it as attachment. I intend to change the account of repositories. I'll upload manifest to a repo after that.
If you are going to use my roomservice.xml, upload that to your github as well so I can see what you are doing. Obviously, you will have to change some things that are gt58wifi specific to gt58ltedo.
I modified the 1st post to include link for the roomservice.xml.
 

user655362020

Member
Sep 5, 2020
16
0
BTW, in your first build, you will likely face stuck at boot animation problems. I highly suggest you build an "eng" build when you do a brunch or make. That way, the OS will start adbd right away and you can run

Code:
adb logcat -C

right away to see log messages.

I run

Code:
TARGET_BUILD_TYPE=debug TARGET_BUILD_VARIANT=eng make -j2 bacon

I explain more in this thread. I helped someone who has never built LineageOS before. A lot of the questions you may have might be answered there are already so please give that a read.

https://forum.xda-developers.com/t/need-help-building-a-sm-t555-gt510lte-lineageos-rom.4255243/

In addition, the SM-T555 is the bigger brother to SM-T355 so you might be able to use code or look at his code for clues as the two should be very similar.
The debugging tips from that thread will be super useful. Plus a similar device that has RIL will be helpful too. Thanks.
 

user655362020

Member
Sep 5, 2020
16
0
If you are going to use my roomservice.xml, upload that to your github as well so I can see what you are doing. Obviously, you will have to change some things that are gt58wifi specific to gt58ltedo.
There is no /media/source/lineageos/out/soong/.temp/tmpjgPF4J/content/apex_payload.img. Any ideas ?

Code:
[ 95% 800/839] //art/build/apex:com.android.runtime.release apex (image)
FAILED: out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/com.android.runtime.release.apex.unsigned
rm -rf out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex && (mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/adbconnection/libadbconnection/android_arm_armv8-a_core_shared_com.android.runtime.release/libadbconnection.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libadbconnection.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/build/apex/art_postinstall_hook/android_arm_armv8-a/art_postinstall_hook out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/art_postinstall_hook && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/build/apex/art_preinstall_hook/android_arm_armv8-a/art_preinstall_hook out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/art_preinstall_hook && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/build/apex/art_preinstall_hook_boot/android_arm_armv8-a/art_preinstall_hook_boot out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/art_preinstall_hook_boot && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/build/apex/art_preinstall_hook_system_server/android_arm_armv8-a/art_preinstall_hook_system_server out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/art_preinstall_hook_system_server && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/build/apex/art_prepostinstall_utils/android_arm_armv8-a/art_prepostinstall_utils out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/art_prepostinstall_utils && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc && cp out/soong/.intermediates/art/build/apex/com.android.runtime.ld.config.txt/android_arm_armv8-a_core/ld.config.txt out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/ld.config.txt && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/compiler/libart-compiler/android_arm_armv8-a_core_shared_com.android.runtime.release/libart-compiler.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libart-compiler.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/dalvikvm/dalvikvm/android_arm_armv8-a_core_com.android.runtime.release/dalvikvm32 out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dalvikvm32 && ln -s dalvikvm32 out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dalvikvm && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/dex2oat/dex2oat/android_arm_armv8-a_core_com.android.runtime.release/dex2oat out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dex2oat && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/dexlayout/libart-dexlayout/android_arm_armv8-a_core_shared_com.android.runtime.release/libart-dexlayout.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libart-dexlayout.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/dexlist/dexlist/android_arm_armv8-a_core_com.android.runtime.release/dexlist out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dexlist && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/dexoptanalyzer/dexoptanalyzer/android_arm_armv8-a_core_com.android.runtime.release/dexoptanalyzer out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dexoptanalyzer && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/disassembler/libart-disassembler/android_arm_armv8-a_core_shared_com.android.runtime.release/libart-disassembler.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libart-disassembler.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/dt_fd_forward/libdt_fd_forward/android_arm_armv8-a_core_shared_com.android.runtime.release/libdt_fd_forward.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libdt_fd_forward.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libartbase/libartbase/android_arm_armv8-a_core_shared_com.android.runtime.release/libartbase.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libartbase.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libartpalette/libartpalette/android_arm_armv8-a_core_shared_com.android.runtime.release/libartpalette.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libartpalette.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libdexfile/libdexfile/android_arm_armv8-a_core_shared_com.android.runtime.release/libdexfile.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libdexfile.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libdexfile/libdexfile_external/android_arm_armv8-a_core_shared_com.android.runtime.release/libdexfile_external.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libdexfile_external.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libdexfile/libdexfile_support/android_arm_armv8-a_core_shared_com.android.runtime.release/libdexfile_support.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libdexfile_support.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/libprofile/libprofile/android_arm_armv8-a_core_shared_com.android.runtime.release/libprofile.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libprofile.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/oatdump/oatdump/android_arm_armv8-a_core_com.android.runtime.release/oatdump out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/oatdump && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/openjdkjvm/libopenjdkjvm/android_arm_armv8-a_core_shared_com.android.runtime.release/libopenjdkjvm.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libopenjdkjvm.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/openjdkjvmti/libopenjdkjvmti/android_arm_armv8-a_core_shared_com.android.runtime.release/libopenjdkjvmti.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libopenjdkjvmti.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/art/profman/profman/android_arm_armv8-a_core_com.android.runtime.release/profman out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/profman && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/runtime/libart/android_arm_armv8-a_core_shared_com.android.runtime.release/libart.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libart.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/art/sigchainlib/libsigchain/android_arm_armv8-a_core_shared_com.android.runtime.release/libsigchain.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libsigchain.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic && cp out/soong/.intermediates/bionic/libc/libc/android_arm_armv8-a_core_shared_com.android.runtime.release/libc.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libc.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/bionic/libc/malloc_debug/libc_malloc_debug/android_arm_armv8-a_core_shared_com.android.runtime.release/libc_malloc_debug.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libc_malloc_debug.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/bionic/libc/malloc_hooks/libc_malloc_hooks/android_arm_armv8-a_core_shared_com.android.runtime.release/libc_malloc_hooks.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libc_malloc_hooks.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic && cp out/soong/.intermediates/bionic/libdl/libdl/android_arm_armv8-a_core_shared_com.android.runtime.release/libdl.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libdl.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic && cp out/soong/.intermediates/bionic/libm/libm/android_arm_armv8-a_core_shared_com.android.runtime.release/libm.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libm.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/bionic/linker/linker/android_arm_armv8-a_core_com.android.runtime.release/linker out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/linker && ln -s linker out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/linker_asan && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin && cp out/soong/.intermediates/dalvik/dexdump/dexdump/android_arm_armv8-a_core_com.android.runtime.release/dexdump out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/bin/dexdump && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib && cp out/soong/.intermediates/external/apache-xml/apache-xml/android_common/dex-withres-aligned/apache-xml.jar out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib/apache-xml.jar && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/boringssl/libcrypto/android_arm_armv8-a_core_shared_com.android.runtime.release/libcrypto.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libcrypto.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib && cp out/soong/.intermediates/external/bouncycastle/bouncycastle/android_common/hiddenapi/bouncycastle.jar out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib/bouncycastle.jar && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/chromium-libpac/libpac/android_arm_armv8-a_core_shared_com.android.runtime.release/libpac.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libpac.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/expat/libexpat/android_arm_armv8-a_core_shared_com.android.runtime.release/libexpat.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libexpat.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/icu/icu4c/source/common/libicuuc/android_arm_armv8-a_core_shared_com.android.runtime.release/libicuuc.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libicuuc.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/icu/icu4c/source/i18n/libicui18n/android_arm_armv8-a_core_shared_com.android.runtime.release/libicui18n.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libicui18n.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/icu && cp out/soong/.intermediates/external/icu/icu4c/source/stubdata/apex_icu.dat/android_arm_armv8-a_core/icudt63l.dat out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/icu/icudt63l.dat && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/icu/libandroidicu/libandroidicu/android_arm_armv8-a_core_shared_com.android.runtime.release/libandroidicu.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libandroidicu.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/libcxx/libc++/android_arm_armv8-a_core_shared_com.android.runtime.release/libc++.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libc++.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/lzma/C/liblzma/android_arm_armv8-a_core_shared_com.android.runtime.release/liblzma.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/liblzma.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/oj-libjdwp/libdt_socket/android_arm_armv8-a_core_shared_com.android.runtime.release/libdt_socket.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libdt_socket.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/oj-libjdwp/libjdwp/android_arm_armv8-a_core_shared_com.android.runtime.release/libjdwp.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libjdwp.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/oj-libjdwp/libnpt/android_arm_armv8-a_core_shared_com.android.runtime.release/libnpt.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libnpt.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib && cp out/soong/.intermediates/external/okhttp/okhttp/android_common/hiddenapi/okhttp.jar out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib/okhttp.jar && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/vixl/libvixl/android_arm_armv8-a_core_shared_com.android.runtime.release/libvixl.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libvixl.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/external/zlib/libz/android_arm_armv8-a_core_shared_com.android.runtime.release/libz.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libz.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib && cp out/soong/.intermediates/libcore/core-libart/android_common/dex-withres-aligned/core-libart.jar out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib/core-libart.jar && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib && cp out/soong/.intermediates/libcore/core-oj/android_common/dex-withres-aligned/core-oj.jar out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/javalib/core-oj.jar && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/libcore/libandroidio/android_arm_armv8-a_core_shared_com.android.runtime.release/libandroidio.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libandroidio.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/libcore/libjavacore/android_arm_armv8-a_core_shared_com.android.runtime.release/libjavacore.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libjavacore.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/libcore/libopenjdk/android_arm_armv8-a_core_shared_com.android.runtime.release/libopenjdk.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libopenjdk.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/libnativehelper/libnativehelper/android_arm_armv8-a_core_shared_com.android.runtime.release/libnativehelper.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libnativehelper.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/base/libbase/android_arm_armv8-a_core_shared_com.android.runtime.release/libbase.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libbase.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/libbacktrace/libbacktrace/android_arm_armv8-a_core_shared_com.android.runtime.release/libbacktrace.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libbacktrace.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/libnativebridge/libnativebridge/android_arm_armv8-a_core_shared_com.android.runtime.release/libnativebridge.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libnativebridge.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/libnativeloader/libnativeloader/android_arm_armv8-a_core_shared_com.android.runtime.release/libnativeloader.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libnativeloader.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/libunwindstack/libunwindstack/android_arm_armv8-a_core_shared_com.android.runtime.release/libunwindstack.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libunwindstack.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib && cp out/soong/.intermediates/system/core/libziparchive/libziparchive/android_arm_armv8-a_core_shared_com.android.runtime.release/libziparchive.so out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/libziparchive.so && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz && cp out/soong/.intermediates/system/timezone/output_data/apex_tz_version/android_arm_armv8-a_core/tz_version out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz/tz_version && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz && cp out/soong/.intermediates/system/timezone/output_data/apex_tzdata/android_arm_armv8-a_core/tzdata out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz/tzdata && mkdir -p out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz && cp out/soong/.intermediates/system/timezone/output_data/apex_tzlookup.xml/android_arm_armv8-a_core/tzlookup.xml out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/etc/tz/tzlookup.xml) && APEXER_TOOL_PATH=out/soong/host/linux-x86/bin:prebuilts/sdk/tools/linux/bin out/soong/host/linux-x86/bin/apexer --force --manifest art/build/apex/manifest.json --file_contexts system/sepolicy/apex/com.android.runtime.release-file_contexts --canned_fs_config out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/canned_fs_config --payload_type image --key art/build/apex/com.android.runtime.pem --pubkey art/build/apex/com.android.runtime.avbpubkey --target_sdk_version 29 --assets_dir out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/NOTICE out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/com.android.runtime.release.apex.unsigned
Traceback (most recent call last):
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/runpy.py", line 72, in _run_code
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/__main__.py", line 12, in <module>
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/runpy.py", line 72, in _run_code
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 4419, in <module>
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 4254, in run
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 4344, in add_hashtree_footer
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 3385, in add_hashtree_footer
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 2797, in _generate_vbmeta_blob
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 405, in encode_rsa_key
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/avbtool.py", line 367, in __init__
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/subprocess.py", line 394, in __init__
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/subprocess.py", line 1047, in _execute_child
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/internal/stdlib/runpy.py", line 72, in _run_code
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/__main__.py", line 12, in <module>
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/internal/stdlib/runpy.py", line 174, in _run_module_as_main
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/internal/stdlib/runpy.py", line 72, in _run_code
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/apexer.py", line 427, in <module>
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/apexer.py", line 420, in main
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/apexer.py", line 305, in CreateApex
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/apexer.py", line 107, in RunCommand
AssertionError: Failed to execute: out/soong/host/linux-x86/bin/avbtool add_hashtree_footer --do_not_generate_fec --algorithm SHA256_RSA4096 --key art/build/apex/com.android.runtime.pem --prop apex.key:com.android.runtime --salt e3980a7e51b32d0673a26fd105adf0ca55d783b39739c21439499b713829e8b9 --image /media/source/lineageos/out/soong/.temp/tmpjgPF4J/content/apex_payload.img
[ 95% 804/839] Building Kernel Config
make: Entering directory '/media/source/lineageos/kernel/samsung/msm8916'
  GEN     /media/source/lineageos/out/target/product/gt58ltedo/obj/KERNEL_OBJ/Makefile
arch/arm/Kconfig:1666:warning: choice value used outside its choice group
arch/arm/Kconfig:1672:warning: choice value used outside its choice group
arch/arm/Kconfig:1675:warning: choice value used outside its choice group
arch/arm/Kconfig:1681:warning: choice value used outside its choice group
drivers/misc/Kconfig:777:warning: choice value used outside its choice group
drivers/misc/Kconfig:779:warning: choice value used outside its choice group
drivers/misc/Kconfig:787:warning: choice value used outside its choice group
drivers/misc/Kconfig:790:warning: choice value used outside its choice group
drivers/misc/Kconfig:792:warning: choice value used outside its choice group
arch/arm/configs/msm8916_sec_defconfig:94:warning: override: reassigning to symbol IP_MULTICAST
arch/arm/configs/msm8916_sec_defconfig:226:warning: override: reassigning to symbol NET_EMATCH
arch/arm/configs/msm8916_sec_defconfig:573:warning: override: reassigning to symbol INPUT_MISC
arch/arm/configs/msm8916_sec_defconfig:574:warning: override: reassigning to symbol INPUT_GPIO
arch/arm/configs/msm8916_sec_defconfig:731:warning: unexpected data
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8909 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
arch/arm/configs/selinux_defconfig:4:warning: override: reassigning to symbol EXT4_FS_SECURITY
arch/arm/configs/selinux_defconfig:5:warning: override: reassigning to symbol AUDIT
arch/arm/configs/selinux_defconfig:7:warning: override: reassigning to symbol SECURITY
arch/arm/configs/selinux_defconfig:8:warning: override: reassigning to symbol LSM_MMAP_MIN_ADDR
arch/arm/configs/selinux_defconfig:9:warning: override: reassigning to symbol SECURITY_NETWORK
arch/arm/configs/selinux_defconfig:13:warning: symbol value 'y' invalid for SECURITY_SELINUX_CHECKREQPROT_VALUE
arch/arm/configs/selinux_defconfig:15:warning: override: reassigning to symbol NF_CONNTRACK_SECMARK
arch/arm/configs/selinux_defconfig:16:warning: override: reassigning to symbol NETFILTER_XT_TARGET_CONNSECMARK
arch/arm/configs/selinux_defconfig:18:warning: override: reassigning to symbol IP_NF_SECURITY
arch/arm/configs/msm8916_sec_gt58lte_aus_defconfig:17:warning: override: reassigning to symbol USB_HOST_NOTIFY
arch/arm/configs/msm8916_sec_gt58lte_aus_defconfig:65:warning: override: reassigning to symbol SENSORS
arch/arm/configs/msm8916_sec_gt58lte_aus_defconfig:85:warning: override: reassigning to symbol MSM_EEPROM
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8909 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
KCONFIG_SELINUX(arch/arm/configs/selinux_defconfig)
KCONFIG_LOG_SELINUX((null))
KCONFIG_DMVERITY((null))
KCONFIG_VARIANT(arch/arm/configs/msm8916_sec_gt58lte_aus_defconfig)
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make: Leaving directory '/media/source/lineageos/kernel/samsung/msm8916'
make: Entering directory '/media/source/lineageos/kernel/samsung/msm8916'
  GEN     /media/source/lineageos/out/target/product/gt58ltedo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
arch/arm/Kconfig:1666:warning: choice value used outside its choice group
arch/arm/Kconfig:1672:warning: choice value used outside its choice group
arch/arm/Kconfig:1675:warning: choice value used outside its choice group
arch/arm/Kconfig:1681:warning: choice value used outside its choice group
drivers/misc/Kconfig:777:warning: choice value used outside its choice group
drivers/misc/Kconfig:779:warning: choice value used outside its choice group
drivers/misc/Kconfig:787:warning: choice value used outside its choice group
drivers/misc/Kconfig:790:warning: choice value used outside its choice group
drivers/misc/Kconfig:792:warning: choice value used outside its choice group
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8909 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8909 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
make: Leaving directory '/media/source/lineageos/kernel/samsung/msm8916'
11:16:56 ninja failed with: exit status 1

#### failed to build some targets (06:40 (mm:ss)) ####
 
Last edited:

retiredtab

Senior Member
Nov 16, 2017
828
401
There is no /media/source/lineageos/out/soong/.temp/tmpjgPF4J/content/apex_payload.img. Any ideas ?

Code:
[ 95% 800/839] //art/build/apex:com.android.runtime.release apex (image)
FAILED:
Traceback (most recent call last):
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/avbtool/internal/stdlib/runpy.py", line 174, in _run_module_as_main
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/media/source/lineageos/out/soong/host/linux-x86/bin/apexer/internal/stdlib/runpy.py", line 174, in _run_module_as_main
#### failed to build some targets (06:40 (mm:ss)) ####
There's something strange with the above. On my 17.1 gt58wifi build, my directory shows

Code:
[email protected]:/media/l/gt58wifi/17/out/soong/host/linux-x86/bin$ ls -al avbtool 
-rwxrwxr-x 1 l l 28148198 Apr 12 00:02 avbtool
$ file avbtool 
avbtool: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, with debug_info, not stripped
$ file apexer 
apexer: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, with debug_info, not stripped

whereas your shows avbtool and apexer has a directory.
 

retiredtab

Senior Member
Nov 16, 2017
828
401
I'm wondering if your manifest.xml is somehow messing up the make? I suggest removing lines 4 to 20, doing a complete repo sync and a make clean (start over) and then your brunch or make command.
 

retiredtab

Senior Member
Nov 16, 2017
828
401
I used the crdroid-9.0 branch to create the device tree. Do you still use the crdroid-9.0 branch ?
When I made 17.1 or Android 10, I used the crdroid-9.0 branch beause at that time there was no 10.0 branch and when there was, too many things got moved around so I stuck with 9.0. Either 9.0 or 10.0 is fine as long as you know how to change and move things around.
 

user655362020

Member
Sep 5, 2020
16
0
What desktop OS are you using? If linux, what distro? If Windows, are you using WSL version 2?
Bare-metal Fedora 34
I'm wondering if your manifest.xml is somehow messing up the make? I suggest removing lines 4 to 20, doing a complete repo sync and a make clean (start over) and then your brunch or make command.
I did that. It still fails at the same step.

There were a few more warnings (?) in both builds :

Code:
[ 53% 353/660] Target boot image: out/target/product/gt58ltedo/boot.img
patch boot out/target/product/gt58ltedo/boot.img out/target/product/gt58ltedo/boot.img.lok
cp: bad 'out/target/product/gt58ltedo/boot.img.lok': No such file or directory
Made boot image: out/target/product/gt58ltedo/boot.img
[ 55% 366/660] ----- Making recovery image ------
patch recovery out/target/product/gt58ltedo/recovery.img out/target/product/gt58ltedo/recovery.img.lok
cp: bad 'out/target/product/gt58ltedo/recovery.img.lok': No such file or directory
Made recovery image: out/target/product/gt58ltedo/recovery.img
whereas your shows avbtool and apexer has a directory.
Actually python trace shows where in the source file the error occured. I too have avbtool and apexer in out/soong/host/linux-x86/bin directory as single file.

I tried enabling dm-verity in kernel config (required by apex image according to
https://source.android.com/devices/tech/ota/apex#required_kernel_configuration_options). It still fails.
 

user655362020

Member
Sep 5, 2020
16
0
Maybe Relevant

Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20210801-UNOFFICIAL-gt58ltedo
TARGET_PRODUCT=lineage_gt58ltedo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.13.4-200.fc34.x86_64-x86_64-Fedora-34-(KDE-Plasma)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8916
============================================
 

retiredtab

Senior Member
Nov 16, 2017
828
401
=== apex_payload.img ===

So I cloned my 17.1 gt58wifi mechnical hard drive (250GB) to another drive using dd. Then, I took your roomservice.xml, did a repo sync to your directories as per roomservice and compiled the rom.

Code:
Package Complete: out/target/product/gt58ltedo/lineage-17.1-20210801-UNOFFICIAL-gt58ltedo.zip
#### build completed successfully (01:30:21 (hh:mm:ss)) ####

The reason I cloned my gt58wifi is so I don't have to recompile 80,000 files from scratch as a brand new make takes around 9.5 hours. The gt58wifi and gt58ltedo share similar code and libraries so I'm able to save 8 hours of compiling.

When I switched to your roomservice.xml, it had to recompile about 17,000s and took 1.5 hours as shown above. At this point, I'm not willing
to do a make clean which means my machine will be compiling for 9.5 hours.

I highly doubt the image produced will boot into OS since it's your first draft of all the code, but it completed without any apex_payload.img errors.

However, by default, LineageOS builds a recovery.img (similar to TWRP, but with less functionality and UI is different). That file is only 11MB
and if you want, I can send you this file and you can try loading onto your recovery partition. If it doesn't boot into recovery partition, that's
a sure sign that it won't boot into full LineageOS.

If recovery.img fails, you can always reflash it with TWRP if that's what you are presently running. If you don't know how to flash recovery and
get into download mode, please do some research. It's not difficult, but first time people will panic and then possibly make a huge mistake possibly creating a bricked device.

The messages below show up in my compile, but I see them all the time.

Code:
[ 77% 11670/15082] Target boot image: out/target/product/gt58ltedo/boot.img
patch boot out/target/product/gt58ltedo/boot.img out/target/product/gt58ltedo/boot.img.lok
cp: bad 'out/target/product/gt58ltedo/boot.img.lok': No such file or directory
Made boot image: out/target/product/gt58ltedo/boot.img
[ 79% 11948/15082] ----- Making recovery image ------
patch recovery out/target/product/gt58ltedo/recovery.img out/target/product/gt58ltedo/recovery.img.lok
cp: bad 'out/target/product/gt58ltedo/recovery.img.lok': No such file or directory
Made recovery image: out/target/product/gt58ltedo/recovery.img

Here's what I suggest. If you have a spare 250GB hard drive, load Lubuntu 20.04. All the LineageOS build instructions that I see are written for an Ubuntu environment and there may be a missing library or some functionality that doesn't work on Fedora? I do all my builds on Lubuntu 20.04. A 250GB drive is enough to hold Lubuntu (only about 6GB) and your build.

If you want to keep trying Fedora, then take a look at


and figure out what library you may be missing. I'm not a Fedora user and the last time I tried it was in 2014 so I cannot help you with Fedora questions.

=== twrp ===

If you can't build the LineageOS, you can try building the TWRP. It's a lot easier and faster (only about 8,000 files total instead of 80,000).
I did not build TWRP for SM-T350. Nubianprince did and his code is at


If you can get a working TWRP for your device, then that will help you build the full LineageOS. Again, you must know how to flash the recovery partition because there's a good chance your first TWRP won't work.

=== dm-verity ===

You shouldn't have to enable it. It's disabled in kernel as per



=== commands to build ===

Because I have a slow machine with limited memory, I use

. build/envsetup.sh
breakfast gt58ltedo
TARGET_BUILD_TYPE=debug TARGET_BUILD_VARIANT=eng make -j2 bacon (as per post #5)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    recovery.img zipped. Remember, it's untested and you have to know what you are doing.
    Hi,

    I have an SM-T355Y (gt58ltedo) Tab and I was keen to get this compiled as well.

    I tested the recovery you sent. It does boot properly. There is some issue in the zip path due to which it does not extract/ install directly, but when I navigated through the structure and took out the recovery.img, it flashed fine with TWRP and I was able to then reboot to recovery using this.

    Hope that helps.

    Waiting with baited breath for a LineageOS for my Tab. ♥