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
9
votes
1 answer

How do I add a subview to UIStatusBar in Theos?

I know it sounds like this question has a simple answer, but hear me out. Although UIStatusBar is a subclass of UIView, you can't use the addSubview method to add a subview to it because it doesn't use it. The same goes for UIStatusBarWindow.…
Artillect
  • 239
  • 1
  • 13
9
votes
4 answers

How to display image in toolbar using Objective-C

I have a toolbar with the code below; I would like to add an image that displays with "Tools" Called "toolsIcon.png". Below is my code: //BottomBar UIToolbar *toolbar = [[UIToolbar alloc] init]; toolbar.frame = CGRectMake(0,…
user4682708
9
votes
4 answers

dpkg error: contains ununderstood data member

I'm trying to install a jailbreak tweak using make package install but I'm receiving this error from dpkg: dpkg-deb: file `/tmp/_theos_install.deb' contains ununderstood data member data.tar.xz , giving up dpkg: error processing…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
8
votes
1 answer

How to start Jailbreak development

I am new to jailbreak development, but I have enough knowledge and experience of iOS development. I am really confused how to start coding for my idea. Moreover, I want to stick with Xcode for that. I have setup all necessary tools for jailbreaking;…
NightFury
  • 13,436
  • 6
  • 71
  • 120
7
votes
2 answers

How to include resource files in Theos makefile?

I made a fully functional tweak with theos and I need to use an image file in it , the code for getting the image is correct (tested on Xcode) . but the image isn't included in the final DEB file . and I have this makefile : SDKVERSION=6.0 include…
user1784069
  • 71
  • 1
  • 2
5
votes
0 answers

How to add third-party framework like SVProgressHUD into theos project

I would like to use SVProgressHUD (no matter .a or .framework) in my theos reverse engineering Project. I tried to put headers in /opt/theos/inlcude and put .framework file in /op/theos/lib and add EXTRA_FRAMEWORK += SVProgressHUD in makefile…
user5594175
5
votes
1 answer

How to add third party framework to mobile substrate tweak

I would like to add the iOS AWS framework, specifically S3 functionality, to a Mobile Substrate tweak that I am building. Unfortunately, I can't for the life of me figure out how to make it work. I have tried adding the following to my Makefile…
thiesdiggity
  • 1,897
  • 2
  • 18
  • 27
5
votes
1 answer

iOS Theos Hook and set ivar/property

I have the following class that I am hooking, I am trying to figure out how to hook and set m_proxyPort. I can read it without issue, but how about if I want to change it? There is a setter for the 3 NSString ivars, but theres no setter for…
d123
  • 1,497
  • 2
  • 12
  • 22
5
votes
0 answers

How to add subprojects to iOSOpenDev?

I have been making jailbreak tweak recently and have just been using a normal text editor for everything and then compiling and installing using a makefile(THEOS). I have tried using iOSOpenDev before but didn't like it because in my projects I…
Praxder
  • 2,315
  • 4
  • 32
  • 51
4
votes
1 answer

MobileSubstrate - checking which bundle an object is in

I'm making a MobileSubstrate plug-in which is supposed to: a) hook instance methods of a specific class/classes and b) do different things depending on the bundle ID of the application containing the object (which is an UIResponder subclass, to be…
user529758
4
votes
4 answers

iOS - Accessing filesystem outside sandbox on a jailbroken device

I'm developing an app using theos [application_swift] and would like to gain access to the filesystem, outside the sandbox. To my understanding, using the [application_swift] with theos should enable me to access files outside the sandbox, but I've…
gkpln3
  • 1,317
  • 10
  • 24
4
votes
0 answers

How to use theos extra framework?

Theos lists it supports Third party frameworks can be placed inside $THEOS/lib, and utilised with instance_EXTRA_FRAMEWORKS. (kirb) But I am not sure how to make it work or trouble shooting, can someone explain what's this for, and how to use it?…
Wingzero
  • 9,644
  • 10
  • 39
  • 80
4
votes
1 answer

IOTypes error OSTypes not found

I am using Theos and when I use Make Package, I get the error: In file included from /Users/jordan/welcomer/theos/include/IOKit/IOKitLib.h:49: /Users/jordan/welcomer/theos/include/IOKit/IOTypes.h:56:10: fatal error: 'libkern/OSTypes.h' file…
user2708570
  • 73
  • 1
  • 8
4
votes
1 answer

Making a Theos hook into a particular category of a class

Normally when you are making a tweak and you want to hook into a application you do something like this: %hook foo //code %end But now I have a @interface that has a weird name: @interface NSString (foo), and I have no idea how to hook into…
that guy
  • 404
  • 1
  • 7
  • 15
4
votes
1 answer

Hook home button press

What method should I hook to register a home button press? SpringBoard's menuButtonUp isn't working for me. All of the answers I have seen on this site so far are not helpful since this would be using the private API.
twodayslate
  • 2,803
  • 3
  • 27
  • 43
1
2 3
27 28