Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on early-init
- write /sys/block/stl12/queue/read_ahead_kb 4
- write /sys/block/stl13/queue/read_ahead_kb 4
- write /sys/block/stl14/queue/read_ahead_kb 4
- write /sys/devices/virtual/block/stl12/queue/read_ahead_kb 4
- write /sys/devices/virtual/block/stl13/queue/read_ahead_kb 4
- write /sys/devices/virtual/block/stl14/queue/read_ahead_kb 4
- on init
- mkdir /persist 0771 system system
- # cache folder for bigger file than /cache
- mkdir /data/cache
- chown system cache /data/cache
- chmod 0770 /data/cache
- # Directory for putting things only root should see.
- mkdir /mnt/secure 0700 root root
- # Collect ramconsole data
- copy /proc/last_kmsg /data/dontpanic/last_kmsg
- chown root log /data/dontpanic/last_kmsg
- chmod 0640 /data/dontpanic/last_kmsg
- # create log system
- mkdir /data/log 0777 root root
- chmod 0777 /data/log
- # create fumo
- mkdir /cache/fumo 0770
- chown system system /cache/fumo
- chmod 0770 /cache/fumo
- # For sensors
- chmod 0660 /dev/proximity
- chmod 0660 /dev/bma_accel
- chown system system /dev/proximity
- # give read permission for others
- # this allows dumpsate to execute procrank
- # remove this for final build!
- chmod 0444 /proc/kpagecount
- chmod 0444 /proc/kpageflags
- # ppp modules
- mknod 0666 /dev/ppp c 108 0
- # for Gps Clp certificates
- mkdir /data/clp
- chmod 0777 /data/clp
- mount rootfs rootfs / ro remount
- on post-fs
- #bnd_stkim 20110316 for Cricket Hiddenmenu
- mkdir /data/hiddenmenu/
- chown radio radio /data/hiddenmenu/
- chmod 0750 /data/hiddenmenu/
- # Collect ramconsole data
- copy /proc/last_kmsg /data/dontpanic/last_kmsg
- chown root log /data/dontpanic/last_kmsg
- chmod 0640 /data/dontpanic/last_kmsg
- # WiFi / DHCP
- mkdir /data/wifi 0777 wifi wifi
- chown wifi wifi /data/wifi
- chmod 0777 /data/wifi
- chown wifi wifi /data/misc/wifi
- chmod 0777 /data/misc/wifi
- chmod 0664 /system/etc/wifi/wpa_supplicant.conf
- # end of wifi
- chown system system /data/app
- chmod 0771 /data/app
- # MBjdpark 2010.12.13 : Fixed problem with transferring carrier image to PDA in user mode
- # CONFIG_IPC_GENERIC_PST
- mkdir /data/local/PST 0755 radio radio
- chown radio radio /data/local/PST
- chmod 0755 /data/local/PST
- on boot
- # Put download cache on /data partition due to size limitations
- mkdir /data/download 0771 system cache
- # SD card polling
- chown system system /sys/devices/platform/msm_sdcc.3/polling
- chown system system /sys/devices/platform/msm_sdcc.4/polling
- chown system system /sys/devices/platform/android_usb/remote_wakeup
- # sound text data file
- chmod 0777 /system/etc/audio/soundbooster.txt
- chmod 0777 /system/etc/audio/aeqcoe.txt
- chmod 0777 /system/etc/audio/lmfilter.txt
- chmod 0777 /system/etc/audio/eqfilter.txt
- chmod 0777 /system/etc/audio/situation.txt
- chmod 0777 /system/etc/audio/stream_headset.txt
- chmod 0777 /system/etc/audio/stream_speaker.txt
- class_start default
- # Assign TCP buffer thresholds to be ceiling value of technology maximums
- # Increased technology maximums should be reflected here.
- write /proc/sys/net/core/rmem_max 262144
- write /proc/sys/net/core/wmem_max 262144
- # bootsnd
- setprop audioflinger.bootsnd 1
- # end of bootsnd
- # MBkjpark 2011.04.15 : CTS Permission fail issue (remove others write permission, so chown group)
- chown root system /sys/class/lightsensor/switch_cmd/lightsensor_file_cmd
- chown root system /sys/class/sec/ts/raw
- # create data/gps for GPS daemon
- mkdir /data/gps 770 gps system
- chown gps system /data/gps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement