yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S III] rompnit:
I actually created a folder 'C:\apktool' where I dropped everything, then added that folder to the Path system variable; same method as you would add the SDK. Otherwise, drop it into the 'platform-tools' folder within the android-sdk. When configured properly, you should be able to open command prompt in any directory, simply type 'apktool' and see a list of commands.
[Sprint Samsung Galaxy S III] shehroze3:
ok i did what u said and put the apktool jar file into the platform-tool folder, but when i type apktool in cmd prompt nothing happens.
[Sprint Samsung Galaxy S III] rompnit:
Did you also grab the "wrapper" script from the link as well? It contains a few more necessary files that go with apktool.
[Sprint Samsung Galaxy S III] Naddict:
time for dazed and rompnit to collaborate. maybe a simple guide for us wannabees...:p

recompiling never works for me, I read somewhere about empty folders being my problem...oh well, I can use 7zip though! and notepad+...:D:D
[Sprint Samsung Galaxy S III] shehroze3:
I'll check it out when I get home. Thanks
[Sprint Samsung Galaxy S III] shehroze3:
ok i got it to work. All i had to do was rename apktool_1.5.0 to apktool. I'm a noob, i know, try not to laugh to hard lmao
[Sprint Samsung Galaxy S III] rompnit:
Glad you got it to work!! And everyone has to start somewhere! Let me know how it turns out for ya!! :)
[Sprint Samsung Galaxy S III] taihard:
Does this method work for both Odex and De-Odex ROMs??? I am currently on an Odex rom. Thanks!!
[Sprint Samsung Galaxy S III] rompnit:
This method will not work on .odex keyboard apk's, at least to my knowledge but I've always run deodexed ROMS. However, check to see if the keyboard apk you are working with even contains an odex file; a lot of them do not. If it does, you could always grab the apk off the web, mod it, and install it after removing the original files.
[Sprint Samsung Galaxy S III] cfultz:
Thank you for the walk through, this is awesome
[Sprint Samsung Galaxy S III] calebsb:
Hey Rompnit. Ok, I was having trouble getting apktool to run on my computer. That's what I was talking about on morphology :p anyway, so I was trying to learn how to theme an app and somehow was lead to morphology and got all caught up over there. Lol. But ya, I'm gonna have to crap clean my laptop to use this. Thanks. See ya over there

Sent from my Insanely Morphed S3 LI3 ktoonsez747 (196-2106) TW FreeGs3 2.0.0
[Sprint Samsung Galaxy S III] gruesomewolf:
This method WILL in fact work on odexed keyboards. Theming for an odex base is no different then a de-odexed base. You are not making any smali adjustments here so nothing that concerns the odex, thus it will not be affected.
[Sprint Samsung Galaxy S III] gruesomewolf:
Guess no one was interested in theming an odexed keyboard after all huh? ....:D
[Sprint Samsung Galaxy S III] rompnit:
Guess not.. :confused: This thread's been quiet for a while... I guess people just don't want to theme keyboards in general! :eek:
[Sprint Samsung Galaxy S III] sazonotl5:
Hey do you know if this process will work with keyboards from the market like SwiftKey 3? The themeson there are so boring need new colors lol
[Sprint Samsung Galaxy S III] gruesomewolf:
Guess that's what we get for trying to help. ... lol
[Sprint Samsung Galaxy S III] csmasn:
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:

what pic? TIA...
[Sprint Samsung Galaxy S III] blue5055:
Thanks a ton for this! Now my keyboard can match the theme of my phone
[Sprint Samsung Galaxy S III] frodounderhill:
Bookmarking for later. Thanks for the write up! Wife wants purple Swype.
[Sprint Samsung Galaxy S III] cforlife:
Keyboard Height

I'm trying to change the height of the keyboard because i added a row of number keys. I changed the value keyboardHeight in dimens.xml and it doesn't seem to do anything. Does anyone know of a different value i have to change to make this happen? Thanks.

Update:

If you change the keyboardHeight in the styles.xml it works. I still don't know why changing the value in the dimens.xml didn't work when the one in the styles points to that value.
[Sprint Samsung Galaxy S III] rompnit:
:confused:
[Sprint Samsung Galaxy S III] timmetal6669:
Check in drawable..

And i saw some links to apk tool. One of my greatest developer friends Lorjay589 developed a very user friendly way to compile and decompile.. You may have heard of it.. Team Rejectz quick fix. Here's a link to the latest updated version... http://d-h.st/k3N .... Black Hole SuperNova is coming to suck you in...
[Sprint Samsung Galaxy S III] notmyepic:
rompnit,

Do you know of any reason why a keyboard will not return a new line within the stock email app? I am using the paid Swype from the play store and from what I remember, I just started having this problem.

At first I thought it might be due to me, since I did theme it, but I uninstalled my themed one, and tried the one from the play store, with no success.
[Sprint Samsung Galaxy S III] notmyepic:
Never mind, additional searching and I see that the new update borked it

Sent from Notmyepic's Odexed Blue GS3
[Sprint Samsung Galaxy S III] Shaftamle:
Two questions. 1) Do the apk files need to be signed to be installed as system/user app. Does it need to be signed when used in the flash able zip? 2) How to change the color of the gesture trail? Thanks

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] rompnit:
1) No because you are actually moving files into the original apk w/o breaking the sig

2) What keyboard? It varies.. ;)
[Sprint Samsung Galaxy S III] notmyepic:
Rompnit, the Google keyboard from the play store, will not recompile for me, even if no changes are made. Most errors are "no resource identifier"

Seems to decompile just fine

I am using the most recent version of apktool and aapt with the framework from Strong Steve Odexed Blue.

Any ideas?

Sent from Notmyepic's Odexed Blue GS3
[Sprint Samsung Galaxy S III] Shaftamle:
Oh, OK, that makes sense. If you decompiled then recompiled I'm assuming it would need to be signed be it flash able zip or not.

Also, I was referring to the Google keyboard.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/

---------- Post added at 04:56 PM ---------- Previous post was at 04:55 PM ----------

I had the exact same problem. Also tried doing it after making no changes and it failed for me as well.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] rompnit:
Try to download a 4.2 ROM and load the framework from there.
[Sprint Samsung Galaxy S III] notmyepic:
Thought I tried that by getting one from S4 forum but didn't work either.

But now that I have cleaned up my laptop, I will try again

Sent from Notmyepic's Odexed Blue GS3
[Sprint Samsung Galaxy S III] BigMosley:
Could someone send me a PM to a themed keyboard of the unspoken keyboard from post 1? That's my daily keyboard and really would like something themed if possible. Any help is much appreciated! :D
[Sprint Samsung Galaxy S III] amaynard 89:
Awesome guide thank you very much! you and XperienceD need to work together!
[Sprint Samsung Galaxy S III] Shaftamle:
Just curious but what significance does copying over the resource.arsc have? I have looked for definitions on what that file even contains and it appears if you are not computer genius extraordinaire you are SOL when it comes to comprehending their explanations.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] notmyepic:
resources.arsc contains all of the xml files in it, so if you change anything in them, that is how you can the original apk

Sent from Notmyepic's Odexed Blue GS3
[Sprint Samsung Galaxy S III] Shaftamle:
Ooohhhh, so instead of having to add all the edited xmls individualy you just add that file?!

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] notmyepic:
That file is created when you recompile with all of the xmls in it

Sent from Notmyepic's Odexed Blue GS3
[Sprint Samsung Galaxy S III] Shaftamle:
Awesome, thanks man! :beer::thumbup:

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] KillerofJoy:
Not so true...

I am new here to XDA but I have the passion to learn anything new.. I am a bit old school but I love this stuff.. making anything my own is how I approach everything I own cars, phone, house, everything.. I am a new It student but I have been a remodeling and painting subcontractor for over 20 years.. Computers have been my 2nd passion since I was a teenager.. Keep everything alive I want to retire doing this stuff.. Let the thread live..
[Sprint Samsung Galaxy S III] Thebear j koss:
And your name is killerofjoy. Lol. Love it. I agree with you 100%. I just got a computer a year ago and there's a level of joy and pride when you accomplish something diy. :)

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] KillerofJoy:
KillerofJoy was my PS3 MO.. Tekken destroyer across the globe.. LOL
[Sprint Samsung Galaxy S III] Thebear j koss:
oh jeez... haven't played a video game in 22 years.
[Sprint Samsung Galaxy S III] BigMosley:
PS4 is coming out time to change that!
[Sprint Samsung Galaxy S III] Thebear j koss:
I don't even know what that means. I hate video games. Last game I played was the original zelda. I haven't even seen a game in over 20 years.

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] amaynard 89:
Can anyone give me info on XML colors? And why there is 8 digit ones and 6?

nvm i found out what it is damn transperancy
[Sprint Samsung Galaxy S III] BigMosley:
NO BATTLEFIELD!? What's the point of living.... :D
[Sprint Samsung Galaxy S III] Thebear j koss:
Beating up nerds who are into video games, star wars, and especially super heroes and comic books. :D

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] dazednconfused:
Almost as bad as us nerds who fool around with smart phones....lol. just saying.
[Sprint Samsung Galaxy S III] Thebear j koss:
Yeah. I almost agree with you 100%. If I didn't quit drinking I wouldn't be doing this...something to do between work and watching ancient aliens. :p

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] notmyepic:
So I am new to theming and need some help here with the Google Keyboard from the Market (the only apk that I have tried that will not recompile for me)

I have tried different framework-res.apk's from Strong Steves Odexed Blue Rom (I am using), different 4.2.2 ROMs for S3 and S4 and even 4.3 from Nexus 7.

Everyone of them gives me the same error of "no resource identifier found for attribute XXXXX in package com.android.inputmethod.latin"

To install the different framework's I use the "apktool if framework-res.apk" from the folder it is in and it installs it to framework/1.apk

Any other suggestions? Maybe another program than apktool?

Anyone of you great developers/themers want to try to decompile and recompile with no changes?
[Sprint Samsung Galaxy S III] dazednconfused:
I have not been able to compile it either. I've even set down and tried to fix each of the errors that it gives you, and there are just way to many of them. You can swap out the images and replace into the original apk, but the xml part has me stumped until I can get it to compile.
[Sprint Samsung Galaxy S III] Thebear j koss:
I'm sure you tried but have you updated framework to 4.3? If all else fails I turn to strongsteve. Lol

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] dazednconfused:
Yeah, and I also sent it to him as well several weeks ago. He was having the same issues. I'm going to play around with it a little more today.
[Sprint Samsung Galaxy S III] Thebear j koss:
I know a few people are having issues with a lot of the updated google apps. I just never updated my keyboard and it's working fine...

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] notmyepic:
I just had my phone replaced due to cracked screen and cannot wait for someone to figure out why CWM & TWRP no longer work.

But when that happens, I will go back to using the paid Swype that I have themed using Steves blue buttons. The Google keyboard was for someone else.

Hearing that other people, including Dazed, are having the same issue makes this noob feel better that I didn't screw something up
[Sprint Samsung Galaxy S III] Thebear j koss:
Huh? Cwm works fine for me...

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] notmyepic:
It is an issue with new phones when trying to root. Custom recoveries do not recognize any partitions.

I am rooted again using CF-Auto-Root, but with stock recovery. Hoping to find something that can flash zips without having CWM or TWRP.

Sorry everyone for being off-topic, I will now wait to see if someone fixes this re-recompiling issue.
[Sprint Samsung Galaxy S III] Shaftamle:
If its themed keyboards you want check out this link: http://xdaforums.com/showthread.php?t=2387785

Themed Google Keyboards!!

I have apk links so you don't need to flash.

If its flashing you want try flashify from the app store. https://play.google.com/store/apps/details?id=com.cgollner.flashify I have never used it before as I have a custom recovery but just through reading the description it appears like you may be able to flash without a custom recovery. I'm not positive if you can bit since its free its worth a shot.

Ps- if it works let me know for future reference!

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] Thebear j koss:
What is the trick to getting it to recompile?

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] Shaftamle:
I wish I could tell you but I ran into the same issues. I only modded the keyboards res-xhdpi images. No XML edit as of yet. I will keep you posted if I figure something else out.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] Thebear j koss:
I can't even recompile just after editing images... I give up on the Google keyboard. The note 2 keyboard is light years better....

Thebe@r'$ G@L@XY
[Sprint Samsung Galaxy S III] Shaftamle:
Don't decompile/recompile. Its my understanding that its not neccasary unless your editing xml's. Use 7 zip to pull the images, edit them then put them back into the signed, original apk also with 7zip. If somehow you loose the Sig. You can use a lot of different things to sign them. I used signapktic from the play store. Awesome app.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] medoooooo:
Can you tell me how to add a numeric row on google keyboard
[Sprint Samsung Galaxy S III] rompnit:
The numeric row is a part of the Note2 keyboard.
[Sprint Samsung Galaxy S III] Shaftamle:
As of now it can't be done because Google keyboard can not be recompiled.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] Vivek_Neel:
Hi mate.

You can drag png images without decompiling ...then edit and push it back

But in the case of .9.png?.

Does not the apk has to be decompile and then take .9.png images from the decompiled apk, edit it ..recompile it.?.
[Sprint Samsung Galaxy S III] Shaftamle:
Yes. You have to edit .9 pangs when they are source. If you see black lines around the icon border you are good to edit then recompile it either with a ROM or there is a tool that will compile just the PNG. If you edit one without the lines(compiled) it will appear distorted. As soon as I find the link for the tool I will post it.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] dazednconfused:
I think the program is called xUltimate. Search xda for it, because I don't have a link handy. That's what I use to edit the .9png. You can decompile the keyboard and pull the decompiled images to the xUltimate program. Make your changes and it will compile them if there are no errors. Then you can move the compiled .9png back into the original apk. Hopefully that helps a little.

Sent from my Wicked SGS3.
[Sprint Samsung Galaxy S III] Shaftamle:
That is exactly what I use. I could not locate the link either. But thanks for posting the name. I just could not remember it for the life of me.:thumbup:

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] Vivek_Neel:
1-- create two folders original and testing

2-- copy the .9.png you want to edit

3-- paste it to both folder

4-- now you have to open draw9patch

5-- drag and drop .9.png from testing folder to draw9patch

6-- remove the patches (that black lines around the .9.png)

7--now save it as .png

8--so u have converted .9.png to png (right?)

9--now open that png in gimp

10--edit it

11--after editing is complete..save it..lol

12--now open the edited .png in draw9patch

13-- also the .9.png from original in another draw9patch.

14..now look at the patches of original .9.png (that black lines which u initially removed from testing .9.png)

15..and draw exactly the patches by looking at the original .9.png in "edited png"

16-'so you have now your edited .9.png with patches and edited.

Recompile

Done

I do it this way:)
[Sprint Samsung Galaxy S III] Shaftamle:
If that works for you, then you are the most patient person in the world.:)

However, if you need to do multiple icons that could take all day. Try this:

1)Get a decompiled .9(with the black border)

2)load to gimp or whatever you use and use the box select whatever its called tool to select the entire image, black lines included.

3)use the shrink option to shrink box 1 pixel. So your selected area is 1 pixel smaller then the black lines.

4) edit away, black lines should be unaffected. When done editing over write the loaded image. In gimp its cntrl+alt+4.

.9 edited DONE

No 9 patch editor needed.

for compileing

1)install xUltimate

2)put as many .9 pngs as you want in xUlt. Original folder.

3)Double click icon........

4)Done!

Might save you some time bro!

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] Vivek_Neel:
Yes.

Thank u mate.

Looks so easy..:)
[Sprint Samsung Galaxy S III] Shaftamle:
Another sick and even faster compile tool I just found yesterday!!

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

[tool] 9compiler - batch process for themers android

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Sprint Samsung Galaxy S III] ryno2333:
Thanks for this. I definitely will give this a try. Great instructions.
[Sprint Samsung Galaxy S III] rompnit:
Nice find!!
[Sprint Samsung Galaxy S III] medoooooo:
hi guys i want to know what xml is responsable for resizeing the keyboard aosp or google doesnt matter can someone help me with my issue

thanks in advance
[Sprint Samsung Galaxy S III] Evasi0n3r:
I can't see the pic in the first page... Which png i have to edit?

Thanks
[Sprint Samsung Galaxy S III] ninja_unmatched:
As far as apktool is concerned it is best to add it to your environmental variables (Windows) so you can use it anywhere. Just feed the folder path in the PATH of your variables.

---------- Post added at 01:54 AM ---------- Previous post was at 01:46 AM ----------

So you would follow the same procedure? I tutorial on this would help. What about the odex file? Starting to get people with non rooted phone wanting the keyboards. So how again would that work?
[Sprint Samsung Galaxy S III] ninja_unmatched:
Okay what to do with the QMG files. How to get them to png for editing and then back to QMG? I saw a tool for converting to png on xda but that does not say anything about how to get them back to qmg. I also saw that ppl are using Samsung theme app. (The one for bada) to convert them back to qmg (i think) this is not good when you have alot to do. Any suggestions?

Also some apks now have atc files.....
[Sprint Samsung Galaxy S III] Shaftamle:
QMG has to do with boot animations for Samsung, not keyboard. Try this:

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

(Shutdown Animation) QMG file creation

As far as putting apktool in path for windows, you really don't have to. You can always type out the full command, or when you have the apktool folder open, hold shift and right click on the folder. There is an option to open command line. It will open in the root of the apktool folder, so just start typing commands. If you really want to add it to system path, try this:

http://ibotpeaches.github.io/Apktool/install/

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

149ThemedGoogleKeyboards!!!!!!

Eclipse ROM fatness!

MyColorScreen
[Sprint Samsung Galaxy S III] ninja_unmatched:
Not true QMG and animations yes but the S6 keyboard has QMG files in it. That are used for the pop up menus.
[Sprint Samsung Galaxy S III] Shaftamle:
Guess I should have said its a Samsung thing. Didn't know Samsung went to the insane lenths to use QMG s for a popup. Kind of seems somewhat pointless, but hey, they do seem to over do everything and every app that comes with their phones. I remember while back someone ppsted an article saying they hardcoded the color of their swipe trail, another pointless exersize. They do everything possible to make Android, Samdroid. Either way, the link posted should help with your problem.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

149ThemedGoogleKeyboards!!!!!!

Eclipse ROM fatness!

MyColorScreen
[Sprint Samsung Galaxy S III] ninja_unmatched:
Weird though right? Seems overkill to me. But QMG and atc will get used more often as time goes by. It's all about optimization. Althougj even though i have the images converted to png after that I find the xml value that colors those icons. The icons you see when you long press on the period or the mic are just transparent on a white bg color whose value I'm still tracking down.
[Sprint Samsung Galaxy S III] DarkKnightz:
Can anybody help me with the keyboard on CyanogenMod 12.1? I cant decrypt the apk for some reason it give me an error.

The Google keyboard in Cyanogenmod can be found in system/app/LatinImeGoogle/LatinImeGoogle.apk

Maybe someone can manage to change it?
[Asus  Eee Pad Transformer Prime] hceuterpe:
The last time I had a seriously poor product is the circa 2001 IBM Deskstar HDDs (better known as the "Deathstar" drives). There was a class action lawsuit against them. And they either refunded your money, or gave you different model.

Anyone have that cooking?
[Asus  Eee Pad Transformer Prime] Ruprect:
Yawwwn!!!:(
[Asus  Eee Pad Transformer Prime] hceuterpe:
What? This is far more than just another gripe thread. There are plenty of people who dislike it ( a good device on XDA doesn't have this many complaints!). For those that bought it, at least in the U.S, can you think of a better option especially if it wasn't from BB or Amazon (and truthfully it's not fair those two companies have to eat the cost).
[Nexus 7 Q&A, Help & Troubleshooting] gabfall:
My nexus 7 doesent show the books.. movoes.. wallet or magazines app in it and in tha market it says update but when i open it it doesent let me update
[Nexus 7 Q&A, Help & Troubleshooting] veeman:
Are you using stock ROM?
[Nexus 7 Q&A, Help & Troubleshooting] gabfall:
Yeep