What I know is:

  • I can get .apk of installed application from /data/app
  • I can get data of installed application from /data/data

What I want is:

Add/pack this application-data into .apk so-that when I install application from .apk, application should be installed with data.

Is it possible? Then How can I...?

Note: I use rooted device with android 4.2.2

  • 2
    Any problem in using adb backup? It creates a .ab file containing both the apk and data files. All you've to is execute adb restore to restore both.
    – Firelord
    Commented Feb 2, 2016 at 12:04
  • 1
    That said: Please visit our backup tag-wiki for details :)
    – Izzy
    Commented Feb 2, 2016 at 12:15
  • 2
    The same way you add music to .jpg
    – SarpSTA
    Commented Feb 2, 2016 at 13:26
  • @SarpSTA: What does that mean? What are you implying? Please be precise.
    – Firelord
    Commented Feb 2, 2016 at 20:29


You must log in to answer this question.

Browse other questions tagged .