RR for Samsung A5 2016 - Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot

Xbuilding it...
seems I need some help regarding some files and testing. :highfive:
Dont be impatience . my internet speed is not upto the mark always and its been already 26hr I am syncing source. i hope within few hr more.
Dont ask noob question and dont post thank you in it. make this thread clean.

Update..
Source synced ...
need device code name .. anyone willing for help?

rajit said:
Update..
Source synced ...
need device code name .. anyone willing for help?
Click to expand...
Click to collapse
Come on!

a510f or a5xeltexx

It seems roomservice.xml not their. So i need that too . Need working device manifest ?. ANY DEV ?

rajit said:
It seems roomservice.xml not their. So i need that too . Need working device manifest ?. ANY DEV ?
Click to expand...
Click to collapse
I'm in the Exynos7580 organization on GitHub and unfortunately there is two problem :
- a5xeltexx device/vendor/kernel is not updated since few months
- seriously, I respect that you tried but you need a minimal knowledge in languages, Linux, Android structure and working, etc...
I ported RR on a3xeltexx and I'll MAYBE work on the a5xeltexx later
Also here's the room service for a3xeltexx, just changes repo names by a5xeltexx (look carefully on GitHub) : https://github.com/Stricted/LineageOS_build/blob/master/manifests/a3xeltexx.xml
Also names :
- device/vendor : a5xeltexx
- kernel : a5xelte
- model : A510F
You can contact me on Telegram : @kmx_reserved
I can maybe speed up A5 development but I need testers
Good luck

Wow! How's this project coming? Support for M variant as well?

KMXSLR said:
I'm in the Exynos7580 organization on GitHub and unfortunately there is two problem :
- a5xeltexx device/vendor/kernel is not updated since few months
- seriously, I respect that you tried but you need a minimal knowledge in languages, Linux, Android structure and working, etc...
I ported RR on a3xeltexx and I'll MAYBE work on the a5xeltexx later
Also here's the room service for a3xeltexx, just changes repo names by a5xeltexx (look carefully on GitHub) : https://github.com/Stricted/LineageOS_build/blob/master/manifests/a3xeltexx.xml
Also names :
- device/vendor : a5xeltexx
- kernel : a5xelte
- model : A510F
You can contact me on Telegram : @kmx_reserved
I can maybe speed up A5 development but I need testers
Good luck
Click to expand...
Click to collapse
thnx. after wasting 2day figure local menifest issue and abke to brekfast and brunch..
it seems the tree isn't complete and more over it giving errorr in evry 5 min of build . now got first error after 3.30hr of build and here it is look like..
Code:
device/samsung/exynos7580-common/audio/audio_hw.c:42:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:1087: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/exynos7580-common/audio/ril_interface.c:47:43: warning: unused parameter 'datalen' [-Wunused-parameter]
size_t datalen)
^
1 warning generated.
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.cpp:38:
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.h:57:
hardware/samsung_slsi-cm/exynos/libhwc/../include/exynos_v4l2.h:45:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
make: Leaving directory '/home/leno/RR'
#### make failed to build some targets (03:13:38 (hh:mm:ss)) ####
Edit- fixed

rajit said:
thnx. after wasting 2day figure local menifest issue and abke to brekfast and brunch..
it seems the tree isn't complete and more over it giving errorr in evry 5 min of build . now got first error after 3.30hr of build and here it is look like..
Code:
device/samsung/exynos7580-common/audio/audio_hw.c:42:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:1087: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/exynos7580-common/audio/ril_interface.c:47:43: warning: unused parameter 'datalen' [-Wunused-parameter]
size_t datalen)
^
1 warning generated.
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.cpp:38:
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.h:57:
hardware/samsung_slsi-cm/exynos/libhwc/../include/exynos_v4l2.h:45:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
make: Leaving directory '/home/leno/RR'
#### make failed to build some targets (03:13:38 (hh:mm:ss)) ####
Edit- fixed
Click to expand...
Click to collapse
Mate that sources aren't updated. I builded RR without error few months back but no passes bootlogo.

TheAbraham696 said:
Mate that sources aren't updated. I builded RR without error few months back but no passes bootlogo.
Click to expand...
Click to collapse
still i want to give it a try right now stuck here
Code:
AS init/_vmm.o
/home/leno/RR/kernel/samsung/a5xelte/init/_vmm.S: Assembler messages:
/home/leno/RR/kernel/samsung/a5xelte/init/_vmm.S:41: Error: file not found: init/vmm.elf
/home/leno/RR/kernel/samsung/a5xelte/scripts/Makefile.build:344: recipe for target 'init/_vmm.o' failed
make[3]: *** [init/_vmm.o] Error 1
/home/leno/RR/kernel/samsung/a5xelte/Makefile:841: recipe for target 'init' failed
make[2]: *** [init] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/leno/RR/kernel/samsung/a5xelte'
vendor/cm/build/tasks/kernel.mk:299: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
# In case value of PACKAGES is empty.
make: Leaving directory '/home/leno/RR'

I'll start working on LineageOS for A5 then I'll work on RR. (Step by step, this is not recommended to release a RR before LOS)
EDIT: I'll need testers that knows how to make a logcat, dmesg and that can send me a list of bugs

KMXSLR said:
I'll start working on LineageOS for A5 then I'll work on RR. (Step by step, this is not recommended to release a RR before LOS)
EDIT: I'll need testers that knows how to make a logcat, dmesg and that can send me a list of bugs
Click to expand...
Click to collapse
I can be a tester if you want. I have telegram too

Wich version are you porting ? 5.8.4 ?

I can help you with testing, just hmu on discord @popi #5513 (i am in your los group)

Related

[Q/A] Build Errors and such...

Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Good idea , hope someone will know this one.
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Export includes file: hardware/qcom/display/libgenlock/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes
Export includes file: device/lge/mako/camera/mm-camera-interface/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/export_includes
make: *** No rule to make target `/home/elio/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
Click to expand...
Click to collapse
i have been trying to build for mako and i get stuck at this error.
i'm ubuntu 12.04 64bit.
Looks like a kernel error.
Add this lines to your local_manifest
Code:
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
then
Code:
repo sync -j4 && make clean && . build/envsetup.sh && time brunch mako
fix for most errors
Gnome said:
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Click to expand...
Click to collapse
I am just starting out on building Roms but for almost any error even if you can't fix it just delete your folder/directory with the source and reinitialize repo in a new directory
Sent from my lg optimus f6 which boot loader can't be unlocked I'm never getting a new lg phone
help
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
codingninja62001 said:
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
Click to expand...
Click to collapse
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
okey it isn't omni its cyanogenmod and f6 as LG optimus f6 a budget phone that ive working on a port for and can you explain in a little more detail and my KERNEL_OBJ/usr is empty so no source there
---------- Post added at 05:13 PM ---------- Previous post was at 04:35 PM ----------
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
Hey can you help me with this new error i had fixed that one yesterday not much detail it spits out do you know how to declare GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY or fix this
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Please help me
build/core/base_rules.mk:316: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' ./external/busybox/Android.mk:171: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' vendor/cm/build/tasks/kernel.mk:285: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' build/core/tasks/kernel.mk:209: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' vendor/cm/build/tasks/kernel.mk:299: warning: overriding commands for target `TARGET_KERNEL_BINARIES' build/core/tasks/kernel.mk:220: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES' vendor/cm/build/tasks/kernel.mk:348: warning: overriding commands for target `kerneltags' build/core/tasks/kernel.mk:252: warning: ignoring old commands for target `kerneltags' vendor/cm/build/tasks/kernel.mk:353: warning: overriding commands for target `kernelconfig' build/core/tasks/kernel.mk:255: warning: ignoring old commands for target `kernelconfig' vendor/cm/build/tasks/kernel.mk:372: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/kernel' build/core/tasks/kernel.mk:269: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/kernel' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/govind/n/out/target/product/Z00L/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/govind/n/out/target/product/Z00L/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (25 seconds) #### Build step 'Execute shell' marked build as failure FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE
https://hastebin.com/qixotiyuqo.sql plz help me in sorting out this error

[SOLVED] Help compiling kernel?

Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
dougiebee said:
Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
Click to expand...
Click to collapse
For future reference only! Here is the solution: Solution
kostoulhs said:
For future reference only! Here is the solution: Solution
Click to expand...
Click to collapse
OR https://github.com/CyanogenMod/andr...fc90dab#diff-0d7cf45734954beb174f815cd5fd45b7

[Q] Building AOSP Error - Noob

Hey there guys,
I was trying to build pure AOSP for our phone when I ran into this error. Any idea what this may be?
Code:
including ./vendor/yu/tomato/Android.mk ...
PRODUCT_COPY_FILES device/yu/tomato/configs/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
No private recovery resources for TARGET_DEVICE tomato
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by `out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop.
make: *** Waiting for unfinished jobs....
Its finally done at http://forum.xda-developers.com/yureka/orig-development/rom-android-source-project-t3097017 Try there...

[HELP] Android kernel compiling error.

Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
__________________________________________________ ______
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
[email protected]:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
_________________________________________
Any body help me ?
Hi~ please reply for my message
nguyen_vh said:
Any body help me ?
Click to expand...
Click to collapse
Hi......
Do you solved this problem?
I am trying Compile custom kernel for Galaxy s5 ,too..
I have same problem ....
Please Contact me if you solve this problem & success custom kernel compile.
[email protected]
thanks!
build_kernel.sh
samsung provides script for succesful compiling of kernel from source: build_kernel.sh
sudo apt-get install git
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 (i used this version because samsung used 4.8 to compile my g901f kernel)
my paths:
/home/kriomag/Kernel
/home/arm-eabi-4.8
for above paths i used (started from Kernel folder):
export ARCH=arm
export CROSS_COMPILE=$(pwd)/../arm-eabi-4.8/bin/arm-eabi-
mkdir output
make -C $(pwd) O=output apq8084_sec_defconfig VARIANT_DEFCONFIG=apq8084_sec_kccat6_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig (this line outputs after few warnings .config file needed to "make")
make -j4 -C $(pwd) O=output (this line starts compiling, after long time it gives zImage - kernel file in output/arch/arm/boot);
all you need is to correct paths in this script to yours paths and use g906k variant configs names. This above example is from my compilation of g901f kernel.
Im facing this problem aswell, did you find a fix already?
Found the Solution!
Kriomag's solution worked! It looks like those errors are associated with the CROSS_COMPILE path. Be sure to use the appropriate toolchain for your export CROSS_COMPILE command. For me, I kept typing "/home/user/arm-eabi-4.8/bin/" which resulted in the same error about checking the "TARGET"; Instead of "/home/user/arm-eabi-4.8/bin/arm-eabi-" Turns out, when I git cloned from the URL provided by Kriomag, the scripts are written without the prefix "arm-eabi-"
Kriomag!

[HELP] Errors on Omni Compilation

Hi @Entropy512 and @XpLoDWilD , I was trying to get Omni for Falcon. I know a guy named Ashwin was trying to get it booting but in vain. I tried to get a fresh build by myself and I faced a dozen errors till now but cant get past this one though, I tried googling but couldn't really come up with something. Its probably a missing file but I dont know where i can find it. Here is the error :
Code:
hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:53:34: fatal error: media/msm_media_info.h: No such file or directory
#include <media/msm_media_info.h>
^
compilation terminated.
Sometimes, even this error :
Code:
target Executable: vold (/home/yeshwanth/omni/out/target/product/falcon/obj/EXECUTABLES/vold_intermediates/LINKED/vold)
system/vold/cryptfs.c:3116: error: undefined reference to 'clear_hw_device_encryption_key'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:69: recipe for target '/home/yeshwanth/omni/out/target/product/falcon/obj/EXECUTABLES/vold_intermediates/LINKED/vold' failed
make: *** [/home/yeshwanth/omni/out/target/product/falcon/obj/EXECUTABLES/vold_intermediates/LINKED/vold] Error 1
make: *** Waiting for unfinished jobs....

Categories

Resources