Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
498 commits
Select commit Hold shift + click to select a range
253260c
Nice permission handler... Would be better if it was actually used.....
opa334 Feb 29, 2024
05dda42
Unconditionally readd CS_VALID
opa334 Feb 29, 2024
30f6582
Disable injection into terminusd and nesessionmanager on arm64
opa334 Feb 29, 2024
89385a1
2.0.9
opa334 Feb 29, 2024
83b0807
Update Korean Localizable.strings (#472)
ancalina Mar 1, 2024
bee77a7
Translation: Update Filipino (Tagalog) strings (#480)
jacoboi13 Mar 2, 2024
e6a166b
Small code cleanup, support jailbreaking without developer mode being…
opa334 Mar 3, 2024
a8254d3
Attempt to improve dmaFail reliability
opa334 Mar 3, 2024
6b2386a
Silence some warnings
opa334 Mar 3, 2024
762024d
Attempt to fix enabling dev mode on 16.0-16.3
opa334 Mar 4, 2024
e13f079
Also ensure the permissions of /private and /private/preboot are correct
opa334 Mar 4, 2024
29463fc
Yet another attempt at fixing arm64 issues related to CS_VALID...
opa334 Mar 6, 2024
4c6960e
Add skip-uicache to trollstorehelper arguments
opa334 Mar 7, 2024
8e66cba
2.0.10
opa334 Mar 8, 2024
51a405e
Nice permission fixup method I wrote there, would be even better if i…
opa334 Mar 10, 2024
5a1ff23
2.0.11
opa334 Mar 10, 2024
736c2f3
Fix licensing
opa334 Mar 12, 2024
9e7d81e
Fix year
opa334 Mar 12, 2024
df49257
Fix compilation with 17.4 sdk (Closes #516)
opa334 Mar 26, 2024
939b8b7
Small improvement
opa334 Mar 26, 2024
cc6b2bf
Fix compilation with latest theos
opa334 Mar 26, 2024
abf3d87
Minor improvements
opa334 Apr 7, 2024
5cb42ab
Fix page translation on A8
opa334 Apr 8, 2024
61c810d
Update Russian localization (#528)
ruucat Apr 13, 2024
5873744
A8 proof of concept
opa334 Apr 19, 2024
30da469
Make regular physrw work on A8, tons of general performance improvements
opa334 Apr 19, 2024
72c7d82
Fix slow jailbreak on non A8
opa334 Apr 19, 2024
ac472f6
Increase landa success rate for A8
kok3shidoll Apr 19, 2024
1400a1f
Get kcall struct offsets from XPF, fix super weird startup crash on A…
opa334 Apr 20, 2024
d67b4da
Use allproc from XPF instead of patchfinding kernproc
opa334 Apr 20, 2024
6afbf56
Fix slow physrw handoff when it doesn't use kcall
opa334 Apr 21, 2024
d0a9456
Improve performance further, fix some arm64 panics
opa334 Apr 21, 2024
1eaff75
Fix math/logic bugs in pmap_map_in
opa334 Apr 21, 2024
b301095
Fix performance...
opa334 Apr 21, 2024
db615ad
Various improvements, fix arm64 iOS 16.x
opa334 Apr 21, 2024
6c56555
Fix smith not working on iOS 15
opa334 Apr 23, 2024
0f00b6b
Switch to libgrabkernel2
dhinakg Apr 23, 2024
16663ae
Add libgrabkernel2 license
opa334 Apr 23, 2024
02ce434
Small refactor
opa334 Apr 23, 2024
04e370c
Hopefully fix spinlock panics (works in conjunction with new ellekit)
opa334 Apr 26, 2024
39f1aa0
Also wire down everything in launchd, add additional debug log
opa334 Apr 26, 2024
5dafb1f
Change these to import...
opa334 Apr 26, 2024
6901475
Bump ChOma & XPF
opa334 Apr 26, 2024
6a3f765
Revert "Also wire down everything in launchd, add additional debug log"
opa334 Apr 26, 2024
781a8de
Revert "Hopefully fix spinlock panics (works in conjunction with new …
opa334 Apr 26, 2024
e58beb6
Add back option to change mobile password
opa334 Apr 26, 2024
6bce108
Add multicast_bytecopy and weightBufs
opa334 Apr 27, 2024
32eff2a
Misc improvements, prevent users from deleting important system files
opa334 Apr 27, 2024
a4e998d
weightBufs: Don't exit on exploit failures
opa334 Apr 28, 2024
625af27
Centralize primitive retrieval logic
opa334 Apr 28, 2024
c1290b8
Allow trustcache management via jbctl
opa334 Apr 29, 2024
8a85235
Actually call protection_init during jailbreak
opa334 Apr 29, 2024
1d6da8f
Add 'Allow JIT in Apps' option, sort exploits by their recommendation
opa334 Apr 29, 2024
fd849da
Prefer landa to weightBufs
opa334 Apr 29, 2024
cf2acb5
Also enable JIT for apps in /var/jb/Applications
opa334 Apr 29, 2024
4fa95a7
Display '(Recommended)' after the best exploit
opa334 Apr 29, 2024
c51489b
Add new rootless hooks, update credits
opa334 Apr 29, 2024
7e8ee78
Fix parallel building
opa334 Apr 29, 2024
630df53
Slightly better wording
opa334 Apr 29, 2024
44e280f
Bump version to 2.1
opa334 Apr 29, 2024
bc24ab9
Fix page translation on A8
opa334 Apr 8, 2024
6ad1f4e
Merge 2.x
opa334 Apr 29, 2024
278fe3f
multicast_bytecopy does not work on M1, mark it unsupported there
opa334 Apr 30, 2024
845c6f7
Ignore prereleases when checking for updates
opa334 Apr 30, 2024
08679a4
Prefer physpuppet over multicast_bytecopy as compatibility of multica…
opa334 Apr 30, 2024
e0af622
Fix weightBufs not working on TrollStore installations, remove sleep
opa334 Apr 30, 2024
9cfe9ce
Update zh_CN Translations (#539)
Margele Apr 30, 2024
56f0342
Improve arm64 kcall jbupdate logic
opa334 Apr 30, 2024
e4b8f6b
typo
opa334 Apr 30, 2024
5a7cf54
Fix Russian localization (#544)
retr0devops Apr 30, 2024
e08862f
Update Localizable.strings Spanish (#542)
Deci8BelioS Apr 30, 2024
05a91f5
Pull ChOma
opa334 Apr 30, 2024
5f2ab1f
Fix russian localization
opa334 Apr 30, 2024
20fb50a
Give transitd write access to /var/jb, fix super weird corruption of …
opa334 Apr 30, 2024
1e03575
2.1.1
opa334 Apr 30, 2024
4504b49
Grammarrrrrrr (#550)
sanderDijkxhoorn May 1, 2024
b0dc4f5
Refactor unsandboxing code, make /var/jb/var/mobile writable from eve…
opa334 May 2, 2024
854057c
Fix app preview images disappearing
opa334 May 2, 2024
181a084
2.1.2
opa334 May 2, 2024
560846b
multicast_bytecopy for iPad mini 6 (#555)
m1zole May 3, 2024
1ecd950
Update Vietnamese translation (#557)
hungyn04 May 4, 2024
7e03d20
Recursively fix /var/jb/var/mobile permissions on userspace reboots a…
opa334 May 4, 2024
05f030d
Add missing import
opa334 May 4, 2024
1fa5a50
Fix system deadlocks resulting in watchdogd timeout
opa334 May 6, 2024
171fc4d
This should be better
opa334 May 6, 2024
64a452d
Bump ChOma
opa334 May 6, 2024
b85cdc4
2.1.3
opa334 May 6, 2024
644c7d2
Only fix permissions of relevant directories rather then the entirety…
opa334 May 7, 2024
086c20b
2.1.4
opa334 May 7, 2024
dde7569
Bump XPF
opa334 May 7, 2024
dc1a1a3
Fix intendation
opa334 May 15, 2024
43cf5c5
Make it possible for binaries to get different PMAP_CS trust levels u…
opa334 May 23, 2024
cdd113f
Fix codesign bypass not working when passing an archpref to posix_spawn
opa334 May 23, 2024
8a5b34c
Fix pmap_cs_code_directory offsets getting lost
opa334 May 27, 2024
5c844b2
2.1.5
opa334 May 27, 2024
d96a2d1
Simplify enabling developer mode, fix it not working on arm64 iOS 16.…
opa334 Jun 7, 2024
0bff46c
Update Localizable.strings (#547)
ancalina Jun 11, 2024
b3f8bdb
libkrw bug fixes, bump version of it to 2.0.2
opa334 Jun 11, 2024
a289821
Fix some stuff with libkrw, don't install a package if a newer versio…
opa334 Jun 12, 2024
1335827
Improve IOSurface failure message
opa334 Jun 12, 2024
535e263
Fix update UI not displaying markdown correctly, make update button o…
opa334 Jun 12, 2024
482a702
Improve some stuff in weightBufs
opa334 Jun 12, 2024
a4ec1f9
2.1.6
opa334 Jun 12, 2024
0726c3e
libkrw-dopamine: Remove libkrw0 dependency
opa334 Jun 12, 2024
908a99b
Improve log capturing, also capture stderr
opa334 Jun 12, 2024
cdded6d
2.1.7
opa334 Jun 12, 2024
43c03c1
Log improvements, error handling improvements
opa334 Jun 20, 2024
442452c
systemhook: Deprecate DYLD_INTERPOSE, remove a bunch of stuff that's …
opa334 Jul 20, 2024
a731f3a
Fix kcall on iOS 15 arm64 not working from libkrw and iDownload
opa334 Jul 20, 2024
fa6c939
Unify jbroot macro names with libroot, rework them to work from every…
opa334 Jul 21, 2024
fb23bf0
Fix sandbox_apply hook not working due to mismatching handle pointers
opa334 Jul 21, 2024
3cb26ec
Improve comments
opa334 Jul 23, 2024
f8ce2be
Move headers, fix pipeline
opa334 Jul 24, 2024
762f42c
launchd crashreporter: Handle case where dladdr doesn't succeed
opa334 Jul 25, 2024
88b27e4
Code cleanup
opa334 Jul 26, 2024
70e7ca3
systemhook: don't trust library inserts if config says not to trust
opa334 Jul 26, 2024
7b31769
launchd crashreporter: Add image list to crash logs
opa334 Jul 26, 2024
07a34c9
Improve comments
opa334 Jul 26, 2024
67820ae
Code cleanup
opa334 Jul 26, 2024
9cde835
Code cleanup
opa334 Jul 26, 2024
1272706
Code cleanup
opa334 Jul 27, 2024
13ecfbf
Add Jetsam limit selector
opa334 Jul 27, 2024
879548c
Reenable ptrace hook inside debugserver
opa334 Jul 27, 2024
cf66977
Add additional notice to jetsam multiplier
opa334 Jul 28, 2024
631e47d
2.2
opa334 Jul 28, 2024
c04d338
Bump ChOma
opa334 Jul 28, 2024
4ac76bc
Update Localizable.strings Spanish (#608)
Deci8BelioS Jul 28, 2024
dc45a9f
hotfix (#609)
m1337v Jul 28, 2024
0447cdc
fix the 5.5 month old typo (#611)
TheMasterOfMike Jul 29, 2024
8f4a28a
Bump default jetsam multiplier to 3
opa334 Jul 30, 2024
7cb6b93
Bump default jetsam multiplier to 3
opa334 Jul 30, 2024
316ec4e
2.2.1
opa334 Jul 30, 2024
672ed8a
Update Vietnamese localization (#618)
hungyn04 Aug 1, 2024
b7f0846
Update Ko Localizable.strings (#620)
ancalina Aug 3, 2024
f37db2f
Update Chinese Translations (#621)
Margele Aug 3, 2024
abca19d
Update Localizable.strings(zh-Hans and zh-CN) (#624)
invalidunit Aug 5, 2024
0d51987
Stop redirecting all execve calls to posix_spawn, turns out some sand…
opa334 Aug 10, 2024
869cf56
Actually bump version to 2.2.2...
opa334 Aug 10, 2024
8fc71db
zh-CN translation/semantics fix (#631)
Torrekie Aug 14, 2024
91bafa6
Update Localizable.strings(zh-Hans and zh-CN) (#633)
invalidunit Aug 15, 2024
5f9f061
systemhook: Stop relying on implicit tail calls
opa334 Aug 18, 2024
4e885a0
Update README.md
opa334 Sep 3, 2024
65d0558
Update Korean Localizable.strings (#648)
ancalina Sep 20, 2024
847ca91
Switch litehook to repo
opa334 Nov 1, 2024
bc4e550
Fix a small inaccuracy in dmaFail, unlikely to have affected anything
opa334 Dec 13, 2024
39069e8
Switch forkfix to litehook rebinds on iOS 15 arm64e to hopefully brin…
opa334 Dec 13, 2024
1e9337f
fix broken litehook ref
opa334 Dec 13, 2024
4f6b237
Update litehook
opa334 Dec 19, 2024
797d7bb
Fix comments being wrong
opa334 Dec 19, 2024
bbadac5
Minor code layout / comments improvements
opa334 Dec 19, 2024
c0bcc79
Potentially fix random freeze during 'Initializing Jailbreak' stage
opa334 Dec 21, 2024
cfb4448
Rework forkfix on iOS 15 arm64e: Fully reimplement fork, vfork, daemo…
opa334 Dec 24, 2024
5e36ba8
Update litehook, add forkfix filter to prevent memory usage increase
opa334 Dec 27, 2024
d3e7653
Add flag to force disable forkfix rebind
opa334 Dec 27, 2024
74a6b2f
Integrate oldABI as setting in app, wire down libraries which are kno…
opa334 Dec 31, 2024
87d5881
2.3
opa334 Dec 31, 2024
e4d3ab2
Fix slow build times
opa334 Jan 1, 2025
2cab076
Don't trash jbsettings when jbupdating
opa334 Jan 1, 2025
ef7a592
Improve code format
opa334 Jan 1, 2025
55fa1d2
Update ChOma, update XPF
opa334 Jan 1, 2025
c7ce08c
Fix DSC locker not working on iOS 16, use ChOma for it instead
opa334 Jan 2, 2025
5151d40
Remove oldABI until further notice, the dsc mlock implementation does…
opa334 Jan 3, 2025
48b56c9
Update ChOma
opa334 Jan 19, 2025
151527a
Disable rebind based forkfix again since it turns out to still be bro…
opa334 Jan 19, 2025
49451e7
First POC dyldhook / spinlock fix
opa334 Jan 30, 2025
c7b4dba
Implement all the dyldhook functionality
opa334 Jan 31, 2025
0279e6f
Remove unneeded stuff
opa334 Jan 31, 2025
ba99169
MachOMerger: Add support for arm64
opa334 Jan 31, 2025
7d26f41
Fix some more issues with dyldhook on iOS 16
opa334 Jan 31, 2025
a1c854a
Make dyld and systemhook symlinks, improve jailbreak hiding logic
opa334 Feb 2, 2025
71b6a52
Ensure BaseBin contains no .DS_Store files
opa334 Feb 2, 2025
f006a07
Make forkfix link systemhook directly since it can now that systemhoo…
opa334 Feb 2, 2025
df4376d
jbupdate: Support repatching dyld
opa334 Feb 4, 2025
1b3cc19
Make hiding jailbreak disable systemwide jbserver, support userspace …
opa334 Feb 7, 2025
1b5f383
Temporary hacky fix for hiding jailbreak crashing some processes
opa334 Feb 7, 2025
ebe9978
Fix some issues with temporary hacky fix
opa334 Feb 7, 2025
668c1ca
Make forkfix XPCless
opa334 Feb 7, 2025
132474e
Same logic, less warnings
opa334 Feb 7, 2025
96ed00d
Apparently systemwide_fork_fix never returned anything but 0
opa334 Feb 7, 2025
df69c07
Don't cache launchd port since it doesn't seem to survive forking
opa334 Feb 7, 2025
8db9e22
Add functionality for copying orig instructions in MachOMerger, adapt…
opa334 Feb 8, 2025
ee37724
Improve some comment
opa334 Feb 8, 2025
68b3b08
Better name
opa334 Feb 8, 2025
3e28d42
Update ChOma
opa334 Feb 8, 2025
8d49a88
Super awesome library validation bypass that doesn't work because fil…
opa334 Feb 9, 2025
ef4342a
Update ChOma, fix oversight
opa334 Feb 9, 2025
ce4608b
Different approach that works but still not fully fleshed out yet
opa334 Feb 9, 2025
61fc99f
Make it fully fledged
opa334 Feb 10, 2025
6693cb0
Reimplement fakelib redirection (now in a less hacky way)
opa334 Feb 10, 2025
a6ea89b
Fix WebContent tweak injection on iOS 16
opa334 Feb 11, 2025
95ee883
Enable library validation bypass even if process is not checked in, w…
opa334 Feb 11, 2025
a5d562a
2.4
opa334 Feb 16, 2025
06777b4
Apparently t_flags_ro was only introduced in iOS 16.1 and t_flags in …
opa334 Feb 16, 2025
5aeee4b
2.4.1
opa334 Feb 16, 2025
3c32a4b
Improved Italian Translations (#694)
Checkm8ra1n Feb 27, 2025
4ceace5
MachOMerger: Keep original macho sections as they were, stop adding _…
opa334 Mar 6, 2025
de19cc0
dyldhook/MachOMerger: Remove magic values of invalid/remaining mach h…
opa334 Mar 6, 2025
d661620
fix build failure (#685)
m1337v Mar 6, 2025
f520abb
Apply fcntl hook outside of dyld aswell
opa334 Mar 8, 2025
416a877
Minor refactor
opa334 Mar 8, 2025
fba5607
2.4.2
opa334 Mar 9, 2025
500cf1b
Fix crash/failure when dyldhook tries to contact the jbserver in a fo…
opa334 Mar 15, 2025
ea8479f
2.4.3
opa334 Mar 15, 2025
3851fad
Improve fix from previous versions to also work when dyldhook_init ba…
opa334 Mar 24, 2025
77ee6f5
Update ChOma, update XPF, adapt build infra for new XPF
opa334 Apr 14, 2025
12d43c3
Update ChOma, update XPF, adapt build infra for new XPF
opa334 Apr 14, 2025
16ff413
Bump XPF, bump ChOma
opa334 Apr 14, 2025
ae3c7b9
Bump ChOma, add protection against getAMFI dyld patchfinder failing
opa334 Apr 15, 2025
95fafe8
Xcode 16.3 broke support for -no_auth_data but apparently it was neve…
opa334 Apr 15, 2025
7d7f8c3
Fix respring button not working when jailbreak is hidden
opa334 Apr 19, 2025
cb9dc06
Slightly refactor killall function
opa334 Apr 19, 2025
56bb8ea
Include some better info in 'failed to find kernelcache' error message
opa334 Apr 19, 2025
798fc6e
feat: add password authentication for when changing mobile password (…
claration Apr 19, 2025
0a3610b
Add optimization flags to dyldhook and libjailbreak
opa334 Apr 19, 2025
5e10958
bruh
opa334 Apr 19, 2025
799663f
2.4.4
opa334 Apr 19, 2025
3582941
Revert -O2 from libjailbreak because apparently it breaks arm64 15.x
opa334 Apr 19, 2025
62983f8
2.4.5
opa334 Apr 19, 2025
2e7daed
Update Localizable.strings Spanish (#716)
Deci8BelioS Apr 20, 2025
0d4f900
Update Localizable.strings (Vietnamese) (#723)
hungyn04 May 20, 2025
7aa3559
Update XPF and ChOma
opa334 Jun 22, 2025
859d376
???
opa334 Jun 23, 2025
f1b78f6
Update Localizable.strings (#726)
ancalina Jun 28, 2025
20e2006
fix(zh_TW): added missing strings and fix some problematic ones (#727)
olivertzeng Jul 2, 2025
032cc3a
pmap_map_in: Fix bug when PA and UA have different alignments, optimi…
opa334 Jul 7, 2025
44a9eb2
pmap_expand_range: improve performance
opa334 Jul 16, 2025
2cfd690
Improve os_alloc_once invocation by using official headers
opa334 Jul 16, 2025
afa308a
Fix dumb oversight that broke arm64 kcall when compiling libjailbreak…
opa334 Aug 16, 2025
4a14f02
Fix warnings on Xcode 26
opa334 Aug 16, 2025
314f7f2
Try to fix pipeline
opa334 Aug 27, 2025
8d21d72
Fix A8 support (regression in commit 032cc3a)
opa334 Jan 3, 2026
4fa7994
Update ChOma and XPF
opa334 Jan 3, 2026
4577276
Merge bootlogo into 2.x:
opa334 Jan 3, 2026
8ac4ce1
2.4.6
opa334 Jan 4, 2026
99332b2
Fix custom bootlogos not persisting correctly
opa334 Jan 8, 2026
d466e2d
Update ChOma and XPF, fixes deadlocks during patchfinding on some ver…
opa334 Jan 8, 2026
0cce207
Fix rotation of selected custom boot logo being wrong for pictures ta…
opa334 Jan 8, 2026
217c0ac
2.4.7
opa334 Jan 9, 2026
7b067f6
Fix support for iPadOS 16.1b1 - 16.1b4 and iOS 16.1b1 - 16.1b3
opa334 Mar 7, 2026
cb80479
puaf_landa killed in 15.8.7 (#770)
TheMasterOfMike Mar 13, 2026
4ac2971
forkfix: Fix incorrect parsing of vm_map_header (it was incorrectly t…
opa334 Mar 14, 2026
ddbae17
Improve check for 16.1 betas
opa334 Mar 14, 2026
50d4464
2.4.8
opa334 Mar 14, 2026
4468cf5
Fix entitlement name typo in comment
opa334 Apr 8, 2026
3dfeb89
bruh...
opa334 Apr 25, 2026
a3a4197
2.4.9
opa334 Apr 25, 2026
6abc1d3
Fallback to default exploit if the current pref value is set to a non…
opa334 Apr 26, 2026
e89072a
forkfix: Improve code structure
opa334 Apr 26, 2026
1f05e04
Add Hindi localization
rohancodesss May 9, 2026
246cc35
Refine Hindi localization wording
rohancodesss May 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
108 changes: 108 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: "Dopamine: build and upload"

on:
push:
branches:
- '*'
paths-ignore:
- ".gitignore"
pull_request:
branches:
- '*'
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 }}
cancel-in-progress: true

jobs:
build:
runs-on: macos-latest
steps:
- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive

- name: Install Procursus
uses: dhinakg/procursus-action@main
with:
packages: ldid findutils sed coreutils make

- name: Install better GNU Make
run: |
brew install make
echo "PATH=$(brew --prefix make)/libexec/gnubin:$PATH" >> $GITHUB_ENV
- name: Install THEOS
run: |
set -x
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
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
gunzip $THEOS/sdks/iPhoneOS16.5.sdk.tar.xz
tar -xf $THEOS/sdks/iPhoneOS16.5.sdk.tar -C $THEOS/sdks
rm $THEOS/sdks/iPhoneOS16.5.sdk.tar
cd $BASEDIR
- name: Build and Install trustcache
run: |
set -x
git clone https://github.com/CRKatri/trustcache
cd trustcache
export CFLAGS="$CFLAGS -I$(brew --prefix openssl)/include -arch arm64"
export LDFLAGS="$LDFLAGS -L$(brew --prefix openssl)/lib -arch arm64"
gmake -j$(sysctl -n hw.logicalcpu) OPENSSL=1
sudo cp trustcache /opt/procursus/bin/
- name: Set Environment Variables
run: |
set -x
T2=$(TZ=UTC-2 date +'%Y%m%d_%H%M%S')
TS=$(date -j -f "%Y%m%d_%H%M%S" "${T2}" +%s)
SHASH=$(git rev-parse --short HEAD)
echo "ctime=${T2}" >> $GITHUB_ENV
echo "ctimestamp=${TS}" >> $GITHUB_ENV
echo "shorthash=${SHASH}" >> $GITHUB_ENV
- name: Install libarchive
run: |
brew install libarchive
- name: Download Bootstraps
run: |
set -x
cd Application/Dopamine/Resources
./download_bootstraps.sh
- name: Build
run: |
set -x
export BASEDIR="$(pwd)"
export THEOS="${BASEDIR}/theos"
gmake -j$(sysctl -n hw.logicalcpu) NIGHTLY=1
- name: Upload Artifact
id: dopamine-latest-upload
uses: actions/upload-artifact@main
with:
name: Dopamine
path: |
${{ github.workspace }}/Application/Dopamine.ipa
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
/.build
/*.xcodeproj
xcuserdata/
xcshareddata/
DerivedData/
.swiftpm/xcode/
/Package.resolved
/Server/orig.ipa
/Server/serverCert/fullchain.cer
/Server/serverCert/server.key
Dopamine/Dopamine/bootstrap/tmp/
Application/Payload
.idea
Tools/fastPathSign/.build_*
Exploits/kfd/kfd.framework/kfd
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "BaseBin/opainject"]
path = BaseBin/opainject
url = https://github.com/opa334/opainject
[submodule "BaseBin/_external/modules/litehook"]
path = BaseBin/_external/modules/litehook
url = https://github.com/opa334/litehook
1,137 changes: 1,024 additions & 113 deletions Application/Dopamine.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>
@interface DOAppDelegate : UIResponder <UIApplicationDelegate>


@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
// Created by Lars Fröder on 23.09.23.
//

#import "AppDelegate.h"
#import "DOAppDelegate.h"

@interface AppDelegate ()
@interface DOAppDelegate ()

@end

@implementation AppDelegate
@implementation DOAppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
Expand All @@ -36,5 +36,11 @@ - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}

- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
{
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
return UIInterfaceOrientationMaskAll;
return UIInterfaceOrientationMaskPortrait;
}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

#import <UIKit/UIKit.h>

@interface SceneDelegate : UIResponder <UIWindowSceneDelegate>
@interface DOSceneDelegate : UIResponder <UIWindowSceneDelegate>

@property (strong, nonatomic) UIWindow * window;

+ (void)relaunch;

@end

Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
// Created by Lars Fröder on 23.09.23.
//

#import "SceneDelegate.h"
#import "DOSceneDelegate.h"
#import "DONavigationController.h"

@interface SceneDelegate ()
@interface DOSceneDelegate ()

@end

@implementation SceneDelegate

@implementation DOSceneDelegate

- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
UIWindow *window = [[UIWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
Expand All @@ -22,6 +21,24 @@ - (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session op
self.window = window;
}

+ (void)relaunch
{
UIWindowScene *windowScene = (UIWindowScene *)[[[UIApplication sharedApplication] connectedScenes] anyObject];
DOSceneDelegate *instance = (DOSceneDelegate *)windowScene.delegate;

[UIView animateWithDuration:0.3 animations:^{
instance.window.alpha = 0;
} completion:^(BOOL finished) {
UIWindow *window = [[UIWindow alloc] initWithWindowScene:(UIWindowScene *)instance.window.windowScene];
window.rootViewController = [[DONavigationController alloc] init];
[window makeKeyAndVisible];
instance.window = window;
instance.window.alpha = 0;
[UIView animateWithDuration:0.3 animations:^{
instance.window.alpha = 1;
}];
}];
}

- (void)sceneDidDisconnect:(UIScene *)scene {
// Called as the scene is being released by the system.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading