Jump to content

8 posts in this topic

Recommended Posts

Posted

For this you will need to have theos installed, ifile and mobile terminal installed.

 

You will also need to have your header files installed as these will be placed in /var/theos/include.

 

STEP BY STEP

 

1) Open mobile terminal and login as root.

su

alpine (this is the default password but if you have changed the password use that instead)

 

2) Run your theos shortcut which is $THEOS/bin/nic.pl

 

3) Choose 5 as this will be a tweak that we are creating.

 

4) Fill in the name and the author and keep hitting return until it's done.

 

5) Go into ifile and go to /var/mobile and find your tweak name. for example mine will be called "welcome"

 

6) So when creating a tweak we do not edit any file except for the makefile and your tweak.xm file.

 

In your tweak.xm delete everything  file add this code.

 

#import <UIKit/UIKit.h>   #import <Foundation/Foundation.h>   #import <SpringBoard/SpringBoard.h>       %hook SpringBoard   -(void)applicationDidFinishLaunching:(id)application{   %orig;       UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Hello User"   message:@"Welcome Stranger"   delegate:self   cancelButtonTitle:@"OK thanks for the UIAlert!"   otherButtonTitles:nil];   [alert show];   [alert release];   }   %end

First we are importing header files.

 

The %hook Springboard will hook our tweak to the springboard.

 

The void section means that we are declaring a method and the method here is what happens when your phone resprings so whatever code we write, the code will run one that method has been preformed. 

 

The %orig; keeps the original method as the original method is to launch your springboard so if we don't use the original method the phone will be trying to use the code that we have wrote and this could lead to a bootloop.

 

The code that we are running is a UIAlertview which is a little popup view.

 

the %end is obvious.

 

Now save this and go to your makefile and add these two lines of code at the top:

 

ARCHS = armv7 arm64  

SDK = iPhoneOS8.3

 

(if you are using a older sdk then write that in instead of 8.3)

 

then add this line of code in

tweak_FRAMEWORKS = UIKit  

 

after that save this and go into mobile terminal.

 

now type in this command " cd /var/mobile/tweakname"

type "make package install" and your device will respring and once one you will see a UIAlertView

 

Congrats you just developed your own tweak and you are now a developer  :)  ^_^

 

-----------------

 

 

To create tweaks you MUST know a lot about objective c. People ask me how do I learn.

 

If you are a new coder then learn something easy like html and css and once you know this then you can learn objective c.

 

to learn html and css use codecademy.com

 

-------------

 

 

To learn objective c

 

Download the theos tutorials app from cydia and learn from here (THIS IS A MUST)

take the treehouse course

learn from codeschool

look at open source projects

and ask other devs  with any questions you have as you will learn a lot.

 

it takes time so don't worry if you don't understand at first and hope this helped guys  (y)

 

 

Happy coding ;)

 

 

  • Like 2
Posted

Download the theos tutorials app from cydia and learn from here (THIS IS A MUST)


take the treehouse course


learn from codeschool


look at open source projects


and ask other devs  with any questions you have as you will learn a lot.


 


 


I have not find any thing like that at cydia?/


Posted

I just noticed this!

 

Good share. :)

 

The Tweak.xm content needs to have proper spaces though because it'll be confusing for new people. ;)

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
  • Our picks

    • DRAGON BALL Z DOKKAN BATTLE Japan (ドラゴンボールZ ドッカンバトル) v6.2.5 +7 Cheats!
      Modded/Hacked App: ドラゴンボールZ ドッカンバトル By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcogames.BNGI0211
      iTunes Link: https://itunes.apple.com/jp/app/ドラゴンボールz-ドッカンバトル/id951627670


      Hack Features
      - Unlimited HP  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Damage  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Defense  -  (Put .0 at the back of your value: 1000.0)
      - Dice Hack -  [ONLY RANGE BETWEEN 1 - 6 or it will crash]  -  (Put .0 at the back of your value: 4.0)
      - Dice Hack 1, 2, 3
      - Dice Hack 4, 5, 6
      - Auto Win Battles -> Disable if you get errors.
      PUT .0 at the back of all values!
        • Like
      • 8,071 replies
    • Mushroom War: Evolution TD v1.16.2 [ +8 APK MOD ] Currency Max
      Mod APK Game Name: Mushroom War: Evolution TD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=rollingball.td.mushroom.warriors&hl=en

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food Speed
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 1 reply
    • Mushroom War: Evolution TD v1.2.0 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Mushroom War: Evolution TD By Hangzhou Rolling Technology Co., Ltd.
      Bundle ID: com.snowball.td.mushroom
      App Store Link: https://apps.apple.com/us/app/mushroom-war-evolution-td/id6761058966?uo=4

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 1 reply
    • Mushroom War: Evolution TD v1.2.0 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Mushroom War: Evolution TD By Hangzhou Rolling Technology Co., Ltd.
      Bundle ID: com.snowball.td.mushroom
      App Store Link: https://apps.apple.com/us/app/mushroom-war-evolution-td/id6761058966?uo=4

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 1 reply
    • Skull Hero : XP Farm RPG v0.0.1.6 [ +3 APK MOD ] ATK MAX
      Mod APK Game Name: Skull Hero : XP Farm RPG
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.horus.hero.xp.farm.rpg&hl=en

      🤩 Hack Features

      - ViP Active
      - Enough Gems
      - ATK MAX
      • 0 replies
    • Skull Hero : XP Farm RPG v0.1.0 [ +3 Cheats ] ATK MAX
      Modded/Hacked App: Skull Hero : XP Farm RPG By HORUS ENTERTAINMENT LIMITED
      Bundle ID: com.horusent.hero.xp.farm.rpg
      App Store Link: https://apps.apple.com/us/app/skull-hero-xp-farm-rpg/id6775685404?uo=4

      🤩 Hack Features

      - ViP Active
      - Enough Gems
      - ATK MAX
      • 1 reply
    • Skull Hero : XP Farm RPG v0.1.0 [ +3 Jailed ] ATK MAX
      Modded/Hacked App: Skull Hero : XP Farm RPG By HORUS ENTERTAINMENT LIMITED
      Bundle ID: com.horusent.hero.xp.farm.rpg
      App Store Link: https://apps.apple.com/us/app/skull-hero-xp-farm-rpg/id6775685404?uo=4

      🤩 Hack Features

      - ViP Active
      - Enough Gems
      - ATK MAX
      • 0 replies
    • Highway of the Dead v0.2.8 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Highway of the Dead
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.YsoCorp.HighwayoftheDead

      🤩 Hack Features

      - Currency Freeze
      - Currency Enough
      - Unlimited Coins
      - Unlimited EXP / Faster Level UP
      - ATK Max
      • 1 reply
    • Highway of the Dead v0.2.2 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Highway of the Dead By Yso Corp
      Bundle ID: com.YsoCorp.HighwayoftheDead
      App Store Link: https://apps.apple.com/us/app/highway-of-the-dead/id6759250268?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Currency Enough
      - Unlimited Coins
      - Unlimited EXP / Faster Level UP
      - ATK Max
      • 0 replies
    • Highway of the Dead v0.2.2 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Highway of the Dead By Yso Corp
      Bundle ID: com.YsoCorp.HighwayoftheDead
      App Store Link: https://apps.apple.com/us/app/highway-of-the-dead/id6759250268?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Currency Enough
      - Unlimited Coins
      - Unlimited EXP / Faster Level UP
      - ATK Max
      • 0 replies
    • Card Train v1.1.1 [ +7 APK MOD ] Currency Max
      Mod APK Game Name: Card Train
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kazrahann.cardtrain&ref

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HP Freeze
      - ATK Max
      • 1 reply
    • Mini Soccer Star 2026 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2026 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      App Store Link: https://apps.apple.com/us/app/mini-soccer-star-2026/id1636072966?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - Unlimited Skip Tickets -> Earn or spend some.
      -- VIP
      -- No Ads
      • 213 replies
×
  • 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