Android structure [how to find some data] - HD Mini General

Hello.
I have serious question about android folders structure. its something different than with original HD Mini Windows.
For example i have a installed game "JewelsStar" and i want to change SD card and install Android from begining on a new one.
This game havent any export for game stats. So i want to search it by my own for game saves or status files to copy it to new system.
Problem is i cannot find it (Astro search engine find nothing).
Where Android make some program files structure or some doument folders? I hope this system have something like this.
Thank you for any help.

dziarsky said:
Hello.
I have serious question about android folders structure. its something different than with original HD Mini Windows.
For example i have a installed game "JewelsStar" and i want to change SD card and install Android from begining on a new one.
This game havent any export for game stats. So i want to search it by my own for game saves or status files to copy it to new system.
Problem is i cannot find it (Astro search engine find nothing).
Where Android make some program files structure or some doument folders? I hope this system have something like this.
Thank you for any help.
Click to expand...
Click to collapse
Most of the times the saves are in the SDCard, the structure is quite different from windows, more like linux, but usually game saves are somewhere on the sdcard.
Try to use a backup software like titanium backup, it should backup game data.

Related

.vol files in root

Hi Folks,
I have a lot of .vol files in the root, namely mxip..., pim.vol, PocketInformant.vol, etc)
Can I move these? Firstly to the SD, or secondly to the \databases folder to tidy things up?
Has anyone tried?
I don't think so. Whatever you do, don't move pim.vol. You can try moving the PockInfo.vol .. the worst case is that you won't able to start PI. And, personally, I think PI is much smarter than the built in pim, so if PI cna't do it, the built-in pim sure can't.
These r system files used by the OS all the time so if u try to move them there might b a startup prob so its advisable not to play with these .
These r system files used by the OS all the time so if u try to move them there might b a startup prob so its advisable not to play with them .
thanks guys - seems no-one has moved these successfully so I'll live with the messy directory.

Pay Attention: How do we backup DATA in Apps. NOT just APPS

Title says it all. I've seen this question asked but too many times I see people saying. "Use Search Function"
The search function has been scoured and I see plenty of great apps that restore and backup apps, contacts, etc.. none restore data WITHIN the apps.
Is there an app that backs up DATA within the apps not just the apps.
Thank you,
come again.
Titanium backup backs up my apps plus all system data
I'd like to know this too, with possible Rom coming in September I'm desperate to make the change over as smooth as possible.
post in general section
Mooved
Good question. I use MyBackup (online) for saving my data - but only sms-contacts..
If you find an app that save all you need, please post its name here ^^
thx
The process is quite complex (at least the way I do it) but it can be done!
Note: YOU NEED LINUX FOR THIS (or if you're brave you can mess with the tools on this site: http://www.chrysocome.net/download. success is not guaranteed. Still post about your experiences though )
Note: Steps 1 to 3 are not always necessary, it depends on which Android build you are using.
1) Give Root Explorer (or a similar file explorer app - must be able to access system/data files) root access
2) Locate the folders containing the user data you want to backup, this is usually somewhere near /data/data. The folders have various naming conventions and dont always contain the name of the app (i'll check and edit this post if i have time)
3) Change the folder's permission settings - I usually just permit everything
4) Shut down Android and in one way or another, mount your sd card on your Linux machine, and locate your data.img or userdata.img file.
5) Open a command line window, enter the following:
Code:
sudo mount -o loop data.img /mnt/data
Note: you might need to create the folder you are mounting too
Note: sudo not always neccesary
Note: change data.img to userdata.img, you'll know if this applies to you
6) Browse to the folder containing the data you want to backup and copy it onto your computer. DONE!
You can restore these backups on a different build by using the same method, just in reverse. Also, don't forget to check if the same folder already exists, if yes, it can be extremely annoying to find you dont have permission to change/overwrite it!
I used this to copy all of my saved games, i especially didn't want to loose my Asphalt 5 progress
P.S. if this solves your problem, please change the title of this thread to simplify things for other users
Thanks Kev007, I'll try this
filou75 said:
Thanks Kev007, I'll try this
Click to expand...
Click to collapse
While it is good to know how to do this stuff, just download Titanium from the market. It backs up all apps plus data in about a minute. You can restore individually or in batches using filters. Search around there is lots of info on this app.
It is great to learn some basic Linux stuff. It will help when you are trying to do things in Android. If you have no intention of learning Linux, Titanium is the way to go.
that be good actually - on my last android reinstall I lost my paper toss high score (allbeit only 3 pmsl) but still seems like a good thought considerin the games etc with save data.
Seconded - Titanium Backup preserves all my app data.
This is one of the reasons I love Android over WinMo - backing up app data is practically a nobrainer when you have the right tool.
+1 on Titanium Backup.
Works great on all builds. Just don't try to restore native HTC apps/data from sense to vanilla Froyo.
Kev007 said:
The process is quite complex (at least the way I do it) but it can be done!
Note: YOU NEED LINUX FOR THIS (or if you're brave you can mess with the tools on this site: http://www.chrysocome.net/download. success is not guaranteed. Still post about your experiences though )
Note: Steps 1 to 3 are not always necessary, it depends on which Android build you are using.
1) Give Root Explorer (or a similar file explorer app - must be able to access system/data files) root access
2) Locate the folders containing the user data you want to backup, this is usually somewhere near /data/data. The folders have various naming conventions and dont always contain the name of the app (i'll check and edit this post if i have time)
3) Change the folder's permission settings - I usually just permit everything
4) Shut down Android and in one way or another, mount your sd card on your Linux machine, and locate your data.img or userdata.img file.
5) Open a command line window, enter the following:
Code:
sudo mount -o loop data.img /mnt/data
Note: you might need to create the folder you are mounting too
Note: sudo not always neccesary
Note: change data.img to userdata.img, you'll know if this applies to you
6) Browse to the folder containing the data you want to backup and copy it onto your computer. DONE!
You can restore these backups on a different build by using the same method, just in reverse. Also, don't forget to check if the same folder already exists, if yes, it can be extremely annoying to find you dont have permission to change/overwrite it!
I used this to copy all of my saved games, i especially didn't want to loose my Asphalt 5 progress
P.S. if this solves your problem, please change the title of this thread to simplify things for other users
Click to expand...
Click to collapse
Now THIS is an answer. I knew I wasnt the only one trying to do this. I dont need to backup the APPS because I already have them backed up oin my PC.
My buddy has a linux box ill try this with. Thanks.
PS. To the titanium suggestions. I've tried that. Doesnt seem to save game states or 3rd party app preferences...

[Q] Backup Builds

So with the advent of boot loaders such as Excellers which allow you to choose different builds of Android, what exactly do you need to copy off the SDCard to backup your build?
I dont mean the data, sms, mail, etc, but the actual entire build?
Is it enough to simply copy the Android folder and the files inside it including data.img or is there a need to copy the other folders and files that android creates in the root of your SD (LOST.DIR, rosie_scroll, etc)?
Android builds automatically create those folders and files if they do not exist for them, but will it cause issues if they already exist, since we can now switch between builds on the same card?
Any ideas??
Oh, and I did search, didnt find anything conclusive though.
As far as I know. Making a copy of the Android folder is enough. Be carefull though, the DCIM folder must be backup aswell if you have made any pictures/video's. The rest of the folders .secure etc are just temp folders.
For backing up you can use the free program Titanium backup aswell (found on market), use the search, someone wrote a nice guide for it some time ago. Can be used very easy to transfer your installed apps from one build to another. Transfering system settings isn't a good idea, especially not if you switching different builds. Only when updating your current build it should be ok (not recommended), but sometimes copying your data.img to your new build is enough to get your applications in the new build.
Machiel187 said:
As far as I know. Making a copy of the Android folder is enough. Be carefull though, the DCIM folder must be backup aswell if you have made any pictures/video's. The rest of the folders .secure etc are just temp folders.
For backing up you can use the free program Titanium backup aswell (found on market), use the search, someone wrote a nice guide for it some time ago. Can be used very easy to transfer your installed apps from one build to another. Transfering system settings isn't a good idea, especially not if you switching different builds. Only when updating your current build it should be ok (not recommended), but sometimes copying your data.img to your new build is enough to get your applications in the new build.
Click to expand...
Click to collapse
Basically I just want to try out different builds concurrently, switching between them with Exceller.
Data isn much of an issue since most of mine is in the cloud somewhere but its a pain installing some new build only to find the one you just had and spent time configuring, was a hell of a lot better.
Well i'm not entirely sure about where the settings are stored. But my guess is, just backup the android folder and you will be fine (think most is stored in the data.img). Delete all the other folders and switch to your new build. If you don't like it, switching back should be a breeze.
Why don't you just try it once. Change some settings, delete all the folders except for the android folder and boot again, see if the changes you made are still there.
Machiel187 said:
Well i'm not entirely sure about where the settings are stored. But my guess is, just backup the android folder and you will be fine (think most is stored in the data.img). Delete all the other folders and switch to your new build. If you don't like it, switching back should be a breeze.
Why don't you just try it once. Change some settings, delete all the folders except for the android folder and boot again, see if the changes you made are still there.
Click to expand...
Click to collapse
mainly because there arent enough hours in the day, so many roms, so little time.............
Well, since i'm at work and bored, I tried it for you.
Only imporant folder is the Android folder and our DCIM for your pictures. All the other directories do nothing but temp stuff on my rEVOlution 2.2. Deleted them all and android still booted just fine with all settings and homescreens I had applied.
Hope this awnsers your question now.
Excellent, thank you very much, I will be trying to clear some time later to try an alternate build on the same card. I will post how it goes.
Seems to work, as long as you edit the startup text to include the foldername of your build Exceller lets you switch between builds:
set cmdline "rel_path=YourbuildfolderHere"

How to extract data.img files with PC? Because my Android won't start.

Hi guys,
Somehow I screwed my Android and now I can't use it (android.process.acore force close keeps popping up). I don't mind doing a fresh install as long as I can keep my game datas. Unfortunately haven't done any backup. So, is there any way to do that from PC as I can't start my Android? Just for info: the games are zenonia and angry birds. Thank you very much.
dan138zig said:
Hi guys,
Somehow I screwed my Android and now I can't use it (android.process.acore force close keeps popping up). I don't mind doing a fresh install as long as I can keep my game datas. Unfortunately haven't done any backup. So, is there any way to do that from PC as I can't start my Android? Just for info: the games are zenonia and angry birds. Thank you very much.
Click to expand...
Click to collapse
Just copy all the data from the memory card into a folder in your PC(i am sure you know how to mount your memory card , just take it out and put in into a card reader or mount it in Windows mobile), but that does mean all the faults you have might get accompanied along
All the apps you download and install is in the data.img file. Just redownload your build and put your data.img file in there. It'll will be as good as the working system...if that works, just copy over the other folders from your sd card root. I suspect the files corruption is only in the Android folder. Good luck
nope. copying the data.img file to a new build still produces the same result. as I said, I screwed the data.img file.
I think you need to have linux running on your system to be able to view the data.img file because it is a linux filesystem. Download a ubuntu liveCD and run it on your computer OR ubuntu through vmware. I don't know the exact ways to get to the files but this is the start. I think someone already have a tutorial on this somewhere in the HD2 Android general section. Check there. Goodluck.
how to mount data.img
I still have the problem that I srewed up my data.img
Android boots but I only get a black screen.
When pressing buttons (End Key) I can see Menus and feel vibra feedback.
I have debian Linux
How can I mount my data.img
debian40:/home/erich/Desktop# mount -t udf data.img ~/img -o loop
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Click to expand...
Click to collapse
Would be gr8 if a linux pro couldguide me
Greet`s Erich
This will work in Windows-based Computer.
Download and extract the attachment.
Run the exe file.
Click new (first icon) and navigate to the data.img you want to check and click to select.
You can extract/save all or select the files on that data.img by navigating through the files on the left side of the window then click save (4th icon) then navigate where you want to save it.
If you need more help, just PM me.
***Why do you have to make life difficult?***
jose makalolot said:
This will work in Windows-based Computer.
Download and extract the attachment.
Run the exe file.
Click new (first icon) and navigate to the data.img you want to check and click to select.
You can extract/save all or select the files on that data.img by navigating through the files on the left side of the window then click save (4th icon) then navigate where you want to save it.
If you need more help, just PM me.
***Why do you have to make life difficult?***
Click to expand...
Click to collapse
Very handy tool here. Had to try it to see for myself. And it works. You will find all your apps and game's data in the data folder. Just copy the folder for angry birds onto your phone in the /data/data folder and your progress in angry birds will be restored. You can even use this program to backup all your installed apps (.apk) including your paid apps.
disable Autostart - or DELETE Autostart Tools
Yea great way
Thank you
Does anybody know where the "autostart" folder is located under Android?
Because then I could try to fix my data.img.
In WM6.5 its easy to locate,...
I am sure it was a Launcher tool which srewed up my system,...
Guess that this could help for sure other users - when it would be possible to boot Android without AUTOSTART of installed proz
many Greet`s
Erich
jose makalolot said:
This will work in Windows-based Computer.
Download and extract the attachment.
Run the exe file.
Click new (first icon) and navigate to the data.img you want to check and click to select.
You can extract/save all or select the files on that data.img by navigating through the files on the left side of the window then click save (4th icon) then navigate where you want to save it.
If you need more help, just PM me.
***Why do you have to make life difficult?***
Click to expand...
Click to collapse
i can't delete apps
is there a way i could delete apps?
Sooo....
Hey guys!!
I've been a member of the forum for a while now and am trying to contribute more to everything. I think this was a very helpful post but I don't know how to do the whole thank you think like everybody else does. Can someone help me? Thanks guys.
modifying data.img
i can't delete apps
is there a way i could delete apps?
Click to expand...
Click to collapse
I also had this problem - it`s read only
Would be nice if someone finds a solution to delete stuff.
Because if the data.img is srewed up - deleting stuff would be gr8
I just copied the things I need and set up a new data.img to this I put the extracted stuff,...
GreeT`s Erich
No files
I tried ext2explore with my 170Mb data.img (created with clockwordmod recovery), but I can't see no files, no directories, nothing at all, the application is blank.
Any suggestion?
EDIT:
Solution found here: http://forum.xda-developers.com/archive/index.php/t-705800.html
deleted - posted to wrong location
love this tool, essential thanks for sharing.
Super cool....
jose makalolot said:
This will work in Windows-based Computer.
Download and extract the attachment.
Run the exe file.
Click new (first icon) and navigate to the data.img you want to check and click to select.
You can extract/save all or select the files on that data.img by navigating through the files on the left side of the window then click save (4th icon) then navigate where you want to save it.
If you need more help, just PM me.
***Why do you have to make life difficult?***
Click to expand...
Click to collapse
help
i screwed my data.img and had to create new, now i need help to get my contacts mesages from my previus data.img can anybodey help? where are the located?
Modifying a mounted data partition
eriche said:
I also had this problem - it`s read only
Would be nice if someone finds a solution to delete stuff.
Because if the data.img is srewed up - deleting stuff would be gr8
I just copied the things I need and set up a new data.img to this I put the extracted stuff,...
GreeT`s Erich
Click to expand...
Click to collapse
adb remount

storage/emulated/0/

can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
I think this has been added as part of the multi-user feature and is where the data/content is stored for other users. It has been mentioned on the forum somewhere else, cant remember where I seen it though.
I also wondered this but then thought logically.
Two users using the same SD card wouldn't be a good idea.
So they sort of virtualise the SD card, and then when a new user is created a sort of partition is created for the user.
I was wondering what that was in ASTRO I thought it was something I did wrong and yes if you delete one file it will end up deleting both of them so be careful luckily I deleted some old downloads I didn't need anymore GOD BLESS YOU GUYS
Sent from my Nexus 7 using xda app-developers app
thats all fine, thanks guys,
but now, if I download a new pic from dolphin browser to the /emulated/0/pictures folder, the gallery sees my SD/pictures as well as the /emulated/0/pictures folder, the original has 99 files in, and the new one 1 file in, both are called "pictures".
the "save picture as" action opens up its own file explorer, and it wont let me go back far enough in the file tree to access the SD/pictures folder so I can only save in the new /emulated/0 folder and its sub folders?
cheers.
I can't find the folder on my pc. I am trying to run a backup app and it stores it there. I try to replace the backup location to downloads for example and it won't work. It's driving me mad.
The linked directories are linked to look like separate directories but they link to what is called a mount point that the actual physical storage and the actual file. What you do in any of folders will be done in all the folders.
I'm still wrapping my mind and this and my Linux knowledge it's weak. So I'm not going to try to suggest how to deal with these folders. As much as possible I'm letting the app handle the files.
Sent from my Nexus 7 using xda premium
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
algus said:
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
Click to expand...
Click to collapse
I think you are confusing a symlink'd directory with a second copy.
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
rmm200 said:
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
Click to expand...
Click to collapse
This.
It's not broken do don't expect a fix. It only 'looks' like you have duplicate files. A change you make in any single place will show up in all locations. Delete a file in one place it will be gone everywhere. The whole file system is an optical illusion. Layers on layers of naming parts of the file system.
For instance /sdcard is actually /data/media/0 if you created another user on your tab they would get /data/media/1 but they would find their files under /sdcard in a file manager.
Sent from my Nexus 7 using xda premium
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
algus said:
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
Click to expand...
Click to collapse
I am trying to understand what you are seeing.
On my device, the gallery app only shows pictures in my user: emulated/0. This is from selecting a picture and then asking for info on it.
What apps are showing duplicates, other than a file explorer that you would expect to show symlinks?
I should add - are you copying pictures directly to /sdcard from somewhere else?
Well I had a problem...because of all the multiuser crap I was unable to restore a titanium backup cause of all the emulated directories that another user makes...I had to delete every /0 directory that it made cause if you install another Rom it makes a new /0 directory inside the other /0 directory so after flashing CM10, MIUI and slim bean I finished with a directory like this: sdcard0/0/0/0.
Sent from my GT-I9300 using xda app-developers app
restoring backups seems to be a problem too in cwm. Hmm how to fix it
Sent from my Nexus 4 using xda app-developers app
I ran into this problem with Titanium Backup and my Nexus 7. I was trying to copy the titanium backup folder on the Nexus 7 to my windows PC (also tried mac too) as it was taking up a lot of space on the Nexus but Windows and Mac wouldn't have any of it. It just copied the folder and not the contents. Android file Transfer manager on mac just keeped crashing. I did not try adb pull folder with WugFresh toolkit, so that may work. I ended up copying from the nexus 7 to a USB drive using an OTG cable.
I been looking into this too, this is what I find so far I did a fresh install after I installed my Rom I wipe storage on my N7 so I have a clean storage nothing on it about 27.80gb after I installed one game that is 2gb and its show on both storage emulated and 0 n after my available space is 23.72gb. So I think its does create a duplicate that take space. But Im not sure.I going to run some more tests. If this is true this kinda suck cus then my 32gb n7 is only 16gb then.
Ps. Also if u reboot ur n7 and u go to storage there is another folder under emulated with 0 with the same files you can deleted this folder is save you won't loose anything but if you reboot and go back to storage the file reappear and you can delete but once u reebot again it will reappear again and over again.
Sent from my EVO using xda premium
No way are there 2 copies of files (unless you are auto backing up, which I do). My free space was 3.9gb before and after 4.2. Have all the extra meaningless folders.
You could think of the emulated storage locations like a shortcut. You could place multiple shortcuts to your 'My Documents' folder on your desktop without creating multiple copies of 'My Documents'.
Same problem with Galaxy Nexus
I have the same problem with my Galaxy Nexus and Android 4.2.1
In my Windows Explorer i dont see the same files like in my Phone with Total Commander on my Storage.
This is not funny.

Categories

Resources