├── META-INF
├── com
│ └── google
│ │ └── android
│ │ ├── updater-script
│ │ └── update-binary
├── CERT.RSA
├── MANIFEST.MF
└── CERT.SF
├── system.prop
├── post-fs-data.sh
├── module.prop
├── CHANGELOG.md
└── README.md
/META-INF/com/google/android/updater-script:
--------------------------------------------------------------------------------
1 | #MAGISK
2 |
--------------------------------------------------------------------------------
/system.prop:
--------------------------------------------------------------------------------
1 | ro.vendor.qti.sys.fw.bg_apps_limit=120
2 |
--------------------------------------------------------------------------------
/META-INF/CERT.RSA:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixsuki/Cache-App-Limiter/HEAD/META-INF/CERT.RSA
--------------------------------------------------------------------------------
/post-fs-data.sh:
--------------------------------------------------------------------------------
1 | # Set Cache App Limiter configurations
2 | setprop ro.vendor.qti.sys.fw.bg_apps_limit 120
3 |
--------------------------------------------------------------------------------
/module.prop:
--------------------------------------------------------------------------------
1 | id=CacheAppLimiter
2 | name=Cache App Limiter
3 | version=v6.2.0
4 | versionCode=620
5 | author=EmperorEye1993
6 | description=This module helps devices better manage its number of RAM and it benefits the battery life and is intended for the user’s best experience.
7 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ### v6.2.0
4 |
5 | - Update to the latest implementation by OP.
6 |
7 | ### v6.1.0
8 |
9 | - Bring back OnePlus OG Cached App Limit properties.
10 |
11 | ### v6.0
12 |
13 | - Updated to the latest magisk codes.
14 |
15 | ### v5.0
16 |
17 | - Adapt Nord Properties.
18 |
19 | ### v4.0
20 |
21 | - Updated to latest Magisk Template & Merged Latest limit implementation.
22 |
23 | ### v3.0
24 |
25 | - Updated to treble vendor compliance.
26 |
27 | ### v2.0
28 |
29 | - Cached app limits was raised to 50 by default.
30 |
31 | ### v1.0
32 |
33 | - Initial Release.
34 |
--------------------------------------------------------------------------------
/META-INF/com/google/android/update-binary:
--------------------------------------------------------------------------------
1 | #!/sbin/sh
2 |
3 | #################
4 | # Initialization
5 | #################
6 |
7 | umask 022
8 |
9 | # echo before loading util_functions
10 | ui_print() { echo "$1"; }
11 |
12 | require_new_magisk() {
13 | ui_print "*******************************"
14 | ui_print " Please install Magisk v20.4+! "
15 | ui_print "*******************************"
16 | exit 1
17 | }
18 |
19 | #########################
20 | # Load util_functions.sh
21 | #########################
22 |
23 | OUTFD=$2
24 | ZIPFILE=$3
25 |
26 | mount /data 2>/dev/null
27 |
28 | [ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
29 | . /data/adb/magisk/util_functions.sh
30 | [ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
31 |
32 | install_module
33 | exit 0
34 |
--------------------------------------------------------------------------------
/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Created-By: 1.0 (Android SignApk)
3 |
4 | Name: META-INF/com/google/android/updater-script
5 | SHA1-Digest: Lzl1y1cC6TvXytLj6okU81/P8AA=
6 |
7 | Name: module.prop
8 | SHA1-Digest: 70J6TULvaSaSuRURC2dIGEFPQvg=
9 |
10 | Name: META-INF/com/google/android/update-binary
11 | SHA1-Digest: JI97C8cW14Pf9ZyAiBmub0r6YO8=
12 |
13 | Name: .gitattributes
14 | SHA1-Digest: SHkPHaIYmkyiSr/8xl5rnMsx024=
15 |
16 | Name: common/post-fs-data.sh
17 | SHA1-Digest: W9c/DllxnfxrlloMGo5ef2mC+dc=
18 |
19 | Name: common/system.prop
20 | SHA1-Digest: Cxyd4RdfI4aNQXmwjgR1P/Q1X38=
21 |
22 | Name: common/service.sh
23 | SHA1-Digest: hCOn0sjc2mEMqqqcb7TFt4BEcVM=
24 |
25 | Name: config.sh
26 | SHA1-Digest: A9jxcwDuLZuaE1YSsuIlON3+yJs=
27 |
28 | Name: README.md
29 | SHA1-Digest: IeOys3h/9NZFy8+0f4jd9YwQyWc=
30 |
31 |
--------------------------------------------------------------------------------
/META-INF/CERT.SF:
--------------------------------------------------------------------------------
1 | Signature-Version: 1.0
2 | SHA1-Digest-Manifest: D0g70bzB3lV6VSuUtalHSiqgRH8=
3 | Created-By: 1.0 (Android SignApk)
4 |
5 | Name: META-INF/com/google/android/updater-script
6 | SHA1-Digest-Manifest: pVUJ9D5th6d2sD8aeNp5zhiBUcs=
7 |
8 | Name: module.prop
9 | SHA1-Digest-Manifest: fFCnXSUD/m4wlt6vntx14y1UP6E=
10 |
11 | Name: META-INF/com/google/android/update-binary
12 | SHA1-Digest-Manifest: s28YMQUeQ4bqgK1UB4Sr/4f/pEQ=
13 |
14 | Name: .gitattributes
15 | SHA1-Digest-Manifest: aGWIWVmzkho55M467iOPC3SnRB4=
16 |
17 | Name: common/post-fs-data.sh
18 | SHA1-Digest-Manifest: SyX3X/PeDY9ntN8RXeBKc888YZg=
19 |
20 | Name: common/system.prop
21 | SHA1-Digest-Manifest: 7dWpi5gcenK2zcSsfas9rX5iKIw=
22 |
23 | Name: common/service.sh
24 | SHA1-Digest-Manifest: TOn/zXTfuf86lkAJLKXrKctujsY=
25 |
26 | Name: config.sh
27 | SHA1-Digest-Manifest: IWJ8Yo/WCEQS+S8tCMdHcu5tZiQ=
28 |
29 | Name: README.md
30 | SHA1-Digest-Manifest: 5K8lpE866tl2GX3IL8QSzHwEZnU=
31 |
32 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Cache App Limiter
2 |
3 | ## Description
4 |
5 | - This module helps devices better manage its number of RAM and it benefits the battery life and is intended for the user’s best experience.
6 | - Based to the official system and vendor property tweaks provided by OnePlus.
7 |
8 | ## How does it works?
9 |
10 | - It refers to contrast phone, reduce background apps limit to avoid low memory too early.
11 | - Provides better memory management.
12 | - Flash & Forget!.
13 |
14 | ## Requirements
15 |
16 | - Latest Magisk v20.4+!
17 |
18 | ## Changelogs
19 |
20 | - Check out what's new [here](https://github.com/EmperorEye1993/Cache-App-Limiter/blob/master/CHANGELOG.md)
21 |
22 | ## Thanks for donations
23 |
24 | - Donations: [Here](https://www.paypal.com/paypalme/EmperorEye1993)
25 |
26 | ## Support Links
27 |
28 | - Telegram Account
29 | - XDA Account Profile
30 |
31 | ## Credits
32 |
33 | - Reference about the mod
34 | - Latest Magisk Releases
35 |
--------------------------------------------------------------------------------