[Android Q&A, Help & Troubleshooting] UtCollector@gmail.com:
Well i got something working. Here a small example of my copy-files.sh

#!/bin/sh

VENDOR=YG

DEVICE=m805_892x

#MANUFACTURER=YG

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/bin

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/bluetooth

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/dhcpcd

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/permissions

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/ppp

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/ril

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/etc/wifi

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/fonts

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/framework

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/lib/egl

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/lib/hw

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/lib/modules

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/media/audio/alarms

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/media/audio/notifications

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/media/audio/ringtones

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/media/audio/ui

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/idc

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/keychars

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/keylayout

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/share/zoneinfo

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/srec/config/en.us/dictionary

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/srec/config/en.us/g2p

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/srec/config/en.us/grammars

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/usr/srec/config/en.us/models

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/vendor/lib/egl

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/vendor/lib/hw

mkdir -p ../../../device/$VENDOR/$DEVICE/proprietary/wifi

cp -a src/lib/libril.so ../../../device/$VENDOR/$DEVICE/proprietary/lib/libril.so

cp -a src/key_921600.psr ../../../device/$VENDOR/$DEVICE/proprietary/key_921600.psr

cp -a src/key_3000000.psr ../../../device/$VENDOR/$DEVICE/proprietary/key_3000000.psr

cp -a src/ts.conf ../../../device/$VENDOR/$DEVICE/proprietary/ts.conf

cp -a src/bin/bugmailer.sh ../../../device/$VENDOR/$DEVICE/proprietary/bin/bugmailer.sh

cp -a src/bin/busybox ../../../device/$VENDOR/$DEVICE/proprietary/bin/busybox

cp -a src/bin/chkntfs ../../../device/$VENDOR/$DEVICE/proprietary/bin/chkntfs

cp -a src/bin/flash_eraseall ../../../device/$VENDOR/$DEVICE/proprietary/bin/flash_eraseall

cp -a src/bin/hostapd ../../../device/$VENDOR/$DEVICE/proprietary/bin/hostapd

cp -a src/bin/hostapd_cli ../../../device/$VENDOR/$DEVICE/proprietary/bin/hostapd_cli

cp -a src/bin/hostapd_wps ../../../device/$VENDOR/$DEVICE/proprietary/bin/hostapd_wps

cp -a src/bin/iptables ../../../device/$VENDOR/$DEVICE/proprietary/bin/iptables

cp -a src/bin/iwconfig ../../../device/$VENDOR/$DEVICE/proprietary/bin/iwconfig

cp -a src/wifi/wlan.ko ../../../device/$VENDOR/$DEVICE/proprietary/wifi/wlan.ko

./setup-makefiles.sh

my copy-files.sh