ODIN fails to flash COOPER - Galaxy Ace S5830 Q&A, Help & Troubleshooting

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

Related

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 -_-

[Q] TWRP flashing roms: assert failed when get prop ro.device.product

Hey everyone,
I have an unlocked ATT htc one. Whenever I flash any roms downloaded from this forum (international htc one), I get
Code:
script aborted: assert failed: getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" ||
getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") == "m7ul"
assert failed: getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" || getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") == "m7ul"
I have to manually remove the script line in every rom, which is really annoying.
I was under the impression that att htc one is also a m7ul?? does that mean I can only flash roms especially made for m7att?
thanks in advance

Error 7 TWRP ( I can not install current roms )

I can not install any current ROM, Lineage 14 - Viper OS - Ressurection 5.8.4, always gives the error 7 [Patching system unconditionally
E1001: Failed to update system image. ] currently use the RR 5.8.0 android 6.0, my cell phone is the Moto G2 LTE XT1078 (THEA) image of the event> https://imgur.com/a/jRZkT
Do you have the newest TWRP? https://dl.twrp.me/thea/
yes, I tested all versions, 3.1.1-0 to 3.0.0-0, they all gave the same error
pabli24 said:
Do you have the newest TWRP? https://dl.twrp.me/thea/
Click to expand...
Click to collapse
yes, I tested all versions, 3.1.1-0 to 3.0.0-0, they all gave the same error
Are you sure you are using one for thea? If not, then do get it from here (I am using it on my XT1072):
https://dl.twrp.me/thea/twrp-3.2.1-0-thea.img.html
Reboot to fastboot (shut down, then pwr+vol up for 5 seconds then release) and plug your phone to a PC with mfastboot.
then execute in a copy of mfastboot the following command:
mfastboot flash recovery twrp-3.2.1-0-thea.img
Click to expand...
Click to collapse
Now take your phone and choose "Normal Powerup", then interrupt the boot and get again to fastboot, this time choose "Recovery".
You should be booting TWRP right now.
Now wipe /cache, /data, /storage, dalvik and /system.
Now flash CyanogenMod/AOKP/Carbon/AOSPA/LineageOS or any other custom ROM (optional: flash GApps of the same Android version afterwards to get Google support)
Now wipe /cache, /data and dalvik
Finally, reboot to system.
Not working? Make sure your bootloader is unlocked. Still not working and unlocked? Flash the stock ROM and try again.
Fixed the 7 TWRP error problem on the
Moto G2 LTE XT1078?
I'm having the same problem, I did not find a solution
Same problem. Managed to unlock bootloader, flash recovery, cannot flash any rom due to error 7. Any ideas?
Gupalupa123 said:
I can not install any current ROM, Lineage 14 - Viper OS - Ressurection 5.8.4, always gives the error 7 [Patching system unconditionally
E1001: Failed to update system image. ] currently use the RR 5.8.0 android 6.0, my cell phone is the Moto G2 LTE XT1078 (THEA) image of the event> https://imgur.com/a/jRZkT
Click to expand...
Click to collapse
So, if you're still looking for a solution, I can give you one, but stupid... You need to download the TWRP backup for XT1068 and install it.
https://forum.xda-developers.com/moto-g-2014/general/moto-g-indian-xt1068-marshmellow-6-0-t3313148
Al least the phone will work, but you'll also face some problems like laggy auto-rotation (the picture will be upside down in landscape mode) and also you'll have 2 SIM cards (XT1072 has only one sim card slot)
That means we should ask someone to make a backup of stock firmware (or at least stable LineageOS firmware) and restore it with TWRP.
Please, if anyone still has this phone (XT1072) on stock or any other firmware which WORKS make a backup and upload it to the internet.
:good::good:IT WOULD BE REALLY COOL, BECAUSE A LOT OF PEOPLE HAVE THIS PHONE AND THEY CAN'T FLASH ANY ROM WITH ERROR 7!!!:good::good:
A photo of succesfully restored device:
https://photos.app.goo.gl/shNVhtpJP4x432Sm6
Thank you.
Possible solution for error 7
in my case for moto e i opened the flashable zip with winrar, go to meta-inf/com/google/android and opened update-script with notepad++ and delete the first lines, in my case i deleted these
assert(getprop("ro.product.device") == "titan" || getprop("ro.build.product") == "titan" || getprop("ro.product.device") == "titan_umts" || getprop("ro.build.product") == "titan_umts" || getprop("ro.product.device") == "titan_udstv" || getprop("ro.build.product") == "titan_udstv" || getprop("ro.product.device") == "titan_umtsds" || getprop("ro.build.product") == "titan_umtsds" || getprop("ro.product.device") == "titan_retaildsds" || getprop("ro.build.product") == "titan_retaildsds" || getprop("ro.product.device") == "XT1068" || getprop("ro.build.product") == "XT1068" || getprop("ro.product.device") == "XT1064" || getprop("ro.build.product") == "XT1064" || getprop("ro.product.device") == "XT1063" || getprop("ro.build.product") == "XT1063" || getprop("ro.product.device") == "XT1069" || getprop("ro.build.product") == "XT1069" || abort("E3004: This package is for device: titan,titan_umts,titan_udstv,titan_umtsds,titan_retaildsds,XT1068,XT1064,XT1063,XT1069; this device is " + getprop("ro.product.device") + ".");
assert(getprop("ro.bootloader") == "0x4882" || getprop("ro.bootloader") == "0x4883" || getprop("ro.bootloader") == "0x4886" || getprop("ro.bootloader") == "0x4887" || abort("This package supports bootloader(s): 0x4882, 0x4883, 0x4886, 0x4887; this device has bootloader " + getprop("ro.bootloader") + ".");
ifelse(is_mounted("/system"), unmount("/system"));
and rom is actually flashing
GuestD0668 said:
in my case for moto e i opened the flashable zip with winrar, go to meta-inf/com/google/android and opened update-script with notepad++ and delete the first lines, in my case i deleted these
assert(getprop("ro.product.device") == "titan" || getprop("ro.build.product") == "titan" || getprop("ro.product.device") == "titan_umts" || getprop("ro.build.product") == "titan_umts" || getprop("ro.product.device") == "titan_udstv" || getprop("ro.build.product") == "titan_udstv" || getprop("ro.product.device") == "titan_umtsds" || getprop("ro.build.product") == "titan_umtsds" || getprop("ro.product.device") == "titan_retaildsds" || getprop("ro.build.product") == "titan_retaildsds" || getprop("ro.product.device") == "XT1068" || getprop("ro.build.product") == "XT1068" || getprop("ro.product.device") == "XT1064" || getprop("ro.build.product") == "XT1064" || getprop("ro.product.device") == "XT1063" || getprop("ro.build.product") == "XT1063" || getprop("ro.product.device") == "XT1069" || getprop("ro.build.product") == "XT1069" || abort("E3004: This package is for device: titan,titan_umts,titan_udstv,titan_umtsds,titan_retaildsds,XT1068,XT1064,XT1063,XT1069; this device is " + getprop("ro.product.device") + ".");
assert(getprop("ro.bootloader") == "0x4882" || getprop("ro.bootloader") == "0x4883" || getprop("ro.bootloader") == "0x4886" || getprop("ro.bootloader") == "0x4887" || abort("This package supports bootloader(s): 0x4882, 0x4883, 0x4886, 0x4887; this device has bootloader " + getprop("ro.bootloader") + ".");
ifelse(is_mounted("/system"), unmount("/system"));
and rom is actually flashing
Click to expand...
Click to collapse
Nope. That's just not working for me...
P.S
I'm still waiting for a proper backup for XT1072 and it will help to restore this phone. So... Please, somebody make a backup!

TWRP: Prevent assertion error when flashing rom

Hi,
I've got a Z3 Compact with TWRP 3.0.1-2 on it. As far as I can see, this is the latest version.
In my build.prop, both ro.product.device and ro.build.product are set to z3c. However, the following line in an update-script still causes the flash to abort with an assertion error:
(getprop("ro.product.device") == "D5803" || getprop("ro.build.product") == "D5803" ||
getprop("ro.product.device") == "D5833" || getprop("ro.build.product") == "D5833" ||
getprop("ro.product.device") == "z3c" || getprop("ro.build.product") == "z3c" ||
getprop("ro.product.device") == "aries" || getprop("ro.build.product") == "aries") || abort("E3004: This package is for "D5803,D5833,z3c,aries" devices
this is a "" + getprop("ro.product.device") + "".");
I also tried setting ro.product.device and ro.build.product manually via adb shell and setprop. getprop on the adb shell (when in TWRP) returns the correct values.
Of course, I can always unpack the ZIP, edit update-script, repack the ZIP and flash. But doing this every time is tedious and, of course, deleting the assertion somehow beats the purpose anyway. Is there a way to fix this? Does TWRP get the properties from anywhere else than /system/build.prop?
Blessings,
Christoph
Hey Christoph,
I had the same issue.
I just tried the TWRP version (3.2.1-0) of this post: https://forum.xda-developers.com/z3-compact/general/d5803-z3c-aries-twrp3-0-t3543113 (I only tried the Lineage one)
and it is working again. (I'am running Carbon 6.1)
(No more update-script editing \o/)

Categories

Resources