Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Arsaw

21st January 2013, 06:57 PM   |  #1  
Arsaw's Avatar
OP Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,844
 
4,199 posts
Join Date:Joined: Dec 2010
Donate to Me
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:
Last edited by Arsaw; 13th April 2013 at 07:59 PM.
The Following 34 Users Say Thank You to Arsaw For This Useful Post: [ View ]
21st January 2013, 07:40 PM   |  #2  
cb1100r's Avatar
Senior Member
Flag Fécamp (76)
Thanks Meter: 208
 
1,881 posts
Join Date:Joined: May 2007
More
sorry but no working with my stock XXLDLL7 Odex Stock ( i deleted the SamsungIME.odex file)
22nd January 2013, 12:47 AM   |  #3  
Member
Flag VA
Thanks Meter: 6
 
65 posts
Join Date:Joined: Mar 2010
More
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
22nd January 2013, 01:18 AM   |  #4  
Arsaw's Avatar
OP Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,844
 
4,199 posts
Join Date:Joined: Dec 2010
Donate to Me
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
Quote:
Originally Posted by cb1100r

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
22nd January 2013, 01:21 AM   |  #5  
Arsaw's Avatar
OP Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,844
 
4,199 posts
Join Date:Joined: Dec 2010
Donate to Me
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
Quote:
Originally Posted by lehoi79

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: [ View ]
22nd January 2013, 01:38 AM   |  #6  
Member
Flag VA
Thanks Meter: 6
 
65 posts
Join Date:Joined: Mar 2010
More
[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, 253 views)
22nd January 2013, 04:20 AM   |  #7  
Arsaw's Avatar
OP Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,844
 
4,199 posts
Join Date:Joined: Dec 2010
Donate to Me
[QUOTE=lehoi79;37016647]
Quote:
Originally Posted by Arsaw

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, 301 views)
The Following 2 Users Say Thank You to Arsaw For This Useful Post: [ View ]
22nd January 2013, 06:02 AM   |  #8  
Member
Flag VA
Thanks Meter: 6
 
65 posts
Join Date:Joined: Mar 2010
More
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
[QUOTE=Arsaw;37021118]
Quote:
Originally Posted by lehoi79




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: [ View ]
22nd January 2013, 06:17 AM   |  #9  
Senior Member
Flag Kurnool, Andhra Pradesh
Thanks Meter: 4,393
 
2,691 posts
Join Date:Joined: Nov 2009
More
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: [ View ]
22nd January 2013, 06:25 AM   |  #10  
Arsaw's Avatar
OP Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,844
 
4,199 posts
Join Date:Joined: Dec 2010
Donate to Me
Re: [MOD] Auto Correction Feature Added on Samsung Keyboard
[QUOTE=lehoi79;37022947]
Quote:
Originally Posted by Arsaw


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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes