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
2
votes
0 answers

Add Fabric.framework with theos

Can you help me add Fabric.framework to theos. I want to use this Framework to folow logs or crash my tweak from Farbic. Add CoreMotion Framework With Theos Add Twitter.framework to Theos on iPhone Copy Fabric framework to Xcode in your Mac.…
caophuocthanh
  • 31
  • 1
  • 6
2
votes
1 answer

hook Music Player functions IOS 8

I'm trying to Theos/hook the endSeek function in music player when fast forward function is called, I'm in IOS 8.1 The problem is I never reach to the point where endSeek is called, I've set an alert whenever the function is called, but it never…
2
votes
2 answers

Show Control Centre and Notification Centre programmatically

How to show Control Centre and Notification Centre programmatically, for iOS 8?
Suu
  • 56
  • 4
2
votes
2 answers

How can I get UIButton to call target class and hook this method? (using theos to compile jailbreak tweak)

I am trying to put a UIButton into iPhones MobileSMS.app (messages app). It sucessfully appears in the view, but when you press it, it crashes of course because it is not calling any target class and hooking a method. The target class and method I…
2
votes
1 answer

How to declare member variable of subclass in Theos

For example, when I declare subclass of existing class, I can write as below in theos: %subclass NEWCLASS: EXISTINGCLASS - (void)overridemethod { //code } %new(v@:) - (void)newmethod { //code } %end But I don't know how to declare member or…
user3336535
2
votes
3 answers

Add matching style button/action

It's been over a year looking for an answer to this, How can you add matching-style button to the same area/handler for those buttons Do i need to re-style it to match Do i need to manually set position for the new button ? An example for cydia…
Osa
  • 1,922
  • 7
  • 30
  • 51
2
votes
1 answer

Pause all audio from the background - iOS Tweak

I am making a jailbroken iOS tweak and have a question. How can I stop all device audio while running from the background. Example: The user is playing Spotify and then clicks the power button on the device(turning off the screen and putting it to…
Praxder
  • 2,315
  • 4
  • 32
  • 51
2
votes
1 answer

linking springboard in iOS tweak

I'm trying to develop a simple ios tweak that uses some springboard components. I've dumped the headers and included the one I need (SBLockScreenNotificationScrollView.h), but when I compile I get a linker error: Undefined symbols for architecture…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
2
votes
2 answers

Which method is called when device is about to be unlocked?

I would like to know where the -(void)unlock (or whatever is called) used when we "slide to unlock" on the LockScreen is. Has anyone an idea ?
faku
  • 411
  • 4
  • 19
2
votes
1 answer

Creating a custom iOS Jailbreak keyboard

I have developed a custom input method and now would like to develop a tweak that would register it as a keyboard in iOS. There are many different keyboards in Cydia (mainly from Chinese developers) such as TouchPal and Baidu Input that appear in…
akasaka
  • 310
  • 1
  • 14
2
votes
1 answer

finding IOSurface headers

I'm getting this error when I try to compile my tweak. 'IOSurface/IOSurfaceAPI.h' file not found #include I've tried this answer, but I can't find /System/Library/Frameworks/IOSurface.framework/Headers on my computer.…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
2
votes
1 answer

THEOS compiling error on simple tweak

I've been using Flex to create patches for iOS 7 and decided I'd try creating a dedicated Cydia Tweak. Starting off simple I decided to update a tweak for no icon badges for iOS 7. My Tweak.xm file looks like this #import %hook…
Carlos Perez
  • 122
  • 2
  • 12
2
votes
2 answers

(iOS, TheOS) %hook into global app function

I am looking for a global function for apps in iOS 7. More specifically, I want to injected code into the app(s) upon launch, which will only effect the app, and not the SpringBoard. I have tried a couple of things but they only affect the…
Aleksander Azizi
  • 9,829
  • 9
  • 59
  • 87
2
votes
2 answers

Getting mail-message contents in iOS6

I am trying to get the contents (specifically the from field) of a mail message given a BBBulletin. Code: https://ghostbin.com/paste/2gbej Log: https://ghostbin.com/paste/aun4c I can get the specific external id and the library id. Given the…
twodayslate
  • 2,803
  • 3
  • 27
  • 43
2
votes
2 answers

Assertion failure in -[NSIndexPath row] with AppList dataSource

See update below. I'm writing a tweak and am using AppList. I am hooking into spotlight and creating a table off all installed applications. I am trying to use the dataSource to get the information (display identifier etc). The problem is if…
twodayslate
  • 2,803
  • 3
  • 27
  • 43