Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Angry [Q] UPDATE.ZIP Problem

OP SlamberGamer

2nd August 2014, 02:20 PM   |  #1  
SlamberGamer's Avatar
OP Member
Thanks Meter: 2
 
39 posts
Join Date:Joined: Jul 2012
Hi guyz. im currently trying to make update.zip 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 update.zip 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 update.zip 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");
delete("/system/app/CMFileManager.apk");
delete("/system/app/CMWallpapers.apk");
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");
delete("/data/dalvik-cache/data@app@[PACKAGE].apk@classes.dex");
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...");
unmount("/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 update.zip that i have tried.

p/s: this update.zip are very similar to http://joeykrim.com/evo3d/custom/index.php? proceses by this website
Attached Files
File Type: zip update - backup.zip - [Click for QR Code] (165.8 KB, 0 views)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes