[HD2 Android NAND Development] barrfind2:
to make a rom for hd2 eu, You must have files from rom with app2sd imilka method.

file name:

\etc\init.d\00linkstuff

\etc\init.d\02firstboot

\etc\init.d\04apps2sd

\etc\init.d\99complete

\etc\init.d\00banner

and

/system/bin/bash

/system/bin/sh

/system/bin/a2sd

/system/bin/launcha2sd

/system/bin/starta2sd

/system/bin/jita2sd

/system/bin/chka2sd

/system/bin/zipalign

/system/bin/sysinit

/system/bin/busybox.a2sd

/system/bin/apps2sd.hlp

/system/xbin/a2sd

/system/bin/dtinstall

and modify:

META-INF\com\google\android\updater-script

search in this file

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

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

and ad

set_perm(0, 0, 04755, "/system/bin/bash");

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

set_perm(0, 0, 0777, "/system/bin/a2sd");

set_perm(0, 0, 0777, "/system/etc/init.d/00banner");

set_perm(0, 0, 0777, "/system/etc/init.d/01sysctl");

set_perm(0, 0, 0777, "/system/etc/init.d/02firstboot");

set_perm(0, 0, 0777, "/system/etc/init.d/04apps2sd");

set_perm(0, 0, 0777, "/system/etc/init.d/99complete");

set_perm(0, 0, 0777, "/system/bin/launcha2sd");

set_perm(0, 0, 0777, "/system/bin/starta2sd");

set_perm(0, 0, 0777, "/system/bin/jita2sd");

set_perm(0, 0, 0777, "/system/bin/chka2sd");

set_perm(0, 0, 0777, "/system/bin/zipalign");

set_perm(0, 0, 0777, "/system/bin/sysinit");

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

set_perm(0, 0, 0644, "/system/bin/apps2sd.hlp");

set_perm(0, 0, 0777, "/system/xbin/a2sd");

set_perm(0, 0, 0777, "/system/bin/dtinstall");

and search

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

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

ad

set_perm(0, 0, 0755, "/system/etc/init.d");

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

set_perm(0, 0, 04755, "/system/bin/bash");

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

set_perm(0, 0, 0777, "/system/bin/a2sd");

set_perm(0, 0, 0777, "/system/etc/init.d/00banner");

set_perm(0, 0, 0777, "/system/etc/init.d/01sysctl");

set_perm(0, 0, 0777, "/system/etc/init.d/02firstboot");

set_perm(0, 0, 0777, "/system/etc/init.d/04apps2sd");

set_perm(0, 0, 0777, "/system/etc/init.d/99complete");

set_perm(0, 0, 0777, "/system/bin/launcha2sd");

set_perm(0, 0, 0777, "/system/bin/starta2sd");

set_perm(0, 0, 0777, "/system/bin/jita2sd");

set_perm(0, 0, 0777, "/system/bin/chka2sd");

set_perm(0, 0, 0777, "/system/bin/zipalign");

set_perm(0, 0, 0777, "/system/bin/sysinit");

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

set_perm(0, 0, 0644, "/system/bin/apps2sd.hlp");

set_perm(0, 0, 0777, "/system/xbin/a2sd");

set_perm(0, 0, 0777, "/system/bin/dtinstall");

now search

format("MTD", "cache");

ad

set_perm(0, 0, 0777, /sbin/mkdir);

set_perm(0, 0, 0777, "/sbin/mkdir");

run_program("/sbin/mkdir", "/sd-ext");

set_perm(0, 0, 0777, /sbin/mount);

set_perm(0, 0, 0777, "/sbin/mount");

run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");

package_extract_dir("sd-ext", "/sd-ext");

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

ui_print(" ");

ui_print("Copy to sd...");

now you delete in

\system\app

\system\fonts

\system\framework

and create in root directory folder

\sd-ext\sys-parts and here you copy the folders

\system\app

\system\fonts

\system\framework

besides the rest of the files must be of that mod

http://xdaforums.com/showpost.php?p=12802079&postcount=4565

should be work.