[solved] CWM: Can't install .zip from /sdcard ("Couldn't open directory")

137 posts
Thanks Meter: 18
By Elmo108, Senior Member on 16th February 2014, 02:50 PM
Post Reply Subscribe to Thread Email Thread
Hey everyone,

I completely wiped my phone (did a format of data, system etc. on CWM, wiped dalvik/cache etc.). Now I'm stuck with CWM and want to install a rom. I tried to put the .zip on the phone via "adb push /data/media". However, after doing that when I select "choose zip from /sdcard" it says "Couldn't open directory. No files found.".

If I open the shell via adb, I can find the /data/media folder as well as /sdcard, however, I can't cd into it. But I can see (by the folder-size) that the folder contains the .zip.

Any ideas? Is there maybe another way of installing a rom via CWM than through a zip on /sdcard?


adb sideload isn't working either
Last edited by Elmo108; 16th February 2014 at 05:01 PM.
16th February 2014, 03:16 PM |#2  
AndyYan's Avatar
Senior Member
Flag Beijing
Thanks Meter: 1,069
Go to "install zip via sideload" in CWM (if it's not there, update your CMW first!), connect to PC, and run "adb sideload *PATH-TO-ROM-ON-YOUR-PC*". If your storage is not corrupted then it should load a ROM to your storage AND immediately flash it.

Sent from Google Nexus 4 @ CM11
16th February 2014, 03:32 PM |#3  
Elmo108's Avatar
OP Senior Member
Thanks Meter: 18
I tried it through sideload.
After the transfer finished it doesn't install the .zip automatically. However, when I go back in CWM it starts installing but fails with "E: Can't open /tmp/ (bad)"
16th February 2014, 05:00 PM |#4  
Elmo108's Avatar
OP Senior Member
Thanks Meter: 18
I solved the problem by flashing TWRP recovery and doing a full data wipe (not just the normal one).
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes