[Galaxy S II General] Troubadour666:
SO WHAT !!! for all lsd 4.1.2 i have try on 2nd rom, my updater-script is OK

as we can see :) about Goatrip ROM

http://xdaforums.com/showpost.php?p=39297469&postcount=22

Finally i try and it works fine with symlink integrated !!!

ui_print("");

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

ui_print("Goatrip_Galaxy_S_II_UPDATE_6.3-themed-repacked");

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

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

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

run_program("/tmp/bin/busybox", "--install", "-s", "/tmp/bin");

unmount("/system");

unmount("/cache");

unmount("/preload");

ui_print("Formating system");

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

format("ext4", "EMMC", "/dev/block/mmcblk0p9");

ui_print("Formating preload");

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

format("ext4", "EMMC", "/dev/block/mmcblk0p12");

ui_print("Formating cache");

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

format("ext4", "EMMC", "/dev/block/mmcblk0p7");

ui_print("Mounting Partitions");

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

run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");

run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");

run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");

run_program("/sbin/mount", "/dev/block/mmcblk0p12", "/preload");

ui_print("Wiping Dalvik Cache");

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

delete_recursive("/data/dalvik-cache");

ui_print("Wiping Cache");

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

delete_recursive("/cache");

delete_recursive("/system");

delete_recursive("/data/sec_data");

ui_print("Copying System Files ...");

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

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

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

|

|

PUT HERE SYMLINK OF ORIGINAL UPDATER-SCRIPT OF ROM YOU REPACK.

LIKE MY EXAMPLE

|

|

symlink("dumpstate", "/system/bin/dumpcrash");

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

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

symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");

symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");

-----------------added by me---------------------------

set_perm(2000, 2000, 0771, "/data/local");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/sec_data");

---------------------------------------------------------

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

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

|

|

|

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

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

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

----------------added by me------------

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

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

set_perm_recursive(0, 0, 0755, 0644, "/data/app");

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

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

show_progress(0.500000, 70);

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

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

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

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

show_progress(0.500000, 90);

set_perm(0, 0, 0777, "/tmp/create_sec_data_symlinks");

run_program("/tmp/create_sec_data_symlinks");

run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/recovery.log");

---------------------------------------------------------

ui_print("Done ...");

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

run_program("/sbin/umount", "/system");

run_program("/sbin/umount", "/data");

run_program("/sbin/umount", "/cache");

run_program("/sbin/umount", "/preload");[/COLOR]

http://xdaforums.com/showthread.php?t=2012195 works too :)

NEXT ??