├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── Tweak.x ├── WatchdogDisabler.plist └── control /.gitignore: -------------------------------------------------------------------------------- 1 | .theos 2 | packages -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Lars Fröder 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | TARGET := iphone:clang:latest:7.0 2 | INSTALL_TARGET_PROCESSES = SpringBoard 3 | 4 | include $(THEOS)/makefiles/common.mk 5 | 6 | TWEAK_NAME = WatchdogDisabler 7 | 8 | WatchdogDisabler_FILES = Tweak.x 9 | WatchdogDisabler_CFLAGS = -fobjc-arc 10 | 11 | include $(THEOS_MAKE_PATH)/tweak.mk 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WatchdogDisabler 2 | By default, iOS apps taking longer than 10 seconds to launch are automatically killed by watchdog. This tweak prevents that from happening. 3 | This is useful if you want to trace an application start with Frida but it takes more than 10 seconds to launch the app. 4 | -------------------------------------------------------------------------------- /Tweak.x: -------------------------------------------------------------------------------- 1 | %hook FBSProcessWatchdog 2 | 3 | - (void)provision:(id)arg1 wasViolatedWithError:(id)arg2 { } 4 | 5 | %end -------------------------------------------------------------------------------- /WatchdogDisabler.plist: -------------------------------------------------------------------------------- 1 | { Filter = { Bundles = ( "com.apple.springboard" ); }; } 2 | -------------------------------------------------------------------------------- /control: -------------------------------------------------------------------------------- 1 | Package: com.opa334.watchdogdisabler 2 | Name: WatchdogDisabler 3 | Version: 1.0 4 | Architecture: iphoneos-arm 5 | Description: Disables app launch watchdog timeouts 6 | Maintainer: opa334 7 | Author: opa334 8 | Section: Tweaks 9 | Depends: mobilesubstrate (>= 0.9.5000) 10 | --------------------------------------------------------------------------------