KJCracks / Clutch

Fast iOS executable dumper
3.69k stars 647 forks source link

AppleTV4 #170

Closed lemonhead94 closed 5 years ago

lemonhead94 commented 7 years ago

I'm currently looking into starting to add compatibility for tvOS...

Anything you guys think might be dangerous and I should think twice before running/doing? Any precautions I can take and can I somehow simulate the behaviour in the simulator, besides the actual decryption which has to take place on the device?

I also don't know yet, how to go about adding the correct "merge effect" since the tvOS apps seem to be split up into these two location:

# TopShelf
/private/var/mobile/Containers/Shared/AppGroup/...
# Application
/private/var/mobile/Containers/Data/Application/...
Tatsh commented 7 years ago

We don't perform disk writes to anywhere except /Documents/ and /var/tmp/, so it should be safe to run the app.

Tatsh commented 7 years ago

Please make sure to create a branch in your fork, and then send a PR when you have something that works. However, I don't know if anyone else on the team owns an Apple TV 4 nor would it be easy to find a jailbreakable one.

lemonhead94 commented 7 years ago

Alright sounds good, I'll be sure to make it on a new branch and send out a PR 👍 So how did you guys go about debugging your builds, just adding log statements and exiting out early?

Tatsh commented 7 years ago

We don't have a great way to debug. I've been trying to figure out how to best debug so we could integrate it with Xcode. We are close to there, given that we have a bundle, but Xcode expects to use its own signed bundle and Xcode will not sign with the correct entitlements we need (it ignores them), which is why we have that as an extra build step.

Otherwise, you should try the remote debugger. Personally I want Xcode's debugger GUI so it can be a little easier.

lemonhead94 commented 7 years ago

ah thanks I was able to set this up, this should help a lot! especially something like this will come in handy: (lldb) breakpoint set --file test.c --line 12 (lldb) breakpoint set --name "-[NSString stringWithFormat:]"

linhmui commented 5 years ago

ah thanks I was able to set this up, this should help a lot! especially something like this will come in handy: (lldb) breakpoint set --file test.c --line 12 (lldb) breakpoint set --name "-[NSString stringWithFormat:]"

Dear Have any update clutch for tvOS??

Thanks

lemonhead94 commented 5 years ago

No, not really.. When I was working on this I managed to bootloop/restore my appletv, which caused me to give up on this for now

linhmui commented 5 years ago

No, not really.. When I was working on this I managed to bootloop/restore my appletv, which caused me to give up on this for now

Can you restart again. Because tvOS 12.2 can be jailbreak with Chimera

Thanks

lemonhead94 commented 5 years ago

Sadly, I’m on tvOS 12.3 right now...