[Galaxy S II Themes and Apps] Troubadour666:
Test Hassan V5 Rom in 2nd Position

ROM thread : [ROM] LSN 4.1.2 [ HaSSaN-ROM V5.0 ] Based on Disaster - Stable [update 7-3]

Download original ROM link from thread : GT-I9100-XWLSN-HaSSaN-ROM.V5.0.zip

Thanks to HASSAN EL BAGHDADI

in attachments, the 2 necessary files you need to have Hassan V5 ROM in 2nd rom.

- i delete lines that flash kernel and moden in 2nd rom

- i delete lines that format DATA partition, for a test you can flash it over your current 2nd rom, it can work maybe.

If rom certainly boot well that way (without formating DATA 2nd ROM), you can have several FCs.

If you encounter this pb, dont enter in "transe attitude" :) and dont panic, you can FORMAT DATA PARTITION 2nd ROM in CMW mode,

and then reflash again your modded ZIP ROM with my updater-script and other file in attachments.

Thanks to report if works.

extracted code of updater-script :

ui_print("");
show_progress(0.1, 0);
ui_print(" Automatic Wipe system and Cache ...");

show_progress(0.100000, 0);

ui_print(" ");
ui_print("Formatting SYSTEM");
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9");

show_progress(0.200000, 0);

show_progress(0.300000, 0);

ui_print(" ");
ui_print("Formatting CACHE");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p7");

ui_print(" ");
ui_print(" Wipe Complete");
ui_print(" ");
ui_print("----------------------------------");
ui_print(" ! Welcome ! ");
ui_print(" ");
ui_print(" HaSSaN-RoM ");
ui_print(" v5.0 ");
ui_print(" ");
ui_print(" by: ");
ui_print(" HaSSaN EL BAGHDADI ");
ui_print(" ~ IRAQ ~ ");
ui_print("----------------------------------");
ui_print(" ");
ui_print(" Install ROM ");
ui_print(" Please wait... ");
show_progress(0.500000, 0);
ui_print(" ");
[COLOR="Red"]run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/sec_data");
delete_recursive("/data/dalvik-cache");
delete("/data/system/batterystats.bin");
package_extract_dir("system", "/system");
package_extract_dir("preload/symlink/system/app", "/data/sec_data");
package_extract_dir("data", "/data");[/COLOR]
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
|
|
|
|
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
package_extract_file("create_preload_symlinks", "/tmp/create_preload_symlinks");
set_perm(0, 0, 0777, "/tmp/create_preload_symlinks");
run_program("/tmp/create_preload_symlinks");
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_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
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(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/cache");
run_program("/sbin/umount", "/data");
ui_print("Completed! Reboot now!.");
ui_print(" Thanks for using MY ROM, ");
ui_print(" ** HaSSaN EL BaGHDaDI ** ");