[Q] How to properly edit Multi-touch keyboard from Defy+ - Defy Q&A, Help & Troubleshooting

I tried last days to add my native language dictionary and edited the keyboard format to show the special romanian characters.
It was a succes for LatinIME.apk available on CM7 roms: decompiled>edited (added dictionary and missing letters Ă, Ț and Ș)>compiled>signed>injected in system/app with Root Explorer>restart the phone. All worked fine. The Android Keyboard was recognized an works as it should.
The problem is I can't manage to do that with LatinIME.apk from oficial rooted Gingerbread ROM of Defy+ (not deodexed). The compilation and signing process works without problem (after editing) but the Keyboard is not recognised after injecting and restart. Perhaps I miss something. Can someone help me?

up!
How to recompile and sign a Blur LatinIME.apk?

LeopardSurd said:
up!
How to recompile and sign a Blur LatinIME.apk?
Click to expand...
Click to collapse
Hmm if I remember right I never signed system apps, just recompile and push. So if ur able to recompile then just push it.
Sent from my ICS Defy

NITRO_100 said:
Hmm if I remember right I never signed system apps, just recompile and push. So if ur able to recompile then just push it.
Sent from my ICS Defy
Click to expand...
Click to collapse
Unfortunately doesnt works. Another ideea?

Related

Howto: Install AOSP EMail + Exchange(Corporate)/ActiveSync on Gingerbread/CM7 ROMs.

This guide comes with no guarantee. Use at your own risk. Am not responsible for missed love letters and/or any other loss caused by following this guide.
Joestone’s Gingerbread has EMail app and has support for Exchange Sync(Corporate Account). However, Swiftdroid 2.0 M6 lacks this. Email.apk ripped from Joestone’s Gingerbread works perfectly with Swiftdroid 2.0 M6.
Click to expand...
Click to collapse
Update:
Would work on most CM7/Gingerbread builds and may work on many CM6/Froyo.
I’m attaching a copy of Email.apk. It is from Joestone's Gingerbread which is from AOSP and comes with Apache License.
You should install the provided apk as a system app on your Swiftdroid 2.0 M6 system.
Installing using Root Explorer.
Download the attached Email.apk to somewhere in the SD card.
Open Root Explorer.
Navigate to the downloaded to EMail.apk and copy it.
Navigate to /system/ and tap mount as r/w.
After /system/ is mounted as r/w, navigate to /system/app and paste Email.apk.
Long-press newly pasted Email.apk and select Permissions.
Change permissions by checking Read for User, Group and Others. Also, check Writer for User. This should change the file permissions to rw-r--r-- just like all the other apps.
Last but not the least, restart your phone immediately.
That’s it. Now, when you reboot, you should see EMail in the app drawer and you should also be able to add “Corporate” account by going to Settings > Accounts and Services > New Account.
I have tested this on my LG GT540 Optimus running Swiftdroid 2.0 M6. This may work on other 2.3/2.2 builds on any ROM/phone that lacks the Email app which is default in AOSP.
Advanced users may wish to install the apk via Terminal Emulator. Should you decided to install via Terminal or ADB Shell, the steps are the same. You should first mount /system/ as read/write. Then, copy the Email.apk to system/app. Then, change permissions of system/app/Email.apk as rw-r--r--. There are plenty of other guides on how to install apks as system apps. The same steps apply here. I’d skip the details.
I’d like to remind you all that Hotmail(Windows Live Mail) now supports Microsoft Exchange Sync(and, thus push email) for all users including free users and this is the main reason I wanted Exchange. =D
Just in case you want to setup your Live Id(Hotmail) with Android, here are the settings.
Domain: (Nothing. Not even space.)
Username: Your full email id.
Server: m.hotmail.com (SSL: enabled)
Go here for a detailed guide with step-by-step illustrations.
http://www.thesearethedroids.com/20...mail-mail-calendar-and-contacts-with-android/
Interesting, so are you sure there is no need of lib's files? Just the .apk?
Veronica
Sent from my GT540 using XDA App
lavero.burgos said:
Interesting, so are you sure there is no need of lib's files? Just the .apk?
Veronica
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Well, this method worked out for me. I've synced two accounts already. EMail seems to be working fine.
Most of the time, the required libs are packaged with the apk I guess. And, when you reboot, the system should install(extract) the apk, I think.
Further, like I said earlier, EMail should not need any low level access to drivers and stuff. It basically needs access to write to contacts, calendar and data storage as well as internet. All of which should be accessed using the Android API. So, it should work. This was my assumption when I started looking around.
I do not know why the EMail was omitted but CM7 does have the EMail built-in.
Anyway, as long as it can fetch my emails, am happy. =)
were is the Email.apk file in your startpost?
For some reason or other, and I cannot see the file either. Am on mobile. I'll reupload if I cannot see it desktop either.
desmail said:
were is the Email.apk file in your startpost?
Click to expand...
Click to collapse
Sent from my GT540 using XDA App
ok thank's .
desmail said:
ok thank's .
Click to expand...
Click to collapse
Reuploaded. I wonder what happened to the one I uploaded before. :S
thanks heaps for this apk , i was going out of my mind trying to sort out the email.apk for the cm7 rco thinking i must have made a mistake somewhere.
Out of interest does the cm7 m6 version have the email apk version in it or is it missing from there as well
Thanks
TheKaptone
TheKaptone said:
thanks heaps for this apk , i was going out of my mind trying to sort out the email.apk for the cm7 rco thinking i must have made a mistake somewhere.
Out of interest does the cm7 m6 version have the email apk version in it or is it missing from there as well
Thanks
TheKaptone
Click to expand...
Click to collapse
All the later versions including M6, M5 do not have an email apk. This was purposely omitted by Mur4ik I believe. I guess he doesn't use it. This apk was extracted from Joestone's AOSP Gingerbread and should technically work on any Gingerbread or CM7 build.
So good to have this apk, it works a treat and have been getting email no worries THANK YOU THANK YOU THANK YOU
sent from My Delorian
TheKaptone said:
So good to have this apk, it works a treat and have been getting email no worries THANK YOU THANK YOU THANK YOU
sent from My Delorian
Click to expand...
Click to collapse
You are welcome. I didn't do anything though. Everything was out there. I just posted it separately.
having some bugs while copying apk to /system/app, have message <not enough disk space to complete paste> can someone plz help ?
armansinlionel said:
having some bugs while copying apk to /system/app, have message <not enough disk space to complete paste> can someone plz help ?
Click to expand...
Click to collapse
It's not a bug. lol. The error speaks for itself. Are you using Mur4ik modified partition? It just means system partition is full. You can check free space by typing df in terminal emulator or adb shell df.
You need approximately 2MB free space for this app. Leave at least 5-10% free space in system partition.
Oh i c, sorry still newbie ... lol
I've install directly from sd card and seems to work fine.. u think will encounter some prob later ?
Sent from my GT540 using XDA App
armansinlionel said:
Oh i c, sorry still newbie ... lol
I've install directly from sd card and seems to work fine.. u think will encounter some prob later ?
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Install it on data/app(as a user app). Don't move it to SD. There won't be any problems but basically an EMail app is something you want to be on your phone always even when you have the SD removed.

[GUIDE] Add/Remove Languages to swype keyboard

How to add/remove languages to swype.
Preparation
* Get a tool capable of working in zip files. I use WinRar. WinZip, Total Commander or anything else should also work.
* Get a Swype Version which works on your device (QVGA for Galaxy 3). Install and test it! This is your base - it has to run propperly so you customize it. You can find swype keyboard swype inside a stock rom.
* Check your swype version & download a swype (With any resolution).
* When i refer to "dummyfile.apk", that is always meant without quotation marks.
Customization
* When you find your swype that suits to your device, we start. I refer to it now as "myswype.apk"
* Open "myswype.apk" in WinRar/Total Commander/Winzip/WhateverYouLike - we wont unpack it, we work inside it.
* Delete the "META-INF/" Folder inside "myswype.apk"
* Go to "Assets/Files" inside "myswype.apk"
* Each standard language consists of 3 Files here: "Language.htm", "Language-full.htm", "Language.le" - some complicated languages like korean may consist of up to 5 files.
* Delete the Languages you dont need.
* Dont delete anything else! Important files are "languages.lst", "license.dat", the two "Numbers-XX-Latin1.zkb.le" files, the four "QwertX-XX-Latin1.zkb.le" files and all .png's!
* Now copy additional languages from the other swype with the languages you want here. Of course it is in the same location: "theotherswype.apk/assets/files/" - remember: 3 files per language!
* Open "languages.lst" in any text editor - even notepad will do! (I use Notepad++)
* Write a list of Languages you wanna use here. The name to use is the name of the .htm file without .htm. This is case sensitive!
* The Contents of the original language.lst as an example: "EnglishUS,Spanish,Italian,PortuguesePT,German"
* Open "helplanguages.lst" in any text editor and repeat above steps
* Delete unneeded keyboards from "assets/keyboards/". The "SwypeRef*" are QWERTY default, the rest is self-explaining like QWERTY or AZERTY. There is no way to see what language needs what keyboard. You either know or you have to test.
* Delete chinese help-file from "res/raw/dict_pinyin.mp3". It's only needed if you use chinese.
* Recheck all your steps and close your zip-tool!
Optional: Customize Skin and Sound
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
* There are some skins at XDA forum, which already made it to a custom .apk file.
* The one and only soundfile, played when typing or finishing a word, is located at "myswype.apk/res/raw/beep.mp3" - change this if you like
Finalization
* Download a sign tool from xda (Auto-apk-tool v1.0.7 its nice)
* Open it and press "10". Drag "myswype.apk" to the command and press enter.
* A file will be created (myswype_signed.apk).
* Thats it! you are done! install the .apk and have a nice day!
Troubleshooting
* If you find your language not working, that usually got one of 3 Reasons:
* You messed something up. Recheck your "language.lst" and "helperlanguage.lst" file and see if you have all needed language files in "assets/files"
* Your language is not allowed by our included license file. That happens a lot with new languages like the Chinese in 2.10.52. Users reported workarounds with renaming the language to some supported language. Like renaming Serbian to Croation.
* The language files you got are not supported by the latest swype version. Rule of thumb is, 1.x swype language files wont work with 2.x language files, but 2.x language files are compatible with each other. As far as i know this rule applys in most but not all cases. So search for another swype version containing your desired language and try that file.
* We obtained another license file. Right now, it is unknown which languages it supports, but it is from swype 2.7 asia galaxy s. the license we currently use is 2.4.44 based. give it a try, it might work with your language. please also give feedback, which language works/doesnt work. copy it it "assets/files/" and overwrite the exiting license.dat
* Swype languages from swype 2.XX dont work on swype 3.XX!
kyrillos13 said:
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
Click to expand...
Click to collapse
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
debaj said:
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
Click to expand...
Click to collapse
I havent tried it but it will work
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
jinxskore said:
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
Click to expand...
Click to collapse
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Thanks. Will try n let u know...
used your guide to add engish uk to wqvga on us english only. it worked perfectly have now integrated this uk only swype into my jpq! ty!
kyrillos13 said:
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Click to expand...
Click to collapse
Not working.
Used AutoApkTool you provided. Signed my Swype 3.xx.apk. Got a resulting Swype 3.xx_signed.apk.
Copied to SD.
Then using Root Explorer, copied apk to /system/app
Went to Locale & Text...
Saw Swype Settings (but the was no "Enable Swype" checkbox)
Tried entering Swype Settings. Gives force close.
Uninstalled!!
Went to SD. Tried installing directly by clicking on the Signed.apk.
Installed like any normal app.
Went to Locale & Text...
Saw Swype Settings (this time, there was "Enable Swype" checkbox also)
Checked it.
Entered Swype Settings. Language, audio & vibration were grayed out, cant select (not that i want them though )
Went to text input box, new message compose.
Selected Swype as Input Method.
BACK TO SQUARE ONE. "Invalid License. Will have limited functionality"
Cant SWYPE at all!!!
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
EDIT:
It works! It works! It works!!!! Thanks man. U the MAN!!!
But I didnt use the QVGA, I used the WQVGA one.
Didnt sign it again as I saw it was already signed.
Installed it like any other app.
Exellent guide. 5 stars . Thanks
how can I get Swype Keyboard v3.25 from your rom? Do I have to install it first and then find swype on my Galaxy 3? Can sbd upload it here?
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- "Disk internals linux reader" can do apparently do it for windows. Thanks -Vinne2-
linux-extract factroryfs.rfs from the rom .tar. in a terminal cd to the folder with the file, then run (as root)
Code:
#mkdir mount
#mount -o -loop factoryfs.rfs mount
now the folder mount will be like the system folder in yourt phone, so go to the folder app and copy Swype.apk somewhere else.
mac - I don't have mac experience, but I think there might be a method similar to the one above for linux
Phone
Flash the rom, copy the file from /system/app/ (of course)
Put factoryfs.rfs on your sd card, do the same as for linux (isn't it great when your smartphone can do something that windows cant )
2. Installing your Swype​If you want to install it as a system app, you also have to put libSwypeCore.so in /system/lib. You can find libSwypeCore.so in the Swype apk in the lib folder. If you do this you can also delete the lib folder from the apk to save more space!
You can install it like a normal app (will go to data).
3. Signing the apk / -linux​There is no auto apk tool for linux so I made this script (well I didn't actually make it, I stripped down APK manager, so credits to Daneshm90( java is required, and I guess a chmod 755 may be necessary.
Extract, place the apk as Swype.apk in the "Swype-signing" folder, then run the script
Code:
$chmod 755 Script.sh
$./Script.sh
P.S. There was something else I wanted to say,... oh yeah, I dont know if I can post Swype here so if somebody wants it, I can send them the one from kyrillos's cm7/gingy rom (the 20+mb one with a lot of languages), just pm me and hopefully I'll see it soon afterwards .
I still have the feeling that I'm forgetting something
eidt: forgot the attachment
edit 2: forgot that our phone is linux based, updated the part about getting Swype.apk from a rom
stubborn_d0nkey said:
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- I dont know of any method. I dont think windows can access .rfs files.
linux-extract fa(...)
Click to expand...
Click to collapse
Try "Disk internals linux reader". http://forum.xda-developers.com/showpost.php?p=21569967&postcount=298
since I'm using Galaxy Tab 7.7, don't really know where to ask but here goes... My phone have Swype and I'd like to add additional language in Swype. How can I do this?
Followed all the steps, but
getting force close when trying to use
If i am trying to install from apk(and not by file delete and copy) I get "application not installed.
What can I do?
I want to add hebrew to my swype on Galaxy 3
Hey chaps,
the Swype that comes with any Samsung is version 3.26.92.39150, it comes with many language options but with no arabic. This guy has an earleir version of swype with arabic. http://forum.xda-developers.com/showthread.php?t=1588906
Can you please do me an apk file with arabic files from the link above into a swype of version 3.26.92.39150? Thanks. I tried the steps from the 1st post, but it aint working. I even tried this but did not work:
Rename arabic files to greek ones, and replace the original greek files, in a plan to select greek, but get arabic. but it aint working.
Please advise.
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
awdrifter said:
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
Click to expand...
Click to collapse
same question.
I'm trying to add portuguese language using swype "add language" function but every try show me "error" so I want to download manually the language dictionary and also add manually to the direction/file where could be located and be "readable" by swype.
Thanks in advance for your help

Issue when trying to mod Mms.apk (BCM CM9 Rom)

Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
FrancisFuku said:
Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
Click to expand...
Click to collapse
I have the exact same problem! Did you find any solution?
I gave up but I've found a Mms.apk (from the latest CM9 source) which does include a option to not convert SMS into MMS (you have to change it in the settings of the app). But it is for the HTC One X, so I do not know if it works for other devices. I attach it so you can try.
Thank you
Sent from my HTC Desire CDMA using Tapatalk 2
The problem is that all apps must be signed to run on Android. Once you recompile your apk with apktool, you have to sign it with a release key (and optionally but recommended - run zipalign), before pushing it back to your phone.
The android developers guide has an excellent article on creating a set of release keys and using them to sign your apk (the apk just has to be signed with any key, it doesn't have to match the same key the original ROM authors used).

Problem with edited APK's - xpost from General

Hi all,
First of all, apologies for the xpost...
Question re: weird behaviour on APK files I've edited according to http://forum.xda-developers.com/showpost.php?p=23923507&postcount=2
I use a couple of apps regularly and have tried modifying them to make the UI suit me a bit better. For what it's worth, one's a Twitter app and one's a keyboard.
I've used apktool to decompile them, edited certain res .xml files to change the interface and then compiled them again with apktool. I've then signed them using Sigare (obviously it's not signed using the original developers key, but a key that I've made)
I've then replaced the apk in data\app with my modified one.
The problem is that, while the new app works for a little white, after a while it just disappears from my app list. When I go to run it directly, I get a message that the app won't load.
TL;DR: apps I've modified work to start with and then don't. Anyone think of a reason?
have you read this answer of mine?
http://forum.xda-developers.com/showpost.php?p=25205513&postcount=239
spirosbond said:
have you read this answer of mine?
http://forum.xda-developers.com/showpost.php?p=25205513&postcount=239
Click to expand...
Click to collapse
I did thanks. Giving it a go now
Arrow Problem with edited APK's (updated
I've tried a couple of things and got these edited APK's to install and work
...initially.
Fire it up the next morning and find that the app crashes
Ideas?

[MOD] Add top number row to Swype

Hello guys,
Since I use a Samsung device, I'm used to the extra number row on top of the keyboard so I modded Swype to have that extra row. However since Swype is to be purchased and not distributed, I'll only tell here how to do it for your legally purchased copy. And this is a bit complicated and for advanced users and you need to be rooted. You also need Root Explorer. Here we go:
1- First buy/download Swype from Google Play.
2- Go to /mnt/asec/com.nuance.swype.dtc-1 folder, copy pkg.apk to your sdcard, rename it to com.nuance.swype.dtc-1.apk.(keep a backup of this file at all times)
3- Go to /mnt/asec/com.nuance.swype.dtc-1/lib folder copy the files (libnmsp_speex.so and libswypecore.so) to your sdcard.
4- Using apktool (I used version 1.52) decompile com.nuance.swype.dtc-1.apk.,
5- Go to decompiled folder\res\xml folder. kbd file pertaining to your language is to be edited, I edit kbd_qwerty.xml for English using Notepad++.
6- Check the attached kbd_qwerty.xml in portrait folder and notice the extra row section I added to the top. You can in fact add secondary characters to numbers or customize the keyboard completely, rearrange letters, add symbols etc.
7- Once done, save the file and go to decompiled folder\res\xml-land folder and edit the landscape for the layout, kbd_qwerty.xml file, notice the attached file in landscape folder.
8- Once done, save the file and go to decompiled folder\res\values folder and edit the dimens.xml file. Here I raise the height of the keyboard and height of the key to 270dip and 54dip respectively, check the top rows of the attached dimens.xml. Also increase the keyboard height for landscape (if you want) by changing the dimens.xml under res\values-land folder.
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
10- Open temp.apk.zip with 7z/winrar and copy the resources.arsc and kbd_qwerty.xml files from res\xml and res\xml-land folders to your PC(obviously keep the 2 files in seperate folders not to overwrite)
11- Then, rename the original apk from step 2 to com.nuance.swype.dtc-1.apk.zip , open with winrar and first delete resources.arsc file, then drag the resources.arsc file from step 10 to the archive, it will be added. Staying in winrar, go to res\xml folder and replace the file with kbd_qwerty.xml from step 10 (the portrait version). Do the same with res\xml-land folder and the landcape file.
12- Once finished rename the file back to com.nuance.swype.dtc-1.apk, don't sign it, don't delete META-INF folder, leave it as it is.
13- Now, on your phone, uninstall Swype. Reinstall it from the apk file on Step 2. Go to /data/app-lib/com.nuance.swype.dtc-1 folder and move the 2 files (libnmsp_speex.so and libswypecore.so) to system/lib folder. You have to mount the System R/W from Root Explorer on this step. Fix the permissions so these 2 files have the same permissions with other files there. If you can't find these files just use the ones from Step 3.
14- Once done, copy com.nuance.swype.dtc-1.apk from Step 12 to /system/app and fix the permissions so that it has the same permissions as other files there.
15- Then delete the com.nuance.swype.dtc-1.apk from /data/app/ folder. Restart your phone.
This should be it if you followed it exactly, tracing and Dragon voice dictation also works. While you're doing all this work (takes 10 minutes by the way), you might also consider changing how Swype looks (theming) and changing many other things like swype thickness, colors etc. Please note that this is for advanced and rooted users and please don't ask me to give you the modded apk, you have to do it on your legally bought version. You might consider doing backups just in case anything goes wrong. Have fun.
And a quick tip: if you swype from swype icon to symbol key(123), arrow keyboard opens up.
You can also add arrow keys by copying arrow keys from kbd_edit.xml, check the 2nd screenshot.
Please hit the thanks button if you think this is useful.
Nice how to. But may u should tell that the latest Android versions store purchased apps in data/app-asec as asec version, this need special procedure to get a apk from the asec format.
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
lesalloum said:
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It works same for me on 4.3 stock rooted i9500, maybe you could do a file search to find the necessary folder. Here is another screenshot with the updated Swype(1.6.2.22328), where I made number buttons smaller like original Samsung Keyboard and hide the suggestions bar to save space.
ozkaya said:
Hello guys...
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
....
Click to expand...
Click to collapse
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EDIT: well, i just tried using TW framework too without success
PhilDX said:
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EXIT: well, i just tried using TW framework too without success
Click to expand...
Click to collapse
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
ozkaya said:
Latest version of Skype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
i'll give this a shot tomorrow, thanks a lot!
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
it works!!!
thanks man, appreciate the help and info!
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
TeknoGodz said:
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
Click to expand...
Click to collapse
You don't install the final apk, in fact you can't since the certificate is no longer valid. You copy the final apk in place as in Step 14.
I would love this! I have used Swype for years but I would love a number row. To be honest I have no idea how to follow those instructions! I have a rooted phone - what can I do?
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
mr.BeBoT said:
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
Click to expand...
Click to collapse
When you install a new ROM, you install original Swype from apk file then you move the lib files to /system/lib, copy the modded apk to /system/app and delete original apk from /data/app folder. So it is 4 steps once you have the modded apk ready, should take no more than 5 minutes.
thumm138 said:
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Click to expand...
Click to collapse
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
Yeah I realized that after I posted and still nothing. I'm no programmer but I've never NOT been able to change a few things and recompile. Not sure how just changing a few color codes is causing such a problem. Shame such a nice keyboard has such little customization and few themes. Don't get me wrong I like orange but it really doesn't mesh at all with the rest of the UI. Thanks for the reply though.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
TeknoGodz said:
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
Click to expand...
Click to collapse
It depends on your system language. Try kbd_qwerty_panlatin.xml.
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
Thank you for this change, this is exactly what I was looking for to compile.
Once again my Swype is blue!!! :victory:
here's my creation, what do you guys think?
the theme is "Lucid" from the pay store: https://play.google.com/store/apps/...lucid&pcampaignid=APPU_8szYUoedK9PNsAThnoDQDQ

Categories

Resources