[OnePlus 3 Questions & Answers] keai4le:
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.