AOSPA for Xperia SP - Xperia SP Q&A, Help & Troubleshooting

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

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?

[Droid] Building CM6 from source Error

Hi, I posted this at the Cyanogen forums - but I figured I would ask here too:
I am trying to build CM6 from source. I have followed the Wiki but I am getting this error:
Code:
Finding NOTICE files: out/target/product/sholes/obj/NOTICE_FILES/hash-timestamp
Combining NOTICE files: out/target/product/sholes/obj/NOTICE.html
Target system fs image: out/target/product/sholes/obj/PACKAGING/systemimage_unopt_intermediates/system.img
Install system fs image: out/target/product/sholes/system.img
out/target/product/sholes/system.img+ total size is 152454720
error: out/target/product/sholes/system.img+ too large (152454720 > [151793664 - ])
make: *** [out/target/product/sholes/system.img] Error 1
make: *** Deleting file `out/target/product/sholes/system.img'
Any help would be great.. I have copied all of the proprietary files and have the latest source from the git repository.

For devs .. compiling boot.img error

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 ?

[Q] Headers location missing during the build process

Hi Team,
I am trying to build the ROM from AOSP Source based on 5.1.1.
Till now the build was going fine but now I am facing issue with compilation errors.
The QCOM stuff creating these error because each files in the folder hardware/qcom/display/msm8974 missing the reference to compiler header file/location.
So I don't want to amend each reference to point specifically. I know where the files are located but compiler not picking it up.
E.G: #include <media/msm_media_info.h>
All the stuff available on >> hardware/qcom/msm8x74
Can someone please guide me like which ENV variable I need to check?? or which .mk file I need to amend ??
*********************************
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp
hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:41:34: fatal error: media/msm_media_info.h: No such file or directory
#include <media/msm_media_info.h>
^
compilation terminated.
build/core/binary.mk:620: recipe for target 'out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o' failed
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** Waiting for unfinished jobs....
*********************************

Building my first rom 7.1.1

Hey guys I'm trying to build my first ROM. I fetched the android 7.1.1 r55 source from Google. I downloaded the software binaries of Xperia Z1 and I have UBUNTU 14.04 LTS. I'm getting an Issue while building
bootable/recovery/minui/graphics_overlay.cpp:34:10: fatal error: 'linux/msm_mdp.h' file not found
#include <linux/msm_mdp.h>
^
1 error generated.
[ 4% 28/695] target thumb C: libcrypto_static <= external/boringssl/android_compat_hacks.c
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
Help me...
Thank you

Categories

Resources