Legacy Jetsam Configuration - UInt2048/CyberKit GitHub Wiki
NOTE: This material is historical in nature, and is provided as reference for versions of CyberKit before 0.0.9. Today, CyberKit requests its own jetsam configuration through syscalls in jetsamConfiguration(pid_t pid)
instead of the bad practice of modifying a system property list, and the following does not apply.
Today's browsers do a ton of things, and require an ever-increasing amount of resources to do them. Built in to the OS, Apple overrides its normal memory usage limits to provide increased resources for WebKit automatically, but CyberKit is not WebKit, so it doesn't get this for free.
No, all three of these methods require modifying a property list in the system directories, which are not writable in a rootless jailbreak. For the same reasons, TrollStore is okay only before iOS 15.
There are three methods to choose from! The automatic method is recommended, but the others are also listed for historical reasons, non-jailbroken users, and more in-depth understanding.
- Obtain the PlistBuddy dependency.
- If your jailbreak comes with the Procursus repo, you should be good to go.
- If your jailbreak does NOT come with the Procursus repo, add this repo: https://the-samminater.github.io/repo/.
- If you are on iOS 12, install the OpenPlistBuddy DEB from https://github.com/UInt2048/OpenPlistBuddy/releases/latest.
- Optional: Type
/usr/libexec/PlistBuddy
into a terminal to confirm it worked. If you do NOT see a help message, let me know. - Install CyberKit Jetsam Configurator from my repo.
- You should see the output "You can safely uninstall CyberKit Jetsam Configurator now." without errors preceding it.
- Feel free to remove the jetsam configurator package now (and the dependencies if you so desire).
- Perform a full reboot (NOT a userspace reboot) and rejailbreak. (Jetsam configuration will NOT work until you do this.)
For the purposes of this method, "computer" means a device running Linux in Darling's shell or a device running macOS.
In this method, you should identify the internal name of your device. You will replace the XXXX in step 2 (and 4) with the characters before the AP in that name (e.g. J307 in J307AP).
- Navigate to the directory
/System/Library/LaunchDaemons
. - Copy the file
com.apple.jetsamproperties.XXXX.plist
to your computer. - Download jetsamfix.sh on your computer.
- Run the script on your computer, e.g.
./jetsamfix.sh com.apple.jetsamproperties.XXXX.plist
- Replace the original file with the file you modified using the script.
- Perform a full reboot (NOT a userspace reboot) and rejailbreak. Your changes will NOT work until you do this.
In this method, you should identify the internal name of your device. You will replace the XXXX in step 2 with the characters before the AP in that name (e.g. J307 in J307AP).
-
Navigate to the directory
/System/Library/LaunchDaemons
. -
Open
com.apple.jetsamproperties.XXXX.plist
with a property list editor. These instructions assume you use Filza's built-in editor. -
Navigate within the file to
Version4
âXPCService
âOverride
. -
For each dictionary key beginning with
com.apple.WebKit
, note the values within them. It may be easiest to screenshot. -
Tap the âšī¸ next to the Override dictionary and scroll to the bottom.
-
Tap "New item" and create a new dictionary-type entry.
-
Add identical (should be number-type) properties as the WebKit properties noted earlier, ensuring the dictionary is named as follows:
-
com.matthewbenedict.CyberKit.Networking should be copied from
com.apple.WebKit.Networking
. -
com.matthewbenedict.CyberKit.Networking.Development should be copied from
com.apple.WebKit.Networking.Development
. -
com.matthewbenedict.CyberKit.Storage should be copied from
com.apple.WebKit.Storage
. -
com.matthewbenedict.CyberKit.Storage.Development should be copied from
com.apple.WebKit.Storage.Development
. -
com.matthewbenedict.CyberKit.WebContent should be copied from
com.apple.WebKit.WebContent
. -
com.matthewbenedict.CyberKit.WebContent.Development should be copied from
com.apple.WebKit.WebContent.Development
.
-
com.matthewbenedict.CyberKit.Networking should be copied from
Picture demonstrating a successful copy
- After saving, a full reboot (NOT a userspace reboot) and rejailbreak is required for these changes to take effect.