[Android General] psychem:
okay i placed those files and this error is gone, now the output looks like this, but the recovery is still unbootable. i also noticed this recovery is only 9.1mb whereas the recovery which full LOS16 build spits out is 14.1 mb

root@mx:/home/psychem/losTWRP# mka recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_onyx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.18-antix.1-amd64-smp-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ2A.190205.001
OUT_DIR=/home/psychem/losTWRP/out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
[ 20% 2/10] Building Kernel Config
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
GEN /home/psychem/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
GEN /home/psychem/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
[ 30% 3/10] Building Kernel Headers
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
GEN /home/psychem/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
CHK include/linux/version.h
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
[ 40% 4/10] Building Kernel
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
GEN /home/psychem/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/psychem/losTWRP/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Using /home/psychem/losTWRP/kernel/oneplus/onyx as source for kernel
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /home/psychem/losTWRP/kernel/oneplus/onyx/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
CAT arch/arm/boot/zImage-dtb
Kernel: arch/arm/boot/zImage-dtb is ready
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
Building DTBs
make: Entering directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
make[2]: Nothing to be done for 'arch/arm/boot/dtbs'.
make: Leaving directory '/home/psychem/losTWRP/kernel/oneplus/onyx'
[ 90% 9/10] ----- Compressing recovery ramdisk ------
----- Making recovery image ------
----- Made recovery image -------- /home/psychem/losTWRP/out/target/product/onyx/recovery.img
[100% 10/10] build /home/psychem/losTWRP/out/target/product/onyx/system/etc/recovery-resource.dat

#### build completed successfully (15 seconds) ####

root@mx:/home/psychem/losTWRP#