From e0af622c04de21bd83d51bd4b55a074d3ba4a328 Mon Sep 17 00:00:00 2001 From: opa334 Date: Tue, 30 Apr 2024 17:35:29 +0200 Subject: [PATCH] Fix weightBufs not working on TrollStore installations, remove sleep --- Application/Dopamine/Dopamine.entitlements | 1 + Application/Dopamine/Exploits/weightBufs/exploit/exploit.m | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Application/Dopamine/Dopamine.entitlements b/Application/Dopamine/Dopamine.entitlements index 530aeac76..807a98d4d 100644 --- a/Application/Dopamine/Dopamine.entitlements +++ b/Application/Dopamine/Dopamine.entitlements @@ -42,6 +42,7 @@ IOSurfaceRoot IOSurfaceRootUserClient AppleJPEGDriverUserClient + H11ANEInDirectPathClient com.apple.developer.kernel.extended-virtual-addressing diff --git a/Application/Dopamine/Exploits/weightBufs/exploit/exploit.m b/Application/Dopamine/Exploits/weightBufs/exploit/exploit.m index 4ec3e1687..ce46c3c28 100644 --- a/Application/Dopamine/Exploits/weightBufs/exploit/exploit.m +++ b/Application/Dopamine/Exploits/weightBufs/exploit/exploit.m @@ -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; }