Originally Posted by xdarkmario
i was wondering how to make a app install to the data partition that makes it a removable app if not wanted by user. Also some apps dont work correctly if installed to the system partition. i remember in ICS xperia play the directory was rom.zip-> data/app or in rom.zip-> /system/etc/product/applications/ but will any of these methods work on GB?
Put your apps in zip=>/data/app
and add to updater-script:
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
That should work on any rom ( gb,ics or jb)
You can name folders differently, but you must maintain path
zip=>/myapps/ -all your apk here-
line in updater script should be:
First name is name of the folder in zip (and it will extract all the subfolders too), second name where it is extracted (subfolders will be copied too)...