[Android Q&A, Help & Troubleshooting] Pikachuk:
Hello,i'm Pikachuk, i'm new here so sorry if i post this question in the wrong section.

I've been trying to make custom rom for the "Archos 50 helium +"

this phone runs under android 5.1 and uses the chipset MT6735

Because i found absolutely 0 custom recovery and custom roms for this phone i managed to do it myself, i've first dumped the system folder and the boot.img/logo.bin (logo was a partition itself) i've dumped the original recovery too

from the recovery dump i successfully ported CWM on this phone from a build for an other phone using the exact same chipset and resolution, CWM runs perfectly

Now, from this system folder dump i've made a stock rom because before modifying i've need of a working stock rom.

the stock rom contains the system folder, the boot.img and the META-INF folder

this is the content of the updater-script (i would normally use pastebin but because i'm new it doesn't allow links...) :

ui_print("STOCK ROM ARCHOS 50 HELIUM+");

show_progress(0.100000, 10);

ui_print("");

ui_print("...Format system...");

format("ext4", "EMMC", "/dev/block/mmcblk0p22", "0");

format("ext4", "EMMC", "/dev/block/mmcblk0p20", "0");

mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");

mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data");

show_progress(0.700000, 40);

ui_print("");

ui_print("...Update Custom ROM...");

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

package_extract_dir("data", "/data");

symlink("aee_debuggerd", "/system/bin/debuggerd");

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

ui_print("");

show_progress(0.100000, 5);

ui_print("");

ui_print("...Start set perms...");

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

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

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/delapp");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/lib");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/prop");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/xml");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/alarms");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/animationsounds");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/notifications");

set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/ringtones");

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

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

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, 0755, "/system/etc/init.d");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

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

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

set_perm_recursive(0, 2000, 0755, 0777, "/system/etc/init.d");

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

set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");

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

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

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, 2000, 0755, "/system/vendor/lib/egl");

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

set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6577.so");

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

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

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

symlink("/system/xbin/su", "/system/bin/su");

delete("/system/app/RomasterSu.apk");

ui_print("");

ui_print("...Start write boot...");

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "bootimg"),

delete("/tmp/boot.img"));

show_progress(0.200000, 0);

unmount("/data");

unmount("/system");

ui_print("+++++++++++++++++++++++++++++++++++++++++++++");

ui_print("+ OKKO OK OK +");

ui_print("+ OK OK OK OK +");

ui_print("+ OK OK OK OK +");

ui_print("+ OK OK OKOK +");

ui_print("+ OK OK OK OK +");

ui_print("+ OK OK OK OK +");

ui_print("+ OKKO OK OK +");

ui_print("+++++++++++++++++++++++++++++++++++++++++++++");

The problem is, CWM correctly formated the system partition, after that it was at the "update custom rom" screen for some minutes but once the progress bar was at the middle (almost 50%) i got a status 0 installation aborted and now my phone loops the boot screen part and don't boot

I can still access to fastboot and cwm recovery

What should i do ? i've the list of the partitions too if necessary :

lrwxrwxrwx root root 2017-02-14 00:48 boot -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 2017-02-14 00:48 cache -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 2017-02-14 00:48 expdb -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 2017-02-14 00:48 flashinfo -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 2017-02-14 00:48 frp -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 2017-02-14 00:48 keystore -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 2017-02-14 00:48 lk -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2017-02-14 00:48 logo -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 2017-02-14 00:48 metadata -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 2017-02-14 00:48 nvdata -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 2017-02-14 00:48 nvram -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2017-02-14 00:48 oemkeystore -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 2017-02-14 00:48 para -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 2017-02-14 00:48 proinfo -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2017-02-14 00:48 protect1 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2017-02-14 00:48 protect2 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 2017-02-14 00:48 recovery -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 2017-02-14 00:48 seccfg -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2017-02-14 00:48 secro -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 2017-02-14 00:48 system -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 2017-02-14 00:48 tee1 -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 2017-02-14 00:48 tee2 -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 2017-02-14 00:48 userdata -> /dev/block/mmcblk0p22

Thanks in advance for your answers.