Skip to content

Commit

Permalink
Dopamine-roothide 2.0.0 pre-release
Browse files Browse the repository at this point in the history
Co-authored-by: roothider <[email protected]>
Co-authored-by: opa334 <[email protected]>
  • Loading branch information
3 people committed Apr 22, 2024
1 parent 5a1ff23 commit 629e4e3
Show file tree
Hide file tree
Showing 108 changed files with 4,671 additions and 789 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Dopamine: build and upload"
name: "roothide: build and upload"

on:
push:
Expand All @@ -12,12 +12,6 @@ on:
paths-ignore:
- ".gitignore"
workflow_dispatch:
schedule:
- cron: '0 0 1 1 *'
- cron: '0 0 1 4 *'
- cron: '0 0 30 6 *'
- cron: '0 0 28 9 *'
- cron: '0 0 27 12 *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -43,7 +37,7 @@ jobs:
export BASEDIR="$(pwd)"
export THEOS="${BASEDIR}/theos"
mkdir -p $THEOS
curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos >> install-theos.sh
curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos >> install-theos.sh
gsed -E "/^\s*get_theos\s*$/,+1 s/^(\s*)(get_sdks)\s*$/\1mkdir -p \${THEOS}\/sdks\n\1touch \${THEOS}\/sdks\/sdk\n\1\2/g" -i install-theos.sh
bash install-theos.sh
curl -L https://github.com/theos/sdks/releases/latest/download/iPhoneOS16.5.sdk.tar.xz --output $THEOS/sdks/iPhoneOS16.5.sdk.tar.xz
Expand Down Expand Up @@ -74,12 +68,6 @@ jobs:
run: |
brew install libarchive
- name: Download Bootstraps
run: |
set -x
cd Application/Dopamine/Resources
./download_bootstraps.sh
- name: Build
run: |
set -x
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ DerivedData/
Dopamine/Dopamine/bootstrap/tmp/
.idea
Tools/fastPathSign/.build_*
Exploits/kfd/kfd.framework/kfd
Exploits/kfd/kfd.framework/kfd
cmake-build-*
5 changes: 1 addition & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
url = https://github.com/opa334/ChOma
[submodule "BaseBin/XPF"]
path = BaseBin/XPF
url = https://github.com/opa334/XPF
[submodule "Exploits/kfd/src/kfd"]
path = Application/Dopamine/Dopamine/Exploits/kfd/kfd
url = https://github.com/opa334/kfd
url = https://github.com/roothide/XPF
[submodule "BaseBin/opainject"]
path = BaseBin/opainject
url = https://github.com/opa334/opainject
23 changes: 14 additions & 9 deletions Application/Dopamine.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
04DD0B442B7CBE2E0055DE4F /* DOThemeManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 04DD0B432B7CBE2E0055DE4F /* DOThemeManager.m */; };
04DD0B472B7CBEEA0055DE4F /* DOTheme.m in Sources */ = {isa = PBXBuildFile; fileRef = 04DD0B462B7CBEEA0055DE4F /* DOTheme.m */; };
04DD0B592B7D19E60055DE4F /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 04DD0B5B2B7D19E60055DE4F /* Localizable.strings */; };
84F267EA2BB7292C00DD3323 /* roothide.deb in Resources */ = {isa = PBXBuildFile; fileRef = 84F267E92BB7292C00DD3323 /* roothide.deb */; };
8C029F432B4DFD5D0071DE58 /* DOExploitManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C029F422B4DFD5D0071DE58 /* DOExploitManager.m */; };
8C029F462B4DFD910071DE58 /* DOBootstrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C029F452B4DFD910071DE58 /* DOBootstrapper.m */; };
8C029F4E2B4E1FF30071DE58 /* DOExploit.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C029F4D2B4E1FF30071DE58 /* DOExploit.m */; };
Expand Down Expand Up @@ -285,6 +286,7 @@
04DD0B5A2B7D19E60055DE4F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
04DD0B5C2B7D1A210055DE4F /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
04DD0B5D2B7D1A210055DE4F /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
84F267E92BB7292C00DD3323 /* roothide.deb */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = roothide.deb; sourceTree = "<group>"; };
8C029F412B4DFD5D0071DE58 /* DOExploitManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOExploitManager.h; sourceTree = "<group>"; };
8C029F422B4DFD5D0071DE58 /* DOExploitManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DOExploitManager.m; sourceTree = "<group>"; };
8C029F442B4DFD910071DE58 /* DOBootstrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOBootstrapper.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -812,6 +814,7 @@
8C05C59D2B759F8A0097A931 /* bootstrap_1900.tar.zst */,
8CB94F032B59E17A0098BAFD /* basebin.tar */,
8CB94F022B59E17A0098BAFD /* basebin.tc */,
84F267E92BB7292C00DD3323 /* roothide.deb */,
8C512B8B2B5C9DE800C6F14A /* sileo.deb */,
8C512B8C2B5C9DE800C6F14A /* zebra.deb */,
8CCD8A852B6F1662004B72B0 /* libkrw-plugin.deb */,
Expand Down Expand Up @@ -1089,6 +1092,7 @@
8C05C5A02B75A17A0097A931 /* bootstrap_1900.tar.zst in Resources */,
8C05C59F2B75A1770097A931 /* bootstrap_1800.tar.zst in Resources */,
042479A42B66916B0082581B /* Credits.plist in Resources */,
84F267EA2BB7292C00DD3323 /* roothide.deb in Resources */,
8C512B912B5C9F9100C6F14A /* sileo.deb in Resources */,
8C512B922B5C9F9400C6F14A /* zebra.deb in Resources */,
8CCD8A872B6F16CC004B72B0 /* libkrw-plugin.deb in Resources */,
Expand Down Expand Up @@ -1310,11 +1314,11 @@
8C05B00C2B63152C001A7CF3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1335,6 +1339,7 @@
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.opa334.badRecovery;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -1350,7 +1355,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1385,7 +1390,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1419,7 +1424,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1585,7 +1590,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
Expand Down Expand Up @@ -1622,7 +1627,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
Expand Down Expand Up @@ -1657,7 +1662,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1691,7 +1696,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3Z56NQJ65R;
DEVELOPMENT_TEAM = 49LJ27SG38;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down
12 changes: 12 additions & 0 deletions Application/Dopamine/Jailbreak/DOBootstrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@

#import <Foundation/Foundation.h>

uint64_t jbrand();

uint64_t jbrand_new();

NSString* find_jbroot();

NSString* jbroot(NSString *path);

int is_jbroot_name(const char* name);

NSString* rootfsPrefix(NSString* path);

NS_ASSUME_NONNULL_BEGIN

@interface DOBootstrapper : NSObject <NSURLSessionDelegate, NSURLSessionDownloadDelegate>
Expand Down
Loading

0 comments on commit 629e4e3

Please sign in to comment.