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

    • Secret Puzzle Society +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Secret Puzzle Society By Wildlife Studios, Inc
      Bundle ID: com.arizonags.puzzlesocietyalpha
      iTunes Store Link: https://apps.apple.com/us/app/secret-puzzle-society/id6449197556?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Clues -> Earn or spend some.
      - Unlimited Lives -> Earn or spend some.
      - Auto Win -> Use a move.


      Jailbreak required hack(s): [Mod Menu Hack] Secret Puzzle Society v1.6.3 +4 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 18 replies
    • SushiMon Defense +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: SushiMon Defense By Dreamplaygames Inc.
      Bundle ID: com.dreamplay.sushimonster.apple
      App Store Link: https://apps.apple.com/us/app/sushimon-defense/id6741675759?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Haha
        • Like
      • 6 replies
    • Tsuki's Odyssey +1 Jailed Cheat [ Unlimited Carrots ]
      Modded/Hacked App: Tsuki's Odyssey By HyperBeard Inc.
      Bundle ID: com.hyperbeard.odyssey
      iTunes Store Link: https://apps.apple.com/us/app/tsukis-odyssey/id1564146071
       

      Hack Features:
      - Unlimited Carrots -> Earn some.


      Jailbreak required hack(s): [Mod Menu Hack] Tsuki's Odyssey v1.2.61 +1 Cheat [ Unlimited Carrots ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 100 replies
    • Family Life! +3++ Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: Family Life! By SUPERSONIC STUDIOS LTD
      Bundle ID: com.xia.familylife
      iTunes Store Link: https://apps.apple.com/us/app/family-life/id6449919224?uo=4


      Hack Features:
      - Cheat Menu -> Head over to Settings and toggle the Privacy button.
      -- Life Pass Purchased
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Family Life! v1.0.32 +2++ Cheats [ Cheat Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 292 replies
    • RENT A HERO Z +2 Mods [ Damage + More ]
      Mod APK Game Name: RENT A HERO Z By LINE NEXT Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.linenext.rhz.aos

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
        • Winner
        • Like
      • 1 reply
    • Undying Hero: Idle RPG +3 Mods [ Damage + More ]
      Mod APK Game Name: Undying Hero: Idle RPG By SUPERBOX Inc
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.superpixel.undyinghero

       

      🤩 Hack Features

      - Damage Multiplier
      - One-Hit Kill
      - Freeze Currencies
        • Haha
        • Thanks
      • 0 replies
    • Project Requiem: Survival +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Project Requiem: Survival By Black Ice Software
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.Filip.Rudzinski.ProjectRequiem

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Project Requiem +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Project Requiem By Filip Rudzinski
      Bundle ID: com.Filip.Rudzinski.Project-Requiem
      App Store Link: https://apps.apple.com/us/app/project-requiem/id6773917070?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 0 replies
    • Steelborn: Tank Idle RPG +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Steelborn: Tank Idle RPG By SayGames LTD
      Bundle ID: com.playbrew.tanks
      App Store Link: https://apps.apple.com/us/app/steelborn-tank-idle-rpg/id6768921423?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      -- AutoCraft Speedup Enabled
        • Like
      • 2 replies
    • All in Hole: Black Hole Games +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: All in Hole: Black Hole Games By HOMA GAMES
      Bundle ID: com.homagames.studio.allinhole
      App Store Link: https://apps.apple.com/us/app/all-in-hole-black-hole-games/id6503284107?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      - Unlimited Lives
        • Informative
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Austin's Odyssey +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Austin's Odyssey By PLR Worldwide Sales Limited
      Bundle ID: com.plr.expeditionscapes
      App Store Link: https://apps.apple.com/us/app/austins-odyssey/id6740872037?uo=4

       


      🤩 Hack Features

      - Freeze Moves
        • Thanks
        • Like
      • 10 replies
    • Three Kingdom Offense +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Three Kingdom Offense By Stormborn Inc.
      Bundle ID: com.ngu.games.threekingdomoffense
      App Store Link: https://apps.apple.com/us/app/three-kingdom-offense/id6742766149?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Unlimited Food
      - No Soldier Cooldown
      - No General Cooldown
      - No Skill Cooldown
        • Informative
        • Haha
        • Winner
        • Like
      • 10 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