I have a LG4 and I have installed an app being developed internally. I am trying to view the data of this app but can't find it.

Do I have to root the phone to be able to view the data? I look in both internal storage and SD card but can't find the app.

Internal Storage/SD Card

I have no data directory in the root, only Android/Data and in there it's

  1. com.airbnb...
  2. com.android...
  3. com.google...
  4. com.lge...

Any help would be appreciated.


1 Answer 1


An app has private data and optionally public data. The private data goes inside a directory with name as the package name and located inside /data/data/ - an ordinary user/app cannot read that data. The public data may either go into internal SD card or external SD card, whichever is set as default and the app having permission to write it. /sdcard/Android/data is where often the public data goes. Some apps opt to create a dedicated folder under the root of default storage as well.

Now, how do you access the private data?

  • Since you noted that the app is in development, it may be possible that it is marked as debuggable1 (android:debuggable="true"). If that's the case, then setup in PC and execute the command:

    adb shell 
    run-as PACKAGE   # PACKAGE is the package name of your app

    Note: run-as would work only for debuggable apps.

    If successful, run-as would drop you into the data directory of your app where you can see whatever you intend to see.

    Follow this answer from marmor as an example.

  • If the app hasn't explicitly declared itself not to be backed up1 (android:allowBackup="false"), you can use adb to backup the app. To do so, execute the command:

    adb backup PACKAGE

    This will create a file named backup.ab in the working directory from where adb is called.

    In order to extract the data from the backup, follow an answer from here: How do you extract an App's data from a full backup made through "adb backup"?

  • Yes, if the first two methods fail, then the Android should be rooted. Once you've root, you can use a file explorer or even a terminal emulator app to read the desired data.

1 Unless there is an explicit app to tell you so, you would be required to read the manifest of the involved app in order to ascertain whether it is debuggable or disallows backup. Axel (XML Editor / Viewer) and App Browser can help you to read manifest.

  • Got there - thank you very much. Could one take apart the APK, build it, sign it, with the necessary backup/debuggable features enabled?
    – pee2pee
    Apr 23, 2016 at 15:53
  • @pee2pee : that is doable and quite a chunk of users do edit the manifest of apps for one reason or another. However, I've never edited the manifest of an app so I don't think I can offer any help in that regard. Moreover, if you intend to know about it, it would be nice if you ask it as a separate question.
    – Firelord
    Apr 23, 2016 at 15:58
  • pen-testing.sans.org/blog/pen-testing/2015/06/30/modifying-android-apps-a-sec575-hands-on-exercise-part-1
    – pee2pee
    Apr 23, 2016 at 17:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .