[Galaxy S I9000 Q&A, Help & Troubleshooting] Cordial Humanoid:
Hi,

I don't understand what you mean here. How can I edit that file without extracting it out of the ZIP file first? Certainly I don't think I have any way to edit the file inside the phone itself; all I could do is to extract the file out of the ZIP file on my computer, edit it, and try to insert it back into the ZIP file. Is that what you mean?

Also, the first lines of the updater_script do not do anything meaningful, they just print out some messages. Below are the first 100 lines of updater_script.

ui_print("Welcome to Mackay ROM installation");

ui_print(" ");

ui_print("Checking device ID...");

assert(getprop("ro.product.device") == "galaxys" || getprop("ro.build.product") == "galaxys" ||

getprop("ro.product.device") == "galaxysmtd" || getprop("ro.build.product") == "galaxysmtd" ||

getprop("ro.product.device") == "GT-I9000" || getprop("ro.build.product") == "GT-I9000" ||

getprop("ro.product.device") == "GT-I9000M" || getprop("ro.build.product") == "GT-I9000M" ||

getprop("ro.product.device") == "GT-I9000T" || getprop("ro.build.product") == "GT-I9000T" || abort("This package is for \"galaxys,galaxysmtd,GT-I9000,GT-I9000M,GT-I9000T\" devices; this is a \"" + getprop("ro.product.device") + "\"."););

package_extract_file("modem.bin", "/tmp/modem.bin");

set_perm(0, 0, 0777, "/tmp/modem.bin");

package_extract_file("updater.sh", "/tmp/updater.sh");

set_perm(0, 0, 0777, "/tmp/updater.sh");

package_extract_file("make_ext4fs", "/tmp/make_ext4fs");

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

package_extract_file("busybox", "/tmp/busybox");

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

package_extract_file("flash_image", "/tmp/flash_image");

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

package_extract_file("erase_image", "/tmp/erase_image");

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

package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");

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

package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");

set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");

assert(run_program("/tmp/erase_image", "boot"));

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

assert(run_program("/tmp/bml_over_mtd.sh", "boot", "72", "reservoir", "2004", "/tmp/boot.img"));

assert(run_program("/tmp/updater.sh") == 0);

ui_print("Resetting Mackay Settings status");

mount("ext4", "EMMC", "/dev/lvpool/userdata", "/data");

delete("/data/local/mackay/blnactive");

delete("/data/local/mackay/navbaractive");

delete("/data/local/mackay/lowramactive");

unmount("/data");

ui_print("Backup of gapps & settings");

mount("ext4", "EMMC", "/dev/lvpool/system", "/system");

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");

package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);

set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);

run_program("/tmp/backuptool.sh", "backup");

unmount("/system");

show_progress(0.500000, 0);

ui_print("Formatting system partition");

format("ext4", "EMMC", "/dev/lvpool/system", "0", "/system");

mount("ext4", "EMMC", "/dev/lvpool/system", "/system");

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

ui_print("Installing Mackay ROM");

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

symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");

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

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

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

symlink("busybox", "/system/xbin/[", "/system/xbin/[[",

"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",

"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",

"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",

"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",

"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",

"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chcon",

"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",

"/system/xbin/chroot", "/system/xbin/chvt", "/system/xbin/clear",

"/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",

"/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",

"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",

"/system/xbin/dd", "/system/xbin/deallocvt", "/system/xbin/depmod",

"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",

"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",

"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",

"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",

"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",

"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgconsole",

"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",

"/system/xbin/flash_lock", "/system/xbin/flash_unlock",

"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",

"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fstrim",

"/system/xbin/fsync", "/system/xbin/ftpget", "/system/xbin/ftpput",

"/system/xbin/fuser", "/system/xbin/getenforce", "/system/xbin/getopt",

"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",

"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",

"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",

"/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/inetd",

"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/ionice",

"/system/xbin/iostat", "/system/xbin/ip", "/system/xbin/kill",

"/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/less",

"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",

"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lspci",

"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",

"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",

"/system/xbin/matchpathcon", "/system/xbin/md5sum", "/system/xbin/mesg",

"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",

"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",

"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",

"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",

"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",

"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",

"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",

"/system/xbin/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",

"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",

"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",