No sim card issue in unofficial cm build - Galaxy S 4 Q&A, Help & Troubleshooting

Hello,
I have build CyanogenMod 12.1 for my Samsung I9505 but it is showing no sim card.
If I install the nightly from CyanogenMod or the stock ROM, then the modem will work just fine.
I've also got some errors while building. At the moment I have no more ideas.
When I try to extract the blobs from my unofficial build it shows me: "remote object '/system/lib/libsec-ril.so' does not exist". I have build it with the complete blobs from the nightly build of cm.
Please help me and thanks in advice
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150803-UNOFFICIAL-jfltexx
TARGET_PRODUCT=cm_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.0.0-2-amd64-x86_64-with-debian-stretch-sid
HOST_BUILD_TYPE=release
BUILD_ID=LMY48G
OUT_DIR=/home/user/Documents/git-repos/android/system/out
============================================
Click to expand...
Click to collapse
make -C kernel/samsung/jf O=/home/user/Documents/git-repos/android/system/out/target/product/jfltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/user/Documents/git-repos/android/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" modules
make[1]: Entering directory '/home/user/Documents/git-repos/android/system/kernel/samsung/jf'
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
/home/user/Documents/git-repos/android/system/kernel/samsung/jf/Makefile:1172: recipe for target 'modules' failed
make[2]: *** [modules] Error 1
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/user/Documents/git-repos/android/system/kernel/samsung/jf'
build/core/tasks/kernel.mk:229: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: [TARGET_KERNEL_BINARIES] Error 2 (ignored)
make -C kernel/samsung/jf O=/home/user/Documents/git-repos/android/system/out/target/product/jfltexx/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE="/home/user/Documents/git-repos/android/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" modules_install
make[1]: Entering directory '/home/user/Documents/git-repos/android/system/kernel/samsung/jf'
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
/home/user/Documents/git-repos/android/system/kernel/samsung/jf/Makefile:1172: recipe for target 'modules_install' failed
make[2]: *** [modules_install] Error 1
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/user/Documents/git-repos/android/system/kernel/samsung/jf'
build/core/tasks/kernel.mk:229: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: [TARGET_KERNEL_BINARIES] Error 2 (ignored)
Click to expand...
Click to collapse
localmanifests.xml:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" />
</manifest>
Click to expand...
Click to collapse

Related

[Q] problem with building kernel[solved]

Hi every one I have a problem with compiling zImage of a3000 kernel so i enter these coomands:
Code:
export TARGET_BUILD_VARIANT=eng TARGET_PRODUCT=a3000_prc_3gfull MTK_ROOT_CUSTOM=/mediatek/custom/ TARGET_KERNEL_VERSION=3.4.5 &&export PATH=arm-eabi-linaro-4.6.2/bin/:$PATH&&export CROSS_COMPILE=arm-eabi-&&export ARCH=arm
then for setup:
Code:
make menuconfigscripts/kconfig/mconf Kconfig
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
I don't touch configurations.
problem is here
Code:
[B][SIZE="4"][U]make zImage[/U][/SIZE][/B]
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/timex.h:174:0,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
[B][U][SIZE="4"][COLOR="black"][COLOR="Red"]/media/***/****/kernel/arch/arm/include/asm/timex.h:15:24: fatal error: mach/timex.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2[/COLOR][/COLOR][/SIZE][/U][/B]

Can pls someone help me with this building error

Hi, i wanna build cm13 for our beloved nexus 4 on my own (i know there is already a build) but i wanna do it.
i did everything as the cyanogen wiki said but im faceing this eroor
[email protected]:~/android/system# croot
[email protected]:~/android/system# brunch mako
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=13.0-20151109-UNOFFICIAL-mako
TARGET_PRODUCT=cm_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-042stab108.2-x86_64-with-debian-7.9
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/root/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=13.0-20151109-UNOFFICIAL-mako
TARGET_PRODUCT=cm_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-042stab108.2-x86_64-with-debian-7.9
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/root/android/system/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
find: `dummy': No such file or directory
No private recovery resources for TARGET_DEVICE mako
make: Entering directory `/root/android/system'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang)
prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so)
make: *** [/root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 1
make: *** wait: No child processes. Stop.
#### make failed to build some targets (03:31 (mm:ss)) ####

policy_scan.cpp : aborted (core dumped)

Edit: IMPORTANT !
Latest version of glibc, the entire C library (2.22-3 on Arch Linux), seems to brakes things for android build: as reported in this other thread by @Poesini (and many others in same thread), previous version of glibc should be right, but the newest isn't OK on Arch. So please, when you updating your system, DO NOT UPDATE GLIBC!. (Downgrading still possible, but isn't the funniest part: -> https://bbs.archlinux.org/viewtopic.php?id=200845). Others Linux Distros (like Ubuntu for example) should be good, as they have not update glibc yet, but PLEASE be aware about this problem!
Thanks @Trafalgar Square for taking the time to help me !
HI all!
Well, have a little problem over here. I'm trying to compile from sources Temasek (6.0.1) for OnePlus Two, with this repo:
Code:
repo init -u https://github.com/temasek/android.git -b cm-13.0
(thanks @temasek)
and this roomservice.xml :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Trafalgar-Square/android_device_oneplus_oneplus2" path="device/oneplus/oneplus2" remote="github" revision="temasek-mm6.0" />
<project name="benschhold/android_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-13.0" />
<project name="benschhold/android_kernel_oneplus_msm8994" path="kernel/oneplus/msm8994" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-13.0" />
<project name="benschhold/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-13.0" />
</manifest>
(Thanks @Trafalgar Square by the way).
Well, every time I execute "lunch cm_oneplus2-userdebug" followed by "breakfast cm_oneplus2-userdebug", it's end in:
Code:
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
touch /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
build/core/binary.mk:662: recipe for target '/home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp' failed
[COLOR="Red"]make: *** [/home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp] Aborted (core dumped)[/COLOR]
make: *** Waiting for unfinished jobs....
echo '#ifndef 'policy_parse_h > /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
Lex: libsepol <= external/selinux/libsepol/cil/src/cil_lexer.l
echo '#define 'policy_parse_h >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
build/core/binary.mk:662: recipe for target '/home/bertac_t/android/temasek/out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.cpp' failed
[COLOR="Red"]make: *** [/home/bertac_t/android/temasek/out/host/linux-x86/obj/STATIC_LIBRARIES/libsepol_intermediates/cil/src/cil_lexer.cpp] Aborted (core dumped)[/COLOR]
cat /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#endif' >> /home/bertac_t/android/temasek/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
make: Leaving directory '/home/bertac_t/android/temasek'
where sentences highlight in red seems to be the problem.
I found THIS on XDA, which seems to be a glibc problem. But, well, I've tried to follow the "fix" gave by @martinoff, but no sign of a build_rom script in my directories...
Thanks to all who will help me !
Instructions
Hello and thank you for using Q/A,
. build/envsetup.sh
make clobber
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
Trafalgar Square said:
Hello and thank you for using Q/A,
. build/envsetup.sh
make clobber
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
Click to expand...
Click to collapse
First, thanks for your answer mate, but still the same error...
New
Hi again,
please try this:
https://raw.githubusercontent.com/Trafalgar-Square/roomservice/temasek-mm6.0/oneplus2.xml
Add this to the end of your cm.mk:
Code:
# Custom unofficial build tag
TARGET_UNOFFICIAL_BUILD_ID := temasek
repo sync --force-sync
make clean
. build/envsetup.sh
breakfast oneplus2
brunch oneplus2
Kind regards
Trafalgar Square
AICP, CyanPop and Temasek maintainer
Up ! Read first post PLEASE !
@Darth, you can close this thread, I just up so people can be informed about this problem.
Thanks man !
Thread closed per OP request. :good:

[Build Error] Porting Nougat to Kenzo

Hi,
I am working on building nougat AOSP as well as CyanogenMod 14.0 for Kenzo. Facing some errors while building. I request the users as well as devs to help in ironing out errors so that a working build may be done soon.
This is the error I am getting while building AOSP.
Code:
ninja: error: 'out/target/product/kenzo/obj/KERNEL_OBJ/usr', needed by 'out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/IPACM_Main.o', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
I have added few changes to CM device tree to work with AOSP . AndroidBoard.mk reads as
Code:
LOCAL_PATH := device/xiaomi/kenzo/
#
# Boot files
#
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
file := $(INSTALLED_KERNEL_TARGET)
ALL_PREBUILT += $(file)
$(file): $(TARGET_PREBUILT_KERNEL) | $(ACP)
$(transform-prebuilt-to-target)
And BoardConfig.mk reads as
Code:
# Kernel
TARGET_PREBUILT_KERNEL := device/xiaomi/kenzo/kernel
I am attaching .mk files so that interested devs can see and id the errors/mistake.
Error in CM-14.0
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
review.cyanogenmod.org/#/c/159646 and 159642
@arunmcops
---------- Post added at 11:35 AM ---------- Previous post was at 11:33 AM ----------
Look around cm gerrit you'll find tons of fixes
Update :
Already merged all these changes... still getting error
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
arunmcops said:
Any suggestions for AOSP error? Manually added the changes in the device tree from. CM Gerrit. Yet stucked at Kernel error. Boot.img is already present in defined place.
Click to expand...
Click to collapse
I'm not sure, but I think the device/xiaomi/kenzo/kernel file should be the zImage, not the whole boot.img. Maybe try extracting the zImage and building with that?
arunmcops said:
This is the error I am getting in CM-14.0
Code:
error: '/home/****/cm14/out/target/product/kenzo/obj/SHARED_LIBRARIES/libdhcpcd_intermediates/export_includes', needed by '/home/****/cm14/out/target/product/kenzo/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
adityaupreti said:
Remove dhcpcd init entries dhcpcd is no more needed.
path: rootdir/init.qcom.rc
Click to expand...
Click to collapse
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
arunmcops said:
Got new error...
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
adityaupreti said:
@arunmcops,
Code:
rm -rf packages/apps/BasicDream
brunch kenzo
Click to expand...
Click to collapse
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]arun:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Figured it out...
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Code:
[email protected]:/home/arun/cm14# cd packages/apps/BasicDream
bash: cd: packages/apps/BasicDream: No such file or directory
[email protected]:/home/arun/cm14# cd packages/apps
[email protected]:/home/arun/cm14/packages/apps# ls
AudioFX CMWallpapers Launcher3 Snap
BasicSmsReceiver Contacts LockClock SoundRecorder
Bluetooth ContactsCommon ManagedProvisioning Stk
Browser DeskClock Messaging Tag
Calendar Dialer Nfc Terminal
Camera2 Eleven OneTimeInitializer Test
CarrierConfig Email PackageInstaller ThemeChooser
CellBroadcastReceiver EmergencyInfo PhoneCommon Trebuchet
CertInstaller ExactCalculator Profiles TV
CMBugReport Gallery2 Provision TvSettings
CMFileManager Gello Screencast UnifiedEmail
CMParts HTMLViewer Settings WallpaperPicker
CMUpdater KeyChain SetupWizard
BTW there is no packages/apps/BascDream .
Click to expand...
Click to collapse
i thought it may be in packages/apps
do
Code:
rm -rf packages/screensavers/Basic
adityaupreti said:
can u show me ur device.mk
Click to expand...
Click to collapse
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
yes rm -rf packages/screensavers/Basic
arunmcops said:
Figured it out...
Code:
<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
Click to expand...
Click to collapse
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Please help build error
ninja: error: '/home/ost268/Omni/out/target/product/kenzo/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/export_includes', needed by '/home/ost268/Omni/out/target/product/kenzo/obj/EXECUTABLES/healthd_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
BoardConfig.mk
ninja off - USE_NINJA := false
ninja on - USE_NINJA := true
Did you build it successfully??
arunmcops said:
Now new error
Code:
ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
Click to expand...
Click to collapse
@arunmcops @adityaupreti Stuck at same error - Carbon for Athene though. I changed the
Code:
BOARD_HAVE_BLUETOOTH_QCOM := true
to
Code:
BOARD_HAVE_BLUETOOTH_QCOM := false
Still getting the same thing. Any help?
If you have
Code:
ANDROID_COMPILE_WITH_JACK := false
in your BoardConfig.mk then remove that line.
Then you have to enter this command for disabling Jack for one build:
Code:
export USE_NINJA=false
or adding that line into bottom of ~/.bashrc to disable Jack on every build
That worked for me
ninja: Entering directory `.'
ninja: error: '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/libts_face_beautify_hal_intermediates/export_
includes', needed by '/home/rushidhanawade123/lineage/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/camera.msm8952_intermediates/import_in
cludes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
plzz help me with these

Trouble compiling omnirom for existing device

Hello all,
I'm getting started with Omnirom and wanted to compile a new device. After reading up on how this should be done, I tried a to set up a new device and compile but that resulted in errors. I figured it would be better to start out by trying to compile an existing device, however I get the same error message. Figuring this might be due to my set up, I ran the compilation in a clean docker instance with freshly installed openjdk-8-jdk and build tools, but same problem. I tried to find information about the error but there is not much to find online, so therefore I'm requesting your help.
The error I keep getting is:
Code:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/platform-test-annotations-host_intermediates/javalib.jar', needed by '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/compatibility-common-util-hostsidelib_intermediates/classes-full-debug.jar', missing and no known rule to make it
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Details about the steps and error are below:
Init and sync:
Code:
repo init -u git://github.com/omnirom/android.git -b android-7.1
repo sync
Add device in .repo/local_manifests:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/xiaomi/kenzo" name="android_device_xiaomi_kenzo" remote="omnirom" revision="android-7.1" />
</manifest>
Compile:
Code:
[email protected]:~/dev/doit2$ . build/envsetup.sh
including device/xiaomi/kenzo/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/dev/doit2$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. omni_kenzo-userdebug
Which would you like? [aosp_arm-eng] 7
Looking for dependencies on: device/xiaomi/msm8956-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=omni_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-32-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/floeperd/dev/doit2/out
============================================
but I always end up with this error:
Code:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/platform-test-annotations-host_intermediates/javalib.jar', needed by '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/compatibility-common-util-hostsidelib_intermediates/classes-full-debug.jar', missing and no known rule to make it
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
I would appreciate any help. Thank you.

Categories

Resources