Skip to content
Guest Big Announcement

Can't seem to get a single method to properly hook on iOS 7.1.2

Featured Replies

Just got my old iphone 4 back, jailbroke it, installed flex, and started working on updating some of my SpringBoard tweaks to be compatible with iOS 7. I tested the methods in Flex and they work fine, but none of them do anything when compiled as Obj C and installed as a tweak. 

The pref bundle loads fine, with all the switches showing, but turning them on does nothing. I'm stumped at what the problem could be and really getting annoyed because I know it has to be something simple (especially since I recently made a different tweak that was iOS 7 compatible and it works fine).  I double checked the filter and it says com.apple.springboard, , the makefile includes armv7, arm64 and armv7s, I just don't understand why it's not working. Some of the methods are exactly as they are in iOS 9, and iOS 9 is working with the tweak in question.

Any ideas?

Also, side note but does gdb work on iOS 7.1.2? I'll be ecstatic if I can finally find offsets using that with iGG or gamegem.

Solved by Pro

What sdks are you using? Also did you test it on another device? Gdb works on iOS 7 I suppose :p 

Updated by Ted2

  • Solution

I would say to check the pref bundle’s plist/mm or whatever it is and ensure that all keys are the same as the keys used in your Tweak.xm, and that the app’s ID is the same in your tweak’s plist as well as the pref bundle

  • Author
1 hour ago, Pro said:

I would say to check the pref bundle’s plist/mm or whatever it is and ensure that all keys are the same as the keys used in your Tweak.xm, and that the app’s ID is the same in your tweak’s plist as well as the pref bundle

I scrapped the tweak I already made and just started a new one with the same methods and it's finally working. Also added the include substrate in case that made a difference. Not sure if the substrate include fixed it or if I had a mismatch of keys in the pref bundle. ?

 

Excited to try Gdb on this old device. I'm liking this old Pangu jailbreak. Had it b4 then lost it, now finally have it again.

2 hours ago, Ted2 said:

What sdks are you using? Also did you test it on another device? Gdb works on iOS 7 I suppose :p 

Was using iOS 9 sdk, developing on my iOS 10 device. The tweak worked on both my iOS 9 and 10 devices but not at all on 7.  Really weird, since some classes and methods were identical.

2 hours ago, i0s_tweak3r said:

I scrapped the tweak I already made and just started a new one with the same methods and it's finally working. Also added the include substrate in case that made a difference. Not sure if the substrate include fixed it or if I had a mismatch of keys in the pref bundle. ?

 

Excited to try Gdb on this old device. I'm liking this old Pangu jailbreak. Had it b4 then lost it, now finally have it again.

Was using iOS 9 sdk, developing on my iOS 10 device. The tweak worked on both my iOS 9 and 10 devices but not at all on 7.  Really weird, since some classes and methods were identical.

I’m pretty sure including substrate is only really necessary when you’re doing MSHook, but idk it’s been a while since I’ve even had a jailbreak lol

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.