Advertisement
Guest User

Untitled

a guest
Oct 12th, 2020 (edited)
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. on boot
  2. # MOTO, NJH348, IKHALFMWK-1864, change system max tcp buffer sizes based on RAT changes
  3. # Define system changable TCP buffer max values
  4. chown system system /proc/sys/net/core/rmem_max
  5. chown system system /proc/sys/net/core/wmem_max
  6.  
  7. # Change ownership and permission for vibrator
  8. chown system system /sys/class/timed_output/vibrator/enable
  9. chmod 0660 /sys/class/timed_output/vibrator/enable
  10. chown system system /sys/class/leds/vibrator/state
  11. chmod 0660 /sys/class/leds/vibrator/state
  12. chown system system /sys/class/leds/vibrator/activate
  13. chmod 0660 /sys/class/leds/vibrator/activate
  14. chown system system /sys/class/leds/vibrator/duration
  15. chmod 0660 /sys/class/leds/vibrator/duration
  16. chown root oem_5020 /sys/bus/i2c/devices/2-005a/reduce
  17.  
  18. # Change ownership of aov related sysfs entries
  19. chown audio audio /sys/kernel/aov/trigger
  20. chown audio audio /sys/kernel/aov/register
  21. chown audio audio /sys/kernel/aov/event
  22.  
  23. # Quiet binder logs
  24. write /sys/module/binder/parameters/debug_mask 0x5
  25.  
  26. # Clear cooldown state
  27. mkdir /mnt/vendor/persist/chargeonly 0770 system system
  28. write /mnt/vendor/persist/chargeonly/cooldown n
  29. chown system system /mnt/vendor/persist/chargeonly/cooldown
  30. chmod 0660 /mnt/vendor/persist/chargeonly/cooldown
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement