Advertisement
ruizit0

original updater-script

Sep 26th, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.76 KB | None | 0 0
  1. assert(getprop("ro.product.device") == "endeavoru" ||
  2. getprop("ro.build.product") == "endeavoru");
  3. show_progress(0.500000, 0);
  4. unmount("/system");
  5. format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
  6. mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
  7. package_extract_dir("system", "/system");
  8. symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
  9. symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
  10. symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
  11. "/system/xbin/add-shell", "/system/xbin/addgroup",
  12. "/system/xbin/adduser", "/system/xbin/adjtimex", "/system/xbin/ar",
  13. "/system/xbin/arp", "/system/xbin/arping", "/system/xbin/ash",
  14. "/system/xbin/awk", "/system/xbin/basename", "/system/xbin/beep",
  15. "/system/xbin/blkid", "/system/xbin/blockdev",
  16. "/system/xbin/bootchartd", "/system/xbin/brctl", "/system/xbin/bunzip2",
  17. "/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
  18. "/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chat",
  19. "/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod",
  20. "/system/xbin/chown", "/system/xbin/chpasswd", "/system/xbin/chpst",
  21. "/system/xbin/chroot", "/system/xbin/chrt", "/system/xbin/chvt",
  22. "/system/xbin/cksum", "/system/xbin/clear", "/system/xbin/cmp",
  23. "/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
  24. "/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cryptpw",
  25. "/system/xbin/cttyhack", "/system/xbin/cut", "/system/xbin/date",
  26. "/system/xbin/dc", "/system/xbin/dd", "/system/xbin/deallocvt",
  27. "/system/xbin/delgroup", "/system/xbin/deluser", "/system/xbin/depmod",
  28. "/system/xbin/devmem", "/system/xbin/df", "/system/xbin/dhcprelay",
  29. "/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
  30. "/system/xbin/dnsd", "/system/xbin/dnsdomainname",
  31. "/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/dumpkmap",
  32. "/system/xbin/dumpleases", "/system/xbin/echo", "/system/xbin/ed",
  33. "/system/xbin/egrep", "/system/xbin/eject", "/system/xbin/env",
  34. "/system/xbin/envdir", "/system/xbin/envuidgid",
  35. "/system/xbin/ether-wake", "/system/xbin/expand", "/system/xbin/expr",
  36. "/system/xbin/fakeidentd", "/system/xbin/false", "/system/xbin/fbset",
  37. "/system/xbin/fbsplash", "/system/xbin/fdflush",
  38. "/system/xbin/fdformat", "/system/xbin/fdisk", "/system/xbin/fgconsole",
  39. "/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
  40. "/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
  41. "/system/xbin/freeramdisk", "/system/xbin/fsck",
  42. "/system/xbin/fsck.minix", "/system/xbin/fsync", "/system/xbin/ftpd",
  43. "/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
  44. "/system/xbin/getopt", "/system/xbin/getty", "/system/xbin/grep",
  45. "/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
  46. "/system/xbin/hd", "/system/xbin/hdparm", "/system/xbin/head",
  47. "/system/xbin/hexdump", "/system/xbin/hostid", "/system/xbin/hostname",
  48. "/system/xbin/httpd", "/system/xbin/hush", "/system/xbin/hwclock",
  49. "/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/ifdown",
  50. "/system/xbin/ifenslave", "/system/xbin/ifplugd", "/system/xbin/ifup",
  51. "/system/xbin/inetd", "/system/xbin/init", "/system/xbin/insmod",
  52. "/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
  53. "/system/xbin/ip", "/system/xbin/ipaddr", "/system/xbin/ipcalc",
  54. "/system/xbin/ipcrm", "/system/xbin/ipcs", "/system/xbin/iplink",
  55. "/system/xbin/iproute", "/system/xbin/iprule", "/system/xbin/iptunnel",
  56. "/system/xbin/kbd_mode", "/system/xbin/kill", "/system/xbin/killall",
  57. "/system/xbin/killall5", "/system/xbin/klogd", "/system/xbin/last",
  58. "/system/xbin/length", "/system/xbin/less", "/system/xbin/linux32",
  59. "/system/xbin/linux64", "/system/xbin/linuxrc", "/system/xbin/ln",
  60. "/system/xbin/loadfont", "/system/xbin/loadkmap", "/system/xbin/logger",
  61. "/system/xbin/login", "/system/xbin/logname", "/system/xbin/logread",
  62. "/system/xbin/losetup", "/system/xbin/lpd", "/system/xbin/lpq",
  63. "/system/xbin/lpr", "/system/xbin/ls", "/system/xbin/lsattr",
  64. "/system/xbin/lsmod", "/system/xbin/lspci", "/system/xbin/lsusb",
  65. "/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
  66. "/system/xbin/lzopcat", "/system/xbin/makedevs",
  67. "/system/xbin/makemime", "/system/xbin/man", "/system/xbin/md5sum",
  68. "/system/xbin/mdev", "/system/xbin/mesg", "/system/xbin/microcom",
  69. "/system/xbin/mkdir", "/system/xbin/mkdosfs", "/system/xbin/mke2fs",
  70. "/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
  71. "/system/xbin/mkfs.minix", "/system/xbin/mkfs.vfat",
  72. "/system/xbin/mknod", "/system/xbin/mkpasswd", "/system/xbin/mkswap",
  73. "/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
  74. "/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
  75. "/system/xbin/mpstat", "/system/xbin/mt", "/system/xbin/mv",
  76. "/system/xbin/nameif", "/system/xbin/nbd-client", "/system/xbin/nc",
  77. "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nmeter",
  78. "/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
  79. "/system/xbin/od", "/system/xbin/openvt", "/system/xbin/passwd",
  80. "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
  81. "/system/xbin/ping", "/system/xbin/ping6", "/system/xbin/pipe_progress",
  82. "/system/xbin/pivot_root", "/system/xbin/pkill", "/system/xbin/pmap",
  83. "/system/xbin/popmaildir", "/system/xbin/poweroff",
  84. "/system/xbin/powertop", "/system/xbin/printenv", "/system/xbin/printf",
  85. "/system/xbin/ps", "/system/xbin/pscan", "/system/xbin/pstree",
  86. "/system/xbin/pwd", "/system/xbin/raidautorun", "/system/xbin/rdate",
  87. "/system/xbin/rdev", "/system/xbin/readahead", "/system/xbin/readlink",
  88. "/system/xbin/readprofile", "/system/xbin/realpath",
  89. "/system/xbin/reboot", "/system/xbin/reformime",
  90. "/system/xbin/remove-shell", "/system/xbin/renice",
  91. "/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
  92. "/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
  93. "/system/xbin/route", "/system/xbin/rpm", "/system/xbin/rpm2cpio",
  94. "/system/xbin/rtcwake", "/system/xbin/run-parts",
  95. "/system/xbin/runlevel", "/system/xbin/runsv", "/system/xbin/runsvdir",
  96. "/system/xbin/rx", "/system/xbin/script", "/system/xbin/scriptreplay",
  97. "/system/xbin/sed", "/system/xbin/sendmail", "/system/xbin/seq",
  98. "/system/xbin/setarch", "/system/xbin/setconsole",
  99. "/system/xbin/setfont", "/system/xbin/setkeycodes",
  100. "/system/xbin/setlogcons", "/system/xbin/setsid",
  101. "/system/xbin/setuidgid", "/system/xbin/sh", "/system/xbin/sha1sum",
  102. "/system/xbin/sha256sum", "/system/xbin/sha512sum",
  103. "/system/xbin/showkey", "/system/xbin/slattach", "/system/xbin/sleep",
  104. "/system/xbin/smemcap", "/system/xbin/softlimit", "/system/xbin/sort",
  105. "/system/xbin/split", "/system/xbin/start-stop-daemon",
  106. "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
  107. "/system/xbin/sulogin", "/system/xbin/sum", "/system/xbin/sv",
  108. "/system/xbin/svlogd", "/system/xbin/swapoff", "/system/xbin/swapon",
  109. "/system/xbin/switch_root", "/system/xbin/sync", "/system/xbin/sysctl",
  110. "/system/xbin/syslogd", "/system/xbin/tac", "/system/xbin/tail",
  111. "/system/xbin/tar", "/system/xbin/tcpsvd", "/system/xbin/tee",
  112. "/system/xbin/telnet", "/system/xbin/telnetd", "/system/xbin/test",
  113. "/system/xbin/tftp", "/system/xbin/tftpd", "/system/xbin/time",
  114. "/system/xbin/timeout", "/system/xbin/top", "/system/xbin/touch",
  115. "/system/xbin/tr", "/system/xbin/traceroute",
  116. "/system/xbin/traceroute6", "/system/xbin/true", "/system/xbin/tty",
  117. "/system/xbin/ttysize", "/system/xbin/tunctl", "/system/xbin/tune2fs",
  118. "/system/xbin/udhcpc", "/system/xbin/udhcpd", "/system/xbin/udpsvd",
  119. "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/unexpand",
  120. "/system/xbin/uniq", "/system/xbin/unix2dos", "/system/xbin/unlzma",
  121. "/system/xbin/unlzop", "/system/xbin/unxz", "/system/xbin/unzip",
  122. "/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode",
  123. "/system/xbin/uuencode", "/system/xbin/vconfig", "/system/xbin/vi",
  124. "/system/xbin/vlock", "/system/xbin/volname", "/system/xbin/wall",
  125. "/system/xbin/watch", "/system/xbin/watchdog", "/system/xbin/wc",
  126. "/system/xbin/wget", "/system/xbin/which", "/system/xbin/who",
  127. "/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/xz",
  128. "/system/xbin/xzcat", "/system/xbin/yes", "/system/xbin/zcat",
  129. "/system/xbin/zcip");
  130. symlink("mksh", "/system/bin/sh");
  131. symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
  132. "/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
  133. "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
  134. "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
  135. "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
  136. "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
  137. "/system/bin/kill", "/system/bin/ln", "/system/bin/log",
  138. "/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
  139. "/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
  140. "/system/bin/nandread", "/system/bin/netstat",
  141. "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
  142. "/system/bin/ps", "/system/bin/renice", "/system/bin/rm",
  143. "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
  144. "/system/bin/schedtop", "/system/bin/sendevent",
  145. "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
  146. "/system/bin/smd", "/system/bin/start", "/system/bin/stop",
  147. "/system/bin/sync", "/system/bin/top", "/system/bin/touch",
  148. "/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
  149. "/system/bin/watchprops",
  150. "/system/bin/wipe");
  151. set_perm_recursive(0, 0, 0755, 0644, "/system");
  152. set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
  153. set_perm(0, 0, 0644, "/system/bin/chownto");
  154. set_perm(0, 0, 0644, "/system/bin/fscd_msdos");
  155. set_perm(0, 3003, 02750, "/system/bin/netcfg");
  156. set_perm(0, 3004, 02755, "/system/bin/ping");
  157. set_perm(0, 2000, 06755, "/system/bin/reboot");
  158. set_perm(0, 2000, 06750, "/system/bin/run-as");
  159. set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
  160. set_perm(0, 0, 0755, "/system/etc/bluetooth");
  161. set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
  162. set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
  163. set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
  164. set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
  165. set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
  166. set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
  167. set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
  168. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
  169. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
  170. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
  171. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
  172. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
  173. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
  174. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
  175. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
  176. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
  177. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin");
  178. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin");
  179. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin");
  180. set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
  181. set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
  182. set_perm(0, 0, 06755, "/system/xbin/busybox");
  183. set_perm(0, 2000, 06755, "/system/xbin/insecure");
  184. set_perm(0, 0, 06755, "/system/xbin/invoke-as");
  185. set_perm(0, 0, 06755, "/system/xbin/su");
  186. show_progress(0.200000, 0);
  187. show_progress(0.200000, 10);
  188. package_extract_file("boot.img", "/dev/block/mmcblk0p4");
  189. show_progress(0.100000, 0);
  190. mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/data");
  191. package_extract_dir("data", "/data");
  192. set_perm_recursive(1000, 1000, 0755, 0644, "/data/media/preinstall_apps");
  193. unmount("/data");
  194. unmount("/system");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement