Error export_includes when compiling TWRP - OnePlus 8 Pro Questions & Answers

for android 10.0
FAILED: ninja: '/home/scarlet-glass/omnirom10/out/target/product/instantnoodle/obj/SHARED_LIBRARIES/libinit_intermediates/export_includes', needed by '/home/scarlet-glass/omnirom10/out/target/product/instantnoodle/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
00:26:19 ninja failed with: exit status 1
failed to build some targets (04:39 (mm:ss))

Related

error while installing miui6

I have tried installing MIUI6 chinese version 5.5.29 in my redmi note 3g but it gives me error warning : no file_contexts apply parsed perms: 1setfilecon of /system/lost+found to u : object_r:system_file:s0 failed: Operation not supported on transport endpoint set_metadata_recursive: some changes failed Installation aborted.
m-a-n-u said:
I have tried installing MIUI6 chinese version 5.5.29 in my redmi note 3g but it gives me error warning : no file_contexts apply parsed perms: 1setfilecon of /system/lost+found to u : object_r:system_file:s0 failed: Operation not supported on transport endpoint set_metadata_recursive: some changes failed Installation aborted.
Click to expand...
Click to collapse
You need latest twrp to flash http://en.miui.com/thread-115412-1-1.html

[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

Cm13 build error

I'm building cm13 for our device and I got an error during build
Code:
Construct recovery from boot
mkdir -p /home/nikita36078/cm13/out/target/product/s3ve3g/obj/PACKAGING/recovery_patch_intermediates/
PATH=/home/nikita36078/cm13/out/host/linux-x86/bin:$PATH /home/nikita36078/cm13/out/host/linux-x86/bin/imgdiff /home/nikita36078/cm13/out/target/product/s3ve3g/boot.img /home/nikita36078/cm13/out/target/product/s3ve3g/recovery.img /home/nikita36078/cm13/out/target/product/s3ve3g/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p
Error: footer size 1841504261 != decompressed size 0
failed to break apart source image
make: *** [/home/nikita36078/cm13/out/target/product/s3ve3g/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p] Error 1
make: *** Waiting for unfinished jobs....
build/core/Makefile:1054: recipe for target '/home/nikita36078/cm13/out/target/product/s3ve3g/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p' failed
make: Leaving directory '/home/nikita36078/cm13'
#### make failed to build some targets (02:05 (mm:ss)) ####
Any suggestions?

Help For Build

hi guys need help for build
[ 99% 1589/1590] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Android.bp
ninja: error: '/home/eijounited99/android/hexagon/out/target/product/tissot/obj/STATIC_LIBRARIES/libgptutils_intermediates/export_includes', needed by '/home/eijounited99/android/hexagon/out/target/product/tissot/obj/EXECUTABLES/update_engine_sideload_intermediates/import_includes', missing and no known rule to make it
04:33:10 ninja failed with: exit status 1
#### failed to build some targets (01:26 (mm:ss)) ####
Click to expand...
Click to collapse
Sources:
git clone https://github.com/TheScarastic/android_device_xiaomi_msm8953-common device/xiaomi/msm8953-common
git clone https://github.com/TheScarastic/android_device_xiaomi_tissot device/xiaomi/tissot
git clone https://github.com/TheScarastic/android_kernel_xiaomi_msm8953 -b lineage-15.1-tissot kernel/xiaomi/msm8953
git clone https://github.com/TheScarastic/proprietary_vendor_xiaomi -b lineage-15.1-tissot vendor/xiaomi

building lineageos error

[ 75% 3/4] glob device/coolpad/C106/bluetooth
ninja: error: '/home/mamarma9904/lineage/out/target/product/C106/obj_arm/SHARED_LIBRARIES/libtfa9890_intermediates/export_includes', needed by '/home/mamarma9904/lineage/out/target/product/C106/obj_arm/SHARED_LIBRARIES/audio_amplifier.msm8952_intermediates/import_includes', missing and no known rule to make it
14:11:12 ninja failed with: exit status 1
I have above error. how to fix this error?
this phone's kernel source does not released so I use similar device kernel.
or there is prebuilt kernel zImage.
https://github.com/mamarama9904/android_device_c106
https://github.com/mamarama9904/proprietary_vendor_coolpad_c106
https://github.com/LineageOS/android_kernel_leeco_msm8976
https://forum.xda-developers.com/cool1/development/kernel-stockpatched-t3830919

Categories

Resources