tweak

Should I have to restart the device not only respring to install a tweak for backboardd?

坚强是说给别人听的谎言 提交于 2019-12-14 02:59:40
问题 I make a tweak that works in backboardd, if I just respring after install it, it doesn't work, I have to restart the my iPhone entirely. Are there any other better ways need not restarting device? 回答1: You can execute this in your postinst script if you are installing your tweak as debian package (*.deb) launchctl stop com.apple.backboardd Backboard will restart automatically and cydia-substrate should be able to inject your tweak in it. 回答2: Note: since you say that you're using iOSOpenDev

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

此生再无相见时 提交于 2019-12-13 13:28:32
问题 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 appears with text "Restart SpringBoard" instead of "Return to Cydia". 回答1: You could do this 2 ways if you are using THEOS, First one (if you do make clean then you will have to redo these steps), Create 2 files in the DEBIAN folder which is located

Respring after installing tweak from Cydia

拟墨画扇 提交于 2019-12-13 13:25:00
问题 I made application and mobilesubstrate tweak using Theos by DHowett. Tweak is a subproject of application. I tested it on my iPhone, everything works fine. Then I made a Cydia repo and loaded my project to it. The problem is when I installing my application-tweak from Cydia, it doesn't respring my iPhone. It just showing button "Return to Cydia". So I have to manually respring my iPhone to make it work. I've got 2 control files in each project, I suggest that I have to change them somehow,

How to use the value in PSLinkListCell in preference bundle?

左心房为你撑大大i 提交于 2019-12-12 15:23:45
问题 I would like to make a preference bundle for my jailbreak tweak. I successfully made a preference bundle with a switch that works. But I would like a setting to choose color. Example: Blue Color > Yellow Green So if I click on Color , it would bring me to another screen which ask me to choose either " Blue ", " Yellow " or " Green " I have looked at tutorials on the net, and I think this is a PSLinkList . But I want my tweak to read the plist and record what color is chosen. I think it would

Hook to an instance method in iOS using theos and retrieve the argument that is being passed

吃可爱长大的小学妹 提交于 2019-12-11 16:56:39
问题 -(void)setID:(long long) is the method and I want retrieve the argument (the integer) being passed and show it in an alert view . I am new to this please help me. And also if possible, how to pass this argument to a different method. -(void)setSelectedID:(long long) , if this is the method I want to pass the arguments to, how would I do it in the Tweaks.xm file. Any help would be appreciated, thanks. Can this also be done using Cycript? 回答1: this code is untested but I hope it can help

How to know about app launched and details jailbreak iOS 7

孤者浪人 提交于 2019-12-11 08:29:37
问题 I am making a tweak for iOS 7 , in which I want to know about app launch event, and the details of app being launched (name and identifier). So far the only useful framework I have found is SpringBoardServices.framework . The header files which may be/are useful to track app launch event include: SBAppLaunchUtilities.h SBLaunchAppListener.h If I am on right track, can anyone provide me information about their methods usage? There is no relevant information or guide present on iphonedevwiki .

Does anybody know how I can find the the headers for IOS5 Iphones/ipod. Jailbreak development

不想你离开。 提交于 2019-12-11 05:15:08
问题 I would like to class dump my iPod Touch 4 if that is possible so I can find the IOS 5 headers for a tweak I am making. If somebody dosn't already know the header name for the statsubar? Please help! This is for jailbroken iPods and jailbreak development 回答1: The header name for the status bar is UIStatusBar.h inside UIKit.framework . https://github.com/nst/iOS-Runtime-Headers/ has a list of all the iOS 5 frameworks, and you can see the contents of UIStatusBar.h at https://github.com/nst/iOS

How to capture and record iOS Touch Events at system level?

元气小坏坏 提交于 2019-12-10 23:18:39
问题 I want to capture all the touch events at the system level, I do not mean capturing at one specified app, but all the apps even the SpringBoard.I tried IOHIDEvent(https://github.com/kennytm/iphone-private-frameworks/tree/master/IOKit/hid), but the runtime headers was changed after iOS4, and now I can not get them of iOS6. May be GSEvent is also a good way, but does anyone known how to do this by GSEvent? Thank you! 回答1: Take a look at EntryDevLevel excellent answer here on how to capture and

Importing <AppKit/AppKit.h> does not work

丶灬走出姿态 提交于 2019-12-08 02:45:00
问题 I am making a cydia tweak on Xcode using IOSOpenDev and i tried to import <AppKit/AppKit.h> but i'm getting this error! 'AppKit/AppKit.h' file not found' This is my code which changes the flash color when someone tries to take a screenshot #include <AppKit/AppKit.h> %hook SBScreenFlash -(void)flashColor:(id)color { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.junyi00.screenshotcolor.plist"]; if ([[prefs objectForKey:@"enable"]