mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-05 16:07:47 -04:00
universal7870: update rootdir files with lastest from Q builds
This commit is contained in:
parent
701eeae230
commit
92bf24bb9f
2 changed files with 31 additions and 27 deletions
|
@ -60,24 +60,15 @@ on post-fs-data
|
|||
chown system radio /sys/class/audio/earjack/state
|
||||
chown system radio /sys/class/audio/earjack/mic_adc
|
||||
|
||||
chown system audio /sys/class/nxp/tfa_cal/status
|
||||
chown system audio /sys/class/nxp/tfa_cal/rdc
|
||||
chown system audio /sys/class/nxp/tfa_cal/temp
|
||||
|
||||
mkdir /efs/nxp 0770 system audio
|
||||
chown system audio /efs/nxp/rdc_cal
|
||||
chown system audio /efs/nxp/temp_cal
|
||||
chmod 0660 /efs/nxp/rdc_cal
|
||||
chmod 0660 /efs/nxp/temp_cal
|
||||
# Audio I2C node for TFA amp
|
||||
chmod 0660 /dev/i2c-20
|
||||
chown audio audio /dev/i2c-20
|
||||
|
||||
chown system audio /sys/class/nxp/tfa_log/data
|
||||
chown system audio /sys/class/nxp/tfa_log/data_maxx
|
||||
chown system audio /sys/class/nxp/tfa_log/count_overxmax
|
||||
chown system audio /sys/class/nxp/tfa_log/data_maxt
|
||||
chown system audio /sys/class/nxp/tfa_log/count_overtmax
|
||||
chmod 0440 /sys/class/nxp/tfa_log/data_maxx
|
||||
chmod 0440 /sys/class/nxp/tfa_log/count_overxmax
|
||||
chmod 0440 /sys/class/nxp/tfa_log/data_maxt
|
||||
chmod 0440 /sys/class/nxp/tfa_log/count_overtmax
|
||||
|
||||
# MST/NFC Switch
|
||||
chown spay system /dev/mst_ctrl
|
||||
|
@ -93,10 +84,6 @@ on post-fs-data
|
|||
# Magnetic sensor YAS539 lib
|
||||
mkdir /data/system/yas_lib 0770 system system
|
||||
|
||||
# Audio I2C node for TFA amp
|
||||
chmod 0660 /dev/i2c-20
|
||||
chown audio audio /dev/i2c-20
|
||||
|
||||
on boot
|
||||
# override init.rc to keep plenty of large order chunks around
|
||||
# to improve allocation times
|
||||
|
@ -240,6 +227,23 @@ on boot
|
|||
chown system system /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy
|
||||
chmod 0660 /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy
|
||||
|
||||
#Setting Governor Parameters
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay "39000 1248000:19000"
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration 40000
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load 89
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq 902000
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time 40000
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads "75 1248000:85"
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack 20000
|
||||
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay "39000 1248000:19000"
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/boostpulse_duration 40000
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load 89
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq 902000
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time 40000
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads "75 1248000:85"
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_slack 20000
|
||||
|
||||
# MSP Core Status
|
||||
chown system system /sys/devices/system/cpu/cpu1/online
|
||||
chown system system /sys/devices/system/cpu/cpu2/online
|
||||
|
@ -259,9 +263,9 @@ on boot
|
|||
chmod 0640 /efs/bluetooth/bt_addr
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/state
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/device/extldo
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/device/extldo
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/device/extldo
|
||||
|
||||
#MST HW Support
|
||||
#setprop ro.mst.support 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue