evelyneee / ellekit

yet another tweak injector / tweak hooking library for darwin systems
BSD 3-Clause "New" or "Revised" License
440 stars 56 forks source link

[Question] how to replace ellekit dylibs? #45

Closed gotschi closed 8 months ago

gotschi commented 8 months ago

Hello, I try to build ellekit with safe mode disabled.

Now I have the dylibs but how do I place them on my ios 16.7 iphone 8 jb rootless with palera1n?

Is it just a matter of replacing them in the FS?

I installed ellekit with zebra

Thank you!!

evelyneee commented 8 months ago

Replace /usr/lib/MobileSafety.dylib with /usr/lib/ellekit.dylib

gotschi commented 8 months ago

awesome, will try that tonight. thank you for the fast response!

gotschi commented 8 months ago

hm, there is no /usr/lib/MobileSafety.dylib on my phone and also no ellekit.dylib :/

iPhone-8:~ mobile% sudo ls /usr/lib/
bbmasks              libFaultOrdering.dylib    libRPAC.dylib       swift     xpc
dyld                 libMTLCapture.dylib       libSystem.B_asan.dylib  system
libBacktraceRecording.dylib  libMTLToolsDiagnostics.dylib  libSystem_asan.dylib    updaters
libCoreKE.dylib          libMainThreadChecker.dylib    log             usd

I only have /private/preboot/xxx/jb-DSvxcZJt/procursus/usr/lib/ellekit/MobileSafety.dylib replaced that with /private/preboot/xxx/jb-DSvxcZJt/procursus/usr/lib/libellekit.dylib let's see what happens :P

evelyneee commented 8 months ago

Yeah that’s what I meant

gotschi commented 8 months ago

seems to work fine so far, thank you!!