Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsckuck #654

Open
wants to merge 58 commits into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
629e4e3
Dopamine-roothide 2.0.0 pre-release
Ylarod Apr 22, 2024
cfdeb5f
hide ipc_hook for blacklisted apps, update icon and identifier
roothider Apr 24, 2024
e099dc3
test installing rootless v2 package directly without patch
roothider Apr 26, 2024
8c22b07
fix
roothider Apr 26, 2024
5a7b741
fix an issue that may cause some apps to crash
roothider Apr 29, 2024
1f88c99
fix the problem that some apple apps may not be launched on non-jailb…
roothider Apr 29, 2024
b6e55a3
fix the issue that crane and some other tweaks not working correctly
roothider Apr 29, 2024
2db368a
a bunch of fixes and updates
roothider May 2, 2024
8909ce4
update uicache: fix jailbroken app's plugin not working
roothider May 3, 2024
b2c0dd6
fix some bugs
roothider May 6, 2024
c7a7f82
Update main.yml
roothider May 6, 2024
917cc50
update CI
roothider May 6, 2024
00a3e8c
Update main.yml
roothider May 6, 2024
be868aa
Update main.yml
roothider May 7, 2024
54a4f74
update libroot using libroothide
roothider May 7, 2024
9f2e20e
update libroot using libroothide
roothider May 7, 2024
fbc0e6b
update sileo and strapfiles
roothider May 7, 2024
25153c3
Merge 2.1.4
roothider May 9, 2024
3cce601
update ChOma: fix jailbreak not working on some devices
roothider May 9, 2024
69b35a3
fix ssh may not work after tweak disabled, fix jbupdate
roothider May 10, 2024
4e22886
Improved path checking
roothider May 10, 2024
52d9248
Update DOGlobalAppearance.m
roothider May 10, 2024
e0258b4
fix some jailbreak programs may not work correctly when tweak disabled
roothider May 10, 2024
97ec59f
fix JIT may not work on forked process correctly when tweak disabled
roothider May 14, 2024
7c4e3b2
update sileo & zebra
roothider May 14, 2024
1c8cf36
Update libroot.c
roothider May 20, 2024
846bf58
support "jbctl trustcache add /path/to/macho"
roothider May 22, 2024
b661f0c
remove unused stuffs
roothider May 28, 2024
c348d74
merge 2.1.5
roothider May 29, 2024
9ec73aa
move files
roothider May 29, 2024
dba73aa
revert to original implementation
roothider May 31, 2024
af5ab14
revert to original implementation
roothider Jun 1, 2024
f1fb583
move to basebin to prevent users from accidentally deleting in sileo
roothider Jun 1, 2024
211fd9a
fix building
roothider Jun 2, 2024
33c8768
update building
roothider Jun 2, 2024
77a22e2
update building
roothider Jun 2, 2024
106644f
update building
roothider Jun 2, 2024
c421fa5
adding missed contributor
roothider Jun 2, 2024
591c897
Update main.yml
roothider Jun 3, 2024
d716110
Update main.yml
roothider Jun 3, 2024
8d434c3
update building
roothider Jun 3, 2024
f7422a1
Update README.md
roothider Jun 3, 2024
214c015
fix schedule
roothider Jun 7, 2024
faaad91
Update main.yml
roothider Jun 7, 2024
827e0b1
better
roothider Jun 9, 2024
40a39c4
Update jbupdate.sh
roothider Jun 13, 2024
f9d7761
merge 2.1.7
roothider Jun 13, 2024
34deb83
Update roothideapp.deb
roothider Jul 31, 2024
8c6f681
hide more jailbreak traces and fix potential conflicts with fishhook
roothider Aug 5, 2024
626b342
fix typo, thanks @yfw123
roothider Aug 9, 2024
6dfcdc2
fix
roothider Aug 9, 2024
632286c
fix patchfinding on iphoneX(ios16.6.1)
roothider Aug 20, 2024
fdb990c
fix CrashReporter and update strapfiles
roothider Sep 16, 2024
09c030a
fix typo
roothider Sep 18, 2024
ac14279
fix the issue that xcode cannot view the device process list, also "f…
roothider Sep 18, 2024
3e9ac00
Update signatures.m
roothider Oct 14, 2024
b06f648
merge 2.2.2
roothider Oct 23, 2024
38685e9
fix bugs
roothider Oct 24, 2024
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
  •  
  •  
  •  
48 changes: 17 additions & 31 deletions .github/workflows/main.yml → .github/workflows/roothide.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
name: "Dopamine: build and upload"
name: "*** build tipa file ***"

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 *'
- cron: '0 */2 * * *' # every 2 hours
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -28,10 +14,10 @@ jobs:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

run: |
set -x
git clone --recursive https://github.com/roothide/Dopamine2-roothide ${{ github.workspace }}
- name: Install Procursus
uses: dhinakg/procursus-action@main
with:
Expand All @@ -43,7 +29,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,23 +60,23 @@ jobs:
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.physicalcpu) NIGHTLY=1
typeset itemcount=$(plutil -extract items raw -expect array ./Application/Dopamine/UI/Settings/Credits.plist)
for ((i=0; i<$itemcount; i++)); do if [ "$(plutil -extract items.$i.headerCellClass raw ./Application/Dopamine/UI/Settings/Credits.plist)" = "DOCreditsCell" ]; then DOCreditsCellIndex=$i; fi done;
plutil -insert items.$DOCreditsCellIndex.names -xml "<dict><key>name</key><string>${{ github.actor }}</string><key>link</key><string>https://github.com/${{ github.repository }}</string></dict>" -append ./Application/Dopamine/UI/Settings/Credits.plist
gmake -j$(sysctl -n hw.physicalcpu)
TAG=$(git describe --tags --abbrev=0)
mv ./Application/Dopamine.tipa "./Application/roothide-Dopamine2-v${TAG}.tipa"
echo "tag=${TAG}" >> $GITHUB_ENV

- name: Upload Artifact
id: dopamine-latest-upload
uses: actions/upload-artifact@v3
with:
name: Dopamine
name: roothide-Dopamine2-v${{ env.tag }}.tipa
path: |
${{ github.workspace }}/Application/Dopamine.ipa
${{ github.workspace }}/Application/roothide-Dopamine2-v${{ env.tag }}.tipa
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ 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
Exploits/kfd/kfd.framework/kfd
cmake-build-*
.vscode
jbupdate.sh
BaseBin/jbupdate.sh
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/opa334/ChOma
[submodule "BaseBin/XPF"]
path = BaseBin/XPF
url = https://github.com/opa334/XPF
url = https://github.com/roothide/XPF
[submodule "Exploits/kfd/src/kfd"]
path = Application/Dopamine/Dopamine/Exploits/kfd/kfd
url = https://github.com/opa334/kfd
Expand Down
Binary file added .pictures/m1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .pictures/m7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
730 changes: 698 additions & 32 deletions Application/Dopamine.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
236 changes: 120 additions & 116 deletions Application/Dopamine/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,118 +1,122 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "38x38"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "38x38"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "40x40"
},
{
"filename" : "Icon-Small-40@3x 1.png",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "64x64"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "3x",
"size" : "64x64"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "68x68"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "76x76"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
"images": [
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "icon-29.png",
"scale": "1x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "icon-20-ipad.png",
"scale": "1x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "icon-29-ipad.png",
"scale": "1x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "icon-40.png",
"scale": "1x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "icon-76.png",
"scale": "1x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "83.5x83.5",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "1024x1024",
"idiom": "ios-marketing",
"filename": "icon-1024.png",
"scale": "1x"
}
],
"info": {
"version": 1,
"author": "icon.wuruihong.com"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Application/Dopamine/Dependencies/libcurl.a
Binary file not shown.
Binary file removed Application/Dopamine/Dependencies/libfragmentzip.a
Binary file not shown.
Binary file removed Application/Dopamine/Dependencies/libgrabkernel.a
Binary file not shown.
Binary file not shown.
Binary file added Application/Dopamine/Dependencies/libpartial.a
Binary file not shown.
5 changes: 5 additions & 0 deletions Application/Dopamine/Dopamine.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@
<array>
<string>AGXDevice</string>
<string>AGXDeviceUserClient</string>
<string>AGXSharedUserClient</string>
<string>AGXGLContext</string>
<string>AGXCommandQueue</string>
<string>IOSurfaceRoot</string>
<string>IOSurfaceRootUserClient</string>
<string>AppleJPEGDriverUserClient</string>
<string>H11ANEInDirectPathClient</string>
</array>
<key>com.apple.developer.kernel.extended-virtual-addressing</key>
<true/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ struct dynamic_info {
u64 kernelcache__static_base;
// struct proc
u64 proc__p_list__le_prev;
u64 proc__p_list__le_next;
u64 proc__task;
u64 proc__p_pid;
u64 proc__p_fd__fd_ofiles;
Expand Down Expand Up @@ -40,6 +41,8 @@ struct dynamic_info {
u64 IOSurface__useCountPtr;
u64 IOSurface__indexedTimestampPtr;
u64 IOSurface__readDisplacement;
// kernelcache static addresses (IOSurface)
u64 kernelcache__allproc;
// kernelcache static addresses (perf)
u64 kernelcache__cdevsw; // "spec_open type" or "Can't mark ptc as kqueue ok"
u64 kernelcache__gPhysBase; // "%s: illegal PA: 0x%llx; phys base 0x%llx, size 0x%llx"
Expand Down
Loading