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
Related
hi i am trying to cherry pick this http://review.cyanogenmod.org/#/c/29118/ so i went into frameworks/base and used git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/18/29118/12 && git cherry-pick FETCH_HEAD
but i get an error about files/commits being merged. does anyone know how to fix this?
It's already merged?
Sent from my Nexus 4 using Tapatalk 2
this is what happens.
[email protected]:~/testrasbean/frameworks/base$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/18/29118/12 && git cherry-pick FETCH_HEAD
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base
* branch refs/changes/18/29118/12 -> FETCH_HEAD
error: could not apply 6bbe7b7... Quick Settings: Swipe to switch
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java'
Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java'
[email protected]:~/testrasbean/frameworks/base$
this is what i did to fix it but i still have issues:
[email protected]:~/testrasbean/frameworks/base$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/18/29118/12 && git cherry-pick FETCH_HEAD
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base
* branch refs/changes/18/29118/12 -> FETCH_HEAD
error: could not apply 6bbe7b7... Quick Settings: Swipe to switch
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java'
Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java'
[email protected]:~/testrasbean/frameworks/base$ git status
# Not currently on any branch.
# You are currently cherry-picking.
# (fix conflicts and run "git commit")
#
# Unmerged paths:
# (use "git add <file>..." to mark resolution)
#
# both modified: packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
# both modified: packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
#
no changes added to commit (use "git add" and/or "git commit -a")
[email protected]:~/testrasbean/frameworks/base$ git add packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
[email protected]:~/testrasbean/frameworks/base$ git add packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
[email protected]:~/testrasbean/frameworks/base$ git commit -c 6bbe7b7
[detached HEAD 13e45b8] Quick Settings: Swipe to switch
Author: Thiago Vinícius Freire de Araújo Ribeiro <[email protected]>
2 files changed, 188 insertions(+), 8 deletions(-)
[email protected]:~/testrasbean/frameworks/base$
trying to build...in the middle
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2547: class, interface, or enum expected
}
^
734 errors
make: *** [out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Preparing output jar [/home/jarman/testrasbean/out/target/common/obj/APPS/Mms_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/jarman/testrasbean/out/target/common/obj/APPS/Mms_intermediates/classes.jar]
DroidDoc took 15 sec. to write docs to out/target/common/docs/api-stubs
[email protected]:~/testrasbean$
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
Hi,
since last week I've been trying to port Omni to the ZTE nubia Z18 (NX606J) with more or less success but a few more obstacles to clear.
Basically, what I'm stuck at at the moment is the final make to build the actual ROM itself, but it's a bit more than that.. but first things first:
- I initialized the repo from OmniRom's android repository on GitHub and successfully ran repo sync
Code:
repo init -u git://github.com/omnirom/android.git -b android-9.0 && repo sync -j `nproc` -c -f --no-clone-bundle
- I cloned the device's config from youyim123's GitHub into device/nubia/nx606j, as per the envsetup.mk (so it finds the appropriate vendorsetup)
Code:
git clone https://github.com/youyim123/android_device_nubia_nx609j.git -b master
- I run . build/envsetup.sh and then lunch omni-nx606j-eng which produces
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_nx606j
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.16-96.current-x86_64-Solus-3.9999
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PD1A.180720.031
OUT_DIR=/run/media/curtisy/Solus-Data/Omni_NX606J/out
============================================
- I run make clean && make -j4, this works for a while and then exits with of the following error:
Code:
ninja: error: 'prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libunwind.a', needed by '/run/media/curtisy/Solus-Data/Omni_NX606J/out/soong/.intermediates/external/boringssl/libcrypto/android_arm_armv8-a_cortex-a53_core_shared/libcrypto.so', missing and no known rule to make it
20:00:44 ninja failed with: exit status 1
I see it's missing some files, but repo sync again, doesn't help either, so I'm lost.
One pretty weird thing I noticed is that the second ninja step is only showing 55/56 as done but still continues. Is this normal?
Code:
[1/1] /run/media/curtisy/Solus-Data/Om...X606J/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[77/77] /run/media/curtisy/Solus-Data/...Data/Omni_NX606J/out/soong/build.ninja
Running make recoveryimage worked once, but when I tried flashing that, my device said it wasn't trusted and I had to reflash the source image again.
I'm really hitting a dead end with my little knowledge here, so it would be cool if anyone could point me in the right direction so I could at least get TWRP to work.
The phone has a Snapdragon 845. If you need any additional information, feel free to ask as I'm happy about any straw I can grab here.
Update: I somehow got around this issue doing another repo sync but now I'm prompted with another issue.
Code:
[945/945] including vendor/omni/Android.mk ...
packages/apps/Bluetooth/Android.mk: error: Bluetooth (APPS android-arm) missing libbluetooth_jni (SHARED_LIBRARIES android-arm)
Available variants:
libbluetooth_jni (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:833: error: exiting from previous errors.
03:34:57 ckati failed with: exit status 1
Or with ALLLOW_MISSING_DEPENDENCIES=true
Code:
[ 99% 1390/1391] glob vendor/omni/overlay/common/**/*
ninja: error: '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj_arm/SHARED_LIBRARIES/libbluetooth_jni_intermediates/link_type', needed by '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj/APPS/Bluetooth_intermediates/2ND_jni_link_type', missing and no known rule to make it
03:39:28 ninja failed with: exit status 1
For reference, this is the kernel source and this is the device specific source I'm currently using.
curtisy said:
Update: I somehow got around this issue doing another repo sync but now I'm prompted with another issue.
Code:
[945/945] including vendor/omni/Android.mk ...
packages/apps/Bluetooth/Android.mk: error: Bluetooth (APPS android-arm) missing libbluetooth_jni (SHARED_LIBRARIES android-arm)
Available variants:
libbluetooth_jni (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:833: error: exiting from previous errors.
03:34:57 ckati failed with: exit status 1
Or with ALLLOW_MISSING_DEPENDENCIES=true
Code:
[ 99% 1390/1391] glob vendor/omni/overlay/common/**/*
ninja: error: '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj_arm/SHARED_LIBRARIES/libbluetooth_jni_intermediates/link_type', needed by '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj/APPS/Bluetooth_intermediates/2ND_jni_link_type', missing and no known rule to make it
03:39:28 ninja failed with: exit status 1
For reference, this is the kernel source and this is the device specific source I'm currently using.
Click to expand...
Click to collapse
How do for fix?
Hi everyone ,
I have faced problems. Before telling the problems ;
I want to learn how to build LineageOS on Ubuntu 18.04. I create the virtual device which is Ubuntu 18.04 64 Bit, 110GB 4 core 8GB.
And search the source on internet how to build custom rom
Then
I had installed the java jdk 8
I have created the rom file which is lineage , cd lineage
repo init -u git://github.com/LineageOS/android.git -b lineage-17.1
repo sync
git clone https://github.com/sm6150-dev/android_device_xiaomi_davinci/tree/lineage-17.1 -b lineage-17.1 device/xiaomi/davinci
git clone https://github.com/mishamyrt/davinci-pancake-kernel -b ten kernel/xiaomi/davinci
Some sources say you have to export/repo common tree but I did not find this, and you have to replace name, device name in some mk files which are the AndroidProducts.mk
when I see these files and open their, it seems ok I did not change anything.
croot
brunch davinci
and I faced this problem :
[100% 139/139] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
internal error: failed to find dex jar path for module "WfdCommon"
internal error: failed to find dex jar path for module "WfdCommon"
13:52:32 soong bootstrap failed with: exit status 1
#### failed to build some targets (02:42 (mm:ss)) ####
Could you please tell me what can I do, How can I build unoffical LineageOS 17.1, I want to build.
What trees do I use ?
Thanks
I also have the same problem
06:51:32 Build sandboxing disabled due to nsjail error.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200618-UNOFFICIAL-lmi
TARGET_PRODUCT=lineage_lmi
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a75
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.0-9-cloud-amd64-x86_64-Debian-GNU/Linux-10-(buster)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200605.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/lmi device/xiaomi/lmi hardware/qcom-caf/kona
============================================
[100% 2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/bu
ild.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
internal error: failed to find dex jar path for module "WfdCommon"
internal error: failed to find dex jar path for module "WfdCommon"
06:52:34 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
#### failed to build some targets (01:01 (mm:ss)) ####
Click to expand...
Click to collapse
I think something wrong with your local manifest.
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))