Jump to content

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


Go to solution Solved by Pro,

5 posts in this topic

Recommended Posts

Posted

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.

Posted (edited)

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

Updated by Ted2
  • Like 1
  • Solution
Posted

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

  • Agree 1
Posted
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.

Posted
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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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