How To Create Tweaks Using Flex
April 17, 2013 2:52 AM
Posted by Unknown
Flex, undoubtedly, is one of the must-have Cydia app for all the jailbreakers out there because it allows you to create custom jailbreak tweaks with little or no programming knowledge required. You can easily make powerful tweaks with Flex such as hide jailbreak detection from Apple's employees, unlimited tabs in Safari, access hidden features of iOS, get high scores and cheat in games and just what not. Hit the jump and create your very own tweak using Flex.
Supported Devices
As a prerequisite, make sure your device is running iOS 5+ or iOS 6+ firmwares.The tweak we will be creating in this tutorial will override the age restrictions on YouTube videos. If any video on YouTube tags you as an inappropriate viewer due to your age, you can easily bypass this using Flex app.
Step 1: Launch Flex and press the + button at the top of the screen.
Step 2: Select an app for which you want to make a patch or a tweak. In our case we will be using YouTube, so scroll down and tap it once.
Step 3: Now, Flex will name the patch automatically. If you wish to change its name, tap the Title field, edit it and once again tap Done.
Step 4: Press the Add Units button, which will allow you to make the patches for the app of your choice.
Step 5: Now, you need to tap YouTube as given in the Executable field. Now, process the tweak so as to save it.
Step 6: Tap the search field onnce and enter adult as the search string (because our tweak is related to adult age restrictions, the program must contain the word adult or something related to age).
Note: I am a professional programmer and Facebook developer and have a good understanding of all programming concepts. However, those of you aren't familiar with programming just skim through this for an introduction although you wouldn't require them much for creating patches like this one.
Methods/Functions : They are seperate modules defined outside the main() function. In programming we often add "is" in front of a function that checks for a certain condition. Here, isAdultContent checks for the age of the user.
Classes : They are the pillars of OOP( Object Oriented Programming) as they have the ability to encapsulate data and associated operations (functions) into one single unit. Be it C,C++,Java, classes are used in virtually every programming language you can think of!
Step 7: Scroll down until you see this function or method named like isAdultContent which has been obviously programmed to check the age of the user. Tap this function to edit its return value. After this, it will show a checkmark next to its name.
Step 8: Now get back to the Patch Editor page. The Units section lists all the functions of which you want to edit the return value. Tap the Unit for isAdultContent button.
Step 9: Set the Override Value to FALSE.
Step 10: Now you just need to get back to the home screen and tap the checkmark once and the tweak will come into full effect thereafter.
Other Tweak Ideas
If you want ideas for other tweaks you can make with Flex, you can edit the functions in a similar manner as shown above. You can edit App Store to make it run full screen by hiding the status bar, make Calculator go full screen and disable its rotation and copy/paste feature as well.
A user who goes by the name of iHazardouz has created many cool patches which can be downloaded from here. After downloading, place that file in this location /Library/Application Support/Flex to use them.
The Cloud feature is an interesting part of Flex. Basically it lets you use the tweaks made by other users. Even if you haven't made your own patch or tweak, you can simply select the any app from the Cloud section as shown above and use all the tweaks made for that particular app by other Flex users.
Price And Availability
Flex is available for a price of $3.99 on BigBoss repo on Cydia. Don't go at its price, just shell out those 4 dollars to get this awesome app.
Also, we here at UJB do not promote piracy and advise you to stay away from the cracked version of Flex and buy it from Cydia instead to support the hard work of its developer, John Coates who has really worked his socks off to assemble this great application, and no doubt about that.
Want more of this ?
You are missing out on a whole lot of interesting tutorials and stuff, stay updated daily and subscribe to our social media feeds on Facebook, Twitter, Google+ and also subscribe to our RSS feed.
[Tutorial Image Credits: tw23]
Supported Devices
- iPhone 5
- iPhone 4S
- iPhone 4
- iPhone 3GS
- iPod Touch 5
- iPod Touch 4
As a prerequisite, make sure your device is running iOS 5+ or iOS 6+ firmwares.The tweak we will be creating in this tutorial will override the age restrictions on YouTube videos. If any video on YouTube tags you as an inappropriate viewer due to your age, you can easily bypass this using Flex app.
Step 1: Launch Flex and press the + button at the top of the screen.
Step 2: Select an app for which you want to make a patch or a tweak. In our case we will be using YouTube, so scroll down and tap it once.
Step 3: Now, Flex will name the patch automatically. If you wish to change its name, tap the Title field, edit it and once again tap Done.
Step 4: Press the Add Units button, which will allow you to make the patches for the app of your choice.
Step 5: Now, you need to tap YouTube as given in the Executable field. Now, process the tweak so as to save it.
Step 6: Tap the search field onnce and enter adult as the search string (because our tweak is related to adult age restrictions, the program must contain the word adult or something related to age).
Methods/Functions : They are seperate modules defined outside the main() function. In programming we often add "is" in front of a function that checks for a certain condition. Here, isAdultContent checks for the age of the user.
Classes : They are the pillars of OOP( Object Oriented Programming) as they have the ability to encapsulate data and associated operations (functions) into one single unit. Be it C,C++,Java, classes are used in virtually every programming language you can think of!
Step 7: Scroll down until you see this function or method named like isAdultContent which has been obviously programmed to check the age of the user. Tap this function to edit its return value. After this, it will show a checkmark next to its name.
Step 9: Set the Override Value to FALSE.
Step 10: Now you just need to get back to the home screen and tap the checkmark once and the tweak will come into full effect thereafter.
Other Tweak Ideas
If you want ideas for other tweaks you can make with Flex, you can edit the functions in a similar manner as shown above. You can edit App Store to make it run full screen by hiding the status bar, make Calculator go full screen and disable its rotation and copy/paste feature as well.
A user who goes by the name of iHazardouz has created many cool patches which can be downloaded from here. After downloading, place that file in this location /Library/Application Support/Flex to use them.
The Cloud feature is an interesting part of Flex. Basically it lets you use the tweaks made by other users. Even if you haven't made your own patch or tweak, you can simply select the any app from the Cloud section as shown above and use all the tweaks made for that particular app by other Flex users.
Price And Availability
Flex is available for a price of $3.99 on BigBoss repo on Cydia. Don't go at its price, just shell out those 4 dollars to get this awesome app.
Also, we here at UJB do not promote piracy and advise you to stay away from the cracked version of Flex and buy it from Cydia instead to support the hard work of its developer, John Coates who has really worked his socks off to assemble this great application, and no doubt about that.
Want more of this ?
You are missing out on a whole lot of interesting tutorials and stuff, stay updated daily and subscribe to our social media feeds on Facebook, Twitter, Google+ and also subscribe to our RSS feed.
[Tutorial Image Credits: tw23]
May 4, 2013 at 4:15 AM
Hi,
Recently I came across some great articles on your site.
The other day, I was discussing (http://www.ujailbreakiphone.com/2013/04/how-to-create-tweaks-using-flex.html)with my colleagues and they suggested I submit an article of my own. Your site is just perfect for what I have written!
Would it be ok to submit the article? It is free of charge, of course!
Let me know what you think
Contact me at anelieivanova@gmail.com
Regards
Anele Ivanova