File Structure - Samsung Galaxy Nexus

When I updated to 4.2 my files structure was thrown out of wack, folder inside folder inside the same name folder with all of the same directories. I tried twice to move thing to one folder but it is very difficult.
I need to know what the actual structure should be, should everything be in the first 0 folder (for my user) apps, and all other folders currently it is a 0 inside a 0 insides another 0 each level has different app files and saved files. I think a lot of stuff is duplicated also as im reaching my internal memory limit of 32gbs.
I just need a pointer of where everything should actually be so I can spend the time setting it up correctly. I also came across this, wonder if it would delete all duplicates while it does it's thing or if it actually works.
https://play.google.com/store/apps/details?id=com.file.sorter
Thanks in advance for any help, I am a computer guy so I do understand what is going on here, I am just not sure the best remedy.

The reason Google did this is because 4.2 added multiple user support. If you had multiple users on your device, the data would be separated in all those different "0" folders. But anyway, after using 4.2 for a while, you will notice stuff you download, app data, etc. being added to /sdcard/ or /storage/sdcard0/ which is the same location. Thats where you want all your stuff.

Yea I understand the multiple user support, but currently I have /sdcard/0/0/0/apps with an apps folder and an images folder inside each of those 0's.

Ciggyy said:
Yea I understand the multiple user support, but currently I have /sdcard/0/0/0/apps with an apps folder and an images folder inside each of those 0's.
Click to expand...
Click to collapse
Well like I said, everything on my device simply goes in /sdcard/
You can move it all if you'd like

Yea that's the plan, just needed to know exactly where things should actually be. Going to be a pain but ill get it done.
Thanks.

Ciggyy said:
Yea that's the plan, just needed to know exactly where things should actually be. Going to be a pain but ill get it done.
Thanks.
Click to expand...
Click to collapse
Cut then paste. Talk about a pain.

you also should update your recovery.
its not like this same topic has been beat into the ground or anything.

I have updated my recovery, and I also did a forum search about this first. Maybe you could point me to a thread about it?

Ciggyy said:
I have updated my recovery, and I also did a forum search about this first. Maybe you could point me to a thread about it?
Click to expand...
Click to collapse
A cursory search for sdcard will get you many results pertaining to the updated directory structure. What follows is but a small sampling of the results.
http://forum.xda-developers.com/showthread.php?t=2184927&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2162925&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2159491&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2151646&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2134720&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=1996263&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2029743&highlight=sdcard
It's a simple cut and paste to put everything in its proper home. Go to the last nested 0 folder in /data/media/0 and paste everything therein to /data/media/0. After that, delete /data/media/0/0 and you're done.
Sent from my Nexus 7 using Tapatalk HD

Thank you for an answer with out an attitude, najaboy.
I never would have thought to search sdcard considering it's internal memory but thank you for pointing me in the correct direction.

Related

How do I check what's inside my /system/data/ folder?

After doing the boot_animation and the boot_sound trick (changing them), I got curious to see what else I can do. However, I'm pretty new to Android.
But I'm pretty familiar using ADB and learn new things very quick. So I'm hoping to learn a lot more.
Who knows, maybe one day I'll be making my own Roms and taking peoples requests. =D
Any help folks?
Anything is much obliged.
Do you mean /data/
You can su, cd /data/ , then ls for contents
elegantai said:
Do you mean /data/
You can su, cd /data/ , then ls for contents
Click to expand...
Click to collapse
Yes.
That's exactly what I was talking about.
Thank you bud.
If I have any more questions, may I PM you?
sure, or just post here But I make no promises of what help I can be. I have only been exploring this stuff for a month now, and just started 'cooking' and messing with the kernel
Get "root explorer" from market. Browse on the go.
Ok. For sometime i was trying to do things like copy/paste/delete to the system folders.
Im aware of what im doing. I shouldn't delete the original contents of /system partition unless im experimenting with it.
OK. My problem is , I WANTED TO DELETE AN ENTIRE FOLDER AT A TIME INSIDE THE /SYSTEM PARTITION THROUGH ADB. Donot recommend root explorer because while experimenting it is useless when the device won't boot. Even though I can mount the /system through recovery and play with adb. But what all i want is deleting the entire folder (with its contents) at a time. Just because it takes lot time to delete each and every file inside it.
I tried the shell "rm" command but it works only for individual files. So, pls help. Much appreciated and thanks in advance.

Help extracting files from a NAND back up

Hey, guys. I dropped my phone recently and got a new one from Asurion and I am trying to extract my game save files from Gun Bros because my back-up with Titanium restored me to level 12 and I was almost at level 40 before I got my new phone. I know.....I'm a f*cking nerd.
Anyway, here's where I'm at:
I downloaded unyaffs and the cygwin1.dll and was was able to successfully extract the data.img contents into the desired folder on my computer. Upon navigating through the data folder, I find two folders titled com.glu.android.gunbros_free and com.glu.android.skob2_free both of which contain a folder inside of it called "app_save" that has a number files.
I thought it would be as easy as finding the same folders on my phone and simply replacing the contents with the files I just pulled from my NAND. However, when I navigate to the data folder in my phone, I can't find these file names. I tried searching for them using control-F by typing the name of the file and searching the the entire SD card, but it turned up empty.
I'm sure I am missing a step here somewhere. Can any of you advanced users point me in the right direction? Sorry if my question is missing info, but honestly, I don't know wtf I'm doing. I'm trying to make something out of nothing here.
I REALLY don't want to start over in the game. lol Any help would be greatly appreciated.
Edit: I'm using these as guides:
http://www.htcblaze.com/how-to-extractingaccessing-nandroid-backup-img-files/
http://dus.org.pl/forum/t-219620/recovering-data-from-nandroid-backup
In the second link, the last step says:
- you can list content of this database using sqlite3 command line tool or presumably (haven't tried it myself and it may depend on what application data you are recovering) copy it back to your Android device running current ROM (rooted phone may be needed).
However, I can't get that command to work. I'm not sure if that helps any, but I thought I'd throw it out there to offer more info.
Oh, I thought of something I wanted to add in case it will be easier. The phone that created the NAND I am trying to pull the files from is still available to me with the game at the stage that I left it in. Maybe I should try replacing the game files on my phone with the ones from that phone?
In theory, it sounds easier than what I'm trying to do here, but does anyone know if that will work?
bumpity-bump.....
Anyone?

replacing xt9

not really sure which forum to post this in (sorry if this is the wrong one), but all of the new roms that have been created seem to lack the xt9. i had really started to like it. i downlaoded the system dump and was wondering, if i copied the T9DB folder (from the dump) over to the system folder of whatever rom im going to flash, would that fix the problem.
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Adj. said:
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Click to expand...
Click to collapse
the xt9 option is in all of them under keyboard, but doesnt work. open up sms and try to type something.
i just checked :\
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Romanbb said:
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Click to expand...
Click to collapse
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
camf3xu said:
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
Click to expand...
Click to collapse
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Romanbb said:
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Click to expand...
Click to collapse
moving the folder over to the rom's system folder within the zip fixed it :] and it didnt force close, just didnt work (even when it was enabled)
how did u get this to work? i dont understand what you are saying. Android is super new to me.
you can always install Go Keyboard, which offer XT9
imsohungover said:
how did u get this to work? i dont understand what you are saying. Android is super new to me.
Click to expand...
Click to collapse
its very simple. first i downloaded this system dump. http://forum.xda-developers.com/showthread.php?t=1300682 . then opened it up and dragged the folder T9DB over to my desktop. then plugged my phone in the computer and connect to usb storage. dragged the file over to my external sd card and unplugged my phone. then open up root explorer (or some file explorer that allows root access) and copied the file and navigated your main folder (just titled /) scrolled down to find system and pasted the folder in there. restart and it works
the lib is also required for it to work but that wasnt removed witht he rom im using. if you want to check to see if its still there go to the lib folder located within your system folder and scroll all the way to the bottom and their should be a file called libxt9core.so
i tried to go into as much detail as possible to make it as simple as possible for you :]
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
heinrich said:
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
Click to expand...
Click to collapse
i suppose i can understand non english. pretty sure u can fix the space problem in options tho
imsohungover said:
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
Click to expand...
Click to collapse
the lib is also in the system dump i described earlier. located at T989odex/lib/libXt9core.so
do u know any other root explorer i can use? Right now i am using Explorer and its giving me the "you cannot paster here because the file system is read-only"

[Q] HOSED SDCard?

Can anybody tell me why I might be able to see folders when I go through a file explorer on my phone, but when I connect to it with my PC I don't see those folders?
Ex. I flashed a 4.2 ROM and it hosed my SDCard I believe. Lost ability to view files, backed up things to Titanium and didn't see anything when I did that but could see it when I looked through a file explorer on my phone.
Wiped my phone and set back to factory. Reflashed, transferred backedup files back to phone, same issue for some.
Did my appbackup using AppBackUp on my phone and changed the folder name, but that folder will not show when connected to my PC, but again when I look using a file explorer it shows just fine.
One other things I was getting was a "local folder" with the date 12/31/69 when viewing my SDCard on my PC. Nothing in it, but never showed before and had a windows drive logo next to it.
ANY IDEAS!?!?!?!
mrbigdrawsz said:
Can anybody tell me why I might be able to see folders when I go through a file explorer on my phone, but when I connect to it with my PC I don't see those folders?
Ex. I flashed a 4.2 ROM and it hosed my SDCard I believe. Lost ability to view files, backed up things to Titanium and didn't see anything when I did that but could see it when I looked through a file explorer on my phone.
Wiped my phone and set back to factory. Reflashed, transferred backedup files back to phone, same issue for some.
Did my appbackup using AppBackUp on my phone and changed the folder name, but that folder will not show when connected to my PC, but again when I look using a file explorer it shows just fine.
One other things I was getting was a "local folder" with the date 12/31/69 when viewing my SDCard on my PC. Nothing in it, but never showed before and had a windows drive logo next to it.
ANY IDEAS!?!?!?!
Click to expand...
Click to collapse
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
simms22 said:
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
Click to expand...
Click to collapse
I do read them and have. Finding the files that were moved wasn't the issue...it's new stuff I was installing or changes I made weren't showing. So basically when I looked at them through Solid Explorer they were there, but when I looked on my PC through USB connection they wouldn't show. BUT, I think I figured it out.
mrbigdrawsz said:
I do read them and have. Finding the files that were moved wasn't the issue...it's new stuff I was installing or changes I made weren't showing. So basically when I looked at them through Solid Explorer they were there, but when I looked on my PC through USB connection they wouldn't show. BUT, I think I figured it out.
Click to expand...
Click to collapse
as in root fs? those wouldnt show up through usb connection.
simms22 said:
look in /data/media/0
really, you should read the forums, you cant miss all the threads about fs changes in 4.2.
Click to expand...
Click to collapse
simms22 said:
as in root fs? those wouldnt show up through usb connection.
Click to expand...
Click to collapse
Naw, not root...just simply sdcard folders. But what I did was uninstall and reinstall the drivers for the Nexus and reboot both devices and it seems to be working fine now. Gotta do some other test to see, but if it's still acting funny I might be back. LOL
Thanks for the help.
mrbigdrawsz said:
Naw, not root...just simply sdcard folders. But what I did was uninstall and reinstall the drivers for the Nexus and reboot both devices and it seems to be working fine now. Gotta do some other test to see, but if it's still acting funny I might be back. LOL
Thanks for the help.
Click to expand...
Click to collapse
good luck

File move error or bug?

I installed Slim rom and it moved all of my previous sdcard files to a different location. I tried to use ES File Explorer to move all the data (2.85gb) to the new sdcard location. Once the process completed there's a message saying low storage space when I should have 3.25gb avail.
*
I checked the location where it was supposed to move the previous sdcard files to the new location and instead it created many duplicates of the current roms sdcard location (inception style) and repeated until there was no space left.
*
I found the previous sdcard location under mnt/shell/emulated/. I selected to move the emulated folder. I don't know if this "emulated" is some sort of special android folder that I'm not supposed to mess with or not and maybe that caused this issue.
*
But then, when I went to the folder where the previous files were located and browsed it, all of the files are listed as having a file size of 0.00 and clicking on properties for any folder shows 0 folder size. So I can see the files there but its as if they have been overwritten or made inaccessible. So I'm a bit pissed at this point because I can't find where the files were moved to and the old files seem to have no file size. Yet, after deleting the repeated copied info it only freed up the 3.25gb of space. So it's as if my old files are still taking up space somewhere but I can't get to them or open them.
*
Next, I decided to move those old files again and this time I placed them on my extsdcard. When I moved the files again they were completely viewable and accessible, from the extsdcard, even though they can't be accessed at my old location. I also used multiple root browsers and none could access the old files at the old location.
*
Any ideas what could have gone wrong?
AngelsNecropolis said:
I installed Slim rom and it moved all of my previous sdcard files to a different location. I tried to use ES File Explorer to move all the data (2.85gb) to the new sdcard location. Once the process completed there's a message saying low storage space when I should have 3.25gb avail.
*
I checked the location where it was supposed to move the previous sdcard files to the new location and instead it created many duplicates of the current roms sdcard location (inception style) and repeated until there was no space left.
*
I found the previous sdcard location under mnt/shell/emulated/. I selected to move the emulated folder. I don't know if this "emulated" is some sort of special android folder that I'm not supposed to mess with or not and maybe that caused this issue.
*
But then, when I went to the folder where the previous files were located and browsed it, all of the files are listed as having a file size of 0.00 and clicking on properties for any folder shows 0 folder size. So I can see the files there but its as if they have been overwritten or made inaccessible. So I'm a bit pissed at this point because I can't find where the files were moved to and the old files seem to have no file size. Yet, after deleting the repeated copied info it only freed up the 3.25gb of space. So it's as if my old files are still taking up space somewhere but I can't get to them or open them.
*
Next, I decided to move those old files again and this time I placed them on my extsdcard. When I moved the files again they were completely viewable and accessible, from the extsdcard, even though they can't be accessed at my old location. I also used multiple root browsers and none could access the old files at the old location.
*
Any ideas what could have gone wrong?
Click to expand...
Click to collapse
It appears you are running a recovery that is not supported by Android 4.2.
Since android 4.2 modified the directory layout to make way for multi user support, recoveries had to be updated to flash properly.
You will need to more than likely move your data files to your computer by hand, delete all of the extra and then reimplement your data to the appropriate folder.
Make sure you update your recovery as well so you don't see this on future 4.2 flashes.
When 4.2 first released this was a common issue with recoveries. Once you get your data and apps backed up appropriately, you may need to wipe your data/internal storage to free up the "used" space. I put used in quotes because it may appear its not taking any space at all when in all actuality it is.
Sent from my SGH-I747 using xda app-developers app
I'm using the latest TWRP 2.3.3.1 I think is the version. Is that not a compatible recovery?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
AngelsNecropolis said:
I'm using the latest TWRP 2.3.3.1 I think is the version. Is that not a compatible recovery?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Hmm... latest is 2.4.1.0 but 2.3.3.1 was definitely compatible... sounds like there's a different underlying issue out of my realm of expertise. We'll have to wait for someone else to come along. Sorry man =/
Sent from my SGH-I747 using xda app-developers app
I'll update my recovery anyways. I've fixed the problem by moving everything again but in smaller sections. I may take up your advice to connect to a pc and back up everything, format it, then move the files back though. I just don't want to duplicate the issue again. It was a huge inconvenience. Thanks for posting.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
AngelsNecropolis said:
I'll update my recovery anyways. I've fixed the problem by moving everything again but in smaller sections. I may take up your advice to connect to a pc and back up everything, format it, then move the files back though. I just don't want to duplicate the issue again. It was a huge inconvenience. Thanks for posting.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
no problem man, sorry I couldn't help more. good luck with it! may have just been a fluke bad flash.
Sent from my SGH-I747 using xda app-developers app

Categories

Resources