Browse files

CWR support for epic4g touch

add cwr

prevent stock recovery from always coming up by deleting the marker.

comments and mount cache

herpderp

remove modules, those come from the build
  • Loading branch information...
1 parent b35c2bd commit 2b45789d2a9e2067ceb2b3bc8a6c2dec6daf3928 @koush committed Oct 27, 2011
Showing with 2,147 additions and 16 deletions.
  1. +4 −4 default.prop
  2. +402 −0 initramfs_list.txt
  3. BIN lib/modules/bthid.ko
  4. BIN lib/modules/cyasswitch.ko
  5. BIN lib/modules/dhd.ko
  6. BIN lib/modules/j4fs.ko
  7. BIN lib/modules/scsi_wait_scan.ko
  8. BIN lib/modules/vibrator.ko
  9. +6 −12 recovery.rc
  10. +75 −0 recovery/default.prop
  11. +12 −0 recovery/etc/recovery.fstab
  12. BIN recovery/init
  13. +80 −0 recovery/init.rc
  14. +85 −0 recovery/lpm.rc
  15. BIN recovery/res/images/icon_clockwork.png
  16. BIN recovery/res/images/icon_error.png
  17. BIN recovery/res/images/icon_firmware_error.png
  18. BIN recovery/res/images/icon_firmware_install.png
  19. BIN recovery/res/images/icon_installing.png
  20. BIN recovery/res/images/indeterminate1.png
  21. BIN recovery/res/images/indeterminate2.png
  22. BIN recovery/res/images/indeterminate3.png
  23. BIN recovery/res/images/indeterminate4.png
  24. BIN recovery/res/images/indeterminate5.png
  25. BIN recovery/res/images/indeterminate6.png
  26. BIN recovery/res/images/progress_empty.png
  27. BIN recovery/res/images/progress_fill.png
  28. +1 −0 recovery/res/keys
  29. +1 −0 recovery/sbin/[
  30. +1 −0 recovery/sbin/[[
  31. BIN recovery/sbin/adbd
  32. +1 −0 recovery/sbin/ash
  33. +1 −0 recovery/sbin/awk
  34. +1 −0 recovery/sbin/basename
  35. +1 −0 recovery/sbin/bbconfig
  36. +1 −0 recovery/sbin/bunzip2
  37. +1 −0 recovery/sbin/busybox
  38. +1 −0 recovery/sbin/bzcat
  39. +1 −0 recovery/sbin/bzip2
  40. +1 −0 recovery/sbin/cal
  41. +1 −0 recovery/sbin/cat
  42. +1 −0 recovery/sbin/catv
  43. +1 −0 recovery/sbin/chattr
  44. +1 −0 recovery/sbin/chgrp
  45. +1 −0 recovery/sbin/chmod
  46. +1 −0 recovery/sbin/chown
  47. +1 −0 recovery/sbin/chroot
  48. +1 −0 recovery/sbin/cksum
  49. +1 −0 recovery/sbin/clear
  50. +1 −0 recovery/sbin/cmp
  51. +1 −0 recovery/sbin/cp
  52. +1 −0 recovery/sbin/cpio
  53. +1 −0 recovery/sbin/cut
  54. +1 −0 recovery/sbin/date
  55. +1 −0 recovery/sbin/dc
  56. +1 −0 recovery/sbin/dd
  57. +1 −0 recovery/sbin/depmod
  58. +1 −0 recovery/sbin/devmem
  59. +1 −0 recovery/sbin/df
  60. +1 −0 recovery/sbin/diff
  61. +1 −0 recovery/sbin/dirname
  62. +1 −0 recovery/sbin/dmesg
  63. +1 −0 recovery/sbin/dos2unix
  64. +1 −0 recovery/sbin/du
  65. +1 −0 recovery/sbin/dump_image
  66. BIN recovery/sbin/e2fsck
  67. +1 −0 recovery/sbin/echo
  68. +1 −0 recovery/sbin/edify
  69. +1 −0 recovery/sbin/egrep
  70. +1 −0 recovery/sbin/env
  71. +1 −0 recovery/sbin/erase_image
  72. +1 −0 recovery/sbin/expand
  73. +1 −0 recovery/sbin/expr
  74. +1 −0 recovery/sbin/false
  75. +1 −0 recovery/sbin/fdisk
  76. +1 −0 recovery/sbin/fgrep
  77. +1 −0 recovery/sbin/find
  78. +484 −0 recovery/sbin/fix_permissions
  79. +1 −0 recovery/sbin/flash_image
  80. +1 −0 recovery/sbin/fold
  81. +1 −0 recovery/sbin/free
  82. +1 −0 recovery/sbin/freeramdisk
  83. +1 −0 recovery/sbin/fuser
  84. +1 −0 recovery/sbin/getopt
  85. +1 −0 recovery/sbin/grep
  86. +1 −0 recovery/sbin/groups
  87. +1 −0 recovery/sbin/gunzip
  88. +1 −0 recovery/sbin/gzip
  89. +1 −0 recovery/sbin/head
  90. +1 −0 recovery/sbin/hexdump
  91. +1 −0 recovery/sbin/id
  92. +1 −0 recovery/sbin/insmod
  93. +1 −0 recovery/sbin/install
  94. +1 −0 recovery/sbin/kill
  95. +1 −0 recovery/sbin/killall
  96. +1 −0 recovery/sbin/killall5
  97. +22 −0 recovery/sbin/killrecovery.sh
  98. +1 −0 recovery/sbin/length
  99. +1 −0 recovery/sbin/less
  100. +1 −0 recovery/sbin/ln
  101. +1 −0 recovery/sbin/losetup
  102. +1 −0 recovery/sbin/ls
  103. +1 −0 recovery/sbin/lsattr
  104. +1 −0 recovery/sbin/lsmod
  105. +1 −0 recovery/sbin/lspci
  106. +1 −0 recovery/sbin/lsusb
  107. +1 −0 recovery/sbin/lzcat
  108. +1 −0 recovery/sbin/lzop
  109. +1 −0 recovery/sbin/lzopcat
  110. +1 −0 recovery/sbin/makedevs
  111. +1 −0 recovery/sbin/md5sum
  112. +1 −0 recovery/sbin/mkdir
  113. +1 −0 recovery/sbin/mke2fs
  114. +1 −0 recovery/sbin/mkfifo
  115. +1 −0 recovery/sbin/mkfs.ext2
  116. +1 −0 recovery/sbin/mknod
  117. +1 −0 recovery/sbin/mkswap
  118. +1 −0 recovery/sbin/mktemp
  119. +1 −0 recovery/sbin/mkyaffs2image
  120. +1 −0 recovery/sbin/modinfo
  121. +1 −0 recovery/sbin/modprobe
  122. +1 −0 recovery/sbin/more
  123. +1 −0 recovery/sbin/mount
  124. +1 −0 recovery/sbin/mountpoint
  125. +1 −0 recovery/sbin/mv
  126. +1 −0 recovery/sbin/nanddump
  127. +1 −0 recovery/sbin/nandroid
  128. +12 −0 recovery/sbin/nandroid-md5.sh
  129. +1 −0 recovery/sbin/nandwrite
  130. +1 −0 recovery/sbin/nice
  131. +1 −0 recovery/sbin/nohup
  132. +1 −0 recovery/sbin/od
  133. BIN recovery/sbin/parted
  134. +1 −0 recovery/sbin/patch
  135. +1 −0 recovery/sbin/pgrep
  136. +1 −0 recovery/sbin/pidof
  137. +1 −0 recovery/sbin/pkill
  138. +1 −0 recovery/sbin/printenv
  139. +1 −0 recovery/sbin/printf
  140. +1 −0 recovery/sbin/ps
  141. +1 −0 recovery/sbin/pstree
  142. +1 −0 recovery/sbin/pwd
  143. +1 −0 recovery/sbin/rdev
  144. +1 −0 recovery/sbin/readlink
  145. +1 −0 recovery/sbin/realpath
  146. +1 −0 recovery/sbin/reboot
  147. BIN recovery/sbin/recovery
  148. +1 −0 recovery/sbin/renice
  149. +1 −0 recovery/sbin/reset
  150. +1 −0 recovery/sbin/resize
  151. +1 −0 recovery/sbin/rev
  152. +1 −0 recovery/sbin/rm
  153. +1 −0 recovery/sbin/rmdir
  154. +1 −0 recovery/sbin/rmmod
  155. +1 −0 recovery/sbin/run-parts
  156. +655 −0 recovery/sbin/sdparted
  157. +1 −0 recovery/sbin/sed
  158. +1 −0 recovery/sbin/seq
  159. +1 −0 recovery/sbin/setconsole
  160. +1 −0 recovery/sbin/setprop
  161. +1 −0 recovery/sbin/setserial
  162. +1 −0 recovery/sbin/setsid
  163. +1 −0 recovery/sbin/sh
  164. +1 −0 recovery/sbin/sha1sum
  165. +1 −0 recovery/sbin/sha256sum
  166. +1 −0 recovery/sbin/sha512sum
  167. +1 −0 recovery/sbin/sleep
  168. +1 −0 recovery/sbin/sort
  169. +1 −0 recovery/sbin/split
  170. +1 −0 recovery/sbin/stat
  171. +1 −0 recovery/sbin/strings
  172. +1 −0 recovery/sbin/stty
  173. +1 −0 recovery/sbin/swapoff
  174. +1 −0 recovery/sbin/swapon
  175. +1 −0 recovery/sbin/sync
  176. +1 −0 recovery/sbin/sysctl
  177. +1 −0 recovery/sbin/tac
  178. +1 −0 recovery/sbin/tail
  179. +1 −0 recovery/sbin/tar
  180. +1 −0 recovery/sbin/tee
  181. +1 −0 recovery/sbin/test
  182. +1 −0 recovery/sbin/time
  183. +1 −0 recovery/sbin/top
  184. +1 −0 recovery/sbin/touch
  185. +1 −0 recovery/sbin/tr
  186. +1 −0 recovery/sbin/true
  187. +1 −0 recovery/sbin/ttysize
  188. BIN recovery/sbin/tune2fs
  189. +1 −0 recovery/sbin/ueventd
  190. +1 −0 recovery/sbin/umount
  191. +1 −0 recovery/sbin/uname
  192. +1 −0 recovery/sbin/unexpand
  193. +1 −0 recovery/sbin/uniq
  194. +1 −0 recovery/sbin/unix2dos
  195. +1 −0 recovery/sbin/unlzma
  196. +1 −0 recovery/sbin/unlzop
  197. +1 −0 recovery/sbin/unxz
  198. +1 −0 recovery/sbin/unyaffs
  199. +1 −0 recovery/sbin/unzip
  200. +1 −0 recovery/sbin/uptime
  201. +1 −0 recovery/sbin/usleep
  202. +1 −0 recovery/sbin/uudecode
  203. +1 −0 recovery/sbin/uuencode
  204. +1 −0 recovery/sbin/volume
  205. +1 −0 recovery/sbin/watch
  206. +1 −0 recovery/sbin/wc
  207. +1 −0 recovery/sbin/which
  208. +1 −0 recovery/sbin/whoami
  209. +1 −0 recovery/sbin/xargs
  210. +1 −0 recovery/sbin/xzcat
  211. +1 −0 recovery/sbin/yes
  212. +1 −0 recovery/sbin/zcat
  213. 0 recovery/ueventd.goldfish.rc
  214. +89 −0 recovery/ueventd.rc
  215. +45 −0 recovery/ueventd.smdkv310.rc
  216. BIN sbin/recovery
  217. BIN sbin/recovery.bin
View
8 default.prop
@@ -1,7 +1,7 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
-ro.secure=1
-ro.allow.mock.location=0
-ro.debuggable=0
-persist.service.adb.enable=0
+ro.secure=0
+ro.allow.mock.location=1
+ro.debuggable=1
+persist.service.adb.enable=1
View
402 initramfs_list.txt
@@ -0,0 +1,402 @@
+dir /data 755 0 0
+dir /dev 755 0 0
+dir /lib 755 0 0
+dir /lib/modules 755 0 0
+dir /proc 755 0 0
+dir /recovery 755 0 0
+dir /recovery/data 755 0 0
+dir /recovery/dev 755 0 0
+dir /recovery/etc 755 0 0
+dir /recovery/proc 755 0 0
+dir /recovery/res 755 0 0
+dir /recovery/res/images 755 0 0
+dir /recovery/sbin 755 0 0
+dir /recovery/sys 755 0 0
+dir /recovery/system 755 0 0
+dir /recovery/system/bin 755 0 0
+dir /recovery/tmp 755 0 0
+dir /res 755 0 0
+dir /res/images 755 0 0
+dir /sbin 755 0 0
+dir /sys 755 0 0
+dir /system 755 0 0
+dir /tmp 755 0 0
+dir /vendor 755 0 0
+dir /vendor/firmware 755 0 0
+file /default.prop /Volumes/Data/epic4gtouch/usr/initramfs_files/default.prop 664 0 0
+file /fota.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/fota.rc 775 0 0
+file /init /Volumes/Data/epic4gtouch/usr/initramfs_files/init 775 0 0
+file /init.goldfish.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/init.goldfish.rc 664 0 0
+file /init.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/init.rc 775 0 0
+file /init.smdkc210.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/init.smdkc210.rc 775 0 0
+file /init_kernel_only.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/init_kernel_only.rc 775 0 0
+file /lib/modules/bthid.ko /Volumes/Data/epic4gtouch/drivers/bluetooth/bthid/bthid.ko 664 0 0
+file /lib/modules/cyasswitch.ko /Volumes/Data/epic4gtouch/drivers/staging/westbridge/astoria/switch/cyasswitch.ko 664 0 0
+file /lib/modules/dhd.ko /Volumes/Data/epic4gtouch/drivers/net/wireless/bcm4330/dhd.ko 664 0 0
+file /lib/modules/j4fs.ko /Volumes/Data/epic4gtouch/drivers/samsung/j4fs/j4fs.ko 664 0 0
+file /lib/modules/scsi_wait_scan.ko /Volumes/Data/epic4gtouch/drivers/scsi/scsi_wait_scan.ko 664 0 0
+file /lib/modules/vibrator.ko /Volumes/Data/epic4gtouch/drivers/samsung/vibetonz/vibrator.ko 664 0 0
+file /lpm.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/lpm.rc 664 0 0
+file /recovery/default.prop /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/default.prop 664 0 0
+file /recovery/etc/recovery.fstab /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/etc/recovery.fstab 664 0 0
+file /recovery/init /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/init 775 0 0
+file /recovery/init.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/init.rc 664 0 0
+file /recovery/lpm.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/lpm.rc 664 0 0
+file /recovery/res/images/icon_clockwork.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/icon_clockwork.png 664 0 0
+file /recovery/res/images/icon_error.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/icon_error.png 775 0 0
+file /recovery/res/images/icon_firmware_error.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/icon_firmware_error.png 664 0 0
+file /recovery/res/images/icon_firmware_install.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/icon_firmware_install.png 775 0 0
+file /recovery/res/images/icon_installing.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/icon_installing.png 775 0 0
+file /recovery/res/images/indeterminate1.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate1.png 664 0 0
+file /recovery/res/images/indeterminate2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate2.png 664 0 0
+file /recovery/res/images/indeterminate3.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate3.png 664 0 0
+file /recovery/res/images/indeterminate4.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate4.png 664 0 0
+file /recovery/res/images/indeterminate5.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate5.png 664 0 0
+file /recovery/res/images/indeterminate6.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/indeterminate6.png 664 0 0
+file /recovery/res/images/progress_empty.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/progress_empty.png 664 0 0
+file /recovery/res/images/progress_fill.png /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/images/progress_fill.png 664 0 0
+file /recovery/res/keys /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/res/keys 664 0 0
+file /recovery/sbin/adbd /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/adbd 775 0 0
+file /recovery/sbin/e2fsck /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/e2fsck 775 0 0
+file /recovery/sbin/fix_permissions /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/fix_permissions 775 0 0
+file /recovery/sbin/killrecovery.sh /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/killrecovery.sh 775 0 0
+file /recovery/sbin/nandroid-md5.sh /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/nandroid-md5.sh 775 0 0
+file /recovery/sbin/parted /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/parted 775 0 0
+file /recovery/sbin/recovery /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/recovery 775 0 0
+file /recovery/sbin/sdparted /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/sdparted 775 0 0
+file /recovery/sbin/tune2fs /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/sbin/tune2fs 775 0 0
+file /recovery/ueventd.goldfish.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/ueventd.goldfish.rc 664 0 0
+file /recovery/ueventd.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/ueventd.rc 664 0 0
+file /recovery/ueventd.smdkv310.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery/ueventd.smdkv310.rc 664 0 0
+file /recovery.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/recovery.rc 664 0 0
+file /res/encryption.conftab /Volumes/Data/epic4gtouch/usr/initramfs_files/res/encryption.conftab 775 0 0
+file /res/images/0.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/0.png 775 0 0
+file /res/images/1.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/1.png 775 0 0
+file /res/images/2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/2.png 775 0 0
+file /res/images/3.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/3.png 775 0 0
+file /res/images/4.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/4.png 775 0 0
+file /res/images/5.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/5.png 775 0 0
+file /res/images/6.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/6.png 775 0 0
+file /res/images/7.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/7.png 775 0 0
+file /res/images/8.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/8.png 775 0 0
+file /res/images/9.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/9.png 775 0 0
+file /res/images/a.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/a.png 775 0 0
+file /res/images/abc.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/abc.png 775 0 0
+file /res/images/alt.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/alt.png 775 0 0
+file /res/images/alt2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/alt2.png 775 0 0
+file /res/images/and.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/and.png 775 0 0
+file /res/images/b.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/b.png 775 0 0
+file /res/images/back_slash.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/back_slash.png 775 0 0
+file /res/images/backtick.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/backtick.png 775 0 0
+file /res/images/c.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/c.png 775 0 0
+file /res/images/cap.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/cap.png 775 0 0
+file /res/images/caps_a.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_a.png 775 0 0
+file /res/images/caps_b.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_b.png 775 0 0
+file /res/images/caps_c.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_c.png 775 0 0
+file /res/images/caps_d.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_d.png 775 0 0
+file /res/images/caps_e.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_e.png 775 0 0
+file /res/images/caps_f.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_f.png 775 0 0
+file /res/images/caps_g.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_g.png 775 0 0
+file /res/images/caps_h.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_h.png 775 0 0
+file /res/images/caps_i.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_i.png 775 0 0
+file /res/images/caps_j.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_j.png 775 0 0
+file /res/images/caps_k.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_k.png 775 0 0
+file /res/images/caps_l.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_l.png 775 0 0
+file /res/images/caps_m.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_m.png 775 0 0
+file /res/images/caps_n.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_n.png 775 0 0
+file /res/images/caps_o.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_o.png 775 0 0
+file /res/images/caps_p.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_p.png 775 0 0
+file /res/images/caps_q.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_q.png 775 0 0
+file /res/images/caps_r.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_r.png 775 0 0
+file /res/images/caps_s.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_s.png 775 0 0
+file /res/images/caps_t.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_t.png 775 0 0
+file /res/images/caps_u.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_u.png 775 0 0
+file /res/images/caps_v.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_v.png 775 0 0
+file /res/images/caps_w.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_w.png 775 0 0
+file /res/images/caps_x.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_x.png 775 0 0
+file /res/images/caps_y.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_y.png 775 0 0
+file /res/images/caps_z.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/caps_z.png 775 0 0
+file /res/images/colon.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/colon.png 775 0 0
+file /res/images/comma.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/comma.png 775 0 0
+file /res/images/d.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/d.png 775 0 0
+file /res/images/decryption1.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/decryption1.png 775 0 0
+file /res/images/decryption2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/decryption2.png 775 0 0
+file /res/images/del.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/del.png 775 0 0
+file /res/images/dollar.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/dollar.png 775 0 0
+file /res/images/dot.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/dot.png 775 0 0
+file /res/images/double_quotes.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/double_quotes.png 775 0 0
+file /res/images/e.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/e.png 775 0 0
+file /res/images/empty.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/empty.png 775 0 0
+file /res/images/encryption1.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/encryption1.png 775 0 0
+file /res/images/encryption2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/encryption2.png 775 0 0
+file /res/images/equal.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/equal.png 775 0 0
+file /res/images/exclaim.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/exclaim.png 775 0 0
+file /res/images/f.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/f.png 775 0 0
+file /res/images/fwd_slash.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/fwd_slash.png 775 0 0
+file /res/images/g.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/g.png 775 0 0
+file /res/images/h.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/h.png 775 0 0
+file /res/images/hyphen.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/hyphen.png 775 0 0
+file /res/images/i.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/i.png 775 0 0
+file /res/images/icon_datadecrypted.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_datadecrypted.png 664 0 0
+file /res/images/icon_dataencrypted.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_dataencrypted.png 664 0 0
+file /res/images/icon_decryption.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_decryption.png 775 0 0
+file /res/images/icon_encryption.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_encryption.png 775 0 0
+file /res/images/icon_error.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_error.png 775 0 0
+file /res/images/icon_firmware_error.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_firmware_error.png 775 0 0
+file /res/images/icon_firmware_install.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_firmware_install.png 775 0 0
+file /res/images/icon_installing.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_installing.png 775 0 0
+file /res/images/icon_passcode.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/icon_passcode.png 775 0 0
+file /res/images/indeterminate1.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate1.png 664 0 0
+file /res/images/indeterminate2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate2.png 664 0 0
+file /res/images/indeterminate3.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate3.png 664 0 0
+file /res/images/indeterminate4.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate4.png 664 0 0
+file /res/images/indeterminate5.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate5.png 664 0 0
+file /res/images/indeterminate6.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/indeterminate6.png 664 0 0
+file /res/images/j.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/j.png 775 0 0
+file /res/images/k.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/k.png 775 0 0
+file /res/images/l.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/l.png 775 0 0
+file /res/images/left_angular_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/left_angular_brace.png 775 0 0
+file /res/images/left_curly_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/left_curly_brace.png 775 0 0
+file /res/images/left_round_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/left_round_brace.png 775 0 0
+file /res/images/left_square_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/left_square_brace.png 775 0 0
+file /res/images/m.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/m.png 775 0 0
+file /res/images/minus.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/minus.png 775 0 0
+file /res/images/n.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/n.png 775 0 0
+file /res/images/numeric.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/numeric.png 775 0 0
+file /res/images/o.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/o.png 775 0 0
+file /res/images/ok.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/ok.png 775 0 0
+file /res/images/p.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/p.png 775 0 0
+file /res/images/passcode_key_relative_layout_eng.ini /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/passcode_key_relative_layout_eng.ini 775 0 0
+file /res/images/password_confirm_45.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_confirm_45.png 775 0 0
+file /res/images/password_highlight.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_highlight.png 775 0 0
+file /res/images/password_last_time.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_last_time.png 775 0 0
+file /res/images/password_max16_45.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_max16_45.png 775 0 0
+file /res/images/password_not_matched_wipe_data.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_not_matched_wipe_data.png 775 0 0
+file /res/images/password_notmatched_45.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_notmatched_45.png 775 0 0
+file /res/images/password_retry_45.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_retry_45.png 775 0 0
+file /res/images/password_star_221.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/password_star_221.png 775 0 0
+file /res/images/percent.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/percent.png 775 0 0
+file /res/images/pipe.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/pipe.png 775 0 0
+file /res/images/plus.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/plus.png 775 0 0
+file /res/images/pound.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/pound.png 775 0 0
+file /res/images/progress_bar_empty.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_empty.png 775 0 0
+file /res/images/progress_bar_empty_left_round.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_empty_left_round.png 775 0 0
+file /res/images/progress_bar_empty_right_round.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_empty_right_round.png 775 0 0
+file /res/images/progress_bar_fill.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_fill.png 775 0 0
+file /res/images/progress_bar_left_round.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_left_round.png 775 0 0
+file /res/images/progress_bar_right_round.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_bar_right_round.png 775 0 0
+file /res/images/progress_empty.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_empty.png 664 0 0
+file /res/images/progress_fill.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/progress_fill.png 664 0 0
+file /res/images/q.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/q.png 775 0 0
+file /res/images/question_mark.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/question_mark.png 775 0 0
+file /res/images/r.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/r.png 775 0 0
+file /res/images/rate.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/rate.png 775 0 0
+file /res/images/right_angular_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/right_angular_brace.png 775 0 0
+file /res/images/right_curly_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/right_curly_brace.png 775 0 0
+file /res/images/right_round_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/right_round_brace.png 775 0 0
+file /res/images/right_square_brace.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/right_square_brace.png 775 0 0
+file /res/images/s.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/s.png 775 0 0
+file /res/images/semi_colon.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/semi_colon.png 775 0 0
+file /res/images/shift.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/shift.png 775 0 0
+file /res/images/shift2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/shift2.png 775 0 0
+file /res/images/single_quote.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/single_quote.png 775 0 0
+file /res/images/space.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/space.png 775 0 0
+file /res/images/space2.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/space2.png 775 0 0
+file /res/images/star.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/star.png 775 0 0
+file /res/images/t.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/t.png 775 0 0
+file /res/images/tilde.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/tilde.png 775 0 0
+file /res/images/u.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/u.png 775 0 0
+file /res/images/under_score.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/under_score.png 775 0 0
+file /res/images/v.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/v.png 775 0 0
+file /res/images/w.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/w.png 775 0 0
+file /res/images/x.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/x.png 775 0 0
+file /res/images/y.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/y.png 775 0 0
+file /res/images/z.png /Volumes/Data/epic4gtouch/usr/initramfs_files/res/images/z.png 775 0 0
+file /res/keys /Volumes/Data/epic4gtouch/usr/initramfs_files/res/keys 775 0 0
+file /res/recovery.fstab /Volumes/Data/epic4gtouch/usr/initramfs_files/res/recovery.fstab 775 0 0
+file /sbin/adbd /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/adbd 775 0 0
+file /sbin/fota.png /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/fota.png 775 0 0
+file /sbin/recovery /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/recovery 775 0 0
+file /sbin/recovery.bin /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/recovery.bin 775 0 0
+file /sbin/redbend_ua /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/redbend_ua 775 0 0
+file /sbin/sreadaheadd /Volumes/Data/epic4gtouch/usr/initramfs_files/sbin/sreadaheadd 775 0 0
+file /ueventd.goldfish.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/ueventd.goldfish.rc 664 0 0
+file /ueventd.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/ueventd.rc 775 0 0
+file /ueventd.smdkc210.rc /Volumes/Data/epic4gtouch/usr/initramfs_files/ueventd.smdkc210.rc 775 0 0
+file /vendor/firmware/mfc_fw.bin /Volumes/Data/epic4gtouch/usr/initramfs_files/vendor/firmware/mfc_fw.bin 775 0 0
+slink /recovery/sbin/[ busybox 775 0 0
+slink /recovery/sbin/[[ busybox 775 0 0
+slink /recovery/sbin/ash busybox 775 0 0
+slink /recovery/sbin/awk busybox 775 0 0
+slink /recovery/sbin/basename busybox 775 0 0
+slink /recovery/sbin/bbconfig busybox 775 0 0
+slink /recovery/sbin/bunzip2 busybox 775 0 0
+slink /recovery/sbin/busybox recovery 775 0 0
+slink /recovery/sbin/bzcat busybox 775 0 0
+slink /recovery/sbin/bzip2 busybox 775 0 0
+slink /recovery/sbin/cal busybox 775 0 0
+slink /recovery/sbin/cat busybox 775 0 0
+slink /recovery/sbin/catv busybox 775 0 0
+slink /recovery/sbin/chattr busybox 775 0 0
+slink /recovery/sbin/chgrp busybox 775 0 0
+slink /recovery/sbin/chmod busybox 775 0 0
+slink /recovery/sbin/chown busybox 775 0 0
+slink /recovery/sbin/chroot busybox 775 0 0
+slink /recovery/sbin/cksum busybox 775 0 0
+slink /recovery/sbin/clear busybox 775 0 0
+slink /recovery/sbin/cmp busybox 775 0 0
+slink /recovery/sbin/cp busybox 775 0 0
+slink /recovery/sbin/cpio busybox 775 0 0
+slink /recovery/sbin/cut busybox 775 0 0
+slink /recovery/sbin/date busybox 775 0 0
+slink /recovery/sbin/dc busybox 775 0 0
+slink /recovery/sbin/dd busybox 775 0 0
+slink /recovery/sbin/depmod busybox 775 0 0
+slink /recovery/sbin/devmem busybox 775 0 0
+slink /recovery/sbin/df busybox 775 0 0
+slink /recovery/sbin/diff busybox 775 0 0
+slink /recovery/sbin/dirname busybox 775 0 0
+slink /recovery/sbin/dmesg busybox 775 0 0
+slink /recovery/sbin/dos2unix busybox 775 0 0
+slink /recovery/sbin/du busybox 775 0 0
+slink /recovery/sbin/dump_image recovery 775 0 0
+slink /recovery/sbin/echo busybox 775 0 0
+slink /recovery/sbin/edify recovery 775 0 0
+slink /recovery/sbin/egrep busybox 775 0 0
+slink /recovery/sbin/env busybox 775 0 0
+slink /recovery/sbin/erase_image recovery 775 0 0
+slink /recovery/sbin/expand busybox 775 0 0
+slink /recovery/sbin/expr busybox 775 0 0
+slink /recovery/sbin/false busybox 775 0 0
+slink /recovery/sbin/fdisk busybox 775 0 0
+slink /recovery/sbin/fgrep busybox 775 0 0
+slink /recovery/sbin/find busybox 775 0 0
+slink /recovery/sbin/flash_image recovery 775 0 0
+slink /recovery/sbin/fold busybox 775 0 0
+slink /recovery/sbin/free busybox 775 0 0
+slink /recovery/sbin/freeramdisk busybox 775 0 0
+slink /recovery/sbin/fuser busybox 775 0 0
+slink /recovery/sbin/getopt busybox 775 0 0
+slink /recovery/sbin/grep busybox 775 0 0
+slink /recovery/sbin/groups busybox 775 0 0
+slink /recovery/sbin/gunzip busybox 775 0 0
+slink /recovery/sbin/gzip busybox 775 0 0
+slink /recovery/sbin/head busybox 775 0 0
+slink /recovery/sbin/hexdump busybox 775 0 0
+slink /recovery/sbin/id busybox 775 0 0
+slink /recovery/sbin/insmod busybox 775 0 0
+slink /recovery/sbin/install busybox 775 0 0
+slink /recovery/sbin/kill busybox 775 0 0
+slink /recovery/sbin/killall busybox 775 0 0
+slink /recovery/sbin/killall5 busybox 775 0 0
+slink /recovery/sbin/length busybox 775 0 0
+slink /recovery/sbin/less busybox 775 0 0
+slink /recovery/sbin/ln busybox 775 0 0
+slink /recovery/sbin/losetup busybox 775 0 0
+slink /recovery/sbin/ls busybox 775 0 0
+slink /recovery/sbin/lsattr busybox 775 0 0
+slink /recovery/sbin/lsmod busybox 775 0 0
+slink /recovery/sbin/lspci busybox 775 0 0
+slink /recovery/sbin/lsusb busybox 775 0 0
+slink /recovery/sbin/lzcat busybox 775 0 0
+slink /recovery/sbin/lzop busybox 775 0 0
+slink /recovery/sbin/lzopcat busybox 775 0 0
+slink /recovery/sbin/makedevs busybox 775 0 0
+slink /recovery/sbin/md5sum busybox 775 0 0
+slink /recovery/sbin/mkdir busybox 775 0 0
+slink /recovery/sbin/mke2fs busybox 775 0 0
+slink /recovery/sbin/mkfifo busybox 775 0 0
+slink /recovery/sbin/mkfs.ext2 busybox 775 0 0
+slink /recovery/sbin/mknod busybox 775 0 0
+slink /recovery/sbin/mkswap busybox 775 0 0
+slink /recovery/sbin/mktemp busybox 775 0 0
+slink /recovery/sbin/mkyaffs2image recovery 775 0 0
+slink /recovery/sbin/modinfo busybox 775 0 0
+slink /recovery/sbin/modprobe busybox 775 0 0
+slink /recovery/sbin/more busybox 775 0 0
+slink /recovery/sbin/mount busybox 775 0 0
+slink /recovery/sbin/mountpoint busybox 775 0 0
+slink /recovery/sbin/mv busybox 775 0 0
+slink /recovery/sbin/nanddump busybox 775 0 0
+slink /recovery/sbin/nandroid recovery 775 0 0
+slink /recovery/sbin/nandwrite busybox 775 0 0
+slink /recovery/sbin/nice busybox 775 0 0
+slink /recovery/sbin/nohup busybox 775 0 0
+slink /recovery/sbin/od busybox 775 0 0
+slink /recovery/sbin/patch busybox 775 0 0
+slink /recovery/sbin/pgrep busybox 775 0 0
+slink /recovery/sbin/pidof busybox 775 0 0
+slink /recovery/sbin/pkill busybox 775 0 0
+slink /recovery/sbin/printenv busybox 775 0 0
+slink /recovery/sbin/printf busybox 775 0 0
+slink /recovery/sbin/ps busybox 775 0 0
+slink /recovery/sbin/pstree busybox 775 0 0
+slink /recovery/sbin/pwd busybox 775 0 0
+slink /recovery/sbin/rdev busybox 775 0 0
+slink /recovery/sbin/readlink busybox 775 0 0
+slink /recovery/sbin/realpath busybox 775 0 0
+slink /recovery/sbin/reboot recovery 775 0 0
+slink /recovery/sbin/renice busybox 775 0 0
+slink /recovery/sbin/reset busybox 775 0 0
+slink /recovery/sbin/resize busybox 775 0 0
+slink /recovery/sbin/rev busybox 775 0 0
+slink /recovery/sbin/rm busybox 775 0 0
+slink /recovery/sbin/rmdir busybox 775 0 0
+slink /recovery/sbin/rmmod busybox 775 0 0
+slink /recovery/sbin/run-parts busybox 775 0 0
+slink /recovery/sbin/sed busybox 775 0 0
+slink /recovery/sbin/seq busybox 775 0 0
+slink /recovery/sbin/setconsole busybox 775 0 0
+slink /recovery/sbin/setprop recovery 775 0 0
+slink /recovery/sbin/setserial busybox 775 0 0
+slink /recovery/sbin/setsid busybox 775 0 0
+slink /recovery/sbin/sh busybox 775 0 0
+slink /recovery/sbin/sha1sum busybox 775 0 0
+slink /recovery/sbin/sha256sum busybox 775 0 0
+slink /recovery/sbin/sha512sum busybox 775 0 0
+slink /recovery/sbin/sleep busybox 775 0 0
+slink /recovery/sbin/sort busybox 775 0 0
+slink /recovery/sbin/split busybox 775 0 0
+slink /recovery/sbin/stat busybox 775 0 0
+slink /recovery/sbin/strings busybox 775 0 0
+slink /recovery/sbin/stty busybox 775 0 0
+slink /recovery/sbin/swapoff busybox 775 0 0
+slink /recovery/sbin/swapon busybox 775 0 0
+slink /recovery/sbin/sync busybox 775 0 0
+slink /recovery/sbin/sysctl busybox 775 0 0
+slink /recovery/sbin/tac busybox 775 0 0
+slink /recovery/sbin/tail busybox 775 0 0
+slink /recovery/sbin/tar busybox 775 0 0
+slink /recovery/sbin/tee busybox 775 0 0
+slink /recovery/sbin/test busybox 775 0 0
+slink /recovery/sbin/time busybox 775 0 0
+slink /recovery/sbin/top busybox 775 0 0
+slink /recovery/sbin/touch busybox 775 0 0
+slink /recovery/sbin/tr busybox 775 0 0
+slink /recovery/sbin/true busybox 775 0 0
+slink /recovery/sbin/ttysize busybox 775 0 0
+slink /recovery/sbin/ueventd ../init 775 0 0
+slink /recovery/sbin/umount busybox 775 0 0
+slink /recovery/sbin/uname busybox 775 0 0
+slink /recovery/sbin/unexpand busybox 775 0 0
+slink /recovery/sbin/uniq busybox 775 0 0
+slink /recovery/sbin/unix2dos busybox 775 0 0
+slink /recovery/sbin/unlzma busybox 775 0 0
+slink /recovery/sbin/unlzop busybox 775 0 0
+slink /recovery/sbin/unxz busybox 775 0 0
+slink /recovery/sbin/unyaffs recovery 775 0 0
+slink /recovery/sbin/unzip busybox 775 0 0
+slink /recovery/sbin/uptime busybox 775 0 0
+slink /recovery/sbin/usleep busybox 775 0 0
+slink /recovery/sbin/uudecode busybox 775 0 0
+slink /recovery/sbin/uuencode busybox 775 0 0
+slink /recovery/sbin/volume recovery 775 0 0
+slink /recovery/sbin/watch busybox 775 0 0
+slink /recovery/sbin/wc busybox 775 0 0
+slink /recovery/sbin/which busybox 775 0 0
+slink /recovery/sbin/whoami busybox 775 0 0
+slink /recovery/sbin/xargs busybox 775 0 0
+slink /recovery/sbin/xzcat busybox 775 0 0
+slink /recovery/sbin/yes busybox 775 0 0
+slink /recovery/sbin/zcat busybox 775 0 0
+slink /sbin/ueventd ../init 775 0 0
View
BIN lib/modules/bthid.ko
Binary file not shown.
View
BIN lib/modules/cyasswitch.ko
Binary file not shown.
View
BIN lib/modules/dhd.ko
Binary file not shown.
View
BIN lib/modules/j4fs.ko
Binary file not shown.
View
BIN lib/modules/scsi_wait_scan.ko
Binary file not shown.
View
BIN lib/modules/vibrator.ko
Binary file not shown.
View
18 recovery.rc
@@ -8,22 +8,22 @@ on init
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
- symlink /system/etc /etc
-
+ mkdir /etc
mkdir /sdcard
mkdir /preload
mkdir /system
- mkdir /system2
+ mkdir /system/bin
mkdir /data
mkdir /cache
mkdir /efs
mkdir /tmp
mkdir /dbdata
mkdir /persist
+ mkdir /emmc
mkdir /mnt 0775 root root
- #mount /tmp /tmp tmpfs
+ #mount /tmp /tmp tmpfs
on early-fs
@@ -38,7 +38,7 @@ on early-fs
on fs
mount tmpfs tmpfs /tmp mode=0755
- mount ext4 /dev/block/mmcblk0p9 /system wait
+ mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait errors=panic
# SEC_DMCRYPT move mounting efs befor apply_disk_policy, and set group id to system
mkdir /efs
@@ -47,14 +47,11 @@ on fs
chown radio system /efs
chmod 0771 /efs
- # verfiy filesystem (UMS)
- exec apply_system_policy /dev/block/mmcblk0p11 vfat
-
on post-fs
#temp
chmod 750 /sbin/fat.format
- mount rootfs rootfs / ro remount
+ mount rootfs rootfs / rw remount
write /proc/sys/kernel/panic_on_oops 1
write /proc/sys/kernel/hung_task_timeout_secs 0
@@ -78,9 +75,6 @@ on boot
service ueventd /sbin/ueventd
critical
-service console /system/bin/sh
- console
-
service recovery /sbin/recovery
service adbd /sbin/adbd recovery
View
75 recovery/default.prop
@@ -0,0 +1,75 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=0
+ro.allow.mock.location=1
+ro.debuggable=1
+persist.service.adb.enable=1
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=GINGERBREAD
+ro.build.display.id=full_epic4gtouch-eng 2.3.7 GINGERBREAD eng.koush.20111026.205315 test-keys
+ro.build.version.incremental=eng.koush.20111026.205315
+ro.build.version.sdk=10
+ro.build.version.codename=REL
+ro.build.version.release=2.3.7
+ro.build.date=Wed Oct 26 20:53:40 PDT 2011
+ro.build.date.utc=1319687620
+ro.build.type=eng
+ro.build.user=koush
+ro.build.host=Koushik-Lion.local
+ro.build.tags=test-keys
+ro.product.model=SPH-D710
+ro.product.brand=samsung
+ro.product.name=full_epic4gtouch
+ro.product.device=epic4gtouch
+ro.product.board=SPH-D710
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=samsung
+ro.product.locale.language=hdpi
+ro.product.locale.region=
+ro.wifi.channels=
+ro.board.platform=smdkv310
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=epic4gtouch
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=full_epic4gtouch-eng 2.3.7 GINGERBREAD eng.koush.20111026.205315 test-keys
+ro.build.fingerprint=samsung/full_epic4gtouch/epic4gtouch:2.3.7/GINGERBREAD/eng.koush.20111026.205315:eng/test-keys
+# end build properties
+#
+# system.prop for asop5000
+#
+
+rild.libpath=/system/lib/libsec-ril.so
+rild.libargs=-d /dev/ttyS0
+ro.sf.lcd_density=240
+dalvik.vm.heapsize=64m
+
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+ro.opengles.version=131072
+wifi.interface=eth0
+wifi.supplicant_scan_interval=20
+ro.telephony.ril_class=samsung
+ro.telephony.sends_barcount=1
+mobiledata.interfaces=pdp0,eth0,gprs,ppp0
+dalvik.vm.heapsize=64m
+persist.service.usb.setting=0
+dev.sfbootcomplete=0
+ro.com.google.locationfeatures=1
+ro.com.google.networklocation=1
+ro.kernel.android.checkjni=0
+dalvik.vm.checkjni=false
+keyguard.no_require_sim=true
+ro.ril.hsxpa=1
+ro.ril.gprsclass=10
+ro.config.notification_sound=OnTheHunt.ogg
+ro.config.alarm_alert=Alarm_Classic.ogg
+ro.kernel.android.checkjni=1
+ro.setupwizard.mode=OPTIONAL
+dalvik.vm.dexopt-flags=m=y
+net.bt.name=Android
+dalvik.vm.stack-trace-file=/data/anr/traces.txt
View
12 recovery/etc/recovery.fstab
@@ -0,0 +1,12 @@
+# mount point fstype device
+
+/boot emmc /dev/block/mmcblk0p5
+/recovery emmc /dev/block/mmcblk0p6
+
+/efs ext4 /dev/block/mmcblk0p1
+/cache ext4 /dev/block/mmcblk0p7
+/system ext4 /dev/block/mmcblk0p9
+/data ext4 /dev/block/mmcblk0p10
+
+/sdcard vfat /dev/block/cyasblkdevblk0p1 /dev/block/cyasblkdevblk0
+/emmc vfat /dev/block/mmcblk0p11
View
BIN recovery/init
Binary file not shown.
View
80 recovery/init.rc
@@ -0,0 +1,80 @@
+on early-init
+ start ueventd
+
+on init
+ export PATH /sbin
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+ export EXTERNAL_STORAGE /sdcard
+
+ symlink /system/etc /etc
+
+ mkdir /boot
+ mkdir /sdcard
+ mkdir /sd-ext
+ mkdir /datadata
+ mkdir /emmc
+ mkdir /system
+ mkdir /data
+ mkdir /cache
+ mkdir /efs
+
+ mount /tmp /tmp tmpfs
+
+ mkdir /mnt 0775 root root
+
+on early-fs
+
+ # parameter block
+ mkdir /mnt/.lfs 0755 root root
+ insmod /lib/modules/j4fs.ko
+ mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
+
+on fs
+ mount tmpfs tmpfs /tmp mode=0755
+ mount ext4 /dev/block/mmcblk0p9 /system wait rw
+
+ # SEC_DMCRYPT move mounting efs befor apply_disk_policy, and set group id to system
+ mkdir /efs
+ mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait
+ chown radio system /efs
+ chmod 0771 /efs
+
+ # verfiy filesystem (UMS)
+ exec apply_system_policy /dev/block/mmcblk0p11 vfat
+
+on post-fs
+ write /proc/sys/kernel/panic_on_oops 1
+ write /proc/sys/kernel/hung_task_timeout_secs 0
+ write /proc/cpu/alignment 4
+ write /proc/sys/kernel/sched_latency_ns 10000000
+ write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
+ write /proc/sys/kernel/sched_compat_yield 1
+ write /proc/sys/kernel/sched_child_runs_first 0
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ umount /system
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service console /sbin/sh
+ console
+
+service recovery /sbin/recovery
+
+service adbd /sbin/adbd recovery
+ disabled
+
+on property:persist.service.adb.enable=1
+ start adbd
+
+on property:persist.service.adb.enable=0
+ stop adbd
View
85 recovery/lpm.rc
@@ -0,0 +1,85 @@
+on early-init
+ start ueventd
+
+on init
+
+ export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
+ export LD_LIBRARY_PATH /vendor/lib:/system/lib
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+ export EXTERNAL_STORAGE /mnt/sdcard
+
+ symlink /system/etc /etc
+ mkdir /mnt 0775 root system
+ mkdir /mnt/sdcard 0000 system system
+ symlink /mnt/sdcard /sdcard
+
+ mkdir /preload
+ mkdir /system
+ mkdir /data
+ mkdir /cache
+ mkdir /efs
+ mkdir /tmp
+ mkdir /dbdata
+ mkdir /mnt 0775 root root
+ mkdir /mnt/.lfs 0775 root root
+ #mount /tmp /tmp tmpfs
+
+on early-fs
+ insmod /lib/modules/j4fs.ko
+ mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs ro
+ insmod /lib/modules/vibrator.ko
+
+ mount ext4 /dev/block/mmcblk0p9 /system wait ro
+ mount ext4 /dev/block/mmcblk0p10 /data nosuid nodev noatime wait
+
+ mkdir /data/log 0777
+ mkdir /data/anr 0777
+
+ chmod 0666 /dev/log/radio
+ chmod 0666 /dev/log/main
+ chmod 0666 /dev/log/event
+
+ mount ext4 /dev/block/mmcblk0p10 /data remount ro
+
+on boot
+# write /sys/class/sec/switch/usb_sel PDA
+
+# CPU Frequency Governor
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service debuggerd /system/bin/debuggerd
+
+ service ueventd /sbin/ueventd
+ critical
+
+#service console /bin/sh
+service console /system/bin/sh
+ console
+
+service playlpm /system/bin/playlpm
+ user root
+
+service lpmkey /system/bin/charging_mode
+ user root
+
+# adbd is controlled by the persist.service.adb.enable system property
+service adbd /sbin/adbd
+# disabled
+
+# adbd on at boot in emulator
+on property:ro.kernel.qemu=1
+ start adbd
+
+on property:persist.service.adb.enable=1
+ start adbd
+
+on property:persist.service.adb.enable=0
+# stop adbd
+
View
BIN recovery/res/images/icon_clockwork.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/icon_error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/icon_firmware_error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/icon_firmware_install.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/icon_installing.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/indeterminate6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/progress_empty.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN recovery/res/images/progress_fill.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1 recovery/res/keys
@@ -0,0 +1 @@
+{64,0xc926ad21,{1795090719,2141396315,950055447,2581568430,4268923165,1920809988,546586521,3498997798,1776797858,3740060814,1805317999,1429410244,129622599,1422441418,1783893377,1222374759,2563319927,323993566,28517732,609753416,1826472888,215237850,4261642700,4049082591,3228462402,774857746,154822455,2497198897,2758199418,3019015328,2794777644,87251430,2534927978,120774784,571297800,3695899472,2479925187,3811625450,3401832990,2394869647,3267246207,950095497,555058928,414729973,1136544882,3044590084,465547824,4058146728,2731796054,1689838846,3890756939,1048029507,895090649,247140249,178744550,3547885223,3165179243,109881576,3944604415,1044303212,3772373029,2985150306,3737520932,3599964420},{3437017481,3784475129,2800224972,3086222688,251333580,2131931323,512774938,325948880,2657486437,2102694287,3820568226,792812816,1026422502,2053275343,2800889200,3113586810,165549746,4273519969,4065247892,1902789247,772932719,3941848426,3652744109,216871947,3164400649,1942378755,3996765851,1055777370,964047799,629391717,2232744317,3910558992,191868569,2758883837,3682816752,2997714732,2702529250,3570700455,3776873832,3924067546,3555689545,2758825434,1323144535,61311905,1997411085,376844204,213777604,4077323584,9135381,1625809335,2804742137,2952293945,1117190829,4237312782,1825108855,3013147971,1111251351,2568837572,1684324211,2520978805,367251975,810756730,2353784344,1175080310}}
View
1 recovery/sbin/[
View
1 recovery/sbin/[[
View
BIN recovery/sbin/adbd
Binary file not shown.
View
1 recovery/sbin/ash
View
1 recovery/sbin/awk
View
1 recovery/sbin/basename
View
1 recovery/sbin/bbconfig
View
1 recovery/sbin/bunzip2
View
1 recovery/sbin/busybox
View
1 recovery/sbin/bzcat
View
1 recovery/sbin/bzip2
View
1 recovery/sbin/cal
View
1 recovery/sbin/cat
View
1 recovery/sbin/catv
View
1 recovery/sbin/chattr
View
1 recovery/sbin/chgrp
View
1 recovery/sbin/chmod
View
1 recovery/sbin/chown
View
1 recovery/sbin/chroot
View
1 recovery/sbin/cksum
View
1 recovery/sbin/clear
View
1 recovery/sbin/cmp
View
1 recovery/sbin/cp
View
1 recovery/sbin/cpio
View
1 recovery/sbin/cut
View
1 recovery/sbin/date
View
1 recovery/sbin/dc
View
1 recovery/sbin/dd
View
1 recovery/sbin/depmod
View
1 recovery/sbin/devmem
View
1 recovery/sbin/df
View
1 recovery/sbin/diff
View
1 recovery/sbin/dirname
View
1 recovery/sbin/dmesg
View
1 recovery/sbin/dos2unix
View
1 recovery/sbin/du
View
1 recovery/sbin/dump_image
View
BIN recovery/sbin/e2fsck
Binary file not shown.
View
1 recovery/sbin/echo
View
1 recovery/sbin/edify
View
1 recovery/sbin/egrep
View
1 recovery/sbin/env
View
1 recovery/sbin/erase_image
View
1 recovery/sbin/expand
View
1 recovery/sbin/expr
View
1 recovery/sbin/false
View
1 recovery/sbin/fdisk
View
1 recovery/sbin/fgrep
View
1 recovery/sbin/find
View
484 recovery/sbin/fix_permissions
@@ -0,0 +1,484 @@
+#! /system/bin/sh
+#
+# Warning: if you want to run this script in cm-recovery change the above to #!/sbin/sh
+#
+# fix_permissions - fixes permissions on Android data directories after upgrade
+# shade@chemlab.org
+#
+# original concept: http://blog.elsdoerfer.name/2009/05/25/android-fix-package-uid-mismatches/
+# implementation by: Cyanogen
+# improved by: ankn, smeat, thenefield, farmatito, rikupw, Kastro
+#
+# v1.1-v1.31r3 - many improvements and concepts from XDA developers.
+# v1.34 through v2.00 - A lot of frustration [by Kastro]
+# v2.01 - Completely rewrote the script for SPEED, thanks for the input farmatito
+# /data/data depth recursion is tweaked;
+# fixed single mode;
+# functions created for modularity;
+# logging can be disabled via CLI for more speed;
+# runtime computation added to end (Runtime: mins secs);
+# progress (current # of total) added to screen;
+# fixed CLI argument parsing, now you can have more than one option!;
+# debug cli option;
+# verbosity can be disabled via CLI option for less noise;;
+# [by Kastro, (XDA: k4str0), twitter;mattcarver]
+# v2.02 - ignore com.htc.resources.apk if it exists and minor code cleanups,
+# fix help text, implement simulated run (-s) [farmatito]
+# v2.03 - fixed chown group ownership output [Kastro]
+# v2.04 - replaced /system/sd with $SD_EXT_DIRECTORY [Firerat]
+VERSION="2.04"
+
+# Defaults
+DEBUG=0 # Debug off by default
+LOGGING=1 # Logging on by default
+VERBOSE=1 # Verbose on by default
+
+# Messages
+UID_MSG="Changing user ownership for:"
+GID_MSG="Changing group ownership for:"
+PERM_MSG="Changing permissions for:"
+
+# Programs needed
+ECHO="busybox echo"
+GREP="busybox grep"
+EGREP="busybox egrep"
+CAT="busybox cat"
+CHOWN="busybox chown"
+CHMOD="busybox chmod"
+MOUNT="busybox mount"
+UMOUNT="busybox umount"
+CUT="busybox cut"
+FIND="busybox find"
+LS="busybox ls"
+TR="busybox tr"
+TEE="busybox tee"
+TEST="busybox test"
+SED="busybox sed"
+RM="busybox rm"
+WC="busybox wc"
+EXPR="busybox expr"
+DATE="busybox date"
+
+# Initialise vars
+CODEPATH=""
+UID=""
+GID=""
+PACKAGE=""
+REMOVE=0
+NOSYSTEM=0
+ONLY_ONE=""
+SIMULATE=0
+SYSREMOUNT=0
+SYSMOUNT=0
+DATAMOUNT=0
+SYSSDMOUNT=0
+FP_STARTTIME=$( $DATE +"%m-%d-%Y %H:%M:%S" )
+FP_STARTEPOCH=$( $DATE +%s )
+if $TEST "$SD_EXT_DIRECTORY" = ""; then
+ #check for mount point, /system/sd included in tests for backward compatibility
+ for MP in /sd-ext /system/sd;do
+ if $TEST -d $MP; then
+ SD_EXT_DIRECTORY=$MP
+ break
+ fi
+ done
+fi
+fp_usage()
+{
+ $ECHO "Usage $0 [OPTIONS] [APK_PATH]"
+ $ECHO " -d turn on debug"
+ $ECHO " -f fix only package APK_PATH"
+ $ECHO " -l disable logging for this run (faster)"
+ $ECHO " -r remove stale data directories"
+ $ECHO " of uninstalled packages while fixing permissions"
+ $ECHO " -s simulate only"
+ $ECHO " -u check only non-system directories"
+ $ECHO " -v disable verbosity for this run (less output)"
+ $ECHO " -V print version"
+ $ECHO " -h this help"
+}
+
+fp_parseargs()
+{
+ # Parse options
+ while $TEST $# -ne 0; do
+ case "$1" in
+ -d)
+ DEBUG=1
+ ;;
+ -f)
+ if $TEST $# -lt 2; then
+ $ECHO "$0: missing argument for option $1"
+ exit 1
+ else
+ if $TEST $( $ECHO $2 | $CUT -c1 ) != "-"; then
+ ONLY_ONE=$2
+ shift;
+ else
+ $ECHO "$0: missing argument for option $1"
+ exit 1
+ fi
+ fi
+ ;;
+ -r)
+ REMOVE=1
+ ;;
+ -s)
+ SIMULATE=1
+ ;;
+ -l)
+ if $TEST $LOGGING -eq 0; then
+ LOGGING=1
+ else
+ LOGGING=0
+ fi
+ ;;
+ -v)
+ if $TEST $VERBOSE -eq 0; then
+ VERBOSE=1
+ else
+ VERBOSE=0
+ fi
+ ;;
+ -u)
+ NOSYSTEM=1
+ ;;
+ -V)
+ $ECHO "$0 $VERSION"
+ exit 0
+ ;;
+ -h)
+ fp_usage
+ exit 0
+ ;;
+ -*)
+ $ECHO "$0: unknown option $1"
+ $ECHO
+ fp_usage
+ exit 1
+ ;;
+ esac
+ shift;
+ done
+}
+
+fp_print()
+{
+ MSG=$@
+ if $TEST $LOGGING -eq 1; then
+ $ECHO $MSG | $TEE -a $LOG_FILE
+ else
+ $ECHO $MSG
+ fi
+}
+
+fp_start()
+{
+ if $TEST $SIMULATE -eq 0 ; then
+ if $TEST $( $GREP -c " /system " "/proc/mounts" ) -ne 0; then
+ DEVICE=$( $GREP " /system " "/proc/mounts" | $CUT -d ' ' -f1 )
+ if $TEST $DEBUG -eq 1; then
+ fp_print "/system mounted on $DEVICE"
+ fi
+ if $TEST $( $GREP " /system " "/proc/mounts" | $GREP -c " ro " ) -ne 0; then
+ $MOUNT -o remount,rw $DEVICE /system
+ SYSREMOUNT=1
+ fi
+ else
+ $MOUNT /system > /dev/null 2>&1
+ SYSMOUNT=1
+ fi
+
+ if $TEST $( $GREP -c " /data " "/proc/mounts" ) -eq 0; then
+ $MOUNT /data > /dev/null 2>&1
+ DATAMOUNT=1
+ fi
+
+ if $TEST -e /dev/block/mmcblk0p2 && $TEST $( $GREP -c " $SD_EXT_DIRECTORY " "/proc/mounts" ) -eq 0; then
+ $MOUNT $SD_EXT_DIRECTORY > /dev/null 2>&1
+ SYSSDMOUNT=1
+ fi
+ fi
+ if $TEST $( $MOUNT | $GREP -c /sdcard ) -eq 0; then
+ LOG_FILE="/data/fix_permissions.log"
+ else
+ LOG_FILE="/sdcard/fix_permissions.log"
+ fi
+ if $TEST ! -e "$LOG_FILE"; then
+ > $LOG_FILE
+ fi
+
+ fp_print "$0 $VERSION started at $FP_STARTTIME"
+}
+
+fp_chown_uid()
+{
+ FP_OLDUID=$1
+ FP_UID=$2
+ FP_FILE=$3
+
+ #if user ownership doesn't equal then change them
+ if $TEST "$FP_OLDUID" != "$FP_UID"; then
+ if $TEST $VERBOSE -ne 0; then
+ fp_print "$UID_MSG $FP_FILE from '$FP_OLDUID' to '$FP_UID'"
+ fi
+ if $TEST $SIMULATE -eq 0; then
+ $CHOWN $FP_UID "$FP_FILE"
+ fi
+ fi
+}
+
+fp_chown_gid()
+{
+ FP_OLDGID=$1
+ FP_GID=$2
+ FP_FILE=$3
+
+ #if group ownership doesn't equal then change them
+ if $TEST "$FP_OLDGID" != "$FP_GID"; then
+ if $TEST $VERBOSE -ne 0; then
+ fp_print "$GID_MSG $FP_FILE from '$FP_OLDGID' to '$FP_GID'"
+ fi
+ if $TEST $SIMULATE -eq 0; then
+ $CHOWN :$FP_GID "$FP_FILE"
+ fi
+ fi
+}
+
+fp_chmod()
+{
+ FP_OLDPER=$1
+ FP_OLDPER=$( $ECHO $FP_OLDPER | cut -c2-10 )
+ FP_PERSTR=$2
+ FP_PERNUM=$3
+ FP_FILE=$4
+
+ #if the permissions are not equal
+ if $TEST "$FP_OLDPER" != "$FP_PERSTR"; then
+ if $TEST $VERBOSE -ne 0; then
+ fp_print "$PERM_MSG $FP_FILE from '$FP_OLDPER' to '$FP_PERSTR' ($FP_PERNUM)"
+ fi
+ #change the permissions
+ if $TEST $SIMULATE -eq 0; then
+ $CHMOD $FP_PERNUM "$FP_FILE"
+ fi
+ fi
+}
+
+fp_all()
+{
+ FP_NUMS=$( $CAT /data/system/packages.xml | $EGREP "^<package.*serId" | $GREP -v framework-res.apk | $GREP -v com.htc.resources.apk | $WC -l )
+ I=0
+ $CAT /data/system/packages.xml | $EGREP "^<package.*serId" | $GREP -v framework-res.apk | $GREP -v com.htc.resources.apk | while read all_line; do
+ I=$( $EXPR $I + 1 )
+ fp_package "$all_line" $I $FP_NUMS
+ done
+}
+
+fp_single()
+{
+ FP_SFOUND=$( $CAT /data/system/packages.xml | $EGREP "^<package.*serId" | $GREP -v framework-res.apk | $GREP -v com.htc.resources.apk | $GREP -i $ONLY_ONE | wc -l )
+ if $TEST $FP_SFOUND -gt 1; then
+ fp_print "Cannot perform single operation on $FP_SFOUND matched package(s)."
+ elif $TEST $FP_SFOUND = "" -o $FP_SFOUND -eq 0; then
+ fp_print "Could not find the package you specified in the packages.xml file."
+ else
+ FP_SPKG=$( $CAT /data/system/packages.xml | $EGREP "^<package.*serId" | $GREP -v framework-res.apk | $GREP -v com.htc.resources.apk | $GREP -i $ONLY_ONE )
+ fp_package "${FP_SPKG}" 1 1
+ fi
+}
+
+fp_package()
+{
+ pkgline=$1
+ curnum=$2
+ endnum=$3
+ CODEPATH=$( $ECHO $pkgline | $SED 's%.* codePath="\(.*\)".*%\1%' | $CUT -d '"' -f1 )
+ PACKAGE=$( $ECHO $pkgline | $SED 's%.* name="\(.*\)".*%\1%' | $CUT -d '"' -f1 )
+ UID=$( $ECHO $pkgline | $SED 's%.*serId="\(.*\)".*%\1%' | $CUT -d '"' -f1 )
+ GID=$UID
+ APPDIR=$( $ECHO $CODEPATH | $SED 's%^\(.*\)/.*%\1%' )
+ APK=$( $ECHO $CODEPATH | $SED 's%^.*/\(.*\..*\)$%\1%' )
+
+ #debug
+ if $TEST $DEBUG -eq 1; then
+ fp_print "CODEPATH: $CODEPATH APPDIR: $APPDIR APK:$APK UID/GID:$UID:$GID"
+ fi
+
+ #check for existence of apk
+ if $TEST -e $CODEPATH; then
+ fp_print "Processing ($curnum of $endnum): $PACKAGE..."
+
+ #lets get existing permissions of CODEPATH
+ OLD_UGD=$( $LS -ln "$CODEPATH" )
+ OLD_PER=$( $ECHO $OLD_UGD | $CUT -d ' ' -f1 )
+ OLD_UID=$( $ECHO $OLD_UGD | $CUT -d ' ' -f3 )
+ OLD_GID=$( $ECHO $OLD_UGD | $CUT -d ' ' -f4 )
+
+ #apk source dirs
+ if $TEST "$APPDIR" = "/system/app"; then
+ #skip system apps if set
+ if $TEST "$NOSYSTEM" = "1"; then
+ fp_print "***SKIPPING SYSTEM APP ($PACKAGE)!"
+ return
+ fi
+ fp_chown_uid $OLD_UID 0 "$CODEPATH"
+ fp_chown_gid $OLD_GID 0 "$CODEPATH"
+ fp_chmod $OLD_PER "rw-r--r--" 644 "$CODEPATH"
+ elif $TEST "$APPDIR" = "/data/app" || $TEST "$APPDIR" = "/sd-ext/app"; then
+ fp_chown_uid $OLD_UID 1000 "$CODEPATH"
+ fp_chown_gid $OLD_GID 1000 "$CODEPATH"
+ fp_chmod $OLD_PER "rw-r--r--" 644 "$CODEPATH"
+ elif $TEST "$APPDIR" = "/data/app-private" || $TEST "$APPDIR" = "/sd-ext/app-private"; then
+ fp_chown_uid $OLD_UID 1000 "$CODEPATH"
+ fp_chown_gid $OLD_GID $GID "$CODEPATH"
+ fp_chmod $OLD_PER "rw-r-----" 640 "$CODEPATH"
+ fi
+ else
+ fp_print "$CODEPATH does not exist ($curnum of $endnum). Reinstall..."
+ if $TEST $REMOVE -eq 1; then
+ if $TEST -d /data/data/$PACKAGE ; then
+ fp_print "Removing stale dir /data/data/$PACKAGE"
+ if $TEST $SIMULATE -eq 0 ; then
+ $RM -R /data/data/$PACKAGE
+ fi
+ fi
+ fi
+ fi
+
+ #the data/data for the package
+ if $TEST -d "/data/data/$PACKAGE"; then
+ #find all directories in /data/data/$PACKAGE
+ $FIND /data/data/$PACKAGE -type d -exec $LS -ldn {} \; | while read dataline; do
+ #get existing permissions of that directory
+ OLD_PER=$( $ECHO $dataline | $CUT -d ' ' -f1 )
+ OLD_UID=$( $ECHO $dataline | $CUT -d ' ' -f3 )
+ OLD_GID=$( $ECHO $dataline | $CUT -d ' ' -f4 )
+ FILEDIR=$( $ECHO $dataline | $CUT -d ' ' -f9 )
+ FOURDIR=$( $ECHO $FILEDIR | $CUT -d '/' -f5 )
+
+ #set defaults for iteration
+ ISLIB=0
+ REVPERM=755
+ REVPSTR="rwxr-xr-x"
+ REVUID=$UID
+ REVGID=$GID
+
+ if $TEST "$FOURDIR" = ""; then
+ #package directory, perms:755 owner:$UID:$GID
+ fp_chmod $OLD_PER "rwxr-xr-x" 755 "$FILEDIR"
+ elif $TEST "$FOURDIR" = "lib"; then
+ #lib directory, perms:755 owner:1000:1000
+ #lib files, perms:755 owner:1000:1000
+ ISLIB=1
+ REVPERM=755
+ REVPSTR="rwxr-xr-x"
+ REVUID=1000
+ REVGID=1000
+ fp_chmod $OLD_PER "rwxr-xr-x" 755 "$FILEDIR"
+ elif $TEST "$FOURDIR" = "shared_prefs"; then
+ #shared_prefs directories, perms:771 owner:$UID:$GID
+ #shared_prefs files, perms:660 owner:$UID:$GID
+ REVPERM=660
+ REVPSTR="rw-rw----"
+ fp_chmod $OLD_PER "rwxrwx--x" 771 "$FILEDIR"
+ elif $TEST "$FOURDIR" = "databases"; then
+ #databases directories, perms:771 owner:$UID:$GID
+ #databases files, perms:660 owner:$UID:$GID
+ REVPERM=660
+ REVPSTR="rw-rw----"
+ fp_chmod $OLD_PER "rwxrwx--x" 771 "$FILEDIR"
+ elif $TEST "$FOURDIR" = "cache"; then
+ #cache directories, perms:771 owner:$UID:$GID
+ #cache files, perms:600 owner:$UID:GID
+ REVPERM=600
+ REVPSTR="rw-------"
+ fp_chmod $OLD_PER "rwxrwx--x" 771 "$FILEDIR"
+ else
+ #other directories, perms:771 owner:$UID:$GID
+ REVPERM=771
+ REVPSTR="rwxrwx--x"
+ fp_chmod $OLD_PER "rwxrwx--x" 771 "$FILEDIR"
+ fi
+
+ #change ownership of directories matched
+ if $TEST "$ISLIB" = "1"; then
+ fp_chown_uid $OLD_UID 1000 "$FILEDIR"
+ fp_chown_gid $OLD_GID 1000 "$FILEDIR"
+ else
+ fp_chown_uid $OLD_UID $UID "$FILEDIR"
+ fp_chown_gid $OLD_GID $GID "$FILEDIR"
+ fi
+
+ #if any files exist in directory with improper permissions reset them
+ $FIND $FILEDIR -type f -maxdepth 1 ! -perm $REVPERM -exec $LS -ln {} \; | while read subline; do
+ OLD_PER=$( $ECHO $subline | $CUT -d ' ' -f1 )
+ SUBFILE=$( $ECHO $subline | $CUT -d ' ' -f9 )
+ fp_chmod $OLD_PER $REVPSTR $REVPERM "$SUBFILE"
+ done
+
+ #if any files exist in directory with improper user reset them
+ $FIND $FILEDIR -type f -maxdepth 1 ! -user $REVUID -exec $LS -ln {} \; | while read subline; do
+ OLD_UID=$( $ECHO $subline | $CUT -d ' ' -f3 )
+ SUBFILE=$( $ECHO $subline | $CUT -d ' ' -f9 )
+ fp_chown_uid $OLD_UID $REVUID "$SUBFILE"
+ done
+
+ #if any files exist in directory with improper group reset them
+ $FIND $FILEDIR -type f -maxdepth 1 ! -group $REVGID -exec $LS -ln {} \; | while read subline; do
+ OLD_GID=$( $ECHO $subline | $CUT -d ' ' -f4 )
+ SUBFILE=$( $ECHO $subline | $CUT -d ' ' -f9 )
+ fp_chown_gid $OLD_GID $REVGID "$SUBFILE"
+ done
+ done
+ fi
+}
+
+date_diff()
+{
+ if $TEST $# -ne 2; then
+ FP_DDM="E"
+ FP_DDS="E"
+ return
+ fi
+ FP_DDD=$( $EXPR $2 - $1 )
+ FP_DDM=$( $EXPR $FP_DDD / 60 )
+ FP_DDS=$( $EXPR $FP_DDD % 60 )
+}
+
+fp_end()
+{
+ if $TEST $SYSREMOUNT -eq 1; then
+ $MOUNT -o remount,ro $DEVICE /system > /dev/null 2>&1
+ fi
+
+ if $TEST $SYSSDMOUNT -eq 1; then
+ $UMOUNT $SD_EXT_DIRECTORY > /dev/null 2>&1
+ fi
+
+ if $TEST $SYSMOUNT -eq 1; then
+ $UMOUNT /system > /dev/null 2>&1
+ fi
+
+ if $TEST $DATAMOUNT -eq 1; then
+ $UMOUNT /data > /dev/null 2>&1
+ fi
+
+ FP_ENDTIME=$( $DATE +"%m-%d-%Y %H:%M:%S" )
+ FP_ENDEPOCH=$( $DATE +%s )
+
+ date_diff $FP_STARTEPOCH $FP_ENDEPOCH
+
+ fp_print "$0 $VERSION ended at $FP_ENDTIME (Runtime:${FP_DDM}m${FP_DDS}s)"
+}
+
+#MAIN SCRIPT
+
+fp_parseargs $@
+fp_start
+if $TEST "$ONLY_ONE" != "" -a "$ONLY_ONE" != "0" ; then
+ fp_single "$ONLY_ONE"
+else
+ fp_all
+fi
+fp_end
View
1 recovery/sbin/flash_image
View
1 recovery/sbin/fold
View
1 recovery/sbin/free
View
1 recovery/sbin/freeramdisk
View
1 recovery/sbin/fuser
View
1 recovery/sbin/getopt
View
1 recovery/sbin/grep
View
1 recovery/sbin/groups
View
1 recovery/sbin/gunzip
View
1 recovery/sbin/gzip
View
1 recovery/sbin/head
View
1 recovery/sbin/hexdump
View
1 recovery/sbin/id
View
1 recovery/sbin/insmod
View
1 recovery/sbin/install
View
1 recovery/sbin/kill
View
1 recovery/sbin/killall
View
1 recovery/sbin/killall5
View
22 recovery/sbin/killrecovery.sh
@@ -0,0 +1,22 @@
+#!/sbin/sh
+mkdir -p /sd-ext
+rm /cache/recovery/command
+rm /cache/update.zip
+touch /tmp/.ignorebootmessage
+kill $(ps | grep /sbin/adbd)
+kill $(ps | grep /sbin/recovery)
+
+# On the Galaxy S, the recovery comes test signed, but the
+# recovery is not automatically restarted.
+if [ -f /init.smdkc110.rc ]
+then
+ /sbin/recovery &
+fi
+
+# Droid X
+if [ -f /init.mapphone_cdma.rc ]
+then
+ /sbin/recovery &
+fi
+
+exit 1
View
1 recovery/sbin/length
View
1 recovery/sbin/less
View
1 recovery/sbin/ln
View
1 recovery/sbin/losetup
View
1 recovery/sbin/ls
View
1 recovery/sbin/lsattr
View
1 recovery/sbin/lsmod
View
1 recovery/sbin/lspci
View
1 recovery/sbin/lsusb
View
1 recovery/sbin/lzcat
View
1 recovery/sbin/lzop
View
1 recovery/sbin/lzopcat
View
1 recovery/sbin/makedevs
View
1 recovery/sbin/md5sum
View
1 recovery/sbin/mkdir
View
1 recovery/sbin/mke2fs
View
1 recovery/sbin/mkfifo
View
1 recovery/sbin/mkfs.ext2
View
1 recovery/sbin/mknod
View
1 recovery/sbin/mkswap
View
1 recovery/sbin/mktemp
View
1 recovery/sbin/mkyaffs2image