Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,128 Members 40,617 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Auto Correct and Uses System Font for Samsung Keyboard

Tip us?
 
Arsaw
Old
(Last edited by Arsaw; 13th April 2013 at 06:59 PM.)
#1  
Arsaw's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,258
Posts: 4,112
Join Date: Dec 2010
Location: Kuala Lumpur

 
DONATE TO ME
Default [MOD] Auto Correct and Uses System Font for Samsung Keyboard

Hi,

It is strange Samsung doesn't add the option to enable auto correction or auto complete word with spacebar in Samsung Keyboard. Nevermind, thanks to Greenlant for the link to the guide and thanks to eclipxe for the guide to add this feature in Samsung Keyboard.

Tested working on version N7100 DLL7 and should work on all version of N7100 Samsung JB 4.1.2

To install this feature, just download the zip file at the link below and flash in recovery (only with custom recovery). Clear dalvik cache recommended. Please make a backup just in case something went wrong.


Update 12 Apr 2013
Modded XXDMB6 keyboard with S4 themed




Download :

N7100 XXDMB6 without Auto Correct (S4 themed)

N7100 XXDMB6 with Auto Correct(S4 themed)

N7105 240DPI with Auto Correct, 200ms long press & system font

N7100 ZSDMA6 with Auto Correct, 200ms long press & system font

N7100 ZSDMA6 with 200ms long press & system font. No Auto Correct


Older mods:
The Following 34 Users Say Thank You to Arsaw For This Useful Post: [ Click to Expand ]
 
cb1100r
Old
#2  
cb1100r's Avatar
Senior Member
Thanks Meter 208
Posts: 1,881
Join Date: May 2007
Location: Fécamp (76)
sorry but no working with my stock XXLDLL7 Odex Stock ( i deleted the SamsungIME.odex file)
Samsung Galaxy Note II black /Orange France

http://pierremarie.wordpress.com/
 
lehoi79
Old
#3  
Member
Thanks Meter 6
Posts: 64
Join Date: Mar 2010
Location: VA
Default Re: [MOD] Auto Correction Feature Added on Samsung Keyboard

Op,

is it possible for u to modify the ATT deodexed version for us ATT users? I been waiting for this mod for so long.

Thanks!

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
 
Arsaw
Old
#4  
Arsaw's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,258
Posts: 4,112
Join Date: Dec 2010
Location: Kuala Lumpur

 
DONATE TO ME
Default Re: [MOD] Auto Correction Feature Added on Samsung Keyboard

Quote:
Originally Posted by cb1100r View Post
sorry but no working with my stock XXLDLL7 Odex Stock ( i deleted the SamsungIME.odex file)
Re-upload. Please try again.

Sent from my GT-N7100 using Tapatalk 2
 
Arsaw
Old
#5  
Arsaw's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,258
Posts: 4,112
Join Date: Dec 2010
Location: Kuala Lumpur

 
DONATE TO ME
Default Re: [MOD] Auto Correction Feature Added on Samsung Keyboard

Quote:
Originally Posted by lehoi79 View Post
Op,

is it possible for u to modify the ATT deodexed version for us ATT users? I been waiting for this mod for so long.

Thanks!

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
I will try but I need the SamsungIME.apk

Sent from my GT-N7100 using Tapatalk 2
The Following User Says Thank You to Arsaw For This Useful Post: [ Click to Expand ]
 
lehoi79
Old
#6  
Member
Thanks Meter 6
Posts: 64
Join Date: Mar 2010
Location: VA
[QUOTE=Arsaw;37016155]I will try but I need the SamsungIME.apk

Here it is. This is 4.1.2 stock samsung IME from deodexed AT&T rom. (CleanRom SE). Hope you can mod this for us, many thanks!
Attached Files
File Type: apk SamsungIME.apk - [Click for QR Code] (7.22 MB, 249 views)
 
Arsaw
Old
#7  
Arsaw's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,258
Posts: 4,112
Join Date: Dec 2010
Location: Kuala Lumpur

 
DONATE TO ME
[QUOTE=lehoi79;37016647]
Quote:
Originally Posted by Arsaw View Post
I will try but I need the SamsungIME.apk

Here it is. This is 4.1.2 stock samsung IME from deodexed AT&T rom. (CleanRom SE). Hope you can mod this for us, many thanks!


Here you go. Hope it works for you.
Attached Files
File Type: zip SamsungKeyboard_AutoCorrection.zip - [Click for QR Code] (5.03 MB, 293 views)
The Following 2 Users Say Thank You to Arsaw For This Useful Post: [ Click to Expand ]
 
lehoi79
Old
#8  
Member
Thanks Meter 6
Posts: 64
Join Date: Mar 2010
Location: VA
Default Re: [MOD] Auto Correction Feature Added on Samsung Keyboard

[QUOTE=Arsaw;37021118]
Quote:
Originally Posted by lehoi79 View Post



Here you go. Hope it works for you.
awesome, I'll try it now and let u know. thank u

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

---------- Post added 22nd January 2013 at 12:02 AM ---------- Previous post was 21st January 2013 at 11:29 PM ----------

didnt work...
flashed in recovery, wiped cache and delvik cache, rebooted

Samsung keyboard disappeard from the input menu... I see the apk in system\app but doesn't show up in the settings...

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
The Following User Says Thank You to lehoi79 For This Useful Post: [ Click to Expand ]
 
grgsiocl
Old
#9  
Senior Member
Thanks Meter 4,368
Posts: 2,654
Join Date: Nov 2009
Location: Kurnool, Andhra Pradesh
Nice Mod!

HOW TO

target following file smali/com/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule.smali

PHP Code:
     :goto_1
     
const/16 v70xa
 
-    if-ne p1v7, :cond_4
+    if-ne p1v7, :cond_5
 
     invoke
-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->sendEnterKeyHandle()V
 

     
goto :goto_0
 
     
:cond_3
+    iget-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+    
invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
+
+    
move-result v7
+
+    if-
lez v7, :cond_4
+
+    
iget-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
+
+    
iget-object v8p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
+
+    
invoke-interface {v7v8v9}, Lcom/diotek/ime/framework/engine/InputEngineManager;->getCharSequence(Ljava/lang/StringBuilder;I)I
+
+    
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->updateSuggestion()V
+
+    
invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->setComposingText()V
+
+    :
cond_4
+    invoke-virtual {p0}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->clearCandidateList()V
+
     
iget-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mEngineManager:Lcom/diotek/ime/framework/engine/InputEngineManager;
 
     
iget-object v8p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mCandidates:Ljava/util/ArrayList;

 
     goto :
goto_1
 
-    :cond_4
+    :cond_5
     iget
-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mRepository:Lcom/diotek/ime/framework/repository/Repository;
 
     const-
string v8"IN_MULTITAP"

 
     
move-result v5
 
-    if-eqz v5, :cond_5
+    if-eqz v5, :cond_6
 
     invoke
-virtual {p0p1p2}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->processMultiTapSymbolicKey(I[I)V
 
     
goto/16 :goto_0
 
-    :cond_5
+    :cond_6
     iget
-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mAutoSpaceController:Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;
 
     
invoke-virtual {v7p1}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->isEnableAutoSpaceAtSymbol(I)Z
 
     move
-result v7
 
-    if-eqz v7, :cond_6
+    if-eqz v7, :cond_7
 
     invoke
-virtual {p0v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V
 

 
     invoke
-virtual {p0v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)V
 
-    :cond_6
+    :cond_7
     invoke
-virtual {p0v10}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->finishComposing(Z)V
 
     iget
-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;

 
     
move-result v7
 
-    if-eqz v7, :cond_7
+    if-eqz v7, :cond_8
 
     iget
-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
 

 
     
invoke-virtual {v7}, Lcom/diotek/ime/framework/input/autospace/AutoSpaceController;->disableSetUpAutoSpace()V
 
-    :cond_7
+    :cond_8
     iget
-object v7p0Lcom/diotek/ime/framework/input/AbstractInputModule;->mComposing:Ljava/lang/StringBuilder;
 
     
invoke-virtual {p0v7}, Lcom/diotek/ime/framework/input/SwiftkeyQwertyLatinInputModule;->commitTextAndInitComposing(Ljava/lang/CharSequence;)
The Following User Says Thank You to grgsiocl For This Useful Post: [ Click to Expand ]
 
Arsaw
Old
#10  
Arsaw's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,258
Posts: 4,112
Join Date: Dec 2010
Location: Kuala Lumpur

 
DONATE TO ME
Default Re: [MOD] Auto Correction Feature Added on Samsung Keyboard

[QUOTE=lehoi79;37022947]
Quote:
Originally Posted by Arsaw View Post

awesome, I'll try it now and let u know. thank u

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

---------- Post added 22nd January 2013 at 12:02 AM ---------- Previous post was 21st January 2013 at 11:29 PM ----------

didnt work...
flashed in recovery, wiped cache and delvik cache, rebooted

Samsung keyboard disappeard from the input menu... I see the apk in system\app but doesn't show up in the settings...

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
I guess I need another file from you. Can you send the framework-res.apk to me?

Sent from my GT-N7100 using Tapatalk 2

Tags
samsung keyboard auto correction
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes