This no longer works with firmware 3. Use Rotation Inhibitor from iSpazio repo for the same effect.
Cydia info:
----
Name: NoRotation
Description: Sick of Safari and iPod rotating while laying in bed? Disable the rotation with this SBSettings toggle.
More Info:
This is a mobile substrate plugin, that is toggled by SBSettings, to disable autorotation in safari and iPod. Simply install and Respring.
Usage:
In the default config:
If you enable it in SBSettings:
In the iPod app, autorotation will be disabled immediately and it wont rotate into coverflow at all.
In safari one rotation every start will work. That means if you hold your
iPhone/iPod on start in landscape mode, safari will start, rotate into
landscape mode and from then on not rotate anymore until you press home
button and start it again. Then it will rotate once again and stop.
You have the possibility to change various parameters in the config:
/var/mobile/Library/SBSettings/Toggles/NoRotation/NoRotation.plist
SafariAlwaysDisabled = 0; <-- if set to 1, the plugin will never be loaded into Safari and Safari will always rotate (no matter whether you toggle it on or off in SBSettings)
SafariAlwaysEnabled = 0; <-- if set to 1, the plugin will always be loaded into Safari and Safari will never rotate (no matter whether you toggle it on or off in SBSettings)
SafariRotateOnce = 1; <-- if set to 1, safari will rotate once at start to allow you to set it to landscape mode or portrait and then it wont rotate anymore
enabled = 1; <-- this is toggled by SBSettings, dont touch it
iPodAlwaysDisabled = 0; <-- if set to 1, the plugin will never be loaded into iPod and iPod will always rotate (no matter whether you toggle it on or off in SBSettings)
iPodAlwaysEnabled = 0; <-- if set to 1, the plugin will always be loaded into iPod and iPod will never rotate (no matter whether you toggle it on or off in SBSettings)
logLevel = 1; <-- defines how much should be logged to /var/log/syslog, change it only for debugging
So
this gives you a lot of flexibility. If you dont like coverflow at all
for example you can set iPodAlwaysEnabled to 1 and prevent coverflow
always from rotating and at the same be able to toggle the rotation in
safari on and off.
Ok,
so its not on cydia yet. I sent it to bigboss, but we have to wait till
everyone made icons for their themes and so on. You can download the
tar and install it manually:
http://www.mediafire.com/file/lz3zjyjykmy/...-by-crash-x.tar
Installation:
Just unpack it and copy all the stuff to the appropriate folders (you will see what belongs where once you unpack it).
Do not forget to chown -R mobile /var/mobile/Library/SBSettings/Toggles/NoRotation/
CREDITS to the amazing crash-x !!!!!!
Last edited by kookmasteraj; 29-November-2009 at 05:30 AM.
this is great will try when. I get home ^_^
i'm having a problem with turning off the norotation. i pressed the toggle into off, and it still prevents it from rotating.
wow soundss awesomee, can't wait till its in cydiaa!!
no, no really, thank you. well...me too if you like ;p
never mind it is working great.
good to save some ram, thanks.
can this be mod for beejive
i cant turn auto rotaion back on :(
dont forget to hit the thanks ;)
Any estimated time when this is going to be on Cydia?
I guess it's not coming to cydia?
Im unaware when it will, i did not make this app