Watch This Now!

[Q] UPDATE.ZIP Problem

46 posts
Thanks Meter: 3
By SlamberGamer, Member on 2nd August 2014, 01:20 PM
Post Reply Subscribe to Thread Email Thread
Hi guyz. im currently trying to make for my android iptv / set top box. i have some issue i hope any of you guyz can help me with it

right now i have 1 method to actualy install apk using through stock recovery. it will install my apk directly to the "system/data". i dont want that because it will be deleted each time after the system update and i cant uninstall it.

if posible i would like to know how to edit this file so i can actualy install my apk to the data/app file.
i tried install gapss through this android but cant. i realize that this kind of

not working updater-script

run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
ui_print("| 80% Installing Applications |");
ui_print("Useless system app removal");
package_extract_dir("data", "/data");
set_perm(1000, 1000, 0644, "/data/app/[PACKAGE].apk");
set_perm_recursive(1000, 1000, 0777, 0777, "/data/data/PACKAGE_DATA_FOLDER");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");

-- any script that using sbin/busybox doest work with this device.

working updater-script

mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/system");
show_progress(1, 15);
ui_print("Copying files...");
package_extract_dir("system", "/system");
ui_print("Unmounting system...");

if posible i want to chage or add line that can copy my "data/app" folder to my device.

here is file of the working that i have tried.

p/s: this are very similar to proceses by this website
Attached Files
File Type: zip update - - [Click for QR Code] (165.8 KB, 0 views)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes