Guest User

Untitled

a guest
May 22nd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. 8a9
  2. > # add by Justin_Liu, :/system/framework/com.scalado.util.ScaladoUtil.jar
  3. 12d12
  4. < export ANDROID_CACHE /cache
  5. 16,19c16,17
  6. < export EXTERNAL_STORAGE /mnt/sdcard
  7. < export ASEC_MOUNTPOINT /mnt/asec
  8. < export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
  9. < export TERMINFO /system/etc/terminfo
  10. ---
  11. > export EXTERNAL_STORAGE /sdcard
  12. > export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
  13. 25,36c23,24
  14. < # create mountpoints
  15. < mkdir /mnt 0775 root system
  16. < mkdir /mnt/sdcard 0000 system system
  17. <
  18. < # Create cgroup mount point for cpu accounting
  19. < mkdir /acct
  20. < mount cgroup none /acct cpuacct
  21. < mkdir /acct/uid
  22. <
  23. < # Backwards Compat - XXX: Going away in G*
  24. < symlink /mnt/sdcard /sdcard
  25. <
  26. ---
  27. > # create mountpoints and mount tmpfs on sqlite_stmt_journals
  28. > mkdir /sdcard 0000 system system
  29. 39c27
  30. < mkdir /cache 0771 system cache
  31. ---
  32. > mkdir /cache 0770 system cache
  33. 41,54c29,30
  34. <
  35. < # Directory for putting things only root should see.
  36. < mkdir /mnt/secure 0700 root root
  37. <
  38. < # Directory for staging bindmounts
  39. < mkdir /mnt/secure/staging 0700 root root
  40. <
  41. < # Directory-target for where the secure container
  42. < # imagefile directory will be bind-mounted
  43. < mkdir /mnt/secure/asec 0700 root root
  44. <
  45. < # Secure container public mount points.
  46. < mkdir /mnt/asec 0700 root system
  47. < mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
  48. ---
  49. > mkdir /sqlite_stmt_journals 01777 root root
  50. > mount tmpfs tmpfs /sqlite_stmt_journals size=4m
  51. 61,62c37,39
  52. < write /proc/sys/kernel/sched_latency_ns 10000000
  53. < write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
  54. ---
  55. > write /proc/sys/kernel/sched_latency_ns 5000000
  56. > write /proc/sys/kernel/sched_wakeup_granularity_ns 100000
  57. > write /proc/sys/kernel/sched_min_granularity_ns 100000
  58. 69c46
  59. < chown system system /dev/cpuctl
  60. ---
  61. > chown sytem system /dev/cpuctl
  62. 95,98d71
  63. < # Mount compressed filesystems
  64. < mount squashfs loop@/system/lib/modules/modules.sqf /system/lib/modules ro
  65. < mount squashfs loop@/system/xbin/xbin.sqf /system/xbin ro
  66. <
  67. 121c94
  68. < chmod 0771 /cache
  69. ---
  70. > chmod 0770 /cache
  71. 124c97
  72. < chown system cache /cache/recovery
  73. ---
  74. > chown system system /cache/recovery
  75. 131,136d103
  76. < #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
  77. < chown root system /proc/kmsg
  78. < chmod 0440 /proc/kmsg
  79. < chown root system /proc/sysrq-trigger
  80. < chmod 0220 /proc/sysrq-trigger
  81. <
  82. 140d106
  83. < mkdir /data/misc/bluetooth 0770 system system
  84. 143d108
  85. < mkdir /data/misc/systemkeys 0700 system system
  86. 154a120,126
  87. > # DRMv1 rights storage
  88. > symlink /data/local /data/drm
  89. > mkdir /data/local/rights 0777 shell shell
  90. > chown shell shell /data/drm
  91. > write /data/drm/rights/mid.txt 0
  92. > chmod 0777 /data/drm/rights/mid.txt
  93. >
  94. 161,164d132
  95. < mkdir /cache/dalvik-cache 0771 system system
  96. < chown system system /cache/dalvik-cache
  97. < chmod 0771 /cache/dalvik-cache
  98. <
  99. 175,178c143,150
  100. < # allow net_raw to have access to /dev/socket directory
  101. < chown root net_raw /dev/socket
  102. < chmod 0775 /dev/socket
  103. <
  104. ---
  105. > # create DRM directories
  106. > mkdir /data/DxDrm
  107. > mkdir /data/DxDrm/fuse
  108. > chmod 0777 /data/DxDrm
  109. >
  110. > # change the mode for dmdata
  111. > chmod 0777 /data/local/dmdata
  112. >
  113. 209a182,194
  114. > # Enable Anr history , it would output the debuginfo to data partition
  115. > # 1: on 0: off
  116. > # setprop debugtool.anrhistory 1
  117. >
  118. >
  119. > # Enable DebugMonitor message for key, focus change
  120. > # setprop profiler.debugmonitor 1
  121. >
  122. > #ruu
  123. > write /data/misc/screen_lock_status 0
  124. > chown system system /data/misc/screen_lock_status
  125. > chmod 644 /data/misc/screen_lock_status
  126. >
  127. 234a220,222
  128. > chown radio system /sys/camera_led_status/led_ril_status
  129. > chown system system /sys/camera_led_status/led_wimax_status
  130. > chown system system /sys/camera_led_status/led_hotspot_status
  131. 242a231,233
  132. > chown system system /sys/class/leds/vtkey-backlight/brightness
  133. > chown system system /sys/class/leds/caps/brightness
  134. > chown system system /sys/class/leds/func/brightness
  135. 245a237
  136. > chown system system /sys/class/leds/amber/brightness
  137. 254a247,250
  138. > chown system system /sys/class/leds/green/blink
  139. > chown system system /sys/class/leds/green/off_timer
  140. > chown system system /sys/class/leds/amber/blink
  141. > chown system system /sys/class/leds/amber/off_timer
  142. 272,277c268
  143. <
  144. < # Run scripts in /system/etc/init.d
  145. < exec /system/xbin/run-parts /system/etc/init.d
  146. <
  147. < # Include extra init file
  148. < import /init.extra.rc
  149. ---
  150. > setprop net.tcp.buffersize.wimax 4096,87380,110208,4096,16384,110208
  151. 292a284
  152. > setprop debug.fb.rgb565 1
  153. 308d299
  154. < ioprio be 2
  155. 310,311c301,306
  156. < service netd /system/bin/netd
  157. < socket netd stream 0660 root system
  158. ---
  159. > service nexus /system/bin/nexus
  160. > socket nexus stream 0660 root system
  161. > disabled
  162. >
  163. > #service mountd /system/bin/mountd
  164. > # socket mountd stream 0660 root mount
  165. 317a313
  166. > socket rild-htc stream 660 radio system
  167. 329,330c325
  168. < group system audio camera graphics inet net_bt net_bt_admin net_raw
  169. < ioprio rt 4
  170. ---
  171. > group system audio camera graphics inet net_bt net_bt_admin
  172. 334c329
  173. < group graphics
  174. ---
  175. > group system audio graphics
  176. 339c334
  177. < socket dbus stream 660 bluetooth bluetooth
  178. ---
  179. > socket dbus stream 666 bluetooth bluetooth
  180. 377a373,375
  181. > service flash_recovery /system/etc/install-recovery.sh
  182. > oneshot
  183. >
  184. 400a399,420
  185. >
  186. > service bootcomplete /system/bin/bootcomplete
  187. > user root
  188. > group root
  189. > disabled
  190. > oneshot
  191. >
  192. > service shutdown /system/bin/shutdown
  193. > user root
  194. > group root
  195. > disabled
  196. > oneshot
  197. >
  198. > service autoreboot /system/bin/shutdown r
  199. > user root
  200. > group root
  201. > disabled
  202. > oneshot
  203. >
  204. > on property:dev.bootcomplete=1
  205. > start bootcomplete
  206. >
Add Comment
Please, Sign In to add comment