Quote:
Originally Posted by SephirothOS
It currently is jailbroken, sadly I just bought it and didn't notice this right away.
So I was just wondering if I could ssh into it and maybe find the plist of the sms application and change it?
|
Wow, sorry to hear that. Maybe you should try to get your money back and get a new phone. Otherwise, though, your idea is very smart. Just SSH into the /Applications/ folder, go into the folder for Messages.app, or whatever the name is (I don't have an iPhone, so I don't know), and search there for info.plist, or Messages-info.plist. Download it to a folder on your computer. Write down it's permissions, also. Now, do you have a mac or a PC? Macs can read an info.plist file really easily, but I don't know about how to do it on a PC.
So, if you don't have a mac, try to find a friend with one or go to the library. Once you are on a Mac, try to open the file. If you don't see a bunch of <key></key> and <string>, then it is in binary format and needs to be converted into xml. You can use this website for that:
Binary — XML .plist converter - iAppCat
Once you have the XML info.plist file, open it up in TextEdit. Look for a Key that says "UIInterfaceOrientation". If it is there, change the value to "UIInterfaceOrientationLandscapeRight". If not, at the bottom, paste this in:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>
Now, convert it back to binary using the same website. You don't need to do this, I think, but you might as well. Then, SSH back into your iPhone and put it in the same place that you found it, with the same permissions as the old one. The messages app should now start up in landscape mode. If this doesn't work, tell me, but I hope it will.