Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on boot
- # MOTO, NJH348, IKHALFMWK-1864, change system max tcp buffer sizes based on RAT changes
- # Define system changable TCP buffer max values
- chown system system /proc/sys/net/core/rmem_max
- chown system system /proc/sys/net/core/wmem_max
- # Change ownership and permission for vibrator
- chown system system /sys/class/timed_output/vibrator/enable
- chmod 0660 /sys/class/timed_output/vibrator/enable
- chown system system /sys/class/leds/vibrator/state
- chmod 0660 /sys/class/leds/vibrator/state
- chown system system /sys/class/leds/vibrator/activate
- chmod 0660 /sys/class/leds/vibrator/activate
- chown system system /sys/class/leds/vibrator/duration
- chmod 0660 /sys/class/leds/vibrator/duration
- chown root oem_5020 /sys/bus/i2c/devices/2-005a/reduce
- # Change ownership of aov related sysfs entries
- chown audio audio /sys/kernel/aov/trigger
- chown audio audio /sys/kernel/aov/register
- chown audio audio /sys/kernel/aov/event
- # Quiet binder logs
- write /sys/module/binder/parameters/debug_mask 0x5
- # Clear cooldown state
- mkdir /mnt/vendor/persist/chargeonly 0770 system system
- write /mnt/vendor/persist/chargeonly/cooldown n
- chown system system /mnt/vendor/persist/chargeonly/cooldown
- chmod 0660 /mnt/vendor/persist/chargeonly/cooldown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement