2

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 Feb 2 '16 at 12:04
  • 1
    That said: Please visit our backup tag-wiki for details :) – Izzy Feb 2 '16 at 12:15
  • 2
    The same way you add music to .jpg – SarpSTA Feb 2 '16 at 13:26
  • @SarpSTA: What does that mean? What are you implying? Please be precise. – Firelord Feb 2 '16 at 20:29

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.