[Q] Is it safe to bypass the hash check in updater-script (from update.zip)?

MinoriAoi

New member
Mar 17, 2011
4
0
0
I have a custom Email apk with my FRG22D build on my Droid phone. Trying to update now to FRG83D, but it doesn't like the Email apk mismatch. Does anyone have an idea if it's ok to omit these lines in the updater-script file (that resides in update.zip)?

assert(apply_patch_check("/system/app/EmailGoogle.apk", "6084f7aa8b61040bc2ef81cb6c2733fedd771e11", "35fd89388108f2e84d1c5e24235727d78705b595"));
set_progress(0.066739);

assert(apply_patch_check("/system/app/EmailGoogle.odex", "08a0ca76aa3c134b44c48102349418c7c053441e", "d74645ddedda58c33bf5059ae1bfe95cda764cd1"));
set_progress(0.083266);

Would the update still work? That is, does the updater replace these files (in which case this should work), or modify only certain parts of them (won't work)?

I unfortunately don't have the original Email APK that came with FRG22D.