Questions tagged [theos]

Theos is a cross-platform suite of development tools for managing, developing, and deploying iOS software without the use of Xcode. This tag might also refer to an operating system originally authored in the 1970's.

Theos is a cross-platform suite of development tools for managing, developing, and deploying iOS software without the use of Xcode. It is community-driven and managed. One popular way of using it is to patch/modify system or non-system applications, where such modifications are popularly known as tweaks. Tweaks can be used in ways comparable to tools like frida and mobile substrate in jailbroken devices. In fact, Theos uses the capabilities of mobile substrate as the engine powering tweaks, but provides templates, tools and the Logos syntax, to make tweak development more convenient. Theos can be used directly on iOS devices to build tweaks, on or MacOS, e.g., to build the tweaks and package them in .deb packages that can be installed on iOS devices.

409 questions
4
votes
6 answers

Theos for armv7 and arm64

I'm trying to get theos working on OSX Mavericks. I recently purchased an iPhone 5s and have since then jailbroken it. Now I am trying to get Theos working so I can start working on some tweaks again. I had it working on OSX Lion and for IOS 5 and…
user3163990
  • 39
  • 1
  • 5
4
votes
1 answer

How can I create a custom property in theos/logos?

Would it be possible to create a custom property in a hooked method using theos/logos? example: //define my custom property @interface SBAwayController : NSObject { UIView *myCustomView; } @property (nonatomic, retain) UIView…
jacob
  • 3,507
  • 2
  • 21
  • 26
4
votes
2 answers

Get Application Icon Image From Springboard (Jailbreak)

I'm developing a lockscreen application using theos and part of the functionality requires icon images of certain applications on the phone. How can I go about getting those icon images and displaying them on the lockscreen of the phone? I've tried…
jacob
  • 3,507
  • 2
  • 21
  • 26
4
votes
2 answers

Enable ARC for theos build system

I'm currently using the theos build system to write applications and tweaks for jailbroken iPhones. Is there a way for me to enable automatic reference counting for specific projects with theos? I've Googled and tried to decipher the theos…
drewmm
  • 737
  • 6
  • 17
3
votes
1 answer

What's the meaning of LDFLAGS: -Wl,-segalign,4000

So I came across a cydia update notes: 0.9.6010 fixes the 32-bit armv7 slice, which was keeping extensions from loading into Cydia. (Note that, additionally, all 32-bit binaries, in particular extensions, must be recompiled using -WI,-segalign,4000…
Wingzero
  • 9,644
  • 10
  • 39
  • 80
3
votes
1 answer

Symbol redefinition error between libxml2 and theos

I am using libxml2 in a tweak, but I get a symbol redefinition error. Looks like some DataAccess-structs.h from theos uses the same xmlNode struct similar to libxml. Since, both of these are shared libraries that maybe used by other applications, I…
Antony Thomas
  • 3,576
  • 2
  • 34
  • 40
3
votes
2 answers

How to analyze iOS Application to make tweaks in theos

I'm tring to make tweak in Theos. Thanks to many good tutorials, I am now able to make some simple tweak by myself. But it doesn't always go well. To make tweak, first I need to use utility called "class dump" to get application headers. Second, by…
user3336535
3
votes
1 answer

How to assign Activator action from the Settings Pane

I'm following this guide http://www.iphonedevwiki.net/index.php/Libactivator to change activation method from the Settings Pane (Settings application). It doesn't work. But I change activation method via Activator (download and install from Cydia…
Minh Quy
  • 655
  • 5
  • 21
3
votes
1 answer

Theos: How to hook a method with a block argument? (CDUnknownBlockType)

%hook HTTPClient - (CDUnknownBlockType)completionForSuccess:(CDUnknownBlockType)arg1 { } %end I am wondering what to place in place of CDUnknownBlockType here (generated from class-dump). I do not know the arguments to the block so I cannot put the…
Tatsh
  • 2,780
  • 1
  • 20
  • 23
3
votes
1 answer

Using bundle resource in mobilesubtrate tweak

I am trying to make a tweak which uses plist file to save some data. But the app crashes during launch. Tweak.xm: #define hackBundlePath @"/Library/MobileSubstrate/DynamicLibraries/testBundle.bundle" NSMutableDictionary *modsDict =…
junyi00
  • 792
  • 3
  • 8
  • 28
3
votes
1 answer

Theos tweak works on iPhone 5s but not on iPad 3

Few days ago I wrote a tweak that hooks ASIdentifierManager advertisingIdentifier Here is my Tweak.xm: #import %hook ASIdentifierManager -(NSUUID*)advertisingIdentifier { //id result = %orig; //%log; …
Yegor Razumovsky
  • 902
  • 2
  • 9
  • 26
3
votes
0 answers

Cocos2D using Theos

I'm currently trying to build an app with Cocos2D and Theos but without success. I have a Jailbroken iPhone 4S (iOS 7.0.4) with : SDK 7.0 Clang LLVM LD64 but do not have a Mac. When I run the make command, it prints a lot of errors : Making all…
3
votes
2 answers

Strange behavior on 64bit iOS devices when retrieving vm statistics

I made a tweak that shows free ram inside hooked SpringBoard method. I am using this code: mach_port_t host_port; mach_msg_type_number_t host_size; vm_size_t pagesize; host_port = mach_host_self(); host_size =…
user1855732
  • 219
  • 1
  • 9
3
votes
2 answers

Starting app on text message receive using theos tweak

I'm trying to start an app if I receive an text message from an special sender. Currently my Tweak.xm looks like this: #import #import #import #import #import…
PatrickPirker
  • 359
  • 3
  • 15
3
votes
1 answer

Theos tweak MSHookFunction

I followed http://brandontreb.com/beginning-jailbroken-ios-development-building-and-deployment to make a tweak. but after i done successfully with the helloworld tweak. I hook the fopen using MSHookFunction and then i meet a linking error Making…
1
2
3
27 28