Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 8a9
- > # add by Justin_Liu, :/system/framework/com.scalado.util.ScaladoUtil.jar
- 12d12
- < export ANDROID_CACHE /cache
- 16,19c16,17
- < export EXTERNAL_STORAGE /mnt/sdcard
- < export ASEC_MOUNTPOINT /mnt/asec
- < export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
- < export TERMINFO /system/etc/terminfo
- ---
- > export EXTERNAL_STORAGE /sdcard
- > 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
- 25,36c23,24
- < # create mountpoints
- < mkdir /mnt 0775 root system
- < mkdir /mnt/sdcard 0000 system system
- <
- < # Create cgroup mount point for cpu accounting
- < mkdir /acct
- < mount cgroup none /acct cpuacct
- < mkdir /acct/uid
- <
- < # Backwards Compat - XXX: Going away in G*
- < symlink /mnt/sdcard /sdcard
- <
- ---
- > # create mountpoints and mount tmpfs on sqlite_stmt_journals
- > mkdir /sdcard 0000 system system
- 39c27
- < mkdir /cache 0771 system cache
- ---
- > mkdir /cache 0770 system cache
- 41,54c29,30
- <
- < # Directory for putting things only root should see.
- < mkdir /mnt/secure 0700 root root
- <
- < # Directory for staging bindmounts
- < mkdir /mnt/secure/staging 0700 root root
- <
- < # Directory-target for where the secure container
- < # imagefile directory will be bind-mounted
- < mkdir /mnt/secure/asec 0700 root root
- <
- < # Secure container public mount points.
- < mkdir /mnt/asec 0700 root system
- < mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
- ---
- > mkdir /sqlite_stmt_journals 01777 root root
- > mount tmpfs tmpfs /sqlite_stmt_journals size=4m
- 61,62c37,39
- < write /proc/sys/kernel/sched_latency_ns 10000000
- < write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
- ---
- > write /proc/sys/kernel/sched_latency_ns 5000000
- > write /proc/sys/kernel/sched_wakeup_granularity_ns 100000
- > write /proc/sys/kernel/sched_min_granularity_ns 100000
- 69c46
- < chown system system /dev/cpuctl
- ---
- > chown sytem system /dev/cpuctl
- 95,98d71
- < # Mount compressed filesystems
- < mount squashfs loop@/system/lib/modules/modules.sqf /system/lib/modules ro
- < mount squashfs loop@/system/xbin/xbin.sqf /system/xbin ro
- <
- 121c94
- < chmod 0771 /cache
- ---
- > chmod 0770 /cache
- 124c97
- < chown system cache /cache/recovery
- ---
- > chown system system /cache/recovery
- 131,136d103
- < #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
- < chown root system /proc/kmsg
- < chmod 0440 /proc/kmsg
- < chown root system /proc/sysrq-trigger
- < chmod 0220 /proc/sysrq-trigger
- <
- 140d106
- < mkdir /data/misc/bluetooth 0770 system system
- 143d108
- < mkdir /data/misc/systemkeys 0700 system system
- 154a120,126
- > # DRMv1 rights storage
- > symlink /data/local /data/drm
- > mkdir /data/local/rights 0777 shell shell
- > chown shell shell /data/drm
- > write /data/drm/rights/mid.txt 0
- > chmod 0777 /data/drm/rights/mid.txt
- >
- 161,164d132
- < mkdir /cache/dalvik-cache 0771 system system
- < chown system system /cache/dalvik-cache
- < chmod 0771 /cache/dalvik-cache
- <
- 175,178c143,150
- < # allow net_raw to have access to /dev/socket directory
- < chown root net_raw /dev/socket
- < chmod 0775 /dev/socket
- <
- ---
- > # create DRM directories
- > mkdir /data/DxDrm
- > mkdir /data/DxDrm/fuse
- > chmod 0777 /data/DxDrm
- >
- > # change the mode for dmdata
- > chmod 0777 /data/local/dmdata
- >
- 209a182,194
- > # Enable Anr history , it would output the debuginfo to data partition
- > # 1: on 0: off
- > # setprop debugtool.anrhistory 1
- >
- >
- > # Enable DebugMonitor message for key, focus change
- > # setprop profiler.debugmonitor 1
- >
- > #ruu
- > write /data/misc/screen_lock_status 0
- > chown system system /data/misc/screen_lock_status
- > chmod 644 /data/misc/screen_lock_status
- >
- 234a220,222
- > chown radio system /sys/camera_led_status/led_ril_status
- > chown system system /sys/camera_led_status/led_wimax_status
- > chown system system /sys/camera_led_status/led_hotspot_status
- 242a231,233
- > chown system system /sys/class/leds/vtkey-backlight/brightness
- > chown system system /sys/class/leds/caps/brightness
- > chown system system /sys/class/leds/func/brightness
- 245a237
- > chown system system /sys/class/leds/amber/brightness
- 254a247,250
- > chown system system /sys/class/leds/green/blink
- > chown system system /sys/class/leds/green/off_timer
- > chown system system /sys/class/leds/amber/blink
- > chown system system /sys/class/leds/amber/off_timer
- 272,277c268
- <
- < # Run scripts in /system/etc/init.d
- < exec /system/xbin/run-parts /system/etc/init.d
- <
- < # Include extra init file
- < import /init.extra.rc
- ---
- > setprop net.tcp.buffersize.wimax 4096,87380,110208,4096,16384,110208
- 292a284
- > setprop debug.fb.rgb565 1
- 308d299
- < ioprio be 2
- 310,311c301,306
- < service netd /system/bin/netd
- < socket netd stream 0660 root system
- ---
- > service nexus /system/bin/nexus
- > socket nexus stream 0660 root system
- > disabled
- >
- > #service mountd /system/bin/mountd
- > # socket mountd stream 0660 root mount
- 317a313
- > socket rild-htc stream 660 radio system
- 329,330c325
- < group system audio camera graphics inet net_bt net_bt_admin net_raw
- < ioprio rt 4
- ---
- > group system audio camera graphics inet net_bt net_bt_admin
- 334c329
- < group graphics
- ---
- > group system audio graphics
- 339c334
- < socket dbus stream 660 bluetooth bluetooth
- ---
- > socket dbus stream 666 bluetooth bluetooth
- 377a373,375
- > service flash_recovery /system/etc/install-recovery.sh
- > oneshot
- >
- 400a399,420
- >
- > service bootcomplete /system/bin/bootcomplete
- > user root
- > group root
- > disabled
- > oneshot
- >
- > service shutdown /system/bin/shutdown
- > user root
- > group root
- > disabled
- > oneshot
- >
- > service autoreboot /system/bin/shutdown r
- > user root
- > group root
- > disabled
- > oneshot
- >
- > on property:dev.bootcomplete=1
- > start bootcomplete
- >
Add Comment
Please, Sign In to add comment