[XDA-University] Stryke_the_Orc:
Ok well, the most obvious thing I see is that you have flashed the bootimg to your system partition. In your updater script I see you mounted the /system partition and flashed everything then unmounted /system, but I don't see where you mounted /dev/block/mmcblk0 (the bootimg partition) at all. I've highlighted all the points where you have mounted or unmounted anything in your updater script. Your logcat symlink also will not work when it's written as

show_progress(0.500000, 0);
ui_print("");
ui_print("");
ui_print(" ********************************************************");
ui_print(" ");
ui_print(" Galaxy S5 G900f I9208 HTC ROM ");
ui_print(" (MTK6582 Quad-Core Processor) ");
ui_print(" HTC 1:1 porting ");
[HIDE]ui_print(" ");
ui_print(" ");
ui_print(" (La procedura e' in inglese perche' piu' figa) ");
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" Starting flash the ROM ");
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");
ui_print(" Setting up required tools... ");[/HIDE]
[COLOR="Red"]unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");[/COLOR]
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");
[COLOR="red"]ui_print(" Mount System ");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");[/COLOR]
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");
[COLOR="red"]ui_print(" Writing System ");
package_extract_dir("system", "/system");[/COLOR]
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");
[HIDE]ui_print(" Creating symlinks ");
symlink("/system/bin/aee_aed", "/system/bin/debuggerd");
symlink("/system/xbin/su", "/system/bin/su");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restart", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
symlink("/system/fonts/Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("/system/fonts/Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("wlan_mt6620.ko", "/system/lib/modules/wlan.ko");
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");
ui_print(" Setting permission ");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(1001, 1000, 0770, 0644, "/system/etc/ril");
set_perm(0, 0, 0444, "/system/etc/ril/oper.lis");
set_perm(0, 1000, 0750, "/system/etc/throttle.sh");
set_perm(1014, 2000, 0550, "/system/etc/wide-dhcpv6/dhcp6c.script");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib");
set_perm(0, 0, 0644, "/system/vendor/lib/libwvdrm_L3.so");
set_perm(0, 0, 0644, "/system/vendor/lib/libwvm.so");
set_perm(0, 0, 0644, "/system/vendor/lib/libWVStreamControlAPI_L3.so");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/lib/hw/gralloc.mt6582.so");
set_perm(0, 0, 0644, "/system/lib/hw/hwcomposer.mt6582.so");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/pittpatt");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/left_eye-y0-yi45-p0-pi45-r0-ri20.lg_32/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/nose_base-y0-yi45-p0-pi45-r0-ri20.lg_32/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/right_eye-y0-yi45-p0-pi45-r0-ri20.lg_32-2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-r0-ri30.4a-v24/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-rn30-ri30.5-v24/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-rp30-ri30.5-v24/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
ui_print(" ");
ui_print(" ************************************ ");
ui_print(" ************************************ ");
ui_print(" ");[/HIDE]
ui_print(" Flash the boot partition image ");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
[COLOR="red"]package_extract_file("boot.img", "/dev/bootimg");
package_extract_file("lk.bin", "/dev/uboot");[/COLOR]
show_progress(0.100000, 0);
[COLOR="red"]unmount("/system");[/COLOR]
run_program("/sbin/sleep", "5");

My advice, get it back to stock if you can and rewrite your script to function properly then try again.