Questions tagged [cydia-substrate]

Cydia Substrate is a framework that allows third party developers to provide run-time patches to system functions on mobile devices.

Cydia Substrate (formerly Mobile Substrate) is a framework developed by SaurikIT, LLC that allows third party developers to provide run-time patches to system functions on mobile devices. ON iOS devices, it also allows third party developers to hook non-system functions, e.g., objective C or swift methods, and replace them with alternative logic. It may be used in conjunction with frameworks like Theos (on iOS devices) for easier syntax, compiling, packaging and distribution.

Cydia Substrate is currently supported on jailbroken iOS and rooted Android devices.

Read more:

120 questions
0
votes
2 answers

Add icon to SBSearchTableViewCell

I am trying to add an icon to a SBSearchTableViewCell. I was adding a subview on top of the cell but that still left a border, and the text was underneath the icon. http://i.imgur.com/tGqWaEa.png I tried hooking into -[SBSearchModel…
twodayslate
  • 2,803
  • 3
  • 27
  • 43
0
votes
1 answer

MobileSubstrate game hacking on iphone

I am practicing mobilesubstrate hacking on the game Kingdom Age (v2.0) for ipad. I just want to make a ton of in-game money, but I am getting nowhere. The player is defined in a class, CCPlayer and is sometimes server checked. So I am trying to get…
0
votes
2 answers

Mobilesubstrate: Create a tweak to hook into another tweak or dylib

Is it possible to create a tweak to hook into another existing tweak?
Kmd
  • 337
  • 2
  • 5
  • 18
0
votes
1 answer

sqlite3_open implementation changed in iOS 6

I used Cydia Substrate to hook a set of C file IO functions: open, read, write, pread, pwrite, lseek... I found that sqlite3 implementation in iOS 4 and 5 does actually call open function to get a file descriptor from the db file. The file…
Krypton
  • 3,337
  • 5
  • 32
  • 52
0
votes
0 answers

How to write GUI in the tweak program of iOS?

Wen can write the GUI of app with nib,storyboard,or code in the common legal project that can be summitted to the AppStore.But in the tweak of iOS open development, usually we write the .xm code to hook or do anything else to implement some…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
0 answers

How to capture all the events sent to the system on iOS?

I want to capture all the human interface devices events that are come from users' operations, such as touch inside, touch move, shake... I know it's a good method to use MobileSubstrate to hook on the ways of the events, but I don't know where…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

PreferenceBundle Not Loading Specifiers in Jailbreak (Theos) App

I have been fighting with this bizarre all afternoon long with no results. Before, I was able to just create a Tweak, using Theos' Tweak template, and add a PreferenceBundle to it by creating the subproject using the template in its directory. I'd…
Andy Ibanez
  • 12,104
  • 9
  • 65
  • 100
0
votes
1 answer

Displaying a UIView in a MobileSubstrate tweak?

I am making an iOS MobileSubstrate Tweak and I have hooked Springboard and the launch() method. Now I want to display a view with a button and if it is clicked it would call the %orig (the original code). How can I display a view if I don't have a…
0
votes
1 answer

Instance methos not found when using logos %new

I'm using logos to make a tweet. I use %new to add a new method - (void)checkTQT to SBAwayController, but when I invoke the method using [self checkTQT], it says "instance method '-checkTQT' not found(return type defaults to 'id')" here is my…
James Ye
  • 107
  • 7
0
votes
1 answer

ios - Sparrow mail app crashes on 5.0.1 - want to build a fix, mobile substrate help needed

yesterday, I downloaded the Sparrow mail app, which is crashing instant after startup. Following crash log is generated: Incident Identifier: [TODO] CrashReporter Key: [TODO] Hardware Model: iPhone4,1 Process: Sparrow [64701] Path: …
-1
votes
2 answers

Returning UIColor causing crashes

I'm trying to use a method to convert string to UIColor like this: -(UIColor *)getColorFromString:(NSString *)color { if ([color isEqual: @"red"]) { return [UIColor redColor]; } else { return [UIColor blackColor]; …
junyi00
  • 792
  • 3
  • 8
  • 28
-2
votes
1 answer

Theos iOS 7 Apps/Tweaks

I want to make tweaks and apps for iOS 7. I install theos on my iPod Touch 5 (running iOS7) and I created a simple app. The thing is, the app only supports the 3.5 inch screen and it is styled like iOS 6. Is there a way I can make iPhone 5 optimised…
-2
votes
2 answers

iOS app crash when trying to log NSDictionary

I have a problem where I try to log NSDictionary content and as soon as the method is called the app crashes. This is the code I have tried after advice from a talented "hacker": %hook UserData -(int)getVariable:(NSDictionary *)fp8 { for (NSString…
-2
votes
1 answer

id object in theos mobilesubstrate tweak , i can't disable this -(id)

-(id)initWithUserSettings:(id)userSettings mqttSender:(id)sender; NSDictionary *settings3=[[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/myfilehere.plist"]; if ([[settings3 objectForKey:@"invisiblechat"]…
-3
votes
1 answer

How to modify the iPhone status bar on a jailbroken iPhone?

I want to create a tweak to add a text to the status bar. The text will be appended to the time label. So what is the the hooked class and method.
1 2 3 4 5 6 7
8