yashsingh1/xdaforums huggingface dataset:
[Android Software Development] hejay:
Thanks a bunch for the updated template files, works great on Lolipop! Any idea of how I would change (reduce) the size (height) of just the number keys? Thanks in advance.
[Android Software Development] PhilDX:
i haven't played with this keyboard in a long time (haven't figured out how to successfully install on marshmallow), but this line in /values*/dimens.xml looks promising:

<dimen name="key_height_5row">53.0dip</dimen>

just make the value "53.0" a little smaller, whatever you like.

note that this tag also shows up in /values-land*/dimens.xml (applicable in landscape orientation).
[Android Software Development] Hi78sk:
I couldn't make this working.

Can any sm-n900 owner share his modded apk file please
[Android Software Development] hejay:
Thanks, I'll try it out.
[Android Software Development] brooklynite:
I got Swype from Amazon App Store and I get stuck in the secon step:

2- Go to /mnt/asec/com.nuance.swype.dtc-1 folder

The folder is empty! I guess the Amazon version uses different folder structure. I searched for "nuance" and nothing came up.
[Android Software Development] samep:
Not necessarily true. You should find what you need in /data/app/com.nuance...

Post 198 may be of use as well as those around it plus look for templates in recent posts if you need those.

Amazon license just means you'll need their appstore to validate your modified copy which is manually applied to system and installed on reboot. All those still apply to you. This mod isn't a crack so licences still apply; I don't think Amazon is any exception to the methods and application outside of the need for their app to validate.
[Android Software Development] samep:
PM with some suggestions sent. You can reply privately or publicly, I didn't want the screenshots taking up XDA real estate & requiring unnecessary scrolling.

Can you be more specific about the issue? Apk or install? Thanks.
[Android Software Development] Alraan:
Anyone had success with this mod in Marshmallow?

I had no problem in Lolipop, but can't make it work after upgrading to Marshmallow.
[Android Software Development] robertogl:
Same problem here...
[Android Software Development] robertogl:
Ok i've lost a lot of time but i've achivied something. I've create an Xposed Module that does all the work described in the first post. It edits the two xmls ('kbd_qwerty_panlatin' and 'kbd_qwerty_panlatin_sym') adding a row number to the first (and the 'left-right' key). It also change the keyboard and keys dimensions (same size of first post). You don't need anymore to do that horrible work, edit apk and similar... ;)

You can test it, module's thread is here: http://xdaforums.com/xposed/modules/app-swype-row-t3297733
[Android Software Development] FcukBloat:
so many thanks to you and ozkaya! wonderful work at last it seems I have now the perfect keyboard :)

thanks again to you two! :good::good::laugh:
[Android Software Development] Einheit-101:
Here i have created an improved German Layout:

http://imgur.com/YC3bgxI

Works pretty well For me. Thx a lot.
[Android Software Development] TONY6669:
any one tried it with newest one yet ? if so can you post a template 2.1.1 version
[Android Software Development] Puddies:
I have a modded version for a german layout:
[Android Software Development] TONY6669:
Still no number row

Sent From Gurple Tapatalk
[Android Software Development] Puddies:
Huh? My Template has a Number Row.
[Android Software Development] dafunk2:
Anyone tried to install the latest release as a system app on Android 6?

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Android Software Development] TONY6669:
Couldn't get number row must just me missing something

Sent From Gurple Tapatalk
[Android Software Development] PhilDX:
I haven't been able to get this mod to work on Android 6
[Android Software Development] TONY6669:
Didn't work on American keyboard yet but still working on it
[Android Software Development] TONY6669:
Got it working

Sent From Gurple Tapatalk
[Android Software Development] samep:
Swype v2.1.1.2010100.41891-template

samep_Swype2.1.0.2010030.41841-template.zip

samep_Swype2.1.1.2010100.41891-template.zip

If anyone is still using or waiting for this template for recent update, it's finally uploaded and posted.

Pictured is my themed Earth.apk

Anyone else seeing crooked screenshots on XDA today? LOL.
[Android Software Development] samep:
Android 6 Install

Just something different I just tried on MM leak:

1) Install Swype from Google Play normally [/data/app]

2) Use command prompt lines in POST 198, DELETE old files, PASTE files accordingly from TEMPLATE in post above this one before the POST 198 compile command.

3) (Recommend skip to step 4; at least for Samsung Odex, works best with Root Explorer from Speed Software Ltd.) From parent of dist folder, right-click shift, scroll to launch command prompt window here and enter: adb push Swype.apk /data/app/com.nuance.swype.dtc-1/base.apk (or copy over original with root browser). adb shell chown 1000:1000 /data/app/com.nuance.swype.dtc-1/base.apk then adb shell chmod 0644 /data/app/com.nuance.swype.dtc-1/base.apk (These steps, while accurate, just didn't get an immediate functional app like Root Explorer did!)

4) OR- using Root Explorer, goto folder /data/app/com.nuance.swype.dtc-1 replace only base.apk in phone directory and set base.apk permission as 0644; reboot or wait for app start, then set owner/group as system, system. I was able to update Swype then overwrite the modified version without losing data or having to reboot.

5) deleted for ROMs with Odex and oat files in application folders like Samsung. Deodex may require more, like deleting the dex file at /data/dalvik-cache for com.nuance.swype.dtc and reboot.

6) You may not have to but reboot to install modified-copied app in place of original; Android should optimize and start one apk but may not for updates.

7)profit??- IDK, try and reply tried and pass out failed in MM. Confirmed working by 2 users.
[Android Software Development] samep:
[MENTION=3065937]PhilDX[/MENTION] [MENTION=2041027]dafunk2[/MENTION]

Ok, maybe it was simpler than I said earlier. I'm on a rooted engineering build of MM for Sprint Note 4 and all I had to do was rename apk to base.apk and replace the downloaded version. Rebooted and bam!

I will add that this is mostly stock Odexed with Samsung oat sub-folder.

Maybe deodexed is simple as well? Try it with just the apk rename and swap and permissions then reboot.

Edit: Swype top row mod did not restore on a TWRP backup restoration. I'd suggest the ownership change from root, root to system, system. Also, deodex may require the /data/data/com.nuance.swype.dtc folder deleted but try without deleting on the first reboot. Please report what works.
[Android Software Development] PhilDX:
are you saying that all you did was replace the version in the /data/app folder and didn't actually attempt to convert Swype to a system app first per post 198?
[Android Software Development] samep:
Right. No system app; just working in the /data/app directory.

Post 198 is just how I built it. But I updated java, apktool and SDK Manager to MM. And I'm using Windows 10 now.
[Android Software Development] PhilDX:
if this works, it's huge!!! I'll give it a try tomorrow, thanks a lot!
[Android Software Development] samep:
Thanks. I should add that I left the property ownership as root, root when I dropped it in there with root explorer. But still works as system, system which is what I suggest. The root as owner did not restore in a TWRP backup properly; no top row mods were restored. Haven't tested system ownership yet.
[Android Software Development] PhilDX:
hey [MENTION=4375749]samep[/MENTION] - you are the man!

your installation technique works on my AOSP based marshmallow v6.01 ROM (Pure Nexus on Nexus 6).

i'm embarrassed to say how many things i've tried to install swype without success since upgrading to marshmallow. now i have my swype back and everything works.

you are my hero, thank you very much :)
[Android Software Development] samep:
Thanks [MENTION=3065937]PhilDX[/MENTION]! Good to know it may support marshmallow.

Restored my Swype data with Titanium Backup Pro and got my dictionary and custom keyboard theme back as well.
[Android Software Development] dafunk2:
Thanks guys, works great!

Now I'm back to update my old keyboard mod to the new 2.1 swipe. [emoji1]

By the way [MENTION=4375749]samep[/MENTION] , would you kindly post the image of the earth, I like it a lot and I would try to change it's color to Orange and set it as background.

Many many thanks in advance [emoji106]
[Android Software Development] samep:
[MENTION=2041027]dafunk2[/MENTION] Check your PM. Thanks for the confirmation.
[Android Software Development] jlc403:
Does anyone know a method to get the number row working on S7 for Sprint (non-rootable as of now).

I have my S5 still up and running and have a valid swype license that I used to mod perfectly. Wondering if there is a way to extract the apk from my s5 and have it be installable (again not root) on S7.

Wondering if someone might be willing to PM me with some *info* on this.

Thanks so much!

-Josh
[Android Software Development] samep:
Swype update 2.1.1.2010120-42228-panlatin template

samep_Swype2.1.1.2010120-42228-template.zip

Changes:

minor under the hood Swype changes, possibly only themes. Happy Saint Patrick's Day!

I've made some changes to include panlatin tablets- needs testing and feedback

Tested on Note 8 tablet and Note 4 phone- included is screenshot of tablet top number row (ReadMe text for KitKat 4.4.2 Stock TW install.)

Notes:

For MM, I've edited post # 254 (Actually, the /data/app install method works for LL too.)

Use Post 198 command prompt lines and this template to build a compatible apk for overwrite of update; use install method that works for you.
[Android Software Development] Oleggluk:
What a boring mod)). I have been using this. (Google translation) http://4pda.ru/forum/index.php?s=&showtopic=150358&view=findpost&p=47508429
[Android Software Development] samep:
Here we focus on customization and self help because there just isn't a one theme that fits all. The lines of code or template may be received but was it necessary to label another's work as boring? For example, I don't know enough about language to know to translate a mod from Russian to English or Panlatin. Rather than just point to a Russian apk, decompile, extract code and share; a template is ideal. But you may have helped some.

I do use the paste frequently but there's a shortcut for that. I hadn't considered adding that to main screen but an extra row in landscape mode would mean too much keyboard and too little dialogue box to type in for a phone. Tablet? Possibly a good idea. Thanks for sharing; consider posting a template.
[Android Software Development] jlc403:
Is there a way to use this mod without root? Purchased swype and want to use number row on S7...is this possible at all?
[Android Software Development] dafunk2:
Just for your info, if can be of any interest..... The way [MENTION=4375749]samep[/MENTION] discovered to make the mods work, is working on Android N Preview 1 too.

Of course you need root. ☺
[Android Software Development] PhilDX:
any xml key code that Swype already supports can be added in any position on any of the keyboards, that's how I originally added the arrow keys to the number row early in this thread. all you have to do is locate a key you want in a pre-existing Swype keyboard xml file, find the corresponding xml entry, and copy that to the new keyboard of choice in the relative position you want. you may have to adjust key width spacing too if you add/subtract the total number of keys in a row.

adding more rows is straight forward too, just emulate the changes made to accommodate the number row in the many templates provided here.

keyboards are personal, none are boring or "right" - it's up to the user to decide what s/he likes.
[Android Software Development] El Xando:
So is there no way to get the number row on Swype without root? I saw this post on the previous page:

Which looks like would have worked, but all the apk links are 404s. :(

I have bought Swype, it's so ridiculous it doesn't have a number row option...
[Android Software Development] PhilDX:
you need root (or at least an unlocked bootloader).

FYI - it's probably not a really good idea to install keyboard APKs from random web sites
[Android Software Development] razlack:
Does this method still work? As of the most recent update I haven't managed to get it working. The Swype app is no longer present after rebooting my phone. I am doing everything exactly the way I have in the past.
[Android Software Development] El Xando:
I'm aware it's not, but it looks like a proper mod and seems like a modified APK is the only way I could get a number row on skype without modding my phone, which I only just bought so I'm not keen on doing yet.
[Android Software Development] Oleggluk:
The 4PDA website is the most popular website for mobile devices in Russia, as you XDA. For download there the files need to register (free). Without Root you can't install the mod, since Swype is protected by the signature. The signed original, for the installation must be switched off integrity check in apk LuckyPatcher by ChelpuS or other methods known to you. (Google translation)
[Android Software Development] samep:
If you're on Android 6 or higher, check out posts #254 and 255. It's reportedly working on MM and Android N development.

Edit: that method has also been working for me on Lollipop.

I think it's actually simpler now.
[Android Software Development] razlack:
Your right. Worked perfectly. Much easier too :D

Cheers
[Android Software Development] kodein:
pls update.... thank
[Android Software Development] Drhedphuk:
Stopped working with latest Swype update for me, anyone else?
[Android Software Development] Alraan:
It's working for me.

Just some translations warnings while compiling, but it works.
[Android Software Development] samep:
Swype2.2.1.2020100.43935-template

samep_Swype2.2.1.2020100.43935-template.zip

Changes:

brings template up to date (how long?)

optional edit keyboard shortcut for phone's edit keyboard (find extra files in zip)

Note: with option applied, dictation moves to ?123 symbols keyboard- see captures from screenshots

I did this rather than adding another top row edit menu. I prefer the actual edit keyboard's bigger and intuitive layout.

Installation:

refer to posts 198 and 254 for quick guide
[Android Software Development] Puddies:
When you press return for some seconds, you can use emoticons.

Can anyone tell me where I can find these emoticons in the source code? I would like to replace them by other emoticons and add additional ones.
[Android Software Development] Puddies:
[MENTION=4375749]samep[/MENTION]

Do you have an idea, where I can find those emoticons in the source code?
[Android Software Development] samep:
I'm not sure and haven't looked myself but I've heard Swype doesn't use a full complement of emoji.

Some have left Swype over this but suggested Chrooma Keyboard has a full complement of emoji. I was considering decompiling that keyboard and see how that was implemented but haven't tried yet.

https://play.google.com/store/apps/details?id=com.gamelounge.chroomakeyboard

That may be a place to start. It seems Swype defaults to last emojis used. That and the ones that are available have been sufficient for me. But I understand the lack and ignored feature requests are turning off users in favor of other keyboards. Swype doesn't seem to want to listen to requests and constructive criticism.

Edit: I found where the emoji are referenced: /res/values/arrays.xml but the edit would require editing smali following the codes in that xml to properly map each one (if you can find the emoji that is; I didn't look any further) Any luck?
[Android Software Development] notmyepic:
[MENTION=290867]ozkaya[/MENTION], Finally got the number row to work, thanks for the pointing to the panlatin layout.

I also changed the popup characters for the number row to reference that number (@string/alternates_for_digit_???)

Now my question is, how to change only the dimension of the number row?
[Android Software Development] medoooooo:
There is a bug when you try ro edit comments in facebook the keyboard wont do it every time you put the pointer the keyboard closes
[Android Software Development] smalis:
Would it be possible to add the four arrow keys as well as the number row?
[Android Software Development] ninja_unmatched:
Sounds like it may be better to use swiftkey
[Android Software Development] TONY6669:
do you know if this will work on swype version 1.5.19.21097 ??? thanks
[Android Software Development] notmyepic:
Tony, I am not sure which Swype you have, but either find me in hangouts notmy51@gmail.com or send me a PM. I have modded my version to work.

With your great work on the Breast Cancer Pink theme for wicked sensations, I will figure it out
[Android Software Development] TONY6669:
thanks man sent you a pm so whatever you can do for me would be appreciated thanks....
[Android Software Development] rfarrah:
Any way to make this mod into a flashable zip?
[Android Software Development] pijas82:
Hi works in SwiftKey? Can i delete symbols?

Sent from my LG-P990
[Android Software Development] vgsantiago:
+1
[Android Software Development] ANDR01DN00B:
No since this is a paid app it would violate the XDA rules in the sense that the .apk would be inside the downloadable zip.

The fact that his modded .apk is sent privately does not on the other hand violate the rules, since it is a private matter.
[Android Software Development] rastigo:
Pl someone help

Dear [MENTION=290867]ozkaya[/MENTION] Dear [MENTION=3065937]PhilDX[/MENTION]

Attached herewith is my kbd_querty.xml.

Pl can someone check and let me know whats wrong...If you can please correct it for me. I wanted the top row to have alternate charachters so i added them myself. Also added the same to kbd_querty.xml in xml/land folder. Since then following errors keep appearing

While compiling i get following errors

C:\apktool>apktool b swype areaswype.apk

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

C:\apktool\swype\res\xml\kbd_qwerty.xml:18: error: Error parsing XML: not well-f

ormed (invalid token)

C:\apktool\swype\res\xml-land\kbd_qwerty.xml:18: error: Error parsing XML: not w

ell-formed (invalid token)

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 8, --target-sdk-version, 16, -F, C:\Users\RKD-214\AppData\Local\Tem

p\APKTOOL7411580805416845206.tmp, -0, arsc, -I, C:\Users\RKD-214\apktool\framewo

rk\1.apk, -S, C:\apktool\swype\res, -M, C:\apktool\swype\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)

at brut.androlib.Androlib.buildResources(Androlib.java:281)

at brut.androlib.Androlib.build(Androlib.java:209)

at brut.androlib.Androlib.build(Androlib.java:177)

at brut.apktool.Main.cmdBuild(Main.java:237)

at brut.apktool.Main.main(Main.java:79)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 16, -F, C:\

Users\RKD-214\AppData\Local\Temp\APKTOOL7411580805416845206.tmp, -0, arsc, -I, C

:\Users\RKD-214\apktool\framework\1.apk, -S, C:\apktool\swype\res, -M, C:\apktoo

l\swype\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:406)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd

k-version, 8, --target-sdk-version, 16, -F, C:\Users\RKD-214\AppData\Local\Temp\

APKTOOL7411580805416845206.tmp, -0, arsc, -I, C:\Users\RKD-214\apktool\framework

\1.apk, -S, C:\apktool\swype\res, -M, C:\apktool\swype\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:404)

... 6 more
[Android Software Development] PhilDX:
look at line #18 in your XML file, you can't add the "<" and/or "> " characters the way you did, there is special syntax formatting for those (I don't know why). if you look at the symbols keyboard XML file, you will see the correct syntax. I'm away from my computer for a few days so I can't confirm right now but I seem to remember this is the problem.

it's either that or I'm thinking about Google's keyboard in which case I don't actually see the problem in your edited XML file :)

in any case, I thought the mod I posted in sonny's thread included these characters in the top qwerty row? link should be in the OP of that thread. whether I posted it or not, I made this exact mod for v1.15 so holler if you don't find it.
[Android Software Development] rastigo:
[MENTION=290867]ozkaya[/MENTION] & [MENTION=3065937]PhilDX[/MENTION] thank you so much for this thread & specially for your prompt reply [MENTION=3065937]PhilDX[/MENTION] .I am loving this more than swiftkey for sure.Here is my version of the mod
[Android Software Development] poczynek:
That looks great! How do I get that number row on my Swype? Any chance of an apk?
[Android Software Development] PhilDX:
instructions are in the OP (post #1), so just scroll up. you will need to follow them exactly or it won't work. you'll also need to supply your own APK since Swype is a paid app.
[Android Software Development] Bajanman:
Got the numbers in. But my swiping ability isn't working after doing the changes???

Can only tap in my words with the number row added??

Hopefully someone can tell me what's wrong...

Thanx!!!

Sent from my T889 N2/N3/S5..
[Android Software Development] PhilDX:
looks like you're almost there, but I think you skipped a few steps. did you install your modified apk file directly (either like a normal apk or by copying it into /system/app)? if so, don't do that or the swiping feature will not work (everything else should work fine though). you have to follow the instructions in the OP *exactly* for full functionality - especially the part about copying your compiled changes into the "saved" version of the apk file from step #2. read through the instructions again and see if you missed a step.
[Android Software Development] Bajanman:
Ok yeah I'll go over it again when I get back home. Think your right might have missed a step. Lol

Sent from my T889 N2/N3/S5..
[Android Software Development] notmyepic:
PhilDX is correct, I was never able push the apk. I have always flashed it and make sure your zip also includes the lib files
[Android Software Development] Bajanman:
Ok thanx for the heads up. Going to try again soon. Just gotta fix something else first!! Lol
[Android Software Development] jlc403:
Does this work for the latest play store purchased version? I have the modded apk floating around for the preinstalled version, but want to mod the purchased version I have instead? This is one of about 5 apps I've purchased over the years. If anyone is willing to PM me some more information about the latest play store version, I would greatly appreciate it!

Thanks!

-Josh
[Android Software Development] notmyepic:
Yes it works on the latest paid Swype version. Just follow the instructions listed here and you will be ok. For English language make sure you modify kbd_qwerty_panlatin.xml
[Android Software Development] jlc403:
This worked great for the latest swype paid apk setup! I tried it initially without doing panlatin and it just messed up size of keys. went through the steps of doing landscape too and the keys are a smidge too small. I think I forgot to change the size of keys. I think I'll probably get rid of number row in the landscape as I never use it.

So appreciative for this tutorial!

-Josh