+ Reply
Results 1 to 16 of 16

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Turn off Auto Correction

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
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
...
  1. #1
    Livin the iPhone Life
    Join Date
    Jul 2007
    Location
    City of Brotherly Love
    Posts
    1,834
    Thanks
    104
    Thanked 321 Times in 176 Posts

    Default Turn off Auto Correction
    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


  2. The Following 2 Users Say Thank You to .:MirrorminD:. For This Useful Post:

    arthursdomain (07-24-2007), Portdogmc (07-26-2007)

  3. #2
    iPhone? More like MyPhone
    Join Date
    Jun 2007
    Location
    NJ
    Posts
    108
    Thanks
    2
    Thanked 7 Times in 4 Posts

    Thats awesome! I hope there is a way of enabling the landscape keyboard for text messages somehow.. then my phone would be set!

  4. #3
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,473
    Thanks
    568
    Thanked 4,798 Times in 1,222 Posts

    Ah, nice find. Thats a good hack.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  5. #4
    Retired Moderator arthursdomain's Avatar
    Join Date
    Jul 2007
    Location
    Mililani, Hawaii
    Posts
    850
    Thanks
    12
    Thanked 135 Times in 85 Posts

    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

  6. #5
    Livin the iPhone Life Napoleon_PhoneApart's Avatar
    Join Date
    Jun 2007
    Location
    Upper Marlboro, MD
    Posts
    1,321
    Thanks
    166
    Thanked 88 Times in 76 Posts

    Quote Originally Posted by arthursdomain View Post
    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."

  7. #6
    What's Jailbreak? havokhybrid's Avatar
    Join Date
    Jul 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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; 07-24-2007 at 03:51 PM.

  8. #7
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...

  9. #8
    Livin the iPhone Life JedixJarf's Avatar
    Join Date
    Jun 2007
    Posts
    1,917
    Thanks
    30
    Thanked 129 Times in 102 Posts

    Wow, nice.

  10. #9
    iPhoneaholic
    Join Date
    Jul 2007
    Location
    Newport News, VA
    Posts
    493
    Thanks
    0
    Thanked 39 Times in 35 Posts

    Hell ova Find!

  11. #10
    My iPhone is a Part of Me JakeyBoy's Avatar
    Join Date
    Jun 2007
    Posts
    501
    Thanks
    45
    Thanked 66 Times in 48 Posts

    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"




  12. #11
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    1
    Thanked 2 Times in 2 Posts

    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

  13. #12
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    24
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Thanks, .:MirrorminD:.

    Followed your guide and it works like a charm

    Cheers!

  14. #13
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thanks a lot!
    now typing in italian it is a dream!

    by

  15. #14
    iPhoneaholic theone77's Avatar
    Join Date
    Oct 2007
    Location
    PlaNeT Earth in the Middle Part
    Posts
    442
    Thanks
    47
    Thanked 276 Times in 112 Posts

    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

  16. The Following 2 Users Say Thank You to theone77 For This Useful Post:

    jerrycan (02-06-2008), Nefarious (11-24-2007)

  17. #15
    What's Jailbreak?
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Help!
    So I'm a novice at this mod thing - where do I put the mod file to get the autocorrection option to show up?

  18. #16
    iPhone? More like MyPhone
    Join Date
    Apr 2008
    Posts
    147
    Thanks
    20
    Thanked 7 Times in 4 Posts

    Quote Originally Posted by cfisher69 View Post
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts