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

    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 0 replies
    • Rise & Loot: Idle Hero RPG v1.1.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Rise & Loot: Idle Hero RPG By Ngoc Minh Le
      Bundle ID: com.riseloop.idlerpg
      App Store Link: https://apps.apple.com/us/app/rise-loot-idle-hero-rpg/id6821365929?uo=4

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      ===== VIP =====
      - Skip Ads
      - Add Currency
      - Max Damage
      - Multi Attack x5
      - Always Exotic Loot
      - Sale Value x1000
      - Money Multiplier
      - Free Shopping / Not IAP
      - Battle Speed x3
      - Unlock All Realms
      - God Roll Gear
      - Best Card Picks
      - Daily Reward Always Ready
      • 1 reply
    • Stick Fight: Evolution v1.0.6 [ +22 Cheats ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Stick Fight: Evolution v1.0.6 [ +22 Jailed ] Currency Max
      Modded/Hacked App: Stick Fight: Evolution By Ngoc Minh Le
      Bundle ID: com.min001.stickman.warrior.evolution.age
      App Store Link: https://apps.apple.com/us/app/stick-fight-evolution/id6747939675?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      ===== VIP =====
      - Auto Win
      - Skip Ads
      - Game Speed
      - Unlimited Battle Food
      - Cheat Panel +15
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4
       

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Geometry Cannon : Idle Defense v1.4.4 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Geometry Cannon : Idle Defense By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.idledefense
      App Store Link: https://apps.apple.com/us/app/geometry-cannon-idle-defense/id6742388718?uo=4

      🤩 Hack Features

      - Gold Pass
      - Silver Pass
      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      - Game Speed
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Neon Castle: Idle TD RPG v1.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Neon Castle: Idle TD RPG By Mert Can Diker
      Bundle ID: com.medu.neon.castledefense.idlerpg.ios
      App Store Link: https://apps.apple.com/us/app/neon-castle-idle-td-rpg/id6748567934?uo=4

      🤩 Hack Features

      - Add Currency
      - Never Die
      - Max Damage
      - Kill All Enemies
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Endless Defense: Idle Tower v0.2.13 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Endless Defense: Idle Tower By MAD PIXEL GAMES LTD
      Bundle ID: battle.castle.clash.wave
      App Store Link: https://apps.apple.com/us/app/endless-defense-idle-tower/id6740865987?uo=4
       

      🤩 Hack Features

      - Ads No
      - Add Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Fishing Inc: Legendary Catch +10 Jailed Cheats [ Unlimited Money ]
      Modded/Hacked App: Fishing Inc: Legendary Catch By Snapbreak Games AB
      Bundle ID: com.snapbreak.fishinginc
      App Store Link: https://apps.apple.com/us/app/fishing-inc-legendary-catch/id6770534658?uo=4

       


      🤩 Hack Features

      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Casts
      - One-Click Catch
      - Always Perfect Catch
      - Unlock All Fish
      - Complete All Achievements
      - Trigger Kraken Event
      -- No Ads
      -- Deluxe Bundle Purchased
      • 2 replies
    • Grave Dividend +10 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grave Dividend By ByteBrew IT LLC
      Bundle ID: com.bytebrewit.gravedividend
      App Store Link: https://apps.apple.com/us/app/grave-dividend/id6797710902?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Freeze Enemies
      - Freeze Currencies
      - Unlimited Currencies
      - Unlimited Currencies v2 -> Will increase instead of decrease.
      - Kill All Enemies
      -- No Ads
      • 1 reply
×
  • 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