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

    • Tap Titans 2 - Hero Legends Cheats (Auto Update) +9
      Modded/Hacked App: Tap Titans 2 - Hero Legends By Game Hive Corporation
      Bundle ID: com.gamehivecorp.taptitans2
      iTunes Store Link: https://apps.apple.com/us/app/tap-titans-2-hero-legends/id1120294802?uo=4


      Hack Features:
      - Free Level Up
      - Free Skill Upgrades
      - Free Hired Heroes Upgrades
      - Skills Cost 0 Mana To Use
      - No Skill Cooldown
      - Skip Waves - Each Kill acts like the boss so it takes you to next stage instantly no need for waves to move on to next stage
      - Monsters Have Low HP - kill faster
      - Collect Ad Rewards Without Having to Watch Videos


      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/
      • 527 replies
    • Great Conqueror: Rome +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror: Rome By 悦 张
      Bundle ID: com.zhangyue.rome
      App Store Link: https://apps.apple.com/us/app/great-conqueror-rome/id1462722690?uo=4

       


      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Medals -> Earn or spend some.
      • 7 replies
    • Great Conqueror 2: Shogun +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Great Conqueror 2: Shogun By 悦 张
      Bundle ID: com.zhangyue.shogun
      App Store Link: https://apps.apple.com/us/app/great-conqueror-2-shogun/id6463077055?uo=4

       
       

      🤩 Hack Features

      - Unlimited Gold -> Earn or spend some then re-launch the game.
      - Unlimited Medals -> Earn or spend some then re-launch the game.

      Note - Disable your internet before opening the game otherwise you'll be banned.
      • 23 replies
    • Merge Village : Story & Puzzle v1.2.11 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Village : Merge Game By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.merge
      App Store Link: https://apps.apple.com/ph/app/merge-village-merge-game/id6499426750?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 4 replies
    • Merge Village : Story & Puzzle v1.2.11 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge Village : Merge Game By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.merge
      App Store Link: https://apps.apple.com/ph/app/merge-village-merge-game/id6499426750?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 3 replies
    • Harekat 2 : Online +3 Jailed Cheats [ God Mode ]
      Modded/Hacked App: Harekat 2 : Online By DEVLAPS YAZILIM TEKNOLOJI TICARET VE PAZARLAMA LIMITED SIRKETI
      Bundle ID: com.devlaps.harekat2
      iTunes Store Link: https://apps.apple.com/us/app/harekat-2-online/id6477324341?uo=4


      Hack Features:
      - God Mode
      - Unlimited Ammo -> Will not decrease.
      - Unlimited Stamina -> Will decrease but can still use.


      Jailbreak required hack(s): [Mod Menu Hack] Harekat 2 : Online v0.4.2 +3 Cheats [ Defence ] - 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/
      • 60 replies
    • BagMaster Isekai – Bag Battle +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: BagMaster Isekai – Bag Battle By SayGames LTD
      Bundle ID: com.DoorTeam.BagMaster
      App Store Link: https://apps.apple.com/us/app/bagmaster-isekai-bag-battle/id6760184819?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Auto Win -> Hit or be hit.
      • 0 replies
    • Harvest King v10.1 [ +3 Cheats ] Currency Freeze
      Modded/Hacked App: Harvest King By SEMRUK OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.semruk.harvestking
      App Store Link: https://apps.apple.com/us/app/harvest-king/id6752251959?uo=4

      🤩 Hack Features

      - Speed 2X Active
      - Currency Freeze
      - Currency / No Need Buy Anything / Not IAP
      • 3 replies
    • Harvest King v10.1 [ +3 Jailed ] Currency Freeze
      Modded/Hacked App: Harvest King By SEMRUK OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.semruk.harvestking
      App Store Link: https://apps.apple.com/us/app/harvest-king/id6752251959?uo=4

      🤩 Hack Features

      - Speed 2X Active
      - Currency Freeze
      - Currency / No Need Buy Anything / Not IAP
      • 4 replies
    • Wicked Defense v1.0.13 [ +8 Cheats ] Never Die
      Modded/Hacked App: Wicked Defense By SuperPlanet corp.
      Bundle ID: com.superplanet.defense
      App Store Link: https://apps.apple.com/ph/app/wicked-defense/id6748435197?uo=4
      🤩 Hack Features

      Enemy Stats
      - ATK 0
      - HP 0
      - DEF 0
      - CRITICAL 0
      - ATK SPEED 0
      - MOVE SPEED 99
      - ATK RANGE 0
      • 5 replies
    • Wicked Defense v1.0.13 [ +8 Jailed ] Never Die
      Modded/Hacked App: Wicked Defense By SuperPlanet corp.
      Bundle ID: com.superplanet.defense
      App Store Link: https://apps.apple.com/ph/app/wicked-defense/id6748435197?uo=4
       
      🤩 Hack Features

      Enemy Stats
      - ATK 0
      - HP 0
      - DEF 0
      - CRITICAL 0
      - ATK SPEED 0
      - MOVE SPEED 99
      - ATK RANGE 0
      • 2 replies
    • Urban Heat: FPS +7 Jailed Cheats [ Mega Hack ]
      Modded/Hacked App: Urban Heat: FPS By Oneup Games LTD
      Bundle ID: gg.oneupgames.ggclient
      App Store Link: https://apps.apple.com/us/app/urban-heat-fps/id1611003698?uo=4

       

      🤩 Hack Features

      - No Recoil
      - No Spread
      - Instant Reload
      - Instant Weapon Swap

      VIP
      - Freeze Ammo
      - Rapid Fire
      - Move Speed Multiplier
      • 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