Hello all,
I have a Galaxy S10 and i'm browsing the file system a bit and i've come across a couple file paths which all contain the same information. The file paths are the following:
/data/data
/data_mirror/data_ce/null/0/
/data/user/0
From what I can tell these all share the same files and I dont understand why the data needs to be duplicated that many times. Surely it would make sense to just have the /data/data aspect only unless these files are more like placeholders?
If i'm wrong can someone explain the difference between them and why Android OS acts like this?
Thanks
Related
I've searched the forum on this, and unless I'm using the wrong key terms (very possible) I havent found any info contributing to this.
When downloading an app from the Android Market/Amazon Market, where exactly does the *.apk file get saved to? I like to have all my apk's in one area when flashing a new ROM, so I can just install them one after another (apps, widgets, live wallpaper, etc...)
Also, can anyone provide me with any info (preferably some link) in regards to Android's file management system, ie discussing in detail what folders hold what information and what that information pertains to?
One other question, what exactly is the difference between a filepath like:
mnt/sdcard & /sdcard in regards to opening/saving a file to/from those locations??
Apologize for the multiple questions, just thought Id save posts in doing so, and sorry if the information this is readily somewhere in the forum.
Thanks for any info on this!
EDIT: So I stumbled on the Android Developer's Site (feeling like a dumba$$)
http://developer.android.com/index.html
But I'm still unable to find an area pertaining to what I'm exactly looking for (the Directory Structure with explanation for GTablet Froyo) Am I missing something??
Dueces99,
Here is a start:
http://forum.xda-developers.com/showthread.php?p=12439780&highlight=Memory#post12439780
If you are rooted, use ES File Manager or Root Explorer or the like
to open up the file system.
Go to /sdcard and you will see the file system. Most of the file managers
will let you toggle to / and you can see the file system from the root side.
Literally, that's the basis and if you're a lot more knowledgeable than me
you can work down from there to the various sub-folders relating to the
OS functions.
Hope this helps get you started to where you want to go.
IMO, I don't ever get into the file system like I have done with Unix or Linux
in the past. Most of what I have needed to do under Android I just do using
one of the file managers like free Root Explorer.
Rev
P. S. -- When you hook the tablet to your PC and look at the "G:"
drive or however else it shows up in Explorer -- you are looking at /sdcard.
I understand what you are saying, and I am already familiar (atleast Id like to think so) with the main directories (sdcard, sdcard2, etc..) of the file structure, and what info. they hold. My tab is already rooted, and I have Root Explorer, ES FileExplorer, and Wifi File Explorer installed.
What I am looking for is a detailed description of what each folder (default Android structure) is for, and what information is stored in them.
For Example:
/acct: This folder holds...
/data: ...
/data/data: ...
/sdcard: ...
/mnt/sdcard: ...
Guess you could call it a Definition/Guide for the entire Android Directory Structure/Format?
Like in my initial post, where is the default location that downloaded apk's from the market go?
Sorry if my post was misleading, I'm just trying to gain a better understanding of the Directory structure just so I can better navigate through the various file managers and more efficiently find what I am looking for.
I would think the Android Developer's Site would have exactly what I'm looking for, but I haven't been able to find it. Thanks for your input though!
Dueces99,
I hope you find it.
I have made the statement before and I'll stand behind it, "The hallmark of Android as an operating system is its bad documentation."
Good luck!
Rev
Hello all,
I am new here and just got my Galaxy S 4g. I am used to creating themes on the iphone and am getting very frustrated with this phone so far. I have rooted my phone, and also downloaded go launcher and a couple widgets. and a couple different file explorers.
Problems I am having is that everyone says the apps and themes are located in the phones data folder. My data folder is always blank with nothing inside. I search for the exact name or location of the apps and it says 0 files. I look at the apps running and details of them tell me they are in the /data folder, but My folder says empty. I even have the show hidden files checked.
Also I am trying to find a way to browse the phones files (not the memory card files) from my computer. I have now read over hundreds of pages of searches and can not find any answers.
Please help me.
the files that you are going to want to find are the framework-res.apk and twframework.apk.
those files are located in the system/framework/
i use android commander to push and pull files cause it is the easiest for me. you will need winrar to unzip the apk's but if you want to edit the .9.png's you will need APK manager to unpack the .9.png's and Ultimate Compiler to recompile after you edit or the png's will stretch wrong and look horrible.
There is a link on the main Android Themes page on XDA that has a wonderful write up in PDF about theming...
ill see what else i can post when i have time later to help you out.
Hi everybody,
Quite awhile ago while playing around with custom Roms and going from one version of android to another, something went wrong with my file system. I had a regular file system but upon one of the installs it ended up making sdcard/0/ then the rest of my file structure. What I mean to say is I have 2 sets of folders, one where the files were stored for app data and files from before (sdcard/Downloads) and now a new set of files where they are now saved (sdcard/0/downloads). This creates problems for apps that have specific file structures where it looks for files and doesn't specify the location like backup utilities.. Because now I can't find the old backup file because the /0/ version of it is empty and it doesn't mention where specifically its looking.
Anyways I'm planning on upgrading to 6.0 (currently on 4.4.3 or something very close). I want to rectify this situation even it means a 100% reset of my phone. Any tips?
Thanks
flash latest factory image will solve your issue. it is a common issue when you jump from LL to KK and viceversa.
hi guys,
something is very strange:
i flashed LP slim 5.0 from @Wajk (great rom so far) clean and fresh.
Now i discovered in the root directory a folder called d (and it refers to /sys/kernel/debug) with dozens of folders and hundreds/thousends of 0byte files.
Does anybody know what they are /where they came from and can i delete this d folder with all this folders/files???
Thx
The folder "/sys" contains information about the hardware and the linux system itself much like "/proc", which contains information about processes.
Those files you are seeing are part of the system, they are not really files i.e. they don't really exist on the phone, they are "virtual" and provide a way to read/write the mentioned information.
For more information just search for "procfs" and "sysfs" on the web.
Hope I could bring some clarification,
Sigi
I have some files in /data/data/com.something that are again and again deleted or rather overwritten by a program every time I run it. I'd really love a way to delete protect those files of mine.
Points:
I know that the files are overwritten because they are read only files so the only logical explanation is that they are first deleted and then replaced with a new file.
The files should be prevented from being deleted or edited but I also want that the data still be executable and viewable.
The files are in .XML format.
The name of the files and their current location should not change.
Last but not the least, this change should be reversible.
Can any human being help me achieve this or is this something that only the almighty can do?
Evan Jongske Sangma said:
I have some files in /data/data/com.something that are again and again deleted or rather overwritten by a program every time I run it. I'd really love a way to delete protect those files of mine.
Points:
I know that the files are overwritten because they are read only files so the only logical explanation is that they are first deleted and then replaced with a new file.
The files should be prevented from being deleted or edited but I also want that the data still be executable and viewable.
The files are in .XML format.
The name of the files and their current location should not change.
Last but not the least, this change should be reversible.
Can any human being help me achieve this or is this something that only the almighty can do?
Click to expand...
Click to collapse
Greetings and welcome to assist. If the files are in data then they can be overwritten if they are in system/root then they could only be ovewritten by a root application.
Hope this helps
Good Luck
Sawdoctor