I have chosen to backup everything and all extra partitions on my twrp backup. When browsing the twrp backup folder, I renamed the .win extentions to .tar and unziped them using linux but I cannot find where twrp keep the internal storage contents. eg. emulated/0/
Asked
Active
Viewed 3,141 times
1
1 Answers
1
TWRP does not backup internal storage, like your photos, videos, music, ebooks, etc. (things in /data/media), that is why you can't find it.
As noted in the TWRP's FAQ from their official website:
Creating a backup of the user data partition will NOT include /data/media (your internal storage)! That means if you save photos or data on the internal storage (e.g. some apps will save data there as well) those will be NOT included in a TWRP backup! There are many people thinking that this is the case but due to a decision taken by the dev team this is the current way of how it works.
To be absolutely clear when you do something like this:
- Creating a full backup in TWRP (including /data partition)
- Factory resetting your phone
- Restoring your previously taken full backup
- Result: all your saved data will be there but your data on the internal storage gets LOST!
- Source page of quote

acejavelin
- 6,197
- 2
- 19
- 32
-
Are you sure about that? As the backup created by TWRP should be complete, where is it gone then? In fact, what OP is looking for is partly in
data.ext3.win.gz
and partly in the boot image. Theemulated/*
stuff AFAIR is setup at boot (with a lot of mounting and cross-symlinking which I never got into my head completely). If I'm wrong, please back your claim by a source: where does it say what TWRP does not backup? – Izzy Jun 10 '17 at 08:43 -
1@Izzy Yes, I am positive it doesn't backup internal storage, or "internal sd card" as some call it. It never has. I will update my answer with a verifiable source. – acejavelin Jun 10 '17 at 14:19
-
1Thanks! That explains something I was wondering about a while ago. On an older device of mine it did backup everything, but on a newer one I wondered why that part was missing. Thought it was specific to the device (and TWRP implementation for that), but it's rather specific to the ROM structure it seems. Note the intruductional phrasing: "When you have a device with a /data/media storage as internal storage". So it seems there are such and others ;) Thanks for pointing out and mentioning the source, +1 now from me :) – Izzy Jun 10 '17 at 19:51
-
1@answerSeeker and acejavelin FYI https://android.stackexchange.com/q/200713/131553 – beeshyams Aug 23 '18 at 06:40
adb pull -a -p /sdcard
advanced users who can't live with it, feel free to tweak your twrp with a shell script – alecxs Dec 21 '19 at 14:03