[ASUS ROG Phone II Themes, Apps, and Mods] kaiiori:
hello again I bring you some tweaks to make some adjustments to the device :highfive:

Requirements:

- Android 10

- Root user

- File Browser (root)

- make a backup of the files you are going to modify

optional: having twrp in case you have a problem can restore your device

Add the settings to

the build_xx.prop found in the path: /system/vendor

1.- Tweak lmk more ram process

attach the settings below the next line

vendor.asus.accy_gen=2

ro.vendor.rog=1
ro.vendor.game=1
ro.lmk.kill_heaviest_task=true
ro.lmk.kill_timeout_ms=15

- save changes

- go to the path /system/vendor/etc/perf/perfconfigstore.xml

- remove the following code

<!--System Properties -->
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />

- replace it with the following code

<!--System Properties -->
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
<Prop Name="ro.lmk.enhance_batch_kill" Value="false" />
<Prop Name="ro.lmk.enable_watermark_check" Value="true" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.lmk.super_critical" Value="606" />
<Prop Name="ro.lmk.direct_reclaim_pressure" Value="45" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="vendor.perf.performancemode.support" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="20" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />

- save changes

- Restart your device

2.-Tweak display and temperature fix

Download here hdr

Download here sdr

path /system/vendor/etc

permissions files 0644 hdr and sdr

attach the settings below the next line

Add Builds.props

/system/vendor/build_cn.prop/build_eu.prop/build_ru/build.prop

vendor.gralloc.disable_ubwc=0

persist.sys.sf.color_saturation=1.0
persist.sys.sf.color_mode=1
vendor.display.disable_excl_rect=0
vendor.display.disable_excl_rect_partial_fb=1
vendor.display.enable_posted_start_dyn=1
vendor.display.use_smooth_motion=0
vendor.display.disable_offline_rotator=1
vendor.display.disable_scaler=0
vendor.display.disable_inline_rotator=1
ro.vendor.display.sensortype=2
ro.vendor.display.ad=1
ro.vendor.display.ad.sdr_calib_data=/vendor/etc/sdr_config.cfg
ro.vendor.display.ad.hdr_calib_data=/vendor/etc/hdr_config.cfg

- save changes

Currently there is yellow screen problem when using maximum brightness

Download here

path /system/vendor/etc/grip_cal

permissions 0644

ContextSE restore

- Restart your device

- 3.- Increase free memory value

- create a script without extension and put the following code

#!/system/bin/sh

echo 16266 > /proc/sys/vm/min_free_kbytes
echo 20960 > /sys/kernel/debug/tracing/buffer_size_kb

- save changes

- now add it to the path /data/adb/service.d

- and in the file permissions put 0755

- the script is seen to run when the device turns on oh after a reboot

Tranks :cowboy::good::fingers-crossed:

Support:

support telegram support [ES]

a review of my mod on youtube youtube [ES]