1. .:MirrorminD:.'s Avatar
    Taken from hackint0sh:
    I experimented a bit with the preferences application and especially the plists. If you go in the directory Applications/Preferences.app you will see a number of them. The plists are parsed by the preferences application. Depending on the content, the preferences are shown. This means, by changing the plists you can change the configuration and most importantly, add missing things. I started with the Keyboard.plist. When you open the file you find an entry like this:

    <dict>
    <key>cell</key>
    <string>PSSwitchCell</string>
    <key>default</key>
    <integer>0</integer>
    <key>defaults</key>
    <string>com.apple.Preferences</string>
    <key>key</key>
    <string>KeyboardCapsLock</string>
    <key>label</key>
    <string>Enable Caps Lock</string>
    </dict>

    the cell defines the way the option is presented to you, in the example, a PSSwitchCell is a simple on/off switch. There are a number of other cells available. In the example, the value for the cell is read from and written to the KeyboardCapsLock variable. It is also possible to define a get and set function (which could be quite interesting)...

    When you search for the term "KeyboardCapsLock" you will see that it is defined in a file named "UIKit" and that there is another quite interesting variable nearby called "KeyboardAutocorrection". So, by adding the following lines to your keyboard.plist:

    </dict>
    <dict>
    <key>cell</key>
    <string>PSSwitchCell</string>
    <key>default</key>
    <integer>0</integer>
    <key>defaults</key>
    <string>com.apple.Preferences</string>
    <key>key</key>
    <string>KeyboardAutocorrection</string>
    <key>label</key>
    <string>Enable Autocorrection</string>
    </dict>

    and uploading the changed file to your iPhone, you can finally turn off the autocorrection function. This is nice if you typically type in a foreign language. I also scanned the other plists a bit. One extremely interesting one is Safari.plist, located in a bundle (however, called by the preferences application).

    \System\Library\PreferenceBundles\MobileSafariSett ings.bundle

    If you look inside and search for "WebKitJavaScriptEnabled" (one of the values of the file) you will see that it is defined in a file called WebKit that offers a large number of other possible interesting variables, for example "WebKitJavaEnabled" (hmmm...) WebKitDebug, WebKitLogLevel, WebKitDefaultFontSize and so on. I tried the same trick as described above but this time, unfortunately, my encoded plist was not correctly accepted by the iPhone (I don't know why)... I think that there is a binary version needed. So, if you have a mac and can do a binary version please try it, I would be interested to know.
    Modded File

    2007-07-24 04:13 PM
  2. Junkers's Avatar
    Thats awesome! I hope there is a way of enabling the landscape keyboard for text messages somehow.. then my phone would be set!
    2007-07-24 04:29 PM
  3. Kyle Matthews's Avatar
    Ah, nice find. Thats a good hack.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
    2007-07-24 07:45 PM
  4. arthursdomain's Avatar
    nice mod, adding it to my phone now. the stupid auto-correction gets my word wrong like 40&#37; of the time, esp cuz im from hawaii and we have some hawaiian words that arent in the english dictionary. it is cool that it tries to learn, but i dont think it learns fast enough, and i hate hitting the X to NOT have it change my word. when im typing im looking at the keyboard not the screen :P
    2007-07-24 10:12 PM
  5. Napoleon_PhoneApart's Avatar
    nice mod, adding it to my phone now. the stupid auto-correction gets my word wrong like 40&#37; of the time, esp cuz im from hawaii and we have some hawaiian words that arent in the english dictionary. it is cool that it tries to learn, but i dont think it learns fast enough, and i hate hitting the X to NOT have it change my word. when im typing im looking at the keyboard not the screen :P
    Hey. we can't help it if your Hawaiian words usually have six or seven vowels in a row!

    Actually, I love the word "aa."
    2007-07-24 11:13 PM
  6. havokhybrid's Avatar
    I uploaded your moded file. WORKING GREAT. I love it.

    Any news on be able to edit the keyboard to go into landscape in other apps?
    Last edited by havokhybrid; 2007-07-24 at 11:51 PM.
    2007-07-24 11:37 PM
  7. nyckid's Avatar
    awesome mod!!! very useful... yes i would also love to find a hack to allow keyboard in landscape mode for emails, and sms texting as well...
    2007-07-26 08:15 AM
  8. JedixJarf's Avatar
    Wow, nice.
    2007-07-26 06:43 PM
  9. SiLeNtKiLLa's Avatar
    Hell ova Find!
    2007-07-29 06:29 AM
  10. JakeyBoy's Avatar
    Very nice this could lead to being able to change themes on the phone without a computer or something cool like that.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Old School Gaming Matrix
    Deviant Art
    "Don't think you can, know you can"



    2007-07-29 07:36 PM
  11. ulrikhansen's Avatar
    would this enable me to add some of my Danish characters. We have , and . The ae combined, the o with a line through and the a with a small circle above. I've been thinking about changing some of the less use or well placed punctuation keys with these three.

    Appriciate any help, I might start a seperate post, just thought I'd ask here first.

    Ulrik Hansen
    2007-07-30 01:04 PM
  12. cheldan's Avatar
    Thanks, .:MirrorminD:.

    Followed your guide and it works like a charm

    Cheers!
    2007-11-13 06:38 PM
  13. SirJon's Avatar
    thanks a lot!
    now typing in italian it is a dream!

    by
    2007-11-19 04:15 PM
  14. theone77's Avatar
    just install KB from the installer app in tweaks category then it will show now on ur setting/general/keyboard off now the enable autocorrection..simple things and no need to edit anything
    2007-11-22 04:50 PM
  15. cfisher69's Avatar
    So I'm a novice at this mod thing - where do I put the mod file to get the autocorrection option to show up?
    2008-11-12 03:49 PM
  16. dis1krazyazn's Avatar
    So I'm a novice at this mod thing - where do I put the mod file to get the autocorrection option to show up?
    SSH it into /Applications/Preferences, reset your phone, and then it will show on your phone under Settings>General>Keyboard
    2008-11-17 04:31 AM
LINK TO POST COPIED TO CLIPBOARD