Related
I get a syntax error when I try to flash with this update script. I just modified it to copy over data. What am I doing wrong?
Code:
assert compatible_with("0.2") == "true"
assert getprop("ro.product.device") == "heroc"
show_progress 0.1 0
show_progress 0.2 0
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/mkdosfs
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/cmp
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/kill
symlink busybox SYSTEM:xbin/zcip
symlink busybox SYSTEM:xbin/zcat
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/who
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/watchdog
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/volname
symlink busybox SYSTEM:xbin/vlock
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/vconfig
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unlzma
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unexpand
symlink busybox SYSTEM:xbin/uncompress
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/udpsvd
symlink busybox SYSTEM:xbin/udhcpd
symlink busybox SYSTEM:xbin/udhcpc
symlink busybox SYSTEM:xbin/tunctl
symlink busybox SYSTEM:xbin/ttysize
symlink busybox SYSTEM:xbin/tty
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/timeout
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/tftpd
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/telnetd
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/tcpsvd
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/syslogd
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/switch_root
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/svlogd
symlink busybox SYSTEM:xbin/sv
symlink busybox SYSTEM:xbin/sum
symlink busybox SYSTEM:xbin/sulogin
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/start-stop-daemon
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/softlimit
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/slattach
symlink busybox SYSTEM:xbin/showkey
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/setuidgid
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/setlogcons
symlink busybox SYSTEM:xbin/setkeycodes
symlink busybox SYSTEM:xbin/setfont
symlink busybox SYSTEM:xbin/setconsole
symlink busybox SYSTEM:xbin/setarch
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/sendmail
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/scriptreplay
symlink busybox SYSTEM:xbin/script
symlink busybox SYSTEM:xbin/rx
symlink busybox SYSTEM:xbin/runsvdir
symlink busybox SYSTEM:xbin/runsv
symlink busybox SYSTEM:xbin/runlevel
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/rtcwake
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/resize
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reformime
symlink busybox SYSTEM:xbin/reboot
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/readprofile
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/readahead
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/rdate
symlink busybox SYSTEM:xbin/raidautorun
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/pscan
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/poweroff
symlink busybox SYSTEM:xbin/popmaildir
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/pivot_root
symlink busybox SYSTEM:xbin/pipe_progress
symlink busybox SYSTEM:xbin/ping6
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/passwd
symlink busybox SYSTEM:xbin/openvt
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nmeter
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nc
symlink busybox SYSTEM:xbin/nameif
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/mt
symlink busybox SYSTEM:xbin/msh
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mkpasswd
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkfs.vfat
symlink busybox SYSTEM:xbin/mkfs.minix
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkdosfs
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/microcom
symlink busybox SYSTEM:xbin/mesg
symlink busybox SYSTEM:xbin/mdev
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/man
symlink busybox SYSTEM:xbin/makemime
symlink busybox SYSTEM:xbin/makedevs
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzmacat
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lsattr
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lpr
symlink busybox SYSTEM:xbin/lpq
symlink busybox SYSTEM:xbin/lpd
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/logread
symlink busybox SYSTEM:xbin/logname
symlink busybox SYSTEM:xbin/login
symlink busybox SYSTEM:xbin/logger
symlink busybox SYSTEM:xbin/loadkmap
symlink busybox SYSTEM:xbin/loadfont
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/linuxrc
symlink busybox SYSTEM:xbin/linux64
symlink busybox SYSTEM:xbin/linux32
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/length
symlink busybox SYSTEM:xbin/last
symlink busybox SYSTEM:xbin/klogd
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/kbd_mode
symlink busybox SYSTEM:xbin/iptunnel
symlink busybox SYSTEM:xbin/iprule
symlink busybox SYSTEM:xbin/iproute
symlink busybox SYSTEM:xbin/iplink
symlink busybox SYSTEM:xbin/ipcs
symlink busybox SYSTEM:xbin/ipcrm
symlink busybox SYSTEM:xbin/ipcalc
symlink busybox SYSTEM:xbin/ipaddr
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/ionice
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/init
symlink busybox SYSTEM:xbin/inetd
symlink busybox SYSTEM:xbin/ifup
symlink busybox SYSTEM:xbin/ifplugd
symlink busybox SYSTEM:xbin/ifenslave
symlink busybox SYSTEM:xbin/ifdown
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/hwclock
symlink busybox SYSTEM:xbin/hush
symlink busybox SYSTEM:xbin/httpd
symlink busybox SYSTEM:xbin/hostname
symlink busybox SYSTEM:xbin/hostid
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hdparm
symlink busybox SYSTEM:xbin/hd
symlink busybox SYSTEM:xbin/halt
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/getty
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/ftpput
symlink busybox SYSTEM:xbin/ftpget
symlink busybox SYSTEM:xbin/ftpd
symlink busybox SYSTEM:xbin/fsync
symlink busybox SYSTEM:xbin/fsck.minix
symlink busybox SYSTEM:xbin/fsck
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/findfs
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fdformat
symlink busybox SYSTEM:xbin/fdflush
symlink busybox SYSTEM:xbin/fbsplash
symlink busybox SYSTEM:xbin/fbset
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fakeidentd
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/expand
symlink busybox SYSTEM:xbin/ether-wake
symlink busybox SYSTEM:xbin/envuidgid
symlink busybox SYSTEM:xbin/envdir
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/eject
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/dumpleases
symlink busybox SYSTEM:xbin/dumpkmap
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/dnsdomainname
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dhcprelay
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/deluser
symlink busybox SYSTEM:xbin/delgroup
symlink busybox SYSTEM:xbin/deallocvt
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/cttyhack
symlink busybox SYSTEM:xbin/cryptpw
symlink busybox SYSTEM:xbin/crontab
symlink busybox SYSTEM:xbin/crond
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/comm
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cksum
symlink busybox SYSTEM:xbin/chvt
symlink busybox SYSTEM:xbin/chrt
symlink busybox SYSTEM:xbin/chroot
symlink busybox SYSTEM:xbin/chpst
symlink busybox SYSTEM:xbin/chpasswd
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chattr
symlink busybox SYSTEM:xbin/chat
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/cat
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/blkid
symlink busybox SYSTEM:xbin/beep
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/arping
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ar
symlink busybox SYSTEM:xbin/adjtimex
symlink busybox SYSTEM:xbin/adduser
symlink busybox SYSTEM:xbin/addgroup
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/[
delete DATA:app
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
copy_dir PACKAGE:data DATA:
set_perm 1000 1000 0771 DATA:app
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 0 04755 SYSTEM:bin/su
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_recursive 0 0 0755 0555 SYSTEM:etc/ppp
show_progress 0.1 0
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.1 0
show_progress 0.2 0
format CACHE:
show_progress 0.1 10
# work around browser cookie bug
delete DATA:data/com.android.browser/databases/webview.db
thematrixkid17 said:
I get a syntax error when I try to flash with this update script. I just modified it to copy over data. What am I doing wrong?
Code:
assert compatible_with("0.2") == "true"
assert getprop("ro.product.device") == "heroc"
show_progress 0.1 0
show_progress 0.2 0
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/mkdosfs
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/cmp
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/kill
symlink busybox SYSTEM:xbin/zcip
symlink busybox SYSTEM:xbin/zcat
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/who
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/watchdog
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/volname
symlink busybox SYSTEM:xbin/vlock
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/vconfig
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unlzma
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unexpand
symlink busybox SYSTEM:xbin/uncompress
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/udpsvd
symlink busybox SYSTEM:xbin/udhcpd
symlink busybox SYSTEM:xbin/udhcpc
symlink busybox SYSTEM:xbin/tunctl
symlink busybox SYSTEM:xbin/ttysize
symlink busybox SYSTEM:xbin/tty
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/timeout
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/tftpd
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/telnetd
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/tcpsvd
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/syslogd
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/switch_root
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/svlogd
symlink busybox SYSTEM:xbin/sv
symlink busybox SYSTEM:xbin/sum
symlink busybox SYSTEM:xbin/sulogin
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/start-stop-daemon
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/softlimit
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/slattach
symlink busybox SYSTEM:xbin/showkey
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/setuidgid
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/setlogcons
symlink busybox SYSTEM:xbin/setkeycodes
symlink busybox SYSTEM:xbin/setfont
symlink busybox SYSTEM:xbin/setconsole
symlink busybox SYSTEM:xbin/setarch
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/sendmail
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/scriptreplay
symlink busybox SYSTEM:xbin/script
symlink busybox SYSTEM:xbin/rx
symlink busybox SYSTEM:xbin/runsvdir
symlink busybox SYSTEM:xbin/runsv
symlink busybox SYSTEM:xbin/runlevel
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/rtcwake
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/resize
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reformime
symlink busybox SYSTEM:xbin/reboot
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/readprofile
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/readahead
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/rdate
symlink busybox SYSTEM:xbin/raidautorun
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/pscan
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/poweroff
symlink busybox SYSTEM:xbin/popmaildir
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/pivot_root
symlink busybox SYSTEM:xbin/pipe_progress
symlink busybox SYSTEM:xbin/ping6
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/passwd
symlink busybox SYSTEM:xbin/openvt
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nmeter
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nc
symlink busybox SYSTEM:xbin/nameif
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/mt
symlink busybox SYSTEM:xbin/msh
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mkpasswd
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkfs.vfat
symlink busybox SYSTEM:xbin/mkfs.minix
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkdosfs
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/microcom
symlink busybox SYSTEM:xbin/mesg
symlink busybox SYSTEM:xbin/mdev
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/man
symlink busybox SYSTEM:xbin/makemime
symlink busybox SYSTEM:xbin/makedevs
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzmacat
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lsattr
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lpr
symlink busybox SYSTEM:xbin/lpq
symlink busybox SYSTEM:xbin/lpd
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/logread
symlink busybox SYSTEM:xbin/logname
symlink busybox SYSTEM:xbin/login
symlink busybox SYSTEM:xbin/logger
symlink busybox SYSTEM:xbin/loadkmap
symlink busybox SYSTEM:xbin/loadfont
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/linuxrc
symlink busybox SYSTEM:xbin/linux64
symlink busybox SYSTEM:xbin/linux32
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/length
symlink busybox SYSTEM:xbin/last
symlink busybox SYSTEM:xbin/klogd
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/kbd_mode
symlink busybox SYSTEM:xbin/iptunnel
symlink busybox SYSTEM:xbin/iprule
symlink busybox SYSTEM:xbin/iproute
symlink busybox SYSTEM:xbin/iplink
symlink busybox SYSTEM:xbin/ipcs
symlink busybox SYSTEM:xbin/ipcrm
symlink busybox SYSTEM:xbin/ipcalc
symlink busybox SYSTEM:xbin/ipaddr
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/ionice
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/init
symlink busybox SYSTEM:xbin/inetd
symlink busybox SYSTEM:xbin/ifup
symlink busybox SYSTEM:xbin/ifplugd
symlink busybox SYSTEM:xbin/ifenslave
symlink busybox SYSTEM:xbin/ifdown
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/hwclock
symlink busybox SYSTEM:xbin/hush
symlink busybox SYSTEM:xbin/httpd
symlink busybox SYSTEM:xbin/hostname
symlink busybox SYSTEM:xbin/hostid
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hdparm
symlink busybox SYSTEM:xbin/hd
symlink busybox SYSTEM:xbin/halt
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/getty
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/ftpput
symlink busybox SYSTEM:xbin/ftpget
symlink busybox SYSTEM:xbin/ftpd
symlink busybox SYSTEM:xbin/fsync
symlink busybox SYSTEM:xbin/fsck.minix
symlink busybox SYSTEM:xbin/fsck
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/findfs
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fdformat
symlink busybox SYSTEM:xbin/fdflush
symlink busybox SYSTEM:xbin/fbsplash
symlink busybox SYSTEM:xbin/fbset
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fakeidentd
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/expand
symlink busybox SYSTEM:xbin/ether-wake
symlink busybox SYSTEM:xbin/envuidgid
symlink busybox SYSTEM:xbin/envdir
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/eject
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/dumpleases
symlink busybox SYSTEM:xbin/dumpkmap
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/dnsdomainname
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dhcprelay
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/deluser
symlink busybox SYSTEM:xbin/delgroup
symlink busybox SYSTEM:xbin/deallocvt
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/cttyhack
symlink busybox SYSTEM:xbin/cryptpw
symlink busybox SYSTEM:xbin/crontab
symlink busybox SYSTEM:xbin/crond
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/comm
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cksum
symlink busybox SYSTEM:xbin/chvt
symlink busybox SYSTEM:xbin/chrt
symlink busybox SYSTEM:xbin/chroot
symlink busybox SYSTEM:xbin/chpst
symlink busybox SYSTEM:xbin/chpasswd
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chattr
symlink busybox SYSTEM:xbin/chat
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/cat
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/blkid
symlink busybox SYSTEM:xbin/beep
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/arping
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ar
symlink busybox SYSTEM:xbin/adjtimex
symlink busybox SYSTEM:xbin/adduser
symlink busybox SYSTEM:xbin/addgroup
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/[
delete DATA:app
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
copy_dir PACKAGE:data DATA:
set_perm 1000 1000 0771 DATA:app
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 0 04755 SYSTEM:bin/su
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_recursive 0 0 0755 0555 SYSTEM:etc/ppp
show_progress 0.1 0
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.1 0
show_progress 0.2 0
format CACHE:
show_progress 0.1 10
# work around browser cookie bug
delete DATA:data/com.android.browser/databases/webview.db
Click to expand...
Click to collapse
Was there an error on line ___??
need to know more.
Install from sdcard...
Finding update pachage...
Opening update package...
Verifying update package...
Installing update...
E:Syntax error in update script
Installation aborted.
thematrixkid17 said:
Install from sdcard...
Finding update pachage...
Opening update package...
Verifying update package...
Installing update...
E:Syntax error in update script
Installation aborted.
Click to expand...
Click to collapse
Put 2+ blank lines at the end.
try this:
Code:
assert compatible_with("0.2") == "true"
assert getprop("ro.product.device") == "heroc"
show_progress 0.1 0
show_progress 0.2 0
format SYSTEM:
delete DATA:app
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
copy_dir PACKAGE:data DATA:
set_perm 1000 1000 0771 DATA:app
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/mkdosfs
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/cmp
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/kill
symlink busybox SYSTEM:xbin/zcip
symlink busybox SYSTEM:xbin/zcat
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/who
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/watchdog
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/volname
symlink busybox SYSTEM:xbin/vlock
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/vconfig
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unlzma
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unexpand
symlink busybox SYSTEM:xbin/uncompress
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/udpsvd
symlink busybox SYSTEM:xbin/udhcpd
symlink busybox SYSTEM:xbin/udhcpc
symlink busybox SYSTEM:xbin/tunctl
symlink busybox SYSTEM:xbin/ttysize
symlink busybox SYSTEM:xbin/tty
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/timeout
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/tftpd
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/telnetd
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/tcpsvd
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/syslogd
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/switch_root
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/svlogd
symlink busybox SYSTEM:xbin/sv
symlink busybox SYSTEM:xbin/sum
symlink busybox SYSTEM:xbin/sulogin
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/start-stop-daemon
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/softlimit
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/slattach
symlink busybox SYSTEM:xbin/showkey
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/setuidgid
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/setlogcons
symlink busybox SYSTEM:xbin/setkeycodes
symlink busybox SYSTEM:xbin/setfont
symlink busybox SYSTEM:xbin/setconsole
symlink busybox SYSTEM:xbin/setarch
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/sendmail
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/scriptreplay
symlink busybox SYSTEM:xbin/script
symlink busybox SYSTEM:xbin/rx
symlink busybox SYSTEM:xbin/runsvdir
symlink busybox SYSTEM:xbin/runsv
symlink busybox SYSTEM:xbin/runlevel
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/rtcwake
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/resize
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reformime
symlink busybox SYSTEM:xbin/reboot
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/readprofile
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/readahead
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/rdate
symlink busybox SYSTEM:xbin/raidautorun
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/pscan
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/poweroff
symlink busybox SYSTEM:xbin/popmaildir
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/pivot_root
symlink busybox SYSTEM:xbin/pipe_progress
symlink busybox SYSTEM:xbin/ping6
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/passwd
symlink busybox SYSTEM:xbin/openvt
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nmeter
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nc
symlink busybox SYSTEM:xbin/nameif
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/mt
symlink busybox SYSTEM:xbin/msh
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mkpasswd
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkfs.vfat
symlink busybox SYSTEM:xbin/mkfs.minix
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkdosfs
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/microcom
symlink busybox SYSTEM:xbin/mesg
symlink busybox SYSTEM:xbin/mdev
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/man
symlink busybox SYSTEM:xbin/makemime
symlink busybox SYSTEM:xbin/makedevs
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzmacat
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lsattr
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lpr
symlink busybox SYSTEM:xbin/lpq
symlink busybox SYSTEM:xbin/lpd
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/logread
symlink busybox SYSTEM:xbin/logname
symlink busybox SYSTEM:xbin/login
symlink busybox SYSTEM:xbin/logger
symlink busybox SYSTEM:xbin/loadkmap
symlink busybox SYSTEM:xbin/loadfont
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/linuxrc
symlink busybox SYSTEM:xbin/linux64
symlink busybox SYSTEM:xbin/linux32
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/length
symlink busybox SYSTEM:xbin/last
symlink busybox SYSTEM:xbin/klogd
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/kbd_mode
symlink busybox SYSTEM:xbin/iptunnel
symlink busybox SYSTEM:xbin/iprule
symlink busybox SYSTEM:xbin/iproute
symlink busybox SYSTEM:xbin/iplink
symlink busybox SYSTEM:xbin/ipcs
symlink busybox SYSTEM:xbin/ipcrm
symlink busybox SYSTEM:xbin/ipcalc
symlink busybox SYSTEM:xbin/ipaddr
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/ionice
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/init
symlink busybox SYSTEM:xbin/inetd
symlink busybox SYSTEM:xbin/ifup
symlink busybox SYSTEM:xbin/ifplugd
symlink busybox SYSTEM:xbin/ifenslave
symlink busybox SYSTEM:xbin/ifdown
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/hwclock
symlink busybox SYSTEM:xbin/hush
symlink busybox SYSTEM:xbin/httpd
symlink busybox SYSTEM:xbin/hostname
symlink busybox SYSTEM:xbin/hostid
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hdparm
symlink busybox SYSTEM:xbin/hd
symlink busybox SYSTEM:xbin/halt
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/getty
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/ftpput
symlink busybox SYSTEM:xbin/ftpget
symlink busybox SYSTEM:xbin/ftpd
symlink busybox SYSTEM:xbin/fsync
symlink busybox SYSTEM:xbin/fsck.minix
symlink busybox SYSTEM:xbin/fsck
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/findfs
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fdformat
symlink busybox SYSTEM:xbin/fdflush
symlink busybox SYSTEM:xbin/fbsplash
symlink busybox SYSTEM:xbin/fbset
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fakeidentd
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/expand
symlink busybox SYSTEM:xbin/ether-wake
symlink busybox SYSTEM:xbin/envuidgid
symlink busybox SYSTEM:xbin/envdir
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/eject
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/dumpleases
symlink busybox SYSTEM:xbin/dumpkmap
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/dnsdomainname
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dhcprelay
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/deluser
symlink busybox SYSTEM:xbin/delgroup
symlink busybox SYSTEM:xbin/deallocvt
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/cttyhack
symlink busybox SYSTEM:xbin/cryptpw
symlink busybox SYSTEM:xbin/crontab
symlink busybox SYSTEM:xbin/crond
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/comm
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cksum
symlink busybox SYSTEM:xbin/chvt
symlink busybox SYSTEM:xbin/chrt
symlink busybox SYSTEM:xbin/chroot
symlink busybox SYSTEM:xbin/chpst
symlink busybox SYSTEM:xbin/chpasswd
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chattr
symlink busybox SYSTEM:xbin/chat
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/cat
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/blkid
symlink busybox SYSTEM:xbin/beep
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/arping
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ar
symlink busybox SYSTEM:xbin/adjtimex
symlink busybox SYSTEM:xbin/adduser
symlink busybox SYSTEM:xbin/addgroup
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/[
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 0 04755 SYSTEM:bin/su
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_recursive 0 0 0755 0555 SYSTEM:etc/ppp
show_progress 0.1 0
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.1 0
show_progress 0.2 0
format CACHE:
show_progress 0.1 10
# work around browser cookie bug
delete DATA:data/com.android.browser/databases/webview.db
and what Flipz said, with the 2+ blank lines at the bottom
flipzmode said:
Put 2+ blank lines at the end.
Click to expand...
Click to collapse
4 blank lines at the end gave the same result
regaw_leinad said:
try this:
Code:
assert compatible_with("0.2") == "true"
assert getprop("ro.product.device") == "heroc"
show_progress 0.1 0
show_progress 0.2 0
format SYSTEM:
delete DATA:app
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
delete DATA:init.sh
delete DATA:local
delete DATA:dalvik-cache
copy_dir PACKAGE:data DATA:
set_perm 1000 1000 0771 DATA:app
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/mkdosfs
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/cmp
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/kill
symlink busybox SYSTEM:xbin/zcip
symlink busybox SYSTEM:xbin/zcat
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/who
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/watchdog
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/volname
symlink busybox SYSTEM:xbin/vlock
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/vconfig
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unlzma
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unexpand
symlink busybox SYSTEM:xbin/uncompress
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/udpsvd
symlink busybox SYSTEM:xbin/udhcpd
symlink busybox SYSTEM:xbin/udhcpc
symlink busybox SYSTEM:xbin/tunctl
symlink busybox SYSTEM:xbin/ttysize
symlink busybox SYSTEM:xbin/tty
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/timeout
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/tftpd
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/telnetd
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/tcpsvd
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/syslogd
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/switch_root
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/svlogd
symlink busybox SYSTEM:xbin/sv
symlink busybox SYSTEM:xbin/sum
symlink busybox SYSTEM:xbin/sulogin
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/start-stop-daemon
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/softlimit
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/slattach
symlink busybox SYSTEM:xbin/showkey
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/setuidgid
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/setlogcons
symlink busybox SYSTEM:xbin/setkeycodes
symlink busybox SYSTEM:xbin/setfont
symlink busybox SYSTEM:xbin/setconsole
symlink busybox SYSTEM:xbin/setarch
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/sendmail
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/scriptreplay
symlink busybox SYSTEM:xbin/script
symlink busybox SYSTEM:xbin/rx
symlink busybox SYSTEM:xbin/runsvdir
symlink busybox SYSTEM:xbin/runsv
symlink busybox SYSTEM:xbin/runlevel
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/rtcwake
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/resize
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reformime
symlink busybox SYSTEM:xbin/reboot
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/readprofile
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/readahead
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/rdate
symlink busybox SYSTEM:xbin/raidautorun
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/pscan
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/poweroff
symlink busybox SYSTEM:xbin/popmaildir
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/pivot_root
symlink busybox SYSTEM:xbin/pipe_progress
symlink busybox SYSTEM:xbin/ping6
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/passwd
symlink busybox SYSTEM:xbin/openvt
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nmeter
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nc
symlink busybox SYSTEM:xbin/nameif
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/mt
symlink busybox SYSTEM:xbin/msh
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mkpasswd
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkfs.vfat
symlink busybox SYSTEM:xbin/mkfs.minix
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkdosfs
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/microcom
symlink busybox SYSTEM:xbin/mesg
symlink busybox SYSTEM:xbin/mdev
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/man
symlink busybox SYSTEM:xbin/makemime
symlink busybox SYSTEM:xbin/makedevs
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzmacat
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lsattr
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lpr
symlink busybox SYSTEM:xbin/lpq
symlink busybox SYSTEM:xbin/lpd
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/logread
symlink busybox SYSTEM:xbin/logname
symlink busybox SYSTEM:xbin/login
symlink busybox SYSTEM:xbin/logger
symlink busybox SYSTEM:xbin/loadkmap
symlink busybox SYSTEM:xbin/loadfont
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/linuxrc
symlink busybox SYSTEM:xbin/linux64
symlink busybox SYSTEM:xbin/linux32
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/length
symlink busybox SYSTEM:xbin/last
symlink busybox SYSTEM:xbin/klogd
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/kbd_mode
symlink busybox SYSTEM:xbin/iptunnel
symlink busybox SYSTEM:xbin/iprule
symlink busybox SYSTEM:xbin/iproute
symlink busybox SYSTEM:xbin/iplink
symlink busybox SYSTEM:xbin/ipcs
symlink busybox SYSTEM:xbin/ipcrm
symlink busybox SYSTEM:xbin/ipcalc
symlink busybox SYSTEM:xbin/ipaddr
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/ionice
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/init
symlink busybox SYSTEM:xbin/inetd
symlink busybox SYSTEM:xbin/ifup
symlink busybox SYSTEM:xbin/ifplugd
symlink busybox SYSTEM:xbin/ifenslave
symlink busybox SYSTEM:xbin/ifdown
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/hwclock
symlink busybox SYSTEM:xbin/hush
symlink busybox SYSTEM:xbin/httpd
symlink busybox SYSTEM:xbin/hostname
symlink busybox SYSTEM:xbin/hostid
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hdparm
symlink busybox SYSTEM:xbin/hd
symlink busybox SYSTEM:xbin/halt
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/getty
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/ftpput
symlink busybox SYSTEM:xbin/ftpget
symlink busybox SYSTEM:xbin/ftpd
symlink busybox SYSTEM:xbin/fsync
symlink busybox SYSTEM:xbin/fsck.minix
symlink busybox SYSTEM:xbin/fsck
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/findfs
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fdformat
symlink busybox SYSTEM:xbin/fdflush
symlink busybox SYSTEM:xbin/fbsplash
symlink busybox SYSTEM:xbin/fbset
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fakeidentd
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/expand
symlink busybox SYSTEM:xbin/ether-wake
symlink busybox SYSTEM:xbin/envuidgid
symlink busybox SYSTEM:xbin/envdir
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/eject
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/dumpleases
symlink busybox SYSTEM:xbin/dumpkmap
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/dnsdomainname
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dhcprelay
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/deluser
symlink busybox SYSTEM:xbin/delgroup
symlink busybox SYSTEM:xbin/deallocvt
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/cttyhack
symlink busybox SYSTEM:xbin/cryptpw
symlink busybox SYSTEM:xbin/crontab
symlink busybox SYSTEM:xbin/crond
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/comm
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cksum
symlink busybox SYSTEM:xbin/chvt
symlink busybox SYSTEM:xbin/chrt
symlink busybox SYSTEM:xbin/chroot
symlink busybox SYSTEM:xbin/chpst
symlink busybox SYSTEM:xbin/chpasswd
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chattr
symlink busybox SYSTEM:xbin/chat
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/cat
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/blkid
symlink busybox SYSTEM:xbin/beep
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/arping
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ar
symlink busybox SYSTEM:xbin/adjtimex
symlink busybox SYSTEM:xbin/adduser
symlink busybox SYSTEM:xbin/addgroup
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/[
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 0 04755 SYSTEM:bin/su
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_recursive 0 0 0755 0555 SYSTEM:etc/ppp
show_progress 0.1 0
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.1 0
show_progress 0.2 0
format CACHE:
show_progress 0.1 10
# work around browser cookie bug
delete DATA:data/com.android.browser/databases/webview.db
and what Flipz said, with the 2+ blank lines at the bottom
Click to expand...
Click to collapse
and this didn't work either....
I'm doing this in windows with notepad++ ... could the file encoding be buggered up?
thematrixkid17 said:
and this didn't work either....
I'm doing this in windows with notepad++ ... could the file encoding be buggered up?
Click to expand...
Click to collapse
I'm using notepad ++ too
This is almost exactly like mine in my rom (along with everyone else)
I'll take a deeper look into it...
I must be screwing something else up
(Edit: I just reflashed again, but this time with 100 blank lines at the bottom, still didn't work)
Ok, something must be wrong on user end, because I just flashed a rom with your script EXACTLY plus one line to copy to the sdcard. So I have no idea now...
uh oh. I just wiped and tried to flash fresh 1.1
it didn't work either.
thematrixkid17 said:
uh oh. I just wiped and tried to flash fresh 1.1
it didn't work either.
Click to expand...
Click to collapse
reboot fully and reboot to recovery again... i think that happened to me once too.
regaw_leinad said:
reboot fully and reboot to recovery again... i think that happened to me once too.
Click to expand...
Click to collapse
I nandroid restored, rebooted twice, wiped, and then flashed successfully.
Thank you very much!
thematrixkid17 said:
I nandroid restored, rebooted twice, wiped, and then flashed successfully.
Thank you very much!
Click to expand...
Click to collapse
Cool
Glad you got it fixed
Hi All,
So here's the thing.. I've started to dabble in creating my own ROM, and I've hit a roadblock. I've started out with the basics, took JS7 from Samfirmware.com, replaced Zimage with a Hardcore Kernel, Zipaligned and de-odexed it, changed boot animation and shutdown animation, and created an update.zip. That's all. When I try to flash through CWM Recovery, (I did factory reset, dalvik, cache partion) I get an error:
E: Can't symlink /system/bin/cat
E: Failure at line 7:
symlink toolbox SYSTEM:bin/cat
Installation aborted.
I've messed around with the Galaxy for quite a while, but when am fairly new to the creation process.....Any and all help would be greatly appreciated, as when I get the hang of the basics of this I have big plans for an awesome ROM!
Thanks in advance,
Marky
what does line 7 says in updater-script? can you post the script?
deconfrost said:
what does line 7 says in updater-script? can you post the script?
Click to expand...
Click to collapse
Hey thanks for responding...so it is a problem with the updater-script? Forgive my ignorance...like i said im new to the cooking thing...where is it located in the rom?
Sent from my GT-I9000 using Tapatalk
Nevermind found it will post in a sec
Sent from my GT-I9000 using Tapatalk
show_progress 0.1 0
format SYSTEM:
delete DATA:local
delete_recursive SYSTEM:
delete_recursive DATA:dalvik-cache
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/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/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
show_progress 0.1 10
show_progress 0.2 0
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 0 0755 0755 SYSTEM:etc
set_perm 0 3003 02755 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth
set_perm 0 0 0755 SYSTEM:etc/bluetooth
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_recursive 0 0 0777 0777 SYSTEM:etc/init.d
set_perm 0 0 04755 SYSTEM:xbin/su
set_perm 0 0 04755 SYSTEM:xbin/busybox
show_progress 0.2 10
show_progress 0.3 0
symlink /system/xbin/su SYSTEM:bin/su
run_program PACKAGE:root
show_progress 0.3 10
show_progress 0.4 0
format CACHE:
copy_dir PACKAGE:data DATA:
set_perm 2000 2000 0771 DATA:local
set_perm 1000 1000 0771 DATA:app
copy_dir PACKAGE:sdcard SDCARD:
copy_dir PACKAGE:updates TMP:/updates
set_perm 0 0 755 TMP:/updates/redbend_ua
run_program /tmp/updates/redbend_ua restore /tmp/updates/modem.bin /dev/block/bml12
run_program /tmp/updates/redbend_ua restore /tmp/updates/zImage /dev/block/bml7
show_progress 0.4 10
have you try doing a nandroid backup, format system, wipe the rest, then flash?
If you have that error when the updater tries to create that symlink, that means most of the time that a /system/bin/cat file already exists.
Thanks, I will look into that....appreciate you taking the time to try to help
Does that mean each symlink command creates the file it describes in System/bin?
I would hope so
Ok, so I tried what you said, formatted system, wiped, still getting the same error at the /cat file...btw doesn't the line in the script that says "delete_recursive SYSTEM:" do that? when I apply the zip it says formatting system...
THX
markywylder said:
Hi All,
Zipaligned and de-odexed it, changed boot animation and shutdown animation, and created an update.zip.
Click to expand...
Click to collapse
Sorry, how do you make zipalign and odex? And how do you create update.zip?
Sent from my GT-I9000 using Tapatalk
markywylder said:
Ok, so I tried what you said, formatted system, wiped, still getting the same error at the /cat file...btw doesn't the line in the script that says "delete_recursive SYSTEM:" do that? when I apply the zip it says formatting system...
THX
Click to expand...
Click to collapse
that's strange, may need someone more experience than I on your case, Im not that experienced. I did created a working update.zip but I can't see what went wrong on yours, or maybe im just missing something.
I will post back if I can find anything for you.
Your English is fine
Funny to be answering a question in my thread asking a question...lol
Follow this Link http://forum.xda-developers.com/showthread.php?t=633246
and do a little reading
Once again I really appreciate you trying to help me, I hit the thanks button If I can ask what steps/Base Rom did you use to create yours, and did you create your own updater-script?
I made mine based on CM7 for the Desire HD, mostly like what you did, changed boot animation, removed some system apps that I dont want, added a few tools and apps I want, changed the launcher etc, I went through updater-script that was already there for CM7 stock rom, yes mine uses updater-script and update-binary, zipalign and resigned, flashed and worked.
deconfrost said:
I made mine based on CM7 for the Desire HD, mostly like what you did, changed boot animation, removed some system apps that I dont want, added a few tools and apps I want, changed the launcher etc, I went through updater-script that was already there for CM7 stock rom, yes mine uses updater-script and update-binary, zipalign and resigned, flashed and worked.
Click to expand...
Click to collapse
I don't know if this means anything or not, but I don't have an update-binary, but I've looked at some updater-scripts for Galaxy S and they seem to have them...Any Idea where I find/create this for mine? I can't seem to find the updater script on the stock ROM...
if its update-script you have in yours, it doesnt use update-binary, updater-script uses update-binary, also got something to do with the version of clockwork you use, I'm using 3.0.0.6 for Desire HD, and it will not work with update-script, so it needs to be converted to updater-script and the binary, and the codes are slightly different in the script.
deconfrost said:
if its update-script you have in yours, it doesnt use update-binary, updater-script uses update-binary, also got something to do with the version of clockwork you use, I'm using 3.0.0.6 for Desire HD, and it will not work with update-script, so it needs to be converted to updater-script and the binary, and the codes are slightly different in the script.
Click to expand...
Click to collapse
yes, you're right, I've just found that out...upgraded dsixda's kitchen and it converts the update-script to updater-script and adds a binary for you. Thanks, zipping and signing the file now wish me luck!
good luck on it
I'm heading for the bed hope it works for you this time.
deconfrost said:
good luck on it
I'm heading for the bed hope it works for you this time.
Click to expand...
Click to collapse
whether it does or not, thanks for your time dude
Got the ROM to install, but when rebooting I'm hanging on the Galaxy Screen (not the animated one)....Anyone?
I would say the problem is to do with boot.img
I installed 2.3 to my phone.
The cust.img contain a lot of unneeded apks. (The cust.img is a disk image file.)
How to extract cust.img and delete a file in that?
The cust.img mounted to /cust folder as "read only" by init.rc (init.rc automatically generated on boot)
ufukyayla said:
i installed 2.3 to my phone.
The cust.img contain a lot of unneeded apk.
How to extract cust.img and delete a file in that?
The cust.img mounted to /cust folder as as read only by init.rc (init.rc automatically generated on boot)
Click to expand...
Click to collapse
Is cust.img or cust_data.img? See on /cust_backup/image/cust...
This is cust.img in image folder. (When pink screen mode)
ufukyayla said:
This is cust.img in image folder. (When pink screen mode)
Click to expand...
Click to collapse
I never change or delete anything on that place (when pink screen mode). I make all on /cust_backup/image/recovery.img or /cust... don't remember all.
Is from here that at each restarting or rebooting is loaded the bootloader (pink screen).
I deleted in this place all Carrier data /cust_backup/image/cust... something.
But take care, that /image/ is backed also on ROM Backups. If you delete the /cust... like I made, and if one day you made a ROM Restore made before, the /cust... return to same place. You must delete this after each ROM Restore.
For all restores I have, I made: Rom Restore-> delete /cust... (carrier data) -> new Rom backup.
..................................
EDIT: I made all this because I'm rooted and whit Root Explorer.
I dont want to delete cust.img.
The cust.img is a disk image file.
I want to delete a file in disk image that contained in cust.img.
The cust.img mounted to /cust folder as read only on boot.
i delete all boot files.
I delete all of boot files in this folder.When i open phone i faced blue screen. can someone zip all files in this folder and upload for me. Otherwise i have to send my phone to technical service.
I fixed it.
I deleted all unneeded apks (stock apps) that stored in cust.img
My method;
1. On Slitaz Linux 3.0
2. Open terminal
3. Copy cust.img from phone to /home folder
4. mkdir tmp
5. mount cust.img /home/tmp
6. cd /home/tmp/hw/default/app
7. Delete apk files what you don't want
8. umount tmp
9. Copy cust.img from /home folder to phone
It is for who don't have linux;
http://www.multiupload.com/EKPGJ7EUGO
This is "cleared" cust.img. That contains only these apks;
BeyondTheSkyTheme.apk
Calendar.apk
CalendarProvider.apk
DeskClock.apk
ToolBox.apk
modify init.rc
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
genokolar said:
modify init.rc
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
Code:
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
Click to expand...
Click to collapse
The init.rc automatically generating on boot.
Changes lost when you reboot your phone.
The init.rc is in your boot.img, which you could edit with a tool like abootimg, but you'd need Linux to modify that, anyway.
qwerty12 said:
The init.rc is in your boot.img, which you could edit with a tool like abootimg, but you'd need Linux to modify that, anyway.
Click to expand...
Click to collapse
But, it is very hard to do.
abootimg -x boot.img
rename initrd.img to initrd.gz
gunzip initrd.gz
extract initrc using cpio
edit init.rc
recompess
regzip
update bootimg
...
...
etc. etc.
do you know easy way?
ufukyayla said:
But, it is very hard to do.
abootimg -x boot.img
rename initrd.img to initrd.gz
gunzip initrd.gz
extract initrc using cpio
edit init.rc
recompess
regzip
update bootimg
...
...
etc. etc.
do you know easy way?
Click to expand...
Click to collapse
Combine the commands together; create scripts or add aliases to your .bashrc
Do "abootimg -x boot.img && mkdir newramdisk && cd newramdisk && zcat ../initrd.img | cpio -i --no-absolute-filenames" and you're in the folder with the extracted initrd.
When you're done editing, run "find . -print | cpio -o -H newc | gzip -n -9 > ../initrd.img" followed by "cd .. ; abootimg -u boot.img -r initrd.img" and you're done
thanks a lot. i'll try this.
Is there any other way without Linux to remove a .apk from cust.img?
Yes, look at the page 1
I deleted app, but size boot.img has not changed. How to reduce size boot.img?
Moved To General
As the OP contains no development, as such this does not belong here
I am trying to move the vending.apk into system/app from the command line.
I was going to use ES File manager. However, when I try to do 'root explorer' it fails. I do still believe I have a working root because SU works from the adb shell..
Here is what is driving me crazy, I can't seem to move or copy the file from the adb shell after I root and mount the folder as read/write.
I run these commands to set permissions and mount it read/write.
SU
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
However after running SU it returns 'cp not found' when I try to run cp to copy the file. Example...
# cp /mnt/sdcard/Vending.apk /sytem/appVending.apk
cp: not found
If I try to move it, it returns this error.
# mv /mnt/sdcard/Vending.apk /system/app/Vending.apk
failed on '/mnt/sdcard/Vending.apk' - Cross-device link
Is there something else I need to do to move or copy after running SU?
You would first have to fix the mount command because it's not a yaffs2 filesystem, and it's not /dev/block/mtdblock3. The correct command should be "mount -o remount,rw -t ext4 /dev/block/mmcblk0p9". Then try to copy it over to /system/app.
If it still fails, you can adb push it to /system/app after having mounted the partition in read/write.
i just moved it with explorer myself
Try to rename it from .apk to .jpg and copy it with ES File Manager. If it's successful rename it back to .apk after it's in /system/app.
I'd like to delete/remove the *.ogg files from these paths:
/product/media/audio/alarms
/product/media/audio/notifications
/product/media/audio/ringtones
But the file system is read-only and adb shell commands do not succeed. For instance:
Code:
C:\Users\Dave\Documents\Asus Zenfone8\platform-tools>adb shell rm /product/media/audio/alarms/Alarm_Beep_01.ogg
rm: /product/media/audio/alarms/Alarm_Beep_01.ogg: Read-only file system
How can I delete those files?
ASUS Zenfone 8
OmniROM 13/MICROG
Build date 202302181102
you can replace files with empty files
https://topjohnwu.github.io/Magisk/guides.html#the-system-folder