Data Recovery on the /data Partition - One (M8) Q&A, Help & Troubleshooting

Team,
Has anyone successfully performed data recovery on the /data partition after several backup restores?
My issue is I performed a TWRP full backup on my HTC One M8 to the external sd card but it is corrupted and I cannot get to the files I need.
Would data recovery help? If so, what is the best solution to go with?
Thanks!

Related

problem

Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
memphisuklf said:
Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
Click to expand...
Click to collapse
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
LeeDroid said:
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
Click to expand...
Click to collapse
How do i check the partitions? Cant boot so can`t see them that way and haven't got card reader or anything. Im sure its got something to do with partition. Does this seem like it is causing the problem?
Any help appreciated.
bump, need help
have you wiped everything before flash?
I wiped with rom manager after downloading rom. Not sure of all the custom recovery options as rom manager usually does it all for you. Not sure if i should wipe date, cache etc, will this wipe my backups? Tried removing sd card but wont boot, not even sure how I would get another custom rom on sd card so i could flash that. I have both defrost 2.4a and opendesire aswell as a nandroid backup on my sd card but can't get these to boot either
Must be something to do with the sd card partition. Everything I try I get the message
E:Can`t mount/dev/block/mmcblk0p2(file exists)
error mounting sd/ext/!
Don't know what this means but think its causing the problem.
perhaps a bad sector on the SD?
try backing up everything on the SD, format it again & try the roms one by one to see which possible causes the issue
U need to try an alternative recovery.
Try using unrevoked, and flash and different recovery.
Sounds like the fake flash recovery u got with rom manager Isn't clearing ur partitions.
Sent from my HTC Desire using XDA App
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
memphisuklf said:
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
Click to expand...
Click to collapse
usually does some programs allow you to keep it tho but 90% of the cases its just gone
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
memphisuklf said:
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
Click to expand...
Click to collapse
in Windows XP Disk Management, right-click the existing partition,
and click delete, that will leave the whole card as unallocated space. Then
right-click on the unallocated space, and click new partition.
edit : or install http://www.sdcard.org/consumers/formatter/sdfv2000.zip
free SD partitioner
in disk management it only shows the size as 3.18gb, I made the partition through rom manager which I think formats it in linux which windows doesn't recognise.
Taking the Sd card out gets in onto the animation screen, so a little further, but still doesn't boot. Very frustrating. \\\\\any more help appreciated.
Flash a ROM that doesn't use Apps2SD.
can you link one for me pal, ripping my hair out here, lol. By the way how do you do full wipe in custom recovery ie data, cache, is that it?
edit. Don't matter. Sorted. Copied an earlier backup of sd card onto spare sd card and did a recovery. Still need to know how to remove the partition from other sd card using windows.
This was definitely the problem and won't be using rom manager to do another partition.
If someone does know how to remove partitions using rom manager from sd card via windows then would appreciate it if you would let me know...
Stock rooted ROM: http://forum.xda-developers.com/showthread.php?t=694564
Full wipe can be done using the "wipe data/factory reset" option in ClockworkMod Recovery.
To get rid of the ext Partition get gparted or something like that. Normal Windows cant see ext partitions because its a Linux filesystem. You can also take a Linux live cd.
Can't you just take ROM Manager and partition your SD card again? Swap 0/Ext 0/FAT 32 All
It looks like something isnt ok with the partitions so i would recommend to delete all partitions and make them new i also had a problem once with my sd card but after deleting all partitions and repartition it everything was ok again.

[Q] Q(s) does cwm 3.0.0.5 restore/backup sd-ext

Hi,
I searched various forums but cant find an answer to this.
Does cwm 3.0.0.5 backup and produce an sd-ext.img?
I recently got a replacement sd card, so I did a nandroid backup after I flashed cwm 3.0.0.5.
I copied this to my laptop, and g parted my new sd to have 2 partitions fat 32 first and the last 2 gb as ext3, as per the requirement for modaco no sense kitchen rom (a2sd+ version).
New sd in desire, I copied the whole clockworkmod folder onto the new fat32 partition.
Wiped everything I could using recovery (clockworkmod folder still remains present).
Tried to restore but got a message at the end that "sd-ext.img not found. Skipping restore of /sd-ext. Restore complete."
When I boot the desire gets past initial alpharev s-off replacement image I have (I have s-off), then presents a blank screen. This does eventually boot. However all apps are not installed. I assume that the original dalvik cache was not transferred and was reconstructed by the restore with what it had.
Is this a known problem with 3.0.0.5?
Is there another version I can flash which doesnt have this problem?
Just to provide all possible info require (I think). My desire is PVT4.
Thanks in advance.
I used CWM 2.5.0.7 from the alpharev release.
In my backup folder, I have sd-ext.img present.
I created this sd-ext with CWM itself. (I did a backup of the sd and formatted it)
So no doubt that CWM 3.0.0.5 did the same.
First, check if you actually have the sd-ext.img file.
Second, you might want to try to update to CWM 3, since the alpharev release is 2.5.1.8.
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Meaple said:
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Click to expand...
Click to collapse
Hi,
I used gparted to firstly create a fat 32 partition then secondly a ext3 partition (for apps) on a new sd card. I cant see a sd-ext.img file in the nandroid backup file produced by cwm 3.0.0.5 so I assume that it cannot detect the ext3 partition.
Do you have any idea as to why this is? Can I have done anything to help cwm "see" the partition.
I'll update to 3.2.0.1 to try if the same problem occurs in that release.
I take your point that I could use titanium backup to achieve the same. I dont really want to do this as as I find it a pain to re-install the large number of apps I like to carry about on my desire. The problem is that I know what runs well on a ext-3 partition and what only runs on int or system space. I only allow apps into system or int if I really them to be there so this means thatyou have to manually install each one of them to the relevant space. Also I use ext3 for dalvik cache (seems to improve performance).
I cant see a reason why 3.0.0.5 didnt see the ext3 partition and ideally I would like a nandroid recovery solution that could auto detect all partitions if present (as I guess many others would).
I'll update this thread when I have run through the update to 3.2.0.1 and done some more testing.
I think CWM doesn't backup ext-partition if there's no data
try the old CWM.. the one comes while you root with unrevoked3 .. coz I have old CWM and it does backup sd-ext.

[Q] Sd card problems

Hi guys, sorry for the newbie question but here I go. Just now I decided to flash a new ROM so I do what I normally did before I flash a new ROM (backup my sd card contents and do a nandroid backup). After I done those, I reformat my sd card using my laptop and place the ROM I wanted into the sd card. After I flash the ROM I get stuck in the HTC screen and my backup doesn't work but luckily I manage to revive my Desire. After that I notice that my previous partition that I made using gparted is gone and that's why the ROM didn't work at first. So, am I still able to recover my lost partition from my sd card or they are gone for good?
If you have a working nandroid backup, you can try to recreate your partitions first and restore then.
Windows laptop? The reformat using will have wiped your Ext partition. As said recreate fat32 and Ext using Gparted and restore nandroid (assuming under AmonRa or 4Ext recoveries you included sd-ext) or flash new Rom.
Sent from my HTC Desire using Tapatalk 2
yurimizu said:
Hi guys, sorry for the newbie question but here I go. Just now I decided to flash a new ROM so I do what I normally did before I flash a new ROM (backup my sd card contents and do a nandroid backup). After I done those, I reformat my sd card using my laptop and place the ROM I wanted into the sd card. After I flash the ROM I get stuck in the HTC screen and my backup doesn't work but luckily I manage to revive my Desire. After that I notice that my previous partition that I made using gparted is gone and that's why the ROM didn't work at first. So, am I still able to recover my lost partition from my sd card or they are gone for good?
Click to expand...
Click to collapse
Looks like u didn't perform a full wipe... Via recovery...
Nd by full wipe I mean cleaning cache, dalvik cache, sd-ext, etc...
No need to format the sd card before flashing a new Rom....
help
hi having problems partion my sd card so that i can use runnymeade rom i have tried to partion it as 1.2 gb .3gb and .1gb but it does not fully boot the rom i dont know what i am doing wrong please help am a complete noob with the desire
thanks in advance
akhillad said:
Looks like u didn't perform a full wipe... Via recovery...
Nd by full wipe I mean cleaning cache, dalvik cache, sd-ext, etc...
No need to format the sd card before flashing a new Rom....
Click to expand...
Click to collapse
I did the full wipe via recovery but I reformatted my sd card using my laptop and I think that's the problem since the process wipe out everything including the partitions I made before. And thanks for the answer, greatly appreciate
beachcomber said:
Windows laptop? The reformat using will have wiped your Ext partition. As said recreate fat32 and Ext using Gparted and restore nandroid (assuming under AmonRa or 4Ext recoveries you included sd-ext) or flash new Rom.
Sent from my HTC Desire using Tapatalk 2
Click to expand...
Click to collapse
Yes, a windows laptop and unfortunately it has wiped my previous partition. I did manage to partition it again but I found out that my sd card size is reduced. So does the reformat process wipe out my old partition for good or I still can somehow recover back my lost partition?
robbani123 said:
hi having problems partion my sd card so that i can use runnymeade rom i have tried to partion it as 1.2 gb .3gb and .1gb but it does not fully boot the rom i dont know what i am doing wrong please help am a complete noob with the desire
thanks in advance
Click to expand...
Click to collapse
Although I'm not an expert in partitioning but I can provide some info about this. Firstly, how you partition your sd card (gparted, rom manager or other methods)? And which partition you made (EXT3/4)?
yurimizu said:
Yes, a windows laptop and unfortunately it has wiped my previous partition. I did manage to partition it again but I found out that my sd card size is reduced. So does the reformat process wipe out my old partition for good or I still can somehow recover back my lost partition?
Click to expand...
Click to collapse
The ext partition itself is gone, but if you re-partition using Gparted, copy your sd card backup from laptop onto sd card, then providing your nandroid included sd ext backup a restore should get you back to where you were.
yurimizu said:
Although I'm not an expert in partitioning but I can provide some info about this. Firstly, how you partition your sd card (gparted, rom manager or other methods)? And which partition you made (EXT3/4)?
Click to expand...
Click to collapse
hi i used 4ext to make the partion and i made all partion ext4 i think dont really know what i am doing please help

Can't mount /data through recovery

Title says it all, I've on twrp recovery right now. I tried cwm before since i was having that problem. First time with Samsung any help would be appreciated.
Thanks
Edit: I believe one the phone is encrypted, the data can't be mounted to security purposes.
Sent from my SPH-L710 using Tapatalk 2
Same problem
I have the same problem. My device's (Samsung GS III VZW) internal storage is encrypted as well. Does this seem like this could be what's causing this?
I want to make sure that my backups are good that I'm taking with nandroid in CWM 6.0.1.2. If I choose straight up Backup & Restore -> Backup from the menu then I get an error:
Can't mount backup path.
If I choose Backup & Restore -> Backup to external sdcard, then it chugs along for about 30 seconds, then gives this error:
Backing up data...
Can't mount /data!
However, my backups that are put on the External SD Card (extsdcard/clockworkmod/backup/<datedfolder>) only consist of 3 files, boot.img (10mb), recovery.img (10mb) and system.ext4.dup (317kb). This doesn't seem right..
Any thoughts? Does this seem like it could be caused by the device being encrypted ?
Thanks! I'm a real noob and really appreciate the help!
islandskater43 said:
I have the same problem. My device's (Samsung GS III VZW) internal storage is encrypted as well. Does this seem like this could be what's causing this?
I want to make sure that my backups are good that I'm taking with nandroid in CWM 6.0.1.2. If I choose straight up Backup & Restore -> Backup from the menu then I get an error:
Can't mount backup path.
If I choose Backup & Restore -> Backup to external sdcard, then it chugs along for about 30 seconds, then gives this error:
Backing up data...
Can't mount /data!
However, my backups that are put on the External SD Card (extsdcard/clockworkmod/backup/<datedfolder>) only consist of 3 files, boot.img (10mb), recovery.img (10mb) and system.ext4.dup (317kb). This doesn't seem right..
Any thoughts? Does this seem like it could be caused by the device being encrypted ?
Thanks! I'm a real noob and really appreciate the help!
Click to expand...
Click to collapse
Ya I say definitely stay away from encryption if your gonna flash roms. I've been here before backup what you need and wipe data in recovery. If it doesn't work flash the stock jb rom thatll wipe it.(located here if needed http://www.mediafire.com/?c3cj6udkai1ljhk ). As far as the backups go I believe that's actually the right size. Cwm uses a weird format for its backups now. Granted if data can't be mounted I think those backups are worthless now anyway

backup failed..cleaning backup folder

trying to do a twrp backup to sd, as the above states failed.. why, i can backup to internal though..
Having the same issue
This user's post could be helpful - https://forum.xda-developers.com/showpost.php?p=83111195&postcount=256
Theoretically if you format the SD in TWRP in way to let it being detected, the format won't be seen by ROM but only by TWRP.

Categories

Resources