Skip to content

Commit

Permalink
Fix weightBufs not working on TrollStore installations, remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Apr 30, 2024
1 parent 08679a4 commit e0af622
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Application/Dopamine/Dopamine.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<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
2 changes: 0 additions & 2 deletions Application/Dopamine/Exploits/weightBufs/exploit/exploit.m
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,6 @@ struct __attribute__((aligned(8))) _H11ANEProgramBufferParamsStruct
printf("FATAL: The exploit has anticipated a failure that would likely crash the device at the last stage because of the target IOSurface is invalid \n"
" It's preferable to stop here and run the exploit again \n");
printf("*********************************************************************************\n");
sleep(1);
/* exit(-1); */
return false;
}

Expand Down

0 comments on commit e0af622

Please sign in to comment.