For devs .. compiling boot.img error - Xperia Z1 Q&A, Help & Troubleshooting

Hi Devs ,
i've been trying to build new LS nightly .. and im using this kernel https://github.com/LiquidSmooth-Devices/android_kernel_sony_msm8974 & device tree https://github.com/LiquidSmooth-Devices/android_device_sony_honami
so i got this error
Code:
DTB combiner:
Input directory: '/home/teamliquid/Ahmed/out/target/product/honami/obj/KERNEL_OBJ/arch/arm/boot/'
Output file: '/home/teamliquid/Ahmed/out/target/product/honami/dt.img'
=> Found 0 unique DTB(s)
error: could not load device tree image '/home/teamliquid/Ahmed/out/target/product/honami/dt.img'
make: *** [/home/teamliquid/Ahmed/out/target/product/honami/boot.img] Error 1
make: *** Waiting for unfinished jobs....
any ideas ?

Related

[Q] Error in "make clean"

Doing a make clean in any sourcebase (official samsung or voodoo) produces the following error:
scripts/Makefile.clean:17: /home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile'. Stop.
make[1]: *** [drivers/fsr] Error 2
make: *** [_clean_drivers] Error 2
I can see that there is no fsr directory in the tree. What's wrong with this?
huxflux2003 said:
Doing a make clean in any sourcebase (official samsung or voodoo) produces the following error:
scripts/Makefile.clean:17: /home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/kernel/I9000-kernel/Samsung_JPM/Kernel/drivers/fsr/Makefile'. Stop.
make[1]: *** [drivers/fsr] Error 2
make: *** [_clean_drivers] Error 2
I can see that there is no fsr directory in the tree. What's wrong with this?
Click to expand...
Click to collapse
those are closed source modules. Create the fsr and rfs directories and put an empty Makefile there.
OK, that worked, thanks. When you make and flash a zImage, you only flash the kernel and not the modules, right?
How can you flash a module?

[Q]

Export includes file: bootable/recovery/voldclient/Android.mk -- /home/thewhisp/android/omni/out/target/product/nypon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/export_includes
make: *** No rule to make target `/home/thewhisp/android/omni/out/target/product/nypon/obj/STATIC_LIBRARIES/libminipigz_intermediates/export_includes', needed by `/home/thewhisp/android/omni/out/target/product/nypon/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
I am getting this error when compiling omni rom for my device xperia p

help [building kernel] for mido redmi note 4x

hello my friend
i need some help please
when i build kernel it's give me error as :
include/trace/define_trace.h:83:43: fatal error: /rndis_ipa_trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/net/ethernet/msm/rndis_ipa.o' failed
make[4]: *** [drivers/net/ethernet/msm/rndis_ipa.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet/msm' failed
make[3]: *** [drivers/net/ethernet/msm] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Need Help
Hello Friend me too facing the same issue in Redmi 3s with UBERTC 4.9 did solve this issue
akino553 said:
hello my friend
i need some help please
when i build kernel it's give me error as :
Click to expand...
Click to collapse
You need to add current directory address at last drivers/net/ethernet/msm/rndis_ipa_trace.h

AOSPA for Xperia SP

Hello,
I'm trying to build AOSPA for Xperia SP but getting this error:
Code:
Made recovery image: out/target/product/huashan/recovery.img
Target build info: out/target/product/huashan/system/build.prop
find: ‘out/target/product/huashan/recovery/root/res’: No such file or directory
cat: out/target/product/huashan/recovery.id: No such file or directory
build/tools/generate-notice-files.py out/target/product/huashan/obj/NOTICE.txt out/target/product/huashan/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" out/target/product/huashan/obj/NOTICE_FILES/src
zip error: Nothing to do! (out/target/product/huashan/system/etc/recovery-resource.dat)
make: *** [out/target/product/huashan/system/etc/recovery-resource.dat] Error 12
make: *** Waiting for unfinished jobs....
Does AOSP based roms need some additional commits to be able to build ? I hadn't such problems with Lineage and Vanir ROMs.
Here is my roomservice.xml file and full terminal output.
Thanks in advance for any help

Magisk 18.1 build environment issues

Hi everyone, I'm having issues with compiling Magisk from a fresh environment. Has anyone had success building the latest Magisk, if so, what did your environment look like? Here is what I did...
Fresh Docker Ubuntu Instance
Installed Python3.7
Installed Android SDK Tools
Installed "ndk-bundle" "platform-tools" from sdkmanager
Downloaded/Extracted latest FrankeNDK
Set ANDROID_HOME to sdk path, and ANDROID_NDK_HOME to FrankeNDK path
Full clone w/submodule of Magisk Repo
Setup config.prop
python3 build.py -v binary
However this always produces the same linker error:
Code:
[armeabi-v7a] Executable : busybox
[armeabi-v7a] SharedLibrary : libsqlite.so
/root/dev/android/FrankeNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/.[x86] SharedLibrary : libsqlite.so
./../../../arm-linux-androideabi/bin/ld: error: ./obj/local/armeabi-v7a/objs/sqlite/stubs/sqlite3_stub.o:1:3: invalid character
/root/dev/android/FrankeNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ./obj/local/armeabi-v7a/objs/sqlite/stubs/sqlite3_stub.o:1:3: syntax error, unexpected $end
/root/dev/android/FrankeNDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ./obj/local/armeabi-v7a/objs/sqlite/stubs/sqlite3_stub.o: not an object or archive
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/libsqlite.so] Error 1
make: *** Waiting for unfinished jobs....
/root/dev/android/FrankeNDK/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: ./obj/local/x86/objs/sqlite/stubs/sqlite3_stub.o:1:3: invalid character
/root/dev/android/FrankeNDK/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: ./obj/local/x86/objs/sqlite/stubs/sqlite3_stub.o:1:3: syntax error, unexpected $end
/root/dev/android/FrankeNDK/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: ./obj/local/x86/objs/sqlite/stubs/sqlite3_stub.o: not an object or archive
collect2: error: ld returned 1 exit status
make: *** [obj/local/x86/libsqlite.so] Error 1
make: Leaving directory `/root/dev/android/Magisk/native'
Build binary failed!
I opened an issue on GitHub:1167 and TJW indicated that the linker is missing flags -flto. However, I didn't mess with anything and the default file of /native/jni/Application.mk:APP_LDFLAGS := -flto contains those flags. Is there anything else I could try to get the build to work? Thanks

Categories

Resources