Questions tagged [logos]

Logos is a component of the Theos development suite that allows method hooking code to be written easily and clearly, using a set of special preprocessor directives.

Logos is a component of the Theos development suite that allows method hooking code to be written easily and clearly, using a set of special preprocessor directives.

The syntax provided by Logos greatly simplifies the development of MobileSubstrate extensions ("tweaks") which can hook other methods throughout the OS. In this context, "method hooking" refers to a technique used to replace or modify methods of classes found in other applications on the phone.

63 questions
1
vote
3 answers

Does ASP.NET have built in support for skinning logos?

I'm using logos as just an example. I'm trying to use themes/skins for the first time in ASP.NET - and just trying to figure out exactly what they will allow me to do. As far as i can tell themes are primarily for changing controls like buttons,…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
1
vote
1 answer

Wordpress Theme Preloader page shows two different logos

I'm working with a Wordpress theme and am trying to track down why the pre-loader page is showing two versions of the logo? We are live, I've looked at it stopped in dev tool on Chrome, but I'm still a newbie…
1
vote
1 answer

Variable getting released between calls

I am developing a tweak for iOS using Logos/Theos. I need to store the last two characters the user has typed in at all times. My code for this is: static NSString *lastTwoChars = [[NSString alloc] init]; ... if (lastTwoChars.length < 2) { …
Campbell Cole
  • 37
  • 1
  • 9
1
vote
1 answer

Is this a good way to add protocols to a class I'm hooking in?

I'm trying to write a test tweak for iOS 8.3 using Theos. This tweak will show a UIAlertView with two choices when the user taps on an application's icon. I want to distinguish between the buttons, and to do so I need to add the…
PeppeLaKappa
  • 139
  • 11
1
vote
0 answers

How to change home screen for Jailbreak Device programming

I'm a newbie in iOSOpenDev. I want to change the home screen on my jailbroken device. I use iOSOpenDev with Logos tweak to implement this %hook SBUIController - (void)finishLaunching { SBUIController *uicontroller = (SBUIController…
duongvanthai
  • 1,518
  • 1
  • 11
  • 14
1
vote
2 answers

UIWindow keyWindow changed notification

I'm creating a jailbreak tweak that adds a view to the UIWindow of whatever the current keyWindow is. The problem is that whenever the keyWindow changes the view gets removed. I'm using this %hook SBApplication -(void)willActivate { UIWindow…
Mistah_Sheep
  • 785
  • 6
  • 25
1
vote
1 answer

How to hook NSURLSession methods with theos?

I created a tweak project using rpetrich's theos and wanted to hook NSURLSession methods but the hooks don't seem to get invoked? Why? This is my Tweak.xm code: %hook NSURLSession - (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest…
radj
  • 4,360
  • 7
  • 26
  • 41
1
vote
2 answers

unable to find SBLockScreenNotificationScrollView.h file in Springboard API

I'm working on an cydia substrate tweak and I have this line of code: double threshold = [SBLockScreenNotificationScrollView scrollThresholdForPasscodeScroll]; When I try to compile I'm getting these errors and warnings for the line. I've imported…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
1
vote
0 answers

Theos - MobileSubstrate: if/else using default values

I'm writing a tweak to edit the statusbar clock strings. I'm struggling to find a way to call the native settings if the tweak is 'disabled'. I thought that calling %orig would work. But it only works after a respring, I want to avoid a respring if…
lkemitchll
  • 2,751
  • 2
  • 15
  • 16
1
vote
1 answer

How to Display an image through a NSBundle

I am trying to display a image when my method is activated. I have all the code down and I dont get any errors but the image just wont show. Here is my Tweak.xm file. #import #import #import…
1
vote
1 answer

UIImage may not respond to imageWithContentsofFile

Hi guys I am trying to make a image appear whenever my method is called. Here is my code #import #import #import #import #import…
1
vote
1 answer

Compiler errors with dumped headers when creating a Cydia Tweak with Theos

I'm trying to write a tweak for an app on the iPhone. I have a good background in objective C and iPhone dev, but I've never done any Cydia jailbreak tweaks, save for a few tutorials on tweaks using rpetrich's dumped headers. I'm looking to use…
1
vote
1 answer

How to enable or disable a mobilesubstrate via a preference bundle

I would like to know that suppose I have a tweak how would i enable people to enable or disable it via a switch? I need help for a current tweak im working on. This is a mobile substrate tweak made by logos in Theos
0
votes
1 answer

Jailbreak dev - error creating tweak

I'm trying to create an iphone tweak, but I can not compile the tweak. It always comes up with this error. What could be the problem? TWEAK.M %hook SBCallAlertDisplay - (void)updateLCDWithName:(id)name label:(id)label breakPoint:(unsigned)point { …
Loko Varrido
  • 65
  • 10
0
votes
0 answers

How to change logo color on scroll and on hover

Need to change the logo color on hover, than change it on scroll. I got it to change on hover, but having trouble changing it on scroll. Can someone please look at my JSFiddle and help? Maybe it's just the classes that are clashing or my JS logic,…