Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update system.prop from miui 9 global 9.0.3.0 #13

Open
wants to merge 3 commits into
base: cm-14.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bluetooth/bdroid_buildcfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
// skips conn update at conn completion
#define BTA_BLE_SKIP_CONN_UPD FALSE
#define BLE_PERIPHERAL_ADV_NAME FALSE
#define BTM_LE_SECURE_CONN TRUE
#define BT_CLEAN_TURN_ON_DISABLED 1

#define BTA_DISABLE_DELAY 1000 /* in milliseconds */
Expand Down
155 changes: 151 additions & 4 deletions configs/thermal-engine.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,163 @@
#algo_type monitor
sampling 10000
sensor case_therm
thresholds 48000 58000
thresholds_clr 45000 54000
thresholds 70000 70000
thresholds_clr 69000 69000
actions modem modem
action_info 2 3

[MODEM_PROC_TEMP_MITIGATION]
#algo_type monitor
sampling 10000
sensor case_therm
thresholds 45000 58000
thresholds_clr 43000 54000
thresholds 70000 70000
thresholds_clr 69000 69000
actions modem_proc modem_proc
action_info 1 3

[FRONT_TEMP]
algo_type virtual
trip_sensor msm_therm
set_point -18000
set_point_clr -20000
sensors msm_therm pa_therm0 chg_therm batt_temp
weights 110 100 85 110
offsets -2000 -2000 -2000 -2000
sampling 10000
math 0
sys_temp

[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1

[BACK_TEMP]
algo_type virtual
trip_sensor msm_therm
set_point -18000
set_point_clr -20000
sensors msm_therm pa_therm0 chg_therm batt_temp
weights 110 100 85 110
offsets -1000 -1000 -1000 -1000
sampling 10000
math 0
sys_temp

[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1

[SS-BATT-BATT]
algo_type ss
sampling 5000
sensor batt_therm
device battery
set_point 44000
set_point_clr 42000

[SS-CHG-BATT]
algo_type ss
sampling 5000
sensor chg_therm
device battery
set_point 50000
set_point_clr 44000
time_constant 0

[VIRTUAL-MSM-CPU]
algo_type virtual
trip_sensor msm_therm
set_point 41000
set_point_clr 39000
sensors tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7
weights 1 1 1 1
sampling 1000
math 0

[SS-MSM-CPU]
algo_type ss
sampling 1000
sensor VIRTUAL-MSM-CPU
device battery
set_point 43000
set_point_clr 40000

[VIRTUAL-MSM-GPU]
algo_type virtual
trip_sensor msm_therm
set_point 41000
set_point_clr 39000
sensors tsens_tz_sensor15
sampling 1000
math 2

[SS-MSM-GPU]
algo_type ss
sampling 1000
sensor VIRTUAL-MSM-GPU
device battery
set_point 43000
set_point_clr 40000

[SS-MSM-CLUSTER0]
algo_type ss
sampling 1000
sensor msm_therm
device cluster0
set_point 43000
set_point_clr 41000
device_max_limit 1401600

[VIRTUAL-CPUS]
algo_type virtual
trip_sensor tsens_tz_sensor9
set_point 75000
set_point_clr 65000
sensors tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor12 tsens_tz_sensor13 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor8
sampling 50
math 2

[SS-GPU]
algo_type ss
sampling 250
sensor gpu
device gpu
set_point 95000
set_point_clr 65000

[SS-POPMEM]
algo_type ss
disable
sampling 250
sensor pop_mem
device cluster0
set_point 70000
set_point_clr 55000
time_constant 2

[SS-CPUS-ALL]
algo_type ss
sampling 50
sensor VIRTUAL-CPUS
device cluster0
set_point 95000
set_point_clr 55000

[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 52000 56000
thresholds_clr 47000 53000
actions camera camera
action_info 1 2
23 changes: 23 additions & 0 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,26 @@ ro.sys.fw.trim_enable_memory=2147483648

# Wifi
wifi.interface=wlan0

# Property for game detection feature
debug.enable.gamed=0

# Min/max cpu in core control
ro.core_ctl_min_cpu=2
ro.core_ctl_max_cpu=4

#HWUI properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

# Set cutoff voltage to 3400mV
ro.cutoff_voltage_mv=3400