diff --git a/Makefile b/Makefile index 0c12d875..2fa4765f 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ Serotonin.tipa: $(wildcard **/*.c **/*.m **/*.swift **/*.plist **/*.xml) cp RootHelperSample/Exploits/fastPathSign/fastPathSign ChOma/output/ios/tests echo "[*] Building Serotonin" - xcodebuild clean build -project Serotonin.xcodeproj -scheme usprebooter -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -derivedDataPath build + xcodebuild clean build -project Serotonin.xcodeproj -scheme Serotonin -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -derivedDataPath build echo "[*] Done building. Packaging for TS..." $(MAKE) -C RootHelperSample diff --git a/RootHelperSample/launchdshim/launchdhook/Makefile b/RootHelperSample/launchdshim/launchdhook/Makefile index 8e431e20..bdfdc19e 100644 --- a/RootHelperSample/launchdshim/launchdhook/Makefile +++ b/RootHelperSample/launchdshim/launchdhook/Makefile @@ -6,7 +6,7 @@ include $(THEOS)/makefiles/common.mk LIBRARY_NAME = launchdhook launchdhook_FILES = $(wildcard *.m) $(wildcard *.c) $(wildcard verbose/*.m) -launchdhook_CFLAGS = -fobjc-arc -isystem "../../../usprebooter/Private Headers I stole from the macOS SDK" -Wno-error +launchdhook_CFLAGS = -fobjc-arc -isystem "../../../Serotonin/Private Headers I stole from the macOS SDK" -Wno-error launchdhook_CODESIGN_FLAGS = -S../launchdentitlements.plist launchdhook_LDFLAGS = -F./Frameworks launchdhook_EXTRA_FRAMEWORKS += IOMobileFramebuffer IOSurface diff --git a/RootHelperSample/main.m b/RootHelperSample/main.m index a9f24030..1e7000a1 100644 --- a/RootHelperSample/main.m +++ b/RootHelperSample/main.m @@ -91,22 +91,22 @@ uint64_t resolve_jbrand_value(const char* name) } -NSString* usprebooterPath() +NSString* SerotoninPath() { NSError* mcmError; - MCMAppContainer* appContainer = [MCMAppContainer containerWithIdentifier:@"pisshill.usprebooter" createIfNecessary:NO existed:NULL error:&mcmError]; + MCMAppContainer* appContainer = [MCMAppContainer containerWithIdentifier:@"pisshill.Serotonin" createIfNecessary:NO existed:NULL error:&mcmError]; if(!appContainer) return nil; return appContainer.url.path; } -NSString* usprebooterappPath() +NSString* SerotoninappPath() { - return [usprebooterPath() stringByAppendingPathComponent:@"Serotonin.app"]; + return [SerotoninPath() stringByAppendingPathComponent:@"Serotonin.app"]; } int runLdid(NSArray* args, NSString** output, NSString** errorOutput) { - NSString* ldidPath = [usprebooterappPath() stringByAppendingPathComponent:@"ldid"]; + NSString* ldidPath = [SerotoninappPath() stringByAppendingPathComponent:@"ldid"]; NSMutableArray* argsM = args.mutableCopy ?: [NSMutableArray new]; [argsM insertObject:ldidPath.lastPathComponent atIndex:0]; @@ -275,12 +275,12 @@ int main(int argc, char *argv[], char *envp[]) { // @"get-task-allow": [NSNumber numberWithBool:YES], // @"platform-application": [NSNumber numberWithBool:YES], // }; - NSString* launchdents = [usprebooterappPath() stringByAppendingPathComponent:@"launchdentitlements.plist"]; - NSString* patchedLaunchdCopy = [usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"]; + NSString* launchdents = [SerotoninappPath() stringByAppendingPathComponent:@"launchdentitlements.plist"]; + NSString* patchedLaunchdCopy = [SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"]; signAdhoc(patchedLaunchdCopy, launchdents); // source file, NSDictionary with entitlements // TODO: Use ct_bypass instead of fastPathSign, it's just better :trol: - NSString *fastPathSignPath = [usprebooterappPath() stringByAppendingPathComponent:@"fastPathSign"]; + NSString *fastPathSignPath = [SerotoninappPath() stringByAppendingPathComponent:@"fastPathSign"]; NSString *stdOut; NSString *stdErr; spawnRoot(fastPathSignPath, @[@"-i", patchedLaunchdCopy, @"-r", @"-o", patchedLaunchdCopy], &stdOut, &stdErr); @@ -293,17 +293,17 @@ int main(int argc, char *argv[], char *envp[]) { // 1. install roothide bootstrap // 2. copy over launchd to your macos from your phone NSLog(@"copy launchd over"); - [[NSFileManager defaultManager] copyItemAtPath:@"/sbin/launchd" toPath:[usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"] error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:@"/sbin/launchd" toPath:[SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"] error:nil]; // remove cpu subtype, insert_dylib, then - replaceByte([usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"], 8, "\x00\x00\x00\x00"); - insert_dylib_main("@loader_path/launchdhook.dylib", [[usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"] UTF8String]); + replaceByte([SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"], 8, "\x00\x00\x00\x00"); + insert_dylib_main("@loader_path/launchdhook.dylib", [[SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"] UTF8String]); // sleep(1); NSLog(@"sign launchd over and out"); spawnRoot(rootHelperPath(), @[@"codesign", source, @""], nil, nil); // 3. copy over workinglaunchd to your jbroot/launchd - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"] toPath:jbroot(@"launchd") error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"] toPath:jbroot(@"launchd") error:nil]; // 4. copy over launchdhooksigned.dylib as jbroot/launchdhook.dylib - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"launchdhooksigned.dylib"] toPath:jbroot(@"launchdhook.dylib") error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"launchdhooksigned.dylib"] toPath:jbroot(@"launchdhook.dylib") error:nil]; // 5. copy over your regular SpringBoard.app to jbroot/System/Library/CoreServices/SpringBoard.app [[NSFileManager defaultManager] createDirectoryAtPath: jbroot(@"/System/Library/CoreServices/") withIntermediateDirectories:YES attributes:nil error:nil]; @@ -311,20 +311,20 @@ int main(int argc, char *argv[], char *envp[]) { // 6. replace the regular SpringBoard in your jbroot/System/Library/CoreServices/SpringBoard.app/SpringBoard with springboardshimsignedinjected [[NSFileManager defaultManager] removeItemAtPath:jbroot(@"/System/Library/CoreServices/SpringBoard.app/SpringBoard") error:nil]; - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"springboardshimsignedinjected"] toPath:jbroot(@"/System/Library/CoreServices/SpringBoard.app/SpringBoard") error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"springboardshimsignedinjected"] toPath:jbroot(@"/System/Library/CoreServices/SpringBoard.app/SpringBoard") error:nil]; // 7. place springboardhooksigned.dylib as jbroot/SpringBoard.app/springboardhook.dylib [[NSFileManager defaultManager] removeItemAtPath:jbroot(@"/System/Library/CoreServices/SpringBoard.app/springboardhook.dylib") error:nil]; - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"springboardhooksigned.dylib"] toPath:[jbroot(@"/System/Library/CoreServices/SpringBoard.app") stringByAppendingPathComponent:@"springboardhook.dylib"] error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"springboardhooksigned.dylib"] toPath:[jbroot(@"/System/Library/CoreServices/SpringBoard.app") stringByAppendingPathComponent:@"springboardhook.dylib"] error:nil]; // 8. create a symlink to jbroot named .jbroot [[NSFileManager defaultManager] createSymbolicLinkAtPath:jbroot(@"/System/Library/CoreServices/SpringBoard.app/.jbroot") withDestinationPath:jbroot(@"/") error:nil]; // 9. add the cool bootlogo! - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"Serotonin.jp2"] toPath:@"/var/mobile/Serotonin.jp2" error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"Serotonin.jp2"] toPath:@"/var/mobile/Serotonin.jp2" error:nil]; // 10. add our confidential text hider into regular TweakInject dir - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"hideconfidentialtext.dylib"] toPath:[jbroot(@"/usr/lib/TweakInject") stringByAppendingPathComponent:@"hideconfidentialtext.dylib"] error:nil]; - [[NSFileManager defaultManager] copyItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"hideconfidentialtext.plist"] toPath:[jbroot(@"/usr/lib/TweakInject") stringByAppendingPathComponent:@"hideconfidentialtext.plist"] error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"hideconfidentialtext.dylib"] toPath:[jbroot(@"/usr/lib/TweakInject") stringByAppendingPathComponent:@"hideconfidentialtext.dylib"] error:nil]; + [[NSFileManager defaultManager] copyItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"hideconfidentialtext.plist"] toPath:[jbroot(@"/usr/lib/TweakInject") stringByAppendingPathComponent:@"hideconfidentialtext.plist"] error:nil]; // remove workinglaunchd - [[NSFileManager defaultManager] removeItemAtPath:[usprebooterappPath() stringByAppendingPathComponent:@"workinglaunchd"] error:nil]; + [[NSFileManager defaultManager] removeItemAtPath:[SerotoninappPath() stringByAppendingPathComponent:@"workinglaunchd"] error:nil]; // } else { // NSLog(@"launchd was found, you've already installed"); // } diff --git a/Serotonin.xcodeproj/project.pbxproj b/Serotonin.xcodeproj/project.pbxproj index 5e953a53..c2f0a8d9 100644 --- a/Serotonin.xcodeproj/project.pbxproj +++ b/Serotonin.xcodeproj/project.pbxproj @@ -36,7 +36,7 @@ C8B1D3B12B5A620500C5562B /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B1D3A32B5A620500C5562B /* Logger.swift */; }; C8B1D3B22B5A620500C5562B /* MainTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B1D3A42B5A620500C5562B /* MainTabBarController.swift */; }; C8B1D3B32B5A620500C5562B /* SettingsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B1D3A52B5A620500C5562B /* SettingsManager.swift */; }; - C8B1D3B82B5A635800C5562B /* usprebooterApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B1D3B62B5A635800C5562B /* usprebooterApp.swift */; }; + C8B1D3B82B5A635800C5562B /* SerotoninApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B1D3B62B5A635800C5562B /* SerotoninApp.swift */; }; C8BFCCA82B3FFE570008D8FD /* utils.m in Sources */ = {isa = PBXBuildFile; fileRef = C8BFCC842B3FFE560008D8FD /* utils.m */; }; C8BFCCA92B3FFE570008D8FD /* thanks_opa334dev_htrowii.m in Sources */ = {isa = PBXBuildFile; fileRef = C8BFCC852B3FFE560008D8FD /* thanks_opa334dev_htrowii.m */; }; C8BFCCAC2B3FFE570008D8FD /* offsets.m in Sources */ = {isa = PBXBuildFile; fileRef = C8BFCC882B3FFE560008D8FD /* offsets.m */; }; @@ -66,7 +66,7 @@ C805CA462B1719D5005157BA /* util.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = ""; }; C811229A2B15E7BB00AD077B /* Serotonin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Serotonin.app; sourceTree = BUILT_PRODUCTS_DIR; }; C81122AB2B15E7BD00AD077B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C81122CF2B15EA8600AD077B /* usprebooter-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "usprebooter-Bridging-Header.h"; sourceTree = ""; }; + C81122CF2B15EA8600AD077B /* Serotonin-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Serotonin-Bridging-Header.h"; sourceTree = ""; }; C81122DD2B16C9CB00AD077B /* troller.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = troller.h; sourceTree = ""; }; C81122DE2B16C9CC00AD077B /* troller.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = troller.m; sourceTree = ""; }; C82599EF2B4C4C07002D0DDA /* Serotonin.jp2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = Serotonin.jp2; sourceTree = ""; }; @@ -125,7 +125,7 @@ C8B1D3A32B5A620500C5562B /* Logger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; C8B1D3A42B5A620500C5562B /* MainTabBarController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainTabBarController.swift; sourceTree = ""; }; C8B1D3A52B5A620500C5562B /* SettingsManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsManager.swift; sourceTree = ""; }; - C8B1D3B62B5A635800C5562B /* usprebooterApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = usprebooterApp.swift; sourceTree = ""; }; + C8B1D3B62B5A635800C5562B /* SerotoninApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SerotoninApp.swift; sourceTree = ""; }; C8BFCC792B3FFE560008D8FD /* thanks_opa334dev_htrowii.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = thanks_opa334dev_htrowii.h; sourceTree = ""; }; C8BFCC7A2B3FFE560008D8FD /* utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = utils.h; sourceTree = ""; }; C8BFCC7B2B3FFE560008D8FD /* vnode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = vnode.h; sourceTree = ""; }; @@ -199,7 +199,7 @@ D6F9CF402B4B306400274803 /* fastPathSign */, D6F9CF3E2B4B2F7D00274803 /* ct_bypass */, C82AFF0A2B1762CE0070EA49 /* RootHelperSample */, - C811229C2B15E7BB00AD077B /* usprebooter */, + C811229C2B15E7BB00AD077B /* Serotonin */, C811229B2B15E7BB00AD077B /* Products */, C82AFF3B2B1796D90070EA49 /* Frameworks */, ); @@ -213,10 +213,10 @@ name = Products; sourceTree = ""; }; - C811229C2B15E7BB00AD077B /* usprebooter */ = { + C811229C2B15E7BB00AD077B /* Serotonin */ = { isa = PBXGroup; children = ( - C8B1D3B62B5A635800C5562B /* usprebooterApp.swift */, + C8B1D3B62B5A635800C5562B /* SerotoninApp.swift */, C8B1D3A52B5A620500C5562B /* SettingsManager.swift */, C8B1D3952B5A620500C5562B /* UI */, C82AFEF32B175AB80070EA49 /* Assets.xcassets */, @@ -235,11 +235,11 @@ D6E090912B48E60300AE49BF /* Private Headers I stole from the macOS SDK */, C81122DD2B16C9CB00AD077B /* troller.h */, C81122DE2B16C9CC00AD077B /* troller.m */, - C81122CF2B15EA8600AD077B /* usprebooter-Bridging-Header.h */, + C81122CF2B15EA8600AD077B /* Serotonin-Bridging-Header.h */, C805CA462B1719D5005157BA /* util.h */, C805CA442B1719C1005157BA /* util.m */, ); - path = usprebooter; + path = Serotonin; sourceTree = ""; }; C82AFF0A2B1762CE0070EA49 /* RootHelperSample */ = { @@ -512,9 +512,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - C81122992B15E7BB00AD077B /* usprebooter */ = { + C81122992B15E7BB00AD077B /* Serotonin */ = { isa = PBXNativeTarget; - buildConfigurationList = C81122C42B15E7BD00AD077B /* Build configuration list for PBXNativeTarget "usprebooter" */; + buildConfigurationList = C81122C42B15E7BD00AD077B /* Build configuration list for PBXNativeTarget "Serotonin" */; buildPhases = ( C81122962B15E7BB00AD077B /* Sources */, C81122972B15E7BB00AD077B /* Frameworks */, @@ -524,11 +524,11 @@ ); dependencies = ( ); - name = usprebooter; + name = Serotonin; packageProductDependencies = ( 33C3E8B12B5A79FD0043575A /* Markdown */, ); - productName = usprebooter; + productName = Serotonin; productReference = C811229A2B15E7BB00AD077B /* Serotonin.app */; productType = "com.apple.product-type.application"; }; @@ -570,7 +570,7 @@ ); projectRoot = ""; targets = ( - C81122992B15E7BB00AD077B /* usprebooter */, + C81122992B15E7BB00AD077B /* Serotonin */, ); }; /* End PBXProject section */ @@ -616,7 +616,7 @@ 9756F4902B505F1900172EF9 /* cs_blobs.m in Sources */, C8B1D3B32B5A620500C5562B /* SettingsManager.swift in Sources */, 9756F48E2B505EE100172EF9 /* patchfinder64.m in Sources */, - C8B1D3B82B5A635800C5562B /* usprebooterApp.swift in Sources */, + C8B1D3B82B5A635800C5562B /* SerotoninApp.swift in Sources */, C8B1D3AC2B5A620500C5562B /* AboutViewController.swift in Sources */, C83594CF2B18F70700346F80 /* overwriter.m in Sources */, 9756F4892B505EE100172EF9 /* libdimentio.m in Sources */, @@ -763,7 +763,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = usprebooter/Info.plist; + INFOPLIST_FILE = Serotonin/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Serotonin; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -778,15 +778,15 @@ "$(inherited)", "$(PROJECT_DIR)/RootHelperSample/launchdshim/launchdhook", "$(PROJECT_DIR)/RootHelperSample/launchdshim/SpringBoardShim/SpringBoardHook", - "$(PROJECT_DIR)/usprebooter/lib", - "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps", - "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps/curl-static", + "$(PROJECT_DIR)/Serotonin/lib", + "$(PROJECT_DIR)/Serotonin/fun/kpf/libgrabkernel/deps", + "$(PROJECT_DIR)/Serotonin/fun/kpf/libgrabkernel/deps/curl-static", ); MARKETING_VERSION = 2.0; - PRODUCT_BUNDLE_IDENTIFIER = pisshill.usprebooter; + PRODUCT_BUNDLE_IDENTIFIER = pisshill.Serotonin; PRODUCT_NAME = Serotonin; SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "usprebooter/usprebooter-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "Serotonin/Serotonin-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -804,7 +804,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = usprebooter/Info.plist; + INFOPLIST_FILE = Serotonin/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Serotonin; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -819,15 +819,15 @@ "$(inherited)", "$(PROJECT_DIR)/RootHelperSample/launchdshim/launchdhook", "$(PROJECT_DIR)/RootHelperSample/launchdshim/SpringBoardShim/SpringBoardHook", - "$(PROJECT_DIR)/usprebooter/lib", - "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps", - "$(PROJECT_DIR)/usprebooter/fun/kpf/libgrabkernel/deps/curl-static", + "$(PROJECT_DIR)/Serotonin/lib", + "$(PROJECT_DIR)/Serotonin/fun/kpf/libgrabkernel/deps", + "$(PROJECT_DIR)/Serotonin/fun/kpf/libgrabkernel/deps/curl-static", ); MARKETING_VERSION = 2.0; - PRODUCT_BUNDLE_IDENTIFIER = pisshill.usprebooter; + PRODUCT_BUNDLE_IDENTIFIER = pisshill.Serotonin; PRODUCT_NAME = Serotonin; SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OBJC_BRIDGING_HEADER = "usprebooter/usprebooter-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "Serotonin/Serotonin-Bridging-Header.h"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -845,7 +845,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - C81122C42B15E7BD00AD077B /* Build configuration list for PBXNativeTarget "usprebooter" */ = { + C81122C42B15E7BD00AD077B /* Build configuration list for PBXNativeTarget "Serotonin" */ = { isa = XCConfigurationList; buildConfigurations = ( C81122C52B15E7BD00AD077B /* Debug */, diff --git a/Serotonin.xcodeproj/xcshareddata/xcschemes/usprebooter.xcscheme b/Serotonin.xcodeproj/xcshareddata/xcschemes/Serotonin.xcscheme similarity index 95% rename from Serotonin.xcodeproj/xcshareddata/xcschemes/usprebooter.xcscheme rename to Serotonin.xcodeproj/xcshareddata/xcschemes/Serotonin.xcscheme index 0cdbf4ca..09331bec 100644 --- a/Serotonin.xcodeproj/xcshareddata/xcschemes/usprebooter.xcscheme +++ b/Serotonin.xcodeproj/xcshareddata/xcschemes/Serotonin.xcscheme @@ -16,7 +16,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "C81122992B15E7BB00AD077B" BuildableName = "Serotonin.app" - BlueprintName = "usprebooter" + BlueprintName = "Serotonin" ReferencedContainer = "container:Serotonin.xcodeproj"> @@ -46,7 +46,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "C81122992B15E7BB00AD077B" BuildableName = "Serotonin.app" - BlueprintName = "usprebooter" + BlueprintName = "Serotonin" ReferencedContainer = "container:Serotonin.xcodeproj"> @@ -63,7 +63,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "C81122992B15E7BB00AD077B" BuildableName = "Serotonin.app" - BlueprintName = "usprebooter" + BlueprintName = "Serotonin" ReferencedContainer = "container:Serotonin.xcodeproj"> diff --git a/usprebooter/AppDelegate.swift b/Serotonin/AppDelegate.swift similarity index 100% rename from usprebooter/AppDelegate.swift rename to Serotonin/AppDelegate.swift diff --git a/usprebooter/Assets.xcassets/AccentColor.colorset/Contents.json b/Serotonin/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from usprebooter/Assets.xcassets/AccentColor.colorset/Contents.json rename to Serotonin/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/usprebooter/Assets.xcassets/AppIcon.appiconset/Contents.json b/Serotonin/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from usprebooter/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Serotonin/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/usprebooter/Assets.xcassets/AppIcon.appiconset/serotonin.png b/Serotonin/Assets.xcassets/AppIcon.appiconset/serotonin.png similarity index 100% rename from usprebooter/Assets.xcassets/AppIcon.appiconset/serotonin.png rename to Serotonin/Assets.xcassets/AppIcon.appiconset/serotonin.png diff --git a/usprebooter/Assets.xcassets/Contents.json b/Serotonin/Assets.xcassets/Contents.json similarity index 100% rename from usprebooter/Assets.xcassets/Contents.json rename to Serotonin/Assets.xcassets/Contents.json diff --git a/usprebooter/Info.plist b/Serotonin/Info.plist similarity index 100% rename from usprebooter/Info.plist rename to Serotonin/Info.plist diff --git a/usprebooter/Private Headers I stole from the macOS SDK/bootstrap.h b/Serotonin/Private Headers I stole from the macOS SDK/bootstrap.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/bootstrap.h rename to Serotonin/Private Headers I stole from the macOS SDK/bootstrap.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/spawn_internal.h b/Serotonin/Private Headers I stole from the macOS SDK/spawn_internal.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/spawn_internal.h rename to Serotonin/Private Headers I stole from the macOS SDK/spawn_internal.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/spawn_private.h b/Serotonin/Private Headers I stole from the macOS SDK/spawn_private.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/spawn_private.h rename to Serotonin/Private Headers I stole from the macOS SDK/spawn_private.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/activity.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/activity.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/activity.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/activity.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/availability.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/availability.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/availability.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/availability.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/base.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/base.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/base.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/base.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/debug.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/debug.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/debug.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/debug.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/endpoint.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/endpoint.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/endpoint.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/endpoint.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/launch.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/launch.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/launch.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/launch.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/listener.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/listener.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/listener.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/listener.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/rich_error.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/rich_error.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/rich_error.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/rich_error.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/session.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/session.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/session.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/session.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/xpc.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/xpc.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/xpc.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/xpc.h diff --git a/usprebooter/Private Headers I stole from the macOS SDK/xpc/xpc_connection.h b/Serotonin/Private Headers I stole from the macOS SDK/xpc/xpc_connection.h similarity index 100% rename from usprebooter/Private Headers I stole from the macOS SDK/xpc/xpc_connection.h rename to Serotonin/Private Headers I stole from the macOS SDK/xpc/xpc_connection.h diff --git a/usprebooter/usprebooter-Bridging-Header.h b/Serotonin/Serotonin-Bridging-Header.h similarity index 100% rename from usprebooter/usprebooter-Bridging-Header.h rename to Serotonin/Serotonin-Bridging-Header.h diff --git a/usprebooter/Serotonin.jp2 b/Serotonin/Serotonin.jp2 similarity index 100% rename from usprebooter/Serotonin.jp2 rename to Serotonin/Serotonin.jp2 diff --git a/usprebooter/usprebooterApp.swift b/Serotonin/SerotoninApp.swift similarity index 100% rename from usprebooter/usprebooterApp.swift rename to Serotonin/SerotoninApp.swift diff --git a/usprebooter/SettingsManager.swift b/Serotonin/SettingsManager.swift similarity index 100% rename from usprebooter/SettingsManager.swift rename to Serotonin/SettingsManager.swift diff --git a/usprebooter/UI/Logger.swift b/Serotonin/UI/Logger.swift similarity index 100% rename from usprebooter/UI/Logger.swift rename to Serotonin/UI/Logger.swift diff --git a/usprebooter/UI/MainTabBarController.swift b/Serotonin/UI/MainTabBarController.swift similarity index 100% rename from usprebooter/UI/MainTabBarController.swift rename to Serotonin/UI/MainTabBarController.swift diff --git a/usprebooter/UI/Tabs/Design.swift b/Serotonin/UI/Tabs/Design.swift similarity index 100% rename from usprebooter/UI/Tabs/Design.swift rename to Serotonin/UI/Tabs/Design.swift diff --git a/usprebooter/UI/Tabs/JailbreakViewController.swift b/Serotonin/UI/Tabs/JailbreakViewController.swift similarity index 100% rename from usprebooter/UI/Tabs/JailbreakViewController.swift rename to Serotonin/UI/Tabs/JailbreakViewController.swift diff --git a/usprebooter/UI/Tabs/OptionsViewController.swift b/Serotonin/UI/Tabs/OptionsViewController.swift similarity index 100% rename from usprebooter/UI/Tabs/OptionsViewController.swift rename to Serotonin/UI/Tabs/OptionsViewController.swift diff --git a/usprebooter/UI/Tabs/ToolbarButton.swift b/Serotonin/UI/Tabs/ToolbarButton.swift similarity index 100% rename from usprebooter/UI/Tabs/ToolbarButton.swift rename to Serotonin/UI/Tabs/ToolbarButton.swift diff --git a/usprebooter/UI/Tabs/ViewsInOptions/AboutViewController.swift b/Serotonin/UI/Tabs/ViewsInOptions/AboutViewController.swift similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/AboutViewController.swift rename to Serotonin/UI/Tabs/ViewsInOptions/AboutViewController.swift diff --git a/usprebooter/UI/Tabs/ViewsInOptions/ChangelogViewController.swift b/Serotonin/UI/Tabs/ViewsInOptions/ChangelogViewController.swift similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/ChangelogViewController.swift rename to Serotonin/UI/Tabs/ViewsInOptions/ChangelogViewController.swift diff --git a/usprebooter/UI/Tabs/ViewsInOptions/Licenses/Markdownosaur.md b/Serotonin/UI/Tabs/ViewsInOptions/Licenses/Markdownosaur.md similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/Licenses/Markdownosaur.md rename to Serotonin/UI/Tabs/ViewsInOptions/Licenses/Markdownosaur.md diff --git a/usprebooter/UI/Tabs/ViewsInOptions/Licenses/swift-markdown.md b/Serotonin/UI/Tabs/ViewsInOptions/Licenses/swift-markdown.md similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/Licenses/swift-markdown.md rename to Serotonin/UI/Tabs/ViewsInOptions/Licenses/swift-markdown.md diff --git a/usprebooter/UI/Tabs/ViewsInOptions/LicensesViewController.swift b/Serotonin/UI/Tabs/ViewsInOptions/LicensesViewController.swift similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/LicensesViewController.swift rename to Serotonin/UI/Tabs/ViewsInOptions/LicensesViewController.swift diff --git a/usprebooter/UI/Tabs/ViewsInOptions/MD.swift b/Serotonin/UI/Tabs/ViewsInOptions/MD.swift similarity index 100% rename from usprebooter/UI/Tabs/ViewsInOptions/MD.swift rename to Serotonin/UI/Tabs/ViewsInOptions/MD.swift diff --git a/usprebooter/ct_bypass_signed b/Serotonin/ct_bypass_signed similarity index 100% rename from usprebooter/ct_bypass_signed rename to Serotonin/ct_bypass_signed diff --git a/usprebooter/fun/cs_blobs.h b/Serotonin/fun/cs_blobs.h similarity index 100% rename from usprebooter/fun/cs_blobs.h rename to Serotonin/fun/cs_blobs.h diff --git a/usprebooter/fun/cs_blobs.m b/Serotonin/fun/cs_blobs.m similarity index 100% rename from usprebooter/fun/cs_blobs.m rename to Serotonin/fun/cs_blobs.m diff --git a/usprebooter/fun/kpf/libdimentio.h b/Serotonin/fun/kpf/libdimentio.h similarity index 100% rename from usprebooter/fun/kpf/libdimentio.h rename to Serotonin/fun/kpf/libdimentio.h diff --git a/usprebooter/fun/kpf/libdimentio.m b/Serotonin/fun/kpf/libdimentio.m similarity index 100% rename from usprebooter/fun/kpf/libdimentio.m rename to Serotonin/fun/kpf/libdimentio.m diff --git a/usprebooter/fun/kpf/patchfinder.h b/Serotonin/fun/kpf/patchfinder.h similarity index 100% rename from usprebooter/fun/kpf/patchfinder.h rename to Serotonin/fun/kpf/patchfinder.h diff --git a/usprebooter/fun/kpf/patchfinder.m b/Serotonin/fun/kpf/patchfinder.m similarity index 100% rename from usprebooter/fun/kpf/patchfinder.m rename to Serotonin/fun/kpf/patchfinder.m diff --git a/usprebooter/fun/kpf/patchfinder64.h b/Serotonin/fun/kpf/patchfinder64.h similarity index 100% rename from usprebooter/fun/kpf/patchfinder64.h rename to Serotonin/fun/kpf/patchfinder64.h diff --git a/usprebooter/fun/kpf/patchfinder64.m b/Serotonin/fun/kpf/patchfinder64.m similarity index 100% rename from usprebooter/fun/kpf/patchfinder64.m rename to Serotonin/fun/kpf/patchfinder64.m diff --git a/usprebooter/fun/krw.h b/Serotonin/fun/krw.h similarity index 100% rename from usprebooter/fun/krw.h rename to Serotonin/fun/krw.h diff --git a/usprebooter/fun/krw.m b/Serotonin/fun/krw.m similarity index 100% rename from usprebooter/fun/krw.m rename to Serotonin/fun/krw.m diff --git a/usprebooter/fun/offsets.h b/Serotonin/fun/offsets.h similarity index 100% rename from usprebooter/fun/offsets.h rename to Serotonin/fun/offsets.h diff --git a/usprebooter/fun/offsets.m b/Serotonin/fun/offsets.m similarity index 100% rename from usprebooter/fun/offsets.m rename to Serotonin/fun/offsets.m diff --git a/usprebooter/fun/proc.c b/Serotonin/fun/proc.c similarity index 100% rename from usprebooter/fun/proc.c rename to Serotonin/fun/proc.c diff --git a/usprebooter/fun/proc.h b/Serotonin/fun/proc.h similarity index 100% rename from usprebooter/fun/proc.h rename to Serotonin/fun/proc.h diff --git a/usprebooter/fun/thanks_opa334dev_htrowii.h b/Serotonin/fun/thanks_opa334dev_htrowii.h similarity index 100% rename from usprebooter/fun/thanks_opa334dev_htrowii.h rename to Serotonin/fun/thanks_opa334dev_htrowii.h diff --git a/usprebooter/fun/thanks_opa334dev_htrowii.m b/Serotonin/fun/thanks_opa334dev_htrowii.m similarity index 100% rename from usprebooter/fun/thanks_opa334dev_htrowii.m rename to Serotonin/fun/thanks_opa334dev_htrowii.m diff --git a/usprebooter/fun/utils.h b/Serotonin/fun/utils.h similarity index 100% rename from usprebooter/fun/utils.h rename to Serotonin/fun/utils.h diff --git a/usprebooter/fun/utils.m b/Serotonin/fun/utils.m similarity index 100% rename from usprebooter/fun/utils.m rename to Serotonin/fun/utils.m diff --git a/usprebooter/fun/vnode.h b/Serotonin/fun/vnode.h similarity index 100% rename from usprebooter/fun/vnode.h rename to Serotonin/fun/vnode.h diff --git a/usprebooter/fun/vnode.m b/Serotonin/fun/vnode.m similarity index 100% rename from usprebooter/fun/vnode.m rename to Serotonin/fun/vnode.m diff --git a/usprebooter/ldid b/Serotonin/ldid similarity index 100% rename from usprebooter/ldid rename to Serotonin/ldid diff --git a/usprebooter/libkfd.h b/Serotonin/libkfd.h similarity index 100% rename from usprebooter/libkfd.h rename to Serotonin/libkfd.h diff --git a/usprebooter/libkfd/common.h b/Serotonin/libkfd/common.h similarity index 100% rename from usprebooter/libkfd/common.h rename to Serotonin/libkfd/common.h diff --git a/usprebooter/libkfd/info.h b/Serotonin/libkfd/info.h similarity index 100% rename from usprebooter/libkfd/info.h rename to Serotonin/libkfd/info.h diff --git a/usprebooter/libkfd/info/dynamic_info.h b/Serotonin/libkfd/info/dynamic_info.h similarity index 100% rename from usprebooter/libkfd/info/dynamic_info.h rename to Serotonin/libkfd/info/dynamic_info.h diff --git a/usprebooter/libkfd/info/static_info.h b/Serotonin/libkfd/info/static_info.h similarity index 100% rename from usprebooter/libkfd/info/static_info.h rename to Serotonin/libkfd/info/static_info.h diff --git a/usprebooter/libkfd/krkw.h b/Serotonin/libkfd/krkw.h similarity index 100% rename from usprebooter/libkfd/krkw.h rename to Serotonin/libkfd/krkw.h diff --git a/usprebooter/libkfd/krkw/kread/kread_kqueue_workloop_ctl.h b/Serotonin/libkfd/krkw/kread/kread_kqueue_workloop_ctl.h similarity index 100% rename from usprebooter/libkfd/krkw/kread/kread_kqueue_workloop_ctl.h rename to Serotonin/libkfd/krkw/kread/kread_kqueue_workloop_ctl.h diff --git a/usprebooter/libkfd/krkw/kread/kread_sem_open.h b/Serotonin/libkfd/krkw/kread/kread_sem_open.h similarity index 100% rename from usprebooter/libkfd/krkw/kread/kread_sem_open.h rename to Serotonin/libkfd/krkw/kread/kread_sem_open.h diff --git a/usprebooter/libkfd/krkw/kwrite/kwrite_dup.h b/Serotonin/libkfd/krkw/kwrite/kwrite_dup.h similarity index 100% rename from usprebooter/libkfd/krkw/kwrite/kwrite_dup.h rename to Serotonin/libkfd/krkw/kwrite/kwrite_dup.h diff --git a/usprebooter/libkfd/krkw/kwrite/kwrite_sem_open.h b/Serotonin/libkfd/krkw/kwrite/kwrite_sem_open.h similarity index 100% rename from usprebooter/libkfd/krkw/kwrite/kwrite_sem_open.h rename to Serotonin/libkfd/krkw/kwrite/kwrite_sem_open.h diff --git a/usprebooter/libkfd/perf.h b/Serotonin/libkfd/perf.h similarity index 100% rename from usprebooter/libkfd/perf.h rename to Serotonin/libkfd/perf.h diff --git a/usprebooter/libkfd/puaf.h b/Serotonin/libkfd/puaf.h similarity index 100% rename from usprebooter/libkfd/puaf.h rename to Serotonin/libkfd/puaf.h diff --git a/usprebooter/libkfd/puaf/landa.h b/Serotonin/libkfd/puaf/landa.h similarity index 100% rename from usprebooter/libkfd/puaf/landa.h rename to Serotonin/libkfd/puaf/landa.h diff --git a/usprebooter/libkfd/puaf/physpuppet.h b/Serotonin/libkfd/puaf/physpuppet.h similarity index 100% rename from usprebooter/libkfd/puaf/physpuppet.h rename to Serotonin/libkfd/puaf/physpuppet.h diff --git a/usprebooter/libkfd/puaf/smith.h b/Serotonin/libkfd/puaf/smith.h similarity index 100% rename from usprebooter/libkfd/puaf/smith.h rename to Serotonin/libkfd/puaf/smith.h diff --git a/usprebooter/memoryControl.h b/Serotonin/memoryControl.h similarity index 100% rename from usprebooter/memoryControl.h rename to Serotonin/memoryControl.h diff --git a/usprebooter/memoryControl.m b/Serotonin/memoryControl.m similarity index 100% rename from usprebooter/memoryControl.m rename to Serotonin/memoryControl.m diff --git a/usprebooter/overwriter.h b/Serotonin/overwriter.h similarity index 92% rename from usprebooter/overwriter.h rename to Serotonin/overwriter.h index 69338474..c94e8eb6 100644 --- a/usprebooter/overwriter.h +++ b/Serotonin/overwriter.h @@ -1,6 +1,6 @@ // // overwriter.h -// usprebooter +// Serotonin // // Created by LL on 1/12/23. // diff --git a/usprebooter/overwriter.m b/Serotonin/overwriter.m similarity index 100% rename from usprebooter/overwriter.m rename to Serotonin/overwriter.m diff --git a/usprebooter/troller.h b/Serotonin/troller.h similarity index 95% rename from usprebooter/troller.h rename to Serotonin/troller.h index 9a7188a9..8a71b6e2 100644 --- a/usprebooter/troller.h +++ b/Serotonin/troller.h @@ -1,6 +1,6 @@ // // troller.h -// usprebooter +// Serotonin // // Created by LL on 29/11/23. // diff --git a/usprebooter/troller.m b/Serotonin/troller.m similarity index 99% rename from usprebooter/troller.m rename to Serotonin/troller.m index 2cf5faef..9e563324 100644 --- a/usprebooter/troller.m +++ b/Serotonin/troller.m @@ -1,6 +1,6 @@ // // troller.c -// usprebooter +// Serotonin // // Created by LL on 29/11/23. // diff --git a/usprebooter/util.h b/Serotonin/util.h similarity index 94% rename from usprebooter/util.h rename to Serotonin/util.h index cb8eccb0..f522ef81 100644 --- a/usprebooter/util.h +++ b/Serotonin/util.h @@ -1,6 +1,6 @@ // // util.h -// usprebooter +// Serotonin // // Created by LL on 29/11/23. // diff --git a/usprebooter/util.m b/Serotonin/util.m similarity index 99% rename from usprebooter/util.m rename to Serotonin/util.m index c6214130..41079632 100644 --- a/usprebooter/util.m +++ b/Serotonin/util.m @@ -1,6 +1,6 @@ // // util.m -// usprebooter +// Serotonin // // Created by LL on 29/11/23. // diff --git a/build.sh b/build.sh index 8bc68158..189b111d 100755 --- a/build.sh +++ b/build.sh @@ -4,15 +4,15 @@ echo "Building IPA" xcodebuild clean build -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" echo "done building" cd RootHelperSample -ldid -Sentitlements.plist -Cadhoc ../usprebooter/ldid -ldid -Sentitlements.plist -Cadhoc ../usprebooter/fastPathSign +ldid -Sentitlements.plist -Cadhoc ../Serotonin/ldid +ldid -Sentitlements.plist -Cadhoc ../Serotonin/fastPathSign gmake -j$(sysctl -n hw.ncpu) ldid -Sentitlements.plist -Cadhoc .theos/obj/debug/arm64/trolltoolsroothelper -mv .theos/obj/debug/arm64/trolltoolsroothelper ../build/Release-iphoneos/usprebooter.app/trolltoolsroothelper +mv .theos/obj/debug/arm64/trolltoolsroothelper ../build/Release-iphoneos/Serotonin.app/trolltoolsroothelper cd ../build/Release-iphoneos rm -rf Payload rm -rf FUCK.tipa mkdir Payload -cp -r usprebooter.app Payload -ldid -S../../ent.plist -Cadhoc Payload/usprebooter.app/usprebooter +cp -r Serotonin.app Payload +ldid -S../../ent.plist -Cadhoc Payload/Serotonin.app/Serotonin zip -vr FUCK.tipa Payload/ -x "*.DS_Store"