-
Posts
663 -
Joined
-
Last visited
Everything posted by Vegito
-
Help/Support How to remote ssh into your iPhone from PC ?
Vegito replied to Vegito's topic in Help & Support
damn man but there have been rumours that people can get into your iphone through ssh(different network) -
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)
-
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
Function are hooked properly lol -
Help/Support How to add an Image in preference loader(Settings)
Vegito replied to Vegito's topic in Help & Support
hold on let me check! Damn ! it's called header image! been searching preference loader image everywhere! Thanks man! -
Help/Support How to add an Image in preference loader(Settings)
Vegito posted a topic in Help & Support
I am curious about how people add an image inside the settings. for example this--> -
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
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 . -
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
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. -
Help/Support Made the tweak but toggling on/off has no effect
Vegito replied to Vegito's topic in Help & Support
yes i did post it there. -
Help/Support Made the tweak but toggling on/off has no effect
Vegito posted a topic in Help & Support
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 ? -
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.
-
%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
-
hmm ,well, when i compile it , it says "you fell off the face of earth '{'
-
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?
-
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
-
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; } ?????
-
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
-
-
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] } ^
-
Well i wanted quick response from people because i won't be here for long.
-
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
-
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?
-
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?
-
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; } ?
-
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) {
-
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!!