Skip to content

Releases: crok/crokrammgmtfix

Upgrade to 0.0.8.1

28 Sep 06:53
aefc843
Compare
Choose a tag to compare

Set Activity Manager's max. cached process number to 256 (instead of the default 32 (or even lower 24.. Pixel has 64) and

Set phantom processes to the max. possible value to prevent their unintentional killing

Disable PeriodicCleaner which is a MIUI "feature"..

https://gist.github.com/agnostic-apollo/dc7e47991c512755ff26bd2d31e72ca8

## Android 9 and below:
settings put global activity_manager_constants max_cached_processes=256
## Android 10 and above:
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
/system/bin/device_config put activity_manager max_cached_processes 256
## Combined:
[ $(getprop ro.build.version.release) -gt 9 ] && /system/bin/device_config put activity_manager max_phantom_processes 2147483647 ; /system/bin/device_config put activity_manager max_cached_processes 160 || settings put global activity_manager_constants max_cached_processes=160

Uninstall script resets the values back to the ROM's defaults.

PS: all the rest from 0.0.7 has been removed because I feel it became obsolate.. feel free to play with those values :D

0.0.8

19 Aug 22:25
e5a9951
Compare
Choose a tag to compare

Set Activity Manager's max. cached process number to 160 (instead of the default 32 (or even lower 24.. Pixel has 64):

https://gist.github.com/agnostic-apollo/dc7e47991c512755ff26bd2d31e72ca8

## Android 9 and below:
settings put global activity_manager_constants max_cached_processes=160
## Android 10 and above:
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
/system/bin/device_config put activity_manager max_cached_processes 160
## Combined:
[ $(getprop ro.build.version.release) -gt 9 ] && /system/bin/device_config put activity_manager max_phantom_processes 2147483647 ; /system/bin/device_config put activity_manager max_cached_processes 160 || settings put global activity_manager_constants max_cached_processes=160

Uninstall script resets the values back to the ROM's defaults.

PS: all the rest from 0.0.7 has been removed because I feel it became obsolate.. feel free to play with those values :D

0.0.7

15 Feb 09:59
e956ccb
Compare
Choose a tag to compare

0.0.7 & 0.0.7b
(b version don't include virtual memory tweaks)

0.0.3

28 Mar 20:19
eb11cd0
Compare
Choose a tag to compare

0.0.3 - updated to new Magisk template

0.0.2

14 May 18:50
7fb9ac6
Compare
Choose a tag to compare

Template updated to 1500