[Android Software Development] wangdaning:
Been trying to compile it but keep running into problems. I assume we need it to be "make bootimage" versus "make recoveryimage" for Pixel 3 but the make bootimage throws me this:

~/android/omni $ make bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_blueline
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a
TARGET_CPU_VARIANT=cortex-a75
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a75
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-Linux-Mint-18.3
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190305.002
OUT_DIR=/home/grimm/android/omni/out
PRODUCT_SOONG_NAMESPACES=device/google/crosshatch/pixelstats device/google/crosshatch/usb device/google/crosshatch/health hardware/google/av hardware/google/interfaces hardware/qcom/sdm845/display
============================================
[1/1] /home/grimm/android/omni/out/soong/.minibootstrap/minibp /home/grimm/android/omni/out/soong/.bootstrap/build.ninja
[38/39] glob prebuilts/ndk/cpufeatures.bp
[75/75] /home/grimm/android/omni/out/soong/.bootstrap/bin/soong_build /home/grimm/android/omni/out/soong/build.ninja
/home/grimm/android/omni/out/build-aosp_blueline-cleanspec.ninja is missing, regenerating...
/home/grimm/android/omni/out/build-aosp_blueline.ninja is missing, regenerating...
[4/159] including bootable/recovery/Android.mk ...
/bin/bash: line 0: test: -ge: unary operator expected
/bin/bash: line 0: test: -ge: unary operator expected
[82/159] including frameworks/base/Android.mk ...
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
[138/159] including system/core/Android.mk ...
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
[148/159] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[159/159] including vendor/omni/Android.mk ...
BOARD_KERNEL_IMAGE_NAME not defined.
vendor/omni/build/tasks/kernel.mk:167: warning: ***************************************************************
vendor/omni/build/tasks/kernel.mk:168: warning: * Using prebuilt kernel binary instead of source *
vendor/omni/build/tasks/kernel.mk:169: warning: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/omni/build/tasks/kernel.mk:170: warning: * Please configure your device to download the kernel *
vendor/omni/build/tasks/kernel.mk:171: warning: * source repository to kernel/google/crosshatch/blueline
vendor/omni/build/tasks/kernel.mk:172: warning: * for more information *
vendor/omni/build/tasks/kernel.mk:173: warning: ***************************************************************
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/recovery/root/etc/mke2fs.conf'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/recovery/root/etc/mke2fs.conf'
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/root/res/images/charger/battery_scale.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/root/res/images/charger/battery_scale.png'
build/make/core/Makefile:28: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/etc/IPACM_cfg.xml'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/etc/IPACM_cfg.xml'
build/make/core/Makefile:28: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/system/lib/android.hidl.base@1.0.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/system/lib/android.hidl.base@1.0.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/system/lib64/android.hidl.base@1.0.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/system/lib64/android.hidl.base@1.0.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/lib/android.hidl.base@1.0.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/lib/android.hidl.base@1.0.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/lib64/android.hidl.base@1.0.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/grimm/android/omni/out/target/product/blueline/vendor/lib64/android.hidl.base@1.0.so'
[ 99% 1094/1095] glob tools/metalava/stub-annotations/src/main/java/**/*.java
ninja: error: '/home/grimm/android/omni/out/target/product/blueline/obj/STATIC_LIBRARIES/libnos_citadel_for_recovery_intermediates/export_includes', needed by '/home/grimm/android/omni/out/target/product/blueline/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
16:58:24 ninja failed with: exit status 1

#### failed to build some targets (31 seconds) ####

I have tried googling it but get nowhere. By the way a make recoveryimage succeeds with no actual output files :laugh:

I am guessing some things in the device tree need to be gutted, but I pulled it straight from the TWRP github.