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

How to hook into a framework(CoreLocation) with Theos/Logos

Is it possible to hook into a framework, e.g. CoreLocation, so that all the apps that link to the framework see the patch? Currently I can hook into a specific app by the following steps: create a iphone/tweak in Theos set the bundle identifier to…
Wei Shi
  • 4,945
  • 8
  • 49
  • 73
3
votes
1 answer

Issue with class-dump-z "Fail to map * into memory"

I'm using the latest class-dump-z available. Followed this video: https://www.youtube.com/watch?v=HjFeYk_1HH4 iPhone-Pieter:~/dump root# cat class_info /* An exception was thrown while analyzing '/Applications/Calculator.app/' (with sysroot…
Pieter
  • 1,751
  • 3
  • 30
  • 65
3
votes
1 answer

How to use the value in PSLinkListCell in preference bundle?

I would like to make a preference bundle for my jailbreak tweak. I successfully made a preference bundle with a switch that works. But I would like a setting to choose color. Example: Blue Color > Yellow Green So if…
junyi00
  • 792
  • 3
  • 8
  • 28
3
votes
1 answer

Importing does not work

I am making a cydia tweak on Xcode using IOSOpenDev and i tried to import but i'm getting this error! 'AppKit/AppKit.h' file not found' This is my code which changes the flash color when someone tries to take a screenshot #include…
junyi00
  • 792
  • 3
  • 8
  • 28
3
votes
1 answer

theos libxml2: No such file or directory

I'm use theos write a tweak and need use libxml2. I had add LDFLAGS like this: widget_INSTALL_PATH = /Library/WeeLoader/Plugins/ widget_FRAMEWORKS = UIKit CoreGraphics widget_LDFLAGS = -lxml2 the code in my xxx.m #import…
justin
  • 175
  • 2
  • 14
2
votes
0 answers

How to write correctly MSHook and MSHookIvar

I'm doing a Tweak and i use Flex to edit some Obj-C but one of these i cant edit so, i think if i do a Tweak with MSHook can resolve this, BUT NO idk how to write correctly i'm new on this, i want to disable "shootCooldown" but idk if is posible, so…
2
votes
3 answers

objective-c adding UILabel to center

hi i'm begginer in objective-c and i want to learn how i can make UILabel in center of screen this is my code: XXRootViewController.h @interface XXRootViewController : UIViewController{ UILabel *title; } @end XXRootViewController.m #import…
aquan
  • 41
  • 4
2
votes
0 answers

Get incoming call number on iOS 10

I am trying to use private APIs to achieve this. These are the classes I know that can help, but responses to existing questions such as these don't work - Disconnect or connect an iPhone call programmatically Some of the classes have changed since…
mythosn
  • 21
  • 1
2
votes
1 answer

Theos not compiling with Arm64

I am trying to package a Jailbreak Tweak using Theos on Windows 8.1 (64bit). If I do not specify Arm64 it compiles fine and works on my iPhone 5. However not my 6s. The console says a big error which I don't understand. Any help trying to get this…
user3579312
2
votes
1 answer

Jailbreak app - Play a background music during phone call

I'm in the process of writing an jailbreak iPhone app that will play a background music during the call. Is there a way to play sounds or music in the background WHILE on a call so that the person can hear it too?
user2384310
  • 31
  • 1
  • 2
2
votes
0 answers

Does any know how to bypass entitlements in iOS 8?

As you aware that the famous _XPConnectionHasEntitlement has no longer works in iOS 8, is there anyother way to bypass the entitlements with the tweaks that requires entitlements? I come to know that _BSAuditTokenTaskHasEntitlement might solve the…
prathumca
  • 410
  • 8
  • 25
2
votes
0 answers

What is and how to fix the warning "missing required architecture arm64 in file" in iOS?

I've met a warning while learning to implement tweaks for jailbroken iOS with theos, in my trying, the warning disappeared if I remove arm64 from the ARCHS, but obviously arm64 can't be removed for supporting iPhone5s and above. Does anyone know why…
Suge
  • 2,808
  • 3
  • 48
  • 79
2
votes
1 answer

Theos inter-app communication using mach ports

I am trying to send data between an App and a console app (using theos) on iOS 8. I have tried: Application: CFMessagePortRef port = CFMessagePortCreateLocal(kCFAllocatorDefault, CFSTR("co.test"), &message_callback, NULL, NULL); This works fine.…
logikal
  • 1,123
  • 13
  • 26
2
votes
0 answers

Read message iOS tweak with theos

I'm trying to make an app which intercept and delete received messages with specific content. (The user might not read them). I found this code on iPhoneDevWiki : #import "RootViewController.h" @implementation RootViewController - (void)loadView { …
2
votes
1 answer

How can I link IOKit using theos?

I'm developing a tweak getting battery information using IOKit, but it fails to build. Undefined symbols for architecture armv7: "_IOPSCopyPowerSourcesInfo", referenced from: getBatteryPercent(int*) in PRJNAME.mm.3bb88719.o …
qbx2
  • 63
  • 1
  • 7
1 2
3
27 28