Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] System/app apk vs installed apk

$
0
0
Hi,

I am trying to build my own custom ROM(JellyBean) and observed that any apk that is placed in the /system/app(adb push somefile.apk /system/app) folder gets a corresponding .dex file in the /cache/dalvik-cache. But when I install this apk using "adb install some.apk", an entry in the /data/app folder gets added with the corresponding package name.

1) If an apk is pushed in the /system/app folder is it being cached for some performance benefit? Will there also be some part of this apk residing in the RAM after it is pushed?
2) Will this .dex file in the dalvik-cache folder ever get deleted?

3) Does installing an app(and not running it) still cause some memory to be occupied in the RAM/Cache? I have observed that installing around 120 apps on my device causes it to be less responsive.

I have tried to find a thread with these questions but not much luck. Any insights would be appreciated.

Thanks!!

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>