Related
Is is safe to delete files .asec inside .android_secure folder in our internal SD? I have 1.46GB files in it. I believe, it's a files where A2SD stored when we moved the application to SD Card. I'm doing a fresh ROM installation to my phone. Wipe everything. Internal/External SD is not touch in this process.
I had perform a backup to every application and data using Titanium Backup. Is it safe to delete these files. I still can restore it using Titanium Backup with setting "restore to original location" right?
Thanks.
Hello, answering your question, yes, it's safe to delete these files, and also, it's recommended to delete these files when you will perform a clean ROM installation, so don't worry when you restore your applications with titanium, automatically the files will restore in that folder, if not, just move the desired application to your SD and no problem
Cya!!
Sent from my LG-P920 using XDA App
Ok. Thanks.
Are they some kind of temp files or are they used for storing app data/settings?
What i'm getting to is, can i safely delete them and not lose any data stored in associated apps?
hi,
I had so much stuff on the tablet I decided to reinstall rom...
performed factory reset, wiped cache partition, & installed ics rom again and to my surprise all my data was there.
what else needs to be whiped to delete all wanted and unwanted data?
thanks
You can delete all the stuff from /data/media - its mounted as sdcard - its the content that you see when you are connected via usb. Dont worry, all directories will be created new when you flash the rom again. You can also format the system partition in recovery. Put the rom to your empty data/media directory before you do this and install with choose from zip...
I reset my twrp rooted note 10.1 back to factory, cleared dalvik and internal storage, flash a new ROM yet it stil maintains the old folder structure from my previous ROM. I want as little as possible in my folder structure. I'm afraid if I delete certain folders (eg TWRP) it will render my tablet useless as I might not even be able to boot into TWRP.
Factory reset says it wipes "data" (does this mean internal storage?) and when I clear internal storage too I still have pictures etc. from my old ROM, why?
I have a .face and .thumbnails folder that I'm not even seeing in the file manager on the system. Is it safe to delete these?
How do I clean the clutter? I would really appreciate if this is demystified a little.
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.
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