[Q] Assert failed whenever trying to flash zip - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Im getting this error when trying to flash any zip files..
assert failed: getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" || getprop("ro.product.board") == "cooper" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830" || getprop("ro.product.board") == "GT-S5830"
assert failed: getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" || getprop("ro.product.board") == "cooper" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830" || getprop("ro.product.board") == "GT-S5830"
Click to expand...
Click to collapse
things i do before:
- flashing The Ultimatum ROM and edited the build.prop to change the density to 140..
- updating my recovery to CMW 6 and got these error..
what should i do??
please help..
EDIT :
Today it's getting worse, my phone is bootloop now, and i can't flash any zip files, so i can't use my phone at all...
so guys, how to fix it??
(yes, this is my first time posting a thread, sorry for my bad english and thank you for viewing)

What does the last line say it is usually something like status 7 or status x
Sent from my LG-D802 using xda app-developers app

lingarajug said:
What does the last line say it is usually something like status 7 or status x
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
yes, it says "Installer Error (Status 7)"

Maliivers said:
yes, it says "Installer Error (Status 7)"
Click to expand...
Click to collapse
2 options
1. Your sdcard is corrupted >>> back up your data and format it in fat32 file system (use an USB adapter e.g.)
2. The file downloaded is corrupted >>> try to download it again
I advise you to use CWM 5.0.2.6 Fixed insted of CWM 6.x... but... it should work too

Viper The Ripper said:
2 options
1. Your sdcard is corrupted >>> back up your data and format it in fat32 file system (use an USB adapter e.g.)
2. The file downloaded is corrupted >>> try to download it again
I advise you to use CWM 5.0.2.6 Fixed insted of CWM 6.x... but... it should work too
Click to expand...
Click to collapse
- already format my sdcard, still result in error
- already redownload, still error
i'm using CWM 6.0.4.6 and can't flash to CWM 5, because any zip files i flash will result in error.. (oh,except for aroma filemanager, but what can i do with that?)

edit updater.script from rom.zip meta inf folder.
its a problem wich happens on lots of devices.
simply remove the 1/3 first lines from assert and rezip the rom
Sent from my S500 using xda app-developers app

SpaceCaker said:
edit updater.script from rom.zip meta inf folder.
its a problem wich happens on lots of devices.
simply remove the 1/3 first lines from assert and rezip the rom
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
hmm.. it looked like advanced tips.. haha
but i'll try, will post the result later

SpaceCaker said:
edit updater.script from rom.zip meta inf folder.
its a problem wich happens on lots of devices.
simply remove the 1/3 first lines from assert and rezip the rom
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
WOAH, IT WORKED ! THANKS !
(just in case someone else face the same problem) so this is what i did:
edit updater.script in META-INF\com\google\android folder
it looked like this:
assert(getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/stl12", "0", "/system");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
blahblahblah...
Click to expand...
Click to collapse
just delete this line on any zip:
assert(getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830");
Click to expand...
Click to collapse
and you're done.
----------------------------------------------------------------------------------------------------
but, just for fulfill my curiosity, why this error can occur? i used the same zip file days ago and it worked just fine.

SpaceCaker said:
edit updater.script from rom.zip meta inf folder.
its a problem wich happens on lots of devices.
simply remove the 1/3 first lines from assert and rezip the rom
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Win!
Thanks, this worked a treat for me too. I'd installed the CWM 6.0.4.6 for the Gio so i could install KitKat and buggered up my phone, but this has fixed it.

Related

[Q] DOLBY, SRSWOW, BEATS, BRAVIA ENGINE and XLOUD for GB Stock-Based Roms

I am using Zeus V6.28 but when I flash "DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip" it said
assert failed: getprop("ro.product.device") == "p970" || getprop("ro.build.product") == "p970"
E:Error in /sdcard/zeuss/DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip (Status 7)
Installtion aborted.
So what is the problem?
amnik said:
I am using Zeus V6.28 but when I flash "DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip" it said
assert failed: getprop("ro.product.device") == "p970" || getprop("ro.build.product") == "p970"
E:Error in /sdcard/zeuss/DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip (Status 7)
Installtion aborted.
So what is the problem?
Click to expand...
Click to collapse
There are two options:
Your file is corrupted
Or you alternative recovery is not working properly.
Suggestions: check the file and reflash your cwm recovery.
FDN
amnik said:
I am using Zeus V6.28 but when I flash "DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip" it said
assert failed: getprop("ro.product.device") == "p970" || getprop("ro.build.product") == "p970"
E:Error in /sdcard/zeuss/DOLBY_SRSWOW_BEATS_XLOUD_GB_v1.zip (Status 7)
Installtion aborted.
So what is the problem?
Click to expand...
Click to collapse
Because of TANT touch cwm, try other cwm.

I bet you cannot solve this problem.

I flashed Koodo/TLS stock Via oiden. And it worked fine. I was able to Root it as well. But when I tried to install CWM, it game me and error.
[email protected] getprop("ro.product.device"
GT-s5570 getprop("product...
E:Error in /tmp/sideload/package.zip
(Status 7)
Installation aborted.
I've tired CWM 5 & 6. Even the Zip from different places.
Then I unrooted, and tried to root with different root files, This time around it gave me the same error.
I managed to reroot via super one click, yet I am still getting this error trying to install CWM recovery.
I have also tried to connect to Oiden once again and flash the latest stock rom from Sammobile, however the PC detects the download mode, oiden does not.
Good luck solving this one. :good:
Open thr cwm zip file then go to
Meta inf and some folders deeper
Find updater-script
Open it with NOTEPAD++
Then remove the assert prop lines
And rezip the files done
Sent from my ST25i using xda app-developers app
SpaceCaker said:
Open thr cwm zip file then go to
Meta inf and some folders deeper
Find updater-script
Open it with NOTEPAD++
Then remove the assert prop lines
And rezip the files done
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Assert prop or get prop? Or is it the same? :\
K.A. said:
Assert prop or get prop? Or is it the same? :\
Click to expand...
Click to collapse
Get prop is to get the build.prop to open
And assert prop is to search the lines
Sent from my ST25i using xda app-developers app
So essentially
assert(getprop("ro.product.device") == "GT-S5830L" ||
getprop("ro.product.board") == "GT-S5830L" ||
getprop("ro.build.product") == "GT-S5830L" ||
getprop("ro.product.device") == "GT-S5830B" ||
getprop("ro.product.board") == "GT-S5830B" ||
getprop("ro.build.product") == "GT-S5830B" ||
getprop("ro.product.device") == "GT-S5830T" ||
getprop("ro.product.board") == "GT-S5830T" ||
getprop("ro.build.product") == "GT-S5830T" ||
getprop("ro.product.device") == "GT-S5830" ||
getprop("ro.product.board") == "GT-S5830" ||
getprop("ro.build.product") == "GT-S5830" ||
getprop("ro.product.model") == "GT-S5830"
);
Thank you so much. I Spent 3 hours trying to fix this, and you fixed it in a matter of minutes. It flashed.
Unfortunately, I think something has gone wrong with the Data & Cache part of my phone. It does not mount either in the recovery...That might explain why it wont connect to oidien. Any suggestions?

[Q] Assert failed error updating to latest CM 10.1

My device is running cm-10.1-20130323-UNOFFICIAL-s6500d just fine, but when I try to install the latest I get this error:
Code:
Installing '/sdcard/cm-10.1-20130611-UNOFFICIAL-jena.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/cm-10.1-20130611-UNOFFICIAL-jena.zip.md5
Skipping MD5 check: no MD5 file found.
Warning: No file_contexts
script aborted: assert failed: getprop("ro.product.device") == "jena" || getprop("ro.build.product") == "jena" ||
getprop("ro.product.device") == "jenad" || getprop("ro.build.product") == "jenad" ||
getprop("ro.product.device") == "GT-S6500" || getprop("ro.build.product") == "GT-S6500" ||
getprop("ro.product.device") == "GT-S6500D" || getprop("ro.build.product") == "GT-S6500D"
assert failed: getprop("ro.product.device") == "jena" || getprop("ro.build.product") == "jena" || getprop("ro.product.device") == "jenad" || getprop("ro.build.product") == "jenad" || getprop("ro.product.device") == "GT-S6500" || getprop("ro.build.product") == "GT-S6500" || getprop("ro.product.device") == "GT-S6500D" || getprop("ro.build.product") == "GT-S6500D"
E:Error in /sdcard/cm-10.1-20130611-UNOFFICIAL-jena.zip
(Status 7)
Error flashing zip '/sdcard/cm-10.1-20130611-UNOFFICIAL-jena.zip'
Here's my whole recovery log: gist.github.com/anonymous/cc61a5f3180940525c57
Not really sure how to debug since my first install went without a hitch. Has anyone else experienced this? What can I do to fix this problem?
:/
I have the same problem
Are you using cwm 6 build 4?
I dont know how but now i installed cm.
I suggest you to learn how to read.
You gotta have cwm 6+
Sent from my GT-S6500 using Tapatalk 2
OverkillSRB said:
You gotta have cwm 6+
Sent from my GT-S6500 using Tapatalk 2
Click to expand...
Click to collapse
not just CWM 6+. it must be in build 4.
tekkenl0rd13 said:
not just CWM 6+. it must be in build 4.
Click to expand...
Click to collapse
Oh, didnt know that
Sent from my GT-S6500 using Tapatalk 2
Go to arhive with cm now go to META-INF -> com -> google -> android -> and extract "updater-script"
Open "updater-script" and search this lines
Code:
assert(getprop("ro.product.device") == "jena" || getprop("ro.build.product") == "jena" ||
getprop("ro.product.device") == "GT-S6500" || getprop("ro.build.product") == "GT-S6500" ||
getprop("ro.product.device") == "GT-S6500D" || getprop("ro.build.product") == "GT-S6500D" ||
getprop("ro.product.device") == "GT-S6500T" || getprop("ro.build.product") == "GT-S6500T");
^
|
|
delelte this
now copy modiffied "updater-script" to normal arhive.
now "updater-script" start with
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
Not working
rarebc said:
Go to arhive with cm now go to META-INF -> com -> google -> android -> and extract "updater-script"
Open "updater-script" and search this lines
Code:
assert(getprop("ro.product.device") == "jena" || getprop("ro.build.product") == "jena" ||
getprop("ro.product.device") == "GT-S6500" || getprop("ro.build.product") == "GT-S6500" ||
getprop("ro.product.device") == "GT-S6500D" || getprop("ro.build.product") == "GT-S6500D" ||
getprop("ro.product.device") == "GT-S6500T" || getprop("ro.build.product") == "GT-S6500T");
^
|
|
delelte this
now copy modiffied "updater-script" to normal arhive.
now "updater-script" start with
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
Click to expand...
Click to collapse
Hello.
Unfortunately, delete the lines did not resolve the problem.
Now I got this message. Installing update ... Installation aborted.
just update cwm -_-

[4.3]Cyanogenmod 10.2[ALPHA-1] refix

the rom's updater-script is wrong ,must be refix it
assert(getprop("ro.product.device") == "**tass" || getprop("ro.product.product") == "**5570") maybe install
but the rom is very lag ,and camera /sdcard doesn't work
this is the link :http://forum.xda-developers.com/showthread.php?t=2423901

ODIN fails to flash COOPER

Hello,
I wanted to reinstall my Ultimatum v4 cause I deleted some android files (Google Play was missing) so I did factory reset and installed the ROM.
But the problem was still there, Play wont launch. So I tried to flash firmware, but ODIN fails to install Cooper_1.0.ops, installation PASSed but after rebooting the system is still Ace, not cooper, and I need cooper to instal the Ultimatum ROM. I tried different ODINs, firmwares and cooper files but I cant get it working. BTW my system was cooper before, and I followed same procedure with same files so I dont really know where is the problem.
Can you give me rar file or something with all the stuff I need to get it working? I mean like ODIN+correct cooper and firmware for S5830.
Thank you. EXPE
expeUNI said:
Hello,
I wanted to reinstall my Ultimatum v4 cause I deleted some android files (Google Play was missing) so I did factory reset and installed the ROM.
But the problem was still there, Play wont launch. So I tried to flash firmware, but ODIN fails to install Cooper_1.0.ops, installation PASSed but after rebooting the system is still Ace, not cooper, and I need cooper to instal the Ultimatum ROM. I tried different ODINs, firmwares and cooper files but I cant get it working. BTW my system was cooper before, and I followed same procedure with same files so I dont really know where is the problem.
Can you give me rar file or something with all the stuff I need to get it working? I mean like ODIN+correct cooper and firmware for S5830.
Thank you. EXPE
Click to expand...
Click to collapse
This is error im getting while installing Ultimatum .v4
assert failed: getprop("ro.product.device") == "cooper" || getprop("ro.build.product") == "cooper" || getprop("ro.product.board") == "cooper" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830" || getprop("ro.product.board") == "GT-S5830"
Click to expand...
Click to collapse
Hi,
try to delete the strings inside updater-script: open with 7-zip the rom to flash and go to 'ROM_TO_FLASH\META-INF\com\google\android\'
then delete:
assert(getprop("ro.product.device") == "GT-S5830L" ||
getprop("ro.product.board") == "GT-S5830L" ||
getprop("ro.build.product") == "GT-S5830L" ||
getprop("ro.product.device") == "GT-S5830B" ||
getprop("ro.product.board") == "GT-S5830B" ||
getprop("ro.build.product") == "GT-S5830B" ||
getprop("ro.product.device") == "GT-S5830T" ||
getprop("ro.product.board") == "GT-S5830T" ||
getprop("ro.build.product") == "GT-S5830T" ||
getprop("ro.product.device") == "GT-S5830" ||
getprop("ro.product.board") == "GT-S5830" ||
getprop("ro.build.product") == "GT-S5830" ||
getprop("ro.product.model") == "GT-S5830" ||
getprop("ro.product.device") == "cooper" ||
getprop("ro.product.board") == "cooper" ||
getprop("ro.build.product") == "cooper"
);
save updater-script and flash the rom
daniga74

Categories

Resources