[Q] Database location - Galaxy S I9000 General

Hey ho peeps,
I have been putting together a simple app which uses a sqlite database. According to Google, app databases should be stored in /data/data/app_name/ but on my phone this directory is empty. Do I need to root my phone to access my database or are they stored elsewhere on the SGS?
Cheers!
BMF

Yep, you need to have superuser permissions.

Related

Apps installed where...?

Pardon me but I have been searching and searching for this small bit of info.
But where exactly are Market apps installed to on the G1? What directory are they in. I have an official R30 phone so I am locked out of browsing my folder structure.
wergeld
wergeld said:
Pardon me but I have been searching and searching for this small bit of info.
But where exactly are Market apps installed to on the G1? What directory are they in. I have an official R30 phone so I am locked out of browsing my folder structure.
wergeld
Click to expand...
Click to collapse
You can browse your locked RC30/RC8 phone with the stellar app "astro" from the marketplace, it has many features that you might come to appreciate. Using it you will see a directory with lots of numbers, those are the apps. (sorry not looking at it right now to give specific directions but it is easy to find.)
--M
hey demon,
you think astro is better than android file manager? before android manager was the best but now is astro better? any comparisons to pit one against the other. (P.S. I've been using android file manager)
hbguy
hbguy said:
hey demon,
you think astro is better than android file manager? before android manager was the best but now is astro better? any comparisons to pit one against the other. (P.S. I've been using android file manager)
hbguy
Click to expand...
Click to collapse
I like astro much more, the backup function in particular. Basically, astro covers all the parts I need and the interface/customizations are really well done.
--M
Apps are installed into /data/app and their data is stored in /data/data. The name of the apk is its Java package name. So for example, the name of the telephony application is com.android.phone, so the full path to the apk would be /data/app/com.android.phone.apk and the data would be stored in /data/data/com.android.phone/
i like astro much more, it used to be called 'bender' and at that time Android File Manager, now called Linda file manager or something(i think google's coming out with an 'android file manager' so they made them change the name) was much better
theres lot of improvements in Astro Particularly the App back up functionality, used to have to us terminal emulator. also, it has a shortcut utility that lets you make a shortcut to any file and put it on the desktop.
I was trying to use Astro to find locations of caches to redirect them to the SD card since reading through lists in the terminal emulator is a pain. However, when I open the /data folder, using Astro, it shows as empty. Are the contents of this folder somehow hidden? If so, is there any way I can unhide them to Astro? I can pull of a list in the terminal emulator, so I know they are here. Any thoughts are appreciated. Thanks.
Hello,
I have the same problem - the data-folder is empty?!
Where are the apps-folders please?
DevPhone ADP 1.1 holiday
yeticomes said:
Hello,
I have the same problem - the data-folder is empty?!
Where are the apps-folders please?
DevPhone ADP 1.1 holiday
Click to expand...
Click to collapse
Data directories have permision for her own app, so you must launch astro with root privileges or you wouldn't see nothing. (try in the terminal without root and you will see what happen if you are not root)
jcuadrado said:
Data directories have permision for her own app, so you must launch astro with root privileges or you wouldn't see nothing. (try in the terminal without root and you will see what happen if you are not root)
Click to expand...
Click to collapse
ok - please can you explain me how to start Astro with root privileges?
I have the DevPhone with ADP 1.1 holiday so I should have root?!
Thank you very much for your help!

[Q] How to access Phone Memmory!!

Can anyone please let me know, how to access the phone memory in Galaxy 3. There is My files folder in Applications which constitutes Memory Card. Do I need to root the phone to access phone memory?
vijay.gupta said:
Can anyone please let me know, how to access the phone memory in Galaxy 3. There is My files folder in Applications which constitutes Memory Card. Do I need to root the phone to access phone memory?
Click to expand...
Click to collapse
yeps...!! basically that's d definition of rooting..!! ha ha...
Thanks Fido for the reply. Why is the phone memory inaccessible in android phones for normal users? Is there any specific reason for this?
It doesn't happens in other platforms such as Symbian, Blackberry etc.
they do d ryt thing.. Coz, if u r a newbie.. U may mess wid ur system... So it s a way to protect system files frm newbies..
Sent from my GT-I5800 using Tapatalk
Just curious that if you have access to phone memory, what mess you can create?
You have access to phone memory freely in all the other platforms without rooting. Do you mean to say that the creators of those platforms are not doing right thing?
Android doesn't use the phone memory to save things, only for system stuff and installed apps. You cannot put music on your phone memory for example.
How to access your phone memory? You don't have to be rooted to view, only to change... You can just use bluetooth file manager or astro file manager to view (and copy). But you have to use another program to change things...
vijay.gupta said:
Just curious that if you have access to phone memory, what mess you can create?
Click to expand...
Click to collapse
If you can access it, any application you install and run can access it without any limitation. This is good, if you know what you are doing, but it can be very harmful if you are not careful.
Humpie said:
You can just use bluetooth file manager or astro file manager to view (and copy). But you have to use another program to change things...
Click to expand...
Click to collapse
There is no way you can access the phone memory without rooting. Rooting is "the program" that changes things.
Thanks all,
I have mtorrent insalled on my phone. when i go to the option to add torrent, it shows me the directories that are not visible when I go to My Files folder. I have not rooted my phone. Are these directories the phone memory directories?
How can I determine if they are directories for accessing phone memory?
Shall I give out the name for the few?
One thing more: I am not getting e-mail notifications only for this thread even though I am subscribed to this thread whereas I am getting for all others. What may be the problem for this?
vijay.gupta said:
I have mtorrent insalled on my phone. when i go to the option to add torrent, it shows me the directories that are not visible when I go to My Files folder. I have not rooted my phone. Are these directories the phone memory directories?
Click to expand...
Click to collapse
Which directories are those? On the memory card there are hidden files and folders whose name starts with a dot (.). The My Files app won't list these by default, but in the Settings menu you can enable it, and it is possible that in mtorrent this is the default setting.
The name of the directories are:
.info
cache
config
data
dev
efs
etc
lib
proc
res
sbin
sdcard - This is my SD Card folder that shows the contents of my memory card
sqlite_stmt_journals
sys
system
tmp
d
default.prop
fota.rc
init
init.apollo.rc
init.apollo.sh
init.rc
recovery.rc
system.prop
This is the root directory. Can you copy or create files here?
what do you mean by root directory? are you referring to this phone memory by this term...no, i can only access them...dont create or copy any file here..
vijay.gupta said:
what do you mean by root directory?
Click to expand...
Click to collapse
This is the root of the entire file system, without rooting you can't modify its contents (except the /mnt/sdcard folder and subfolders ofcourse).
So just confirming that without rooting the phone, one can access the phone memory but cannot modify its contents. Am i correct?
yes, that's correct
so, why i am able to access this directory (phone memory) only from some apps and not from all the apps?
Also, is there any other way that I can access (not modify anything) phone memory if my phone is not rooted?
Also, if anyone has rooted his phone, what may be the purpose that is solved? As far as I know, such users can install some apps that need root access for the phone?
I mean to say, what may be the reason for which the user may want modify permission to phone memory apart from installing apps that require root access?
Use astro , u can access ur phone memory even if unrooted (atleast see those foldres )
Thanks only4omkar. I am able to do that already using ttorrent app. But my query is different...can anyone please respond to that?
vijay.gupta said:
Can anyone please let me know, how to access the phone memory in Galaxy 3. There is My files folder in Applications which constitutes Memory Card. Do I need to root the phone to access phone memory?
Click to expand...
Click to collapse
Wen u install applicATIONS, it gets installed in teh internal memory by default

Missing folders in android/data...is something wrong with my phone?

I'm trying to access my Final Fantasy IV data folder to backup my save folder, but I can't seem to find the folder even though I already researched the specific directory. How do I access the "hidden" directory? I am using root access explorers set to show hidden files but that doesn't help.
Here is a link that shows the specific directory to backup the save file (read the second comment).

[Q] Two Questions About the Google Nexus 7 (2012/32GB/Only WLAN)

Hello! I've got two questions that i've not been able to find on the whole XDA-Forums!
My First Question:
1.Is there ANY way to restore lost data under the followwing conditions?
· Crappiest AndroidVersion: 4.4.2/Kot49H
· Locked Bootloader, No Root
·Ahh, damn! Forgot what! I hate forgetting something! <---this text will be replaced by the conditions by edit or quote...
2. Wuestions about the AndroidManifest.xml
>Where is the Location on the device? For Free+Padi+System Apps
>Is there a way to back up ALL Android Manifests? (Free+Paid+Sýs - Applicationets) - ?
>
I searched for „Manifest" on the „ES File Explorer" in the Rôôt-Directory. 0 Results. But „AndroidSysteemInfo was /is able to display REALLY ALL AndroidManifests for all free and system and even the paid apps!
Avoiding misunderstandings
Hannah Stern said:
2. Questions about the AndroidManifest.xml
>Where is the Location on the device? For Free+Paid+System Apps.
apps!
Click to expand...
Click to collapse
With the word „location" i mean the fldr (folder)path on the device.
In other words: Where can you find „AndroidManifest.XML" of a Free App on with ES File Explorer.
Where can you find „AndroidManifest.XML" of a Paid App on with ES File Explorer?
Where can you find „AndroidManifest.XML" of a System App with ES File Explorer?
I mean the File Path.
For Example: The Path of the Windoes-Explorer Application on Windows XP/Higher:
Usually the Operating System Does Being Stored on the C:\ Drive so=
C:\Windows\eXplorer.ExE
(I did edit this post. Before the EDIT the link wasn't working and looked like THIS: C:\Windows\eXplorer.ExE

Using su to copy a file

So I'm creating an app that needs to copy the database of another app locally so that I can view it. Unfortunately, once I copy it using cp, the file's user and owner group is set to root, which, I believe, is resulting in my program's crash when trying to open the database.
My question is, how can I copy the database without changing the user and owner groups? If this isn't possible how can I figure out the app's user and owner group so I can change it correspondingly.

Categories

Resources