[Xperia Z2 Q&A, Help & Troubleshooting] Pandemic:
I still working on the issue with the updater-script, so be patients, still aint find a solution in these days :(

I need to add this:

ui_print(" Making sure a copy of the original chargemon remains...");

package_extract_file("system/xbin/busybox", "/sbin/sh");

package_extract_file("chargemon.c650x", "/tmp/chargemon.c650x");

package_extract_file("chargemon.c660x", "/tmp/chargemon.c660x");

package_extract_file("backupstockbinaries.sh", "/sbin/backupstockbinaries.sh");

set_perm(0, 0, 0755, "/sbin/sh");

set_perm(0, 0, 0755, "/sbin/backupstockbinaries.sh");

run_program("/sbin/backupstockbinaries.sh");

set_progress(0.350000);

ui_print(" Extracting new recovery files to SYSTEM...");

package_extract_dir("system", "/system");

run_program("/sbin/cp", "/system/xbin/busybox", "/system/.XZDualRecovery/busybox");

set_progress(0.600000);

ui_print(" Stock ramdisk needed?");

package_extract_dir("tmp", "/tmp");

set_perm(0, 0, 0755, "/tmp/installstock.sh");

run_program("/tmp/installstock.sh");

set_perm(0, 0, 0755, "/tmp/installdisableric.sh");

run_program("/tmp/installdisableric.sh");

set_progress(0.700000);

ui_print(" Saving version...");

set_perm(0, 0, 0755, "/tmp/setversion.sh");

run_program("/tmp/setversion.sh");

set_progress(0.750000);

ui_print(" Correcting permissions...");

set_perm(0, 2000, 0644, "/system/bin/recovery.cwm.cpio.lzma");

set_perm(0, 2000, 0644, "/system/bin/recovery.philz.cpio.lzma");

set_perm(0, 2000, 0644, "/system/bin/recovery.twrp.cpio.lzma");

set_perm(0, 2000, 0755, "/system/bin/mr");

set_perm(0, 2000, 0755, "/system/bin/chargemon");

set_perm(0, 2000, 0755, "/system/bin/dualrecovery.sh");

set_perm(0, 2000, 0755, "/system/bin/rickiller.sh");

set_perm(0, 2000, 0755, "/system/xbin/busybox");

set_progress(0.850000);

and this is my updater script:

Into the excisting updater script in here somewhere:

ui_print("********Installing********");

ui_print("MoonWalker Revolution V1.0");

ui_print("Based On KK 4.4.4 For XZ2");

ui_print("Proudly Presents By");

ui_print("Pandemic@XDADevelopers");

ui_print("*******************************************");

ui_print("> Checking device model number");

show_progress(0.1, 0);

ui_print("> Formatting /system");

format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");

ui_print("> Copying to /system");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");

package_extract_dir("system", "/system");

ui_print("> Symlinking & correcting permissions");

symlink("toolbox", "/system/bin/printenv");

symlink("toolbox", "/system/bin/sync");

symlink("toolbox", "/system/bin/route");

symlink("toolbox", "/system/bin/df");

symlink("toolbox", "/system/bin/setsebool");

symlink("toolbox", "/system/bin/kill");

symlink("toolbox", "/system/bin/cmp");

symlink("toolbox", "/system/bin/vmstat");

symlink("mksh", "/system/bin/sh");

symlink("toolbox", "/system/bin/wipe");

symlink("toolbox", "/system/bin/chcon");

symlink("toolbox", "/system/bin/swapon");

symlink("toolbox", "/system/bin/schedtop");

symlink("toolbox", "/system/bin/getevent");

symlink("toolbox", "/system/bin/mv");

symlink("toolbox", "/system/bin/setenforce");

symlink("toolbox", "/system/bin/clear");

symlink("toolbox", "/system/bin/sendevent");

symlink("toolbox", "/system/bin/setconsole");

symlink("toolbox", "/system/bin/renice");

symlink("toolbox", "/system/bin/restorecon");

symlink("toolbox", "/system/bin/iftop");

symlink("toolbox", "/system/bin/watchprops");

symlink("toolbox", "/system/bin/lsof");

symlink("toolbox", "/system/bin/ln");

symlink("toolbox", "/system/bin/chown");

symlink("toolbox", "/system/bin/setprop");

symlink("toolbox", "/system/bin/ioctl");

symlink("toolbox", "/system/bin/dd");

symlink("toolbox", "/system/bin/rmmod");

symlink("toolbox", "/system/bin/notify");

symlink("toolbox", "/system/bin/nandread");

symlink("toolbox", "/system/bin/log");

symlink("toolbox", "/system/bin/mount");

symlink("toolbox", "/system/bin/readlink");

symlink("toolbox", "/system/bin/touch");

symlink("toolbox", "/system/bin/load_policy");

symlink("toolbox", "/system/bin/hd");

symlink("toolbox", "/system/bin/getprop");

symlink("toolbox", "/system/bin/start");

symlink("toolbox", "/system/bin/ps");

symlink("toolbox", "/system/bin/chmod");

symlink("toolbox", "/system/bin/dmesg");

symlink("toolbox", "/system/bin/ifconfig");

symlink("toolbox", "/system/bin/netstat");

symlink("toolbox", "/system/bin/rm");

symlink("toolbox", "/system/bin/mkswap");

symlink("toolbox", "/system/bin/getsebool");

symlink("toolbox", "/system/bin/md5");

symlink("toolbox", "/system/bin/cat");

symlink("toolbox", "/system/bin/insmod");

symlink("toolbox", "/system/bin/stop");

symlink("toolbox", "/system/bin/rmdir");

symlink("toolbox", "/system/bin/sleep");

symlink("toolbox", "/system/bin/getenforce");

symlink("toolbox", "/system/bin/ls");

symlink("toolbox", "/system/bin/uptime");

symlink("toolbox", "/system/bin/id");

symlink("toolbox", "/system/bin/date");

symlink("toolbox", "/system/bin/ionice");

symlink("toolbox", "/system/bin/du");

symlink("toolbox", "/system/bin/newfs_msdos");

symlink("toolbox", "/system/bin/swapoff");

symlink("toolbox", "/system/bin/runcon");

symlink("toolbox", "/system/bin/cp");

symlink("toolbox", "/system/bin/smd");

symlink("toolbox", "/system/bin/mkdir");

symlink("toolbox", "/system/bin/grep");

symlink("toolbox", "/system/bin/top");

symlink("toolbox", "/system/bin/lsmod");

symlink("toolbox", "/system/bin/umount");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 3003, 06755, "/system/bin/ip");

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_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");

set_perm(0, 0, 0755, "/system/etc/bluetooth");

set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");

set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");

set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");

set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/lib");

set_perm(0, 2000, 0755, "/system/vendor/lib/egl");

set_perm(0, 2000, 0755, "/system/vendor/lib/hw");

symlink("/data/etc/wlan_txpower_2_4g", "/system/etc/firmware/wlan/2_4g");

symlink("/data/etc/wlan_txpower_5g_high", "/system/etc/firmware/wlan/5g_high");

symlink("/data/etc/wlan_txpower_5g_low", "/system/etc/firmware/wlan/5g_low");

symlink("/data/etc/wlan_txpower_5g_mid", "/system/etc/firmware/wlan/5g_mid");

symlink("/data/etc/wlan_macaddr0", "/system/etc/firmware/wlan/macaddr0");

symlink("/system/lib/modules/prima/prima_wlan.ko", "/system/lib/modules/wlan.ko");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

set_perm(0, 2000, 0755, "/system/xbin/busybox");

run_program("system/xbin/busybox", "install", "-s", "/system/xbin");

package_extract_file("system/xbin/gen-symlinks-busybox.sh", "/tmp/gen-symlinks-busybox.sh");

set_perm(0, 0, 0777, "/tmp/gen-symlinks-busybox.sh");

run_program("/sbin/sh", "/tmp/gen-symlinks-busybox.sh", "/system/xbin");

show_progress(0.9, 0);

ui_print("> Rooting...");

run_program("/sbin/busybox", "mkdir", "/system/bin/.ext");

package_extract_file("system/xbin/su", "/system/xbin/daemonsu");

package_extract_file("system/xbin/su", "/system/xbin/sugote");

package_extract_file("system/bin/mksh", "/system/xbin/sugote-mksh");

package_extract_file("system/xbin/su", "/system/bin/.ext/.su");

set_perm(0, 0, 0755, "/system/xbin/su");

set_perm(0, 0, 0644, "/system/app/Superuser.apk");

set_perm(0, 0, 0777, "/system/bin/.ext");

set_perm(0, 0, 0755, "/system/bin/.ext/.su");

set_perm(0, 0, 0755, "/system/xbin/daemonsu");

set_perm(0, 0, 0755, "/system/xbin/sugote");

set_perm(0, 0, 0755, "/system/xbin/sugote-mksh");

set_perm(0, 0, 0644, "/system/etc/.installed_su_daemon");

run_program("/system/bin/toolbox", "chcon", "u:object_r:zygote_exec:s0", "/system/xbin/sugote");

run_program("/system/xbin/su", "--install");

ui_print("> Installing Dual Recovery...");

set_perm(0, 2000, 0644, "/system/bin/recovery.cwm.cpio.lzma");

set_perm(0, 2000, 0644, "/system/bin/recovery.philz.cpio.lzma");

set_perm(0, 2000, 0644, "/system/bin/recovery.twrp.cpio.lzma");

set_perm(0, 2000, 0755, "/system/bin/chargemon");

set_perm(0, 2000, 0755, "/system/bin/dualrecovery.sh");

set_perm(0, 2000, 0755, "/system/bin/rickiller.sh");

unmount("/system");

ui_print("> Flashing kernel");

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

show_progress(1, 0);

ui_print("Finished !");

ui_print("Wipe Dalvik And Cache");

ui_print("Reboot");

So if someone can help me with it, i very appriciate it ^^