Page 1 of 5

Update.zip

PostPosted: February 16th, 2012, 12:51 am
by Mitre
found this on XDA http://forum.xda-developers.com/showthread.php?t=641223
can we alter this script to make a META-INF FOR AN update.zip with the nand blocks or clean 2,3
UPDATER SCRIPT FUN 2-3
Charlie have a look and tell me what you think you're pretty good with all this script voodoo

Re: Update.zip

PostPosted: February 16th, 2012, 9:35 am
by Charlie
Most likely Mitre, but I'm not 100% sure how to change it correctly, so I could end up with a brick.

Re: Update.zip

PostPosted: February 18th, 2012, 10:05 pm
by suggsy89
#
# Generated by dsixda's Android Kitchen
# xda-developers.com
#
show_progress 0.1 0
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink dumpstate SYSTEM:bin/dumpcrash
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 3003 02750 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 2000 06750 SYSTEM:bin/run-as
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
set_perm 0 0 0755 SYSTEM:etc/bluez
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm 0 0 06755 SYSTEM:bin/su
symlink /system/bin/su SYSTEM:xbin/su
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
show_progress 0.1 10
show_progress 0.2 0
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10

Re: Update.zip

PostPosted: February 18th, 2012, 10:26 pm
by Mitre
Hi suggsy89 is that the updater script?

Re: Update.zip

PostPosted: February 18th, 2012, 11:09 pm
by suggsy89
Edit.. Ignore

Re: Update.zip

PostPosted: February 18th, 2012, 11:15 pm
by suggsy89
BOOM!!! :)


#
# Generated by dsixda's Android Kitchen
# xda-developers.com
#
show_progress 0.1 0
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/lsof
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/uptime
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 3003 02750 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 2000 06750 SYSTEM:bin/run-as
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
set_perm 0 0 0755 SYSTEM:etc/bluez
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm 0 0 06755 SYSTEM:bin/su
symlink /system/bin/su SYSTEM:xbin/su
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
show_progress 0.1 10
show_progress 0.2 0
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10

Re: Update.zip

PostPosted: February 18th, 2012, 11:19 pm
by Charlie
@suggsy- we are trying to just make an update script for the Excel, for a firmware we have. Are you just trying the update.zip from Mitre's 1st post? Or you know how to make an update.zip? - Sorry just confused by your posts.

Re: Update.zip

PostPosted: February 18th, 2012, 11:30 pm
by suggsy89
Where is this firmware?
Im not sure i fully understand, i thought Mitre wanted an update.zip for the Excel as it isnt on the Storage Options website, you have all relivant files to create an update.zip but no updater-script?

Im confused

Re: Update.zip

PostPosted: February 18th, 2012, 11:50 pm
by Charlie
We have a CWM backup up that we want to make into an update.zip - for ease of use by other forum members, but just need help to write the update script.

Re: Update.zip

PostPosted: February 18th, 2012, 11:59 pm
by suggsy89
Edit....

Does this look right?

Found original_update/system.ext4.tar
Found original_update/boot.img

The new working folder will be named WORKING_021812_235551
Change the name (y/n)? (default: n):


Creating working folder WORKING_021812_235551 ...

Working folder information

Android OS version : 2.3.4
Device : crane-evb
Model : Scroll Excel
ROM Name : 97F1-D1-H1-H01-1291-20111122
Rooted (Superuser.apk + su) : NO
Rooted (unsecured boot.img) : YES
BusyBox installed : YES
BusyBox run-parts support : NO
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : YES
/system/app is deodexed : YES
radio.img found : NO
ROM will wipe all data : NO


Press Enter to continue