Jump to content

KonpresoR

Member
  • Posts

    27
  • Joined

  • Last visited

Everything posted by KonpresoR

  1. Thanks, I added (NULL) and it compiled successful, like this %hook UserController -(BOOL) tabletView:(id)arg1 shouldHighligthRowAtIndexPath:(id)arg2 { return false; arg1 = (NULL); arg2 = (NULL); %orig(arg1,arg2); } %end One problem I'm having right now is that the tweak is not taking effect. I'm trying to tweak settings. So I used "com.apple.preferences" as the bundle. What was I missing? [/code] Thanks, any suggestions? The tweak is functionless
  2. Good afternoon guys, can someone figured out what the problem is? It keeps giving me error here is the unit: -(BOOL) tabletView:(id) shouldHighlightRowAtIndexPath:(id) %hook UserController -(BOOL) tabletView:(id) shouldHighligthRowAtIndexPath:(id) arg1 arg2 { return false; (id)arg1 = ; (id)arg2 = ; %orig(arg1,arg2); } %end If I remove the arg, the patch will compile successful but the tweak will not take effect.
  3. It worked perfectly. Thanks impossible and all of you for your support!
  4. Good evening guys, I keep getting this error while trying to compile a hack with preference bundle. Tweak.xm:20: error: %end does not make sense inside a block make[2]: *** [obj/Tweak.xm.0d97521c.o] Error 255 make[1]: *** [internal-library-all_] Error 2 make: *** [LikeHubUltimate.all.tweak.variables] Error 2 Is there anything wrong in this? #define PLIST_PATH @"/var/mobile/Library/Preferences/prefbundle.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook LikeHubUser - (void)setCoins:(long) arg1 { if(GetPrefBool(@"ksetCoin")) { arg1 = 900; %orig (arg1); } - (long)coins { if(GetPrefBool(@"kCoin")) { return 900; } return %orig; } %end %hook MATUtils + (BOOL)checkJailBreak { if(GetPrefBool (@"kcheckJailBreak")) { return false; } return %orig; } %end %hook SPJailbreakStatusProvider + (BOOL)isJailbroken { if(GetPrefBool(@"kisJailbroken")) { return false; } return %orig; } %end
  5. Edited, the one posted the installation is with PC. And also I saw a post requesting how to turn app into .ipa so I decided to create this tut
  6. Hello viewers, today I'm going to show a tutorial on how How to Create IPA of any app using MobileTerminal and also easy way to install it. Your device must be jailbkroken. . MobileTerminal . Clutch . Filza Procedure . Launch cydia and Install a tweak called "Clutch" (Fill the required info if you haven't done so) [Hidden Content] The .ipa file is normally stored in /var/root/documents/Cracked To install the cracked .ipa; . Launch filza or any other file manager that can install .ipa . Navigate to /var/root/documents/Cracked . Then Install . After the installation, Launch mobileTerminal, You don't need to login as root then type "uicache" it's not necessary though, but it prevents the app from crashing for the first time. Enjoy! Hope this has helped.
  7. I edited the Uicolor of an app
  8. Yeah! Yeah!! I downgraded cctool and LD64 and It worked, thanks man. This forum is far better than google
  9. See the error iPad:/var/mobile/xxx root# make Making all for tweak UnlimitedInstaPoints... Linking tweak UnlimitedInstaPoints... clang++: error: unable to execute command: Bus error: 10 clang++: error: linker command failed due to signal (use -v to see invocation) make[2]: *** [obj/UnlimitedInstaPoints.dylib.64873355.unsigned] Error 254 make[1]: *** [internal-library-all_] Error 2 make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2
  10. Yes, check out my makefile, is it correct?
  11. I'm still getting the same error. But below is my makefile, is there anything wrong with it? ARCHS = armv7 arm64 TARGET = iphone:clang:latest:latest include theos/makefiles/common.mk TWEAK_NAME = UnlimitedInstaPoints UnlimitedInstaPoints_FILES = Tweak.xm UnlimitedInstaPoints_FRAMEWORKS = UIKit UnlimitedInstaPoints_LDFLAGS += -Wl,-segalign,4000 include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard"
  12. Wow! Thanks bro, FLEXibile is an awesome tweak. But why is it not saving the edits? If I close the app every thing will returned to normal like nothing happened.
  13. The title says it all. Apart from ** flex and; ** class-dump -H /var/mobile/xxx -o/var/mobile/dump
  14. It gave me this clang: error: unable to execute command: Bus error: 10 clang: error: linker command failed due to signal (use -v to see invocation) make[2]: *** [obj/UnlimitedInstaPoints.dylib.64873355.unsigned] Error 254 make[1]: *** [internal-library-all_] Error 2 make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2
  15. Thanks guys. Before i was getting 5 errors but now it's 2 errors . So how I'm I going to get rid of this two now ... Tweak.xm:19:1: error: void function '_logos_method$_ungrouped$User$setPoints should not return a value [-Wreturn-type] return 999; ^ ~~~ Tweak.xm:30:1: error: void function '_logos_method$_ungrouped$AdController$setShowCoinAds should not return a value [-Wreturn-type] return false; ^ ~~~~~ 2 errors generated. make[2]: *** [obj/Tweak.xm.23543844.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2
  16. I'm getting this error while trying to compile tweaks in terminal Tweak.xm:17:75: error: expected class member or base class name ...self, SEL _cmd):(int) { ^ Tweak.xm:17:75: error: expected '{' or ',' Tweak.xm:17:74: error: only constructors take base initializers ...self, SEL _cmd):(int) { ^ Tweak.xm:18:1: error: void function '_logos_method$_ungrouped$User$setPoints' should not return a value [-Wreturn-type] return 999; ^ ~~~ Tweak.xm:29:1: error: void function '_logos_method$_ungrouped$AdController$setShowCoinAds' should not return a value [-Wreturn-type] return false; ^ ~~~~~ 5 errors generated. make[2]: *** [obj/Tweak.xm.23543844.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [unlimitedInstaPoints.all.tweak.variables] Error 2 and here is the code/edit I did. I don't think there's any mistake here %hook SPJailbreakStatusProvider + (BOOL) isJailbroken { return false; } %end %hook RevMobDeviceInfo - (BOOL) isJailbroken { return false; } %end %hook ADCConfiguration - (BOOL) areAdsDisabled { return true; } %end %hook User - (void)setPoints:(int) { return 999; } - (int)points { return 999; } %end %hook AdController - (BOOL)showCoinAds { return false; } - (void)setShowCoinAds { return false; } %end
  17. Thanks DiDA, that's exactly what I was looking for
  18. I created a tweak/ hack and I want it to appear in settings so that I can toggle on/off some features. How I'm I going to do it? I used the MobileSubstrates method.
  19. Great TUT. So John, I created a tweak/ hack and I want it to appear in settings so that I can on/off some features. How I'm I going to do it?
×
  • 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