[Fascinate Android Development] notta:
Well hey DT, I noticed you have a new allinone posted! I'm not sure if you sorted out the install but I have been tinkering for a bit with a setup I think you will rather enjoy... :)

I have tested this on my fascinate and all is well! It basically does away with the device_data & system script's and installs the proper data and system files from the updater-script without ever copying files to the phone.

This means way less install time and no out of memory error for the fassy!

I hope you don't mind as I find random things fun to mess with! :silly:

Best of all is I can use this to install the same ROM on other devices I may have now too... :fingers-crossed:

I also included a zip that you can overwrite the files in your helly_bean_allinone_20120810.zip to replicate it! Also the recovery.log is in the zip as well.

So if anyone downloaded the allinone they should be able to overwrite the files with the zip below and have a successful fascinate install!

http://d-h.st/AYI - 15.88 KB

I'm thinking everything should work just the same with gsm but you will need to revert the updater.sh I believe..

updater-script changes

#script & updater.sh replacement
package_extract_dir("scripts", "/tmp");
set_perm(0, 0, 0755, "/tmp/do_it.sh");
run_program("/tmp/do_it.sh");

ifelse(file_getprop("/tmp/install.prop", "telephony") == "cdma",
(ui_print("CDMA Installation");
package_extract_file("scripts/cdma-updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
assert(run_program("/tmp/updater.sh", "cdma") == 0);
),
(ui_print("GSM Installation");
assert(run_program("/tmp/updater.sh") == 0);
)
);

File extraction

# data
ifelse(file_getprop("/tmp/install.prop", "device") == "i9000",
(ui_print("Extracting Data.");
package_extract_dir("data/app", "/data");
package_extract_dir("data/sys-parts/all", "/data/sys-parts");
package_extract_dir("data/sys-parts/i9000", "/data/sys-parts");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
),
(ui_print("Skipping i9000 Data files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "cappy",
(ui_print("Extracting Data.");
package_extract_dir("data/app", "/data");
package_extract_dir("data/sys-parts/all", "/data/sys-parts");
package_extract_dir("data/sys-parts/cappy", "/data/sys-parts");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
),
(ui_print("Skipping Captivate Data files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "vibrant",
(ui_print("Extracting Data.");
package_extract_dir("data/app", "/data");
package_extract_dir("data/sys-parts/all", "/data/sys-parts");
package_extract_dir("data/sys-parts/vibrant", "/data/sys-parts");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
),
(ui_print("Skipping Vibrant Data files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "fascinate",
(ui_print("Extracting Data.");
package_extract_dir("data/app", "/data");
package_extract_dir("data/sys-parts/all", "/data/sys-parts");
package_extract_dir("data/sys-parts/fascinate", "/data/sys-parts");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
),
(ui_print("Skipping Fascinate Data files...");;
)
);

# System
ifelse(file_getprop("/tmp/install.prop", "device") == "i9000",
(ui_print("Extracting System.");
package_extract_dir("system/all", "/system");
package_extract_dir("system/i9000", "/system");

),
(ui_print("Skipping i9000 System files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "cappy",
(ui_print("Extracting System.");
package_extract_dir("system/all", "/system");
package_extract_dir("system/cappy", "/system");
),
(ui_print("Skipping Captivate System files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "vibrant",
(ui_print("Extracting System.");
package_extract_dir("system/all", "/system");
package_extract_dir("system/vibrant", "/system");
),
(ui_print("Skipping Vibrant System files...");
)
);
ifelse(file_getprop("/tmp/install.prop", "device") == "fascinate",
(ui_print("Extracting System.");
package_extract_dir("system/all", "/system");
package_extract_dir("system/fascinate", "/system");
),
(ui_print("Skipping Fascinate System files...");;
)
);