[Android Software Development] zameer_yus:
TWRP bootup faild

some how finally i compile TWRP without any error

but when i try to boot up device in recovery mode its going to download mode with a black background see attached image for details

please advice what could be the problem

thanks for help

#### make completed successfully (05:39 (mm:ss)) ####

target thumb C++: recovery <= bootable/recovery-twrp/twrp.cpp

target thumb C++: recovery <= bootable/recovery-twrp/fixContexts.cpp

target thumb C++: recovery <= bootable/recovery-twrp/twrpTar.cpp

target thumb C++: recovery <= bootable/recovery-twrp/twrpDU.cpp

target thumb C++: recovery <= bootable/recovery-twrp/twrpDigest.cpp

target thumb C++: recovery <= bootable/recovery-twrp/find_file.cpp

target thumb C++: recovery <= bootable/recovery-twrp/infomanager.cpp

target thumb C++: recovery <= bootable/recovery-twrp/data.cpp

target thumb C++: recovery <= bootable/recovery-twrp/partition.cpp

target thumb C++: recovery <= bootable/recovery-twrp/partitionmanager.cpp

target thumb C++: recovery <= bootable/recovery-twrp/progresstracking.cpp

target thumb C++: recovery <= bootable/recovery-twrp/twinstall.cpp

target thumb C++: recovery <= bootable/recovery-twrp/twrp-functions.cpp

target thumb C++: recovery <= bootable/recovery-twrp/openrecoveryscript.cpp

target thumb C: recovery <= bootable/recovery-twrp/digest/md5.c

target thumb C: recovery <= bootable/recovery-twrp/tarWrite.c

target Executable: recovery (/home/ahmad/cm13/out/target/product/on5xfltezc/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery)

target Unpacked: recovery (/home/ahmad/cm13/out/target/product/on5xfltezc/obj/EXECUTABLES/recovery_intermediates/PACKED/recovery)

target Symbolic: recovery (/home/ahmad/cm13/out/target/product/on5xfltezc/symbols/recovery/root/sbin/recovery)

target Strip: recovery (/home/ahmad/cm13/out/target/product/on5xfltezc/obj/EXECUTABLES/recovery_intermediates/recovery)

Install: /home/ahmad/cm13/out/target/product/on5xfltezc/recovery/root/sbin/recovery

----- Making recovery ramdisk ------

Copying baseline ramdisk...

Modifying ramdisk contents...

----- Making uncompressed recovery ramdisk ------

----- Making compressed recovery ramdisk ------

----- Making recovery image ------

+/home/ahmad/cm13/out/target/product/on5xfltezc/recovery.img maxsize=34197504 blocksize=135168 total=13299712 reserve=405504

Made recovery image: /home/ahmad/cm13/out/target/product/on5xfltezc/recovery.img

#### make completed successfully (05:39 (mm:ss)) ####

ahmad@ubuntu:~/cm13$

when i run make recoveryimage it bring some warnings

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/bzip2'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/bzip2'

"ebtables is disabled on this build"

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/unzip'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/unzip'

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/wget'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/wget'

find: ‘dummy’: No such file or directory

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.

No private recovery resources for TARGET_DEVICE on5xfltezc

No recovery.fstab for TARGET_DEVICE on5xfltezc

ahmad@ubuntu:~/cm13$ make recoveryimage

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

CM_VERSION=13.0-20170403-UNOFFICIAL-on5xfltezc

TARGET_PRODUCT=cm_on5xfltezc

TARGET_BUILD_VARIANT=eng

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.4.0-71-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=MOB31K

OUT_DIR=/home/ahmad/cm13/out

============================================

Checking build tools versions...

Not a git repository

To compare two paths outside a working tree:

usage: git diff [--no-index] <path> <path>

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/bzip2'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/bzip2'

"ebtables is disabled on this build"

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/unzip'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/unzip'

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:559: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/wget'

external/busybox/Android.mk:171: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/system/xbin/wget'

find: ‘dummy’: No such file or directory

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.

No private recovery resources for TARGET_DEVICE on5xfltezc

No recovery.fstab for TARGET_DEVICE on5xfltezc

build/core/tasks/kernel.mk:160: ***************************************************************

build/core/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *

build/core/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *

build/core/tasks/kernel.mk:163: * Please configure your device to download the kernel *

build/core/tasks/kernel.mk:164: * source repository to kernel/samsung/on5xfltezc

build/core/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building

build/core/tasks/kernel.mk:166: * for more information *

build/core/tasks/kernel.mk:167: ***************************************************************

build/core/tasks/kernel.mk:367: warning: overriding recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/kernel'

build/core/Makefile:46: warning: ignoring old recipe for target '/home/ahmad/cm13/out/target/product/on5xfltezc/kernel'

Export includes file: external/libcxx/Android.mk -- /home/ahmad/cm13/out/host/linux-x86/obj/SHARED_LIBRARIES/libc++_intermediates/export_includes

Export includes file: system/core/libmincrypt/Android.mk -- /home/ahmad/cm13/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes

Export includes file: external/compiler-rt/Android.mk -- /home/ahmad/cm13/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes

Import includes file: /home/ahmad/cm13/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/import_includes

please have a look of my old post for device trees

https://xdaforums.com/showpost.php?p=71695805&postcount=3040