Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

添加支持Pantech A820L A810S A800S

  • Loading branch information...
commit fcb772abe3fe51dd826ef89f59db3d97e0d96fb5 1 parent 65414e2
@syhost syhost authored
Showing with 2,245 additions and 0 deletions.
  1. +8 −0 device/pantech/ef65l/AndroidBoard.mk
  2. +2 −0  device/pantech/ef65l/AndroidProducts.mk
  3. +59 −0 device/pantech/ef65l/BoardConfig.mk
  4. +21 −0 device/pantech/ef65l/device_ef65l.mk
  5. +13 −0 device/pantech/ef65l/full_ef65l.mk
  6. +59 −0 device/pantech/ef65l/init.rc
  7. BIN  device/pantech/ef65l/kernel
  8. +13 −0 device/pantech/ef65l/recovery.fstab
  9. +3 −0  device/pantech/ef65l/system.prop
  10. +23 −0 device/pantech/ef65l/vendorsetup.sh
  11. +12 −0 patch_device/ef39s/Android.mk
  12. +16 −0 patch_device/ef39s/device.conf
  13. BIN  patch_device/ef39s/kernel
  14. +2 −0  patch_device/ef39s/readme
  15. +48 −0 patch_device/ef39s/root/default.prop
  16. +22 −0 patch_device/ef39s/root/etc/recovery.fstab
  17. BIN  patch_device/ef39s/root/init
  18. +50 −0 patch_device/ef39s/root/init.rc
  19. +11 −0 patch_device/ef39s/root/res/device.conf
  20. BIN  patch_device/ef39s/root/res/fonts/big.png
  21. BIN  patch_device/ef39s/root/res/fonts/small.png
  22. BIN  patch_device/ef39s/root/res/icons/alert.png
  23. BIN  patch_device/ef39s/root/res/icons/back.default.png
  24. BIN  patch_device/ef39s/root/res/icons/back.png
  25. BIN  patch_device/ef39s/root/res/icons/backup.png
  26. BIN  patch_device/ef39s/root/res/icons/confirm.png
  27. BIN  patch_device/ef39s/root/res/icons/default.png
  28. BIN  patch_device/ef39s/root/res/icons/dir.png
  29. BIN  patch_device/ef39s/root/res/icons/disable.png
  30. BIN  patch_device/ef39s/root/res/icons/enable.png
  31. BIN  patch_device/ef39s/root/res/icons/file.png
  32. BIN  patch_device/ef39s/root/res/icons/info.about.png
  33. BIN  patch_device/ef39s/root/res/icons/info.log.png
  34. BIN  patch_device/ef39s/root/res/icons/info.mount.png
  35. BIN  patch_device/ef39s/root/res/icons/info.png
  36. BIN  patch_device/ef39s/root/res/icons/install.png
  37. BIN  patch_device/ef39s/root/res/icons/lang.cn.png
  38. BIN  patch_device/ef39s/root/res/icons/lang.en.png
  39. BIN  patch_device/ef39s/root/res/icons/mount.png
  40. BIN  patch_device/ef39s/root/res/icons/power.png
  41. BIN  patch_device/ef39s/root/res/icons/reboot.bootloader.png
  42. BIN  patch_device/ef39s/root/res/icons/reboot.png
  43. BIN  patch_device/ef39s/root/res/icons/reboot.recovery.png
  44. BIN  patch_device/ef39s/root/res/icons/sd.choose.png
  45. BIN  patch_device/ef39s/root/res/icons/sd.install.png
  46. BIN  patch_device/ef39s/root/res/icons/sd.png
  47. BIN  patch_device/ef39s/root/res/icons/title.back.focused.png
  48. BIN  patch_device/ef39s/root/res/icons/title.back.png
  49. BIN  patch_device/ef39s/root/res/icons/title.back.pushed.png
  50. BIN  patch_device/ef39s/root/res/icons/tool.battery.png
  51. BIN  patch_device/ef39s/root/res/icons/tool.calibrate.png
  52. BIN  patch_device/ef39s/root/res/icons/tool.log.png
  53. BIN  patch_device/ef39s/root/res/icons/tool.permission.png
  54. BIN  patch_device/ef39s/root/res/icons/tool.png
  55. BIN  patch_device/ef39s/root/res/icons/wipe.png
  56. +1 −0  patch_device/ef39s/root/res/keys
  57. +116 −0 patch_device/ef39s/root/res/langs/cn.lang
  58. +114 −0 patch_device/ef39s/root/res/langs/en.lang
  59. BIN  patch_device/ef39s/root/res/themes/miui4/bg.png
  60. BIN  patch_device/ef39s/root/res/themes/miui4/button.9.png
  61. BIN  patch_device/ef39s/root/res/themes/miui4/button_focus.9.png
  62. BIN  patch_device/ef39s/root/res/themes/miui4/button_press.9.png
  63. BIN  patch_device/ef39s/root/res/themes/miui4/cb.png
  64. BIN  patch_device/ef39s/root/res/themes/miui4/cb_focus.png
  65. BIN  patch_device/ef39s/root/res/themes/miui4/cb_on.png
  66. BIN  patch_device/ef39s/root/res/themes/miui4/cb_on_focus.png
  67. BIN  patch_device/ef39s/root/res/themes/miui4/cb_on_press.png
  68. BIN  patch_device/ef39s/root/res/themes/miui4/cb_press.png
  69. BIN  patch_device/ef39s/root/res/themes/miui4/dialog.9.png
  70. BIN  patch_device/ef39s/root/res/themes/miui4/dialog_titlebar.9.png
  71. BIN  patch_device/ef39s/root/res/themes/miui4/font.roboto.big.png
  72. BIN  patch_device/ef39s/root/res/themes/miui4/font.roboto.small.png
  73. BIN  patch_device/ef39s/root/res/themes/miui4/icon.agreement.png
  74. BIN  patch_device/ef39s/root/res/themes/miui4/icon.alert.png
  75. BIN  patch_device/ef39s/root/res/themes/miui4/icon.apps.png
  76. BIN  patch_device/ef39s/root/res/themes/miui4/icon.confirm.png
  77. BIN  patch_device/ef39s/root/res/themes/miui4/icon.customize.png
  78. BIN  patch_device/ef39s/root/res/themes/miui4/icon.default.png
  79. BIN  patch_device/ef39s/root/res/themes/miui4/icon.info.png
  80. BIN  patch_device/ef39s/root/res/themes/miui4/icon.install.png
  81. BIN  patch_device/ef39s/root/res/themes/miui4/icon.license.png
  82. BIN  patch_device/ef39s/root/res/themes/miui4/icon.personalize.png
  83. BIN  patch_device/ef39s/root/res/themes/miui4/icon.update.png
  84. BIN  patch_device/ef39s/root/res/themes/miui4/icon.welcome.png
  85. BIN  patch_device/ef39s/root/res/themes/miui4/list.9.png
  86. BIN  patch_device/ef39s/root/res/themes/miui4/navbar.png
  87. BIN  patch_device/ef39s/root/res/themes/miui4/radio.png
  88. BIN  patch_device/ef39s/root/res/themes/miui4/radio_focus.png
  89. BIN  patch_device/ef39s/root/res/themes/miui4/radio_on.png
  90. BIN  patch_device/ef39s/root/res/themes/miui4/radio_on_focus.png
  91. BIN  patch_device/ef39s/root/res/themes/miui4/radio_on_press.png
  92. BIN  patch_device/ef39s/root/res/themes/miui4/radio_press.png
  93. +67 −0 patch_device/ef39s/root/res/themes/miui4/theme.prop
  94. BIN  patch_device/ef39s/root/res/themes/miui4/titlebar.9.png
  95. BIN  patch_device/ef39s/root/res/ttf/DroidSans.ttf
  96. BIN  patch_device/ef39s/root/res/ttf/DroidSansFallback.ttf
  97. +1 −0  patch_device/ef39s/root/sbin/[
  98. +1 −0  patch_device/ef39s/root/sbin/[[
  99. BIN  patch_device/ef39s/root/sbin/adbd
  100. +1 −0  patch_device/ef39s/root/sbin/ash
  101. +1 −0  patch_device/ef39s/root/sbin/awk
  102. +1 −0  patch_device/ef39s/root/sbin/basename
  103. +1 −0  patch_device/ef39s/root/sbin/bbconfig
  104. +1 −0  patch_device/ef39s/root/sbin/blkid
  105. +1 −0  patch_device/ef39s/root/sbin/bunzip2
  106. BIN  patch_device/ef39s/root/sbin/busybox
  107. +1 −0  patch_device/ef39s/root/sbin/bzcat
  108. +1 −0  patch_device/ef39s/root/sbin/bzip2
  109. +1 −0  patch_device/ef39s/root/sbin/cal
  110. +1 −0  patch_device/ef39s/root/sbin/cat
  111. +1 −0  patch_device/ef39s/root/sbin/catv
  112. +1 −0  patch_device/ef39s/root/sbin/chattr
  113. +1 −0  patch_device/ef39s/root/sbin/chgrp
  114. +1 −0  patch_device/ef39s/root/sbin/chmod
  115. +1 −0  patch_device/ef39s/root/sbin/chown
  116. +1 −0  patch_device/ef39s/root/sbin/chroot
  117. +1 −0  patch_device/ef39s/root/sbin/cksum
  118. +1 −0  patch_device/ef39s/root/sbin/clear
  119. +1 −0  patch_device/ef39s/root/sbin/cmp
  120. +1 −0  patch_device/ef39s/root/sbin/cp
  121. +1 −0  patch_device/ef39s/root/sbin/cpio
  122. +1 −0  patch_device/ef39s/root/sbin/cut
  123. +1 −0  patch_device/ef39s/root/sbin/date
  124. +1 −0  patch_device/ef39s/root/sbin/dc
  125. +1 −0  patch_device/ef39s/root/sbin/dd
  126. +1 −0  patch_device/ef39s/root/sbin/depmod
  127. +1 −0  patch_device/ef39s/root/sbin/devmem
  128. +1 −0  patch_device/ef39s/root/sbin/df
  129. +1 −0  patch_device/ef39s/root/sbin/diff
  130. +1 −0  patch_device/ef39s/root/sbin/dirname
  131. +1 −0  patch_device/ef39s/root/sbin/dmesg
  132. +1 −0  patch_device/ef39s/root/sbin/dos2unix
  133. +1 −0  patch_device/ef39s/root/sbin/du
  134. BIN  patch_device/ef39s/root/sbin/e2fsck
  135. +1 −0  patch_device/ef39s/root/sbin/echo
  136. +1 −0  patch_device/ef39s/root/sbin/egrep
  137. +1 −0  patch_device/ef39s/root/sbin/env
  138. +1 −0  patch_device/ef39s/root/sbin/expand
  139. +1 −0  patch_device/ef39s/root/sbin/expr
  140. +1 −0  patch_device/ef39s/root/sbin/false
  141. +1 −0  patch_device/ef39s/root/sbin/fdisk
  142. +1 −0  patch_device/ef39s/root/sbin/fgrep
  143. +1 −0  patch_device/ef39s/root/sbin/find
  144. +484 −0 patch_device/ef39s/root/sbin/fix_permissions
  145. +1 −0  patch_device/ef39s/root/sbin/fold
  146. +1 −0  patch_device/ef39s/root/sbin/free
  147. +1 −0  patch_device/ef39s/root/sbin/freeramdisk
  148. +1 −0  patch_device/ef39s/root/sbin/fuser
  149. +1 −0  patch_device/ef39s/root/sbin/getopt
  150. +1 −0  patch_device/ef39s/root/sbin/grep
  151. +1 −0  patch_device/ef39s/root/sbin/groups
  152. +1 −0  patch_device/ef39s/root/sbin/gunzip
  153. +1 −0  patch_device/ef39s/root/sbin/gzip
  154. +1 −0  patch_device/ef39s/root/sbin/head
  155. +1 −0  patch_device/ef39s/root/sbin/hexdump
  156. +1 −0  patch_device/ef39s/root/sbin/id
  157. +1 −0  patch_device/ef39s/root/sbin/insmod
  158. +1 −0  patch_device/ef39s/root/sbin/install
  159. +1 −0  patch_device/ef39s/root/sbin/kill
  160. +1 −0  patch_device/ef39s/root/sbin/killall
  161. +1 −0  patch_device/ef39s/root/sbin/killall5
  162. +22 −0 patch_device/ef39s/root/sbin/killrecovery.sh
  163. +1 −0  patch_device/ef39s/root/sbin/length
  164. +1 −0  patch_device/ef39s/root/sbin/less
  165. +1 −0  patch_device/ef39s/root/sbin/ln
  166. +1 −0  patch_device/ef39s/root/sbin/losetup
  167. +1 −0  patch_device/ef39s/root/sbin/ls
  168. +1 −0  patch_device/ef39s/root/sbin/lsattr
  169. +1 −0  patch_device/ef39s/root/sbin/lsmod
  170. +1 −0  patch_device/ef39s/root/sbin/lspci
  171. +1 −0  patch_device/ef39s/root/sbin/lsusb
  172. +1 −0  patch_device/ef39s/root/sbin/lzcat
  173. +1 −0  patch_device/ef39s/root/sbin/lzop
  174. +1 −0  patch_device/ef39s/root/sbin/lzopcat
  175. +1 −0  patch_device/ef39s/root/sbin/makedevs
  176. +1 −0  patch_device/ef39s/root/sbin/md5sum
  177. +1 −0  patch_device/ef39s/root/sbin/mkdir
  178. BIN  patch_device/ef39s/root/sbin/mke2fs
  179. +1 −0  patch_device/ef39s/root/sbin/mkfifo
  180. +1 −0  patch_device/ef39s/root/sbin/mkfs.ext2
  181. +1 −0  patch_device/ef39s/root/sbin/mknod
  182. +1 −0  patch_device/ef39s/root/sbin/mkswap
  183. +1 −0  patch_device/ef39s/root/sbin/mktemp
  184. +1 −0  patch_device/ef39s/root/sbin/modinfo
  185. +1 −0  patch_device/ef39s/root/sbin/modprobe
  186. +1 −0  patch_device/ef39s/root/sbin/more
  187. +1 −0  patch_device/ef39s/root/sbin/mount
  188. +1 −0  patch_device/ef39s/root/sbin/mountpoint
  189. +1 −0  patch_device/ef39s/root/sbin/mv
  190. +1 −0  patch_device/ef39s/root/sbin/nanddump
  191. +12 −0 patch_device/ef39s/root/sbin/nandroid-md5.sh
  192. +1 −0  patch_device/ef39s/root/sbin/nandwrite
  193. +1 −0  patch_device/ef39s/root/sbin/nice
  194. +1 −0  patch_device/ef39s/root/sbin/nohup
  195. +1 −0  patch_device/ef39s/root/sbin/od
  196. BIN  patch_device/ef39s/root/sbin/parted
  197. +1 −0  patch_device/ef39s/root/sbin/patch
  198. +1 −0  patch_device/ef39s/root/sbin/pgrep
  199. +1 −0  patch_device/ef39s/root/sbin/pidof
  200. +1 −0  patch_device/ef39s/root/sbin/pkill
  201. +1 −0  patch_device/ef39s/root/sbin/printenv
  202. +1 −0  patch_device/ef39s/root/sbin/printf
  203. +1 −0  patch_device/ef39s/root/sbin/ps
  204. +1 −0  patch_device/ef39s/root/sbin/pstree
  205. +1 −0  patch_device/ef39s/root/sbin/pwd
  206. +1 −0  patch_device/ef39s/root/sbin/rdev
  207. +1 −0  patch_device/ef39s/root/sbin/readlink
  208. +1 −0  patch_device/ef39s/root/sbin/realpath
  209. BIN  patch_device/ef39s/root/sbin/recovery
  210. +1 −0  patch_device/ef39s/root/sbin/renice
  211. +1 −0  patch_device/ef39s/root/sbin/reset
  212. +1 −0  patch_device/ef39s/root/sbin/resize
  213. +1 −0  patch_device/ef39s/root/sbin/rev
  214. +1 −0  patch_device/ef39s/root/sbin/rm
  215. +1 −0  patch_device/ef39s/root/sbin/rmdir
  216. +1 −0  patch_device/ef39s/root/sbin/rmmod
  217. +1 −0  patch_device/ef39s/root/sbin/run-parts
  218. +655 −0 patch_device/ef39s/root/sbin/sdparted
  219. +1 −0  patch_device/ef39s/root/sbin/sed
  220. +1 −0  patch_device/ef39s/root/sbin/seq
  221. +1 −0  patch_device/ef39s/root/sbin/setconsole
  222. +1 −0  patch_device/ef39s/root/sbin/setserial
  223. +1 −0  patch_device/ef39s/root/sbin/setsid
  224. +1 −0  patch_device/ef39s/root/sbin/sh
  225. +1 −0  patch_device/ef39s/root/sbin/sha1sum
  226. +1 −0  patch_device/ef39s/root/sbin/sha256sum
  227. +1 −0  patch_device/ef39s/root/sbin/sha512sum
  228. +1 −0  patch_device/ef39s/root/sbin/sleep
  229. +1 −0  patch_device/ef39s/root/sbin/sort
  230. +1 −0  patch_device/ef39s/root/sbin/split
  231. +1 −0  patch_device/ef39s/root/sbin/stat
  232. +1 −0  patch_device/ef39s/root/sbin/strings
  233. +1 −0  patch_device/ef39s/root/sbin/stty
  234. +1 −0  patch_device/ef39s/root/sbin/swapoff
  235. +1 −0  patch_device/ef39s/root/sbin/swapon
  236. +1 −0  patch_device/ef39s/root/sbin/sync
  237. +1 −0  patch_device/ef39s/root/sbin/sysctl
  238. +1 −0  patch_device/ef39s/root/sbin/tac
  239. +1 −0  patch_device/ef39s/root/sbin/tail
  240. +1 −0  patch_device/ef39s/root/sbin/tar
  241. +1 −0  patch_device/ef39s/root/sbin/tee
  242. +1 −0  patch_device/ef39s/root/sbin/test
  243. +1 −0  patch_device/ef39s/root/sbin/time
  244. +1 −0  patch_device/ef39s/root/sbin/top
  245. +1 −0  patch_device/ef39s/root/sbin/touch
  246. +1 −0  patch_device/ef39s/root/sbin/tr
  247. +1 −0  patch_device/ef39s/root/sbin/true
  248. +1 −0  patch_device/ef39s/root/sbin/ttysize
  249. BIN  patch_device/ef39s/root/sbin/tune2fs
  250. +1 −0  patch_device/ef39s/root/sbin/ueventd
  251. +1 −0  patch_device/ef39s/root/sbin/umount
  252. +1 −0  patch_device/ef39s/root/sbin/uname
  253. +1 −0  patch_device/ef39s/root/sbin/unexpand
  254. +1 −0  patch_device/ef39s/root/sbin/uniq
  255. +1 −0  patch_device/ef39s/root/sbin/unix2dos
  256. +1 −0  patch_device/ef39s/root/sbin/unlzma
  257. +1 −0  patch_device/ef39s/root/sbin/unlzop
  258. +1 −0  patch_device/ef39s/root/sbin/unxz
  259. +1 −0  patch_device/ef39s/root/sbin/unzip
  260. +1 −0  patch_device/ef39s/root/sbin/uptime
  261. +1 −0  patch_device/ef39s/root/sbin/usleep
  262. +1 −0  patch_device/ef39s/root/sbin/uudecode
  263. +1 −0  patch_device/ef39s/root/sbin/uuencode
  264. +1 −0  patch_device/ef39s/root/sbin/watch
  265. +1 −0  patch_device/ef39s/root/sbin/wc
  266. +1 −0  patch_device/ef39s/root/sbin/which
  267. +1 −0  patch_device/ef39s/root/sbin/whoami
  268. +1 −0  patch_device/ef39s/root/sbin/xargs
  269. +1 −0  patch_device/ef39s/root/sbin/xzcat
  270. +1 −0  patch_device/ef39s/root/sbin/yes
  271. +1 −0  patch_device/ef39s/root/sbin/zcat
  272. +5 −0 patch_device/ef39s/root/ueventd.goldfish.rc
  273. +82 −0 patch_device/ef39s/root/ueventd.rc
  274. +12 −0 patch_device/ef40s/Android.mk
  275. +16 −0 patch_device/ef40s/device.conf
  276. BIN  patch_device/ef40s/kernel
  277. +2 −0  patch_device/ef40s/readme
  278. +48 −0 patch_device/ef40s/root/default.prop
  279. +22 −0 patch_device/ef40s/root/etc/recovery.fstab
  280. BIN  patch_device/ef40s/root/init
  281. +50 −0 patch_device/ef40s/root/init.rc
  282. +11 −0 patch_device/ef40s/root/res/device.conf
  283. BIN  patch_device/ef40s/root/res/fonts/big.png
  284. BIN  patch_device/ef40s/root/res/fonts/small.png
  285. BIN  patch_device/ef40s/root/res/icons/alert.png
  286. BIN  patch_device/ef40s/root/res/icons/back.default.png
  287. BIN  patch_device/ef40s/root/res/icons/back.png
  288. BIN  patch_device/ef40s/root/res/icons/backup.png
  289. BIN  patch_device/ef40s/root/res/icons/confirm.png
  290. BIN  patch_device/ef40s/root/res/icons/default.png
  291. BIN  patch_device/ef40s/root/res/icons/dir.png
  292. BIN  patch_device/ef40s/root/res/icons/disable.png
  293. BIN  patch_device/ef40s/root/res/icons/enable.png
  294. BIN  patch_device/ef40s/root/res/icons/file.png
  295. BIN  patch_device/ef40s/root/res/icons/info.about.png
  296. BIN  patch_device/ef40s/root/res/icons/info.log.png
  297. BIN  patch_device/ef40s/root/res/icons/info.mount.png
  298. BIN  patch_device/ef40s/root/res/icons/info.png
  299. BIN  patch_device/ef40s/root/res/icons/install.png
  300. BIN  patch_device/ef40s/root/res/icons/lang.cn.png
Sorry, we could not display the entire diff because too many files (799) changed.
View
8 device/pantech/ef65l/AndroidBoard.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
+
+# include the non-open-source counterpart to this file
+-include vendor/pantech/ef65l/AndroidBoardVendor.mk
View
2  device/pantech/ef65l/AndroidProducts.mk
@@ -0,0 +1,2 @@
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/full_ef65l.mk
View
59 device/pantech/ef65l/BoardConfig.mk
@@ -0,0 +1,59 @@
+USE_CAMERA_STUB := true
+
+# inherit from the proprietary version
+-include vendor/pantech/ef65l/BoardConfigVendor.mk
+
+TARGET_NO_BOOTLOADER := true
+
+TARGET_BOARD_PLATFORM := msm8660
+TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
+TARGET_BOOTLOADER_BOARD_NAME := ef65l
+
+TARGET_CPU_ABI := armeabi-v7a
+TARGET_CPU_ABI2 := armeabi
+TARGET_ARCH_VARIANT := armv7-a-neon
+TARGET_CPU_SMP := true
+ARCH_ARM_HAVE_TLS_REGISTER := true
+
+TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
+TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
+
+BOARD_USES_ADRENO_200 := true
+
+TARGET_NO_BOOTLOADER := true
+TARGET_BOOTLOADER_BOARD_NAME := ef65l
+
+BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom androidboot.carrier=LGT-KOR loglevel=0
+BOARD_KERNEL_BASE := 0x40200000 --ramdiskaddr 0x41300000
+BOARD_KERNEL_PAGESIZE := 2048
+
+# fix this up by examining /proc/mtd on a running device
+BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00A00000
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00A00000
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x40000000
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x80200000
+BOARD_FLASH_BLOCK_SIZE := 131072
+
+TARGET_PREBUILT_KERNEL := device/pantech/ef65l/kernel
+
+//BOARD_TOUCH_RECOVERY := true
+
+#recovery
+#BOARD_HAS_NO_SELECT_BUTTON := true
+# Use this flag if the board has a ext4 partition larger than 2gb
+# BOARD_HAS_LARGE_FILESYSTEM := true
+BOARD_USE_CUSTOM_RECOVERY_FONT:= \"roboto_15x24.h\"
+TARGET_RECOVERY_INITRC := device/pantech/ef65l/init.rc
+
+#DEVICE_RESOLUTION := 800x1280
+TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
+TARGET_RECOVERY_UI_LIB := librecovery_ui_ef65l
+
+USE_OPENGL_RENDERER := true
+
+#TW_INTERNAL_STORAGE_PATH := "/sdcard"
+#TW_INTERNAL_STORAGE_MOUNT_POINT := "sdcard"
+#TW_EXTERNAL_STORAGE_PATH := "/external_sd"
+#TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"
+#TW_FLASH_FROM_STORAGE := true
+#TW_HAS_REBOOT_BOOTLOADER := true
View
21 device/pantech/ef65l/device_ef65l.mk
@@ -0,0 +1,21 @@
+$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
+
+# The gps config appropriate for this device
+$(call inherit-product, device/common/gps/gps_us_supl.mk)
+
+$(call inherit-product-if-exists, vendor/pantech/ef65l/ef65l-vendor.mk)
+
+DEVICE_PACKAGE_OVERLAYS += device/pantech/ef65l/overlay
+
+LOCAL_PATH := device/pantech/ef65l
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+ LOCAL_KERNEL := $(LOCAL_PATH)/kernel
+else
+ LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
+
+
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_KERNEL):kernel
View
13 device/pantech/ef65l/full_ef65l.mk
@@ -0,0 +1,13 @@
+
+# Release name
+PRODUCT_RELEASE_NAME := ef65l
+
+# Inherit device configuration
+$(call inherit-product, device/pantech/ef65l/device_ef65l.mk)
+
+## Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := ef65l
+PRODUCT_NAME := full_ef65l
+PRODUCT_BRAND := pantech
+PRODUCT_MODEL := ef65l
+PRODUCT_MANUFACTURER := pantech
View
59 device/pantech/ef65l/init.rc
@@ -0,0 +1,59 @@
+on early-init
+ start ueventd
+
+on init
+ export PATH /sbin
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+ export INTERNAL_STORAGE /external_sd
+ export EXTERNAL_STORAGE /sdcard
+ export LD_LIBRARY_PATH .:/sbin
+
+ symlink /system/etc /etc
+
+ mkdir /sdcard
+ mkdir /boot
+ mkdir /data
+ mkdir /cache
+ mkdir /data/data
+ mkdir /system
+ mount /tmp /tmp tmpfs
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service console /sbin/sh
+ console
+
+service recovery /sbin/recovery
+
+service adbd /sbin/adbd recovery
+ enabled
+
+# Always start adbd on userdebug and eng builds
+# In recovery, always run adbd as root.
+on property:ro.debuggable=1
+ write /sys/class/android_usb/android0/enable 0
+ write /sys/class/android_usb/android0/idVendor 18D1
+ write /sys/class/android_usb/android0/idProduct D001
+ write /sys/class/android_usb/android0/functions adb
+ write /sys/class/android_usb/android0/enable 1
+ write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
+ write /sys/class/android_usb/android0/iProduct $ro.product.model
+ write /sys/class/android_usb/android0/iSerial $ro.serialno
+ start adbd
+ setprop service.adb.root 1
+
+# Restart adbd so it can run as root
+on property:service.adb.root=1
+ write /sys/class/android_usb/android0/enable 0
+ restart adbd
+ write /sys/class/android_usb/android0/enable 1
View
BIN  device/pantech/ef65l/kernel
Binary file not shown
View
13 device/pantech/ef65l/recovery.fstab
@@ -0,0 +1,13 @@
+# mount point fstype device [device2]
+
+/boot emmc /dev/block/mmcblk0p8
+/cache ext4 /dev/block/mmcblk0p16
+/data ext4 /dev/block/mmcblk0p14
+/misc emmc /dev/block/mmcblk0p17
+/recovery emmc /dev/block/mmcblk0p18
+/system ext4 /dev/block/mmcblk0p13
+
+
+/sdcard vfat /dev/block/mmcblk0p26
+/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
+# /sd-ext ext4 /dev/block/mmcblk1p2
View
3  device/pantech/ef65l/system.prop
@@ -0,0 +1,3 @@
+#
+# system.prop for ef65l
+#
View
23 device/pantech/ef65l/vendorsetup.sh
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2008 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This file is executed by build/envsetup.sh, and can use anything
+# defined in envsetup.sh.
+#
+# In particular, you can add lunch options with the add_lunch_combo
+# function: add_lunch_combo generic-eng
+
+add_lunch_combo full_ef65l-eng
View
12 patch_device/ef39s/Android.mk
@@ -0,0 +1,12 @@
+LOCAL_PATH := $(call my-dir)
+include $(MIUI_CLEAR)
+MIUI_PRODUCT := ef39s
+MIUI_KERNEL := $(LOCAL_PATH)/kernel
+
+MIUI_KERNEL_BASE := 0x40200000 --ramdiskaddr 0x41400000
+MIUI_KERNEL_PAGESIZE := 2048
+MIUI_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom loglevel=0
+
+MIUI_PRODUCT_ROOT := $(LOCAL_PATH)/root
+MIUI_DEVICE_CONFIG := $(LOCAL_PATH)/device.conf
+include $(MIUI_RECOVERY)
View
16 patch_device/ef39s/device.conf
@@ -0,0 +1,16 @@
+ini_set("rom_device", "A800S");
+ini_set("rom_name", "MIUI Recovery for A800S");
+ini_set("rom_version", "2.03");
+ini_set("rom_author", "syhost");
+ini_set("rom_date", "2012-12-01");
+
+ini_set("dp", "4");
+ini_set("sd_ext", "1");
+ini_set("force_colorspace", "rgba");
+ini_set("customkeycode_up", "115");
+ini_set("customkeycode_down", "114");
+ini_set("customkeycode_select", "116");
+ini_set("customkeycode_menu", "229");
+ini_set("customkeycode_back", "158");
+
+
View
BIN  patch_device/ef39s/kernel
Binary file not shown
View
2  patch_device/ef39s/readme
@@ -0,0 +1,2 @@
+NOTICE:
+ 1 kernel file-system must be directory root
View
48 patch_device/ef39s/root/default.prop
@@ -0,0 +1,48 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=0
+ro.allow.mock.location=1
+ro.debuggable=1
+persist.sys.timezone=Asia/Shanghai
+persist.sys.usb.config=mass_storage,adb
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=IMM76L
+ro.build.display.id=full_ef39s-eng 4.0.4 IMM76L eng.syhost.20121201.033838 test-keys
+ro.build.version.incremental=eng.syhost.20121201.033838
+ro.build.version.sdk=15
+ro.build.version.codename=REL
+ro.build.version.release=4.0.4
+ro.build.date=2012年 12月 01日 星期六 03:39:26 CST
+ro.build.date.utc=1354304366
+ro.build.type=eng
+ro.build.user=syhost
+ro.build.host=soyu-ubuntu
+ro.build.tags=test-keys
+ro.product.model=ef39s
+ro.product.brand=pantech
+ro.product.name=full_ef39s
+ro.product.device=ef39s
+ro.product.board=ef39s
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=pantech
+ro.wifi.channels=
+ro.board.platform=msm8660
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=ef39s
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=full_ef39s-eng 4.0.4 IMM76L eng.syhost.20121201.033838 test-keys
+ro.build.fingerprint=pantech/full_ef39s/ef39s:4.0.4/IMM76L/eng.syhost.20121201.033838:eng/test-keys
+ro.build.characteristics=default
+# end build properties
+#
+# system.prop for ef39s
+#
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+ro.kernel.android.checkjni=1
+ro.setupwizard.mode=OPTIONAL
View
22 patch_device/ef39s/root/etc/recovery.fstab
@@ -0,0 +1,22 @@
+# mount point fstype device [device2]
+
+/boot emmc /dev/block/mmcblk0p8
+/cache ext4 /dev/block/mmcblk0p16
+/data ext4 /dev/block/mmcblk0p14
+/misc emmc /dev/block/mmcblk0p17
+/recovery emmc /dev/block/mmcblk0p18
+/sdcard vfat /dev/block/mmcblk0p27
+/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
+# /sd-ext ext4 /dev/block/mmcblk1p2
+
+/system ext4 /dev/block/mmcblk0p13
+/fotamodem vfat /dev/block/mmcblk0p1
+/lk emmc /dev/block/mmcblk0p7
+/info emmc /dev/block/mmcblk0p10
+/tz emmc /dev/block/mmcblk0p9
+/rpm emmc /dev/block/mmcblk0p5
+/sbl1 emmc /dev/block/mmcblk0p2
+/sbl2 emmc /dev/block/mmcblk0p3
+/sbl3 emmc /dev/block/mmcblk0p6
+#MDM sky gota p14777 Jang
+/mdm emmc /dev/block/mmcblk0p19
View
BIN  patch_device/ef39s/root/init
Binary file not shown
View
50 patch_device/ef39s/root/init.rc
@@ -0,0 +1,50 @@
+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 /sdcard
+ mkdir /system
+ mkdir /data
+ mkdir /cache
+ mount /tmp /tmp tmpfs
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service recovery /sbin/recovery
+
+service adbd /sbin/adbd recovery
+ disabled
+
+# Always start adbd on userdebug and eng builds
+on property:ro.debuggable=1
+ write /sys/class/android_usb/android0/enable 0
+ write /sys/class/android_usb/android0/idVendor 18D1
+ write /sys/class/android_usb/android0/idProduct D001
+ write /sys/class/android_usb/android0/functions adb
+ write /sys/class/android_usb/android0/enable 1
+ write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
+ write /sys/class/android_usb/android0/iProduct $ro.product.model
+ write /sys/class/android_usb/android0/iSerial $ro.serialno
+ start adbd
+
+# Restart adbd so it can run as root
+on property:service.adb.root=1
+ write /sys/class/android_usb/android0/enable 0
+ restart adbd
+ write /sys/class/android_usb/android0/enable 1
View
11 patch_device/ef39s/root/res/device.conf
@@ -0,0 +1,11 @@
+#ini_set("force_colorspace", "bgra");
+#ini_set("force_colorspace", "argb");
+ini_set("dp", "4");
+ini_set("force_colorspace", "rgba");
+ini_set("customkeycode_up", "115");
+ini_set("customkeycode_down", "114");
+ini_set("customkeycode_select", "116");
+ini_set("customkeycode_menu", "229");
+ini_set("customkeycode_back", "158");
+
+ini_set("rom_device", "A820L");
View
BIN  patch_device/ef39s/root/res/fonts/big.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/fonts/small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/alert.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/back.default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/backup.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/confirm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/dir.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/disable.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/enable.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/file.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/info.about.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/info.log.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/info.mount.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/info.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/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  patch_device/ef39s/root/res/icons/lang.cn.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/lang.en.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/mount.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/power.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/reboot.bootloader.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/reboot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/reboot.recovery.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/sd.choose.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  patch_device/ef39s/root/res/icons/sd.install.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/sd.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/title.back.focused.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/title.back.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/title.back.pushed.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/tool.battery.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/tool.calibrate.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/tool.log.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/tool.permission.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/tool.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/icons/wipe.png
Diff not rendered
View
1  patch_device/ef39s/root/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
116 patch_device/ef39s/root/res/langs/cn.lang
@@ -0,0 +1,116 @@
+### LICENSE:
+#
+text_ok=确定
+text_next=下一步 >
+text_back=< 返回
+text_yes=确定
+text_no=取消
+text_about=关于
+text_calibrating=屏幕校准
+text_quit=退出
+text_quit_msg=你确定要退出吗?
+text_done=完成
+global_done=操作完成
+
+#
+#-- CUSTOM STRING RESOURCE
+#
+lang.name=选择语言
+lang.title_name=请选择语言
+lang.desc=lang selected
+default_name=选项
+default_title=选项标题
+default_desc=你确定要这样做吗?
+
+mainmenu.name=主菜单
+mainmenu.title_name=主菜单
+mainmenu.install.name=从SD卡安装
+mainmenu.tools.name=工具
+
+back.name=返回
+back.title_name=返回到上一步
+
+sd.back.name=返回
+sd.back.desc=返回到上一步
+sd.log.save=保存日志
+
+sd.name=从SD卡安装
+sd.title_name=从SD卡安装
+sd.desc=从SD卡安装
+
+batt.name=电池
+time.name=时间
+
+sd.install.name=从SD卡选择zip包安装
+sdext.install.name=从外置SD卡选择zip包安装
+sd.update.name=安装update.zip
+
+power.name=电源菜单
+power.title=电源相关操作
+reboot.null=重启
+reboot.null.title=现在重启
+reboot.recovery=重启到recovery
+reboot.bootloader=重启到bootloader
+reboot.poweroff=关机
+
+alert.result=错误
+alert.desc=错误的操作
+
+mount.name=挂载
+mount.title=挂载各分区和启用USB存储
+mount.cache.name=挂载cache分区
+mount.data.name=挂载data分区
+mount.system.name=挂载system分区
+mount.sdcard.name=挂载sdcard分区
+mount.sdext.name=挂载外置sdcard分区
+mount.toggle.name=USB 存储
+
+wipe.name=擦除和格式化分区
+wipe.title=擦除数据操作和格式化分区操作
+wipe.cache.name=擦除cache
+wipe.dalvik-cache.name=擦除dalvik-cache
+wipe.factory.name=擦除cache/恢复出厂设置
+wipe.data.name=擦除data
+format.system.name=格式化system分区
+format.data.name=格式化data分区
+format.cache.name=格式化cache分区
+format.boot.name=格式化boot分区
+format.sdcard.name=格式化sdcard
+format.all.name=全部格式化(不包括boot和sdcard)
+
+backup.name=备份与恢复
+backup.title=备份到SD卡或者从SD卡恢复
+backup.backup.name=备份
+backup.restore.name=恢复
+advanced_backup.name=高级备份
+advanced_backup.cache.name=备份cache
+advanced_backup.data.name=备份data
+advanced_backup.system.name=备份system
+advanced_backup.boot.name=备份boot
+advanced_backup.recovery.name=备份recovery
+advanced_restore.name=高级恢复
+advanced_restore.cache.name=恢复cache
+advanced_restore.data.name=恢复data
+advanced_restore.system.name=恢复system
+advanced_restore.boot.name=恢复boot
+advanced_restore.recovery.name=恢复recovery
+
+tool.name=工具
+tool.title=提供高级的操作
+tool.key.name=按键测试
+tool.time.name=时间区域设置
+tool.battary.name=电池信息初始化
+tool.log.name=拷贝LOG到SD卡
+tool.log.desc=是否将日志拷贝到
+tool.permission.name=修复权限
+
+info.name=信息
+info.title=关于MIUI RECOVERY的信息
+info.mount.name=存储信息
+info.log.name=运行日志
+info.about.name=关于MIUI RECOVERY
+
+about.device=设备:
+about.name=名称:
+about.version=版本:
+about.date=日期:
View
114 patch_device/ef39s/root/res/langs/en.lang
@@ -0,0 +1,114 @@
+### LICENSE:
+#--- COMMON SYSTEM STRING RESOURCE
+#
+text_ok=OK
+text_next=Next >
+text_back=< Back
+text_yes=Yes
+text_no=No
+text_about=About
+text_calibrating=Calibrating Tools
+text_quit=Quit
+text_quit_msg=Are you sure to quit?
+text_done=done
+global_done=done
+
+
+lang.name=选择语言/Select Language
+lang.title_name=请选择语言/Select Language
+lang.desc=lang selected
+default_name=default_name
+default_title=default_title
+default_desc=Are you sure do it?
+
+mainmenu.name=MAIN MENU
+mainmenu.title_name=MAIN MENU
+mainmenu.install.name=install from SD
+mainmenu.tools.name=tools
+
+back.name=Back
+back.title_name=Back to parent menu
+
+sd.back.name=Back
+sd.back.desc=back to upper
+
+sd.name=install from sd
+sd.title_name=install from sd
+sd.desc=install from sd
+batt.name=BATTARY
+time.name=TIME
+
+sd.install.name=choose zip from sd
+sdext.install.name=choose zip from external sd
+sd.update.name=apply /sdcard/update.zip
+sd.log.save=Save Logs
+
+power.name=power
+power.title=power operation
+reboot.null= reboot
+reboot.null.title= reboot now
+reboot.recovery= reboot to recovery
+reboot.bootloader= reboot to bootloader
+reboot.poweroff= poweroff
+
+alert.result=FAIL!
+alert.desc=operation failed
+
+mount.name=mount
+mount.title=mount and toogle usb storage
+mount.cache.name=mount cache
+mount.data.name=mount data
+mount.system.name=mount system
+mount.sdcard.name=mount sdcard
+mount.sdcard.name=mount sd external
+mount.toggle.name=toggle usb storage
+
+wipe.name=wipe or format
+wipe.title=wipe data or format partation operation
+wipe.cache.name=wipe cache
+wipe.dalvik-cache.name=wipe dalvik-cache
+wipe.factory.name=wipe cache/factory reset
+wipe.data.name=wipe data
+format.system.name=format system
+format.data.name=format data
+format.cache.name=format cache
+format.boot.name=format boot
+format.sdcard.name=format sdcard
+format.all.name=format all(except sdcard and boot)
+
+backup.name=backup and restore
+backup.title=backup to sdcard and restore from sdcard
+backup.backup.name=backup
+backup.restore.name=restore
+advanced_backup.name=advanced backup
+advanced_backup.cache.name=backup cache
+advanced_backup.data.name=backup data
+advanced_backup.system.name=backup system
+advanced_backup.boot.name=backup boot
+advanced_backup.recovery.name=backup recovery
+advanced_restore.name=advanced restore
+advanced_restore.cache.name=restore cache
+advanced_restore.data.name=restore data
+advanced_restore.system.name=restore system
+advanced_restore.boot.name=restore boot
+advanced_restore.recovery.name=restore recovery
+
+tool.name=tool
+tool.title=advanced tools
+tool.key.name=key test
+tool.time.name=timer setting
+tool.battary.name=wip battary
+tool.log.name=cope log to sdcard
+tool.log.desc=are you sure cope log to
+tool.permission.name=fix permission
+
+info.name=info
+info.title=information of miui recovery
+info.mount.name=storage info
+info.log.name=log
+info.about.name=about miui recovery
+
+about.device=Device:
+about.name=Name:
+about.version=Version:
+about.date=Date:
View
BIN  patch_device/ef39s/root/res/themes/miui4/bg.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/button.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/button_focus.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/button_press.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb_focus.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb_on.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb_on_focus.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb_on_press.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/cb_press.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/dialog.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/dialog_titlebar.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/font.roboto.big.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/font.roboto.small.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.agreement.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.alert.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.apps.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.confirm.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.customize.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.default.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.info.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.install.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.license.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.personalize.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.update.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/icon.welcome.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/list.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/navbar.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio_focus.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio_on.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio_on_focus.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio_on_press.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/themes/miui4/radio_press.png
Diff not rendered
View
67 patch_device/ef39s/root/res/themes/miui4/theme.prop
@@ -0,0 +1,67 @@
+img.background=bg
+img.titlebar=titlebar
+img.navbar=navbar
+img.dialog=dialog.9
+img.dialog.titlebar=dialog_titlebar.9
+img.progress=button.9
+img.prograss.fill=button_press.9
+img.selection=list.9
+img.selection.push=list.9
+img.button=button.9
+img.button.focus=button_focus.9
+img.button.push=button_press.9
+img.checkbox=cb
+img.checkbox.focus=cb_focus
+img.checkbox.push=cb_press
+img.checkbox.on=cb_on
+img.checkbox.on.focus=cb_on_focus
+img.checkbox.on.push=cb_on_press
+img.radio=radio
+img.radio.focus=radio_focus
+img.radio.push=radio_press
+img.radio.on=radio_on
+img.radio.on.focus=radio_on_focus
+img.radio.on.push=radio_on_press
+
+
+color.winbg = #ffffff
+color.winbg_g = #eeeeee
+color.winfg = #000000
+color.winfg_gray = #666666
+color.dialogbg = #ffffff
+color.dialogbg_g = #eeeeee
+color.dialogfg = #000000
+color.textbg = #ffffff
+color.textfg = #000000
+color.textfg_gray = #666666
+color.controlbg = #dddddd
+color.controlbg_g = #cccccc
+color.controlfg = #000000
+color.selectbg = #ff7e00
+color.selectbg_g = #ff7e00
+color.selectfg = #ffffff
+color.titlebg = #000000
+color.titlebg_g = #000000
+color.titlefg = #ffffff
+color.dlgtitlebg = #ffffff
+color.dlgtitlebg_g = #ffffff
+color.dlgtitlefg = #444444
+color.scrollbar = #ff7e00
+color.navbg = #ffffff
+color.navbg_g = #eeeeee
+color.border = #666666
+color.border_g = #666666
+color.progressglow = #ff7e00
+
+config.roundsize = 2
+config.button_roundsize = 1
+config.window_roundsize = 1
+config.transition_frame = 5
+
+font.small = font.roboto.small
+font.big = font.roboto.big
+
+
+info.themename = MIUI v4 ICS
+info.description = MIUI v4 ICS Theme for MIUI Installer
+info.author = DemonWav & amarullz & Lennox
View
BIN  patch_device/ef39s/root/res/themes/miui4/titlebar.9.png
Diff not rendered
View
BIN  patch_device/ef39s/root/res/ttf/DroidSans.ttf
Binary file not shown
View
BIN  patch_device/ef39s/root/res/ttf/DroidSansFallback.ttf
Binary file not shown
View
1  patch_device/ef39s/root/sbin/[
View
1  patch_device/ef39s/root/sbin/[[
View
BIN  patch_device/ef39s/root/sbin/adbd
Binary file not shown
View
1  patch_device/ef39s/root/sbin/ash
View
1  patch_device/ef39s/root/sbin/awk
View
1  patch_device/ef39s/root/sbin/basename
View
1  patch_device/ef39s/root/sbin/bbconfig
View
1  patch_device/ef39s/root/sbin/blkid
View
1  patch_device/ef39s/root/sbin/bunzip2
View
BIN  patch_device/ef39s/root/sbin/busybox
Binary file not shown
View
1  patch_device/ef39s/root/sbin/bzcat
View
1  patch_device/ef39s/root/sbin/bzip2
View
1  patch_device/ef39s/root/sbin/cal
View
1  patch_device/ef39s/root/sbin/cat
View
1  patch_device/ef39s/root/sbin/catv
View
1  patch_device/ef39s/root/sbin/chattr
View
1  patch_device/ef39s/root/sbin/chgrp
View
1  patch_device/ef39s/root/sbin/chmod
View
1  patch_device/ef39s/root/sbin/chown
View
1  patch_device/ef39s/root/sbin/chroot
View
1  patch_device/ef39s/root/sbin/cksum
View
1  patch_device/ef39s/root/sbin/clear
View
1  patch_device/ef39s/root/sbin/cmp
View
1  patch_device/ef39s/root/sbin/cp
View
1  patch_device/ef39s/root/sbin/cpio
View
1  patch_device/ef39s/root/sbin/cut
View
1  patch_device/ef39s/root/sbin/date
View
1  patch_device/ef39s/root/sbin/dc
View
1  patch_device/ef39s/root/sbin/dd
View
1  patch_device/ef39s/root/sbin/depmod
View
1  patch_device/ef39s/root/sbin/devmem
View
1  patch_device/ef39s/root/sbin/df
View
1  patch_device/ef39s/root/sbin/diff
View
1  patch_device/ef39s/root/sbin/dirname
View
1  patch_device/ef39s/root/sbin/dmesg
View
1  patch_device/ef39s/root/sbin/dos2unix
View
1  patch_device/ef39s/root/sbin/du
View
BIN  patch_device/ef39s/root/sbin/e2fsck
Binary file not shown
View
1  patch_device/ef39s/root/sbin/echo
View
1  patch_device/ef39s/root/sbin/egrep
View
1  patch_device/ef39s/root/sbin/env
View
1  patch_device/ef39s/root/sbin/expand
View
1  patch_device/ef39s/root/sbin/expr
View
1  patch_device/ef39s/root/sbin/false
View
1  patch_device/ef39s/root/sbin/fdisk
View
1  patch_device/ef39s/root/sbin/fgrep
View
1  patch_device/ef39s/root/sbin/find
View
484 patch_device/ef39s/root/sbin/fix_permissions
@@ -0,0 +1,484 @@
+#! /sbin/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  patch_device/ef39s/root/sbin/fold
View
1  patch_device/ef39s/root/sbin/free
View
1  patch_device/ef39s/root/sbin/freeramdisk
View
1  patch_device/ef39s/root/sbin/fuser
View
1  patch_device/ef39s/root/sbin/getopt
View
1  patch_device/ef39s/root/sbin/grep
View
1  patch_device/ef39s/root/sbin/groups
View
1  patch_device/ef39s/root/sbin/gunzip
View
1  patch_device/ef39s/root/sbin/gzip
View
1  patch_device/ef39s/root/sbin/head
View
1  patch_device/ef39s/root/sbin/hexdump
View
1  patch_device/ef39s/root/sbin/id
View
1  patch_device/ef39s/root/sbin/insmod
View
1  patch_device/ef39s/root/sbin/install
View
1  patch_device/ef39s/root/sbin/kill
View
1  patch_device/ef39s/root/sbin/killall
View
1  patch_device/ef39s/root/sbin/killall5
View
22 patch_device/ef39s/root/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  patch_device/ef39s/root/sbin/length
View
1  patch_device/ef39s/root/sbin/less
View
1  patch_device/ef39s/root/sbin/ln
View
1  patch_device/ef39s/root/sbin/losetup
View
1  patch_device/ef39s/root/sbin/ls
View
1  patch_device/ef39s/root/sbin/lsattr
View
1  patch_device/ef39s/root/sbin/lsmod
View
1  patch_device/ef39s/root/sbin/lspci
View
1  patch_device/ef39s/root/sbin/lsusb
View
1  patch_device/ef39s/root/sbin/lzcat
View
1  patch_device/ef39s/root/sbin/lzop
View
1  patch_device/ef39s/root/sbin/lzopcat
View
1  patch_device/ef39s/root/sbin/makedevs
View
1  patch_device/ef39s/root/sbin/md5sum
View
1  patch_device/ef39s/root/sbin/mkdir