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

[Q] update-script kitchen nexus 5

OP chimmychenga

18th August 2014, 09:45 PM   |  #1  
OP Senior Member
Flag Moon
Thanks Meter: 11
 
103 posts
Join Date:Joined: Dec 2013
More
hi,

i am making a rom based on PA trough kitchen. i picked the zip file and started editing after i followed the instructions on screen(kitchen). when i was finished modifying i built my rom. (also via kitchen).

i zipaligned, edified, signed and named the rom. after i did that i got the update zip of my rom. but when i flash it, it gives an error in CWM(status 0) wich means that something is wrong with the update-script.

from this point i'm stuck. i'm not that good in programming but i followed every step wich was given. so my question is what should i do with the update-script?

my script i below. srry for long post:p

greets, jamie

Quote:

less_than_int 1406597326 getprop ro.build.date.utc || abort Can't install this package Tue Jul 29 01:28:46 UTC 2014 over newer build + getprop ro.build.date + .
getprop ro.product.device == hammerhead || abort "This package is for \"hammerhead\" devices this is a \ + getprop ro.product.device + "\.
ui_print("================================");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print("________________________________");
ui_print(" Discovery ");
ui_print("________________________________");
ui_print(" launch ");
ui_print("________________________________");
ui_print(" succes ");
ui_print("________________________________");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
delete SYSTEM:addon.d/99-supersu.sh
package_extract_file system/bin/backuptool.sh TMP:backuptool.sh
package_extract_file system/bin/backuptool.functions TMP:backuptool.functions
set_perm 0 0 0777 TMP:backuptool.sh
set_perm 0 0 0644 TMP:backuptool.functions
run_program PACKAGE:tmp/backuptool.sh backup
show_progress 0.500000 0
format SYSTEM: "0 SYSTEM:
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0777 0777 SYSTEM:etc/init.d
symlink ../xbin/su SYSTEM:bin/su
symlink Roboto-Bold.ttf SYSTEM:fonts/DroidSans-Bold.ttf
symlink Roboto-Regular.ttf SYSTEM:fonts/DroidSans.ttf
symlink busybox SYSTEM:xbin/[
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/adjtimex
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/base64
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/bbconfig
symlink busybox SYSTEM:xbin/blkid
symlink busybox SYSTEM:xbin/blockdev
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/cat
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/chattr
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/chroot
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/comm
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/crond
symlink busybox SYSTEM:xbin/crontab
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/expand
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fbsplash
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/flash_lock
symlink busybox SYSTEM:xbin/flash_unlock
symlink busybox SYSTEM:xbin/flashcp
symlink busybox SYSTEM:xbin/flock
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/fstrim
symlink busybox SYSTEM:xbin/fsync
symlink busybox SYSTEM:xbin/ftpget
symlink busybox SYSTEM:xbin/ftpput
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/groups
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/halt
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/inetd
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/ionice
symlink busybox SYSTEM:xbin/iostat
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lsattr
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lsusb
symlink busybox SYSTEM:xbin/lzcat
symlink busybox SYSTEM:xbin/lzma
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/man
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/mesg
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/mke2fs
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkfs.ext2
symlink busybox SYSTEM:xbin/mkfs.vfat
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/modinfo
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mpstat
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/nanddump
symlink busybox SYSTEM:xbin/nandwrite
symlink busybox SYSTEM:xbin/nbd-client
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/ntpd
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pipe_progress
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/pmap
symlink busybox SYSTEM:xbin/poweroff
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/pstree
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/pwdx
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/resize
symlink busybox SYSTEM:xbin/rev
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/rx
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/setconsole
symlink busybox SYSTEM:xbin/setserial
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha3sum
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/sum
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/taskset
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/telnetd
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/tftpd
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/timeout
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/ttysize
symlink busybox SYSTEM:xbin/tune2fs
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/uncompress
symlink busybox SYSTEM:xbin/unexpand
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/unlzma
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unxz
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/xz
symlink busybox SYSTEM:xbin/xzcat
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/zcat
symlink libGLESv2.so SYSTEM:lib/libGLESv3.so
symlink mksh SYSTEM:bin/sh
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/chcon
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/clear
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/cp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/du
symlink toolbox SYSTEM:bin/getenforce
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/getsebool
symlink toolbox SYSTEM:bin/grep
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/load_policy
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/lsof
symlink toolbox SYSTEM:bin/md5
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mkswap
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/r
symlink toolbox SYSTEM:bin/readlink
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/restorecon
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/runcon
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setenforce
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/setsebool
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/swapoff
symlink toolbox SYSTEM:bin/swapon
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/touch
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_metadata_recursive SYSTEM: uid 0 gid 0 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:bin uid 0 gid 2000 dmode 0755 fmode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:bin/app_process uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:zygote_exec:s0
set_metadata SYSTEM:bin/clatd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:clatd_exec:s0
set_metadata SYSTEM:bin/debuggerd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:debuggerd_exec:s0
set_metadata SYSTEM:bin/dhcpcd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:dhcp_exec:s0
set_metadata SYSTEM:bin/dnsmasq uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:dnsmasq_exec:s0
set_metadata SYSTEM:bin/drmserver uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:drmserver_exec:s0
set_metadata SYSTEM:bin/hostapd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:hostapd_exec:s0
set_metadata SYSTEM:bin/installd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:installd_exec:s0
set_metadata SYSTEM:bin/keystore uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:keystore_exec:s0
set_metadata SYSTEM:bin/mediaserver uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:mediaserver_exec:s0
set_metadata SYSTEM:bin/mksh uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:shell_exec:s0
set_metadata SYSTEM:bin/mtpd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:mtp_exec:s0
set_metadata SYSTEM:bin/netcfg uid 0 gid 3003 mode 02750 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:bin/netd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:netd_exec:s0
set_metadata SYSTEM:bin/ping uid 0 gid 0 mode 0755 capabilities 0x0 selabel u:object_r:ping_exec:s0
set_metadata SYSTEM:bin/pppd uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:ppp_exec:s0
set_metadata SYSTEM:bin/racoon uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:racoon_exec:s0
set_metadata SYSTEM:bin/rild uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:rild_exec:s0
set_metadata SYSTEM:bin/run-as uid 0 gid 2000 mode 0750 capabilities 0xc0 selabel u:object_r:runas_exec:s0
set_metadata SYSTEM:bin/sdcard uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:sdcardd_exec:s0
set_metadata SYSTEM:bin/servicemanager uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:servicemanager_exec:s0
set_metadata SYSTEM:bin/surfaceflinger uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:surfaceflinger_exec:s0
set_metadata SYSTEM:bin/vold uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:vold_exec:s0
set_metadata SYSTEM:bin/wpa_supplicant uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:wpa_exec:s0
set_metadata_recursive SYSTEM:etc/dhcpcd uid 0 gid 0 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:dhcp_system_file:s0
set_metadata SYSTEM:etc/dhcpcd/dhcpcd-run-hooks uid 1014 gid 2000 mode 0550 capabilities 0x0 selabel u:object_r:dhcp_system_file:s0
set_metadata_recursive SYSTEM:etc/init.d uid 0 gid 2000 dmode 0755 fmode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:etc/init.d uid 0 gid 0 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:etc/ppp uid 0 gid 0 dmode 0755 fmode 0555 capabilities 0x0 selabel u:object_r:ppp_system_file:s0
set_metadata SYSTEM:vendor uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:vendor/bin uid 0 gid 2000 dmode 0755 fmode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:vendor/etc uid 0 gid 2000 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/etc/audio_effects.conf uid 0 gid 0 mode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/firmware uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/firmware/discretix uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/firmware/keymaster uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/lib uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:vendor/lib/drm uid 0 gid 2000 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/lib/drm/libdrmwvmplugin.so uid 0 gid 0 mode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/lib/egl uid 0 gid 2000 mode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:vendor/lib/hw uid 0 gid 2000 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/lib/hw/sensors.msm8974.so uid 0 gid 0 mode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:vendor/lib/mediadrm uid 0 gid 2000 dmode 0755 fmode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:vendor/lib/mediadrm/libwvdrmengine.so uid 0 gid 0 mode 0644 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata_recursive SYSTEM:xbin uid 0 gid 2000 dmode 0755 fmode 0755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:xbin/librank uid 0 gid 0 mode 06755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:xbin/procmem uid 0 gid 0 mode 06755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:xbin/procrank uid 0 gid 0 mode 06755 capabilities 0x0 selabel u:object_r:system_file:s0
set_metadata SYSTEM:xbin/su uid 0 gid 0 mode 06755 capabilities 0x0 selabel u:object_r:su_exec:s0
show_progress 0.200000 0
show_progress 0.200000 10
delete SYSTEM:addon.d/99-supersu.sh
package_extract_file system/bin/backuptool.sh TMP:backuptool.sh
package_extract_file system/bin/backuptool.functions TMP:backuptool.functions
set_perm 0 0 0777 TMP:backuptool.sh
set_perm 0 0 0644 TMP:backuptool.functions
run_program PACKAGE:tmp/backuptool.sh restore
delete SYSTEM:bin/backuptool.sh
delete SYSTEM:bin/backuptool.functions
show_progress 0.200000 10
package_extract_file PACKAGE:boot.img /dev/block/platform/msm_sdcc.1/by-name/boot
show_progress 0.100000 0
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print("________________________________");
ui_print(" Discovery ");
ui_print(" Reached ");
ui_print(" goal ");
ui_print("__________ succesful___________");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
write_raw_image PACKAGE:boot.img BOOT:

19th August 2014, 12:33 PM   |  #2  
wulsic's Avatar
Recognized Contributor
Flag Nijmegen
Thanks Meter: 1,392
 
1,310 posts
Join Date:Joined: Aug 2013
More
Well i think that you are using amend script instead of the new edify one so can you convert the script and set proper extract points so which partition is system and which one is boot. Also use other updater-scripts as a base to compare yours and add missing things. I hope this could help your problem.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes