Jump to content

45GTR

Senior Member
  • Posts

    443
  • Joined

  • Last visited

Everything posted by 45GTR

  1. Exactly, fuccckiiinnnng dumbass duck
  2. #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
  3. 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
  4. Nah man, this is a completely different project
  5. this is a different tweak. DiDA made me the first one. that one's mine
  6. 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>
  7. DiDA Made it for me. The thing is the preference bundle and switch loads, but the switch does absolutely nothing
  8. 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>
  9. %hook SBUIController -(bool)shouldShowNotificationCentreTabOnFirstSwipe{ if(GetPrefBool(@"kEnabled")){ return TRUE; } %end
  10. Still nothing How Can I see the tweak.xm of a tweak I downloaded from cydia!
  11. Doesn't make a difference
  12. Preferences.plist
  13. Doesnt work man. Should I try com.asd.rotate
  14. Thanks man I'll try it
  15. 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>
  16. http://i.imgur.com/9LI6vVI.jpg Reply Report Edit
  17. can someone please send me their theos folder??
  18. http://i.imgur.com/w9fncrv.jpg
  19. Getting this error: common.mk no file or directory found theos version mismatch! common.mk (0) loaded in tandem with rules.mk check that theos is set correctly *THEOS SUMLINK IS IN TWEAK FOLDER* Error is now: no rule to make target obj/projectname.mm t @@DiDA
  20. How would i make two switches, one would make the returned value 1, and another would make it 2?
  21. What else would I need, just a flip switch in the preferences? JuSt out of curiosity, how could I make two switched, one to make it one and one to make it two
×
  • 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