Jump to content

dzcracker

Senior Member
  • Posts

    193
  • Joined

  • Last visited

Everything posted by dzcracker

  1. how to write -(id) and -(void) code to make ut NUUL and pas-trouve in tweak.xm http://i.imgur.com/xxAL2ST.jpg http://i.imgur.com/TW2bJ1j.jpg %hook SBAppSwitcherPageViewController -(id)displayLayouts { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"k@"] boolValue]){ //what should i do here to make it NULL } [prefs release]; return %orig; } -(void)handleReachabilityModeDeactivated { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"k@"] boolValue]){ //What should i do here to make it pas-trough } [prefs release]; return %orig; } %end %end
  2. Ok thx man I will try
  3. Get this error http://i.imgur.com/lD0h61t.jpg This is m'y tweak.xm #import <Foundation/Foundation> #define kPath @"/var/mobile/Library/Preferences/SBMultiFunction.plist" %hook SpringBoard -(long long)homeScreenRotationStyle { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"k3"] boolValue]){ return 2; } [prefs release]; return %orig; } -(BOOL)lockScreenCameraSupported { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"k1"] boolValue]){ return false; } [prefs release]; return %orig; } %end %hook SBFolderBackgroundView -(bool)_shouldUseDarkBackground { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"k4"] boolValue]){ return TRUE; } [prefs release]; return %orig; } %end %hook SBFWallpaperSettings -(bool)replaceBlurs { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"ka"] boolValue]){ return TRUE; } [prefs release]; return %orig; } %end %hook SBIconColorSettings -(double)colorAlpha { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"ka"] boolValue]){ return 0; } [prefs release]; return %orig; } -(double)whiteAlpha { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"ka"] boolValue]){ return 0; } [prefs release]; return %orig; } -(bool)blurryFolderIcon { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"ka"] boolValue]){ return false; } [prefs release]; return %orig; } %end %hook SBFolderSettings -(BOOL)allowNestedFolders { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kc"] boolValue]){ return TRUE; } [prefs release]; return %orig; } -(void)setAllowNestedFolders:(BOOL)fp8 { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kc"] boolValue]){ %orig(fp8); fp8 = TRUE; } [prefs release]; return %orig; } %end %hook SBLockOverlayStyleProperties -(double) blurRadius{ NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kB"] boolValue]){ return 0; } [prefs release]; return %orig; } -(double)tintAlpha { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kB"] boolValue]){ return 0; } [prefs release]; return %orig; } %end %hook SBSearchScrollView -(BOOL)gestureRecognizerShouldBegin:(id)fp8{ NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kC"] boolValue]){ return false; } [prefs release]; return %orig; } %end %hook SBLockScreenManager -(BOOL) _shouldAutoUnlockFromUnlockSource:(int)fp8 { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:kPath]; %orig; if([[prefs objectForKey:@"kD"] boolValue]){ return TRUE; } [prefs release]; return %orig; } %end %hook SBLockScreenView - (id)_defaultSlideToUnlockText { NSDictionary *unlocktext = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/SBMultiFunction.plist"]]; return [[unlocktext objectForKey:@"kKey"] intValue]; NSLog(unlocktext); return 0; } %end
  4. Thank you si much man I will try this
  5. castix thank you man castix i want to build a custom slider text can u help me ? like PSTextEditor
  6. http://i.imgur.com/Iw5Tpbg.jpg The chief the class is not outdated it work with flex I Will try with pstexteditor
  7. Castix its not outdated its for ios8 i get it from flex i on l'y get the NSStringmutable from google I want to build text editor for slider I dont know how to make it with this I make a tweaks with some function i want to add slider text custom
  8. Thank you guys i will try
  9. I want to make a prefBundle for customing lockScreen slider text i found this class on google but wont work Can anybody help me please %hool SBLockScreenView -(void)setCustomSlideToUnlockText:(id)fp8 animated:(BOOL)fp12 { NSMutableString *string = [[NSMutableString alloc] init]; [string appendString:@"hey"]; NSLog("%@", string); } %end
  10. Thanks Mc5 is free on AppStore
  11. download the sdk and extract it then go to /var/theos and create new folder and name it sdks and copy the sdk and past it in sdks folder and sorry for my bad english
  12. wait for new tinyumbrela it will give u posibility to save ur ios 8 ssh
  13. The device is unlocked an dit was work perfectly And now wont find the network it blocked on search without find the sim network
  14. Iphone 6 wont find any sim still on search mode without result
  15. DIDA 7.1 wont extract for me
  16. http://iphone.howett.net/sdks/ try this one
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines