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

    • Nonstop Knight 2 Cheats v3.3.0 +7 [ God Mode & More ]
      Modded/Hacked App: Nonstop Knight 2 - Action RPG By Flaregames GmbH
      Bundle ID: com.koplagames.kopla02
      iTunes Store Link: https://apps.apple.com/us/app/nonstop-knight-2-action-rpg/id1444887980?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode
      - One Hit Kill
      - Custom Move Speed
      - Custom Attack Speed
      - Custom Attack Range
      - Instant Skill
      - Infinite MP

       

      Non-Jailbroken Hack: https://iosgods.com/topic/99785-nonstop-knight-2-v323-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/99783-nonstop-knight-2-cheats-v324-7-god-mode-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,610 replies
    • MARVEL Contest of Champions v52.1.0 +11++ Amazing Cheats!
      Modded/Hacked App: MARVEL Contest of Champions By Kabam
      Bundle ID: com.kabam.marvelbattle
      iTunes Link: https://itunes.apple.com/us/app/marvel-contest-of-champions/id896112560?mt=8&uo=4&at=1010lce4


      Hack Features
      - Enemy/AI Doesn't Attack
      - Special Attack/Skill Always Available
      - No Knockbacks When Hit
      - No Knockdowns When Hit
      - Enemy Doesn't Block
      - Auto Win - Whoever Attacks first, loses. Disable AI Doesn't Attack for this to work.
      - One Hit Kill / High Damage - Linked. Attack first or use with Enemy Doesn't Attack.

      Non-Jailbroken version of this hack: https://iosgods.com/topic/44075-marvel-contest-of-champions-v1311-2-cheats-for-jailed-devices/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,522 replies
    • Ultimate Golf! v4.23.01 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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
      • 182 replies
    • Ultimate Golf! v4.23.01 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
      • 298 replies
    • Creatures of the Deep v2.93 +6 Jailed Cheats [ VIP + More ]
      Modded/Hacked App: Creatures of the Deep By Infinite Dreams
      Bundle ID: pl.idreams.cotd
      iTunes Store Link: https://apps.apple.com/us/app/creatures-of-the-deep/id1556204048?uo=4


      Hack Features:
      - VIP
      - Alpha User
      - Free Lottery Spin
      - 100 Inventory Size
      - Negative Upgrade Cost
      - 0 Upgrade Cost


      Jailbreak required hack(s): [Mod Menu Hack] Creatures of the Deep v2.33 +6 Cheats [ VIP + More ] - 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
      • 105 replies
    • Creatures of the Deep v2.93 +6 Cheats [ VIP + More ]
      Modded/Hacked App: Creatures of the Deep By Infinite Dreams
      Bundle ID: pl.idreams.cotd
      iTunes Store Link: https://apps.apple.com/us/app/creatures-of-the-deep/id1556204048?uo=4


      Hack Features:
      - VIP
      - Alpha User
      - Free Lottery Spin
      - 100 Inventory Size
      - Negative Upgrade Cost
      - 0 Upgrade Cost


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Creatures of the Deep v2.33 +6 Jailed Cheats [ VIP + More ] - Free Non-Jailbroken IPA 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
      • 40 replies
    • eFootball™ v10.0.1 +3 Cheats [ Dumb AI ]
      Modded/Hacked App: eFootball™ 2023 By KONAMI
      Bundle ID: jp.konami.pesactionmobile
      iTunes Store Link: https://apps.apple.com/us/app/efootball-2023/id1117270703


      Hack Features:
      - Dumb ai 50% 99% (use either one)
      - No pass (turn off when enemy kick)
      - No catch (dumb goalie)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
      • 617 replies
    • Barbie™ Merge Mystery v54 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Barbie™ Merge Mystery By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.barbiemerge
      iTunes Store Link: https://apps.apple.com/ph/app/barbie-merge-mystery/id6736395270?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
        • Thanks
        • Like
      • 6 replies
    • Adorable Garden v1.2.3 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Adorable Garden By Skyborne Games Inc
      Bundle ID: com.skybornegames.adorablegarden
      iTunes Store Link: https://apps.apple.com/us/app/adorable-garden/id6503631437?uo=4

       


      🤩 Hack Features

      - Freeze Currencies
        • Informative
        • Haha
        • Thanks
        • Like
      • 4 replies
    • Adorable Garden v1.2.3 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Adorable Garden By Skyborne Games Inc
      Bundle ID: com.skybornegames.adorablegarden
      iTunes Store Link: https://apps.apple.com/us/app/adorable-garden/id6503631437?uo=4

       
       

      🤩 Hack Features

      - Freeze Currencies
        • Informative
        • Winner
      • 2 replies
    • Barbie™ Merge Mystery v54 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Barbie™ Merge Mystery By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.barbiemerge
      iTunes Store Link: https://apps.apple.com/ph/app/barbie-merge-mystery/id6736395270?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
        • Like
      • 4 replies
    • Grimguard Tactics: Fantasy RPG v1.17.1 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Jailbreak required hack(s): [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - ViP 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/
        • Agree
        • Like
      • 131 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