Hey everyone, I've been away because I had to take care of my relationship and college.
During this time I was testing a new configuration that is being useful for performance and ram usage and also in low cpu usage.
This is a command in the global table, 'activity_manager_constants' I'm still testing this command, but I would like to know if anyone is willing to see if it's feasible to use it.
If anyone is interested use this command: adb shell settings put global activity_manager_constants max_cached_processes=0,background_settle_time=60000,fgservice_min_shown_time=2000,fgservice_min_report_time=3000,fgservice_screen_on_before_time=1000,fgservice_screen_on_after_time=5000,content_provider_retain_time=20000,gc_timeout=5000,gc_min_interval=60000,full_pss_min_interval=1200000,full_pss_lowered_interval=300000,power_check_interval=300000,power_check_max_cpu_1=0,power_check_max_cpu_2=0,power_check_max_cpu_3=0,power_check_max_cpu_4=0,service_usage_interaction_time=1800000,usage_stats_interaction_interval=7200000,service_restart_duration=1000,service_reset_run_duration=60000,service_restart_duration_factor=0,service_min_restart_time_between=10000,service_max_inactivity=1800000,service_bg_start_timeout=15000,CUR_MAX_CACHED_PROCESSES=0,CUR_MAX_EMPTY_PROCESSES=0,CUR_TRIM_EMPTY_PROCESSES=0,CUR_TRIM_CACHED_PROCESSES=0
This one is for devices with low ram.
I almost forgot, this command is just in case you want to have more performance in games, I don't recommend using it for your daily life and it can also vary by device.
Note: Your device will heat up when applying it and restarting, and this is normal, because the cpu will be almost always at maximum, and I'm going to show you some images of my test of it.
If you have problems, just remove this command via adb, setedit, ladb and brevent.
Edit: you won't multitask with this command.