diff --git a/gen-control.sh b/gen-control.sh index fea8566..d6cfd30 100755 --- a/gen-control.sh +++ b/gen-control.sh @@ -24,7 +24,7 @@ Depends: firmware (>= 14.0), mobilesubstrate (>= 0.9.7000) Architecture: iphoneos-arm Author: Lessica <82flex@gmail.com> Maintainer: Lessica <82flex@gmail.com> -Description: Troll speed, but jailbroken. +Description: Troll your speed, but jailbroken. __EOF__ # Set permissions diff --git a/sources/HUDMainApplication.mm b/sources/HUDMainApplication.mm index 625c9ce..cec3c5e 100644 --- a/sources/HUDMainApplication.mm +++ b/sources/HUDMainApplication.mm @@ -17,28 +17,6 @@ #import "HUDMainApplication.h" #import "UIApplication+Private.h" -static void DumpThreads(void) -{ - char name[256]; - mach_msg_type_number_t count; - thread_act_array_t list; - task_threads(mach_task_self(), &list, &count); - for (int i = 0; i < count; ++i) - { - pthread_t pt = pthread_from_mach_thread_np(list[i]); - if (pt) - { - name[0] = '\0'; - __unused int rc = pthread_getname_np(pt, name, sizeof name); - log_debug(OS_LOG_DEFAULT, "mach thread %u: getname returned %d: %{public}s", list[i], rc, name); - } - else - { - log_debug(OS_LOG_DEFAULT, "mach thread %u: no pthread found", list[i]); - } - } -} - @implementation HUDMainApplication - (instancetype)init @@ -150,9 +128,6 @@ - (instancetype)init { /* Tested on iOS 15.1.1 and below */ [fetcher setValue:dispatcher forKey:@"eventFetcherSink"]; - - /* Print NSThread names */ - DumpThreads(); } [self setValue:fetcher forKey:@"eventFetcher"]; diff --git a/supports/entitlements.plist b/supports/entitlements.plist index e2898b3..e404acb 100644 --- a/supports/entitlements.plist +++ b/supports/entitlements.plist @@ -8,6 +8,8 @@ com.apple.backboard.client + com.apple.private.allow-background-haptics + com.apple.private.hid.client.event-dispatch com.apple.private.hid.client.event-filter