[SOLVED] assert failed

is just on /META-INF/com/google/android/updater-script , the file dosent have extension, just open it on a text editor and delete the first line from assert to the semicolon (delete it too).
 
thanks so much, i did exactly that and now running PA v2.55 on my s3 :) couldnt be happier.

EDIT: BTW, for windows user, it will ask you to save the file and will automatically save it under txt extention. You won't see it if you didn't uncheck "hide extensions for known file types" in the folder options. so make sure you uncheck it. Then delete just .txt from the save file and copy it back to the zip. It will ask if you want to replace that file, say yes. Et voila.

hope this helps.
 
Ok. I'm missing something. How do you extract just one file from the zip and then replace it. I'm using 7-Zip and every time I edit the file, or try to replace the script file with the edited one I get an error about duplicate files.
 
Use zipplus by Express Zip File Compression Software Company / NCH Software.
It allows you to delete, add folders, or add files. When done there is no need to resign zip. It's only a 14 day trail period. When trial period is done delete all instances of it off computer and download new.

Sent from my LG-VM670 using Android Central Forums
 
Use zipplus by Express Zip File Compression Software Company / NCH Software.
It allows you to delete, add folders, or add files. When done there is no need to resign zip. It's only a 14 day trail period. When trial period is done delete all instances of it off computer and download new.

Sent from my LG-VM670 using Android Central Forums

Or use WinRAR with an annoying pop-up ;)
 
I was getting a "status 7" error when trying to flash the 4.2.2 update for the Verizon Galaxy Nexus, so I used ZArchiver to extract just the updater-script and delete the first line of code (using Notepad+), and re-insert it into the zip (this was all done from my phone, not through Windows).

And now I'm getting a "status 6" error.

E: Error in /sdcard/Download/5939ff985946.signed-mysid-JDQ39-from_JRO03O.5939ff98.zip
(Status 6)
Installation aborted.
 
What phone are you trying to flash on? That update could have or need signature verification or a stock recovery to flash.
 
The Samsung Galaxy Nexus (Verizon - toro). I also tried toggling signature verification to off, but that didn't make any difference.
 
how come every time i delete the line in notepad ++, i save it and then i refresh the folder, click on updater-script to make sure and it keeps coming back! i keep deleting the first line but it wond go away. how do i fix this?
 
Not sure of your procedure, but you might be saving the changes in a temp directory and not in the zip file.

Try pulling the file out of the zip and then edit/save it. Then drag it back to the zip file and overwrite the old file.
 
helloo..
please help me,
i understand for fix error META-INF/com/google/android/updater-scrip,
please help me..
 
Hi, when i do this, it give me this -
E:failed to verify wholefile signature
E:signature verification failed
:confused:
 
Hi, when i do this, it give me this -
E:failed to verify wholefile signature
E:signature verification failed
:confused:

You need to disable signature verification before flashing

Tapatalk'n Squid style! Android 4.2.2 JBC on my VM670 running LS670ZVJ firmware
 
You also cannot use wordpad or equivalent windows text editor to do this or you will get an error..It has to be in Unix so if on windows you must use notepad++ or similar..Just an FYI
 
this is content file updater-script
where i am can delete part script?....Thanks

mount("ext4", "EMMC", "/dev/block/mmcblk0p27", "/system");
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:2.3.7/ZVD.GWK74/bf40112:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:4.0.4/ZVI.IMM76D/LS840ZVI.4820d7b4:user/release-keys");
assert(getprop("ro.product.device") == "cayman" ||
getprop("ro.build.product") == "cayman");
ui_print("Verifying current system...");
show_progress(0.100000, 0);
assert(apply_patch_check("/system/app/ApplicationsProvider.apk", "3be0d4cabe17409729f4a1fff1eacaa723d18cc3", "9dee0a86cee1a2630d8d17ba21f4fb6ac6e9dbf1"));
set_progress(0.000037);
assert(apply_patch_check("/system/app/ApplicationsProvider.odex", "84531ef8095ac0ce86cdac9ce964622749d23b8c", "ac698c8209c5d53105dcecdcf300b9a13ea9b3ee"));
set_progress(0.000149);
assert(apply_patch_check("/system/app/CameraApp.apk", "7b9ff899a90003741c5d53add1f95ca40b27cccb", "f1ef3e95d1435d821adf844a359c2f3e4e39fa08"));
set_progress(0.009554);
assert(apply_patch_check("/system/app/CameraApp.odex", "03fca080f1ab020d537baf4f7a14ea32e25768dc", "4a1fc5e67db7e4cfbe5e1d5b4905d1d28d404f21"));

result from editing updater-script is:
file_getprop: failed to start "/system/build.prop": No such file or directory
E:error in /sdcard/update.zip
(status 7)
installation aborted
please help me master, i am need help in this part ?
 
Last edited:
this is content file updater-script
where i am can delete part script?....Thanks

mount("ext4", "EMMC", "/dev/block/mmcblk0p27", "/system");
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:2.3.7/ZVD.GWK74/bf40112:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:4.0.4/ZVI.IMM76D/LS840ZVI.4820d7b4:user/release-keys");
assert(getprop("ro.product.device") == "cayman" ||
getprop("ro.build.product") == "cayman");
ui_print("Verifying current system...");
show_progress(0.100000, 0);
assert(apply_patch_check("/system/app/ApplicationsProvider.apk", "3be0d4cabe17409729f4a1fff1eacaa723d18cc3", "9dee0a86cee1a2630d8d17ba21f4fb6ac6e9dbf1"));
set_progress(0.000037);
assert(apply_patch_check("/system/app/ApplicationsProvider.odex", "84531ef8095ac0ce86cdac9ce964622749d23b8c", "ac698c8209c5d53105dcecdcf300b9a13ea9b3ee"));
set_progress(0.000149);
assert(apply_patch_check("/system/app/CameraApp.apk", "7b9ff899a90003741c5d53add1f95ca40b27cccb", "f1ef3e95d1435d821adf844a359c2f3e4e39fa08"));
set_progress(0.009554);
assert(apply_patch_check("/system/app/CameraApp.odex", "03fca080f1ab020d537baf4f7a14ea32e25768dc", "4a1fc5e67db7e4cfbe5e1d5b4905d1d28d404f21"));

result from editing updater-script is:
file_getprop: failed to start "/system/build.prop": No such file or directory
E:error in /sdcard/update.zip
(status 7)
installation aborted
please help me master, i am need help in this part ?
remove this chunk to stop the no such file or directory error.
Code:
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:2.3.7/ZVD.GWK74/bf40112:user/release-keys" ||
       file_getprop("/system/build.prop", "ro.build.fingerprint") == "sprint_lge/cayman_sprint_us/cayman:4.0.4/ZVI.IMM76D/LS840ZVI.4820d7b4:user/release-keys");
but it looks like whatever it's trying to verify isn't flashed, in which case you'll just get more of the same type of error.