r/jailbreak • u/TomLube iPhone 15 Pro, 17.0.3 • Nov 04 '14
[Request Filled] A video tutorial on the basics of making a Flex patch!
https://www.youtube.com/watch?v=kWjpyjHrLT0
172
Upvotes
r/jailbreak • u/TomLube iPhone 15 Pro, 17.0.3 • Nov 04 '14
13
u/ZaRave Developer Nov 04 '14
For those who may or may or not know, but this is also one of the basics you learn in tweak development; searching through classes for what you want and overriding methods inside that class.
9
u/carlos_ortiz iPhone X, 13.5 | Nov 04 '14
I am a dude, but damn is that voice sexy
4
u/Kwinnah Nov 05 '14
Some quick questions from a non-programmer, what actually happens when you add a "-void" method? Does it essentially "void" it and causes a app to skip it? I've seen some units have a -void of a BOOL, where the BOOL is changed.
Also is "pass-through" the default state for all types of methods? I'm assuming setting a -BOOL to "pass-through" means its not really doing anything, however adding a -void set as "pass-through" does have an effect.
Sorry if this doesn't sound very clear, just having a tough time trying to explain something I don't really understand.
3
u/minipulator Nov 05 '14
As a programmer: This video just blew my mind. I had never heard of Flex. Thank you OP, installing now.
1
u/[deleted] Nov 04 '14
Great video, learned a lot. Thanks!
1
u/TildeSwinton iPhone 5S, iOS 8.1.2 Nov 05 '14
how did you succeed in removing the NC separators?
1
u/BAthree Nov 05 '14
How did you make it so when you swipe up from the bottom of the screen it goes to the home screen?
1
u/fosiacat iPhone 12 Pro, 14.3 Beta Nov 05 '14
FYI you can also do a screen recording with quicktime (on a mac) which makes these videos much much clearer to watch.
1
u/Musth iPhone 12, 15.4.1 Nov 05 '14
Hey man, thanks so much for doing this! Great video, I get asked a lot how to start writing patches so I will be directing people to this for sure
1
u/[deleted] Nov 05 '14
What tweak are you using to go home? MultitaskingGestures?
1
u/jaws- iPhone 4S, iOS 8.1.1 Nov 05 '14
How are you swiping up to get out of things? Sorry if you already answered this, too many comments to go through.
PS, thank you for this. I'm interested in learning tweak development and code and this is the perfect start. (:
edit: disregard the tweak question, but still, thank you!
1
u/sbay Nov 05 '14
Thanks for the video. I have read in other posts that this flex version still has issues, specially that the patches wont do anything to some apps. Did you notice this behavior at all?
1
u/jbudjailbreak iPhone XS Max, iOS 13.3 Nov 05 '14
If only I could use this to bypass the jailbreak check for Ingress
1
u/Crowdfunder101 iPhone 5S, iOS 9.0.2 Nov 05 '14
Do you have British friends? At one point you said 'Mate, what is going on?', and it made me laugh, cos it's such an English thing to do!
1
u/iautran Nov 05 '14
Awesome tweak and video; thanks for sharing. I am going to install it right now.
Noob question but when we create a patch and then delete it. Does the default parameter will be restored or do we need to 1) modify the patch to configure again the default value; 2)Apply the patch; 3)Delete the patch
Thank you
1
u/Chrismilligan Nov 05 '14
U/TomLube you delivered! Thanks man. It looks like this was much needed! Getting a lot of attention. Can't wait to watch it. Thank you.
1
u/iamjamieq iPhone 6 Plus, iOS 9.0.2 Nov 05 '14
This is awesome! I watched your video and also John Coates' own video this morning and have a much better understanding of what I'm looking for. I'm trying to make an Auto Passenger Mode patch for Waze and can't get it to work. Should I be looking for BOOL methods first and if those don't work try something else? Thanks for the vid!
2
u/Ryankolp Nov 05 '14
How did you get tinybar to work on the iphone 6, on mine whenever i get a notification it crashes
1
u/TheZeta4real iPhone SE, iOS 9.3.2 Nov 05 '14
Next up could have been how to port flexes to a single tweak.
0
u/[deleted] Nov 05 '14
[deleted] — view deleted comment
0
u/[deleted] Nov 05 '14
[deleted] — view deleted comment