TWRP - Internal Storage Backup - General Questions and Answers

I know I did an internal storage backup with TWRP. I have extracted the system and data TWRP files and see all the apps, system, etc.. but am not seeing the Internal Storage. Can someone please point me to where in the directory structure the internal is? (there is no storage folder or mnt)

SyCoREAPER said:
I know I did an internal storage backup with TWRP. I have extracted the system and data TWRP files and see all the apps, system, etc.. but am not seeing the Internal Storage. Can someone please point me to where in the directory structure the internal is? (there is no storage folder or mnt)
Click to expand...
Click to collapse
@SyCoREAPER I'm not sure you can backup internal storage with TWRP. If memory serves me right you can back up System, Cache, Data, Boot and EFS. However, having just woke up maybe I'm not reading your provided information right or possibly I'm completely wrong. When I back up internal storage I use my laptop or PC OS file manager.

DowntownRDB said:
@SyCoREAPER I'm not sure you can backup internal storage with TWRP. If memory serves me right you can back up System, Cache, Data, Boot and EFS. However, having just woke up maybe I'm not reading your provided information right or possibly I'm completely wrong. When I back up internal storage I use my laptop or PC OS file manager.
Click to expand...
Click to collapse
You know you are right. I remembered seeing it in Wipe, not in Backup. Well that sucks turds. Google Photos backup turned on from now on. At least I have a partial outdated backup but all my TSO (Trans Syberian Orchestra) shots are gone. Had great seats too

Related

[Q] How did my sdcard get "wiped" when I installed the newest AOKP ROM?

OK, so I'm using wiped in quotes because according to my available free space, it appears my data is still there somewhere. It's just that it's really not and I don't understand why (or where it may be hiding). I've done this many times and never had this problem, so I don't think I did anything wrong, but here are the steps I took: I made a TWRP backup. I wiped my cache, then my Dalvik cache, and then did a factory reset. I installed the new AOKP ROM (aokp_d2vzw_jb-mr1_build-3), installed Gapps, and installed the flashable zip for Titanium Backup. I then booted into Android with no problem, went through the setup process, and rebooted into TWRP. At that point, I was going to install the flashable update.zip I created from Titanium Backup, but I couldn't find it or any of my normal files or folders. I booted back into Android and checked again with a file explorer and sure enough – it's only showing the basic folders you start with and none of my content is there. Like I said, it appears my data is still there somewhere according to my available free space, but I haven't been able to find it anywhere. When I was in TWRP, I hit the button to restore and it showed me my two Nandroid backups, so I feel like the files have to be hiding somewhere.
I'm not really sure what caused it, but I know the files were still there after the wiping and the factory reset, or else I wouldn't have had the zip files to then flash. Therefore, I feel like it had to be during the AOKP or the Gapps install where my sdcard got erased (I forgot to mention my Titanium Backup somehow never got installed). Oh, and just to be clear, I'm talking about the internal (emulated) sdcard, so I can't simply pull it out and put it in my PC to search the contents.
Does anyone have any idea how this happened or where my files are? I'm tempted to do a restore to see if get everything back so I can then make more backups and store them somewhere else.
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
letinsh said:
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
Click to expand...
Click to collapse
No, I don't have a /0 folder on my sdcard. I did find a /0 folder somewhere in my root, but it only mirrored what's currently on the sdcard.
I found it! It's not on my card, but in the root, under data/media. There is a /0 folder in there as well and it links to the sdcard folder. To be safe, I'm going to first copy everything to my real external sdcard before trying to put it back.
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
letinsh said:
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
Click to expand...
Click to collapse
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
JerseyMike4 said:
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
Click to expand...
Click to collapse
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
GoonAssJuan said:
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
That makes sense. But it would have been nice if the system "moved" my data automatically when I upgraded.

HELP! Accidentally formatted internal storage in TWRP 3.0.0!!!

:crying::crying::crying::crying::crying:
Hi,
Today i wanted to install Sultanxda CM13, so I carefully wiped only data, system, cache, dalvik cache & ART in Multirom-TWRP 3.0.0 after taking backups in Titanium Backup & nandroid backups. Then I went to wipe>advanced wipe>ticked system>fs options>change fs>selected f2fs & swiped . Same I did for data & cache (formatted only /data, /system & /cache). After that, when I when I went to install zip, MY INTERNAL STORAGE WAS EMPTY! (Also, 54GB space remaining in internal storage) :crying::crying::crying::crying:: OH DAMN S**T . I am very very sure I didnt wipe or format Internal Storage. And now my whole internal storage is gone (IT HAD VERY VERY IMPORTANT VIDEOS, PHOTOS & DOCUMENTS).
SO PLEASE HELP ME IN RECOVERING THE FILES. And curse you TWRP 3.0.0!
EDIT 1: I just saw this xda thread: http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705. But it needs ADB & root access, and I dont have OS. Installing OS isnt a problem or me, but if I install OS, some files would be written on data partition, and that would decrease the chances of file recovery. So any way to access root & adb without OS? @DaxNagtegaal and other people can you please help?
EDIT 2: I tried to use root in adb (in TWRP), but it doesnt work. So I installed COS12.1 YOG7DAS2K1-signed flashable zip & SUperSU 2.65 as a last resort in TWRP, booted it, skipped any data restore (to do it later), installed busybox and now I am trying the long-method given here: http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705 (Now I am making .raw file of the internal storage block through adb). (It seems its gonna take about 8 hours to completely make the vhd file).
Buy an otg cable download a rom on your pc,transfer it to your pc and voila else you can also buy a usb which can be plug directly in your mobile.i think you will be able to recover some file because rom won't take over 54gb.
Please read properly. I installed COS 12.1 YOG7DAS2K1 as a last resort. Now I am trying to recover the data.
I don't think you will be able to recover all the files but atleast some will be recoverable as rom won't take over all space,how many files were there?which files were valuable to you? it its photos?as i once lost my pictures since then im using google photos!
Yup, many pics, some documents, some text files (in which I save all my passwords, usernames, etc) & videos (also game data ).
ah ok i feel you mate,now when you are up and running just use google photos for pictures and googledrive or dropbox for your important files,atleast you know you will be safe if ever you encounter any issue.
Try " delete " like recovery app .once i tried and recover nearly 500 photos but i hadn't try to recover files .
If you change data to f2fs this will wipe your internal storage. Just do a backup next time and inform you more.

Contents of internal storage (sdcard) missing after wipe...

My problem as it stands:
TWRP 2.8.6.0 is installed
The Pure XL will boot, load all the way into android, and load all the built in apps.
I cannot install apps, and the google play store sits in a downloading loop.
The internal storage is empty save for a twrp folder. I can still read and write to the internal storage via twrp
I believe what I have done is erase all the contents of the internal storage.
Factory resets with the 3-15-2016 OTA update does not restore these folders/files.
Biggest issue: THIS IS MY WIFE'S PHONE AND SHE WILL KILL ME IF I CAN'T FIX IT.
Was wondering if one you fine fellow/ladies would upload a copy on the internal storage folders and files from a clean install of the 3-15-2016 OTA update so that I can attempt to copy them manually into my internal storage.
I would also take any help in restoring these files myself if a straight copy of the files isn't an option.
Any help will be appreciated!

[CLOSED] How to Full Backup With TWRP (Include Internal Storage)?

Hi All,
I have N910C and using LineageOS 14.1 and TWRP 3.2.3.0.. Yesterday i saved full backup and selected:
System
System Image
Data (excl. storage)
Cache
Preload
Boot
Recovery
Modem
EFS
Then wiped everything and tried another ROM. I didn't like it and restored this backup and i can't see Internal Storage. I guess it didn't take them.
How can i backup "all" the things in my phone with TWRP? If i can't, can you advise me a stable app for this job?
P.S: I don't want to use an app for this. I want to do with TWRP but i don't know how can i backup Internal Storage with that.
Thank you.
This has been answered before and can be made known by searching this anywhere on XDA, for example "backup internal storage TWRP".
You selected Data (excluding storage). Note the 'excluding'.
In order to backup your internal storage as well, you need to select 'Internal Storage' from the list of partitions in TWRP.
Depending how much you have filling up your phone, this can make TWRP backups quite large.
One explanation can be found here
Thread closed.

Full backup of dying phone using TWRP, backup should be accessible without the phone

Hello,
I have a Redmi Note 5 with TWRP and AOSP Extended, the charging circuits of which have died, so the phone cannot be charged or even take power from a charger, otherwise entirely functional. I now have my "last charge", the phone is charged to 100% and turned off, but as soon as the battery reaches 0% it is dead, probably forever, as it is not possible to charge it.
Now, I would like to somehow make a backup of the entire phone, in case there is some data that I might find out I need in the future. Is it possible to create a backup that I will be able to fully access after the phone dies? Is it possible to make such an image of the phone, that I could import it into a virtual machine and run on my computer?
Thank you very much.
Using TWRP file manager you can backup your pictures, video, documents etc. To your SD card,, otg or pc. But you can't backup you /data. Data and internal storage are different. Data doesn't include pictures or videos. It just includes your apps and apps data. To backup this /data you have to use migrate or titanium backup. A /data backup of a perticular device from TWRP, might not boot on another device. So use migrate. You can select the apps you want to backup and you can put that in your SD card or drive. That apps can easily be flashed on other phones. TWRP only backs up /data NOT internal storage
Android emulators run on x86/x86-64 CPU based machines whereas Android OS - all it installed apps included - runs on 32-bit/64-bit ARM-CPU based devices. Hence it doesn't make any sense trying to clone an existing Android device in order to run this clone in an Android emulator. It simply doesn't work.
Tab E said:
Using TWRP file manager you can backup your pictures, video, documents etc. To your SD card,, otg or pc. But you can't backup you /data. Data and internal storage are different. Data doesn't include pictures or videos. It just includes your apps and apps data. To backup this /data you have to use migrate or titanium backup. A /data backup of a perticular device from TWRP, might not boot on another device. So use migrate. You can select the apps you want to backup and you can put that in your SD card or drive. That apps can easily be flashed on other phones. TWRP only backs up /data NOT internal storage
Click to expand...
Click to collapse
You are wrong. The /data partition - also called /userdata - is located on device's internal storage memory. To keep you updated: The /data partition has subfolder /data/media where user's data like pictures, musics, videos, etc.pp are stored.
The /data partition what also holds all apps and their data ( obb excluded ) installed by user in subfolder /data/apps always - using the right tool - can completely get backed up.
Tab E said:
Using TWRP file manager you can backup your pictures, video, documents etc. To your SD card,, otg or pc. But you can't backup you /data. Data and internet storage are different. Data doesn't include pictures or videos. It just includes your apps and apps
Tab E said:
Using TWRP file manager you can backup your pictures, video, documents etc. To your SD card,, otg or pc. But you can't backup you /data. Data and internet storage are different. Data doesn't include pictures or videos. It just includes your apps and apps data. To backup this /data you have to use migrate or titanium backup. A /data backup of a perticular device from TWRP, might not boot on another device. So use migrate. You can select the apps you want to backup and you can put that in your SD card or drive. That apps can easily be flashed on other phones
Click to expand...
Click to collapse
data. To backup this /data you have to use migrate or titanium backup. A /data backupof a perticular from TWRP, might not boot on another device. So use migrate. You can select the apps you want to backup and you can put that in your SD card or drive. That apps can easily be flashed on other phones
Click to expand...
Click to collapse
jwoegerbauer said:
You are wrong. The /data partition - also called /userdata - is located on device's internal storage menory. The /data partition has subfolder /data/media where user's data like pictures, musics, videos, etc.pp are stored. The /data partition what also holds all apps and their data ( obb excluded ) installed by user always - using the right tool - can completely get backed up.
Click to expand...
Click to collapse
Thanks for informing
Thank you everyone for clarifying, I ended up just making a backup of the internal storage manually and then all the other partitions using TWRP backup.

Categories

Resources