Does TWRP back up internal data? How to restore? - Android Q&A, Help & Troubleshooting

Hi guys,
I wanted to update my Custom Android and did a TWRP backup before.
It required to do a factory reset and format data which I did.
After finishing everything up and installing the new ROM, I saw that all pictures stored in /storage/emulated/0/Pictures are gone.
There were all Screenshots and saved Snapchat files. Fortunately, the Camera pictures were saved on the SD-Card which I didn't formatted.
Since I am not able to undo "format data" (or can I somehow??), how am I getting to the path above? I tried Nandroid Manager and were able to load the backup but it seems that this path was not included in the backup...
I thought everything internal will be saved in a TWRP backup?
Does anyone know how to get on those files or are they completely gone?
I'm on a LG G3, bumped stock Rom (Lollipop 5.0), and TWRP 2.8.5.0.
Thanks!!

Are you able to find the path /storage in your backup?

popthosegaskets said:
Are you able to find the path /storage in your backup?
Click to expand...
Click to collapse
No I was unable to find it but it is very unclear and confusing to find paths anyway...

jwsp1 said:
Hi guys,
I wanted to update my Custom Android and did a TWRP backup before.
It required to do a factory reset and format data which I did.
After finishing everything up and installing the new ROM, I saw that all pictures stored in /storage/emulated/0/Pictures are gone.
There were all Screenshots and saved Snapchat files. Fortunately, the Camera pictures were saved on the SD-Card which I didn't formatted.
Since I am not able to undo "format data" (or can I somehow??), how am I getting to the path above? I tried Nandroid Manager and were able to load the backup but it seems that this path was not included in the backup...
I thought everything internal will be saved in a TWRP backup?
Does anyone know how to get on those files or are they completely gone?
I'm on a LG G3, bumped stock Rom (Lollipop 5.0), and TWRP 2.8.5.0.
Thanks!!
Click to expand...
Click to collapse
TWRP only backups system+data+cache. So if you have formated your internal storage even after backing up with TWRP that means you have deleted your content's forever.
Luckily you can take them back.
If you are rooted, then there's a app named DiskDigger. This app can recover deleted files from selected storage media. Below is the play store link for the app.
https://play.google.com/store/apps/details?id=com.defianttech.diskdigger&hl=en
Hope it helped you

hitman-xda said:
TWRP only backups system+data+cache. So if you have formated your internal storage even after backing up with TWRP that means you have deleted your content's forever.
Luckily you can take them back.
If you are rooted, then there's a app named DiskDigger. This app can recover deleted files from selected storage media. Below is the play store link for the app.
https://play.google.com/store/apps/details?id=com.defianttech.diskdigger&hl=en
Hope it helped you
Click to expand...
Click to collapse
Unfortunately, it didn't work... I just found the pictures I took by myself in the Camera folder which were not affected and are there anyway but the deleted files (especially screenshots and snapchat photos) can't be found...
Any other option I could try?
Thanks so much for your help!!

jwsp1 said:
Unfortunately, it didn't work... I just found the pictures I took by myself in the Camera folder which were not affected and are there anyway but the deleted files (especially screenshots and snapchat photos) can't be found...
Any other option I could try?
Thanks so much for your help!!
Click to expand...
Click to collapse
Maybe you should try other apps similar to DiskDigger. It might help you.
I know a computer software for recovery but it'll not on internal storage as internal storage is ext2 format.

No solution found; thread closed.
hitman-xda said:
Maybe you should try other apps similar to DiskDigger. It might help you.
I know a computer software for recovery but it'll not on internal storage as internal storage is ext2 format.
Click to expand...
Click to collapse
Thanks for your answer.
I tried a lot of software but none of it worked. I believe that the data was already overwritten - so permanently erased.
I decided to give up; but I learned that you should have recent backups of your phone and that twrp is not a full backup of data.
Thanks for your help!!

Related

(Q) how to recover lost data from phone internal storage?

to make a long story short, something went terribly wrong with my android phone, wiping my contacts and SMS. How do I go about recovering deleted files from internal storage (NAND)? And which files do I need if I only want to recover my contacts and sms?
I've spent the past 6 hours searching and attempting to recover them by following different tutorials, but no dice. Ive read an article where people were saying that if I take too long, I will not be able to recover my data. Please please help me as I really need to get my important data back. I'll return the favor by buying you a beer or something! THanks in advance for your help!
" Ive read an article where people were saying that if I take too long, I will not be able to recover my data. "
Although I can't help you with the actual issue of getting the data back, I believe it is not so much taking time to recover your data which will delete it, but how much data is rewritten to your phone (which could overwrite the previous data) atleast thats how it works on desktops...
My only idea would possibly to have a look for a .trash folder in the root directory of the phone's memory, or maybe look for a LOST+FOUND folder, hopefully this will be of some help to you!
Whippopotamus said:
" Ive read an article where people were saying that if I take too long, I will not be able to recover my data. "
Although I can't help you with the actual issue of getting the data back, I believe it is not so much taking time to recover your data which will delete it, but how much data is rewritten to your phone (which could overwrite the previous data) atleast thats how it works on desktops...
My only idea would possibly to have a look for a .trash folder in the root directory of the phone's memory, or maybe look for a LOST+FOUND folder, hopefully this will be of some help to you!
Click to expand...
Click to collapse
If you wait too long, but there is no current running to the device, the data on the flash storage will not change. Flash has more data remnance than a magnetic storage. What is important is not the time taken, but rather how much data has been written to the disk.
I hope you have a nandroid backup of your device, if not, see if it's possible to boot to clockworkmod now and make a backup.
Using this disk image, you can then use flash memory data recovery tools to recover the data you need.
Hope this helps.
exge said:
I hope you have a nandroid backup of your device, if not, see if it's possible to boot to clockworkmod now and make a backup.
Using this disk image, you can then use flash memory data recovery tools to recover the data you need.
Hope this helps.
Click to expand...
Click to collapse
good idea, so I was able to boot into Clockworkmod recovery, and right now i'm making a backup through that recovery. So once the backup is created, how do i go about getting my contacts and sms back? like which files do i need to recover?
EDIT: Here's what I'm getting when trying to create a backup:
SD Card space free: 6075MB
Backing up boot...
Backing up recovery...
Backing up system...
Backing up data...
Can't mount /data!
Click to expand...
Click to collapse
^operation stopped while trying to back up data, for some reason it could not mount /data.
despite the operation halt, clockworkmod was still able to create a backup that contains 3 files: boot.img (about 4.4MB), recovery.img (about 5KB), and system.img (about 370MB).
ok now how can I open system.img to look the for my contacts and sms? and what would be the file names?
The data issue means that the data partition is corrupted. The only option is to format it.
Sent from my phone to your eyes
yea i gave up. went ahead and reformat/reflashed my rom. fortunately i was able to find a really old backup of my contacts, but that's better than losing everything. thanks
you can install a recovery apk your phone or recavery app your camputer and then recovery informations from your phone
You can find many Android phone data recovery applications that advertised to be able to recover files from SD card if you search on Google, but which one can recover data from Android internal storage? Luckily FonePaw Android Data Recovery just supports Android phone internal storage recovery. The program is a professional data recovery tool for Android phones and tablets. It can retrieve lost files from SD card inside Android devices as well as internal memory of the Android devices. You may interested in what files the program can recover, let me tell you. Lost pictures, videos, contacts, text messages, documents, audio files can all be retrieved effectively no matter how you lose it.

Data lost after a nandroid backup restoration

Hi there. Yesterday, before flashing leaked 4.2.1 ROM, I did a nandroid backup to my external microSD card using Philz Touch Recovery v. 4.63. The process of backing up was successful.
The problem came when I restored the backup. (Before restoration, I had to reinstall the PhilZ Touch recovery and, from it, I did format cache, format system and format data). I recovered my XXEMA2 ROM with all the apps and configurations I had before, BUT there is no trace of the pictures I had in the internal memory or the files I downloaded.
I tried to repeat the process, but I got the same result.
Does anybody know a solution for this?
Thanks in advance.
portamento said:
Hi there. Yesterday, before flashing leaked 4.2.1 ROM, I did a nandroid backup to my external microSD card using Philz Touch Recovery v. 4.63. The process of backing up was successful.
The problem came when I restored the backup. (Before restoration, I had to reinstall the PhilZ Touch recovery and, from it, I did format cache, format system and format data). I recovered my XXEMA2 ROM with all the apps and configurations I had before, BUT there is no trace of the pictures I had in the internal memory or the files I downloaded.
I tried to repeat the process, but I got the same result.
Does anybody know a solution for this?
Thanks in advance.
Click to expand...
Click to collapse
Nandroid only backs up your ROM, recovery, apps, app data, etc. and not the data stored in your internal storage.
Sent from my GT-I9300 using xda app-developers app
Oomahey said:
Nandroid only backs up your ROM, recovery, apps, app data, etc. and not the data stored in your internal storage.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Ooopppps, I thought it makes a complete image of the phone! (for example, on many websites it's compared with Norton Ghost for PC). Good to know for the next time...
Thank you for the information, Oomahey!
portamento said:
Ooopppps, I thought it makes a complete image of the phone! (for example, on many websites it's compared with Norton Ghost for PC). Good to know for the next time...
Thank you for the information, Oomahey!
Click to expand...
Click to collapse
hit "thanks" below his post
portamento said:
Hi there. Yesterday, before flashing leaked 4.2.1 ROM, I did a nandroid backup to my external microSD card using Philz Touch Recovery v. 4.63. The process of backing up was successful.
The problem came when I restored the backup. (Before restoration, I had to reinstall the PhilZ Touch recovery and, from it, I did format cache, format system and format data). I recovered my XXEMA2 ROM with all the apps and configurations I had before, BUT there is no trace of the pictures I had in the internal memory or the files I downloaded.
I tried to repeat the process, but I got the same result.
Does anybody know a solution for this?
Thanks in advance.
Click to expand...
Click to collapse
After going back from 4.2.1 to 4.1.2 you'll have your whole Internal Memory in a folder "0". Find it on your Internal Memory. All your data and files should be there. Just transfer them from folder 0 to root of Internal Memory and all will be like before flashing 4.2.1
Glebun said:
hit "thanks" below his post
Click to expand...
Click to collapse
I seem to be blind! I was looking for the "thanks" button, but I didn't found it (I thought that maybe it didn't appear since I was surfing from my mobile). That's why I said "thanks" texting.
EDIT: I was not blind. In the default version of the forum (the classic one) that appears on my Opera Mobile there is not "thanks" button. You need to change manually the versiĆ³n to 2010 one or higher.
Ninolina said:
After going back from 4.2.1 to 4.1.2 you'll have your whole Internal Memory in a folder "0". Find it on your Internal Memory. All your data and files should be there. Just transfer them from folder 0 to root of Internal Memory and all will be like before flashing 4.2.1
Click to expand...
Click to collapse
I do have the "0" folder with the old (sub)folders, but all of them are empty :crying:
Maybe it was not a good idea to do format cache/system/data before restoring the nandroid backup... As I thought all data were preserved in the backup, I prefered to delete any trace of 4.2.1 ROM .
portamento said:
I do have the "0" folder with the old (sub)folders, but all of them are empty :crying:
Maybe it was not a good idea to do format cache/system/data before restoring the nandroid backup... As I thought all data were preserved in the backup, I prefered to delete any trace of 4.2.1 ROM .
Click to expand...
Click to collapse
Well, that might be the problem. I had also restoring 4.1.2 backup after trying 4.2.1 FW but I didn't do wiping or formating - I just restored backup and there was that 0 folder and all files from Internal were there.

[Q] Restore files from Nandroid backup

Hello,
I did a Nandroid backup (system, data, etc. using CWM) and a Titanium backup (user apps), wiped my phone, and installed a new ROM.
Q: Does a Nandroid backup include the /ProgramData/Language/ folder?
I'm trying to restore files I 'hid' using the Hide It Pro app. A developer blog post mentions that this folder is the 'vault location'. As a result, I'd like to find this folder and restore it if possible.
A Titanium Backup restore of the Hide It Pro app+data didn't of course work due to this. I'd like to avoid restoring everything from the Nandroid backup if possible and just restore the individual folder. I have of course tried looking through the folders and files to find it, to no avail.
Many thanks,
Chris
CM11 on Galaxy S3 i9300
I'd also like to know where (and if) the 'Download' folder is backed up to in a Nandroid backup.
Anyone with knowledge of the Android partitions structure and may know where to find these folders, your assistance would be much appreciated. I can't seem to find any of this on the net unfortunately.
ChrisLoz said:
I'd also like to know where (and if) the 'Download' folder is backed up to in a Nandroid backup.
Anyone with knowledge of the Android partitions structure and may know where to find these folders, your assistance would be much appreciated. I can't seem to find any of this on the net unfortunately.
Click to expand...
Click to collapse
I have been using "Audio Manager" aka "Hide it Pro" for many months (maybe 2 years)
(DON'T THINK OF WEIRD HIDDEN THINGS !!! I use only encryption feature to encrypt my script files. :laugh::highfive
Hide it Pro stores its main locker in /sdcard/ProgramData/Android/.Language/.fr
and fake locker in /sdcard/ProgramData/Android/.Language/.xx (escape pin locker)
After new ROM they are not deleted if you did not format SD Card.
Reinstall "Hide it Pro" (any version) and set password like first time. But all old hidden files will be there.
(During new ROM install, Hide it Pro files are not harmed if SD Card is not formatted, just follow above method to get files back)
They are not deleted unless you format SD Card. (internal or external whatever you have)
Unfortunately Nandroid backup does not backup /sdcard.
So you Hide it Pro hidden files (top secret!!! ) and Download folder is not backed up in Nandroid.
If you have any other question, ask me. I know thoroughly about that app.
Press Thanks if helped.
hnkotnis said:
I have been using "Audio Manager" aka "Hide it Pro" for many months (maybe 2 years)
(DON'T THINK OF WEIRD HIDDEN THINGS !!! I use only encryption feature to encrypt my script files. :laugh::highfive
Hide it Pro stores its main locker in /sdcard/ProgramData/Android/.Language/.fr
and fake locker in /sdcard/ProgramData/Android/.Language/.xx (escape pin locker)
After new ROM they are not deleted if you did not format SD Card.
Reinstall "Hide it Pro" (any version) and set password like first time. But all old hidden files will be there.
(During new ROM install, Hide it Pro files are not harmed if SD Card is not formatted, just follow above method to get files back)
They are not deleted unless you format SD Card. (internal or external whatever you have)
Unfortunately Nandroid backup does not backup /sdcard.
So you Hide it Pro hidden files (top secret!!! ) and Download folder is not backed up in Nandroid.
If you have any other question, ask me. I know thoroughly about that app.
Press Thanks if helped.
Click to expand...
Click to collapse
Hi, thanks for your reply.
It is to my understanding that /sdcard/ is the *internal* SD card, isn't it? ProgramData and Download are both folders on /sdcard/, which are currently empty due to the factory reset. I did not format my external SD card - the files on that still remain, but do not include either of these folders.
I have previously reinstalled Hide It Pro, the files did not reappear.
I would like to restore the two mentioned (internal) folders from my Nandroid backup.
ChrisLoz said:
Hi, thanks for your reply.
I have already reinstalled Hide It Pro, the files did not reappear.
It is to my understanding that /sdcard/ is the *internal* SD card, isn't it? ProgramData and Download are both folders on /sdcard/, which are currently empty due to the factory reset. I did not format my external SD card - the files on that still remain, but do not include either of these folders.
I would like to restore these two internal SD card folders from my Nandroid backup.
Click to expand...
Click to collapse
Depending on device's CWM (this varies with device) backed up folders change.
Copy CWM Backup to your PC and open that folder. You will see some/all following files. ext4 and rfs different based on ROM.
boot.img
data.rfs.tar
system.rfs.tar
.android_secure.tar
cache.rfs.tar
If there is sdcard.vfat.tar you are lucky. Internal SD Card is backed up. (unfortunately this is not for 99% CWM)
Otherwise I am afraid data is lost.
In case of data loss, try there to apps (require root) which can recover deleted photos. (I don't know about internal card, but I have tested them on external card.)
https://play.google.com/store/apps/details?id=fahrbot.apps.undelete
https://play.google.com/store/apps/details?id=com.defianttech.diskdigger
Press Thanks if helped.
hnkotnis said:
Depending on device's CWM (this varies with device) backed up folders change.
Copy CWM Backup to your PC and open that folder. You will see some/all following files. ext4 and rfs different based on ROM.
boot.img
data.rfs.tar
system.rfs.tar
.android_secure.tar
cache.rfs.tar
If there is sdcard.vfat.tar you are lucky. Internal SD Card is backed up. (unfortunately this is not for 99% CWM)
Otherwise I am afraid data is lost.
In case of data loss, try there to apps (require root) which can recover deleted photos. (I don't know about internal card, but I have tested them on external card.)
https://play.google.com/store/apps/details?id=fahrbot.apps.undelete
https://play.google.com/store/apps/details?id=com.defianttech.diskdigger
Press Thanks if helped.
Click to expand...
Click to collapse
Ah I see. Thank you.
I have already moved the backup to my PC, I'll check to see if that file is there tomorrow but I don't recall it being unfortunately. I had presumed Nandroid backed up everything, so it's quite an annoyance if I have lost everything from /sdcard/, but it's nothing too important thankfully.
Thank you for the link to the data loss recovery apps, I will give those a try if needed.
ChrisLoz said:
Ah I see. Thank you.
I have already moved the backup to my PC, I'll check to see if that file is there tomorrow but I don't recall it being unfortunately. I had presumed Nandroid backed up everything, so it's quite an annoyance if I have lost everything from /sdcard/, but it's nothing too important thankfully.
Thank you for the link to the data loss recovery apps, I will give those a try if needed.
Click to expand...
Click to collapse
Use these data recovery apps as soon as possible, because if the storage space where previous data was is overwritten, then data recovery is not possible.
Press Thanks if helped.
hnkotnis said:
Use these data recovery apps as soon as possible, because if the storage space where previous data was is overwritten, then data recovery is not possible.
Press Thanks if helped.
Click to expand...
Click to collapse
Neither worked unfortunately.
I'll give this method a go: http://forum.xda-developers.com/showthread.php?t=2143188
hnkotnis said:
Use these data recovery apps as soon as possible, because if the storage space where previous data was is overwritten, then data recovery is not possible.
Press Thanks if helped.
Click to expand...
Click to collapse
I'm trying to follow this guide to recover the 'sdcard' folder.
[GUIDE] Internal Memory Data Recovery - Yes We Can!
It's aimed at Galaxy Nexus, so I'm trying to change it for S3.
I've installed all the software and apps: BusyBox, Cygwin, Netcat, ADB (Android SDK + Java JDK), VHD Tool, Recuva, etc.
The internal 'sdcard' folder doesn't appear to be a partition, so when it comes to the first command main step:
5. Open a Cygwin terminal and enter (This assumes your BusyBox installation is at [/system/bin/busybox]. It may be at [/system/xbin/busybox]):
Code:
adb forward tcp:5555 tcp:5555
adb shell
/system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p12
Click to expand...
Click to collapse
...I don't know what to enter.
Any assistance would be appreciated!
Edit: Continued in this thread - http://forum.xda-developers.com/galaxy-s3/help/recover-files-sdcard-t2704117/
Sometimes files could be lost after you hide them with Hide It Pro. You may see this guide: Recover data in Hide It Pro
Good Luck.

Restore S-Planner

Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
GerhardK90 said:
Hello,
I have made a backup of my calendar with "easy backup" from the Play Store and installed a custom rom. Therefore I made a full wipe - unfortunately I lost the backup.
I have stored both, the internal SDCard and the external SDCard to my Computer and still have this data.
Is there any possibility to restore my calendar entries with the given data?
Thank you very much
Click to expand...
Click to collapse
Just move the Easy Backup data folder back to your device and reinstall the app. As long as the folder is in the right spot, the app should recognize and restore your data. It's a good idea to sign into an account for the Calendar stuff so it gets stored in a cloud service, thus making this transition easier.
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
GerhardK90 said:
Thank you for your reply!
ahh I think I werent exact enough in my explaination. The problem is, that I made the backup of the internal and external SDCard first and then downloaded the backup tool of which I thought it would make the backup on the external SDCard. Unfortunately the tool stored the backup file on the internal SDCard. So the problem is, that my current backup does not hold the files of the backuptool.
Click to expand...
Click to collapse
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
es0tericcha0s said:
Ah, I see. Gonna be out of luck then unless you
A) Had signed up with a Samsung account and it had synced before wiping
B) Have a nandroid backup of your previous rom to restore (if you don't - shame on you! lol)
If it was saved to your internal storage, then I'm not sure why it still wouldn't be there unless you intentionally wiped it in recovery. Factory data resets in a custom recovery do not touch the partition of your internal storage that you save your app data and media to.
Edit: App data in this sense is what the apps store on your internal storage partition that the phone sees as /sdcard/, which is /data/media not the regular app data stored in /data/data such as like settings and preferences, which does get wiped in a reset.
Click to expand...
Click to collapse
:S I do not understand that actually, because somewhere S-Planner has to save the entries - or not? So I think if I backup anything from the internal/external storage I should also have backed up the database with the entries or not ?

[HELP] Does a CWM / nandroid backup includes WhatsApp images?

Yesterday I whiped my internal storage. Sadly I forgot to secure my WhatsApp images from the respective folder.
Before whipping the device I've made a nandroid backup with CWM.
The question is: does a nandroid backup includes also the images and videos from the internal storage folder of WhatsApp? Can I restore it with the nandroid manager?
I would be pleased for a fast answer :good:
funk_doc said:
Yesterday I whiped my internal storage. Sadly I forgot to secure my WhatsApp images from the respective folder.
Before whipping the device I've made a nandroid backup with CWM.
The question is: does a nandroid backup includes also the images and videos from the internal storage folder of WhatsApp? Can I restore it with the nandroid manager?
I would be pleased for a fast answer :good:
Click to expand...
Click to collapse
Yes it should because it backed up /data which some devices have their internal sd partition. Extract the data and see. It should be there as long as you didn't store images on the external sd.
kirito9 said:
It should be there as long as you didn't store images on the external sd.
Click to expand...
Click to collapse
Guess what I did... :laugh:
Thanks for the answer. There was nothing in nandroid manager. So I think I need to deal with it.
funk_doc said:
Guess what I did... :laugh:
Thanks for the answer. There was nothing in nandroid manager. So I think I need to deal with it.
Click to expand...
Click to collapse
So you're saying that there was no backup in the first place? Or it was wiped?
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
funk_doc said:
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
Click to expand...
Click to collapse
It should be in a Whatsapp folder on the sdcard.
funk_doc said:
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
Click to expand...
Click to collapse
As far as I know...
A cwm backup will restore data but it won't restore the files.
sorry

Categories

Resources