[Q] Lost SD Card Data -- wondering about options - HTC One S

I was trying to boot into recovery, and from Bootloader, I scrolled down to far and hit Factory Reset.... immediately, I held the power button down to try to avert this.... and it stopped (I think). I then booted into recovery (TWRP 2.6.3) and then used file manager to look at sd card... and its empty (aside from one TWRP directory.
First I didn't think a "Factory Reset" formatted the SD card... but if that is what happened, is there any way to recover this information... isn't this formatted in ext4 with journaling??? I know I have recovered things from linux when I have deleted them...
But, if I am out of luck... is there a solution to this problem as my phone is not really booting either (I suspect it is looking for files on the SD card which are no longer there)...
Any help would be appreciated.
THanks!!!!!!!
syntropic
HTC One-s (S4).
Hboot 2.15....
Rooted/S=off/SuperCID

OK.... I managed to boot into my ROM....
It seems to indicate that my SD card is not mounted..... I realize I can go to recovery and wipe/format my sdcard. However, just for kicks.... I would like to run fsck on it.
So.... I am in terminal emulator... (I have bash and busybox installed too btw). I found fsck. But when I type "mount" I cannot see my sdcard....which makes sense because it is not mounted. But I don't know the dev/block for it... and I can't find the list with all the partitions that people have already determined.
Can someone let me know the dev/block so I can run fsck? Or let me know where that document is when all the partitions???
THanks again!!!

Related

Can't mount sd card

Hi there I have a problem
My problem is that i've just root'ed my HTC Desire (I think?)
But my Desire won't boot right.. It only boots to recovery mode...
If i try to install an update.zip with clockwork it says can't read sd card
Pretty much anything i do on clockwork it says "E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory) E: Can't mount SDCARD:"
I have also tried adb but it says device not found
My computer registres my Desire when i plug it in but it doesn't recognize it..
What shall i do next?
Ps. I am running windows 7 x64
Sorry for any spelling errors i hope you understand and are able to help me
I had a similar problem. Try booting into clockworkmod recovery, connect your phone to your PC and select mount USB (or something like that) from the partitions menu. This should give you access to your SD card on your PC. Next, backup the contents of your SD card and then delete all partitions. I used gParted but i guess you can use disk manager in windows. One deleted, don't format the card or anything, just reboot the phone and hopefully you should boot up OK. Now you can format the SD card from within Android. Before you do all this is might be worth removing your SD card and seeing if you can boot up OK without it.
Thanks for reply
When I choose to "mount usb storage" nothing really happens it is not getting recoqnized
The phone won't boot without sd-card
Do you or anyone else know if you can sync your desire from recovery mode?
One step further
Okay i now got one step furter
My phone can now start up, but it still can't registre sd card
It just says sd-card removed
Any ideas
have you tried the "mount usb" option again? Although nothing appears to happen on the phone, you should be able to access the card from your PC. it worked for me in both Win7 and Ubuntu. Other than that I can't think of anything else apart from trying a different SD card.
I can't choose mount usb storage any more.. I can't get into clockwork
Now, when i press recovery I get into a black screen with at red triangle and i can choose from 3 or 4 things, inluding wipe and apply udate
I've allready tried a diffrent sdcard
Similar problem but extra issues
Searched for hours and been in a live chat a number of times and posted on another forum but can not find specific solution.
I wanted to install this http://forum.xda-developers.com/showthread.php?t=789830 HD rom so I partitioned my sdcard (successfully, to ext3 1.5gb, 33mb linux swap, rest fat32) and started wiping via ClockworkMod recovery.
That is when I ran into problems.
Now I can not mount my sdcard - "E:Can't mount /dev/blocl/mmcblk0 (or /dev/block/mmcblk0p1) (invalid argument) Error mounting SDCARD:!"
When I reboot, it just loops.
WinXP will detect my device via adb (when in recovery) but can't see the sdcard.
I had never used fastboot, so I am not sure if I am typing commands correctly.
Htc Desire 2.2 GSM * Uk 3 network * 8gb class2 sdcard * Bravo pvt1 ship S-off Alpharev * Clockwork 2.5.0.7 * HBOOT 0.93.0001 *
Was on Teppic's rom with init.d support http://forum.xda-developers.com/showthread.php?t=773997
Any help would be very much appriciated.
I hope I haven't missed an obvious or relavent thread.
EDIT
Tried sdcard from Nokia6500 but Desire won't mount that either.
When I go into fastboot and plug in my usb, I do get "FASTBOOT USB" come up, so why would cmd "fastboot devices" not detect my phone? In recovery, cmd "adb devices" it does detect it.
I don't mean to be a pest but i doubt any of us can live without our desire's
BUMP
I have the same problem when i make ext etc. for me helps putting card into another phone with android and format it
Sent from my HTC Desire using XDA App
I have no other android device but...
I have managed to get fastboot cmd's to recognise my device.
Just need to figure how to flash my phone but I dont really want to take any backwards steps in terms of flashing a recovery.
Would like to flash my last set-up if it is possible.
Wish me luck lol
EDIT
Sorted....ish
Long short cut short is:
sdcard reader, reformatted to all fat32 with Paragon hard disc manager 8.
copied rom zip to sd.
full wipe with clockwork recovery.
Then inserted sd and installed zip from sdcard.
booted.
smiled again, even though its a practically stock rom.
ok i just waited and it finally booted up normally and went under sdcard and erased all that data this removes the partitions

cwm cant mount /system and /data

Hey guys I need your help
I've been using cm7 for a couple of weeks now. I havnt had problems until today.
I flashed build 32 over and for some reason it wasn't booting up. It was on the splash screen for a while (it usually does that and when I take battery out and restart it boots) so then I took the battery out. Next thing I know is that my phone is stuck on the mytouch screen... I went to recovery and when it booted into cwm 3. I got a error saying it couldn't open system/recovery/log or something like that... it still went to cwm and I checked the mounts and it said /system and /data wasn't mounted. I clicked it to mount and it gave me an error saying it couldn't ... therefore it wouldn't let me install cm7 or do a wipe... is there anything I can do to fix this? It seems to be that the nand. Is corrupted or something...
I think, based on your description, that pulling the battery at the particular instant caused the secondary problem.
A "factory reset" reformats /data and /cache. But not /system. You can do that manually from the mounts and storage menu, then either restore a nandroid backup or install cm7 and gapps.
HTC Glacier running CM7 #33
Hmm I font think its just two directories... I think my whole internal storage is messed up. I tried using the reformat option from cwm but no luck
Time to discover what you might be able to accomplish with Fastboot and a USB cable.
HTC Glacier running CM7 #33
I think a lot of people are having problems with clockwork 3 in the nexus forums, and more specifically with it screwing up partitions. I was luck just to lose my ext position on my sd...
Reformat and reflash seems to be the easiest fix...
Sent from my Nexus One using XDA App
i dont know how to repartition the phone storage :/
i tried doing it off cwm and it wouldn't let me... is there anyway to do this through adb? i think adb is working...
Reformat the whole card, and then try to repartition. This will write your data, so back up first...
Sent from my Nexus One using XDA App
how do i do that? o_o through cwm? i tried formating everything including system data cache... and i dont know how to repartition through cwm. cwm is the only thing i can get to right now :/
Sorry, looks like the only option in clockwork is to partition. Can you not do it from your pc?
Sent from my Nexus One using XDA App
yeah it gives me error when i try to do :
fastboot erase system -w :/ is there anything else?
guys... ((((( am i totally effed up? i couldn't find anything i could do.. no matter what i did, the /system and /data would NOT mount... so i cant format it
I have never tried this, but you might consider it.
In this thread is a method to return your phone to stock -- it uses the bootloader's ability to repartition and reformat everything somewhat automatically, using a file called PD15IMG.ZIP from the SD card's root folder.
http://forum.xda-developers.com/showthread.php?p=11011692&highlight=pd15img.zip#post11011692
There's a link in the thread to the .zip file -- look to post signatures. Put the file on an SD card (with another phone, or camera, or Micro-SD to SD adapter, etc.) and boot into the bootloader with that file on the SD card.
I do not know if you can rename the .zip it to update.zip and force it to flash with Fastboot's update command, because the PD15IMG.ZIP is a specific thing this phone's bootloader looks for. As stated, I have never tried this, and do not recommend this. It might work, or, it might cause more damage. Putting the file on an SD card without Fastboot will be safer.
You could try to boot your phone into fastboot,
and then type
fastboot erase -w system
Your phone wont boot after that, but you should be able to flash a new rom from clockwork.
ive tried both the pd15img.zip method. it says "partition update fail"
and i also tried the "fastboot erase system -w" and it did not work.. it says that it can't be done. i also tried to format /system through adb and cwm, and both says it can't because it must be mounted before
From your description, it seems to me that the internal flash memory has a damaged partition table -- easy enough to repair if this were a hard drive you could remove and take to a linux system somewhere. But it's a phone, and a bit of flash memory that can't be removed.
Flashboot has an "erase <partition>" command. I don't know what it does, since it's not well documented. Does it reformat an existing partition? Or does it remove the partition from the partition table? There is no commensurate "create <partition>" command, so perhaps it recreates an empty partition. But I tend to doubt it.
I would think such work might be done from an engineering bootloader or engineering recovery system -- one available to HTC service technicians, for example.
Since you're not getting a great deal of help in the MT4G subforum, you might post your question in the top level Questions and Answers forum.
Sorry I'm not much help with this.
One last thought. The bootloader itself has a Factory Reset. That might do it. Might not. But like chicken soup, it probably couldn't hurt. Boot into the bootloader (volume down while powering up), select BOOTLOADER with the volume control and then the power button, then select FACTORY RESET. Perhaps it will do something positive.
eh.. i couldnt do anything. i tried all options. its like impossible to reformat or repartition the drive..
i actually called up insurance and they'll be sending me a new mytouch 4g..
we have just told them that it doesnt go past the mytouch screen.. would they figure out that it is rooted? i mean.. choosing recovery from the bootloader menu takes it right into cwm lol
Just flash the stock recovery back via fastboot...
Sent from my Nexus One using XDA App
ive tried
dumbkkid said:
ive tried
Click to expand...
Click to collapse
you are sending the fastboot commands while in the bootloader right? I would imagine you are but I just want to make sure.

o3d goes into recovery mode every time it boots

Hi guys, i'm in desperate need of your help. i think my precious o3d might have been screwed.
first let me tell you what i did. as you know the internal sd card of o3d is 5gb or so and it fills up very quickly. this internal sd card is mounted as /sdcard. i have a class 10 16gb micro sd card and when i insert it, its automatically mounted as /sdcard/_ExternalSD. The applications or games, especially the ones that have external data folders which are like 1gb in size insists to be installed on /sdcard. You can't move those data folders to _ExternalSD, because then the apps doesn't work.
Then i came across this topic:
http://forum.xda-developers.com/showthread.php?t=1189701
As you can see that was exactly what i needed. I had CWM 5.0.2.0 installed so i downloaded the first .zip then copied all of the files and folders excluding the _ExternalSD folder to the external sd card then rebooted into recovery. From there i flashed the zip and rebooted again. phone booted up and all was ok and it worked. now the phone sees the external sd card as the internal one and the internal sd card was mounted as /sdcard/_ExternalSD. I then formatted the internal sd card from the settings menu because i already copied all of the stuff there to the external card. It worked fine and the internal card is formatted. After that i decided to get a nandroid backup so i opened the rom toolbox program. From the menus i selected the backup option, gave it a name, clicked ok. the phone rebooted into cwm recovery screen but nothing happened. then i noticed something was not right because there was some error lines under the cwm menus saying "E:can't mount CACHE:recovery/command" etc. Then i selected the reboot phone option but the phone rebooted right back into the CWM recovery again!! At that point i knew that i was @#?^ed.
Anyways i researched a lot and came across this thread:
http://forum.xda-developers.com/showthread.php?t=1156549
i did exactly what he said and it worked, i mean it flashed nicely. then i rebooted the phone but it booted into the recovery again!!! But this time the CWM recovery was gone and i believe this is the stock recovery screen. I can browse the menu of it and make selections but the phone boots into the recovery every time it reboots.
The recovery screen looks like this:
http://farm8.staticflickr.com/7010/6654644033_b616bc0635_z.jpg
Then i flashed the phone to the latest official firmware V21A_00, it flashed nicely but it still boots right into the recovery everytime.
Then i installed the Android SDK and tried to push the original vold.fstab file to the system using the adb command line tool but it doesn't see the phone. I think adb works only when the system boots up normally, not in the recovery mode.
I don't know if there's a way to install the CWM from the stock recovery somehow. If you know how, please tell. The CWM has more options.
I don't know what else i can do. It started to look ridiculous. If there are any experts cool enough to help please do so. I'll be waiting. Thank you...
Edit:
I also tried this:
http://forum.xda-developers.com/show....php?t=1244490
I starts just fine but get's stuck on the "RESET" command, after a while it gives "DOWNLOAD FAIL!" error. I think the phone is supposed to restart automatically but it doesn't. Manually resetting the phone doesn't work either.
I'm about to pull my hair out...
Edit 2:
I also posted on the official LG Mobile forum here:
http://www.lgforum.com/forum/boards...d-goes-into-recovery-mode-every-time-it-boots
Fingers crossed
Quite a post!
From all your post there is no mention that you formated and did a factory reset after 21a flash.
Can you please try that if you haven't?
Sent from my LG-P920 using xda premium
thank you for the reply!
i tried all 4 wipe options on the recovery screen then rebooted. it's the same, i'm back at the good old recovery again
Did you try with the external sd card out?
This is strange, usually a kdz flash coupled with a format fixes the problem.
Some how it still can't find the internal SD card.
I don't have further recommendations. Sorry
Sent from my LG-P920 using xda premium
yes i tried with the external sd card out. it didn't work..
vpamir said:
yes i tried with the external sd card out. it didn't work..
Click to expand...
Click to collapse
Hopefully someone else on this forum can suggest a way for you to unbrick.
your problem is although you have reset your phone, somehow it can't find a partition to boot from.
or
somehow the KDZ flashing is not totally successful.
good luck
If only there could be a way to be able to use the adb command from the Android SDK then i might be able to restore the vold.fstab file to its original, if the problem is that at all. Maybe then it'll work. To be able to flash the CWM Recovery again somehow might be a good thing too because it has more options like flashing .zip format roms but i have no idea how. Does anyone know if the stock recovery can flash some specifically named file to the system, does it have that kind of functionality? I'm desperate, please share your thoughts.
.............anyone?
I am sorry to say that but there is no solution for this problem yet. I have done the exact thing that you do and tried every single solution with no luck. The only way is to send it to lg repair service. My solution was to replace the mainboard.
Dostum gecmis olsun malesef tek cozum yolu anakarti degistirmek. Uzaman sayilirim android konusunda bosuna ugrasmayasin diye soyluyorum. LG servisi bile anca anakarti degistirerek cozum sunabildi. Temel problem internal karti formatlamis olman. Partititon table'i bozuyor bu islem malesef ve bu yuzden hicbir yontem ise yaramiyor.
Gecmis olsun tekrar...
so you say that the main problem was to format the internal sd card? well if formatting the internal sd card bricks the phone then why the hell is there an option to format it in the settings menu?
well if you didn't apply the swap fix, it wouldn't be a problem to format. When you swap the sd cards and format, it is the problem.
crime_of_heart said:
well if you didn't apply the swap fix, it wouldn't be a problem to format. When you swap the sd cards and format, it is the problem.
Click to expand...
Click to collapse
so you did exactly the same thing as me right? i mean you applied the swap fix then formatted the internal sd?
replacing the motherboard to fix this seems to be a bit nonsense to me to be honest. what does the partition table have anything to do with the motherboard?
if only there would be a .kdz format custom rom which factory resets the internal sd card during the flash process and maybe fixes the bootloader somehow, that might be the solution.
yes i did the same and the only solution was to replace the motherboard. we need a sowftware that can reach to the emmc in low-level. like omap flasher. but we also need the correct drivers which doesn't exist yet.
crime_of_heart said:
yes i did the same and the only solution was to replace the motherboard. we need a software that can reach to the emmc in low-level. like omap flasher. but we also need the correct drivers which doesn't exist yet.
Click to expand...
Click to collapse
i don't know what the emmc is, i need to do research on that. but i still think that replacing the motherboard won't solve this issue because it seems non relevant to me. i messed up with the vold.fstab file. but after that it worked fine. i mean the internal and external cards swapped just fine. only after i decided to make a nandroid backup using rom toolbox all hell broke loose. i plan to wait a couple of days before turning the phone to LG service. i believe someone will come up with an idea.
yardım etmeye çalıştığın için teşekkür ederim bu arada
Well, there´s a new recovery for the O3D, v5.0.2.7 (I got it with ROM Manager).
It fixes 2 bugs of the previous (5.0.2.0) version: now the USB mass storage option in the mounts menu works (mount external SDCARD), and we can use ADB while in recovery. That way we can fix stuff in the phone filesystem while in recovery: we can now use ADB shell, or ADB push to replace files.
The problem is that I don´t know how to flash it to the phone while in the stock recovery. If someone can guide me on creating a signed ZIP containing this new recovery, flashable in the stock recovery, I would be glad to do that and post it here. I think these phones of you guys can be fixed using this method!
Marcovecchio said:
Well, there´s a new recovery for the O3D, v5.0.2.7 (I got it with ROM Manager).
It fixes 2 bugs of the previous (5.0.2.0) version: now the USB mass storage option in the mounts menu works (mount external SDCARD), and we can use ADB while in recovery. That way we can fix stuff in the phone filesystem while in recovery: we can now use ADB shell, or ADB push to replace files.
The problem is that I don´t know how to flash it to the phone while in the stock recovery. If someone can guide me on creating a signed ZIP containing this new recovery, flashable in the stock recovery, I would be glad to do that and post it here. I think these phones of you guys can be fixed using this method!
Click to expand...
Click to collapse
Great news! But now i need to find a way to install the new CWM. Just as you said i believe what i need is to find or make a .kdz update which includes this new CWM.
What do you think?
I know this is possible, at least for the Galaxy Ace: I have a ZIP file for this device with a custom recovery image, flashable in stock recovery!
To make one for the Optimus 3D, I need to know the following:
- How can I obtain the .IMG of the new recovery? I have found some temp files in clockworkmod folder in my sdcard. The creation date of one of them matches the exact moment I upgraded my recovery, and the file size also matches a recovery image: 5.54MB. Is it the recovery image? Can I just rename it to recovery.img? How can I extract it to ensure it´s ok?
- After I get the recovery image, I can use the Galaxy Ace ZIP as the base to build the O3D zip file. Any help on what do I have to change to make it work correctly?
I also tried this:
http://forum.xda-developers.com/showthread.php?t=1244490
I starts just fine but get's stuck on the "RESET" command, after a while it gives "DOWNLOAD FAIL!" error. I think the phone is supposed to restart automatically but it doesn't. Manually resetting the phone doesn't work either.
I'm about to pull my hair out...
Edit: I'm 99% sure that this isn't a hardware related problem. And LG's software not being able to turn the phone to stock is totally [email protected]#$%!
On some "unbrick your optimus 3d" threads i came across this image:
http://attachments.xda-developers.com/attachment.php?attachmentid=667470&d=1311752328
i tried all methods around here but not once i came across a screen like it. weird...
well i give up guys. so much technical [email protected] going on and no one seems to understand this device enough. i'll turn it to the LG Repair Service today. Thank you everyone for your help...

CyanogenMod Woes

Hey all,
I stumbled into an issue a few days ago and I'm trying to figure out how to get it resolved with minimum headache.
I downloaded the latest CyanogenMod download from h8rift's get.cm website, but unfortunately I didn't notice that it was CM9 rather than CM10 until I had flashed it and the boot animation popped up.
I didn't have a CM10 zip saved to my SD card partition, and TWRP, for some reason, would not mount to USB on either my Mac or my PC. The phone wouldn't boot into CM9, so I couldn't download the zip from there either.
So, I hit 'factory reset'.. twice, both from the bootloader, and from TWRP. Well, no luck. Now the file browser in TWRP doesn't even show my SD card's contents, just the TWRP folder. Every time I see a command line in TWRP, it tells me the SD card couldn't be mounted.
So, crap. Are all my files gone? I didn't realize factory resetting wipes the phone. I have all my photos on the SD card partition as well as a somewhat recent Titanium backup, so I'd really, really, really not like to lose those.
I understand that running a RUU will probably fix my issue, but the thing is, on the off chance that my SD card contents are still around, I'd like to be able to keep them. Will running a RUU wipe the SD card, if it still is in there somewhere? Are there any other suggestions re: getting the phone to boot, or be recognized as a USB disk? Also, if I do end up RUUing, I assume I have to unlock the bootloader again. Sigh, that was a hassle the first time.
tl;dr I'm complaining about a lot of stuff that I'll probably have to do anyways because I did something stupid and wasn't smart enough to keep backups, but if anyone wants to give pointers that'll make this process easier I will kiss your shoes and worship you forever.
Thanks.
If you end up needing to wipe your SDCard, here are some helpful tips
[Q] E:Can't mount/SD card http://forum.xda-developers.com/show....php?t=1751803
---------- Post added at 11:52 PM ---------- Previous post was at 11:29 PM ----------
denversc said:
If you end up needing to wipe your SDCard, here are some helpful tips
[Q] E:Can't mount/SD card http://forum.xda-developers.com/show....php?t=1751803
Click to expand...
Click to collapse
Oops, here is the full url:
http://forum.xda-developers.com/showthread.php?t=1751803
So I just managed to boot into CyanogenMod 9, without actually doing anything.
So it boots but can't mount the SD card. I have no idea either. Any way to mount the SD card without relocking bootloader?
Have you tried to access your sd card with a file manager app like solid explorer to see if anything is still on the card?
Sent from my Nocturnalized One XL using Forum Runner
Factory reset from the bootloader appears to wipe the sdcard and leave it in an unformatted state. I did this yesterday and fixed it by letting the phone boot back into the sense rom I was running.
Not quite sure what you can do in CM9. Have you tried connecting to your computer and seeing if windows detects a valid drive? If it doesn't maybe let windows format it, yeah I don't like this idea either, so you can at last get some files on it.
I had a similar problem after flashing a nocturnal update...
Here's what I did to resolve:
Wipe all - SD card, factory reset (all can be done inside TWRP)...then plug your phone into your computer via usb and on your phone in TWRP main screen, navigate to Mount and select USB storage. It WILL show up on your computer as unformatted - just reformat (which will wipe it again) and then let you copy files in. Just download the latest CM10 (which is working great) and flash away...
I am using a Mac computer running win xp via parallels and it worked great - I don't remember what file structure to format the SD card as, but it was the default when it brought up the format dialogue...
Hope that helps!
Sent from my One X using xda premium

System/Ext-SD not mounted, can not master reset at all.[Please Help]

I recently got Motorola Xoom 4G LTE, Previous owner had CM10 running on it. He reverted to stock with no root. The tablet has custom recovery. But every time I try to flash something. It says sd/ext-sd/system are not mounted. I tried to master reset the table but it doesnt. If I do it from settings>backup and reset. It takes me to recovery all the time. If I try to do it from recovery. it says system, ext-sd, sd are not mounted.
Any help will be appreciated.
It would help if you can tell us what recovery you're using. You might have to mount the system and ext sd partition yourself.
Chaosgod27 said:
It would help if you can tell us what recovery you're using. You might have to mount the system and ext sd partition yourself.
Click to expand...
Click to collapse
Thank you for replying. Actually I was able to fix it. I was missing an sd card. For some reason xoom would not master reset unless I put my micsro sd card in there. I have never encountered this type of problem before. Currently I have CM10 running and everything seems good.
Do you have any idea why it would so that?

Categories

Resources