-
Posts
443 -
Joined
-
Last visited
Everything posted by 45GTR
-
Ok, scrap everything else before this. This is the code I'm using in a project without a preference bundle. When I've compiled, it does nothing (supposed to invoke the notification centre with a single swipe): %hook SBUIController -(BOOL)shouldShowNotificationCentreTabControlOnFirstSwipe { return FALSE; } %end Any ideas?
-
This clearly shows you talking about the second project and not the first. It's funny how you've got a big mouth for a guy that has only one rep. f**king asshole. Oh yeah, forgot to say you've no thanks. Who's helpless now? D.I.C.K
-
finally, someone helpful, yeah tried that, didn't work
-
rpetrich's headers: https://github.com/rpetrich/iphoneheaders sdks: http://iphone.howett.net/sdks/ Open source projects: http://iphonedevwiki.net/index.php/Open_Source_Projects I will keep on adding links as time goes by
-
Exactly, fuccckiiinnnng dumbass duck
-
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.asd.preferences.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook SBUIController -(bool)shouldShowNotificationCentreTabOnFirstSwipe { if(GetPrefBool(@"kEnabled")) return TRUE; } return %orig; } %end <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>preferences First Page</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.asd.preferences</string> <key>key</key> <string>kEnabled</string> <key>label</key> <string>Enable Rotation On SpringBoard</string> </dict> <dict> <key>action</key> <string>respring</string> <key>cell</key> <string>PSButtonCell</string> <key>label</key> <string>Respring</string> </dict> </array> <key>title</key> <string>preferences</string> </dict> </plist> You dumbass it does start with com. Are you blind? Asshole
-
i'm not changing any facts. the other project was created by DiDA, why don't you tell him that :X. This one's created by me and uses a completely different bundleid
-
Nah man, this is a completely different project
-
this is a different tweak. DiDA made me the first one. that one's mine
-
still not working <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>preferences First Page</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.asd.preferences</string> <key>key</key> <string>kEnabled</string> <key>label</key> <string>Enable Rotation On SpringBoard</string> </dict> <dict> <key>action</key> <string>respring</string> <key>cell</key> <string>PSButtonCell</string> <key>label</key> <string>Respring</string> </dict> </array> <key>title</key> <string>preferences</string> </dict> </plist>
-
DiDA Made it for me. The thing is the preference bundle and switch loads, but the switch does absolutely nothing
-
Here's my tweak.xm #define PLIST_PATH @"/var/mobile/Library/Preferences/iosgods.com.rot8.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook SBUIController -(bool)shouldShowNotificationCentreTabOnFirstSwipe { if(GetPrefBool(@"kEnabled")) { return TRUE; } return %orig; } %end Here's my plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your first switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>iosgods.com.rot8</string> <key>key</key> <string>kEnabled</string> <key>label</key> <string>Enable Rotation On SpringBoard</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your second switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>iosgods.com.rot8</string> <key>key</key> <string>kGems</string> <key>label</key> <string>Switch Text 2</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your third switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>iosgods.com.rot8</string> <key>key</key> <string>kLives</string> <key>label</key> <string>Switch Text 3</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>This text will appear under your fourth switch.</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>iosgods.com.rot8</string> <key>key</key> <string>kLives</string> <key>label</key> <string>Switch Text 4</string> </dict> <dict> <key>cell</key> <string>PSGroupCell</string> </dict> <dict> <key>cell</key> <string>PSTextCell</string> <key>label</key> <string>Made by Joker.</string> </dict> <dict> <key>action</key> <string>link</string> <key>cell</key> <string>PSButtonCell</string> <key>icon</key> <string>[email protected]</string> <key>label</key> <string>Visit iOSGods.com</string> </dict> </array> <key>title</key> <string>Rot8</string> </dict> </plist>
-
%hook SBUIController -(bool)shouldShowNotificationCentreTabOnFirstSwipe{ if(GetPrefBool(@"kEnabled")){ return TRUE; } %end
-
Still nothing How Can I see the tweak.xm of a tweak I downloaded from cydia!
-
Doesn't make a difference
-
Preferences.plist
-
Doesnt work man. Should I try com.asd.rotate
-
Thanks man I'll try it
-
Nothing happens. here's my tweak.xm #define PLIST_PATH @"/var/mobile/Library/Preferences/preferences.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook SpringBoard -(bool)homeScreenRotationStyleWantsUIKitRotation{ if(GetPrefBool(@"kEnabled")){ return TRUE; } -(long long)homeScreenRotationStyle{ return 2; } %end Here's my plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>preferences First Page</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.asd.preferences</string> <key>key</key> <string>kEnabled</string> <key>label</key> <string>Enable Rotation On SpringBoard</string> </dict> <dict> <key>action</key> <string>respring</string> <key>cell</key> <string>PSButtonCell</string> <key>label</key> <string>Respring</string> </dict> </array> <key>title</key> <string>preferences</string> </dict> </plist>
-
http://i.imgur.com/9LI6vVI.jpg Reply Report Edit
-
Help/Support ANOTHER GOD DAMN ERROR WHEN COMPILING!
45GTR replied to 45GTR's topic in Help & Support
np -
Help/Support ANOTHER GOD DAMN ERROR WHEN COMPILING!
45GTR replied to 45GTR's topic in Help & Support
pm -
Help/Support ANOTHER GOD DAMN ERROR WHEN COMPILING!
45GTR replied to 45GTR's topic in Help & Support
Thanks -
Help/Support ANOTHER GOD DAMN ERROR WHEN COMPILING!
45GTR replied to 45GTR's topic in Help & Support
can someone please send me their theos folder?? -
http://i.imgur.com/w9fncrv.jpg