[Q] Can't flash rom with cwm - "installation aborted" - Galaxy S 4 Q&A, Help & Troubleshooting

Hi guys,
When I enter cwm recovery mode and try to install zip file (tries several, none working), the message is: cannot open zip file (bad)... installation aborted.
Any help is much appreciated.

snorre89 said:
Hi guys,
When I enter cwm recovery mode and try to install zip file (tries several, none working), the message is: cannot open zip file (bad)... installation aborted.
Any help is much appreciated.
Click to expand...
Click to collapse
which Rom you're trying to flash? make sure that the zip file is right, or is there another zip in the zip file?

Solution found - automatically opened zip files in safari
h6x said:
which Rom you're trying to flash? make sure that the zip file is right, or is there another zip in the zip file?
Click to expand...
Click to collapse
I think I have found the solution. I figured there might happen something with the zip files after they are downloaded when my Mac OS X Yosemite opens them (I re-compress the folders usually and transfer the new zip file to an external SD.) So I turned off safe opening on safari preferences, re-downloaded the rom (this time: Pac Man ROM), flashed, and it worked like a charm!
So either you're running Mac or Windows, auto-expanding might cause trouble with the zip files.
I hope others will find this helpful as well.
Merry xmas!

Related

root?

I have a G1, and I tried to get root. I downgraded to RC29, and then downloaded the recovery.img file and the Hard SPL, downloaded telnet and all that, then tried to flash the spl as update.zip to the phone using the recovery console (i think that's what it's called, i pressed home+power to get there). it keeps giving me an error message "E:No Signature (26 files) E:Verification failed". i tried to download another one, and it gave me the same message. i've been looking for a solution for six hours and nothing helped ;( anyone think they can help me?
Did you try editing the zip in any way? Did you extract it/etc? You need to take the downloaded zip, rename it update.zip, and put it on the sdcard. Do not change any files in it or extract it. Hell, don't even open it.
mattdeeeezy said:
it keeps giving me an error message "E:No Signature (26 files) E:Verification failed".
Click to expand...
Click to collapse
Doesn't sound like you're using the SPL update.zip. That updater only contains one file.
@gary13579 the only thing i did to the zip was rezip it, cos my mac automatically unarchives everything when i download it.
@jashu do you know anywhere i can get the SPL? i downloaded it from the post on this forum..
mattdeeeezy said:
@gary13579 the only thing i did to the zip was rezip it, cos my mac automatically unarchives everything when i download it.
Click to expand...
Click to collapse
That would be the problem. You're going to have to find a way to download it without unarchiving it.
There's a "signature" added to all updates, which tells the phone whether it's a legitimate update or not. When you re-archive it, it loses that signature.

NC Formatting Questions

I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
SacTappingUni said:
I'm getting an error when I try to install a .zip file through CWM recovery.
I get an error saying : E: Can't Open /sdcard/x (No such file or directory exists).
I've looked around and have learned that my best bet is to format my SD card. I can do that just fine, but I don't want to lose my data. I'm not flashing a ROM, it's just a custom lockscreen clock. If I format, I'll have to redo everything and lose all my data, apps, and system files (I'm running CM7 off of my SD card). But I need that for my zip to even be worth it.
I'm running a nightly build. Is there any possibility/plausibility that this could be a ROM-specific bug?
Is there any advice as to what I should do?
Thanks in advance.
Click to expand...
Click to collapse
If you are running CM7 on SD you do not flash zips to it with ordinary CWM. Ordinary CWM will flash things to emmc. But maybe that is what you are trying to do. You do not say what you have on emmc.
If you want to flash the zip to the SD installation, make sure the zip file starts with update- and put it in the boot partition just like you do for roms. Then boot to SD recovery and the script will install it to SD.
An alternate way to flash things to SD installed CM7 is to use a special CWM modified for use on SD installs. You can read about and get it by looking at my tips thread linked in my signature. Item B5.
If you want to flash to emmc, make sure you are using an ordinary SD to put the zip on. Ordinary CWM always looks for partition one on the sd for the zip file. On your CM7 SD, the file is on partition 4 so CWM cannot find it.
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
You need to find out if it is a flashable zip... or if it is an app that has been zipped... I'm betting on the latter.
SacTappingUni said:
So I'm trying to flash a new clock for my NC's unlock screen. The zip is called HoneyCombClock.zip. So do I just rename it to update.zip? That's not going to mess anything up?
Also yes, I booted into boot menu and selected emmc recovery. I thought that I needed to do CWM recovery.
I'll try the proposed method when I get a confirmation that it's not going to mess up my NC.
Click to expand...
Click to collapse
If it is a flashable zip like Dizzy pointed out, you should rename to update-HoneyCombClock.zip. But I agree with Dizzy that it is probably a zipped apk file, not a flashable zip. Try looking at it with a zip program and see what you get.
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
SacTappingUni said:
It is indeed a flashable zip. I extracted it to make sure.
Also, I'm curious as to what you (leapinlar) meant when you instructed me to put the zip in the boot partition. From what I understand, that's the root of the SD card, right? Or has it changed?
Click to expand...
Click to collapse
Yes, it is what shows up on your PC when you take the card out of the nook and put it in the PC. Copy the zip there, rename it like I suggested above, put back in nook. When booting hold the n key until the boot menu comes up. Select SD and recovery and finish booting. The recovery script will install the zip.
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
SacTappingUni said:
I'm doing it and I'm not getting any errors, but when I boot into recovery, it runs through and shuts down without installing the zip. I don't understand what I could be doing wrong.
Click to expand...
Click to collapse
And you renamed it like I said with update- on the front? (Don't forget the dash and no spaces.)
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
SacTappingUni said:
The file name is "update-HoneyCombClock". That should work right?
Sorry about these extended questions.
Click to expand...
Click to collapse
and .zip at the end?
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
Even if you get it flashing with your SD setup... it may not work if it requires honeycomb and you're running gingerbread.
It's meant for cm7. Here's a link to the thread I got the zip from: http://forum.xda-developers.com/showthread.php?t=959602
SacTappingUni said:
It's automatically recognized as a zip file. If I put .zip at the end, it will show up on my tablet as "update-HoneyCombClock.zip.zip" Nevertheless, I'll try it and see what I get. I'll laugh if it works.
Click to expand...
Click to collapse
What does the script say when it boots to SD recovery? Does it say install zip not found? And when you take it back out and look at it in the PC, is it still there? If it installed, the script will remove it. I know you can have your PC set to not show known extensions so it looks like it is missing. Temporarily disable that so you can really see the name. The script requires that it be named precisely, update- at the beginning, .zip at the end and no spaces.
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
SacTappingUni said:
The script doesn't mention any .zip installation. The zip file stays on my sd card root after recovery.
I just set my computer to show extensions. I'll retry the installation and make sure that every detail is perfect.
I remember doing something similar when I flashed a nightly on my nook. It was a .zip file. It wasn't flashing, so I looked around and got the impression that it would only instal if it had "update-" at the beginning. So I renamed it and it installed. I don't know what's up with my NC now. Is there any possibility that this could be a bug with the nightly? Or are installations not affected by ROM's.
Click to expand...
Click to collapse
No the existing rom will make no difference. It could be the zip itself. It has to be structured like a rom zip. It needs a /system directory with the files you want to flash. And it needs a META-INF folder with the script file buried in it. Where did you get the zip? Maybe I could look at it for you.
EDIT: I just downloaded and looked at it. It is just adding a single font to your /fonts folder. Nothing else. You can do that manually with root explorer. Just extract the font from the zip and copy to /system/fonts.
I got the zip from here: http://forum.xda-developers.com/showthread.php?t=959602
The clock can be flashed on any device with the following zip in recovery just like before.
http://www.mediafire.com/?b6xpw0pda671ujm
Click to expand...
Click to collapse
The zip has a font file and a meta-inf folder.
Look at my edit above
I replaced the file, but now I'm in an infinite bootloop.It just keeps doing the skateboarding android animation. Please tell me this isn't a problem with permissions. I don't know if I can even edit permissions now.

[Q] Galaxy Y S5363 Root puzzling

Please forgive me guys if this has been asked before ..........I've searched the forum without success......but my problem is with this
;
Universal_GB_ROOT_v9.zip mediafire.com/?a99wthh9p98bm0y
I followed the advised procedure but when I get to the choices screen and select install from SD Card, I am then shown this list of options:
../
.android_secure/
Android/
DCIM/
LOST.DIR/
META-INF /
system/
Where do I start, I have tried going through in sequence with no success/response, I have then tried just selecting META-INF / & system / in sequence, again no joy....... could someone give this inquisitive old duffer a walk through, or show me what I'm doing wrong, PLEASE:fingers-crossed:
You are not supposed to extract the zip. Just select install zip from sd card, then select the root zip. Don't extract it and you will be fine.
Vedarshi said:
You are not supposed to extract the zip. Just select install zip from sd card, then select the root zip. Don't extract it and you will be fine.
Click to expand...
Click to collapse
Thanks for the quick reply......I have not extracted anything, I just downloaded the zip file went nowhere near extraction and the file in my SD card says META INF & system, no where is it named as zip.
Would you by any chance have a good link for the zip file instead.....be grateful.
You're using apply update from SD card in CWM right?
Well location of your zip file should be..
/sdcard/*here*
If you are using atock recovery then the zip file should be on top of the list.. It SHOULD be a .zip file
if you are using clockworkmod recovery then the .zip file will be at the end of the list.. Good luck
Press thanks if i helped you
Khizar Amin said:
Well location of your zip file should be..
/sdcard/*here*
If you are using atock recovery then the zip file should be on top of the list.. It SHOULD be a .zip file
if you are using clockworkmod recovery then the .zip file will be at the end of the list.. Good luck
Press thanks if i helped you
Click to expand...
Click to collapse
Thanks to everyone for patience and assistance.........sorted now:victory:

CWM zip file issue

I am using an unlocked and rooted Nexus 4 and am attempting to install the battery display mod. I have downloaded the zip file to the phone but for some reason CWM (through recovery at boot) is not seeing the file. I have tried moving the file to various locations including the root directory of the sd card but CWM still cannot find it. I've performed this task a zillion times on other phones so I must be missing something real obvious.
Thoughts? Any help would be greatly appreciated!
bump........Anyone?
CWM will only show zip files. Did the file extension get messed up?
estallings15 said:
CWM will only show zip files. Did the file extension get messed up?
Click to expand...
Click to collapse
it is a *.zip extension!
ignore this thread.....problem solved......not sure why but file is now visible!!!???

Invalid zip format Galaxy Tab A6 (SM-T285)

I downloaded this ROM in this link , but when I try to install with TWRP (my version is 3.2.1-1) show this fail message "Invalid zip file format".
What I supposed to do?
Rubtec said:
I downloaded this ROM in this link , but when I try to install with TWRP (my version is 3.2.1-1) show this fail message "Invalid zip file format".
What I supposed to do?
Click to expand...
Click to collapse
invalided zip can mean all sorts of things
The zip is corrupted - download the zip file again
The zip is not meant for your phone
You have incorrectly edited the zip
The updater script is incorrect
The update binary is not for your phone
The zip is not a flashable zip - look inside and make sure there is a META-INF folder - if not its definitely not a flashable zip

Categories

Resources