Wanting to build Lineage 14.1 for Blu Life LTE (L0051UU) - LineageOS Questions & Answers

The current Android version is (as near as I can tell) stock AOSP 5.1.1 (LMY47V), running kernel 3.10.49.
I'm wanting to get it to as bleeding edge as possible without going into alpha/beta land. (Updated boot/kernel/recovery/OS)
I already have the manufacturer sources. (Directory tree, 1.67mb) (Full file tree, 21.2mb)
This source won't build without an SDK though.
INFO: Build Android tree for l5261
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Bluetooth_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/General_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Global_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Handset_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Hdmi_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Headset_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/Speaker_cal.acdb’: No such file or directory
cp: cannot create regular file ‘vendor/qcom/proprietary/mm-audio/audcal/family-b/acdbdata/8916/QRD/workspaceFile.qwsp’: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
TARGET_PRODUCT=l5261
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY47V
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/recovery/Android.mk ...
<<<TRIMMED, Redundant errors>>>
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/target/product/security/Android.mk ...
including ./build/tools/Android.mk ...
including ./development/apps/BluetoothDebug/Android.mk ...
including ./development/apps/BuildWidget/Android.mk ...
build/core/java.mk:23: *** development/apps/BuildWidget: Invalid LOCAL_SDK_VERSION 'current' Choices are: . Stop.
This manufacturer source is meant to be built with openjdk-7, and the newest version of lineage is supposed to be built with openjdk-8.
I have built VM's for Xubuntu 14.04 and 17.04, and just found out I can install openjdk-8 from the 15.04 repos into 14.04 if needed.
I have en ext4 system image of the stock ROM to pull binary blobs from if needed. (Or straight from the phone. The image is faster though.)
My questions are,
What OS should I be building on?
What openjdk version should I be using?
How do I extract the needed proprietary blobs without the script, and where do they go?
How do I integrate the manufacturer sources with Lineage to make it build?
What else am I missing? (files or conceptually?)
I've found a lot of guides to build from repositories, but nothing about integrating manufacturer source code...
Does anyone have any ideas, or any idea of a better place to look for information?

Related

Building AOSP 4.2: keystore_get.h: No such file or directory

Trying to compile AOSP 4.2 for the Galaxy Nexus. I can compile 4.1.2 just fine, but with 4.2 Im getting errors.
Code:
external/wpa_supplicant_8/hostapd/src/crypto/tls_openssl.c:49:35: fatal error: keystore/keystore_get.h: No such file or directory
compilation terminated.
Any ideas? This is on a fully updated Archlinux box.
Either you forgot to get the proprietary files from the device, or you just need to remove it from the makefile. Not at my pc atm, so can't look at it.
Sent from my Galaxy Nexus using xda premium
Untouchab1e said:
Trying to compile AOSP 4.2 for the Galaxy Nexus. I can compile 4.1.2 just fine, but with 4.2 Im getting errors.
Code:
external/wpa_supplicant_8/hostapd/src/crypto/tls_openssl.c:49:35: fatal error: keystore/keystore_get.h: No such file or directory
compilation terminated.
Any ideas? This is on a fully updated Archlinux box.
Click to expand...
Click to collapse
Arch Linux user here. I don't think you can build with python 3 yet. Not sure if that commit went in for JOP40C.
Still, what branch/tag are you building for? Did you merge 4.2 on top of 4.1.2 or they're on a different folder?
Sent from my i9250
bk201doesntexist said:
Arch Linux user here. I don't think you can build with python 3 yet. Not sure if that commit went in for JOP40C.
Still, what branch/tag are you building for? Did you merge 4.2 on top of 4.1.2 or they're on a different folder?
Sent from my i9250
Click to expand...
Click to collapse
I found this page googling , after geting the sae error. i am also on a fully updated arch machine(archbang to be exact). I have already configured my machine to use python 2.
Code:
[[email protected] ~]$ python -V
Python 2.7.3
This is my first attempt at compiling the android source. I am however fairly competent with android in general and have coded before in C. As it is my first attempt it was a fresh "repo sync".
Code:
[[email protected] firstTry]$ make -j3
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.2.42.42.42
TARGET_PRODUCT=full_toro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.6.6-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JB_MR1
OUT_DIR=out
============================================
figured this wuld be more valuable than just the branch/tag. Thanks in advance for the help
I resolved the issue. Archlinux is not to blame. I was building the master branch instead of 4.2. I noticed a commit that changes how the keystore header file is included and it breaks the build.. for me at least. Checked out the 4.2r1 branch and it compiled right away
Sent from my HTC One S using Tapatalk 2
sunjay118 said:
I found this page googling , after geting the sae error. i am also on a fully updated arch machine(archbang to be exact). I have already configured my machine to use python 2.
Code:
[[email protected] ~]$ python -V
Python 2.7.3
This is my first attempt at compiling the android source. I am however fairly competent with android in general and have coded before in C. As it is my first attempt it was a fresh "repo sync".
Code:
[[email protected] firstTry]$ make -j3
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.2.42.42.42
TARGET_PRODUCT=full_toro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.6.6-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JB_MR1
OUT_DIR=out
============================================
figured this wuld be more valuable than just the branch/tag. Thanks in advance for the help
Click to expand...
Click to collapse
You should probably change branches, like Untouchab1e did.
Untouchab1e said:
I resolved the issue. Archlinux is not to blame. I was building the master branch instead of 4.2. I noticed a commit that changes how the keystore header file is included and it breaks the build.. for me at least. Checked out the 4.2r1 branch and it compiled right away
Sent from my HTC One S using Tapatalk 2
Click to expand...
Click to collapse
Yeah, i figured that should be it. Most people don't want to build from the master branch. Glad you solved it.
Sent from my i9250
Thanks for getting back to me so quickly. I tried to follow your suggestion and it didnt pan out. As I said I am new to android development(and git and repo) so I assume it was a stupid mistake on my part. I triedto use repo to in the same directory i was using before:
Code:
[[email protected] firstTry]$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.2_r1
remote: Counting objects: 310, done
remote: Finding sources: 100% (3/3)
remote: Getting sizes: 100% (1/1)
remote: Total 3 (delta 1), reused 3 (delta 1)
Unpacking objects: 100% (3/3), done.
From https://android.googlesource.com/platform/manifest
5a09f80..fbb30a8 tradefed -> origin/tradefed
.repo/manifests/: discarding 1 commits
Your identity is: Jason S******* <js********[email protected]>
If you want to change this, please re-run 'repo init' with --config-name
repo initialized in /home/jason/android/firstTry
I then ran envsetup.sh again with no issue.
Then lunch again with no issue.
But when I then tried to compile I got the same error as before. I tried running repo branch and it returned "(no branches)" I was under the impression my repo command before would have added the 4.2_r1 branch. I tried git branch because this page also suggested it(source.android.com/source/version-control.html) it returned "fatal: Not a git repository (or any of the parent directories): .git" I assume its because I never set up anything with git since i undertook this project. I dont really know ow to move forward at this point. Like I said I assume I'm missing something simple. Thanks in advance.

Build errors - building nameless rom from source for yureka plus.

Hey all, I am trying to build nameless rom for yureka plus. I know there is already a nameless rom for yureka and I am not sure if it works for Yureka Plus. Does all roms for yureka work on yureka Plus or vice versa?
What I have done
1.I have downloaded the source code
2.But I don't know how to add local_manifest. and I don't know how to get proprietary blobs.
I have skipped those steps thinking that dev deeru might have already included preprietary blobs in source code by default.
here I have used
Code:
$ croot
$ brunch tomato
Ok I am getting these errors
Code:
PLATFORM_VERSION_CODENAME=REL PLATFORM_SECURITY_PATCH=2015-11-01 PLATFORM_VERSION=5.1.1 NAMELESS_VERSION=5.1.1-20151118-tomato ============================================ TARGET_PRODUCT=nameless_tomato TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv7-a-neon TARGET_2ND_CPU_VARIANT=cortex-a53 ============================================ HOST_ARCH=x86_64 HOST_OS=linux HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-LinuxMint-17-qiana HOST_BUILD_TYPE=release BUILD_ID=LVY48H OUT_DIR=/home/mohammed/nameless/out ============================================ Checking build tools versions... external/speex/Android.mk:55: TODOArm64: enable neon in libspeex TODOArm64: frameworks/compile/libbcc/Android.mk Add Arm64 define to LOCAL_CFLAGS TODOArm64: frameworks/compile/libbcc/bcinfo/Android.mk Enable build of libbcinfo device shared library TODOArm64: frameworks/compile/libbcc/lib/Core/Android.mk Add Arm64 define to LOCAL_CFLAGS TODOArm64: frameworks/compile/libbcc/lib/ExecutionEngine/Android.mk Add Arm64 define to LOCAL_CFLAGS TODOArm64: frameworks/compile/libbcc/lib/Renderscript/Android.mk Add Arm64 define to LOCAL_CFLAGS TODOArm64: frameworks/compile/libbcc/lib/Support/Android.mk Add Arm64 define to LOCAL_CFLAGS TODOArm64: frameworks/compile/libbcc/tools/bcc/Android.mk Add Arm64 define to LOCAL_CFLAGS
[B]find: `dummy': No such file or directory find: `../../../../../../external/hamcrest/src': No such file or directory find: `../../../../../../external/junit/src/org': No such file or directory find: `../../../../../../external/hamcrest/src': No such file or directory find: `vendor/cm/build/tools/droiddoc/templates-cmsdk': No such file or directory build/core/Makefile:46: warning: overriding commands for target `/home/mohammed/nameless/out/target/product/tomato/system/lib64/librmnetctl.so' build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/mohammed/nameless/out/target/product/tomato/system/lib64/librmnetctl.so' No private recovery resources for TARGET_DEVICE tomato build/core/tasks/kernel.mk:106: ***************************************************************
build/core/tasks/kernel.mk:107: * Using prebuilt kernel binary instead of source
* build/core/tasks/kernel.mk:108: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED * build/core/tasks/kernel.mk:109: * Please configure your device to download the kernel * build/core/tasks/kernel.mk:110: * source repository to kernel/yu/msm8916 build/core/tasks/kernel.mk:111: *
See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building build/core/tasks/kernel.mk:112: * for more information
* build/core/tasks/kernel.mk:113: ***************************************************************[/B]
Here is the full log : http://hastebin.com/ruxitacovo.apache
Any help is appreciated. Do let me know what is difference between Yureka plus and Yureka "ROMS"?
Do have a look at full log at hastebin

Issues building CM13 recovery

I'm trying to port CM13 over to this awesome device, and I am having some trouble. The porting guide on the CM wiki says that a kernel binary should have been created when I run mkvendor.sh on a boot image (which I extracted from a recent CM nightly .zip). However, it has not. Here's the output I obtained from mkvendor.sh:
Code:
[email protected]:~/android/system$ ./build/tools/device/mkvendor.sh amazon jem ~/Downloads/boot.img
Arguments: amazon jem /home/chris/Downloads/boot.img
Output will be in /home/chris/android/system/device/amazon/jem
unpackbootimg: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: premature end of archive
cat: /tmp/chris/bootimg/boot.img-base: No such file or directory
cat: /tmp/chris/bootimg/boot.img-cmdline: No such file or directory
cat: /tmp/chris/bootimg/boot.img-pagesize: No such file or directory
cp: cannot stat ‘/tmp/chris/bootimg/boot.img-zImage’: No such file or directory
Creating initial git repository.
~/android/system/device/amazon/jem ~/android/system
Initialized empty Git repository in /home/chris/android/system/device/amazon/jem/.git/
[master (root-commit) cc6cf31] mkvendor.sh: Initial commit of jem
7 files changed, 93 insertions(+)
create mode 100644 AndroidBoard.mk
create mode 100644 AndroidProducts.mk
create mode 100644 BoardConfig.mk
create mode 100644 cm.mk
create mode 100644 device_jem.mk
create mode 100644 recovery.fstab
create mode 100644 system.prop
~/android/system
Done!
Use the following command to set up your build environment:
lunch cm_jem-eng
[email protected]:~/android/system$
I initially had the 'unpackbootimg not found.' message when running mkvendor.sh, and the fix in the CM wiki's porting guide did not help, so I copied all the binaries in ~/android/system/out/host/linux-x86/bin to ~/bin as directed in this XDA developers post (and while that post addresses building ClockWorkMod specifically, I felt that the instructions also applied to CM building). After trying that, the 'unpackbootimg' message disappeared, and mkvendor.sh produced the output I included earlier.
Additionally, when I try to run lunch cm_jem-eng or lunch cm_jem-userdebug (after adding cm_jem-userdebug to the lunch menu), I get this output:
Code:
[email protected]:~/android/system$ lunch cm_jem-userdebug
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=13.0-20151203-UNOFFICIAL-jem
TARGET_PRODUCT=cm_jem
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-19-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/chris/android/system/out
============================================
[email protected]:~/android/system$
I'm not exactly sure what I'm doing wrong, and I think I might need to pull down the device-specific code for CM 12.1 from CM's GitHub. Any ideas? Thanks in advance.
Hey! , glad to see your trying this! i've managed to get this up and going a while back, i can get a successful build but its not always that easy, as mine will bootloop. but ive gotten passed alot of the errors that your possibly facing you can check them out here https://github.com/BuQQzz?tab=activity
hit me up on hangouts if you want to team up on this ,much faster communication ! Hangouts: [email protected]
BuQQzz said:
Hey! , glad to see your trying this! i've managed to get this up and going a while back, i can get a successful build but its not always that easy, as mine will bootloop. but ive gotten passed alot of the errors that your possibly facing you can check them out here https://github.com/BuQQzz?tab=activity
hit me up on hangouts if you want to team up on this ,much faster communication ! Hangouts: [email protected]
Click to expand...
Click to collapse
Thanks! I'll definitely message you on hangouts, and I'll compile a build or two soon to see if it works.

How can I build Resurrection Remix from source

I've just downloaded the Resurrection Remix source,
but have some trouble to add oneplus3 vendor and device tree to the source.
I'm a newbie, and this is my first try to make a building, I've tried with a full Saturday.
there is some input and out put:
source ./build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
▼ Which build-type do you want to choose?
〉 1- Official ︱ Only for the official builds by the maintainers
〉 2- Unofficial ︱ For the unofficial builds
〉 3- Nightly ︱ Only for the official daily builds by the maintainers
〉 4- Weekly ︱ Only for the official weekly builds by the maintainers
〉 5- Release ︱ Only for the official releases by the RR-Team
〉 6- Milestone ︱ Only for the milestone releases by the RR-Team
〉 7- Experimental ︱ Only for the experimental releases by the RR-Team
〉 8- Final ︱ Only for the final releases by the RR-Team
? 30/sec Time-out︱ Default option
▼ Pick a number
5
▪ Building release variant
0
▼ For how many days changelog do you want to generate?
? 30/sec Time-out ︱ 7 Days by default
▼ Type a number
√ Changelog successfully generated.
lunch 96
Looking for dependencies in device/oneplus/oneplus3
Looking for dependencies in device/oppo/common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
RR_VERSION=RR-N-v5.8.2-20170225-oneplus3-Release
TARGET_PRODUCT=lineage_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-63-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF26W
OUT_DIR=/home/xxxxx/work/op3rr/out
make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
RR_VERSION=RR-N-v5.8.2-20170225-oneplus3-Release
TARGET_PRODUCT=lineage_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-63-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF26W
OUT_DIR=/home/xxxxx/work/op3rr/out
============================================
Running kati to generate build-lineage_oneplus3.ninja...
Environment variable BUILD_NUMBER was modified (1bdec04390 => afb90f5872), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
RR_VERSION=RR-N-v5.8.2-20170225-oneplus3-Release
TARGET_PRODUCT=lineage_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-63-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF26W
OUT_DIR=/home/xxxxx/work/op3rr/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: `/home/xxxxx/work/op3rr/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': 没有那个文件或目录
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
cp: 无法获取'/home/xxxxx/work/op3rr/ota_conf' 的文件状态(stat): 没有那个文件或目录
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/NexusLauncher/NexusLauncher.apk:system/app/NexusLauncher/NexusLauncher.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/Wallpaper/Wallpaper.apk:system/app/Wallpaper/Wallpaper.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/DeskClock/DeskClock.apk:system/app/DeskClock/DeskClock.apk, use BUILD_PREBUILT instead!
No private recovery resources for TARGET_DEVICE oneplus3
build/core/java.mk:334: warning: overriding commands for target `/home/xxxxx/work/op3rr/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/xxxxx/work/op3rr/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/xxxxx/work/op3rr/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/xxxxx/work/op3rr/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/xxxxx/work/op3rr/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/xxxxx/work/op3rr/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/javalib.jar', needed by '/home/xxxxx/work/op3rr/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar', 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 failed to build some targets (26 seconds) ####
Now I have no idea how to solve the build error, I've check the tcmiface in vendor/qcom/opensource/dpm/,
It's really exist,
So, I guess there must be something wrong in my build step.
please pay attention to roomservice.xml..
Go here https://forum.xda-developers.com/oneplus-3/how-to/guide-complete-guide-building-t3477198
Read the bit about repo sync and roomservice.xml as this will download the bits needed for OP3..
The real error is actually this one:
lunch 96
Looking for dependencies in device/oneplus/oneplus3
Looking for dependencies in device/oppo/common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
Build will not complete without dependencies, which are related to roomservice.xml if my memory serve
hagar006 said:
please pay attention to roomservice.xml..
Go here https://forum.xda-developers.com/oneplus-3/how-to/guide-complete-guide-building-t3477198
Read the bit about repo sync and roomservice.xml as this will download the bits needed for OP3..
The real error is actually this one:
lunch 96
Looking for dependencies in device/oneplus/oneplus3
Looking for dependencies in device/oppo/common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
Build will not complete without dependencies, which are related to roomservice.xml if my memory serve
Click to expand...
Click to collapse
Thanks a lot! You save my time!
I almost give up trying building this ROM.
keai4le said:
Thanks a lot! You save my time!
I almost give up trying building this ROM.
Click to expand...
Click to collapse
You might more than likely get errors during the build but less so if roomservice.xml is in order.. Just take your time as stay calm during errors
hagar006 said:
You might more than likely get errors during the build but less so if roomservice.xml is in order.. Just take your time as stay calm during errors
Click to expand...
Click to collapse
I've been successful build this ROM! No error when building, thanks!
mind helping me out?
i trying to build for the Pixel XL....
i know it has to be tweaked but what steps did you take after you downloaded all the source code and set up the build environment?
Thanks
@hagar006 Is this thread still active? I'm having trouble building RR for my kltedv.

LineageOS building error libwifi not found?

Hey all! I ve tryed to build the LineageOS for my Nexus 5 Hammerheadcaf phone, but I run into issues. I synced the repo like this:
repo init -u github.com/LineageOS/android.git -b cm-14.1
repo sync
After this i run the first build like this:
source build/envsetup.sh
breakfast hammerhead
brunch hammerhead
After this I run into trouble cause the vendor libs were missing. So I installed LineageOS on the smartphone (stockrom) and than I used the
/extract-files.sh
Click to expand...
Click to collapse
from here: wiki.lineageos.org/devices/hammerhead/build
Several binaries were pulled and I could move on a bit. Now it seems to hang here and I got no clue how to solve this in a regular way. The file seems to be missing (libwifi-hal-mock_intermediates). I also could not find this file on the smartphone with the regular Lineageos? I guess it is possible to remove this file out of the dependencies? Could you please tell me how and why is LineageOS CM 14.1 looking for this file on nexus 5 hammerheadcaf? Here is the log:
Code:
============================================
Running kati to generate build-lineage_hammerhead.ninja...
/home/android/android/lineage/out/build-lineage_hammerhead.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170718-UNOFFICIAL-hammerhead
TARGET_PRODUCT=lineage_hammerhead
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-58-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47D
OUT_DIR=/home/android/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: "/home/android/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates": Datei oder Verzeichnis nicht gefunden
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/base_rules.mk:183: *** vendor/lge/proprietary_vendor_lge/hammerhead: MODULE.TARGET.APPS.TimeService already defined by vendor/lge/hammerhead.
build/core/ninja.mk:166: die Regel für Ziel „/home/android/android/lineage/out/build-lineage_hammerhead.ninja“ scheiterte
make: *** [/home/android/android/lineage/out/build-lineage_hammerhead.ninja] Fehler 1
make: Verzeichnis „/home/android/android/lineage“ wird verlassen
#### make failed to build some targets (01:12 (mm:ss)) ####
possible reason? --> /home/android/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates not found?
Could you please help me to build this lineageos for my phone? nexus 5 hammerhead (hammerheadcaf) CM 14-1. I am using Ubuntu 16.04 LTS to compile this and got aosp working.
Hallo! Wie gehts?
Did you find the solution? I have the exact same issue.
jotapdiez said:
Hallo! Wie gehts?
Did you find the solution? I have the exact same issue.
Click to expand...
Click to collapse
Same error here. I have extracted mixed blob libraries from two devices into one for common hardware. The building process doesn't halt though.

Categories

Resources