Questions tagged [tweak]

A tweak refers to a customization of a software application intended to facilitate its integration within the host system.

References

285 questions
0
votes
0 answers

How to load MobileSubstrate extension with root permission

Below is contents of filter file. Filter Executables installd SupportsRoot
wuqiang
  • 634
  • 3
  • 8
0
votes
1 answer

Flipswitch for guizmodns

I was wondering if someone can provide me the code to make a flipswitch for guizmodns. I can put it all together and compile it but I dont know enough to make the switch part. Thanks for any help.
0
votes
1 answer

iOS tweak doesn't load

I'm developing a small tweak that changes some files in /var/preferences. Here is my constructor: %ctor { NSLog(@"\n\n\n Tweak Loading... \n\n\n "); NSError *error = [[NSError alloc] init]; BOOL success = [[NSFileManager defaultManager]…
Hamed
  • 297
  • 3
  • 21
0
votes
1 answer

PreferenceBundle: "number in code"

I'm searching some help for an item in the PreferenceBundle. For example, I have this simple code: -(int)XXX { return 100; } How can I put in the PreferenceBundle a cell where you can write the number to return the function? For example: 1) You…
Superock
  • 11
  • 1
  • 4
0
votes
1 answer

Giving pre access of Microphone to CydiaTweak without showing dialog box

I am writing to do recording in background. I have an API that is working fine. Now I want to make tweak using that API but the only problem giving access of microphone. As for UI apps dialog appears "TestApp" would like to Access the Microphone. I…
Ahad Khan
  • 411
  • 2
  • 18
0
votes
0 answers

Communication between Tweak and Preference Bundle

I have some data saved with preference bundle controller class. I want to share it with its tweak file i.e. I want springboard to be able to communicate preference bundle in order to get some data from it and vice versa. I have tried to use…
NightFury
  • 13,436
  • 6
  • 71
  • 120
0
votes
1 answer

Add a button to open an URL (Preferences Bundle)

I'm trying to add a button in my Preferences Bundle to open an URL in Safari (or in the Pref Bundle). I'm looking this: https://github.com/hbang/NotiQuiet/blob/master/prefs/ADNQListController.m But I don't understand the else, if eccc... I want just…
SUPERGIU
  • 21
  • 6
0
votes
3 answers

Add Respring Button in setting.app

do you know how can I add a Respring button in Setting>My tweak? I know the code must added in the PreferenceBundle folder, but I don't know the code :D Example: https://i.stack.imgur.com/yKmuK.jpg Thanks in advance! P.S: I know how to use Theos (if…
SUPERGIU
  • 21
  • 6
0
votes
0 answers

How to know if an app is active in iOS (Jailbroken)?

I want to check if the specified with identifier app is active and at front most, I used like below but it got isRunning status only, how can I know if the app is at front most?Thank you. #import #import…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
3 answers

Xcode External Build System Make Package Install

I created an "External Build System" project in Xcode to run my custom Makefile when run. By default this works fine, but when I want to pass it -C ~/Desktop/GIFPaper/ package install so the full shell command equivalent would be: make -C…
Praxder
  • 2,315
  • 4
  • 32
  • 51
0
votes
1 answer

How to display a notification banner when developing a tweak with theos?

I use theos developing a tweak. I hook the storyboard and want to display a notification banner, like what Activator did when changing the state.
leavez
  • 2,119
  • 2
  • 27
  • 36
0
votes
2 answers

Making jquery animation larger

So I have been playing around with jquery animation and I have got it working using this method: $(function() { $("#div3").animate( {top : "+=100"}, 500, function() {} ); }); http://jsfiddle.net/dT9Yk/ My problem is it doesn't fall…
Blezx
  • 614
  • 2
  • 6
  • 19
0
votes
1 answer

How to set TheBigBoss tweak icon?

I have recently gotten into jailbroken iOS app development and have developed my first tweak. I am going to submit it to TheBigBoss repo. My question is this: how can I set the tweak icon in the Cydia store? Looking at the submission page on…
Praxder
  • 2,315
  • 4
  • 32
  • 51
0
votes
1 answer

cydia-substrate tweak development - giving errors on make

I am new to making mobile substrate tweaks and I wanted to hook this function but having a bit of trouble. %hook classname - (void)function:(BOOL) { %orig; return TRUE; } %end but when i try to MAKE this it gives me an error. void function…
0
votes
1 answer

Cannot disable autorotate lock in theos tweak

here's the code [[%c(SBOrientationLockManager) sharedInstance] unlock]; This compiles in Theos fine but does nothing. The Methods exist in the header file. Has this changed in iOS 7? Whatever I try will not turn off the rotation lock and as I am…
John Clifford
  • 16
  • 1
  • 5