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

What is the purpose of %new & %class?

What do %new and %class mean in terms of MobileSubstrate tweaks? For instance: %class TPBottomLockBar; and %new(v@:) Sorry for double question!
Zigsaz
  • 435
  • 3
  • 15
4
votes
3 answers

How to Debug MobileSubstrate Tweaks?

What is the best way to debug MobileSubstrate extensions, i.e. placing breakpoints etc.? Is there away to do this in Xcode? GNU Debugger?
Zigsaz
  • 435
  • 3
  • 15
4
votes
1 answer

php function implode tweaking

im trying to print an array using implode, but i want to tweak it, so the "glue" of the implode show every two element, and not in every element. $nombreNombre=array('josh','13','mike','44','dude','98','scott','450'); echo '
  • ' .…
  • Gmo
    • 151
    • 1
    • 2
    • 6
    4
    votes
    0 answers

    Using IOSurface to take screenshot in iOS7 in games

    I'm trying to take screenshots from background using IOSurface, here's my code IOMobileFramebufferConnection connect; kern_return_t result; IOSurfaceRef screenSurface = NULL; io_service_t framebufferService =…
    cloudycliff
    • 299
    • 1
    • 8
    4
    votes
    1 answer

    Creating Cydia Logos Tweak, now required respring after installation (How to do)

    I am creating a Logos Tweak for Cydia and i did complete my task, but now i required "Restart SpringBoard" after Installation. Can anybody tell me what i have to do to achieve this like many apps in Cydia store, In which after installation button…
    M.Shuaib Imran
    • 1,287
    • 16
    • 29
    4
    votes
    1 answer

    How can I programmatically deactivate application?

    I'm creating a jailbreak tweak that includes calling from the lockscreen. I am currently using [[%c(SKTelephonyController) sharedInstance] dialNumber:number] to call a number. Everything is working fine and the call goes through until you try to…
    jacob
    • 3,507
    • 2
    • 21
    • 26
    4
    votes
    1 answer

    How do I refresh the preference pane in a tweak for jailbroken iPhone?

    I have a button in the preference panel of my tweak that returns the settings to their default values (specifically there are 'PSEditTextCell's that are cleared). The button triggers an action that changes the values in the plist, but the changes…
    zonofzin
    • 41
    • 1
    4
    votes
    1 answer

    Error compiling iPhone tweak

    I am trying to compile a iPhone tweak I just created and I am getting some errors I can not seem to find a solution for and help would be appreciated. Undefined symbols for architecture armv6: "_OBJC_CLASS_$_UIAlertView", referenced…
    brojones
    • 61
    • 3
    3
    votes
    0 answers

    Setting up framework (OpenEars) in a non-Xcode iPhone project (MobileSubstrate tweak with Theos)

    Here is the link to setting up the OpenEars framework in Xcode: http://www.politepix.com/openears/configuring However, I'm making a tweak using Theos, so I need to configure it, manually I suppose, by editing the makefile made by Theos. Could…
    fefwfefefwfwe
    • 1,505
    • 2
    • 11
    • 19
    3
    votes
    3 answers

    Cannot hook certain library calls using MSHookFunction

    I'm having trouble using MobileSubstrate's MSHookFunction() to hook certain library function calls. For example, hooking memcpy and memset causes a crash on app launch however hooking memcmp works fine. I assume that this is because the hooking code…
    David Kaplan
    • 81
    • 1
    • 6
    3
    votes
    2 answers

    How to create a tweak for jailbroken iPhone

    My question is... Can we use Xcode to create a tweak for jailbreaked iPhone? Foe example if I want to add some button in the lock screen how can I do? How can I mod the GUI of the default iPhone applications?
    paul_1991
    • 245
    • 4
    • 13
    3
    votes
    2 answers

    How to analyze iOS Application to make tweaks in theos

    I'm tring to make tweak in Theos. Thanks to many good tutorials, I am now able to make some simple tweak by myself. But it doesn't always go well. To make tweak, first I need to use utility called "class dump" to get application headers. Second, by…
    user3336535
    3
    votes
    1 answer

    How to assign Activator action from the Settings Pane

    I'm following this guide http://www.iphonedevwiki.net/index.php/Libactivator to change activation method from the Settings Pane (Settings application). It doesn't work. But I change activation method via Activator (download and install from Cydia…
    Minh Quy
    • 655
    • 5
    • 21
    3
    votes
    1 answer

    Theos: How to hook a method with a block argument? (CDUnknownBlockType)

    %hook HTTPClient - (CDUnknownBlockType)completionForSuccess:(CDUnknownBlockType)arg1 { } %end I am wondering what to place in place of CDUnknownBlockType here (generated from class-dump). I do not know the arguments to the block so I cannot put the…
    Tatsh
    • 2,780
    • 1
    • 20
    • 23
    3
    votes
    1 answer

    Cordova: Tweaking camera plugin crashes the app and camera

    I was trying to tweak the camera plugin to find what camera resolutions my device can support. Following is the CameraLauncher.java's takePicture function with my tweak in it: /** * Take a picture with the camera. * When an image is captured or…
    PPrasai
    • 1,186
    • 13
    • 36
    1
    2
    3
    18 19