2

TL;DR: Some apps have a little data on the SD and I want to move it to internal in case the apps actually need it. My intent is to use the SD for something else. However, I can't figure out how to move the data to internal.

I have gone into Application Manager and there is a list of apps (it doesn't just list all apps) with data on the SD card. Most say 0.00B but a few say 32.00KB (and it is one or the other, there are no other sizes). I tap on them to access the available options and all I see is "move to SD". I can't find any option to move data in the opposite direction. All of the apps are mostly on internal storage and I am aware from reading other threads that apps can store data in both places at the same time. I have tried searching both on this site and via Google (and Bing). Unless I put quotes around my entire search, the engines find some way to coerce my question into the opposite of what I want. With the quotes, Google gave me two Reddit posts (that is all); neither of which had a solution as far as I can tell.

Main Questions: Is it possible to move the data apps have stored on the SD card to internal storage? If so, how do I do it?

Side Questions: Why are some apps included on the list but with 0.00B? Does that mean the app has an empty folder on the SD card? Or are there files and I am not supposed to see; so it tells me 0.00B? For the apps with 32.00KB, is that just some standard placeholder/empty file or is there a chance the data is actually needed by the apps?


Edit:

In response to Irfan Latif…

I tried to read the whole post but I started getting lost at Android 3.1. You mention that changing protocols now means that the card isn't mounted on PCs. But I don't understand why the way the phone works would impact how a PC interacts with the card. I assume it has to do with the protocol changes but to me the protocols are nothing but names. I simply don't have that depth of knowledge regarding data storage and transmission. Since I can't follow this step, I can't follow anything beyond it either.

As for "Coming to your question:", the main takeaways I got was that you can't prevent apps from writing to SD and that some apps write there just to test availability. Neither directly answers my questions but I can see some potential implications. However, seeing as I am not an expert (else I would not be asking in the first place), I would appreciate it if you could either confirm or deny what I believe your implications are.

  1. 0.00B indicates an empty directory likely created to test for external storage
  2. 32.00KB could similarly be a dummy test file

Assuming I have correctly deduced what you are trying to imply by redirecting me to the other question, I now have these questions:

  1. Is there a way to check or do I just have to assume the files are dummy files and hope removing them doesn't break anything?
  2. Given that you cannot prevent apps from writing to external storage, does that mean it is impossible to remove an SD card without risking the loss of app data? Given that removable media is meant to be, I don't know, removed, that seems like a rather stupid design decision.

Edit 2:

Thank you all for your patience. Your explanations have helped me learn the key terms to focus on and now I understand things better. Though I still don't fully understand everything in Irfan Latif's reply to the other question.

Based on your replies to the new questions, it looks like the short answer is "No". While I can understand how using a terminal would help clarify the location of the data, I don't see how it would help clarify the content of the data. The exception would be if Android has a dedicated test directory in which data is guaranteed to be non-essential. However, based on what I have read so far from your replies, other questions, and other sites, that is not the case.

You all seem pretty certain these files are just dummy test files. With the apparent lack of any definitive means to make this determination, I guess I'll just have to assume you are right.

I am aware of the implications of using the SD card as adoptable storage. There are millions of articles about that. But even per Irfan Latif's reply to the other question, that was introduced with Android 6; I am talking Android 5. So thanks for the reminder but from what I can tell, the discussion of adopted vs. portable storage is completely irrelevant to my specific situation.

Lastly, just because there is doubt that the GUI would be showing what I claim, I am going to upload a screenshot (or a few) so you can see what I am seeing. I will post them after this edit since I am not typing this on my phone.

Settings

Settings > Applications

Settings > Applications > Application Manager > SD Card

Settings > Applications > Application Manager > SD Card > some app

Andrew Shum
  • 121
  • 2
  • can you give example – alecxs Feb 21 '21 at 06:45
  • Please see my answer to How to stop apps writing to "Android" folder on the SD card?. You can skip to "Coming to your question:" part if not willing to read the underlying details, though I strongly recommend to read the details so that you don't have to ask very basic questions. – Irfan Latif Feb 21 '21 at 13:00
  • Are you sure you the apps save data on the physical sd-card? The folder /sdcard and /storag/sdcard is only by name located on sd-card, actually it is the internal flash of your device. – Robert Feb 21 '21 at 13:34
  • @alecxs I am not clear on what kind of example/details you are asking for. – Andrew Shum Feb 22 '21 at 05:02
  • @Robert I do not know what folders they are actually in. All I know is that the app manager application lists "app", "sd app", "data", and "sd data" and that some of the apps have a non-zero number next to "sd data". – Andrew Shum Feb 22 '21 at 05:11
  • @IrfanLatif Please see edit. – Andrew Shum Feb 22 '21 at 05:41
  • "all I see is move to SD" means app is not on SD, therefore you "can't find any option to move data in the opposite direction". If your question is about Android directory this 0.00B/32.00KB placeholder can safely deleted. you can check content from terminal with find /path/to/dir – alecxs Feb 22 '21 at 06:56
  • For the 0.00B and 32.00KB files and dummy files part, I won't believe what Android's GUI is reporting. Why I won't needs understanding of some underlying details which you aren't interested in. What I do for my storage management is to get a terminal emulator and use commandline tools as alecxs suggested. It leaves no room for misinformation or confusion. Details here: How disk space is used on Android device? (which you may not find very appealing). – Irfan Latif Feb 22 '21 at 14:11
  • "it is impossible to remove an SD card without risking the loss of app data". It depends on if the card is formatted as Portable or Adoptable storage, what data is written to the SD card, and how important it is to you. If a camera app wrote the whole video recording of half an hour to your SD card, this would be a loss. If some app created just the files directory as a routine matter to detect external storage during app startup, this won't be a loss. What is files directory is explained in Where Android apps store data?. – Irfan Latif Feb 22 '21 at 14:18
  • @IrfanLatif Please see edit. – Andrew Shum Feb 22 '21 at 19:24
  • 1
    @IrfanLatif based on the screenshots guess the "move to sd card" button is for creating *'.android_secure/*.asec'* container which is indeed on second external storage while still having sd formatted as portable (vfat) at same time. completely forgot about that – alecxs Feb 22 '21 at 22:04

0 Answers0