building lineageos error - Coolpad Cool1 Questions & Answers

[ 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

Related

[Q] Compilation of OpenSwift 2.2.1

Anybody managed to compile OpenSwift 2.2.1 from github? I'm trying to do that for 2 days without success.
My last error is:
Code:
Install: out/target/product/swift/system/lib/libdiskconfig.so
Install: out/target/product/swift/system/bin/vold
Symlink: out/target/product/swift/system/bin/watchprops -> toolbox
Symlink: out/target/product/swift/system/bin/wipe -> toolbox
target Strip: wpa_cli (out/target/product/swift/obj/EXECUTABLES/wpa_cli_intermediates/wpa_cli)
Install: out/target/product/swift/system/bin/wpa_cli
target Strip: wpa_supplicant (out/target/product/swift/obj/EXECUTABLES/wpa_supplicant_intermediates/wpa_supplicant)
Copy: out/target/product/swift/system/bin/wpa_supplicant
target Strip: zipalign (out/target/product/swift/obj/EXECUTABLES/zipalign_intermediates/zipalign)
Install: out/target/product/swift/system/bin/zipalign
Target buildinfo: out/target/product/swift/system/build.prop
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/swift/system/build.prop] Error 1
make: *** Deleting file `out/target/product/swift/system/build.prop'
Maybe we can share experience about compilation of OpenSwift in this thread?
I have the same issue. But not find a solution yet.
Early I've success compile whole system. But after last updates from github gets errors.
I found solutions for all recent errors on 4pda.ru.
This is the original post:
http://4pda.ru/forum/index.php?s=&showtopic=215440&view=findpost&p=6414296
just got wubi ubuntu 10.10 installed and git and python were a nightmare and repo wouldnt work until i went and edited repo myself so it installed fine. i worked out how to install python2.4 on 10.10 and git running nicely. when i do the sync command it starts downloading the whole cyanogen mod tree i just want whats on the openswift branch thats it. any advice on the whole source codes and compiling would be greatly apppreciated.

[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!

Moto G4 Plus Kernel compile error : 'dsi_otm1906c_1080p_cmd', not found

I am getting the following error when I am trying to compile the MOTO G4 Plus source code:
DTC arch/arm/boot/dts/qcom/../msm8936-mtp.dtb
DTC arch/arm/boot/dts/qcom/../msm8936-mtp-smb1360.dtb
DTC arch/arm/boot/dts/qcom/../msm8936-mtp-wcd9306.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-sim.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-rumi.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb
Error: arch/arm/boot/dts/qcom/msm8952-qrd-skum.dtsi:358.2-3 label or path, 'dsi_otm1906c_1080p_cmd', not found
FATAL ERROR: Syntax error parsing input tree
/home/and/kernel-msm-MMI-MPJ24.139/arch/arm/boot/dts/qcom/Makefile:346: recipe for target 'arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb' failed
make[1]: *** [arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb] Error 1
/home/trustzone/and/kernel-msm-MMI-MPJ24.139/arch/arm/Makefile:305: recipe for target 'dtbs' failed
Source Code Compilation of MOTO G4 Plus.
Code: MMI-MPJ24.139
Toolchain: arm-eabi-4.8 (android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/)
Config: msm8916_defconfig
saurabhsamanta said:
I am getting the following error when I am trying to compile the MOTO G4 Plus source code:
DTC arch/arm/boot/dts/qcom/../msm8936-mtp.dtb
DTC arch/arm/boot/dts/qcom/../msm8936-mtp-smb1360.dtb
DTC arch/arm/boot/dts/qcom/../msm8936-mtp-wcd9306.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-sim.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-rumi.dtb
DTC arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb
Error: arch/arm/boot/dts/qcom/msm8952-qrd-skum.dtsi:358.2-3 label or path, 'dsi_otm1906c_1080p_cmd', not found
FATAL ERROR: Syntax error parsing input tree
/home/and/kernel-msm-MMI-MPJ24.139/arch/arm/boot/dts/qcom/Makefile:346: recipe for target 'arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb' failed
make[1]: *** [arch/arm/boot/dts/qcom/../msm8952-qrd-skum.dtb] Error 1
/home/trustzone/and/kernel-msm-MMI-MPJ24.139/arch/arm/Makefile:305: recipe for target 'dtbs' failed
Source Code Compilation of MOTO G4 Plus.
Code: MMI-MPJ24.139
Toolchain: arm-eabi-4.8 (android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/)
Config: msm8916_defconfig
Click to expand...
Click to collapse
Found the solution:
github.com/MotorolaMobilityLLC/kernel-msm/issues/105#issuecomment-291488271
Seems you forget to append the content of arch/arm/configs/ext_config/moto-msm8916.config to msm8916_defconfig.
(so missing this flag : CONFIG_MMI_DEVICE_DTBS=y)

problem with compiling twrp with omni sources

as the title says i have a probmel with building twrp
i get this error
Copying baseline ramdisk...
cp: cannot stat '/home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd': No such file or directory
ninja: build stopped: subcommand failed.
13:33:35 ninja failed with: exit status 1
Wajdi Muhtadi said:
as the title says i have a probmel with building twrp
i get this error
Copying baseline ramdisk...
cp: cannot stat '/home/wajdi/Documents/omni/out/target/product/wingray/system/bin/adbd': No such file or directory
ninja: build stopped: subcommand failed.
13:33:35 ninja failed with: exit status 1
Click to expand...
Click to collapse
Did you ever figure this out? I have exactly the same problem.
ianmacd said:
Did you ever figure this out? I have exactly the same problem.
Click to expand...
Click to collapse
I have the same problem, have u solve it ?
kongkongyzt said:
I have the same problem, have u solve it ?
Click to expand...
Click to collapse
OK, I have solved this problem just now...
After I reading the .repo/manifest.xml , I was surprised to find the boot/recovery source code is from AOSP, not TWRP, which means when I type `make recoveryimage ` command, it doesn't compiling TWRP but AOSP's recovery.... so there is no doubt coming to this error.......
And I `rm -rf bootable/recovery` and git clone from github, omnirom/android_bootable_recovery, trying to recompile, it show's that I miss busybox folder, which is should required by TWRP but not exists from manifest.xml........
Maybe the omni team has remove TWRP from their manifest.xml, who knows? And I decide to try TWRP minimal install and I success,
repo init -u <URL> -b twrp-8.1 // XDA not allow me post the link, so the github project name is platform_manifest_twrp_omni
repo sync
git clone <your/device/twrp/tree> // this is my device tree, you should replace to your
export ALLOW_MISSING_DEPENDENCIES=true // remember to add this or u will get tons of unnecessary error.
source build/envsetup.sh
lunch omni_<device>-eng; mka recoveryimage

Error export_includes when compiling TWRP

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))

Categories

Resources