Jump to content

How to create your first cydia tweak without pc using Theos.


XxTotoTroniiKxX

7 posts in this topic

Recommended Posts

Updated

We are going to create a easy/basic substrate tweak that will show a popup after that the Springboard has respring.

 

1) Open the terminal app and type in "su"

 

2) Put your password (The default password is "alpine")

 

3) Now we need to run theos's menu so we need to type in "/var/theos/bin/nic.pl". The result will be this 

image.png

 

4) Now we need to choose the number "5" to create your tweak.

 

5) Select a name for your tweak in this case "reddittweak" and press return

 

6) Tap return till "done" will appear

 

7) Result should be like this ->

 

image.png

 

8) Ok, your tweak has been succesfully created. Open up iFile and go to "/var/mobile". Now your tweak's folder shuld be here, look for it and open that folder

 

9) Your folder should have this files "Makefile, Tweak.xm, Control, RedditTweak.plist and other folders"

 

10) Now we need to add the support for 64-bit devices so open the "Makefile" file and at the top of the file type "ARCHS = armv7 arm64". Under the line "reddittweak_FILES = Tweak.xm" add this " reddittweak_FRAMEWORKS = UIKit". The result will be this ->

image.png

. Now tap "Save" and than "Done"

 

11) Open the file "Tweak.xm" and delete all.

 

12) After that paste this code inside the "Tweak.xm" "//Here, using Logos's 'hook' construct to access the SpringBoard class. 'Hooking' basically means we want to access this class and modify the methods inside it. %hook SpringBoard

//Now that logos knows we want to hook the header SpringBoard, we can directly 'hijack' SpringBoard's methods and modify them to run out own code instead of their original code.

//In this example, we are hijacking the method - (void)applicationDidFinishLaunching and making it run our own code. This method takes an argument, (id)application, however, you can rename the argument anything you'd like, such as (id)testName. -(void)applicationDidFinishLaunching:(id)application {

//Before we do anything, let's call the original method so SpringBoard knows what to do when it finishes launching. '%orig' basically means 'do whatever you were going to do before I got here'.
%orig;


//Now that SpringBoard has finished launching and everything turned out okay, let's make a UIAlertView to tell us that it finished respringing.
UIAlertView *alert1 = [[UIAlertView alloc] initWithTitle:@"Welcome"
    message:@"Respring eseguito!"
    delegate:self
    cancelButtonTitle:@"Ok"
    otherButtonTitles:nil];
//Now show that alert
[alert1 show];
//And release it. We don't want any memory leaks 
[alert1 release];

} //This lets logos know we're done hooking this header. %end". Type "Save" than "Done"

 

13) Now we need to open the terminal app and than move to the tweak's directory, so type in "cd /var/mobile/reddittweak" than tap return

 

14) Now type in "make package install" and the result will me something similar to this -

image.png

 

15) So now we have finished the tweak, but we still need to install it so go back to iFile and you will see something like this ->

image.png

 

16) Open the "_" folder, "Library", "MobileSubstrate", DynamicLibraries", tap edit and copy the two files.

 

17) Navigate to "/Library/MobileSubstrate/DynamicLibraries" and paste the files here

 

18) Now respring your device and the popup will appear! ->

 

image.png

 

 

Credits:ThatsNico99

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Matching Story v1.58.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
      • 92 replies
    • Matching Story v1.58.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 89 replies
    • Element War : Merge Games v0.2 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Element War : Merge Games By Gamify Studio FZ-LLC
      Bundle ID: com.gamifystudio.elementalbattle
      App Store Link: https://apps.apple.com/nz/app/element-war-merge-games/id6753741421?uo=4

      🤩 Hack Features

      - Unlimited Coins
      • 0 replies
    • Element War : Merge Games v0.2 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Element War : Merge Games By Gamify Studio FZ-LLC
      Bundle ID: com.gamifystudio.elementalbattle
      App Store Link: https://apps.apple.com/nz/app/element-war-merge-games/id6753741421?uo=4

      🤩 Hack Features

      - Unlimited Coins
      • 1 reply
    • Last Legion: Tower Defense TD v1.1.2 [ +13 APK MOD ] Currency Max
      Mod APK Game Name: Last Legion: Tower Defense TD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=last.legion.tower.defense.survival.war.fortress.idle.td&hl=en
      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 0 replies
    • SimCity BuildIt Cheats v1.74.1 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 727 replies
    • Last Legion: Tower Defense TD v1.1.3 [ +13 Cheats ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 9 replies
    • Last Legion: Tower Defense TD v1.1.3 [ +13 Jailed ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 11 replies
    • Miner Fighters ! v3.1.1 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
        • Like
      • 8 replies
    • Miner Fighters ! v3.1.1 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
      • 10 replies
    • Tower Defense Rumble v7424 [ +10 Cheats ] Easy Win
      Modded/Hacked App: Tower Defense Rumble By DU-EON YOO
      Bundle ID: com.i.dfr
      App Store Link: https://apps.apple.com/ph/app/tower-defense-rumble/id6738600584?uo=4

      🤩 Hack Features

      - Always Last Wave / Easy Win
      Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      Base Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      - ATK Speed
      • 5 replies
    • Dice Lords v1.4 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
      • 17 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