lost data recovery - General Questions and Answers

can you get data back from a formatted and written to ext2/3 partition?

Related

[Q] Data Wipe Question

I'm wanting to install a custom ROM and I've read when you do so you will need to do a factory wipe before hand. I did a full backup using CWM Touch and it saved to my internal memory card, not external. I also backed up my IMEI using Terminal, which I'm guessing is saved on my internal as well. So If i download a customer ROM and do a factory wipe along with a cache and delvik wipe, won't I loose those backups that I will need in case of an emergency? Can I just move the CWM Touch backup folder to my external or will that cause issues? I'm clueless.
Thanks,
It'll stay on your internal sd card.
Doing a factory wipe basically resets the data partition and caches, erasing all user and app data leaving the phone as a clean slate. However, this will not erase files from your phone. Your backup will be fine on an internal sd, and things like pictures, music, and downloaded files will stay there as well. You're imei backup is actually stored on your boot partition. That's pretty much as safe as it gets unless you hard brick your phone.
I put all my backups on an external so I can always pull them off if something horrible goes wrong. To move them you have to move the entire folder including the backups and blobs. They have to stay together or if you try to restore a nandroid it won't work.
Sent from my SCH-I535 using Tapatalk 2

TWRP autonomously encrypts phone after restoring from backup!

i did a restore last night so did a format /data /cache /system /dalvik /internal memory and did format data type yes command in TWRP. After doing the restore the phone on first boot said it was encrypting the phone!! i hadnt issued any such command so i dont know why it did that on its own. because of this one other nandroid backup on SD card has become corrupted and giving an error 255 when doing a restore. It is using the 'default' TWRP encryption password, whatever that is. I want to recover the corrupted nandroid backup. How can that be done?

Recover private mode content after formatting data partition

I recently formatted the /data partition to be able to use it in twrp. I remember now that there are files that I'd have liked to recover from the private mode. I know the pin I had set.
Is there a way to recover the files now that I've formatted /data?
No, thats not possible..

Was my adopted storage decrypt key lost despite full nandroid backup in TWRP?

I have my phone encrypted and my sd card is used as adopted storage. I was about to change my /cache and /data partitions from ext4 to f2fs. Now I'm unable to decrypt my sd card. I use twrp 3.0.2-0.
What I did was:
Create a full backup of all available partitions on adopted storage. (using TWRP)
Copy the backup files to my PC over MTP.
Change /cache and /data partitions' file system from ext4 to f2fs.
Restore the backup of /cache and /data (first forgetting about the rm -rf option and thus having to repeat the previous step for /cache).
Boot up and notice I can't access my adopted storage any more.
It seems that my backup of /data partition does not include the /data/misc/vold/expand_$PARTGUID.key file. The /vold folder seems to not be included in the backup, while the other folders in /data/misc are. Should I have known this?
My backup also contains partition named external_sd. It has a /misc/vold folder but it only has an empty "bench" folder in it.
It appears that I am in the same boat as well, despite having a different phone and a slightly older version of TWRP. Despite restoring from the backup, it appears that the key file isn't included. I have tried restoring the external_sd backup, but that ultimately wipes my SD card and errors out due to the file being on said SD card.
My best guess from that is, it is trying to go ahead and restore the partition layout on the card itself. As I have a Moto E 2014, I am unable to test whether or not the backup will restore the key due to extremely limited storage.
So this time I was wiser and I saved the keyfile separately. When restoring the backup I placed it back in the same folder and the sd seemed to mount happily. Later I noticed that I couldn't see my data even though my sd seemed like it was filled with my data. Then I thought that it could be related to the fact that internal storage was chosen as the primary storage. I went to move data to sd in settings and now my sd card seems to be almost empty.
E: I even restored from the sd card after placing the keyfile into the correct folder with twrp!

Recover formatted partition with TWRP

Hello,
I was converting my data partition to f2fs, but forgot that this will erase my whole internal storage.
Is it possible to recover any data? At least part of the data?
I didn't boot my device yes to not overwrite deleted data.
Oneplus 3 with 3.0.2 twrp

Categories

Resources