[Android Software Development] DeadSquirrel01:
I got the same problem after used updated version, too. here is the log

Starting recovery on Sun Jun 28 23:36:33 2015

fb0 reports (possibly inaccurate):

vi.bits_per_pixel = 32

vi.red.offset = 0 .length = 8

vi.green.offset = 8 .length = 8

vi.blue.offset = 16 .length = 8

setting GGL_PIXEL_FORMAT_RGBA_8888

framebuffer: 3 (720 x 1280)

Overlay Set Failed: Function not implemented

Using overlay graphics.

display_frame failed, no overlay

: Function not implemented

display_frame failed, no overlay

: Function not implemented

Carliv Touch Recovery v5.7 ** Android 5.1.1

display_frame failed, no overlay

: No such file or directory

Compiled by root@Kali on: 2016-07-05

display_frame failed, no overlay

: No such file or directory

recovery filesystem table

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

0 /tmp ramdisk (null) (null) 0

1 /boot emmc /dev/block/mmcblk0p16 (null) 0

2 /recovery emmc /dev/block/mmcblk0p17 (null) 0

3 /system ext4 /dev/block/mmcblk0p24 (null) 0

4 /cache ext4 /dev/block/mmcblk0p25 (null) 0

5 /data ext4 /dev/block/mmcblk0p27 (null) 0

6 /internal_sd datamedia /dev/null (null) 0

7 /sdcard vfat /dev/block/mmcblk0p1 (null) 0

I:Completed outputting fstab.

I:using /data/media/0 for /internal_sd

I:applying rtc time 15464193

I:setting time offset from file /data/time/ats_2, offset 1452448497812

I:Processing arguments.

I:Checking arguments.

Warning: No file_contexts

Command: "/sbin/recovery"

av.offload.enable=true

av.streaming.offload.enable=true

mm.enable.qcom_parser=3179041

mm.enable.smoothstreaming=true

ro.qc.sdk.izat.service_mask=0x0

ro.qc.sdk.izat.premium_enabled=0

ro.qc.sdk.audio.fluencetype=none

ro.sf.lcd_density=320

ro.ctr.crypto.passwd="default_password"

ro.ctr.touch_accuracy=14

ro.gps.agps_provider=1

ro.nfc.sec_hal=true

ro.ril.transmitpower=true

ro.sys.usb.default.config=mtp

ro.boot.ftm=0

ro.boot.emmc=true

ro.boot.sec_atd.tty=/dev/ttyHSL0

ro.boot.selinux=permissive

ro.boot.baseband=msm

ro.boot.hardware=qcom

ro.boot.serialno=0c79c246

ro.boot.bootdevice=7824900.sdhci

ro.boot.bootloader=A500FUXXU1BOJ6

ro.boot.debug_level=0x4f4c

ro.boot.warranty_bit=1

ro.boot.boot_recovery=1

ro.boot.security_mode=1526595584

ro.boot.cp_debug_level=0x55FF

ro.hwui.path_cache_size=32

ro.hwui.layer_cache_size=48

ro.hwui.texture_cache_size=72

ro.hwui.gradient_cache_size=1

ro.hwui.r_buffer_cache_size=8

ro.hwui.drop_shadow_cache_size=6

ro.hwui.text_large_cache_width=2048

ro.hwui.text_small_cache_width=1024

ro.hwui.text_large_cache_height=1024

ro.hwui.text_small_cache_height=1024

ro.hwui.texture_cache_flushrate=0.4

ro.wifi.channels=

ro.allow.mock.location=1

ro.board.platform=msm8916

ro.build.id=LMY48Y

ro.build.date=mar 5 lug 2016, 18.29.01, CEST

ro.build.date.utc=1467736141

ro.build.host=Kali

ro.build.tags=test-keys

ro.build.type=eng

ro.build.user=root

ro.build.flavor=full_a5ultexx-eng

ro.build.display.id=full_a5ultexx-eng 5.1.1 LMY48Y eng.root.20160705.182450 test-keys

ro.build.product=a5ultexx

ro.build.version.sdk=22

ro.build.version.base_os=

ro.build.version.release=5.1.1

ro.build.version.codename=REL

ro.build.version.incremental=eng.root.20160705.182450

ro.build.version.all_codenames=REL

ro.build.version.security_patch=2015-12-01

ro.build.description=full_a5ultexx-eng 5.1.1 LMY48Y eng.root.20160705.182450 test-keys

ro.build.fingerprint=samsung/full_a5ultexx/a5ultexx:5.1.1/LMY48Y/eng.root.20160705.182450:eng/test-keys

ro.build.characteristics=default

ro.config.max_starting_bg=8

ro.kernel.android.checkjni=1

ro.secure=0

ro.vendor.extension_library=libqti-perfd-client.so

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.cpu.abilist=armeabi-v7a,armeabi

ro.product.cpu.abilist32=armeabi-v7a,armeabi

ro.product.cpu.abilist64=

ro.product.name=full_a5ultexx

ro.product.board=MSM8916

ro.product.brand=samsung

ro.product.model=SM-A500FU

ro.product.device=a5ultexx

ro.product.locale.region=AU

ro.product.locale.language=en

ro.product.manufacturer=samsung

ro.baseband=msm

ro.bootmode=unknown

ro.chipname=MSM8916

ro.hardware=qcom

ro.opengles.version=196608

ro.qualcomm.bt.hci_transport=smd

ro.qualcomm.cabl=0

ro.revision=2

ro.serialno=0c79c246

ro.warmboot.capability=1

ro.telephony.ril_class=A5FURIL

ro.telephony.default_network=9

ro.bootloader=A500FUXXU1BOJ6

ro.debuggable=1

ro.factorytest=0

ro.product_ship=true

ro.use_data_netmgrd=false

net.bt.name=Android

net.change=net.bt.name

ril.subscription.types=NV,RUIM

use.voice.path.for.pcm.voip=true

init.svc.vold=running

init.svc.ueventd=running

init.svc.recovery=running

init.svc.setup_adbd=stopped

rild.libargs=-d /dev/smd0

rild.libpath=/system/lib/libsec-ril.so

vidc.enc.narrow.searchrange=1

wifi.interface=wlan0

audio.offload.pcm.16bit.enable=true

audio.offload.pcm.24bit.enable=true

audio.offload.buffer.size.kb=64

audio.offload.gapless.enabled=true

debug.sf.hw=1

debug.sf.gpu_comp_tiling=1

debug.egl.hw=1

debug.mdpcomp.logs=0

debug.mdpcomp.idletime=600

debug.mdpcomp.maxlayer=3

debug.composition.type=dyn

media.aac_51_output_enabled=true

dalvik.vm.heapsize=512m

dalvik.vm.heapmaxfree=8m

dalvik.vm.heapminfree=512k

dalvik.vm.dexopt-flags=m=y

dalvik.vm.heapstartsize=8m

dalvik.vm.dex2oat-filter=interpret-only

dalvik.vm.heapgrowthlimit=192m

dalvik.vm.stack-trace-file=/data/anr/traces.txt

dalvik.vm.image-dex2oat-filter=verify-none

dalvik.vm.heaptargetutilization=0.75

tunnel.audio.encode=false

camera2.portability.force_api=1

persist.gps.qmienabled=true

persist.gps.qc_nlp_in_use=1

persist.hwc.ptor.enable=true

persist.hwc.mdpcomp.enable=true

persist.hwc.enable_vds=1

persist.sys.usb.config=mtp,adb

persist.sys.wfd.virtual=0

persist.sys.lazy.dexopt=0

persist.sys.skip.dexopt=0

persist.sys.dalvik.vm.lib.2=dalvik.vm.isa.arm.features=div,needfix_835769

persist.sys.isUsbOtgEnabled=true

persist.data.netmgrd.qos.enable=false

persist.rild.nitz_plmn=""

persist.rild.nitz_long_ons_0=""

persist.rild.nitz_long_ons_1=""

persist.rild.nitz_long_ons_2=""

persist.rild.nitz_long_ons_3=""

persist.rild.nitz_short_ons_0=""

persist.rild.nitz_short_ons_1=""

persist.rild.nitz_short_ons_2=""

persist.rild.nitz_short_ons_3=""

persist.audio.fluence.speaker=true

persist.audio.fluence.voicerec=false

persist.audio.fluence.voicecall=true

persist.debug.wfd.enable=1

persist.radio.jbims=1

persist.radio.add_power_save=1

persist.radio.apm_sim_not_pwdn=1

persist.radio.no_wait_for_card=1

persist.radio.use_se_table_only=1

persist.timed.enable=true

service.adb.root=1

recovery.perf.mode=0

telephony.lteOnGsmDevice=1

I:Checking for extendedcommand...

display_frame failed, no overlay

: No such file or directory

I:Skipping execution of extendedcommand, file not found...

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

No files found.

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

No files found.

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

No files found.

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

Now send the package you want to apply to

the device with "adb sideload <filename>"...

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

I:sideload thread finished

Restarting adbd...

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

Now send the package you want to apply to

the device with "adb sideload <filename>"...

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

I:sideload thread finished

Restarting adbd...

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: File exists

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: No such file or directory

Rebooting...

display_frame failed, no overlay

: No such file or directory

display_frame failed, no overlay

: File exists

As you can see it reboot and some command works but the UI not

eveyone says to remove TARGET_USES_QCOM_BSP := true from BoardConfig.mk (regarding philz) but it doesn't work. the only think I done was removing:

#else

ionAllocData.heap_mask =

from graphics_overlay.c, beacause I got "'struct ion_allocation_data' has no member named 'heap_mask'". What do you think?

Here's my BoardConfig.mk

# inherit from qcom-common

-include device/samsung/qcom-common/BoardConfigCommon.mk

TARGET_CPU_ABI := armeabi-v7a

TARGET_CPU_ABI2 := armeabi

TARGET_ARCH_VARIANT := armv7-a-neon

LOCAL_PATH := device/samsung/a5ultexx

TARGET_NO_BOOTLOADER := true

TARGET_ARCH := arm

ANDROID_COMMON_BUILD_MK = true

# Platform

TARGET_BOARD_PLATFORM := msm8916

TARGET_BOARD_PLATFORM_GPU := qcom-adreno306

TARGET_BOOTLOADER_BOARD_NAME := MSM8916

# Arch

TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp

TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp

TARGET_CPU_VARIANT := cortex-a53

TARGET_CPU_CORTEX_A53 := true

TARGET_SPECIFIC_HEADER_PATH := device/samsung/a5ultexx/include

# Kernel

BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci

BOARD_KERNEL_BASE := 0x80000000

BOARD_RAMDISK_OFFSET := 0x02000000

BOARD_KERNEL_TAGS_OFFSET := 0x01e00000

BOARD_KERNEL_SEPARATED_DT := true

BOARD_KERNEL_PAGESIZE := 2048

TARGET_PREBUILT_KERNEL := device/samsung/a5ultexx/kernel

# Assert

TARGET_OTA_ASSERT_DEVICE := a5ulte,a5ultexx,SM-A500FU

# Partition sizes

TARGET_USERIMAGES_USE_EXT4 := true

BOARD_BOOTIMAGE_PARTITION_SIZE := 13631488

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 15728640

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2411724800

BOARD_PERSISTIMAGE_PARTITION_SIZE := 8388608

BOARD_USERDATAIMAGE_PARTITION_SIZE := 12767444992

BOARD_FLASH_BLOCK_SIZE := 131072

# Bluetooth

BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/a5ultexx/bluetooth

BOARD_HAVE_BLUETOOTH := true

BOARD_HAVE_BLUETOOTH_QCOM := true

BLUETOOTH_HCI_USE_MCT := true

# Custom RIL class

BOARD_RIL_CLASS := ../../../device/samsung/a5ultexx/ril/

# NFC

BOARD_HAVE_NFC := true

# Fonts

EXTENDED_FONT_FOOTPRINT := true

# malloc implementation

MALLOC_IMPL := dlmalloc

# Audio

BOARD_USES_ALSA_AUDIO := true

AUDIO_FEATURE_LOW_LATENCY_PRIMARY := true

# Charger

BOARD_CHARGER_SHOW_PERCENTAGE := true

BOARD_CHARGER_ENABLE_SUSPEND := true

# Enable QCOM FM feature

TARGET_QCOM_NO_FM_FIRMWARE := true

AUDIO_FEATURE_ENABLED_FM := true

# Enable HW based full disk encryption

TARGET_HW_DISK_ENCRYPTION := true

# Build our own PowerHAL

TARGET_POWERHAL_SET_INTERACTIVE_EXT := $(LOCAL_PATH)/power/power_ext.c

TARGET_POWERHAL_VARIANT := qcom

# Wifi

BOARD_HAS_QCOM_WLAN	:= true

BOARD_HAS_QCOM_WLAN_SDK	:= true

BOARD_HOSTAPD_DRIVER	:= NL80211

BOARD_HOSTAPD_PRIVATE_LIB	:= lib_driver_cmd_qcwcn

BOARD_WLAN_DEVICE	:= qcwcn

BOARD_WPA_SUPPLICANT_DRIVER	:= NL80211

BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn

TARGET_PROVIDES_WCNSS_QMI := true

TARGET_USES_QCOM_WCNSS_QMI	:= true

TARGET_USES_WCNSS_CTRL	:= true

WIFI_DRIVER_FW_PATH_AP	:= "ap"

WIFI_DRIVER_FW_PATH_STA	:= "sta"

WPA_SUPPLICANT_VERSION	:= VER_0_8_X

# Bluetooth

BOARD_HAVE_BLUETOOTH := true

BOARD_HAVE_BLUETOOTH_QCOM := true

BLUETOOTH_HCI_USE_MCT := true

# Vold

TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun%d/file

BOARD_VOLD_DISC_HAS_MULTIPLE_MAJORS := true

BOARD_VOLD_MAX_PARTITIONS := 65

# Camera

TARGET_PROVIDES_CAMERA_HAL := true

USE_DEVICE_SPECIFIC_CAMERA := true

# CMHW

BOARD_HARDWARE_CLASS += device/samsung/a5ultexx/cmhw

# Workaround to avoid issues with legacy liblights on QCOM platforms

TARGET_PROVIDES_LIBLIGHT := true

# Qcom

BOARD_USES_QC_TIME_SERVICES := true

TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/

PROTOBUF_SUPPORTED := true

HAVE_SYNAPTICS_I2C_RMI4_FW_UPGRADE := true

# Media

TARGET_QCOM_MEDIA_VARIANT := caf

TARGET_ENABLE_QC_AV_ENHANCEMENTS := true

# Display

TARGET_CONTINUOUS_SPLASH_ENABLED := true

NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

MAX_EGL_CACHE_KEY_SIZE := 12*1024

MAX_EGL_CACHE_SIZE := 2048*1024

OVERRIDE_RS_DRIVER := libRSDriver_adreno.so

# ANT+

BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"

# SELinux

include device/qcom/sepolicy/sepolicy.mk

BOARD_SEPOLICY_DIRS += \

device/samsung/a5ultexx/sepolicy

BOARD_SEPOLICY_UNION += \

vold.te \

file.te \

wcnss_service.te \

file_contexts

# Misc.

TARGET_SYSTEM_PROP := device/samsung/a5ultexx/system.prop

# Display

RECOVERY_GRAPHICS_USE_LINELENGTH := true

TW_BRIGHTNESS_PATH := /sys/devices/soc.0/1a00000.qcom\x2cmdss_mdp/qcom\x2cmdss_fb_primary.138/leds/lcd-backlight/brightness

TW_MAX_BRIGHTNESS := 255

TW_NEW_ION_HEAP := true

# Keys

BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/samsung/a5ultexx/recovery/recovery_keys.c

BOARD_HAS_NO_SELECT_BUTTON := true

# Storage

RECOVERY_SDCARD_ON_DATA := true

# Recovery

RECOVERY_VARIANT := carliv

TARGET_RECOVERY_FSTAB := device/samsung/a5ultexx/recovery/root/etc/ctr.fstab

TARGET_RECOVERY_DENSITY := xhdpi

BOARD_HAS_NO_SELECT_BUTTON := true

TARGET_RECOVERY_PIXEL_FORMAT := "RGB_565"

DEVICE_SCREEN_WIDTH := 720

DEVICE_SCREEN_HEIGHT := 1280

VIBRATOR_TIMEOUT_FILE := /sys/devices/virtual/timed_output/vibrator/enable

BOARD_USE_CUSTOM_RECOVERY_FONT := "font_16x35.h"

DEVICE_RESOLUTION := 720x1280

BOARD_USE_PROTOCOL_TYPE_B := true

# Dex

ifeq ($(HOST_OS),linux)

ifeq ($(TARGET_BUILD_VARIANT),user)

ifeq ($(WITH_DEXPREOPT),)

WITH_DEXPREOPT := true

endif

endif

endif

What should I add / remove?

My processor is a qcom MSM8916