Help Build Lineageos for Xiaomi Redmi Pro - Android Q&A, Help & Troubleshooting

Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.

You device tree?

thinhx2 said:
You device tree?
Click to expand...
Click to collapse
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA

Dersaun said:
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Click to expand...
Click to collapse
You can upload to github.

Hi,
Here is my device tree in github
https://github.com/Dersaun/android_device_Xiaomi_omega

your device tree is not complete

Dersaun said:
Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
Click to expand...
Click to collapse
Hi sir did u fix this error can u tell me how u fixed this error

Related

[Help!] Building Cyanogemod from source final error

I'm building Cyanogenmod 11 for my device at the end of making the ota zip I've been getting this error
Code:
build/core/Makefile:1496: recipe for target '/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip' failed
make: *** [/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip] Error 1
I've made some screenshots of this at attachments
please help me with this....
GOPINADH said:
I'm building Cyanogenmod 11 for my device at the end of making the ota zip I've been getting this error
Code:
build/core/Makefile:1496: recipe for target '/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip' failed
make: *** [/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip] Error 1
I've made some screenshots of this at attachments
please help me with this....
Click to expand...
Click to collapse
Please Help!

[HELP] Error in 'make otapackage'

after i type make otapackage, after some time i get this error message and build stops. every time same error.
[ 69% 21776/31360] build out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c
FAILED: /bin/bash -c "external/iw/version.sh out/target/product/hikari/gen/EXECUTABLES/iw_intermediates/version.c"
fatal: No names found, cannot describe anything.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (05:33:08 (hh:mm:ss)) ####
Click to expand...
Click to collapse
can anyone help?
Are you trying to make AOSP otapackage
Ashwinrg said:
Are you trying to make AOSP otapackage
Click to expand...
Click to collapse
yeah, AOSP. any solution? i'm still struck

Building LineageOS for an Unsupported Devices

I am trying to build recovery and Lineage 14.1 for my Samsung A5 2015 (A520W). I know that I need the vendor files, kernel and device tree.
Im currently trying to get the vendor files off my device using the mkvendor.sh file but in LineageOS 14.1 I cannot find this file. From what I understand I need to run
make -j4 otatools
to get this file but I get an error
ninja: error: unknown target 'otatools', did you mean 'obbtool'?
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (02:34 (mm:ss)) ####
Click to expand...
Click to collapse
*bump*

How to fix this error

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/roybabu/aospex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/ro
ybabu/aospex/out/target/common/obj/APPS/MotoDoze_intermediates/with-local/classes.dex', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
Roybabu said:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/roybabu/aospex/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/ro
ybabu/aospex/out/target/common/obj/APPS/MotoDoze_intermediates/with-local/classes.dex', missing and no known rule to make it
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
Click to expand...
Click to collapse
I have the same problem. Could you fix it?

Ninja Error While Building ROM

I am trying to build a ROM for a new device, as soon as i go for brunch command it gives me following error -
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'librecovery_updater_mofd', needed by '/home/rahul/android/system/out/target/product/Z00XS/obj/EXECUTABLES/recovery_intermediates/adb_install.o', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/rahul/android/system'
Click to expand...
Click to collapse

Categories

Resources