How does one change the rom file's updater script?
I was able to open the updater-script but not sure exactly what to change.
There is a thread in either Q&A or General that has the steps need to be done to get the Google 4.4.2 zip to flash from a custom recovery
Boils down to having to remove the top line or two that do the checks on the date, and maybe the line that checks the model. Don't extract the zip, use 7zip or the like to edit it, and I think all line endings have to be unix (shouldn't be a problem if you are just deleting lines)
Step 4 I deleted the version check (!less_than_int(1386681473, getprop("ro.build.date.utc"))) || abort("Can't install this package (Tue Dec 10 14:17:53 CET 2013) over newer build (" + getprop("ro.build.date") + ").");
and changed C6806 to togari
getprop("ro.product.device") == "C6806" || abort("This package is for \"C6806\" devices; this is a \"" + getprop("ro.product.device") + "\".");
Then I simply flashed the modified OTA zip with CWM followed by Superuser. Reboot to bootloader and flash Advance Stock Kernel to regain custom recovery.
Now I am back to 4.4.2 with a working camera and the erratic external SD writes.
|Thread Tools||Search this Thread|