@umesh same problem with mine, if you figure the problem let me know please
Best posts made by Elessar 0
-
RE: Oneplus 2
Latest posts made by Elessar 0
-
Making halium vbmetaimage for gta4xlwifi ERROR decWeak
Hi guys, I've been having problems making the vbmetaimage. When almost completing
mka vbmetaimage
it outputs this error:[ 83% 83490/99899] target SharedLib: libshim_sensorndkbridge (out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_senso FAILED: out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_sensorndkbridge.so /bin/bash -c "prebuilts/clang/host/linux-x86/clang-r353983c1/bin/clang++ -nostdlib -Wl,-soname,libshim_sensorndkbridge.so -Wl,--gc-sections -shared out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm64_armv8-a_cortex-a53_vendor/crtbegin_so.o out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/ASensorManager.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-aarch64-android.vendor_intermediates/libclang_rt.ubsan_minimal-aarch64-android.vendor.a prebuilts/clang/host/linux-x86/clang-r353983c1/lib64/clang/9.0.3/lib/linux//libclang_rt.builtins-aarch64-android.a out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_stripped.a -fuse-ld=lld -Wl,--hash-style=gnu -Wl,--icf=safe -Wl,-z,max-page-size=4096 -Wl,--fix-cortex-a53-843419 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,-execute-only -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--no-undefined out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libbase.vendor_intermediates/libbase.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libsensorndkbridge_intermediates/libsensorndkbridge.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libc++.vendor_intermediates/libc++.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libc.vendor_intermediates/libc.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libm.vendor_intermediates/libm.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libdl.vendor_intermediates/libdl.vendor.so -o out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_sensorndkbridge.so out/soong/.intermediates/bionic/libc/crtend_so/android_arm64_armv8-a_cortex-a53_vendor/obj/bionic/libc/arch-common/bionic/crtend_so.o" ld.lld: error: undefined symbol: android::RefBase::weakref_type::decWeak(void const*) >>> referenced by RefBase.h:536 (system/core/libutils/include/utils/RefBase.h:536) >>> out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/ASensorManager.o:(std::__1::__tree<android::wp<ASensorEventQueue>, std::__1::less<android::wp<ASensorEventQueue> >, std::__1::allocator<android::wp<ASensorEventQueue> > >::destroy(std::__1::__tree_node<android::wp<ASensorEventQueue>, void*>*)) clang-9: error: linker command failed with exit code 1 (use -v to see invocation) 03:41:59 ninja failed with: exit status 1 #### failed to build some targets (01:46:37 (hh:mm:ss)) ####
Any help would be much appreciated. I'm attempting to make a port to the Galaxy tab S6 Lite on Halium 10. This is my first port, so I need all the help you can give. Thanks!
-
RE: help me "mka halium-boot" error
@errors have similar problem here when mka halium-boot
05:03:55 Disallowed PATH tool "curl" used: []string{"curl", "--location", "https://github.com/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-arm64", "--output", "out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz", "--silent"}
05:03:55 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
[ 33% 1/3] Downloading initramfs to : out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz
FAILED: out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz
/bin/bash -c "halium/halium-boot/get-initrd.sh arm64 out/target/product/gta4xlwifi/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz"
Downloading https://github.com/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-arm64
"curl" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
05:03:55 ninja failed with: exit status 1 -
RE: Oneplus 2
@xoomerq Done!! but indeed there's a lot of features not working. nothing like the nexus 5 ...
-
RE: Oneplus 2
@elessar-0 yeah, also had this first time. All I did was switching from "stable" to "develop" (or daily?) in Ubports-installer
Also I used the 0.7.4 version of the installer, 0.8.x did not work.
If it stuck on boot-screen, you have to enter bootloader (turn off > vol- + power > android options > advanced > reboot to bootloader). That way your pc should recognise it as oneplus again and you can reinstall the system.
And yeah, lot of things do not work.
ok, thanks for the info, ill try and let you know. wonder why it doesn't work on 0.8.x
-
RE: Oneplus 2
@umesh same problem with mine, if you figure the problem let me know please