yashsingh1/xdaforums huggingface dataset:
[Android Themes] sonnysekhon:
Please ignore...
[Android Themes] sonnysekhon:
In the words of Professor Farnsworth, good news everyone!

Managed to theme most things :)

Here it is: https://www.dropbox.com/s/ticzq2uotgp8pmo/SwiftKey_Public_Beta-4.5.0.43_signed.apk
[Android Themes] Gnaver:
Can you also make version with new themes from czar or how he has the name? The themes two or three pages back :)
[Android Themes] Allewar:
They look great dude! Nice job

I just wished that the white keyboard "blue" keys where grey, I think it would make it look even better
[Android Themes] sarkhan9:
If someone could upload the newest beta with the themes from ''cazcryy'' that would be AWESOME , this black Cobalt looks sexy .

wish i could compile it myself .
[Android Themes] sonnysekhon:
Colors cannot be edited in the beta, only the shapes.
[Android Themes] jimwick:
........... thks again, your updates look great with my themes. You must teach me how you stay cool when after releasing a great theme or update the first post is a "person" requesting something else :( , don't know how you keep your cool but thk you so much for the service you do here for free.......
[Android Themes] Nirvana Rules:
Wow, thanks. I'm rocking the white theme and it looks awesome.
[Android Themes] parkerbomar:
I need this! care to PM the apk?
[Android Themes] benji667:
Couldnt u just make apks to download and push to system? Im just wondering... I really like the swiftkey dark but ya...
[Android Themes] mliou:
Does it work on the latest Swiftkey from the playstore? I'm getting compilation error.
[Android Themes] Jet70355:
Me to :/

Enviado do meu Find 5 através de Tapatalk
[Android Themes] AbhishekS:
Thank you so much for this. :D
[Android Themes] migueldbr:
+1..
[Android Themes] cyee1988:
Hi guys

I had read all the post but I couldn't found any mod trick for Swype

I'm looking for a transparent trace color or modded apk

I had purchase a paid version Swype 1.6.5:angel::angel:
[Android Themes] rastigo:
The swiftkey app is crashing the gapps package after I updated to kk.I reported with the developer,no use.any help will be appreciated

.....Sent from my LG G2 using XDA Premium App
[Android Themes] PatrickMac:
So did somebody managed to successfully recompile the latest playstore swiftkey apk?
[Android Themes] sonnysekhon:
I've been using the beta I posted here a while back.

Yesterday, it suddenly stopped showing me my stored predictions. I thought it had expired and a new beta was available. Not the case.

Has anyone experienced this?
[Android Themes] TJKV:
Nope no such issues here. Dreading Apr 30th though :p
[Android Themes] jacqueline_du93:
Nope, working great over here!

Sent from my Nexus 5
[Android Themes] zekozeko:
[MENTION=2847101]sonnysekhon[/MENTION] I'm interested in theming of the Swype kb. If I remmember correctly, you said in the past that it's possible to theme Swype via CM Theme engine (CM/T-mobile themes). Is it possible to do via Xposed? Did you explore this possibility?
[Android Themes] zekozeko:
Can anyone say if Holo works on XXHDPI?
[Android Themes] rastigo:
Xxdpi wont work, confirmed, sorry
[Android Themes] Achraf4X:
I'm getting some "brutforce" issue when recompiling (Shown in the log file) which version should I use ? I'm using the latest and it doesn't seem to work
[Android Themes] rastigo:
I have added the top nos row with arrows to latest SwiftKey. Works flawlessly. Thx [MENTION=3065937]PhilDX[/MENTION]
[Android Themes] rastigo:
Here is the screenshot
[Android Themes] pemati:
Fantastic, this how it should be, thank you! Could you post it to us please?
[Android Themes] rastigo:
"Post it to you" Meaning?
[Android Themes] pemati:
Sorry, meant upload if possible but soon there be new beta.

Tried to edit my self, it's not working layout is same.

Is it possible to edit original SK please?
[Android Themes] rastigo:
Yes you can go to post 814.all is available for modding in that post. I would be glad to share with you the apk but since its a paid app and xda forbids sharing paid apps, I can't. You are going to have to modify it yourself
[Android Themes] pemati:
trying to re-compile but this error comes up

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

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

Users\PETOAM~1\AppData\Local\Temp\APKTOOL5848923613676438360.tmp, -0, arsc, -I,

C:\Users\Peto a Maria\apktool\framework\1.apk, -S, D:\1 9505\diassembler\APK-Mul

ti-Toolv1.0.11\APK-Multi-Tool\other\..\projects\sk6.apk\res, -M, D:\1 9505\diass

embler\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\sk6.apk\AndroidMan

ifest.xml]

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

a:357)

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

... 5 more

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

k-version, 8, --target-sdk-version, 15, -F, C:\Users\PETOAM~1\AppData\Local\Temp

\APKTOOL5848923613676438360.tmp, -0, arsc, -I, C:\Users\Peto a Maria\apktool\fra

mework\1.apk, -S, D:\1 9505\diassembler\APK-Multi-Toolv1.0.11\APK-Multi-Tool\oth

er\..\projects\sk6.apk\res, -M, D:\1 9505\diassembler\APK-Multi-Toolv1.0.11\APK-

Multi-Tool\other\..\projects\sk6.apk\AndroidManifest.xml]

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

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

a:355)

... 6 more

Press any key to continue . . .

Can you please suggest?
[Android Themes] rastigo:
Have you edited the androidmanifest.xml. Op states what changes are to be made. Then go to post 707.edit styles.xml and then try. Should work
[Android Themes] kezn715:
A new version of Swiftkey Beta just released...

http://www.swiftkey.net/en/blog/new-update-for-swiftkey-emoji-beta/
[Android Themes] GORDAN13:
Could you please share the apk with me?
[Android Themes] rastigo:
Made a few modifications and now i have predictions in each and every field including my passwords, contacts, browser.... Practically in every place that you can think of. Awesome, a true predictions keyboard now.
[Android Themes] rastigo:
Here is my new favorite theme. Sky modded.
[Android Themes] rastigo:
Ofcouse [MENTION=3065937]PhilDX[/MENTION] mod. But change the color
[Android Themes] Arnaud1979:
Hi

Can I directly update the previous modded beta with the new official one or I'll loose the modded themes ?
[Android Themes] rastigo:
For that you have to install the modded application as a system app. The load and update. You will have your modded layout
[Android Themes] PhilDX:
two things i absolutely hate about swiftkey: jumpy cursor and predictions in the browser

if you figured out a way to manipulate when predictions are active, i sure would like to know more. perhaps you could share a little hint maybe? :)

thanks
[Android Themes] rogeriorp:
The new beta is now out, does anyone managed to get OP's themes on it yet? I can't actually believe the paid market version doesn't even has emojis. Plus the modded flat Light theme owns.
[Android Themes] rastigo:
Sure [MENTION=3065937]PhilDX[/MENTION]. I will post a complete guide on this thread shortly to enable predictions everywhere. Love to share knowledge.
[Android Themes] CasseTrop:
Back to stock themes on the new beta, horrible.
[Android Themes] rastigo:
Enable predictions everywhere in Swiftkey

Here we go.....

This is something nice I share from the thread of [MENTION=2990221]acid-world[/MENTION] and a post by [MENTION=3724558]Happy_Jack[/MENTION], so thanks to them.

This mod enables Swiftkey predictions everywhere you can think of...that is predictions at all places you use the keyboard.

I have used Swiftkey version 3.1.0.377 as I believe the predictions were best of all in this versions and that the application doesn't take much ram. I havent used any other version...If anyone tries it and it works, let me know.

Instructions

1. Open the APK file using 7zip preferably. Extract classes.dex from the apk file.

2. Decompile dex file using the command : java -jar baksmali-1.4.1.jar -o out classes.dex

3. Edit as follows:

open "KeyboardStateImpl.smali" which is found in "projects\swiftkey\smali\com\touchtype\keyboard\in puteventmodel" with a text-editor

search for this block

.method public isPredictionEnabled()Z

.locals 1

.prologue

.line 147

iget-boolean v0, p0, Lcom/touchtype/keyboard/inputeventmodel/KeyboardStateImpl;->mPredictionEnabled:Z

return v0

.end method

.method public isSearchField()Z

.locals 1

.prologue

.line 152

iget-boolean v0, p0, Lcom/touchtype/keyboard/inputeventmodel/KeyboardStateImpl;->mEditorIsSearchField:Z

return v0

.end method

-> Replace the first "iget-boolean"-line with "const/4 v0, 0x1"

-> Replace the second "iget-boolean"-line with "const/4 v0, 0x0"

Modified code should be like this:

.method public isPredictionEnabled()Z

.locals 1

.prologue

.line 147

const/4 v0, 0x1

return v0

.end method

.method public isSearchField()Z

.locals 1

.prologue

.line 152

const/4 v0, 0x0

return v0

.end method

4. Recompile dex file using the command : java -Xmx512M -jar smali-1.4.1.jar out -o classes.dex

5. Make a copy of the Swiktkey.apk and name it Swiftkeynew.apk.

6. Open the Swiftkeynew.apk using 7zip. drag the new classes.dex into the apk open in 7zip.

7. V Imp: Sign apk using the attached sign tool

Install the newly signed apk and voila you have predictions everywhere!
[Android Themes] sonnysekhon:
New Beta themed: https://www.dropbox.com/s/uuwyjjolg5xp502/SwiftKey_Public_Beta-4.5.0.63_signed.apk

The following have been themed: Cobalt, Holo, Light and Pitch.
[Android Themes] Arnaud1979:
Thanks a lot Sonny !

Is there any chance you post an updated and fully detailled step by step tutorial to mod ourserlf correctly? Betas aren't forever and I definetly can't succeed to mod myself following the tutorial in page one.

Thanks again

---------- Post added at 11:25 AM ---------- Previous post was at 10:56 AM ----------

Thanks for the ansewer!
[Android Themes] PhilDX:
this will be my weekend project, thanks for posting
[Android Themes] TJKV:
I would very much like this too... Especially the apktool and related files you use, I can't seem to find properly working binaries anywhere! Please and thanks :)

Sent from my Nexus 5
[Android Themes] sonnysekhon:
I will post a guide with step by step instructions as soon as it comes out of beta.

Good news is that most likely you won't need apktool any longer.
[Android Themes] zekozeko:
Can you please help me recompile Swype? I changed Holo theme so it looks more like Google keyboard. But when I recompile it and sign it, it install fine but bredictions don't work :confused: I have tried my paid version of Swype (from Amazon) and free one for Oppo phones (it works normally on all devices and it's newer even then Play Store version). Can you please help me? If it's ok, I would send you my pngs via PM so you could try to recompile it?

[MENTION=5240311]rastigo[/MENTION] [MENTION=3065937]PhilDX[/MENTION] and all others If you too can help, please do :)

Edit: Here is the rar with pngs (copy to decompiled Swype).

Edit2: Here is an Oppo version of Swype (installs normally, it's legal - from XDA Oppo subforum):

http://xdaforums.com/showthread.php?t=2640370

If you need Amazon version I can provide it too, because I bought it so it's protected (therefor can't be used by others).
[Android Themes] Oktasus:
God evening, is there a possibility to change the look from touch pal?
[Android Themes] sonnysekhon:
I never tried theming the Swype apk. I just themed it using the CyanogenMOD theme chooser.
[Android Themes] doumer:
too bad :(

I like swype much more then swiftkey, since its more accurate in german. I managed to decompile, edit, recompile and install, and the new keyboard looks fine, but every time I try to type something, swype just FC :(
[Android Themes] pemati:
This layout suit me best with arrows on right. Works like charm on new SK. Thank you PhilDX and rastigo for all the help and hard work.
[Android Themes] PhilDX:
i love both arrows on the right side, it's function over symmetry :)
[Android Themes] asdfasdfvful:
Didn't say in the OP, but are the number rows part of the mod for swiftkey? I'm not using beta atm.
[Android Themes] pemati:
Exactly and SwiftKey made it for tablets so can not see reason why it can't be done for phones.
[Android Themes] SDShukla:
Thanx
[Android Themes] rastigo:
Good news for G2 users. SwiftKey will be releasing a version that fixes gapps fc on kk for the g2.i happened to be one of the testers for the trial version. It works flawlessly. Soon we will have latest SwiftKey that does not cause fcfor gapps on g2
[Android Themes] PhilDX:
see post #814 in this thread

http://xdaforums.com/showthread.php?p=50636562
[Android Themes] genseric:
hello,

i am using swiftkey version 4.4.6.275 and no matter what i tried (both on osx and windows) i could not recompile apk. it's giving errors related to styles.xml or if i dont copy the styles.xml then lots of errors about the drawable folders.

any ever got it working with the version i own ?

thanks !
[Android Themes] rastigo:
Check if you have 1.edited androidmanifest as op. 2.comply with instructions on post 707 relating to styles.xml.

I tried it on 4.4.6.275. It compiles flawlessly and works too. Leme know what errors you get if even this doesn't help

---------- Post added at 11:58 PM ---------- Previous post was at 11:57 PM ----------

I think you haven't compiled using post 707
[Android Themes] PhilDX:
here's a little something for all you keyboard nerds, copy these key click sounds into the /res/raw/ folder (overwrite existing files) before recompiling Swiftkey (any version), and tell me if you don't agree that the keyboard sounds better...

http://www.mediafire.com/download/v1oth4t6hn73lin/keyboard_sounds.zip

and in case you're curious, Swype and Google keyboard use the default android key click sounds which you can change out anytime (root required and make sure permissions match the other files before rebooting):

/system/media/audio/ui/Keypress*.ogg
[Android Themes] asdfasdfvful:
Is it possible for us to add our own themes? I just looked at the mod and it replaces the existing themes. I guess we don't have the power to add new ones?
[Android Themes] PhilDX:
the first part you added to /values/styles.xml looks ok, just put that stuff at the very end of the file (but before the last line which is </resources>).

with regard to the series of errors beginning with "<item name="CommaKey">@drawable/cobalt_microphone</item>", it looks like one of two things to me, i think the second explanation is more likely:

- you may have deleted the graphics images each of these entries points to while theming. for example, make sure the cobalt_microphone.png file in the example above actually exists in the /drawables-hdpi/, /drawables-xhdpi/, (and so on) folders. this could explain some of these errors but i don't think it can explain all of them...

- you may have modified the text on these lines while theming, in which case, revert these changes and see if you can recompile without errors.
[Android Themes] genseric:
thanks, i got one question, shall i copy the directories from the zip over the res folder contents? or just copy the contents of the folders keeping the original files that are not in the zip file. if i copy the folders over the original ones the contents of the original folders get replace too, you know.

and for the styles.xml , i ll be adding the lines to the zip file's styles.xml right? not the original one.

thanks again.
[Android Themes] PhilDX:
i dunno what's in the zip file that you are trying to copy into the decompiled Swiftkey folders...assuming there is no issue with the new files you are copying into the existing Swiftkey folders, then the answer may depend on your operating system. basically, you want to overwrite the existing files in each folder with the new files. if you copy all the folders at once, windows 7 will ask you if you want to "merge" each folder (overwriting files within the folders as necessary), this works just fine but i dunno if every OS works this way.

if you are on windows, a really nice utility for comparing and merging changes between files is WinMerge: http://winmerge.org/

with regard to the styles.xml file, you want to edit this one: \[decompiled_project_folder]\res\values\styles.xml
[Android Themes] asdfasdfvful:
just to confirm, when we change com.touchtype.swiftkey to com.touchtype, that goes for EVERYTHING right? Including the stuff in arrays.xml, Manifest$permisssion.smali, etc? I tried decompiling the apk and changing some colors. Everything was fine, but when I open the app it force closes
[Android Themes] genseric:
thanks again. my os is osx.

so i copied contents of the seperate folders coming from the zip of this thread. the decompiled apk's res/values folder had public.xml and some other xml's as well . and if i dont remove them after i copy the color.xml and styles.xml from the zip, i get public.xml errors. after i remove them and leave only colors.xml and styles.xml from the zip file, i get styles.xml errors.

the original is constructed like this :

http://pastebin.com/pWDuRbK4

the replacing one is

http://pastebin.com/z9Q9yvQY

i really can't find the problem.
[Android Themes] rastigo:
No [MENTION=5230774]asdfasdfvful[/MENTION].only edit the androidmanifest.xml in the main folder after decompiling. Dont changa in array.... Etc. Might be the reason if you get compiling errors

---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------

Also before using the compiled apk you must sign it using the autosign tool
[Android Themes] asdfasdfvful:
and that goes for all cases in the manifest right? I'll try again

Edit: I've tried it once only by changing package="com.touchtype", and once by changing all of com.touchtype.swiftkey in the manifest. Tried resigning both but all of them crash. All I've done other than that is edit some colors and add the stuff to style.xml as mentioned in a previous post. any ideas?

And I'm not getting any compiling errors. Just a f/c when opening the app
[Android Themes] rastigo:
No dear. Only one file in the main folder. Only one instance that is the one one on top in the androidmanifest.xml file in main folder
[Android Themes] punkmonkey1984:
8th time is the charm, wish was the first, but thats how we learn

Got it working, seems i was missing out on a colours.XML

Looks sweet and works well with JAMT-black flat CM7 theme,

thanks Guys good to have swiftkey back, now that it looks good, and dark
[Android Themes] JokerAce:
You're welcome, bud. :)
[Android Themes] gigermunit:
Did what you suggested and it compiled properly but it didn't change any of the skin, just the text colors.
[Android Themes] sonnysekhon:
If you have a mdpi phone, make sure you use JokerAce's mdpi version.
[Android Themes] gigermunit:
worked thanks.
[Android Themes] sonnygalaxytab:
I got same error and confusing too
[Android Themes] JokerAce:
Please be more specific.
[Android Themes] redsock:
Im using jokerace's mdpi version, followed instructions and copied and replaced the items inside each folder. However, when i installed and tried to open swiftkey, i get force close T_T
[Android Themes] JokerAce:
Don't open right after installation. It will have FC problems. Just go directly to settings and activate swiftkey. Then go into any writing apps and select swiftkey as the input method.
[Android Themes] gigermunit:
Works and looks great but that is when my DPI is set to 160, I run at 120 though, it doesn't show but looking forward to when it does :D
[Android Themes] Maximum Bob Lutz:
Can anyone PM me the dark HDPI themed keyboard? I don't have access to a Windows computer at the moment so I'm unable to theme it :(. Ill provide a screenshot for proof of purchase of course.

thanks
[Android Themes] klquicksall:
I have a desire hd. When i tried to recompile the apk it failed. I replaced the folders then deleted the old ones. Any ideas?
[Android Themes] JokerAce:
Do not replace the folders. Only replace the contents. Copy & paste over the contents from the themed folder into the respective folders, clicking "yes to all" to replace the content not folder. The folders contains xml files which requires them to work, which the theme folders does not have. Hope this help.
[Android Themes] JokerAce:
Hey, with respect, OP may you change the follow to:

5. Go to APK Manager\projects\Swiftkey and copy & paste the files over in the right locations, don't completely replace the folders. If you want to keep the original font, don't replace the font files.

Changed:

5. From the themed file you downloaded, copy the contents within the folders into the respective folders under APK Manager\projects\Swiftkey. Do not replace the files, as the original files contains XML files for swiftkey to work, which the theme folders does not have. Do not copy & paste the font file if you don't wanna change the fonts.

Thank you for your time.
[Android Themes] klquicksall:
My mistake. Thanks. Ill give it a shot and report back.
[Android Themes] JokerAce:
SORRY OP! Could you change the words in bold to "folders" instead of "files" to prevent further confusion. Sorry, carelessness on my part.
[Android Themes] klquicksall:
ok got it to work. Which one is the black keyboard. I installed the white one. lol
[Android Themes] derekwilkinson:
Here is my latest theme. Replace the res folder and you're good to go!

anyone who downloaded this, please replace it with this res.zip if you are having trouble using some of the symbols. I had to fix some of the XML
[Android Themes] klquicksall:
wow, just installed. Ive been looking for something like this for a while.
[Android Themes] sonnysekhon:
OP updated: added derekwilkinson's 2 mods :).
[Android Themes] asdfasdfvful:
Did that for my second try before posting here and it didn't work either. Just realised that the stuff we add to style.xml should be at the bottom so I'm trying that
[Android Themes] PhilDX:
the order doesn't really matter, but you can't paste it within an existing block of code or it won't work, that's why I suggested putting it at the end.

I think you should do this first though, just to see if you can recompile at all:

decompile swiftkey, change the manifest file as directed in the OP (only one line requires editing, no more), then recompile and install and check that everything is working.

once you verified this much works, then you can start working on theming things or whatever you want to do, but don't try everything at once or it will be too hard to figure out which step is breaking.
[Android Themes] asdfasdfvful:
Okay so I was using vts (virtuous ten studio) and was stupid because I recompiled with an api for ice cream sandwich... updated the program and it worked. Not sure why, but when you use vts, everything is already done for you. The package name decompiles as com.touchtype, and the style.xml has the stuff mentioned already. I suggest others give it a try, as it is a great program :good:

Edit: additionally, is there anyway to port emoji support to the paid swiftkey?
[Android Themes] jsnltargo:
I having trouble recompiling the swiftkey apk after doing all of the steps. Pls help I really want this theme
[Android Themes] asdfasdfvful:
Log? Did you add the style? Try vts as I mentioned above. It makes it a lot easier
[Android Themes] jsnltargo:
I don't have the log but I keep getting errors in every program when trying to recompile. For example vts, its says "essential module 'complie resources' failed". I tried a lot of tools and programs they have the same error
[Android Themes] asdfasdfvful:
You added apk tool framework already right? That's strange, as vts usually sers everything up automatically...

---------- Post added at 11:28 PM ---------- Previous post was at 11:27 PM ----------

And thank you all for making this possible!
[Android Themes] Nirvana Rules:
Thanks sonny loving your themed version. Anyway you can make a theme to look like HTC sense keyboard?