iOS Debloat Script: Optimize Performance, Battery Life and Gaming FPS on Jailbroken iPhone

Stock iOS firmware maintains hundreds of concurrent background services for continuous diagnostic logging, crash analytics, cloud synchronization, and telemetry collection sent back to Apple servers. When running demanding games like PUBG Mobile, Genshin Impact, or Honor of Kings on older hardware, these persistent daemons compete directly with foreground processes for CPU cycles and memory bandwidth. The resulting thermal throttling triggers severe frame drops and battery drain during standby. The perf.sh (Performance Script) package modifies iOS LaunchDaemons configurations directly on jailbroken devices, disabling unnecessary background overhead to free up RAM and reduce system temperatures.
- Optimization Objective: Terminates over 100 redundant background services (telemetry, crash reporters, Siri agents, and sync daemons) to dedicate maximum hardware resources to foreground applications.
- Environment Requirements: Jailbroken iPhone or iPad (supported from iOS 12 through iOS 17.x) with read-write access to system LaunchDaemons or rootless symlinks managed via Filza File Manager.
- Granular Customization: Users can preserve essential daily functions (such as iMessage, FaceTime, or Apple Watch pairing) simply by removing the corresponding lines in the script prior to execution.
- Rollback Strategy: Resetting the device via Erase All Content and Settings in Settings or flashing stock firmware using iTunes or 3uTools restores all original system daemons completely.
1. What Is perf.sh & How iOS Debloating Works
Every iOS device runs persistent system daemons configured through property list (.plist) files located in system launch directories. Several of these daemons create noticeable overhead:
- HangTracer: Automatically captures complete stack traces whenever a user interface micro-freeze occurs, paradoxically compounding the freeze duration.
- Unified Logging (logd) & Syslog: Continuously streams system and application events to flash storage, increasing storage read/write cycles and active power draw.
- Telemetry & Crash Reporter: Compresses crash data and diagnostic reports, regularly transmitting analytics packages over Wi-Fi or cellular networks.
- CoreDuet & On-Device Intelligence: Continuously monitors user routines, app usage timestamps, and location coordinates to populate predictive Spotlight suggestions.
The perf.sh shell script contains 425 structured execution lines. Running it with elevated root privileges in a jailbreak environment unloads and disables target LaunchDaemon definitions, preventing the operating system from re-spawning them at boot.
2. Jailbreak Tool Compatibility Matrix
Modifying system daemon property lists requires a jailbreak environment equipped with elevated package management and file manipulation permissions. The following matrix details recommended tools across iOS versions:
| iOS / iPadOS Version | Recommended Jailbreak Tool | Architecture Type | File Manager |
|---|---|---|---|
| iOS 15.0 – 16.6.1 | Dopamine | Rootless (Semi-untethered) | Filza File Manager |
| iOS 15.0 – 17.x (A8 – A11 SoCs) | palera1n | Rootful / Rootless (Checkm8 hardware exploit) | Filza File Manager |
| iOS 15.0 – 15.4.1 (A12 – A15 SoCs) | XinaA15 | Rootless with Root-hide layer | Filza File Manager |
| iOS 14.0 – 14.8.1 | Taurine / unc0ver | Traditional Rootful | Filza File Manager |
| iOS 12.0 – 13.7 | unc0ver / checkra1n | Traditional Rootful | Filza File Manager |
3. Detailed Breakdown of the 7 Service Categories in perf.sh
To ensure full operational transparency, the reference tables below detail the individual service groups modified by the script:
3.1 Telemetry, Crash Logs & System Diagnostics
This group continuously gathers diagnostic entries and analytics for Apple telemetry servers, generating frequent flash disk writes:
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Unified Logging (logd) |
/System/Library/LaunchDaemons/com.apple.logd.plist |
Terminates system-wide logging to preserve battery life | Disables Unified Logging history collection |
Syslog Daemon |
/System/Library/LaunchDaemons/com.apple.syslogd.plist |
Stops traditional syslog generation daemon | Syslog output becomes unavailable in Terminal |
Diagnostic Daemon |
/System/Library/LaunchDaemons/com.apple.diagnosticd.plist/usr/libexec/diagnosticd |
Shuts down background software diagnostics collection | Disables automated software fault tracking |
HangTracer Daemon |
/System/Library/LaunchDaemons/com.apple.hangtracerd.plist/System/Library/PrivateFrameworks/HangTracer.framework |
Eliminates UI frame pacing hitches caused by automatic stack trace captures | Prevents OS from recording app freeze reports |
Analytics Daemon |
/System/Library/LaunchDaemons/com.apple.analyticsd.plist/System/Library/PrivateFrameworks/CoreAnalytics.framework |
Blocks outbound telemetry packages, saving RAM and cellular bandwidth | Stops analytics transmission to Apple |
GPU Raw Counters |
/System/Library/PrivateFrameworks/GPURawCounter.framework |
Disables background GPU performance counter sampling | GPU hardware profiling via Xcode becomes unavailable |
Crash Reporter |
/System/Library/CoreServices/ReportCrash/var/mobile/Library/OSAnalytics |
Removes resource overhead used to generate and store .ips crash bundles |
Clears crash history under Analytics & Improvements in Settings |
3.2 Siri, Artificial Intelligence & Machine Learning (AI/ML)
These processes run active machine learning models that remain resident in working RAM:
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Siri Core & Plugins |
/System/Library/Assistant//System/Library/Assistant/Plugins/activity.assistantBundle |
Frees up tens of megabytes of resident memory and stops passive keyword listening | Disables Siri voice assistant and "Hey Siri" detection |
Attention Awareness |
/System/Library/PrivateFrameworks/AttentionAwareness.framework |
Stops continuous TrueDepth Face ID gaze tracking to save sensor power | Display will not stay awake upon gaze; ring volume does not auto-lower |
CoreDuet Activity |
/System/Library/CoreDuet/System/Library/DuetActivityScheduler |
Disables behavioural pattern tracking, letting the CPU maintain deep sleep states | Removes time-based automated app launch suggestions |
Distributed Evaluation |
/System/Library/DistributedEvaluation/ |
Prevents device participation in federated machine learning during charging | Stops local AI training metric aggregation |
3.3 Media Sync Bundles & Apple Watch Integration
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Media Sync Bundles |
/System/Library/SyncBundles/MusicLibrary.syncBundle/System/Library/SyncBundles/Books.syncBundle |
Disables background daemons waiting for wired iTunes/Finder cable connections | Wired local synchronization for music, books, and photos is disabled |
Apple Watch Bridge |
/System/Library/BridgeManifests/System/Library/BulletinDistributor |
Terminates background Bluetooth polling pipelines for companion wearables | Watch app is disabled; notifications are not forwarded to an Apple Watch |
3.4 Communication, Messaging, Security & Apple Pay
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
iMessage & FaceTime |
/System/Library/Messages/PlugIns/iMessage.imservice/System/Library/Messages/PlugIns/FaceTime.imservice |
Closes persistent push notification listeners for Apple messaging services | Disables sending and receiving iMessage and FaceTime calls |
Find My Device |
/usr/libexec/findmydeviced/Applications/FindMyExtensionContainer.app |
Stops background GPS coordinate tracking and updates to iCloud | Remote location tracking and remote device locking via iCloud are disabled |
Apple Pay & Passbook |
/System/Library/UserNotifications/Bundles/com.apple.Passbook.bundle/System/Library/CryptoTokenKit |
Disables background NFC polling and cryptographic token verification routines | Apple Pay transactions, Tap to Pay, and Wallet passes become unavailable |
3.5 Health, Family Sharing, Smart Home & Media
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Health & Fitness |
/System/Library/Health//System/Library/Fitness/ |
Halts continuous background step counting and motion sensor polling | Pedometer tracking in Apple Health is disabled |
Family Sharing |
/System/Applications/Family/Applications/Family.app |
Unloads usage restriction and family permission daemons | Disables Family Sharing configurations and Screen Time controls |
HomeKit |
/Applications/HomeUIService.app |
Removes home automation controls from Control Center | HomeKit accessory controls are disabled |
Sidecar & AirPlay |
/Applications/Sidecar.app/Applications/AirPlayReceiver.app |
Frees resident memory by unloading display streaming receivers | Device cannot function as a secondary Mac display or AirPlay receiver |
3.6 Location Bundles, Accessibility & Voice Services
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Location Bundles |
/System/Library/LocationBundles/CountryTracker.bundle |
Blocks background regional checks and geographic app suggestions | Automatic country region updates are disabled |
Accessibility Voice |
/System/Library/ScreenReader/System/Library/VoiceServices/PlugIns |
Reduces memory overhead by unloading unused screen reader components | VoiceOver, Text-to-Speech, and Live Transcription become unavailable |
Dictionary Services |
/System/Library/PrivateFrameworks/DictionaryServices.framework |
Frees local storage allocated to built-in system dictionaries | Quick inline dictionary lookup via text selection is disabled |
3.7 Apple Factory Testing Apps & Core Maintenance Daemons
| Service Name | Filesystem Target Path | Technical Optimization Impact | Disabled Capability |
|---|---|---|---|
Factory & Testing Apps |
/Applications/FieldTest.app/Applications/DemoApp.app |
Removes retail display utilities and internal factory calibration bundles | Dialing *3001#12345#* to access the cellular Field Test interface is disabled |
CacheDelete Services |
/System/Library/CacheDelete/System/Library/CoreServices/CacheDeleteDaily |
Stops automated daily disk cache scanning to reduce background I/O | Note: iOS will no longer automatically purge temporary app caches when storage is low |
MapsSync & CloudSettings |
/System/Library/CoreServices/CloudSettingsSyncAgent/System/Library/PrivateFrameworks/MapsSync.framework |
Halts background iCloud synchronization for system settings and maps | Stops syncing Apple Maps bookmarks across paired devices |
- If you rely on iMessage, FaceTime, Apple Watch connectivity, Apple Pay, or Find My, you must edit
perf.shin Filza to remove or comment out (prepend with#) the corresponding lines before executing the script. - The default configuration is designed for dedicated gaming setups or secondary devices where maximum battery endurance and FPS stability are prioritized.
4. Real-World Testing on iPad Pro 2017 (iPadOS 17.6.2)
The perf.sh configuration was evaluated on physical hardware: an iPad Pro 2017 (Wi-Fi model, 120Hz ProMotion display, Apple A10X Fusion SoC) running iPadOS 17.6.2, jailbroken using palera1n.
Despite operating modern iPadOS 17 firmware on 7-year-old hardware, real-world testing demonstrated noticeable responsiveness improvements:
- Multitasking & Productivity: Working with multi-hundred-page technical PDFs, taking notes simultaneously, and running Split View multitasking between Safari and note-taking applications proceeded smoothly without app eviction caused by memory pressure.
- Gaming Performance: In titles like Arena of Valor and PUBG Mobile, framerate pacing remained consistent during intensive team fights, mitigating the abrupt throttling drops experienced prior to debloating.
- Standby Battery & Thermal Profile: Overnight idle battery drain dropped to approximately 1% to 2% as CPU cores maintained uninterrupted Deep Sleep states. Chassis temperatures remained noticeably cooler under extended gaming sessions.
5. Step-by-Step Customization & Execution via Filza
The entire installation and customization workflow is performed on-device without requiring a computer:
- Step 1 - Install Filza File Manager: Open your package manager (Sileo, Zebra, or Cydia), search for
Filza File Managerfrom TIGI Software's repository, and install it. - Step 2 - Download Configuration File: Download
perf.shusing Safari from the download card below, then select Open in Filza. - Step 3 - Customise Retained Features: In Filza, long-press
perf.sh> select Open with... > choose Text Editor. Cross-reference with the tables in Section 3, delete the lines corresponding to features you wish to keep (e.g. remove lines containingiMessage.imserviceto retain messaging), and tap Save. - Step 4 - Execute Script: Tap
perf.shonce in Filza and choose Scripts or Run Script. A root console window will open and execute the configuration within 3 to 5 seconds. Once finished, tap Done. - Step 5 - Restart System UI: Perform a Respring or reboot user space to apply the LaunchDaemon modifications.
Alternatively, you can trigger the script through a mobile Terminal client (NewTerm or SSH):
sh /var/mobile/Documents/perf.sh6. Official perf.sh Script Download Card
perf.sh iOS Debloat Script Package
Comprehensive shell script disabling over 100 background services to maximize RAM headroom, reduce thermal throttling, and boost gaming FPS.
7. Core Technical Benefits & Trade-offs
| Delivered Technical Advantages | System Constraints & Trade-offs |
|---|---|
|
|
8. Frequently Asked Questions (FAQ)
How can I keep iMessage and FaceTime while applying the optimization?
Open perf.sh in Filza using Text Editor prior to executing the script. Locate the lines containing iMessage.imservice and FaceTime.imservice, and either delete them or prepend a # character at the beginning of each line to omit them from execution.
Does disabling these services noticeably reduce battery drain?
Yes. Removing continuous telemetry uploaders, persistent Siri keyword audio listening loops, and system logging daemons prevents extraneous CPU wakeups, significantly cutting down overnight idle battery drain.
How do I restore the device back to Apple stock configuration?
Navigate to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, or connect the device to a computer to perform a full clean firmware restore via iTunes or 3uTools. All factory LaunchDaemons will be fully reinstated.
Related Articles

BrotX Optimizer v7: Rootless Android System Tuning via Shizuku ADB
Guide to rootless Android system tuning with BrotX Optimizer v7 via Shizuku ADB: enable ANGLE Vulkan GPU, 0ms floating window touch, 80% charge protection, and 58 flags.

OOptimize: Android 7-15 Gaming Tweaks (Root & No-Root)
Optimize SurfaceFlinger and GPU Vulkan pipeline on Android 7-15 with OOptimize: stabilize FPS, eliminate frame drops, and minimize touch input latency.

RAM Purger: Stop Background Processes & Boost Android Gaming Like iPhone
Complete guide to the rootless RAM Purger (frozen.sh) shell script terminating 400+ background app tasks to reclaim RAM and eliminate frame drops on Android.

How to Lower Screen Resolution on Android for Maximum Gaming FPS
Step-by-step guide to downscale Android screen resolution without root: cut GPU load by up to 50%, prevent thermal throttling, and boost gaming FPS.
Comments(2)
Sign in to join the conversation
Sign in with Google, Facebook or Email to leave a comment and get notified of replies.
jb xong chạy script xong xoá jb có đc k a