Jump to content

A Proper Tutorial: Repack IPA After Binary Patch (TrollStore & Sideloady) ?


Go to solution Solved by Laxus,

4 posts in this topic

Recommended Posts

Posted (edited)

Hey everyone,

Would anyone be able to put together a proper step-by-step guide on how to correctly repackage an .ipa after patching the Mach-O binary in IDA for a rootless jailbreak setup?

I'm not referring to just replacing the original Mach-O, compressing the folder, and calling it a day. I'm talking about any additional steps needed to make the app work properly with tools like TrollStore or Sideloadly.

For example:

Do we need to delete the _CodeSignature folder?

How do we recreate that .entitlements or .enx file (can't recall the exact name)?

Are there any signing or entitlement quirks we need to be aware of?

I've patched tons of games already, but putting the IPA back together correctly has been the biggest roadblock, apps often just open and crash immediately.

If someone could write a clean, detailed tutorial, that would be greatly appreciated!

Thanks in advance!

Updated by MoneyMcFly
Posted

After you modified binary like changing Hex Code, just put the binary back into IPA then sideload again. That's all

Not sure how you have crash issue, maybe false patchs, must check your work

Posted
7 hours ago, Laxus said:

After you modified binary like changing Hex Code, just put the binary back into IPA then sideload again. That's all

Not sure how you have crash issue, maybe false patchs, must check your work

Oh so I work purely just with the hex code and don’t e. g. NOP offset addresses ?

  • Solution
Posted
2 minutes ago, MoneyMcFly said:

Oh so I work purely just with the hex code and don’t e. g. NOP offset addresses ?

You can NOP an instruction, not the whole function. For whole function use RET instead

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines