SHARE
TWEET

XPERIA Z (SO-02E) init.sony.rc (10.1.D.0.317)

huhka_com Feb 10th, 2013 273 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import init.sony-platform.rc
  2.  
  3. on boot
  4.     # Override the value set in rootdir/init.rc
  5.    
  6.  
  7.     write /proc/sys/kernel/sysrq 0
  8.    
  9.    
  10.  
  11. # Enable debugfs for eng and userdebug variants
  12.    
  13.    
  14.  
  15. on post-fs
  16.     # Change to socket location on libkeyctrl/suntory for /data encryption
  17.     mkdir /dev/socket/suntory 0755 system system
  18.  
  19. on post-fs-data
  20.     mkdir /data/idd 0755 idd idd
  21.     mount ext4 /dev/block/platform/msm_sdcc.1/by-name/apps_log /data/idd nosuid nodev noatime noexec barrier=0,discard
  22.     chown idd idd /data/idd
  23.     chmod 0755 /data/idd
  24.     mkdir /data/tombstones 0755 system system
  25.     mkdir /data/crashsms 0711 system system
  26.     mkdir /data/crashsms/crashes 0755 system system
  27.     mkdir /data/mediaserver 0740 media media
  28.     mkdir /data/pc 700 radio radio
  29.    
  30.  
  31. on property:vold.decrypt=trigger_restart_framework
  32.     start display_cc
  33.  
  34. on early-boot
  35.     # Display color correction is needed in charge only mode as well.
  36.     start display_cc
  37.     # Start the offline charging (This blocks booting further in some cases)
  38.     exec /system/bin/chargemon
  39.     write /sys/module/pm8921_charger/parameters/enable_lowbatt_detect 1
  40.  
  41. on property:dev.bootcomplete=1
  42.     start fota-snoop
  43.     start grabramdump
  44.     start startup-prober
  45.  
  46. # Ramdumper post processing
  47. service grabramdump /system/bin/grabramdump -d "/dev/block/platform/msm_sdcc.1/by-name/userdata,sdcard" -d "/dev/block/mmcblk1p1,ext_card"
  48.     user root
  49.     oneshot
  50.     disabled
  51.  
  52. service iddd /system/bin/iddd
  53.     class main
  54.     user idd
  55.     group idd log
  56.  
  57. # Sony: FOTA snooping
  58. service fota-snoop /system/bin/fota-snoop
  59.     class main
  60.     group cache
  61.     oneshot
  62.     disabled
  63.  
  64. # Start RIC
  65. service ric /sbin/ric
  66.     class main
  67.     user root
  68.     group root
  69.  
  70. # Start suntrold
  71. service suntrold /system/bin/suntrold
  72.     user system
  73.     group system
  74.     oneshot
  75.     class main
  76.  
  77. #Starting crashmonitor native service
  78.  
  79.  
  80. service startup-prober /system/bin/startup-prober
  81.     user root
  82.     oneshot
  83.     disabled
  84.  
  85. on property:persist.sys.kernel.log=logcat
  86.     start klogrouterd
  87.  
  88. on property:persist.sys.kernel.log=default
  89.     stop klogrouterd
  90.  
  91. # klogrouterd service
  92. service klogrouterd /system/bin/klogrouter logcat
  93.     oneshot
  94.     disabled
  95.  
  96. # Fast Dormancy
  97. service fast-dormancy /system/bin/fast-dormancy
  98.     user root
  99.     group root inet net_raw net_admin
  100.     class main
  101.  
  102. on property:ro.semc.enable.fast_dormancy=false
  103.     stop fast-dormancy
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top