We all know, at least I hope so, that if you perform a backup in TWRP the internal storage data (photos, documents, etc.) is not included in the backup.
https://twrp.me/faq/backupexclusions.html
Of course, you can always manually backup the internal storage. But it is possible to include the internal storage data in a TWRP backup by temporarily renaming the media folder inside the root folder data.
A TWRP backup includes the TWRP folder for it is part of the internal storage. Therefore it will also backup all the large files which are present. It is therefore more convenient to keep the TWRP folder as small as possible, but it is up to you.
1. Go into TWRP recovery.
2. The path is button advanced button file management within the data folder you will find the media folder. Rename the media folder
temporarily to e.g. ABC.
3. Perform a new backup in TWRP and give it a new name. Don't leave TWRP but enter file management again.
4. You will find a new media folder. This is because TWRP creates this media folder, it includes your new backup.
5. Your follow-up actions will be to rename the new media folder into e.g. DEF and rename the temporary folder ABC (which is the original media folder)
back to media.
6. Restart your system and now you find a TWRP backup including internal storage in the DEF folder. Move this backup to the TWRP folder and delete
the DEF folder.
Thats it.
Do not forget when you perform a recovery with this backup to repeat step 6.
update:
20180321-111816
OK I found another post, using same method but used examples.
Indeed they are using same method,
and I would like to thank OP and that post's OP.
both help to "include internal storage into TWRP backup".
thanks~
https://forum.xda-developers.com/android/general/tutorial-create-internal-storage-backup-t3389172
--------------------------------------------------
Can you write in more simple english?
I really dont understand the details.
It will help with examples, with the full path instead of just "ABC" "DEF"
Thank you.
Good looking out OP. Never know when I may need this. :good:
a very good guide
you can always use
thanks for your effort! if you like you can test my solution
Universal-TWRP-Bind-Mount-Enabler.zip (do not flash!)
Thanks mart56, I am looking for this for some time and now i got right solution. it's really help me with internal storage backup.
Excellent
If backing up to external SD Card, media directory is not created, so just rename it back after the backup process. If rebooted without renaming back, then it recreates media directory.
.
I was looking for full back up solution and found this: https://www.xda-developers.com/tipatch-patches-twrp-full-data-backups/
Both options have drawbacks... I dont like wipe data option in TWRP to delete data including storage .
---------- Post added at 01:15 PM ---------- Previous post was at 01:02 PM ----------
mart56 said:
We all know, at least I hope so, that if you perform a backup in TWRP the internal storage data (photos, documents, etc.) is not included in the backup.
https://twrp.me/faq/backupexclusions.html
Of course, you can always manually backup the internal storage. But it is possible to include the internal storage data in a TWRP backup by temporarily renaming the media folder inside the root folder data.
A TWRP backup includes the TWRP folder for it is part of the internal storage. Therefore it will also backup all the large files which are present. It is therefore more convenient to keep the TWRP folder as small as possible, but it is up to you.
1. Go into TWRP recovery.
2. The path is button advanced button file management within the data folder you will find the media folder. Rename the media folder
temporarily to e.g. ABC.
3. Perform a new backup in TWRP and give it a new name. Don't leave TWRP but enter file management again.
4. You will find a new media folder. This is because TWRP creates this media folder, it includes your new backup.
5. Your follow-up actions will be to rename the new media folder into e.g. DEF and rename the temporary folder ABC (which is the original media folder)
back to media.
6. Restart your system and now you find a TWRP backup including internal storage in the DEF folder. Move this backup to the TWRP folder and delete
the DEF folder.
Thats it.
Do not forget when you perform a recovery with this backup to repeat step 6.
Click to expand...
Click to collapse
As I understand our media should be back up in ABC. So during recovery after "format data" or "wipe including internal storage" it will restore our media in ABC folder, do we need to rename it back to media using TWRP to complete recovery?
My understanding is that internal storage will stay in ABC, and not be visible when boot in System(not doing step 5). In system we will have the newly created media empty (because we can not do step 6 DEF folder is actual internal storage and will not be included in back up).
So do you mean that we need to do step (5) after recovery? Not step (6)?
useless
whenever i tried to take a backup,the same error pops up,even after following ur instructions.so ur post is useless for me.
Guys, does anybody know, why twrp doesn't see an option data including storage (large sd needed) while I am trying to restore it? It definitely is present in the backup
I followed this guide and the backup size is 28591MB (boot, data, system). However, the internal memory of my S4mini is only 8GB. How can the /data/media folder be bigger than the internal memory? It is not stored on the external sd card is it?
UPDATE: I deleted the /data/media/0/DCIM/.thumbnail folder and now the backup is only 4950MB
V helpful and useful tip Thanks
Related
I just upgrade my mini to bigstorage. I did backup the original rom using a 256MB SD, a full backup with Sprite Backup and hoysync my PIM. BUT I FORGET those VERY IMPORTANT files inside original storage. How stupid I am? Now I want to know is it possible to get those files back? In what way? It's seems that the Sprite Backup doesn't include the storage.
Those files are really important (that's why they stored in storage, not sd), please help.
I hope this could helps (but I'm not 100% sure):
- Backup your previous ROM from SD to computer, if you didn't do that yet.
- Backup your current ROM to SD and then to computer.
- Backup all your other data, PIM etc.
Downgrade from SD ROM backup:
- Write your previous ROM to SD card and then update your pocket device from SD.
If you want to recover Extended ROM content do this:
- Hard reset your device and when configuration (align screen, time zone...) is done and you are asked to tap the screen, tap it and soft reset it immediately.
- Open Pocket File Explorer and you should see Extended ROM folder on root, if not repeat previous step
- Copy Extended ROM folder to some safe place
Else if you want to recover usual Storage folder, if it appears after downgrade in Pocket File Explorer, copy it to safe place.
Upgrade back to your current ROM:
- Write your new ROM from computer to SD and then to pocket device and update again, than restore all your data backup.
Check for more info:
http://wiki.xda-developers.com/index.php?pagename=BackupExistingRom
Section 3 on page 4: http://forum.xda-developers.com/attachment.php?attachmentid=24653&d=1132438092
Hi,
You could try to browse the link below...It has the files of the O2 Extended_Roms...
ftp://ftp.xda-developers.com/Magician/Extended_Roms/O2Mini_WWE_1.11.922
I use MyBackup Pro and it can store its backups on an external SD card. I've searched but haven't been able to discover if Titanium has this same capability. If a phone needs to be replaced, what good is it to have the backup internally? I know I can perform a copy of the TitaniumBackup folder to my external SD card (or my PC) along with its files, but can it be done automagically as a program option during the backup?
Titanium allows you to change the name of the backup folder, so I went so far as to keep the TitaniumBackup folder name but point the folder location to the SD card (\sdcard\sd). No luck...unless my syntax is wrong.
So, in summary, I want to have the Titanium Backups deposited on my external SD card as part of the normal, one-step backup process. If it can't be done, I wonder why it hasn't been implemented as an option since it seems logical (at least to me ).
oh yes i would like this too, but can it be done?
Drop the sdcard and use a relative path. I have several directories on my external card. I have a main titanium directory with subdirectories for the roms I load..for example here's my current path:
sd/TitaniumBackup/JH7
Raleran said:
Drop the sdcard and use a relative path. I have several directories on my external card. I have a main titanium directory with subdirectories for the roms I load..for example here's my current path:
sd/TitaniumBackup/JH7
Click to expand...
Click to collapse
Thank you! I just heard back from the developer and was about to post his reply (which equals yours). My backup is now at sd/TitaniumBackup.
For others, here's what you do - assuming you're using an external SD card. In Titanium's preferences change the backup folder name to sd/TitaniumBackup. If you need to exchange your device you can then put your SD card in your new phone and restore the backups contained therein.
Don't forget to delete the existing backups and TitaniumBackup folder that's, by default, internal to your phone. Then create your "portable" backups.
so after you make the change, when you open up and see stats page, backup directory should say: /sdcard/sd/titaniumbackup ?
clueless captivate said:
so after you make the change, when you open up and see stats page, backup directory should say: /sdcard/sd/titaniumbackup ?
Click to expand...
Click to collapse
Yes, plus the first two directory items should read:
Data directory: /data
External storage: /sdcard (ok)
Hey guys,
a nandroid backup is a really convenient method to backup your complete phone and restore everything or partially data. All partitions (/system, /data, /cache) were being backed up.
But what happens with the sdcard?
Before I flash/install a new rom, I always format my sdcard with my PC, hence I make sure, that it’s clean and has no remains from older roms.
On first boot, the android system creates a lot of folders contaning data, which both are modified during the daily use. For example the folder “DCIM” contains all the taken pictures and videos.
But what’s about these?
- .android_secure
- .dta
- .estrong
- and especially “Android” and subfolders
What happens, if I make a full nandroid of my phone, format my sdcard, so that all the folders and data, which were created while using the rom, were deleted. After that I restore the complete backup and boot up the phone.
My question is, how the restored system will react, if it notices, that these folders and their contents were not available?
- will they be recreated?
- does the system not boot
- after booting it will show some error messages?
- something else?
Thanks in advance!
@@RON
Hi
Greeting
Nandroid only backups phone memory
It does not backup sdcard
And their is no need to format sd card everytime before flashing Rom (i haven't formated my sd card even once ) every thing works f9
Even if u remove all the file from sdcard which u mentaion then the phone recreate these file againg and causes no problem
Basically a Rom has to do nothing with the sdcard the phone runs completely even without sdcard . Sd card is just an expansion of memory to phones
And you do whatever with it , it does not affect the way your Rom runs
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
@@RON said:
Hey guys,
a nandroid backup is a really convenient method to backup your complete phone and restore everything or partially data. All partitions (/system, /data, /cache) were being backed up.
But what happens with the sdcard?
Before I flash/install a new rom, I always format my sdcard with my PC, hence I make sure, that it’s clean and has no remains from older roms.
On first boot, the android system creates a lot of folders contaning data, which both are modified during the daily use. For example the folder “DCIM” contains all the taken pictures and videos.
But what’s about these?
- .android_secure
- .dta
- .estrong
- and especially “Android” and subfolders
What happens, if I make a full nandroid of my phone, format my sdcard, so that all the folders and data, which were created while using the rom, were deleted. After that I restore the complete backup and boot up the phone.
My question is, how the restored system will react, if it notices, that these folders and their contents were not available?
- will they be recreated?
- does the system not boot
- after booting it will show some error messages?
- something else?
Thanks in advance!
@@RON
Click to expand...
Click to collapse
When making a nandroid backup, system, data, boot and cache partitions are saved. Also, the android_secure from the SDcard is saved. As for the other folders, they are not kept. EStrongs is the guys who make ES File Explorer, and I believe this folder has something to do with the app. I don't know about the other folders, but they are not required for running the ROM. If they are missing, they will be recreated.
I believe I answered some of your questions above, but I'll answer the rest here:
-As I said, the restore won't create the folders, but the ROM might create them. At least one of the folders you listed is of an app, and there are many more apps that create folders on your SDCard, that's just cache or some data, which is not a problem to restore.
-The system will boot. That's the idea of a nandroid backup (if those folders were required, they would have been backed up)
-It will not show error messages, it will resume just like when you made the backuo.
-Something Else? You name it. There is no need to format your SDCard every time you flash a ROM, as usually it doesn't create problems. It can get a bit messy, but besides that, it's fine to keep it the way it is.
astar26 said:
When making a nandroid backup, system, data, boot and cache partitions are saved. Also, the android_secure from the SDcard is saved. As for the other folders, they are not kept. EStrongs is the guys who make ES File Explorer, and I believe this folder has something to do with the app. I don't know about the other folders, but they are not required for running the ROM. If they are missing, they will be recreated.
I believe I answered some of your questions above, but I'll answer the rest here:
-As I said, the restore won't create the folders, but the ROM might create them. At least one of the folders you listed is of an app, and there are many more apps that create folders on your SDCard, that's just cache or some data, which is not a problem to restore.
-The system will boot. That's the idea of a nandroid backup (if those folders were required, they would have been backed up)
-It will not show error messages, it will resume just like when you made the backuo.
-Something Else? You name it. There is no need to format your SDCard every time you flash a ROM, as usually it doesn't create problems. It can get a bit messy, but besides that, it's fine to keep it the way it is.
Click to expand...
Click to collapse
Yeah, you're right!
I clicked through the folders on my sdcard and the most directories are named "cache" etc. Only some exceptions for e.g. whatsapp message database or downloaded maps for htc locations ...etc.
So it seems, that the android system and the installed apps create folders for their use. If a nandroid will be created, the last mentioned folder should be backed up, too ... but manually. Thus the first mentioned folders (.data ...) are unnecessary.
You said, that there is no need to format the sdcard everytime a new rom will be flashed. I think it is, because every new rom deserves a clean sdcard, which has no remains from older roms. So the rom can expand themself and have a great feeling
No joke, in my opinion it will be the better way, if there are no possible complications with older existing files.
@@RON said:
Yeah, you're right!
I clicked through the folders on my sdcard and the most directories are named "cache" etc. Only some exceptions for e.g. whatsapp message database or downloaded maps for htc locations ...etc.
So it seems, that the android system and the installed apps create folders for their use. If a nandroid will be created, the last mentioned folder should be backed up, too ... but manually. Thus the first mentioned folders (.data ...) are unnecessary.
You said, that there is no need to format the sdcard everytime a new rom will be flashed. I think it is, because every new rom deserves a clean sdcard, which has no remains from older roms. So the rom can expand themself and have a great feeling
No joke, in my opinion it will be the better way, if there are no possible complications with older existing files.
Click to expand...
Click to collapse
What needs to be cleaned is cleaned when you wipe the phone. Anyway, formatting the SDCard is your choice. Files of apps that are not installed just won't be used. I like your idea of starting fresh, but it's quite a hassle to format and rearrange the SD every time I flash a ROM.
It's nice to have it clean without many directories (Imust say that I managed to reach such a situation with my own documents, with directories I created myself and have no idea what they are for. But I guess that's what you get when you don't clean your "room" for a couple of years.
Sorry, I suspect this will be a stupid question....
I'm just flashing a new ROM on my S6 and it's the first time I've tried it. The instructions say to copy the ROM file to the phone and then go in to TWRP and wipe everything. Would the ROM file not get deleted then too? Is there a specific place I should save it to?
Thanks
Hi, save the file to your internal storage (downloaded files to the phone should automatically be saved to the folder "Downloads" witch is already the internal storage)
When you go to twrp to wipe, select advanced wipe and just make sure you don't check the internal storage
- Renolz
Good afternoon,
My question is as follows,
1. The Backup Tool program creates a unique file when it generates the complete backup by the computer, different from the one created by TWRP, if it only needs to restore a single item has?
Note: I use the Backup Tool to be able to back up directly to the PC because I do not have enough memory card to fit the DATA folder.
2. With the complete backup, I read in some topics in the forum, that do not go type information, photos, downloads, etc. Is this right? If so, why in full backup is this information missing?
Thank you.
costafabiof said:
Good afternoon,
My question is as follows,
1. The Backup Tool program creates a unique file when it generates the complete backup by the computer, different from the one created by TWRP, if it only needs to restore a single item has?
Note: I use the Backup Tool to be able to back up directly to the PC because I do not have enough memory card to fit the DATA folder.
2. With the complete backup, I read in some topics in the forum, that do not go type information, photos, downloads, etc. Is this right? If so, why in full backup is this information missing?
Thank you.
Click to expand...
Click to collapse
You can use twrp to pc and copy your internal storage off. Just drag and drop the folders you want from internal to your pc. No need to do a back up of it
godkingofcanada said:
You can use twrp to pc and copy your internal storage off. Just drag and drop the folders you want from internal to your pc. No need to do a back up of it
Click to expand...
Click to collapse
Good afternoon,
Are you telling me that when I connect the phone to the PC via TWRP and all the folders appear, if I copy them, is it the same as doing a full backup by TWRP?
Because if so, what caught my attention is that, folders total 700 mb and backup 6 gigs.
No what he's saying is that TWRP only backs up the system content. So your ROM, apps, app settings, customisation etc is all saved in the TWRP backup.
But it doesn't save "loose" user files, so things like photos, downloads, etc saved to your SD or internal storage aren't included in the TWRP backup.
So for a complete backup, you want a TWRP backup + copy the photos, downloads, etc folders via PC onto your desktop.
Copying the folders is NOT going to be equivalent to a TWP backup, as you don't see any system/firmware files in PC.
What to use to Backup Complete phone Firmware, pictures and Everything on the phone??? So if it crashes you caab restore phone back to like it was before Crash? Thanks