[Android Software Development] dorianpb:
Ok, my previous problem it fixed :). My bad news is that this happens:

[root@Yggdrasil]: /home/dorianpb/Desktop/twrp># make clean && make recoveryimage
15:02:04 Entire build directory removed.

#### build completed successfully ####

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=omni_j7popltetfnvzw
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.15-1-zen-x86_64-with-arch-Arch-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM2.171019.029
OUT_DIR=/home/dorianpb/Desktop/twrp/out
============================================
[44/44] bootstrap /home/dorianpb/Desktop/twrp/out/soong/.minibootstrap/build.ninja.in
[4/4] cp /home/dorianpb/Desktop/twrp/out/soong/.bootstrap/bin/bpglob
[452/453] glob vendor/*/*/*/*/*/*/Android.bp
[36/51] test android/soong/cc/config
open : no such file or directory
PASS
[47/51] test android/soong/cc
open : no such file or directory
PASS
[50/51] soong_build docs /home/dorianpb/Desktop/twrp/out/soong/.bootstrap/docs/soong_build.html
open : no such file or directory
[51/51] /home/dorianpb/Desktop/twrp/out/soong/.bootstrap/bin/soong_build /home/dorianpb/Desktop/twrp/out/soong/build.ninja
open : no such file or directory
/home/dorianpb/Desktop/twrp/out/build-omni_j7popltetfnvzw.ninja is missing, regenerating...
[166/189] 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
[184/189] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:111: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[189/189] including ./vendor/omni/Android.mk ...
No private recovery resources for TARGET_DEVICE j7popltetfnvzw
TARGET_USES_UNCOMPRESSED_KERNEL is deprecated.
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/samsung/j7popltetfnvzw
vendor/omni/build/tasks/kernel.mk:172: warning: * for more information *
vendor/omni/build/tasks/kernel.mk:173: warning: ***************************************************************
build/core/base_rules.mk:390: warning: overriding commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/recovery/root/etc/mke2fs.conf'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/recovery/root/etc/mke2fs.conf'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:390: warning: overriding commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/root/res/images/charger/battery_scale.png'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/root/res/images/charger/battery_scale.png'
build/core/Makefile:34: warning: overriding commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/mkshrc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/mkshrc'
[ 99% 1015/1016] glob vendor/*/*/*/*/*/*/Android.bp
[100% 2/2] build /home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/recovery-resource.dat
FAILED: /home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/recovery-resource.dat
/bin/bash -c "(find /home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/recovery/root/res -type f | sort | zip -0qrjX /home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/recovery-resource.dat -@ ) && (prebuilts/build-tools/linux-x86/bin/ziptime /home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/recovery-resource.dat )"
find: ‘/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/recovery/root/res’: No such file or directory

zip error: Nothing to do! (/home/dorianpb/Desktop/twrp/out/target/product/j7popltetfnvzw/system/etc/recovery-resource.dat)
ninja: build stopped: subcommand failed.
15:02:32 ninja failed with: exit status 1

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

My device tree is here : https://drive.google.com/open?id=1iNPQuxoy2uBgr1hxwWCqYQZ8vPU3r6c6