Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. service leds-sh /system/vendor/bin/sh /vendor/etc/init.leds.sh
  2. class core
  3. user root
  4. oneshot
  5.  
  6. service panel-info-sh /system/vendor/bin/sh /vendor/etc/init.panel_info.sh
  7. class core
  8. user root
  9. oneshot
  10.  
  11. # Added by qudao1@xiaomi.com
  12. service remosaic_daemon /system/vendor/bin/remosaic_daemon
  13. class late_start
  14. user camera
  15. group camera
  16. # End of Added by qudao1@xiaomi.com
  17.  
  18. service displayfeature /system/bin/displayfeature
  19. class late_start
  20. user root
  21. group root
  22.  
  23. on property:init.svc.surfaceflinger=stopped
  24. stop displayfeature
  25.  
  26. on property:init.svc.surfaceflinger=running
  27. start displayfeature
  28.  
  29. on property:init.svc.surfaceflinger=restarting
  30. stop displayfeature
  31.  
  32. on post-fs-data
  33. chmod 0666 /dev/migt
  34. restorecon /dev/migt
  35. chmod 0777 /sys/module/migt/parameters/migt_freq
  36. restorecon /sys/module/migt/parameters/migt_freq
  37. chmod 0777 /sys/module/migt/parameters/migt_ms
  38. restorecon /sys/module/migt/parameters/migt_ms
  39. chmod 0777 /sys/module/migt/parameters/migt_thresh
  40. restorecon /sys/module/migt/parameters/migt_thresh
  41.  
  42. # Create camera directory
  43. mkdir /mnt/vendor/persist/camera 0755 system cameraserver
  44.  
  45. # Add torch node for cit
  46. chown system system /sys/class/leds/led:torch_0/brightness
  47. chown system system /sys/class/leds/led:torch_1/brightness
  48. chown system system /sys/class/leds/led:switch_0/brightness
  49. chown system system /sys/class/leds/led:switch_1/brightness
  50. chown system system /sys/class/leds/led:switch_2/brightness
  51. chown system system /sys/class/leds/flashlight/brightness
  52.  
  53. # Make MTU adjusting
  54. write /proc/sys/net/ipv4/tcp_mtu_probing 1
  55.  
  56. # Nv_mac is added by Xiaomi-Wifi
  57. service nv_mac /vendor/bin/nv_mac
  58. class late_start
  59. user system
  60. group system inet net_admin wifi net_raw
  61. oneshot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement