install app in data/app with updater script

Hi,
i can not install some apps in to data/app folder with updater-script.
What i tryed :
(app in data/app installation zip):

Code:
run_program("/sbin/busybox", "mount", "/data"); package_extract_dir("data", "/data"); set_perm(1000, 1000, 0771, "/data"); set_perm_recursive(1000, 1000, 0771, 0644, "/data/app"); set_perm_recursive(1000, 1000, 0771, 0644, "/data/data"); run_program("adb", "install", "-r", "added_files/data/app/com.lge.fmradio-1.apk"); run_program("/sbin/busybox", "umount", "/data");

(app in data/app installation zip):

Code:
run_program("/sbin/busybox", "mount", "/data"); package_extract_dir("data", "/data"); unmount("/data");

both scripts run without error and app in data/app folder but it's not installed.

When i install as normal app it's working. Also when install via cmd adb install -r com.lge.fmradio-1.apk it's also installins succesfully.
How to install with updater-script?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by gbeahan
2 hours ago
Last post by raheem33
1 hour ago
Last post by jast.kitty
19 minutes ago
Last post by hoeger.summer
2 hours ago
Last post by gcollier
56 minutes ago
Last post by vpredovic
1 hour ago
Last post by mara91
1 hour ago
Last post by makayla.wuckert
3 hours ago
Last post by roscoe79
28 minutes ago
Basic Phone
Started by hgibson
Last post by mmacejkovic
2 hours ago