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

Good tutorial, but isn't there a tutorial of this before?

Posted

Good tutorial, but isn't there a tutorial of this before?

There might have been but I just wanted people to also know how to learn objective c :)

Posted

There might have been but I just wanted people to also know how to learn objective c :)

Alright (y)

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. ;)

Posted

i get:

 

var/mobile/firsttweak/theos/makefiles/targets/Darwin-arm/iphone.mk:21: *** first argument to `word' function must be greater than 0.  Stop.

 

What should i do?

 

Thanks in advance,

Divridz :D

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

    • First Team Manager 2027 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: First Team Manager 2027 By Go Play Games Ltd
      Bundle ID: com.GoPlayGames.FirstTeamManager2027
      App Store Link: https://apps.apple.com/us/app/first-team-manager-2027/id6763239887?uo=4

       

      🤩 Hack Features

      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      - VIP Enabled
      - Unlock All Agents
      • 0 replies
    • Waltz of the Wizard +1 Mod [ Full Game Unlocked ]
      Mod APK Game Name: Waltz of the Wizard By Aldin Dynamics
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.Aldin.WotW

       

      🤩 Hack Features

      -- Full Game Unlocked
      • 0 replies
    • Waltz of the Wizard +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Waltz of the Wizard By Aldin Dynamics, ehf.
      Bundle ID: com.aldin.wotw
      App Store Link: https://apps.apple.com/us/app/waltz-of-the-wizard/id6742191553?uo=4

       

      🤩 Hack Features

      -- Full Game Unlocked
      • 0 replies
    • Zombie Assault: Resurgence +13 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Zombie Assault: Resurgence By Ninja Kiwi Limited
      Bundle ID: com.ninjakiwi.zombieassault
      App Store Link: https://apps.apple.com/us/app/zombie-assault-resurgence/id6754094013?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Unlimited Ammo
      - Unlimited Deployables
      - Fire Rate Modifier
      - No Skill Cooldown
      - Field of View Modifier

      VIP
      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      - Strongbox Loot Quality
      - Unlimited Skill Points
        • Like
      • 5 replies
    • Warhammer Survivors +9 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Warhammer Survivors By Auroch Digital Ltd
      Bundle ID: com.AurochDigital.WarhammerSurvivors
      App Store Link: https://apps.apple.com/us/app/warhammer-survivors/id6752607219?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - XP Multiplier
      - Freeze Enemies
      - Kill All Enemies
      - No Skill Cooldown
      - Unlimited Coins -> Earn or spend some.
        • Thanks
        • Like
      • 3 replies
    • EvoCreo 2: Monster Trainer RPG +10 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: EvoCreo 2: Monster Trainer RPG By Ilmfinity Studios LLC
      Bundle ID: com.ilmfinity.evocreo2
      iTunes Store Link: https://apps.apple.com/us/app/evocreo-2-monster-trainer-rpg/id1499001662?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Money -> Will increase instead of decrease.
      - Unlimited Skill Points
      - Unlimited Bag Items -> Will increase instead of decrease.
      - Prestige Cleo Allowed
      - Max Creo Level -> Earn some XP.
      - Free In-App Purchases
      - Unlock All Achievements/Badges
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 81 replies
    • Plants vs. Zombies™ 3: Evolved +14 Mods [ Damage & Defence ]
      Mod APK Game Name: Plants vs. Zombies™ 3: Evolved By ELECTRONIC ARTS
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ea.gp.pvzn3xt

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Zombie Move Speed Multiplier
      - Score Multiplier
      - Game Speed Multiplier
      - Never Fail
      - Freeze Enemies
      - Auto Win
      - No Plant Cooldown
      - Sun Multiplier
      - Unlimited Sun
      - Instant Plant Growth
      -- No Ads
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 31 replies
    • Plants vs. Zombies™ 3: Evolved +14 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Plants vs. Zombies™ 3: Evolved By Electronic Arts
      Bundle ID: com.ea.ios.pvzn3xt
      iTunes Store Link: https://apps.apple.com/gb/app/plants-vs-zombies-3-evolved/id1666636976

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Zombie Move Speed Multiplier
      - Score Multiplier
      - Game Speed Multiplier
      - Never Fail
      - Freeze Enemies
      - Auto Win
      - No Plant Cooldown
      - Sun Multiplier
      - Unlimited Sun
      - Instant Plant Growth
      -- No Ads
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 326 replies
    • Snowbound Adventure +1++ Jailed Cheat [ Unlimited Moves ]
      Modded/Hacked App: Snowbound Adventure By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.frozenpeak
      App Store Link: https://apps.apple.com/us/app/snowbound-adventure/id6820001197?uo=4

       


      🤩 Hack Features

      - Move Count Modifier -> set moves to a high value to gain unlimited coins upon level completion, unlocking unlimited lives and energy.
      • 0 replies
    • My Talking Tom Friends 2 v26.5 [ +3 Cheats ] Currency Max
      Modded/Hacked App: My Talking Tom Friends 2 By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingtomfriends2
      App Store Link: https://apps.apple.com/us/app/my-talking-tom-friends-2/id6737511163?uo=4


      🤩 Hack Features

      - Coins
      - Food
      - 
        • Agree
        • Thanks
        • Like
      • 6 replies
    • Smash Kingdom : Action Defense v1.7.6 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Smash Kingdom : Action Defense By playhard Inc.,
      Bundle ID: com.playhardlab.smashkingdom.ios
      App Store Link: https://apps.apple.com/us/app/smash-kingdom-action-defense/id1544748752?uo=4

      🤩 Hack Features

      - Add All Currency
      - Infinite Battle Mana
      - Kill All Enemies
      • 0 replies
    • Smash Kingdom : Action Defense v1.7.6 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Smash Kingdom : Action Defense By playhard Inc.,
      Bundle ID: com.playhardlab.smashkingdom.ios
      App Store Link: https://apps.apple.com/us/app/smash-kingdom-action-defense/id1544748752?uo=4

      🤩 Hack Features

      - Add All Currency
      - Infinite Battle Mana
      - Kill All Enemies
      • 0 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