Jump to content

45GTR

Senior Member
  • Posts

    443
  • Joined

  • Last visited

Everything posted by 45GTR

  1. 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?
  2. 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
  3. finally, someone helpful, yeah tried that, didn't work
  4. 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
  5. Exactly, fuccckiiinnnng dumbass duck
  6. #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
  7. 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
  8. Nah man, this is a completely different project
  9. this is a different tweak. DiDA made me the first one. that one's mine
  10. 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>
  11. DiDA Made it for me. The thing is the preference bundle and switch loads, but the switch does absolutely nothing
  12. 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>
  13. %hook SBUIController -(bool)shouldShowNotificationCentreTabOnFirstSwipe{ if(GetPrefBool(@"kEnabled")){ return TRUE; } %end
  14. Still nothing How Can I see the tweak.xm of a tweak I downloaded from cydia!
  15. Doesn't make a difference
  16. Preferences.plist
  17. Doesnt work man. Should I try com.asd.rotate
  18. Thanks man I'll try it
  19. 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>
  20. http://i.imgur.com/9LI6vVI.jpg Reply Report Edit
  21. can someone please send me their theos folder??
  22. http://i.imgur.com/w9fncrv.jpg
×
  • 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