Jump to content

Vegito

Senior Member
  • Posts

    663
  • Joined

  • Last visited

Everything posted by Vegito

  1. damn man but there have been rumours that people can get into your iphone through ssh(different network)
  2. I have an iPhone whose ssh has been turned on and it's far away from my place. I have it's ip addressas well as dns too! How can i access it ? (i do know WInScp but i think it's only used to access iphone which is connected to same network ) EDIT- (Sorry i forgot to post it on Help/Support instead of posting here)
  3. Function are hooked properly lol
  4. hold on let me check! Damn ! it's called header image! been searching preference loader image everywhere! Thanks man!
  5. I am curious about how people add an image inside the settings. for example this-->
  6. You're right! the problem is with preference bundle ! Well guess what, i copied the whole code from my tweak.xm and made a new tweak without prefloader. It worked fine! So it seems like i am not doing the prefbundle part properly .
  7. alright, No need to help me out if you're here to troll. It's not a wrong bundle id nor a useless tweak. Not even a wrong keyname. Maybe it's the tweak.xm which i didn't configure well.
  8. Alright, i have made my tweak as well as it's preference loader.Compiled and installed it successfully, now guess what? Toggling those switches ON or oFF have no effect on the app ~_~ .... what should i do now..is this happening because i didn't configure xxx.mm properly ?
  9. i didn't copy any code from anywhere, i have made my tweak.xm backup on pc, i am simply copying it and pasting it here damn man thanks! let me try! i have given opening and closing parenthesis properly. It's not the opening of code block i guess.
  10. %hook SSJailbreakCheck + (id)runningProcesses { if(GetPrefBool(@"kJail")) { return [NSNumber numberWithInt:0]; } return %orig; } + (int)filesExistCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)symbolicLinkCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)systemCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)fstabCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)processesCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)plistCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)inaccessibleFilesCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)cydiaCheck { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } + (int)urlCheck { return 0; } return %orig; } + (int)jailbroken { if(GetPrefBool(@"kJail")) { return 0; } return %orig; } %end you mean i should use %end everytime i use if(GetPrefBool(@"kXyz")? No, i compiled the tweak without any preference loader in a noob way, it started to show me errors as soon as i started with preference loader
  11. hmm ,well, when i compile it , it says "you fell off the face of earth '{'
  12. what if it's like this %hook SSJailbreakCheck + (id)runningProcesses { return [NSNumber numberWithInt:0]; } + (int)filesExistCheck { return 0; } + (int)symbolicLinkCheck { return 0; } + (int)systemCheck { return 0; } + (int)fstabCheck { return 0; } + (int)processesCheck { return 0; } + (int)plistCheck { return 0; } + (int)inaccessibleFilesCheck { return 0; } + (int)cydiaCheck { return 0; } + (int)urlCheck { return 0; } + (int)jailbroken { return 0; } %end Do i need to put if(GetPrefBool(@"kJail")) in every target method?
  13. hmm for example, i have one class and under it are 8 targets. class is about jailbreak something bla bla and those 8 targets do the work of changing the jailbreak state. what i am trying to say is , do i need to keep putting if(GetPrefBool(@"kCoin")) in every single target? Because it's going to be a single switch for it not multiple switches
  14. So now i am really confused because the tutorials about preference bundles are not of complex type. how do i attach this to preference loader. i know this--> if(GetPrefBool(@"kXyz")) my point is how am i going to implement it for example-> %hook DeviceInfoPayload_Builder - (id)setJailbroken:(BOOL)fp8 { fp8=false; return %orig; } now how do i put if(GetPrefBool(@"kXyz"))in it? you mean like this? %hook DeviceInfoPayload_Builder - (id)setJailbroken:(BOOL)fp8 { if(GetPrefBool(@"kXyz")) fp8=false; return %orig; } return %orig; } ?????
  15. wth (._.) now i am having problem in making preference bundle... plus there are so many targets of a single class, do i need to add if(GetPrefBool(@"kCoin")) in every single target of the same class? I have went through the tutorial of preference bundle, but i was hoping someone may make a little complex tutorial so that everyone can get an idea of what they need to do when they encounter some mixed targets
  16. hmm doesn't work. %hook xyz - (id)initWithUser:(id)fp8 isTypingValue:(BOOL)fp12 { fp12=false; } %end shows me this error-> Making all for tweak xzyxc... Preprocessing Tweak.xm... Compiling Tweak.xm... Tweak.xm:7:1: error: control reaches end of non-void function [-Werror,-Wreturn-type] } ^
  17. Well i wanted quick response from people because i won't be here for long.
  18. o oh f .... that semi colon for now , well when i compiled it, it showed no errors though all of the 3 ways showed no errors. it's just that now i am lazy to see whether it works in every single way or not lol
  19. So i was trying to figure out how can i return a bool value attached to id and voids. Can you please tell me if my method is right? so this is the code-> - (void)setIsTyping:(BOOL)fp8 i Want to return it's bool value, so are these ways correct . They are mentioned below: -> 1. - (void)setIsTyping:(BOOL)fp8 { %orig(false); } or 2. - (void)setIsTyping:(BOOL)fp8 { %orig(fp8); fp8=false; } or 3. - (void)setIsTyping:(BOOL)fp8 { fp8=false %orig(fp8); } that's it... and one more question - (id)initWithUser:(id)fp8 isTypingValue:(BOOL)fp12 ? I only want to return the BOOL value. Can you please tell me how?
  20. can i do this way? to make it work? - (void)setIsTyping:(BOOL)fp8 { %orig(false); } or - (void)setIsTyping:(BOOL)fp8 { %orig(fp8); fp8=false; } or - (void)setIsTyping:(BOOL)fp8 { fp8=false %orig(fp8); } ARE ALL THESE WAYS CORRECT? OR the one you told me now?
  21. dayumm man, i was getting confused lmao! don't you think we need to put %orig(fp8) too? i will try this out hold on - (void)mediaBar:(id)fp8 isTyping:(BOOL)fp12 , so if it's like this all i need to do is { fp12=false; } ?
  22. doesn't work man i did it already i did that already Tweak.xm:3:120: error: expected class member or base class name ...self, SEL _cmd):(BOOL) { ^ Tweak.xm:3:120: error: expected '{' or ',' Tweak.xm:3:119: error: only constructors take base initializers ...self, SEL _cmd):(BOOL) {
  23. i am trying to return a bool value in mobile susbstrate hacking, %hook XYZ - (void)setIsTyping:(BOOL)fp8 ; So i want to return the bool value as false, what should i do? I would greatly appreciate if you are ready to help!!
×
  • 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