nexus 4 recovery couldn't open directory - Nexus 4 Q&A, Help & Troubleshooting

this morning i found my nexus 4''s storage mess up so i formated my storage and i found there is still some folder inside so i though i gonna flash a new rom then i deleted all those folder and put in my rom.zip then boot into recovery, then doing those wipe and when i try to "install zip from sd card" it showed "couldn't open directory" OMG, i never face this problem, and i had just wiped my previous rom now i have no any way to get into a rom and stuck on recovery here. can anyone teach me how to fixed this up? :crying:
p/s i also cannot mount/unmount sd card in recovery(6.0.1.9)
* i just want can reflash a new rom and i got all my data on dropbox, so pls help me up ..

vincentt84 said:
this morning i found my nexus 4''s storage mess up so i formated my storage and i found there is still some folder inside so i though i gonna flash a new rom then i deleted all those folder and put in my rom.zip then boot into recovery, then doing those wipe and when i try to "install zip from sd card" it showed "couldn't open directory" OMG, i never face this problem, and i had just wiped my previous rom now i have no any way to get into a rom and stuck on recovery here. can anyone teach me how to fixed this up? :crying:
p/s i also cannot mount/unmount sd card in recovery(6.0.1.9)
* i just want can reflash a new rom and i got all my data on dropbox, so pls help me up ..
Click to expand...
Click to collapse
http://www.youtube.com/watch?v=eOACRaFFfdo

trook said:
http://www.youtube.com/watch?v=eOACRaFFfdo
Click to expand...
Click to collapse
actually everything work just only i cant flash a rom, this one kind of brick? thanks for your reply

Related

I am STUCK

Stuck trying to make sure a2sd is working... I moved the zip to the SD, partitioned it, upgraded to ext3, and now I am trying to flash the damn zip and it keeps saying there's no zip files found. SOmeone help please? Really dont wanna have to boot up for nothing...
you need to put the zip back on your sd when you put it on there THEN partitioned it formated the card hence the zip got erased. either reboot and add it or boot into recovery and use the usb mass storge option.
Lol! You should've flashed the zip then partitioned. Partitioning wipes your SD card so of course there is no zip to flash!
jerry43812 said:
Stuck trying to make sure a2sd is working... I moved the zip to the SD, partitioned it, upgraded to ext3, and now I am trying to flash the damn zip and it keeps saying there's no zip files found. SOmeone help please? Really dont wanna have to boot up for nothing...
Click to expand...
Click to collapse
you put the zip on
...and then partitioned?
Yeah, apparently I followed some idiot directions... this is why I would rather ask people first than do a damn search. Here's the quote form the thread I followed:
1. (Optional) Download A2SD version 2.5: http://www.darktremor.com/files/misc...2.5-signed.zip. Save the file to your SD card. If you don't want to download this version, skip this step.
2. Reboot the phone into recovery mode.
3. Partition the SD card by selecting Partition SD Card -> Partition SD.
4. Once you have partitioned it, press the back button to go to the main recovery menu.
5. If you downloaded the A2SD version 2.5, flash the program by selecting Flash zip from scard -> a2sd-2.5-signed.zip. Otherwise, skip this step.
Click to expand...
Click to collapse
I thought that was fishy, so after I partitioned, I pushed the file back onto SD (which is really not empty after the ext2 to ext3 upgrade, or partition ffor that matter)
After I re-pushed the zip, I tried to flash it but still says no zip found. So, I go into adb... here's the results:
Code:
You stupid ****er... dont have 2 phones connected at the same time!
If your SD is not empty after partitioning, you did something wrong. That will wipe your SD card.
Download the file again. I used the same link and his directions and it worked fine.
crap... now adb wont even recognize the device as attached
ok point me somewhere so I can go back to complete stock and re-root and reinstall DC. I am aggravated and not playing around anymore.
jerry43812 said:
ok point me somewhere so I can go back to complete stock and re-root and reinstall DC. I am aggravated and not playing around anymore.
Click to expand...
Click to collapse
Try unplugging your pone, killing and restarting the server, and then reconnecting
-unplug
-adb kill_server
-adb start_server
-plug phone in, wait for it to do its thing
-adb devices
tejasrichard said:
Try unplugging your pone, killing and restarting the server, and then reconnecting
-unplug
-adb kill_server
-adb start_server
-plug phone in, wait for it to do its thing
-adb devices
Click to expand...
Click to collapse
tried that and didnt work, i just let the thing boot regular and logcat worked, so adb recognized it again after it began booting. Show me a ROM that's clean, everything works for the most part, and doesnt force me to wipe everything on each update and I'll be flashing it now, after I RUU.
Bielinsk said:
If your SD is not empty after partitioning, you did something wrong. That will wipe your SD card.
Download the file again. I used the same link and his directions and it worked fine.
Click to expand...
Click to collapse
I think there is a lost+found folder that is created during format. That's true for all ext2/ext3/ext4 partitions.

[Q]Update fixed Clockworkmod isn't working

Update fixed the SD was broken I don't exactly know why but it explains everything so thanks for all your help and sorry for not being very
clear.
Hi I'm having issues with clockworkmod.
See the problem is while trying to flash cyanogen mod I was getting the endless loop so I kept
at it until I managed to flash it. The problem is I flashed Cm6.1.0 so easy fix right? Well I thought so too until clockworkmod wouldn't find the zip. So I tried nandroid and it again couldn't find any zip so I checked the partitions menu and clockworkmod had mounted the
Sd card and the cache. So I unmounted both and still nothing so I looked at the setting's again and it remounts the cache and sometimes the Sd card. Well my problem is worsened by
the fact that the version of cyanogen mod that did flash doesn't have the market or flash.
Any help will be welcome. HTC aria.
place name here- said:
Hi I'm having issues with clockworkmod.
See the problem is while trying to flash cyanogen mod I was getting the endless loop so I kept
at it until I managed to flash it. The problem is I flashed Cm6.1.0 so easy fix right? Well I thought so too until clockworkmod wouldn't find the zip. So I tried nandroid and it again couldn't find any zip so I checked the partitions menu and clockworkmod had mounted the
Sd card and the cache. So I unmounted both and still nothing so I looked at the setting's again and it remounts the cache and sometimes the Sd card. Well my problem is worsened by
the fact that the version of cyanogen mod that did flash doesn't have the market or flash.
Any help will be welcome. HTC aria.
Click to expand...
Click to collapse
With CM 6, the Market is in the GoogleApps zip which must be installed after the ROM.
Also Flash 10.x does not run on the Aria; the CPU is not supported by Adobe.
Well clockworkmod won't find any zip not even nandroid and so my problem deepens so now can't get the market crap.
place name here- said:
Well clockworkmod won't find any zip not even nandroid and so my problem deepens so now can't get the market crap.
Click to expand...
Click to collapse
Some of your terminology in your post is very confusing. First of all, ClockworkMod will only find ZIP files that are copied to the root directory of your SD card. If you copied them to a folder on your SD card, CWM will not find them.
Second, Nandroid is a backup and restore utility and it does not use ZIP files. It creates backup folders on the SD card under /clockworkmod/backup and contains image files of the various partitions on your phone.
So what is the exact state of your phone? You stated that you have flashed CM 6.1? If you boot your phone normally, does CM 6 start up and are you able to use your phone? In order to install gapps.zip file to get the Market app, copy the gapps.zip file to the root of your SD card and see if ClockworkMod can install it. BTW, in CWM you are select "install zip from sdcard" and then "choose zip from sdcard", right?
tpbklake said:
First of all, ClockworkMod will only find ZIP files that are copied to the root directory of your SD card. If you copied them to a folder on your SD card, CWM will not find them.
Click to expand...
Click to collapse
Not true, you can install ZIP files from any directory.
drumist said:
Not true, you can install ZIP files from any directory.
Click to expand...
Click to collapse
+1. I keep all my zips in a subdirectory on my sdcard.
Sent from my cm6.1 Aria using XDA App
drumist said:
Not true, you can install ZIP files from any directory.
Click to expand...
Click to collapse
CallMeAria said:
+1. I keep all my zips in a subdirectory on my sdcard.
Sent from my cm6.1 Aria using XDA App
Click to expand...
Click to collapse
Thanks for correcting my misinformation. I guess the root location only applies to "update.zip", right?
Yup. And it actually must be named "update.zip"
Oh crap I just formated the boot partition and now my phone won't boot at all!
It still won't find any zip. What now? Is there any way to restore clockworkmod?
place name here- said:
Oh crap I just formated the boot partition and now my phone won't boot at all!
It still won't find any zip. What now? Is there any way to restore clockworkmod?
Click to expand...
Click to collapse
Mount sdcard in clockwork and transfer from PC then reboot recovery and choose the zip
Sent from my Liberty running CM7
that's my problem i can load many zip files but it won't find any of them.
it just keep's saying no files found.
place name here- said:
that's my problem i can load many zip files but it won't find any of them.
it just keep's saying no files found.
Click to expand...
Click to collapse
Are you copying the zip files from your PC to the sd card? Have you tried downloading a ROM zip file directly to your SD card using your phone's browser?
I have exactly the same problem...Clockwork will not see any .zip files....even tried mounting usb storage from cwm, it mounts and the zips are there, yet it can not find any of them when i try to find them (all are in the root of the sdcard)...any ideas?
So if you pick "choose zip from SD" you can't manually pick a zip?
Sent from my Liberty using XDA App
Found a solution:
1. Get SD card formatter from HERE
2. Plugin your phone (as USB drive), start up the application and format the card (default options selected) NOTE: backup your SD card to your PC first (obviously)
3. Unplug the phone (or put it into charge mod, whatever)
4. The phone should now try (and fail) to mount the card...go to the SD options and format the card using the phone function
The .zip files should now be visible in ClockworkMod Recovery (it worked for me and a few others as far as i know)

[PROBLEM] Clockwordmod recovery issue

hello,
i am havin annoyin issue with clockwordmod recovery 2.x.x.x.x, it doesnt see new files on sd card.. i have tried formating sdcard from recovery but it didnt format it at all.. next i formatted sd in windows, but still.. when i log into recovery it suppouse to show the files i've uploaded onto sdcard which were; cm7, nightly 40, new radio, gapps.. but instead it shows the old files which are not on the sdcard.. the problem is more annoying because i ve notticed that after formatting system, wipping cache etc.. so now i have only acces to broken? recovery and my wf gets bootloop all the time.. please help is there any way to flash the new cm7 from pc or somehow fix the sd card and flash new cm7 and fix the recovery??
i have searched @ google but i found notting..
please help ; /
cheers,
Have u tryed using unrevoked again n updateing with Rom manager
Do u have another SD card
Sent from my HTC Wildfire using XDA App
i cant use unrevoked and rom menager because my wf doesnt load os.. i was tryin to put update.zip and load it from sd card but it says "cant open E:/sdcard/update.zip (bad) installation aborted.", ive load even file as pc49img.zip, in bootloader it says it's parsing and it looks like everything is ok but still have no updatec cmw ;/.
and no i do not have another sd card ;/
Surely borrowing an SD card from some of your close ones shouldnt be an issue? Anyway, did you try using an RUU to get back to the default state?
i;ve tried to use ruu, it only sees my phone while the htc logo but it says it's not enough charged.. i think ill try to wait until green led comes up and try it again ;/
mlotson said:
hello,
i am havin annoyin issue with clockwordmod recovery 2.x.x.x.x, it doesnt see new files on sd card.. i have tried formating sdcard from recovery but it didnt format it at all.. next i formatted sd in windows, but still.. when i log into recovery it suppouse to show the files i've uploaded onto sdcard which were; cm7, nightly 40, new radio, gapps.. but instead it shows the old files which are not on the sdcard.. the problem is more annoying because i ve notticed that after formatting system, wipping cache etc.. so now i have only acces to broken? recovery and my wf gets bootloop all the time.. please help is there any way to flash the new cm7 from pc or somehow fix the sd card and flash new cm7 and fix the recovery??
i have searched @ google but i found notting..
please help ; /
cheers,
Click to expand...
Click to collapse
Sounds like you might have partitioned your card, and now are looking at two different partitions, one from windows, one from recovery. You could try repartitioning it from recovery, to make sure that you only have one FAT partition and one EXT and that they are in the correct order.
Mine has its FAT partition on p1, and ext2 on p2.
hey mate,
could you guide me how to do it? in recovery i have;
unmount system
unmount data
unmount cache
mount sd-card
when i click on mound sd-ext it says "ERROR MOUNTING SDEXT:!"
;/
i took off the sd card and formatted it then i mount it into the device and tried to choose zip file but it was unmounted in options so it didnt show me any files, next i've mounted sd card and left sd-ext unmounted and againt its the same, it shows me the old files which dont even exist anymore, i guess it maybe something with partitionin, but how to do it? could you guide me how to make one fat and one ext ? like u have? thx in advance
I partitioned mine from a linux PC with an SD card reader attached, but it should work from recovery as well.
From the Clockworkmod recovery menu, choose advanced and then partition sd card then choose the size you want for the ext partiton, then the size for the flash partition (if any). That should set them up correctly in the correct order.
Questions/Problems don't belong in the Development section <---please click link and read....moved to general...
i've wipped cache and during wippin it said that there is no sd-ext partiotion ; / it's something wrong with clockwork but i have no idea what.. it shows only the old files that i've loaded on sd before flashing with cm7 rc-2 ;/ the weird thing is that i remember that i updated cmw do newest 3.0.5... (something like that - the orange one) and it worked fine but next when i log into recovery it shows the older version oO
i successfuly manange to update cmw, i used adb in that purpouse and now everything works fine

CWM locked my sd

alrright guys, i dont know what happened and it happens first time in my 4 years with android but when i installed CWM my sd got locked when i tried to open it up (to flash zip custom rom) and since then it doesnt unlock. doesnt format, although i can see the files in it and copy from it, but not write. Any ideas?
fix permissions might help i think... try go to advanced and fix permissions...
fix permissions in cwm? where is this option?>
it didnt help. Apparently in cwm it displays the option to delete some files from the card but as soon as click delete it freezes. Whats the hell, plz help
Mount the card on pc with an adapter, backup your files/folders, and then open windows partition manager, delete and recreate the fat32 partition.

[trick] switching roms without loosing adopted sd data[mm]

Marshmallow had a new cool feature of adopted storage but all the flashoholics had trouble in changing roms because they have to format sd card every time they change roms .
I have a solution.
1:- while flashing rom wipe system dalvik cache and cache but dont wipe data .
2:- flash the rom and let it optimize apps .
3:- after optimizations most probably you will be in bootloop , simply boot into recovery and wipe data and reboot.
4:- your phone will optimize apps again and this time it will boot up and you can access sd card as adopted storage without need to format it again as internal.
This trick worked for me and should work for you guys too.
There's another method that is :-
1:- navigate to root folder
2:- copy all the files from data/misc/vold to somewhere in SD card
3:now boot to recovery wipe everything except SD card and flash new ROM .
4:- now using twrp's file manager move the files you from step 2 to the same folder I.e. data/misc/vold
5:-reboot
According to twrp dev, you can use this trick ' Note, if you factory reset and leave the key present in /data/misc/vold, then Android will still detect and use the adopted storage on the next boot.'
https://gerrit.omnirom.org/#/c/15921/
Thanks! Worked for me! :fingers-crossed:
PoseidonKing said:
Thanks! Worked for me! :fingers-crossed:
Click to expand...
Click to collapse
Dirty Flashing....and adopted sd card
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
[email protected] said:
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
Click to expand...
Click to collapse
It'll work, according to the trick mentioned here
[email protected] said:
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
Click to expand...
Click to collapse
Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned
Sent from my Moto E using Tapatalk
Abhimanyu Shekhawat 121 said:
Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned
Sent from my Moto E using Tapatalk
Click to expand...
Click to collapse
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
booo159159 said:
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
Click to expand...
Click to collapse
I don't know the exact reason but as long as you have only 10-15 apps you won't get bootloop .....I always get bootloop while dirty flashing updates
Sent from my Moto E using Tapatalk
will this also work on other phones? i have an i9505
k2828 said:
will this also work on other phones? i have an i9505
Click to expand...
Click to collapse
It will
Sent from my Moto E using Tapatalk
booo159159 said:
can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/showpost.php?p=66353859&postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
Click to expand...
Click to collapse
Use latest RR.......RR not giving booloops on dirty flash
Sent from my Moto E using Tapatalk
Sorry for bringing up this old thread again, but I've an issue where I had to hard reset in order to get root on my Moto X Pure. I didn't think about whether or not I should make any backups of my sd or nand.
I thought I could just continue using the sd as adopted storage on my new ROM.
Anyways, when doing this trick do I leave the sd card inside?
ZoneBlaze said:
Sorry for bringing up this old thread again, but I've an issue where I had to hard reset in order to get root on my Moto X Pure. I didn't think about whether or not I should make any backups of my sd or nand.
I thought I could just continue using the sd as adopted storage on my new ROM.
Anyways, when doing this trick do I leave the sd card inside?
Click to expand...
Click to collapse
Yes SD card should be inside.
Sent from my Moto E using Tapatalk
well it works. you can also switch from cm13 to cm14.1, but the option migrate data, to migrate from internal to adopted is missing afterwards
please help , i can see the .key file in the vold folder but i don't know how to save it so that i can RE USE the adoptable storage AFTER FACTORY RESETTING my Phone.
PLEASE PLEASE help me out !
yaxir0 said:
please help , i can see the .key file in the vold folder but i don't know how to save it so that i can RE USE the adoptable storage AFTER FACTORY RESETTING my Phone.
PLEASE PLEASE help me out !
Click to expand...
Click to collapse
Just copy it to your SD card using file manager. Then when you flash ROM, go into twrp file manager and copy-paste it back to vold folder.
However, if you are on a nougat ROM then you don't need this entire trick at all! Just flash ROM without this trick. The .key will take care of itself automatically without any problem.
Vikrant Desai said:
Just copy it to your SD card using file manager. Then when you flash ROM, go into twrp file manager and copy-paste it back to vold folder.
However, if you are on a nougat ROM then you don't need this entire trick at all! Just flash ROM without this trick. The .key will take care of itself automatically without any problem.
Click to expand...
Click to collapse
thanks for you reply , Vikrant
my problem is , my SD card does NOT appear in TWRP fiile manager , since it was formatted as internal. my phone's stuck in boot animation. so i have no access to the phone's OS to retrieve my VERY precious data.
please help me out ... i would explain the issue in detail but i have already made a post here ;
https://www.reddit.com/r/linuxquestions/comments/62m1p6/decrypting_a_sd_card_on_ubuntu/
kindly take a look and suggest possible solutions.
Many thanks !
yaxir0 said:
thanks for you reply , Vikrant
my problem is , my SD card does NOT appear in TWRP fiile manager , since it was formatted as internal. my phone's stuck in boot animation. so i have no access to the phone's OS to retrieve my VERY precious data.
please help me out ... i would explain the issue in detail but i have already made a post here ;
https://www.reddit.com/r/linuxquestions/comments/62m1p6/decrypting_a_sd_card_on_ubuntu/
kindly take a look and suggest possible solutions.
Many thanks !
Click to expand...
Click to collapse
Well, in TWRP file manager, don't you see the option 'sdcard' ? Go to TWRP > Advanced > file manager > sdcard.
I'm also using SD as internal and flashing ROMs and stuff without using this trick (on nougat).
Vikrant Desai said:
Well, in TWRP file manager, don't you see the option 'sdcard' ? Go to TWRP > Advanced > file manager > sdcard.
I'm also using SD as internal and flashing ROMs and stuff without using this trick (on nougat).
Click to expand...
Click to collapse
i see. you're using Android 7.0 (Android N) ... i was using CM13 , Android 6.0 (Android MarshMellow) oh and infact , i downloaded the ROM from xda forums ...
here's the EXACT ROM that was running on my phone before disaster struck ;
https://forum.xda-developers.com/galaxy-mega/development/rom-aicp-11-0-mm-6-0-1-t3457130
i DID use the TWRP File Manager but i don't remember exploring that particular 'sdcard' folder . but do tell me , what did you see in your 'sdcard' folder in file manager ?

Categories

Resources