[Q] File Management and Locations - G Tablet General

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

Related

dificulty locating themes

greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
for ease of use several people have create cabs out of their themes.. simply install the cab file. look for a thread created my mobile matt (username mchapman) it has several themes and mods in it.
one of the themes i've installed is a cab. however, it does not show up. that's what the problem is.
i guess the title of thread could be a little misleading. i'm not having trouble locating themes to install - tf3d config is having trouble finding them, after i do.
ETA - i searched for the thread you mentioned, but it says "mchapman" is an invalid username
ETA - i've found this instruction to be a little confusing. if somebody could PLEASE give me a little clarity on exactly what they are telling me to do:
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
thank you
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
injunwil said:
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
Click to expand...
Click to collapse
Means create a folder named Themes. no sub folder (or folder inside a folder).
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
Go to here for find themes, wallpapers, everything you need....please read and read some more before posting....
http://forum.xda-developers.com/showthread.php?t=470023
slawcop` said:
Means create a folder named Themes. no sub folder (or folder inside a folder).
Click to expand...
Click to collapse
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
injunwil said:
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
Click to expand...
Click to collapse
Maybe this will help. If you were to create this folder on your pc instead it would look like this:
C:\themes <- C:\ is your root directory.
so on your phone the folder should appear in the list with windows and program files and document and storage card. It should be \themes NOT something like \Program Files\themes

Question regaring TnT 2.0 installation Gtablet

Hey community, I have just picked up one of these tablets in the hopes that I can use it for some slick new ways of remote desktop and various other work/play related functions.
I've been reading the forums here for the G the past two straight days. I tried flashing my system to TnT 2.0 found on the forums by the one and only Roebeet, Alternate GTab Firmware - TnT Lite (stock based, adds the Marketplace), but I am having issues.
First off I'm wondering if when you say root do you mean inside the /sdcard folder? because that is where Windows 7 is defaulting me to when I mount the drive. This I feel is the cause of all my issues because I thought the update.zip and /recovery were supposed to be on root. Maybe I'm just confused and need some explanation.
If there is a thread I missed that explains all this for a newbie let me know.
Thanks XDA community!
grimsocks said:
Hey community, I have just picked up one of these tablets in the hopes that I can use it for some slick new ways of remote desktop and various other work/play related functions.
I've been reading the forums here for the G the past two straight days. I tried flashing my system to TnT 2.0 found on the forums by the one and only Roebeet, Alternate GTab Firmware - TnT Lite (stock based, adds the Marketplace), but I am having issues.
First off I'm wondering if when you say root do you mean inside the /sdcard folder? because that is where Windows 7 is defaulting me to when I mount the drive. This I feel is the cause of all my issues because I thought the update.zip and /recovery were supposed to be on root. Maybe I'm just confused and need some explanation.
If there is a thread I missed that explains all this for a newbie let me know.
Thanks XDA community!
Click to expand...
Click to collapse
yes the root is what pops up when you mount it to the computer, just copy and paste. root means do not put in another folder just on /sdcard
I'm a newb here, but live in an AIX environment, so I hope to help.
System root is /
The onboard storage (16gb) is mounted as /sdcard
The user micro slot is mounted as /sdcard2 (side note: hoping I can get the vold.fstab to mount sdcard2 under sdcard)
I believe from reading through the TnTLight thread, that you want to put the files under /sdcard, not system root.
Somebody will correct me in short order I am sure.
TeamSpeed said:
I'm a newb here, but live in an AIX environment, so I hope to help.
System root is /
The onboard storage (16gb) is mounted as /sdcard
The user micro slot is mounted as /sdcard2 (side note: hoping I can get the vold.fstab to mount sdcard2 under sdcard)
I believe from reading through the TnTLight thread, that you want to put the files under /sdcard, not system root.
Somebody will correct me in short order I am sure.
Click to expand...
Click to collapse
That's correct. Root is / but you want the upgrade files and folders in the /sdcard directory.
Ok thank you all for tha clarification. I am following the direction correctly then. I have placed the two files into the correct 'root' directory and when I hold down power and volume ^ it does start to run the flash, but then it simply shows me the ! in the triangle and restarts. When I go in to look for the files I put there they aren't there.
Should I try and just use Clockworkmod? Or maybe someone who isn't a programmer has made this work and has some more helpful hints. I am in this communities debt as I really want this to be a cool tool/toy for me but if I can't do what I need to I'll bring it back.
grimsocks said:
Ok thank you all for tha clarification. I am following the direction correctly then. I have placed the two files into the correct 'root' directory and when I hold down power and volume ^ it does start to run the flash, but then it simply shows me the ! in the triangle and restarts. When I go in to look for the files I put there they aren't there.
Should I try and just use Clockworkmod? Or maybe someone who isn't a programmer has made this work and has some more helpful hints. I am in this communities debt as I really want this to be a cool tool/toy for me but if I can't do what I need to I'll bring it back.
Click to expand...
Click to collapse
Did you unzip the file you downloaded from the link here? So that you have both an update.zip file and a recovery folder? Sometimes people just rename the downloaded file update.zip and put it on their sdcard, and then get the exclamation point. The download file needs to be extracted first, to give you an update.zip file and a recovery folder, which you then copy to /sdcard (which will look like the root directory when browsing in Windows).
Great question Jacindc, and yes I have extracted the 2 files update.zip and /recovery to the root of my tablet. I am trying to remove and set my G back to some factory base to try this process again. Let me ask you a question in return. Can i use the built in ES file explorer for this process or should I use Astro or does it not matter?
Also what are these files? DiskCacheIndex11214.tmp I have several of them in root and I'm not sure if they are from my mess ups or what.
Ok update, I've found a /mnt dir on the root and inside there are duplicate folders that exist on root such as /sdcard, /sdcard2, /asec, /secure and /usbdisk....I'm confused why there is this duplication. I guess I must confess I attempted to root the G using; http://forum.xda-developers.com/showthread.php?t=843376 but when I tried to then run Titanium backup it would say no root access and I didn't see the superuser app in the drawer like I did on my Moto droid when I rooted that.
Wondering if I should try a complete wipe and type using the vanilla loader found on the forums...another question, does Windows 7 recognize your device as an Nvidia Harmony?
Last edit/update for tonight me thinks...it would seem I've borked it pretty bad because I can't get the thing to copy any files over. It says I have in Windows, so I safely remove hardware, and then unmount and go look in the download dir or the root and nothing...so not sure what I did but lol I got this one I'll return it and get another to try again I guess.
How to install TNT Lite 2.0 or Cyamogen
Hi Everyone,
I just bought an Viewsonic G-Tablet with Android 2.2 and the latest update from the official site. I'm some kind of disappointed with the interface. From what I have read I can install other stuff on it with best and quicker interface.
I'm very familiar with PC & Mac's OS, but with the Android I feel like a dummy.
I would greatly appreciate if:
1-you tell me which one is better?
2-give me cleared & details instructions on how to do it.
Please do me this favor, because I feel like this tablet is a good tools and I wish to keep it.
Thanks in advance!
Most people are first installing CLOCKWORKSMOD RECOVERY and then putting TnT-Lite 2.X.X lately.

Theming the phone

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.

where is the ringtone file?

Hello guys. I am new to android coming from windows mobile. Where is the file or folder for the ringtones? With the windows mobile, I can navigate very easily and look for files. This one (android) seems to be hard to find.
thanks in advance.
I'm a newbie to Android to but I think they are here :-
/system/media/audio/ringtones
I'm sure someone will correct me if I'm wrong
Thanks but....how do I do that. Like I said, I'm new to the whole android scene. Can you tell me where to go on the phone. Thanks
You need to download a file explorer. I use ES File Explorer.
Also if you're looking to add your own ringtones/alarm sounds/notifications then add a new folder to the root of your microSD card & name it Ringtones/Alarms/Notifications & put the sound in the respective folder.
As for finding the ringtones that are currently on the device? I have no idea
Ah yes of course, as above you need to download a file explorer.
I personally use Astro, but check out the market and try a few and see what suits you best
Why they don't ship one install I don't understand, but I'm guessing its too stop people meddling under the hood too much as if anyone would eh
You also need S-OFF to change anything on the /system partition. As already said just create a folder on the SD card called media and stick your MP3s, etc. in there

zero byte files in /

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

Categories

Resources