Post: FLEX ! How to create a simple patch
11-03-2016, 02:31 PM #1
(adsbygoogle = window.adsbygoogle || []).push({});
Saw that nobody posted that yet so I thought I will share a little tutorial. Gandalf the Grey
I will show you how to make a simple little patch that disables "Jailbreak detection" and "Cracked detection".



First make sure you got the latest FLEX update on your iPhone.
It can be found within many popular cydia repositories.


1.
So let´s say you got an app that detects your jailbreak and wouldn´t let you download inApp purchases (cracked or legal, you choose
Kas ).
We´ll open Flex now. (I would recommend to close the chosen app via multitasking before doing anything)

2.
You should be on the "Patches"-Tab already, if not tap on the Patches-Tab.
Click on the "+" to make a new patch.

3.
Choose the app you want to modify.
(In my case it´s 1010 from the appstore)

4.
Once we´re in there we will tap on "Add Units...".

5.
Tap on the executable "1010!" (in my case). A popup will appear asking if you want to process the executable or cancel.
We want to Process it, so tap it.
Depending on how large your app is it will take some time, just be patient.

6.
You´ll see hundreds of Object-C Classes but we will just ignore them and make our own class.
Tap on the search bar and enter "jailbreak".

7.
You´ll get some methods with two rows of text. In my case I see "method: +(bool) isJailbroken " without quotation marks.

8.
Just tap that one or any methods where it reads "jailbreak" .

9.
Repeat steps 6-8 with "crack". You´ll get something like "isAppCracked". Just tap these methods.

10.
Once we did that we´ll go back and cancel the search.
Just tap the "<" to get two steps back.

11.
We´re now inside the patch editor.
Under Units you´ll see your tapped methods. In my case the first one is "IsDeviceJailbroken".
Tap the first one, tapp "pass-through", tap "pass-through" again and choose FALSE (because the device is not jailbroken *cough*)

12.
Do that with every method you chose.

13.
Once you´re done with that you can just head back to your patches!
It´ll automatically save your patch and you will see it in your list.

14.
Activate your patch and check if it works now but it has to work.

15.
Congratulations! You just made your own patch. Smile


Hope it helped ! (Will add pictures soon)

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo