[Q]how to fix E:Can't open /sdcard/*********.zip (bad) - EVO 4G Q&A, Help & Troubleshooting

When trying to flash any rom in the recovery it said
Install from SD card...
Finding update package...
Opening update package...
E:Can't open /sdcard/*********.zip
(bad)
i have flash before but i also got a new sd card 32gb and just copy all my stuff form the old card. could that of done it? how can i fix this?

mikeothe2 said:
When trying to flash any rom in the recovery it said
Install from SD card...
Finding update package...
Opening update package...
E:Can't open /sdcard/*********.zip
(bad)
i have flash before but i also got a new sd card 32gb and just copy all my stuff form the old card. could that of done it? how can i fix this?
Click to expand...
Click to collapse
perhaps something was corrupted in the copying process over to your new card. try putting the zip (verified not corrupt, check the md5) on again.
also verify that you are not putting on a file named something.zip.zip
if you have file extensions hidden in windows, and it still says .zip, that means you have a file with an extra .zip on the end of it.

Hi guys. I hate to open an old thread, but figured it was the lesser of 2 evils with the other option being to create a new one.
I am suffering the same problem as the OP, with the slight difference that my issue is solely related to the leedroid rom from here: http://forum.xda-developers.com/showthread.php?t=768703
I can safely flash all my nandroid backup roms from clockwork, I can flash the modaco r9 rom i had on there previously. I can flash all the themed zips I have downloaded in anticipation of getting leedroid up and running (they don't work make any difference to my existing rom due to not having leedroid, but they flash fine and then i nandroid after since I was just flashing them to check flashing was working).
The issue is when i try to flash leedroid it just says bad zip. I've downloaded it 4 times, both direct from dropbox and via torrents. I've checked with md5 checker and it's fine. I've unzipped it myself to verify the integrity. I've renamed it to remove the period thinking it might be an extension issue. I've toggled the check signature setting thing. I've run a full file system check on the fat32 partition of my sdcard, i've let it do a full bad sector scan. I'm literally out of ideas.
Edit: In case others stumble upon this, the solution for me was to scrap the partitions on my SD card and start over. I used the proper sdformatter from the official sdcard site to create a FAT partition using up the entire disk, then used gparted to resize that partition leaving 512mb at the end to fit my ext3 in there. The official sdcard formatter leaves 4mb of unallocated space at the start of the disk, I left this there as I didn't want to mess with it. Once my new partitions were setup, I can again flash ROMS from the sdcard. So although there was a proper FAT32 partition on there previously that seemed to be working fine, for some reason it wasn't.

[Q]how to fix E:Can't open /sdcard/*********.zip (bad)
When trying to flash any rom in the recovery it said
Install from SD card...
Finding update package...
Opening update package...
E:Can't open /sdcard/*********.zip
(bad)
same problem,,pls could anybody have an idea how can it be fix??pls...thanks,,,cant flash any rom from sd card,,

SOLVED.
If you get the message: “Can’t Open /sdcard/******.zip (bad)” when installing:
-Extract the SD, format in computer(fat32)
-copy the .zip in fresh sd
-boot with xRecovery and install.
-reboot
-(may be you get a frozen boot, so do:
-reboot with xRecovery
-wipe full reboot
-Everything’s ok!!

Do extract the SD Card while the phone is still in Recovery? Are there any clearer instructions?

corey140 said:
Do extract the SD Card while the phone is still in Recovery? Are there any clearer instructions?
Click to expand...
Click to collapse
I just encountered this problem a couple days ago. I had to physically take the card out of the phone, put it in a card reader, and then mount the card reader in my pc. I used Windows to format the card to FAT32 (that will erase everything). Once I formatted, the phone was able to read the sd card just fine again.

Related

[Q] Rooted Desire stuck on htc logo after trying to make a partition.

I have a rooted desire and I was trying to partition the sd card and it rebooted and since then hasn't been able to pass the screen. I've tried to search for answers but here is some info
-I bought the phone unlocked and rooted so I don't have a gold card
-I tried pressing the back button and then power but the "reboot" option doesn't work
-I also tried "clear storage" to factory reset and it still doesn't load past that screen
-When I choose "recovery" sometimes it loads up my CLOCKWORKMOD RECOVERY page but I don't know what I can do from there.
Please help!
Thanks!
Reese
Ok if can enter recovery no problem, try wipe data in recovery and reboot, if that doesn't work, did u have an nand backup? Restore it, or dw the same or a new rom and install it threw recovery...
Sent from my HTC Desire using XDA App
How can I put a new rom without a gold card? Can I just put it on my SD and instal that way?
I tried doing wipe and it didn't help and no I don't have a NANd backup
Gold card is only needed to install stock rom´s...
Look for a rom that u like, download the zip file to the SDcard, and install it threw recovery...
Thank you!
I'll try that out.
So I'll just need to name the new rom update.zip and then install through recovery?
I'll give that a try!
Yes u can rename it to update.zip or just choose install from sdcard and choose the zip file u want..
Sent from my HTC Desire using XDA App
THANK YOU SO MUCH!!!
It worked!
Since you're so smart, do you know how to easily create an EXT on the SD card?
Thanks
Reese
Not that "smart" interested.. lol
U can find everything i told here in xda..
The easyest way to partition your sdcard is threw rom manager, download the app for free threw market, this is the easyest way to backup/Restore and install roms..
Sent from my HTC Desire using XDA App
I tried doing it through the ROM manager already but all it does it reboot my system and then I get the android with a ! and when I click power it displays CLOCKWORKMOD RECOVERY and I see this:
ClockworkMod Recovery v.2.5.0.1
finding update package...
opening update package...
verifying update package..
E: failed to see in /cache/update.zip (invalid argument)
E:signature verification failed
installation aborted
It gives this to me everytime. Maybe something is wrong with Rom Manager?
It's a 4GB card Class 4
reesepryde said:
I tried doing it through the ROM manager already but all it does it reboot my system and then I get the android with a ! and when I click power it displays CLOCKWORKMOD RECOVERY and I see this:
ClockworkMod Recovery v.2.5.0.1
finding update package...
opening update package...
verifying update package..
E: failed to see in /cache/update.zip (invalid argument)
E:signature verification failed
installation aborted
It gives this to me every time. Maybe something is wrong with Rom Manager?
It's a 4GB card Class 4
Click to expand...
Click to collapse
weird,
never had problems with rom manager,
do u have sd adapter?
try and format the card threw windows/linux, format type FAT32, or if u have another phone like a nokia format the SDcard in that phone, had some problems with the SDcard, not recognized in Desire, format it with an Nokia, and then the SD is readble again in my Desire, then with RM, partitioned the card

Clockworkmod recovery not flashing zip files

HI, I have rooted my Desire running stock official Froyo 2.2 and have backed up using nandroid in recovery.
I was trying to install Wake from trackpad/menu zips but clockworkmod does not allow me to flash it. I get the following message
Finding update package....
Opening update package...
E:Can't open /sdcard/menu-to-wake.zip
(bad)
Installation aborted
the sdcard is fine.. Able to create/restore nandroid backups
the files are named xyz.zip and not xyz.zip.zip
I have the signature verification and script errors turned off
The zip file themselves are fine. I can open them from windows and can also extract in windows without any errors
Still i cannot flash the zip while no one else in the thread has reproted any issue in flashing it on their desire. Can someone please help on how to make the clockwork install the zip files??
vpraveenis said:
I was trying to install Wake from trackpad/menu zips but clockworkmod does not allow me to flash it. I get the following message
Finding update package....
Opening update package...
E:Can't open /sdcard/menu-to-wake.zip
(bad)
Installation aborted
the sdcard is fine.. Able to create/restore nandroid backups
the files are named xyz.zip and not xyz.zip.zip
I have the signature verification and script errors turned off
The zip file themselves are fine. I can open them from windows and can also extract in windows without any errors
Click to expand...
Click to collapse
Hi vpraveenis, I am just curious if you found a resolution for this? I have the same problem, admittedly for a different .zip but the same symptoms. I can flash other zips fine, the zip itself is fine as I can unzip on windows and md5's match, i have toggled the signature verifcation off and run file system checks to make sure my sdcard is ok. Still clockwork can not flash this 1 zip (leedroid) which hundreds of others have flashed fine. I am at my wits end, so if you found a solution to yours, I would be happy to hear it
Did you try to re-download that file again, it may be corrupted.
Felys said:
Did you try to re-download that file again, it may be corrupted.
Click to expand...
Click to collapse
Yes, apologies I should have mentioned that. I downloaded it 4 different times, and all times the md5 checksums were fine. I even tried different methods of getting the file onto the card, incase there was a level of corruption there. I have used adb push, standard usb mount in windows, taking the card out and using the card reader in my PC, and using andFTP to download it from my ftp server directly to the phone.
I can only think it's a problem with my sd card, so i'm trying a new one now, taking a while to make it a gold card though.
tigris666 said:
Yes, apologies I should have mentioned that. I downloaded it 4 different times, and all times the md5 checksums were fine. I even tried different methods of getting the file onto the card, incase there was a level of corruption there. I have used adb push, standard usb mount in windows, taking the card out and using the card reader in my PC, and using andFTP to download it from my ftp server directly to the phone.
I can only think it's a problem with my sd card, so i'm trying a new one now, taking a while to make it a gold card though.
Click to expand...
Click to collapse
Ok, I went and bought a brand new class 6 16gb lexmark sd card (my unknown class / unknown brand 32gb off ebay was causing me too many hassles anyway). I immediately partitioned it with gparted, then went through the goldcard process. Then dumped clockwork including my nandroid backups and leedroid rom onto there. Reboot into recovery and bam, still get the exact same error, bad zip.
I've also tried full factory wipe before hand. I also get the same error on the latest radio ROM from the leedroid guy's drop box. Not having much luck.
That's weird, Can you flash other zip file? :\
Maybe change to Amora Recovery will help?
Try Amon Ra or check if the ClockWork has "File Integration Verify" option and disable it. It should help. Some custom modifications do not pass through integrity verification at recovery state.
Regards
need some help- while trying to flash new leedroid rom get this message:
writing boot.img
assert failed: write_raw_image ("/tmp/boot.img"."boot")
E:Error in /sdcard/LeeDroid_2.3d_A2SD.zip
(Status 7)
Installation aborted
is there a solution?
Felys said:
That's weird, Can you flash other zip file? :\
Maybe change to Amora Recovery will help?
Click to expand...
Click to collapse
I couldn't get AmonRa up and running, tried using unrevoked or whatever to flash it on there, but just wouldn't complete. Clockwork is a fair bit easier since you can just copy on a file and name it update.zip and you are done.
In regards to other zips, it seems I can flash any "theme" based zip, just not any RUU zip such as new ROMs or radios. This probably implies my card is not a gold card, but I have been through the gold card process 3 times, all without fail, so I dunno why it wouldn't be one.
I've confirmed that I can flash these files from my 2gb gold card that I originally made. So there is definitely no zip corruption.
Edit: In case others stumble upon this, the solution for me was to scrap the partitions on my SD card and start over. I used the proper sdformatter from the official sdcard site to create a FAT partition using up the entire disk, then used gparted to resize that partition leaving 512mb at the end to fit my ext3 in there. The official sdcard formatter leaves 4mb of unallocated space at the start of the disk, I left this there as I didn't want to mess with it. Once my new partitions were setup, I can again flash ROMS from the sdcard. So although there was a proper FAT32 partition on there previously that seemed to be working fine, for some reason it wasn't.
Hi there i was just bobbing my self lmao because i had the same problem and dint backup or anything and i dint no wat to do, Buy... i found a solution.. I just put a different sdcard in my computer and put the rom on there whih i was trying to install then i placed that in my phone and then tryed and it worked..

RCMixHD v0.13 installation fails

Tried to install the RCMixHD v0.13 rom today and the installation fails. I get:
-- Installing:SDCARD:RCMixHD_v013 .zip
Finding update package...
Opening update package...
Installing update...
Formatting CACHE:...
Formatting SYSTEM:...
Deleting files...
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
Deleting files...
Deleting files...
Copying files...
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
E:Can't mount SDEXT:
E:Failure at line 11:
copy_dir PACKAGE:data SDEXT:
Installation aborted.
Click to expand...
Click to collapse
Is this me doing it wrong or is there some bug? I'm able to install roms just not this one.
EDIT: i've tried the desireZ rom aswell and that failed. I also noticed the line "E:Can't mount SDEXT:" and tried an sd card with an ext3 partition but it then failed to mount the fat32 (/sdcard) partition but was able to mount the ext partiton (/sd-ext). From what I've been reading its because it doesn't have an ext partition, but as I said when I do it then doesn't mount the non-ext partition.
I too was having similar issues and found that re-partitioning and formatting the card did the trick. Also I had a 700mb partition before which I have increased to 1gb.
Phil
Had the same problem myself.I ended up putting a stock rom on to access market place, installed rom manager which I partitioned with then ran hd rom and it worked.Only problem I have now is its stuck in a boot loop lol and not sure how to fix it but hey good luck.
Cool. Got it to work, using stigslim's method of using ROM manager had a slight issue with it saying the Rom wasn't signed but I turned off the verification then it worked fine. No boot loop.did use the wrong SD card though. *Facepalm*
thanks
Can you tell me what procedure you went through in recovery, if I follow your tracks I might get rid of the restart problem I have.cheers
pnw said:
Cool. Got it to work, using stigslim's method of using ROM manager had a slight issue with it saying the Rom wasn't signed but I turned off the verification then it worked fine. No boot loop.did use the wrong SD card though. *Facepalm*
thanks
Click to expand...
Click to collapse
what did u do ?
Exact same error as I got yesterday.. had to restore my sd card and restore to previous state. I assume there's something causing this rom to fail.

Cannot reboot phone...

PLEASE HELP...I am new to this so I hope it is simple. I recieved instruction on how to flash the SNS v1.3 From this Thread on this site.
Sinister Rom [RLV3]-5/12/11|[! Post what you want to see in version 4 !]
Prior to this I performed a Nandroid Backup after flashing Amon RA from ROM Manager. I wiped everything except for the SD Card and attempted to flash the ROM. After an unsuccessful try I tried to reboot phone and it just keeps going to the Bootloader Screen. I also noticed that the PC36IMG.zip file is not being loaded now. It says that image is not found. I have tried several new PC36IMG.zip files from the site and put them on the root of my SD Card using the USB-MB toggle option and it still says wrong or no image found. WHAT do I do? Don't want my phone to die and be bricked...
HELP PLEASE
I think y oi r problem is you dont have an os, try putting a rom on sd card, on bootloader select recovery and flash zip, then look for rom zip file and flash
Sent from my PC36100 using XDA Premium App
i tried flashing SNS v1.3.zip
and
update-cm-7.0.3.1-Supersonic-signed.zip
and got the same results
E:Can't open /sdcard/SNS v1.3.zip
(bad)
Installation Aborted
ANY IDEA?
corey140 said:
i tried flashing SNS v1.3.zip
and
update-cm-7.0.3.1-Supersonic-signed.zip
and got the same results
E:Can't open /sdcard/SNS v1.3.zip
(bad)
Installation Aborted
ANY IDEA?
Click to expand...
Click to collapse
Maybe bad download. But, yeah, sounds like you don't have an OS. YOu need to find a good one to flash which should contain everything. Good place to start for noobs would be the new GB leak. It's here:
http://forum.xda-developers.com/showthread.php?t=1038701
Sounds like you have SD card problem though. Pull the recovery.log using adb:
adb pull /tmp/recovery.log <path on your comp where you want it to go>.txt and post it.
what is adb
corey140 said:
what is adb
Click to expand...
Click to collapse
You should really know what adb is before you rooted your phone..
Here is Android Debug bridge(ADB)
Now onto your problem. If you have the option try to use a different micro SD or a different way of transferring a rom to your card.
When I transfer a rom to my micro sd via a cheap ebay adapter I receive that same error. But when I transfer right to my phone or through the adapter that came with my phone it works fine.(I have a SD slot on my computer most newer ones do)
THANKS TO EVERYONE!!! Needed to Wipe SD Card, Partition SD CARD, and reflash ROM...WORKING GREAT NOW!!!
Just curious, but why did you feel the need to double post this... .in the same forum, no less?
And good deal getting it fixed....

[Q] Problems flashing roms with CWM/TWRP

Hello, I've been trying to flash a rom and keep getting this error on TWRP:
Updating partition details...
E: Unable to open zip file.
Error flashing zip '/sdcard/update.zip'
Updating partition details...
Failed
I tried downloading a different ROM (ParanoidAndroid, then ParanoidKANGdroid, then CM10), installing from the external SD card instead of the internal one, switching from CWM to TWRP since some people have been complaining about CWM recently, and I just keep getting the same error.
Also, when I try to install the zip file from my computer instead of my phone, it won't let me put the file in any of the SD card's folders, so I'm not sure if that's normal/relevant to the problem. Would installing a custom kernel or trying to partition the SD card help? I don't have an SD card reader unfortunately but I'm pretty sure it's in fat32 format.
Thank you very much!
Whenever I get "bad" (followed by an Android robot on his back with a red shape on his front) while installing it usually just means a bad download.
Re-download to another folder (if you can download FROM your phone directly to your phone) I find that works really well.
Alright, I'll try downloading again, thanks. I have saved it in both the downloads and the ROM folder I created myself with no difference though.
I tried downloading CM10 directly from my phone to my downloads folder and still got the same error.
I had problems flashing a particular rom. Same as your having, I use TWRP. If you read in this thread http://forum.xda-developers.com/showthread.php?t=2034844 others have same experience. There are some solutions and something about editing a script.
Sorry I can't be more helpful but this was a bit more than I could take.
Thanks! I'll be sure to read through it. No amount of help is too small at this point lol.
If your sd card is 64gig you have to use win util to format it to fat32. Google format 64 gig sd fat.
Sent from my SAMSUNG-SGH-I747 using xda premium
My card is only 16gigs; do I still have to format it?
aschey said:
My card is only 16gigs; do I still have to format it?
Click to expand...
Click to collapse
You can take out the variable of the MicroSD card and flash from the internal SDcard.
I've tried both; thanks though.
What version of TWRP/CWM are you using?
Sent from my SAMSUNG-SGH-I747 using xda premium
TWRP 2.3.1.0 and CWM 6.0.1.2
Sounds like you are having filesystem corruption issues. I would suggest formatting your internal and/or external sdcards.
Sent from my SAMSUNG-SGH-I747 using xda premium
I just ordered an sd card reader so I'll check it out, thanks. I don't think I've done anything to corrupt the filesystem though. Do you think it was already corrupted when I bought it?
Stuff happens. Filesystem corruption can be cause by almost anything. Typically it happens when your device random reboots.
Sent from my SAMSUNG-SGH-I747 using xda premium
This may be off base here, but are you selecting the option in your recovery to "flash update.zip" rather than manually browsing for the ROM Zip?
I've tried choosing the "flash rom" option from the Goo Manager app as well as the "install" option from the recovery menu.
Same Prob, escalated...
I was having the same problem. After some research I found a tip to Delete a portion of coding in the begining of the update-script zip file. Only now it is unable to open and read the zip file. I too was doing from computer via external sd card. Have you gotten any where since?
~Starkey
aschey said:
Hello, I've been trying to flash a rom and keep getting this error on TWRP:
Updating partition details...
E: Unable to open zip file.
Error flashing zip '/sdcard/update.zip'
Updating partition details...
Failed
I tried downloading a different ROM (ParanoidAndroid, then ParanoidKANGdroid, then CM10), installing from the external SD card instead of the internal one, switching from CWM to TWRP since some people have been complaining about CWM recently, and I just keep getting the same error.
Also, when I try to install the zip file from my computer instead of my phone, it won't let me put the file in any of the SD card's folders, so I'm not sure if that's normal/relevant to the problem. Would installing a custom kernel or trying to partition the SD card help? I don't have an SD card reader unfortunately but I'm pretty sure it's in fat32 format.
Thank you very much!
Click to expand...
Click to collapse
I've had problem with TF101 flashing. At least i copied the zip files into the internal sdcard from the microsd with the trwp file manager and the problem was solved.
KorGuy123 said:
Whenever I get "bad" (followed by an Android robot on his back with a red shape on his front) while installing it usually just means a bad download.
Re-download to another folder (if you can download FROM your phone directly to your phone) I find that works really well.
Click to expand...
Click to collapse
Hi,
Need help!!
I was trying to roll back to miui from CM12 and followed guide from technobuzz. i've added the link below.
I've encountered an error while installing the file.
error says too many open files. while its updating partition details.

Categories

Resources