2

Background:

I am using an app (developed by my network carrier); each month a bill is generated for my usage detail, it is a PDF file, which is only visible in app (no save, no export option). In app, there is a limitation of viewing only last three-month’s bill. I want to save generated bill to maintain history.

Scenario:

The OS of my device is android 9, non-rooted (and I do not want to root my device).

Analysis:

  • With some emulation, I figured-out that, app is saving these files (bills) in a (temporary) folder, which is located in /data/data/com.app.package/files/
  • I have also tried ADB commands e.g. run-as and adb backup but not achieve the task (application is not debugable and backup support is disabled on this app).
  • I also tried multi-droid app “Parallel Space” (as described in different tutorials e.g. How to View/Edit AppData on Android) but shockingly, app folder (among other apps) is not accessible (might be due to some security patches).

Question:

Is it possible to access / copy (protected) files generated by app in /data/data/com.app.package/files/?

  • 1
    All apps store their data in /data/data/. That's how Android's security model works. // Even if you are able to extract data (by rooting or other means), there are chances that the data would be encrypted/scrambled in some way, leaving it not meaningful to others (except the app itself). That's how apps secure sensitive data. – Irfan Latif Jul 29 at 12:08
  • @IrfanLatif as I mentioned, via emulation (Nox Android Emulator [Rooted]) on PC I have checked the data and that is as per my requirement (not encrypted). – Saad Bin Khalid Jul 29 at 15:49
  • 1
    Is the app limited to your device/the used mobile network? Because otherwise you could try to make it run in a rooted emulator on a PC, then access to the files wouldn't be a problem. – Robert Jul 29 at 16:06
  • @Robert that would be my first option to adopt if I don't HAVE to do my all stuff on mobile. – Saad Bin Khalid Jul 29 at 17:30
  • If you have access to a PC you may try to repackage the app using apktool and modify the app to allow backup. Additionally you could try to find the limitation to 3 bills (if the limitation is in the app, not in the server part). – Robert Jul 29 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.