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

How can I make a tweak that has multiple options to choose from with THEOS

So I was thinking of making a tweak for my iOS device and I wanted to make a settings patcher that had a few options for the user to choose from. Example: Changing the color of the screen flash. If I wanted to have a range of colors for the user to…
LukeSC1993
  • 43
  • 1
  • 7
0
votes
1 answer

How to get the instance(UIApplication) of the front most application from SpringBoard tweak in iOS?

I need get the UIApplication instance of the current front most app.I use [UIApplication sharedApplication] but get only the instance of SpringBoard, does any one know how can I do it?Thank you.
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

How to get bundle identifier of application by context id or by mach port in iOS 7(Jailbroken)?

I now we can use contextIdAtPosition method to get context id of the front most application, but how can I use context id to get the bundle identifier of the front most application?Thank you!
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
2 answers

How to get task port of SpringBoard in iOS7 (Jailbroken)?

I know we can use contextIdAtPosition and taskPortOfContextId to get the mach_port_t of the front top app, but when inside some app, we can not use contextIdAtPosition to get the context id of SpringBoard (it's at background), so how can we get the…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

Why does postinst script for tweak app cause app icon dispear?

I make a tweak app works inside backboardd, so backboardd has to be restarted after the tweak is installed.I used the script below in DEBIAN's postinst to restart backboardd. It works right for me, but lead to a new problem: it respring…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

IBAction makes errors on theos compiling

I'm new to Objective-C programming and I want to make a simple tweak about VLC for iOS.app but I can't compile. Here's my code : #import %hook VLCMovieViewController -(IBAction)playPause { if([_mediaPlayer isPlaying]) { …
faku
  • 411
  • 4
  • 19
0
votes
1 answer

How to detect if it's inside Backboardd in my tweak of iOS?

I want to inject some functions to Backboardd, because of some reasons, I can not use plist to restrict it, so I want to use "if" to determine whether it's inside Backboardd.I know in 'Logos' I can use like that: %ctor{ if (%c(SpringBoard)) { …
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
0 answers

Developing jailbreak tweak

I have searched everywhere for a solution to this but cannot find one. My tweak, developed in Theos is very simple, I want to disable the mute button in the phone app. I have found the private framework I think I need and the code that is called. I…
John Clifford
  • 16
  • 1
  • 5
0
votes
1 answer

close all apps directly from Springboard without opening the switcher panel?

Jailbroken iPhone iOS 7: Is it possible to close all apps in the background directly from Springboard without opening the background switcher panel? I'm trying to do that in this way: SBAppSliderController* switcherController =…
Usi Usi
  • 2,967
  • 5
  • 38
  • 69
0
votes
1 answer

sending data between tweaks

I have a tweak with hooks to an app (tweak1) The tweak is supposed to use a framework to execute some code. Unfortunately within iOS7 I'm unable to do that. However when the same code is executed in a separate tweak (tweak2) with hooks to…
boudarbalat
  • 181
  • 1
  • 8
0
votes
1 answer

How to assign a Url to a PSButtonCell action

Hi guys I have been working on this tweak an for the most part I'm done. The only thing that I have left in mind is to add a donate button to my preference bundle. I have already created a cell with a label and action, I just need to know how to…
0
votes
1 answer

SpringBoard header errors when compiling tweaks with theos

I am new to jailbreak tweaks development and I am using theos to develop my tweaks but I ran into some issues when I was compiling my tweak with the make command. Basically I dumped all the IOS 7 SpringBoard headers with class-dump-z and placed all…
0
votes
1 answer

How to hook to a function to iOS alarms?

I'm trying to use Theos in order to hook up and capture the names of the alarms that have been stopped. I have done this: // Logos by Dustin Howett // See http://iphonedevwiki.net/index.php/Logos //#import #import…
Marti Markov
  • 746
  • 6
  • 25
0
votes
1 answer

Shortcut for New Folder for windows XP

Can any one tell me some tweak to create a New Folder by using keybords shortcut keys for Windows XP??? As it is ctrl + shift + n in Windos 7.
Piyush aggarwal
  • 750
  • 2
  • 14
  • 25
0
votes
1 answer

Error in compilation on theos IOS "Id returned 1 exit status"

I would like to compile a Tweak with Theos on my iDevice (iTouch 4G IOS 6.1.3) but I have this error.! Link of image : http://hpics.li/d090438 Help me please !