yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
Solved.

With any compilation tool, it's always worth tackling the first errors before anything else. The trouble with apktool is it generates so much text if it goes wrong. So first, we need to see what it says at the top of the screen.

Right-click on the "Tickle My Android" shortcut and go to Properties. Then go to Layout and change the screen buffer height to something big. I set it to 3000 here but you could probably get away with less.

Now recompile and...you get a mess of errors. Because the screen buffer height has changed, you can now scroll to the very top of this list of errors to see what's going on:

Here we see that you've got three ERROR lines..and they all relate to .9.png's. The same three .9.png's that you got a warning about when you decompiled the framework-res.apk originally:

Basically, anyfilename.9.png is a graphic file with a special, 1 pixel wide border. This border isn't part of the picture, it's instructions to Android about how to stretch the picture. With your framework-res.apk, three .9.png's had had this border overwritten. Which won't compile because, technically, the files are faulty. They're not really but they don't do what Android expects them to.

Once you've decompiled the app, navigate to where your images are (in your case, drawable-hdpi) and you'll see three .9.png's with a size of 0 bytes. You'll also see three ordinary png's with the same names. This has been done by apktool. All you need to do is delete the duplicate .9.png's (make sure you delete the right ones!) and that's it. The app now recompiles without any issue.

Thanks for sharing your framework-res.apk, this is very handy to have found out. I'll update the original posts so others know how to avoid this as well. :)
[Android Themes] Ticklefish:
61.

Sixty-one.

Sixty. One.

Wow..that's a lot of icons!! Thank you very much, that's incredible! :eek:

I'll look through them and add them to the next version. If I get time to do them all, that is. After all...there are 61 of the things!!
[Android Themes] Ticklefish:
Well, I downloaded your framework-res into the "in" folder. It came as a .zip file, although that may be something that XDA did, so I renamed it from framework-res.zip to framework-res.apk. Then I loaded up TMA, went into the theming menu, selected Option 4 to decompile, Option 1 to decompile framework-res.apk and it decompiled without any issue.

TMA didn't say it wasn't there or give any sort of error.

The only thing I can suggest is making sure it's not .zip and is definitely .apk. Otherwise the file is detected by Tickle My Android just fine.

I meant try connecting your phone with Mass Storage on and then with Mass Storage off. I don't have an HTC phone myself so I can't test it here.

Try the Wildfire forum: http://xdaforums.com/forumdisplay.php?f=678

They should be able to help you connect your phone to the PC by ADB.
[Android Themes] Drgravy:
thanks for solving this i deleted the 3 files and it worked perfectly!

and now I have my shiny new battery icon:D

once again thank you
[Android Themes] Ticklefish:
Another happy, tickled customer. :)

Which shiny new battery icon did you go for?
[Android Themes] Drgravy:
meter by uot kitchen

any plans to do anything with signal bar icons?
[Android Themes] Ticklefish:
A nice choice. :-)

This is something I'm planning for version 3. It looks like I've got version 2 working perfectly now so I'm thinking of other things to add. And signal icons are on the list. I just need to find some good ones now!

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] nishantsikri13:
i checked it is in apk format...

i tried using it in another pc n laptop but it shows the same.....

can u upload its decompiled files from working folder in a zip file so that i could make changes in it.....
[Android Themes] nishantsikri13:
hey now i get something like dat:

1. when i decompile...

2. when i install it on my pc...

pics r below....
[Android Themes] nishantsikri13:
nw m getting this when i decompile it....
[Android Themes] maped:
Sorry Ticklefish for multi-sent message...vodafone italy now it's crazy :o...

EDIT: i've try new version...not work battery mod on ics 4.0.4...also this version don't push the modded battery png inside at decompiled SystemUI.apk and when recompile it, I have the same battery icon (stock ics)

Inviato dal mio Nexus S con Tapatalk 2
[Android Themes] Ticklefish:
It looks like you haven't got the classpath in your java set up correctly.

The piece of code you're struggling with is:

java -jar apktool blahblahblahblah..

By the looks of your screenshots, your PC isn't understanding the "-jar" section. I'm no java expert but I think you may need to reinstall it or install the newest version.
[Android Themes] Ticklefish:
Previously, you said you don't have framework-res.apk on your phone. What framework file have you got instead?
[Android Themes] maped:
When I change my battery icons and make a flashable file, I work only on systemUI.apk where is the png to change...and I edit SystemUI/res/drawable/stat_ sys_battery.xml and stat_sys_battery_charge.xml...

...the framework-res.apk is not touched to just change the battery icon :o

EDIT: but just only my experience with ics??

Inviato dal mio Nexus S con Tapatalk 2
[Android Themes] Drgravy:
Ticklefish

I am loving this tool I was able to pull my systemUIapk, drag and drop some signal bars in recompile then push then I rebooted and crossed my fingers and poof I had shinny new signal bars

many thanks
[Android Themes] puddlejumperxxx:
help a noob out !

java problem ...............what does this mean ...........try to put java in Path... Also in command line root of disk aka c:/ write java - version and see if something happens
[Android Themes] delight535:
Hello!

Great tool! Thank you!

I used it to decomply and modify SystemUI.apk on CM7, everything went great. Now I am trying to decomply the SystemUI.apk from CM10, and it fails to do it properly. I uploaded the file here. I tried another app, and that one also failed to decomply.

Can you help me?

Thank you! :)

EDIT: I found the error: I need to install the framework-res.apk in the application. :) It works now.

Try to install the 32 bit and 64 bit versions of Java Development Kit!
[Android Themes] Ticklefish:
Re: [TOOL]Tickle My Android 5.3 - DE/RECOMPILE APPS, CHANGE BATTERY ICONS...AND MORE!

I do. Looks like you may have interrupted the prepare process at some point in the past and TMA got confused.

..Have you tried Tickle My Android yet?
[Android Themes] Ticklefish:
Re: [TOOL]Tickle My Android 5.3 - DE/RECOMPILE APPS, CHANGE BATTERY ICONS...AND MORE!

Have a look in that apk's drawable folders for that icon.

..Have you tried Tickle My Android yet?
[Android Themes] vato_bth:
Everything is working. Great project! Thank you!
[Android Themes] alvizu:
With Xperia Z don't change the wifi and data icons
[Android Themes] deadneon:
Can anyone help with this problem here :

I installed framework on PC and I still get this error. What should I do ? :confused:
[Android Themes] TheRisingDragon:
Re: [TOOL]Tickle My Android 5.3 - DE/RECOMPILE APPS, CHANGE BATTERY ICONS...AND MORE!

Awesome tool!! Thanks tickle fish... This tool reduced 75% command typing works on Apktool and working like charm but I still use apktool's adb server to push apps cuz tickle my android change my modded apk files into zip files when I choose option 14.prepare pushing system apps(something like that)

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] shulmus:
error recompiling apk

Dear Ticklefish,

Firstly, many thanks for the great tool.

I am having trouble recompiling an apk for the Sony Xperia Z.

Here is my error report as follows. Pls kindly advise.

What phone/tablet are you using?:

Sony Xperia Z c6603

What version of Android are you running?:

JB 4.1.2

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc)

Stock Generic Sony rom 10.1.A.1.434 rooted, odexed

What are you trying to decompile/recompile?

recompile SemcPhone.apk (pls see enclosed). decompiling goes w/o error. no error for the other files done prior

What resources apps have you installed?

framework-res.apk

SemcGenericUxpRes.apk

Are the files you're using odexed or deodexed?

odexed

What mod are you trying to do?

modify xml, but not relevant, as the error occurs even when just decompile and recompile straight away w/o any modifications

Do your files work if you decompile, recompile and prepare them without changing anything?

pls see above. does not work

Have you tried the Mini Menu and, if you did, what happened?

Mini menг does not work with the file i am having trauble with

What problems are you having? (Give me some detail here, don't just say "It doesn't work.")

pls see the logs enclosed
[Android Themes] danieldmm:
Do you have java in Path? Think it's related to that by the logs. :)
[Android Themes] alvizu:
how to completely remove the battery icon? the percentage not, only the battery in a Xperia Z

If somebody can help me, please?
[Android Themes] TheRisingDragon:
Why sometimes my battery charge animation doesn't work? I used the 7th battery icon (blue car battery)?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] bodmeister:
Thanks for this app - is very useful!

I do have a problem though :( I managed to create a flashable zip with a different set of battery icons, however when i flash the zip to my phone via CWM (using LUPUS kernel), the battery indicator doesn't change.

If someone can help me solve it, it would be very much appreciated!

edit: after flashing in CWM, it says "Nothing has changed". I followed the instructions for changing the battery mod very carefully so I do not know why it is not working.

Thanks
[Android Themes] Madaditya:
Decompile the systemui.apk...

And delete stat_sys_battery.xml....(or something like that,similar..also try removing stat_sys_battery_charge.xml...or ull have the icons while charging)...from drawables folder

2.or delete all battery icons from drawables-hdpi folder

And and any other drawables folder which contain them!

Recompile it back...SUCCESFULLY! :P

3.Or open the .xml file using notepad++ and clease everything and save it....

4.or using apk-multi tool....just 'extract the apk'....do step 2...and 'zip back'

Options 1 and 3 in apkmultitool...

Read in that section..ull get stuff

Sorry if I confused :cool::p

Not a technical method...but should work! :p

Juz be the smart Geek :cool:

___________________________________

@ticklefish...

Mate I again face recompile issue...

http://xdaforums.com/showthread.php?p=39422829

Mentioned here...

I tried deleting installed framework from pc,reinstalled...deleted tickle my droid..reinstalled it again...

Apk multi tool also gives same error...

Guess its the apktool related issue??
[Android Themes] TheRisingDragon:
Just remove @id/battery (whole line), check status_bar.xml and find it and it might solve the problem but not so sure cuz it might show the battery icon when charging :| however try it ;)

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)

---------- Post added at 11:06 AM ---------- Previous post was at 11:02 AM ----------

I don't think deleting these files will allow him to recompile :/ will it?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] Madaditya:
Ryt!

That's way told him to open that .xml file using notepad++....(except the first line..ie ?utf='8'..etc..which defines it to be am xml file)

Clear everything in there,save...

This is trial and error method mate...so gave all the options :p

Even your method should work...

And any recompile errors for peepz here?just after changing battery icons?

Juz be the smart Geek :cool:
[Android Themes] TheRisingDragon:
Hahaha you make me confuse :D maybe my English is bad to understand you :-/ anyway I won't get any recompile error after changing battery icons :P just made a battery while ago and gonna test now ;)

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] dr.4dmin:
Not work in cww

hello .

after recompilefile and zip file SYSTEMUI,apk and framework-res.apk and copy to my sd install in CWW not working not install and not change . please help me

ROM STOCK . 2.3.4 Build 42 and ROOT , bootloader LOCK .

help please
[Android Themes] TheRisingDragon:
Have you signed the .zip file?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] dr.4dmin:
yes singned and creat zip file .
[Android Themes] TheRisingDragon:
Signed and creat(ed) .zip file means you signed the apk files? To install through CWM, your .zip file must also signed.. Hmm if you also signed your .zip file, then what's the error you get on CWM log screen?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] dr.4dmin:
I'm sorry for a bad EN type .

yes after all . zip file copy to sd card install to CWW but not error nothing

shows write text to screen and back to menu root but not text (" COMPLETE ")
[Android Themes] TheRisingDragon:
I wonder what that really is :-S

Don't say sorry for that :) I'm still not perfect in English, I also improved with the lowest level...

Hmmm seems a noob like me doesn't understand what causes the trouble... Hmm maybe your recovery might be old to read new scripts? Just try to update your CWM if it's old, if it's also new then sorry, I have no idea :|

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] bodmeister:
I seem to be having the same issue - I have signed both the framework-res.apk and the .zip file. I've flashed the zip file to the phone via CWM and it doesn't seem to work. I get the message "Nothing has been changed". - I'm using Gin2JB v2.0.2

After booting the phone, the battery icon does not change to the one that i added to the now newly signed and recompiled framework-res.apk, and I have been trying to get this sorted now for the past few days, so as you can imagine it is starting to annoy me a little that it is not working as the battery indicator on gin2jb does not have any form of percentage indicator for battery charge/drain.

Any help on this would be greatly appreciated.
[Android Themes] dr.4dmin:
i don't know . version cww 5... ow lesten after recompilefile systemui.apk creat a zip file . after not work i'm copy this file to system/app but not work . I delete systemUI.apk stock and power off after restoor my mob systemUI.apk new copy from system/app and permissions all write after reset STATUS bar gone. and I compeled copyed stock systemUI.apk to back status bar .

thanks U for a help me please new news to me .

---------- Post added at 06:49 PM ---------- Previous post was at 06:44 PM ----------

Exactly my problem
[Android Themes] dr.4dmin:
I'm sorry for new post after post . please help to me to how create a flash ZIP file CWW to normal or custom or handly to create? . tnks
[Android Themes] TheRisingDragon:
You're welcome buddy! I will look into your problem in Google to find a solution if possible... Just try ask your custom rom cooker if he uses his own signature on his rom...

I've never done before with this... Just try all of them if you have time ;) then you can figure it out whether which are working and which aren't...

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] Madaditya:
Just after modifying files and recompiling them...go to flashable zip menu...and just hit creat flashable zip...in tickle my android menu...

It'll make a flashable of apkz present in _out folder

You'll get hints from the op as well...

You might wanna hit thanx :p

Juz be the smart Geek :cool:
[Android Themes] TheRisingDragon:
Can anyone tell me must I install Gingerbread framework-res.apk file and SemcGenericUpxRes.apk files to mod a gingerbread SystemUI or I can do it even with files from ICS .587 baseband?

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] Madaditya:
Install gb framework and ui while modding gb stuff

Juz be the smart Geek :cool:
[Android Themes] danutzgtx480:
Java not installed on PC error....Installed the last version but not working

NEVERMIND I am on X64 Windows 7 and was installed only the x32 version on java :P
[Android Themes] Ticklefish:
Yes...I think I know why. Hopefully I should be able to release an updated version of TMA later tonight.

..Have you tried Tickle My Android yet?
[Android Themes] Ticklefish:
Looks like your SystemUI.apk didn't decompile successfully.

Thanks, I'll have a look at this when I'm at home.

And thanks for reporting the error correctly! :)

What did you do when you actually made the zip? It sounds like you made a zip without any files in it perhaps..

To remove the battery icon, just add

android:visibility="gone"

to the line of code for the battery icon in the xml. I did this to my XZ and it looks fab!

..Have you tried Tickle My Android yet?
[Android Themes] Ticklefish:
It's been a busy few days.. A nasty case of flu has swept through the house and I've been very busy looking after everyone.

And then I had to throw a birthday party for my kids..manic!

But it seems to have calmed down now and I can get back to the important stuff. I'll be releasing v5.4 soon and then getting back to work on v6..

..Have you tried Tickle My Android yet?
[Android Themes] TheRisingDragon:
Man!!! You're being a god to me :) thanks for your awesome help.., cuz noob like me even able to help some cuz of your tutorials, I've been learning a lot from it... Thanks buddy! Wish you and everyone of your family will get well soon! :)

ゞ(`')、ＳＯＮＹ　ＸＭＰ　三( ゜∀゜)
[Android Themes] Madaditya:
Take care mate!

Good you got an update!

Please consider the options like extract apk and zip apk...that apk multi tool offers as I early said!

And I bet ill stop using Apk-multi tool :p

Also flashable zip method can be updated?

Like ones which contain folders like...system,META-INF...well that makes things easier to and apps and replace them instead of making a zip everytime...

Well if the method now used is for making flashing 'universal' to all devices....no problem!

+1 to whatever you said!:thumbup::D

Juz be the smart Geek :cool:
[Android Themes] ammanashani777:
getting the error (0) code while flashing in cwm... don't have permanent cwm on my kernel, could that be the problem?
[Android Themes] Ticklefish:
Nope...
[Android Themes] Ticklefish:
Well, I can certainly look into it. The problem I have is that any option has to be useable by everyone without causing any confusion, but I'll certainly add it to the list of possible new features for v6.

The zip maker is designed to be about as universal as it can be already..
[Android Themes] 305nole:
Removing the clock

Hi all, is there a way to remove the clock from the status bar. I've tried deleting the clock line in status_bar.xml, but it gives me recompile errors. Any help will be appreciated.

EDIT: Wrong Thread
[Android Themes] Typhus_:
Hello!

I'm facing a problem.

I'm trying to change a smali file under framework.jar. After I do the changes and recompile it, everything is good. But, when I prepare the file to be flashed, using option 14 (since it's a system file), the changes made to the smali code are lost.

If I use option 15 instead (sign the file) or if I don't do anything after recompiling it, the file is flashed, the phone boots, but I notice some random lags while using the phone.

Should I try to decomplile/recompile the jar files using THIS guide instead? Do you think that will work?

BTW, what I'm trying to do is to change the width of the line that connects the dots on the security pattern lock screen. The changes I've tried to make are listed HERE.

Can anyone help me out?

----EDIT----

One other thing, does anyone knows how to make a full screen lock screen (meaning...no status bar)?

Thanks!

----EDIT 2----

The framework.jar "thing" is solved. Turns out that following the other guide was the right way.

Still hoping to find out how to disable the status bar on the lock screen...
[Android Themes] T.I.T.O:
This was supposed to be an error but I fixed it :D

Edit: Instead of making new post, I will edit the old one to serve my request :D

So I changed battery icon successfully but I have the % from the old battery icon. Any idea how can I remove that?

Also I want to change color of my clock and center it in status bar if possible . I would appreciate any help/tips about that.

Thank you in advance and many thanks for your awesome tool! :D

Edit: I just saw links to your topics about what I want exactly, so you can ignore this comment :D :D
[Android Themes] Santstoff:
TickeMyAndroid is one amazing tool :good:

It used to work for on every ROM I've used but now I've flashed Super Jelly Bean ROM based on CM and it doesn't seem to do its magic! :(

Any suggestions?
[Android Themes] Ticklefish:
Well...it's not quite the right thread for this sort of question but I'm always happy to help if I can.

If you delete lines in xml, it can cause problems. The best thing to do is add the parameter "android:visibility="gone"" to the line. This will make Android just ignore the line of code.
[Android Themes] Ticklefish:
Interesting...

Well, I'm glad you've been able to do it but you shouldn't have been having those problems. Is it possible you can share your files and the changes you were making please?
[Android Themes] Ticklefish:
Well, there's a few possibilities..

Can you fill in the form from the op please and attach your log files? It'll help me get a better picture of what's actually happening.
[Android Themes] Santstoff:
Fill out this form here. Just copy and paste then fill in your answers.

What phone/tablet are you using?: Sony Ericsson Xperia Neo

What version of Android are you running?: Jelly Bean 4.1.2

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc): Super Jelly Bean based on CM10

What are you trying to decompile/recompile?: SystemUI.apk

What resources apps have you installed?:framework-res.apk

Are the files you're using odexed or deodexed?

What mod are you trying to do?: Battery, WIFI icons

Do your files work if you decompile, recompile and prepare them without changing anything?: Yes, it has no errors in those phases. Just doesn't change anything after flashing.

Have you tried the Mini Menu and, if you did, what happened?: NO

What problems are you having? (Give me some detail here, don't just say "It doesn't work."): Decompiled, changed what I want, recompiled, pushed and flashed. But no changes in the ROM.

Please also copy and paste the log files for the files you're modding (use Option 1 in the theming menu) as well as the history.txt logfile:

Tickle My Android Theming History

Sun-04-14@2342 --- "framework-res.apk" decompile succeeded

Sun-04-14@2342 --- "framework-res.apk" installed to PC

Sun-04-14@2343 --- "SystemUI.apk" decompile succeeded

Sun-04-14@2344 --- "user_files\BATTERY" battery icons added to 'SystemUI.apk' in 'drawable-sw720dp-hdpi'

Sun-04-14@2345 --- "user_files\BATTERY" battery icons added to 'SystemUI.apk' in 'drawable-hdpi'

Sun-04-14@2346 --- "user_files\BATTERY" battery icons added to 'framework-res.apk' in 'drawable-hdpi'

Sun-04-14@2348 --- "Steel Blue by Team Carbon" WiFi icons added to "SystemUI.apk" in "drawable-hdpi"

Sun-04-14@2350 --- "framework-res.apk" recompile succeeded

Sun-04-14@2351 --- "SystemUI.apk" recompile succeeded

Sun-04-14@2351 --- "framework-res.apk" prepared for flashing

Sun-04-14@2352 --- "SystemUI.apk" prepared for flashing

Sun-04-14@2352 --- "TMA_Sun-04-14@2352.zip" created in "C:\TickleMyAndroid"