yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
This will replace the xml files in your drawable folder, and replace any battery icon in drawable-ldpi, drawable-mdpi, drawable-hdpi, drawable-xhdpi, drawable-sw600dp-ldpi, drawable-sw600dp-mdpi, drawable-sw600dp-hdpi, drawable-sw600dp-xhdpi, drawable-small, drawable-normal, drawable-large and drawable-xlarge.

Battery icons take the format stat_sys_battery_0.png, stat_sys_battery_1.png, etc as well as stat_sys_battery_charge_anim0.png, stat_sys_battery_charge_anim1.png, etc. And there are a few others for when the battery level is unknown and similar.

If your SystemUI.apk is set up like I described above, then I can only think of two possible solutions.

Maybe you need to pull and install your framework-res.apk before decompiling SystemUI.apk, to make sure TMA is using all the right resources or..

Or it's got to be something about ICS still. In which case, there's nothing I can do until Apktool is updated (which should be any day now)

I did spot some stat_sys_battery_charge_min icons in the SystemUI.apk you shared earlier. Do you know what those are for? I haven't come across them before..
[Android Themes] Ticklefish:
Hmm..do me a favour. Open the command window and, in any directory, enter:

java -jar

Then can you share a screenshot of what it says?
[Android Themes] nishantsikri13:
here's the screenshot
[Android Themes] Ticklefish:
Okay, so maybe you do have java set up correctly after all. This is good in a way because we're narrowing down what the issue could be. We'll figure it out eventually!

Now, let's try something else. Hopefully, you've still got your framework-res.apk in the in folder. If not, copy it over as before.

Back in your command window, navigate to wherever you've installed TMA. I've got it running on a thumbdrive so for me, it would be G:\TickleMyAndroid\

In the TickleMyAndroid folder, enter this:

dir in

and show me the result.

Then the big one..navigate to the tool_files directory and enter this (replacing G:\TickleMyAndroid\ with whatever your location is:

java -jar apktool.jar d -f G:\TickleMyAndroid\in\framework-res.apk G:\TickleMyAndroid\working\framework-res.apk

and, again, share the screenshot.

This is the same code that TMA uses to decompile files from the 'in' folder into the 'working' folder. It should work without any problems. If it doesn't, the screenshot should help explain why.
[Android Themes] Avilove.Cullen:
I am getting error while recompiling .. :(

What to do ..?? i have made changes in framework-res.apk and i want to recompile it itno .apk but it shows error
[Android Themes] Ticklefish:
You need to find out what the first error is to begin with. Scroll to the top of that long list of text and see what it's complaining about.

It's worth having a look at this post here: http://xdaforums.com/showpost.php?p=26120250&postcount=106

If you're on ICS, it could be just that TMA isn't fully ICS-compatible yet. Or, if not, it could be that you've changed something you shouldn't have..
[Android Themes] Avilove.Cullen:
no i am not on ics .. !!

But i am getting this kind of error

---------- Post added at 05:38 PM ---------- Previous post was at 05:29 PM ----------

there are many ***.9.pngs

and i cant find any file with 0 bytes size:(
[Android Themes] Ticklefish:
That might not be the error you're having. What does it say at the top of that list of text? Can you share a screenshot?
[Android Themes] nishantsikri13:
it didn't worked...
[Android Themes] Ticklefish:
And now I know where all the problems are coming from.

Your user name has white spaces in it which this can't handle. In other words, TMA will work if it's in C:\Users\Ticklefish, but not if it's in C:\Users\Tickle Fish.

I'll be honest, I didn't even think of this happening so I apologise there, but it's something I can fix easily enough for V3. In the meantime, install TMA somewhere else on the hard drive. Make sure it's somewhere without any white spaces in the name.
[Android Themes] Avilove.Cullen:
i have attached my screenshot in the previous post
[Android Themes] Ticklefish:
Is it possible you could reduce the width of the window? A lot of the text is lost off the side of the screen and what's there is almost unreadable.
[Android Themes] Drgravy:
here you go

Ive also changed wifi,usb and gps:D

for some reason everything turned purple lol

status bar is black

and most of the icons are blue
[Android Themes] maped:
for those who have errors is useless post screenshots :cool: !!!

Do at least the trouble of copying and pasting into a text file (select all, right click, copy, open a text editor, paste, manage error log attachement!) if you want to help you find the problem ;)

Inviato dal mio Nexus S con Tapatalk 2
[Android Themes] Ticklefish:
Very nice! Can you share some of those icons? The signal one is just what I'm after for V3!

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] nishantsikri13:
biggest thanx man.....

i worked now....

:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D
[Android Themes] Ticklefish:
So these drawable folders are for images used by people who read Right To Left. That's why they're filled with images of speech balloons.

As I said, I don't think you need to worry about recompiling framework-res.apk for your battery mod as SystemUI.apk on its own should be fine.

If you do want to recompile framework-res.apk for some reason and you're still getting this error, you can get around this problem. You need to remove all mention of the files in these folders from public.xml and then delete the folders. It's a bit of a pain but it'd work.

Unless you need those images, in which you're out of luck for now and you'll have to wait for an update to apktool.

..Have you tried Tickle My Android yet?
[Android Themes] Mihart:
Ok so now with this new version i manage to change the status bar transparency but just in theory. I mean the tool doesn't give me any errors anymore but it doesn't change anything. The status bar stays the same.

Other things like changing the signal bar icon worked just fine even with the older version of the tool. I attached framework-res (before 'changing the transparency'). I don't know if it helps? Couldn't attach both systemui and framework because of some error. I'll attach systemui too separately if that helps in any way.
[Android Themes] Alex740il:
I recompiled SystemUI.apk and pushed it to /system/app but battery did not change.. ;/
[Android Themes] Ticklefish:
What device are you using? What sort of rom are you on? And what version of Android?

..Have you tried Tickle My Android yet?
[Android Themes] Ticklefish:
Hmm. Can you fill in the form in the op please? And also copy and paste your logs.

I'll have a look and see if I can work out what's going on.

..Have you tried Tickle My Android yet?
[Android Themes] Mihart:
Samsung Galaxy ACE 2 GT-I8160 . Unofficial CM10. jellybean 4.1.2

I also attached the systemui.
[Android Themes] Alex740il:
I got it working. Not sure why didnt work the first time around... Pulled the file, decompiled, modded, recompiled, pushed it and restarted. New battery icons showing up as they should. Thanks!!
[Android Themes] bodmeister:
As i mentioned above, it starts by saying installing then it goes back to the main menu - no tickle my android text or anything - also tried adding the framework-res.apk after "prepare system app for pushing" and adding it to the project then creating the flashable zip, still nothing happens.

I'm at a loss as to what to do
[Android Themes] Ticklefish:
It's more than likely that you will need to do something extra to your rom to get a transparent statusbar. It was a lot easier in the days of Gingerbread, but Jelly Bean is a different matter.

Best to check in your devices forum.

Excellent! :)@

Odd. It may be that your setup doesn't like the Universal Flashing Tool. I take it you can flash other zips?

..Have you tried Tickle My Android yet?
[Android Themes] bodmeister:
Have not tried any other zips - not needed too as its worked fine for me within needing to flash any other zips - if i attach my framework-res.apk would someone be able to decompile/add the battery icons (number 41) and create a flashable zip for me to try? i could just by my computer that's messing me around?

Would be much appreciated :)

Cheers
[Android Themes] Pangkoy08:
Tried it but I failed. =(

Hello Ticklefish,

I tried making the docomo status bar with #53 battery icon without the text and Softkeys #10. I have already recomplied and I already have a flashable zip.

Here is my zip file.

https://www.dropbox.com/s/3lqd8k0pt291hh3/TMA_Tue-07-09@934.zip

Here is the screenshot when I tried flashing it. I got this error.
[Android Themes] matood:
>>>Looks like you haven't installed SemcGenericUxpRes.apx before trying to decompile your apk.[/QUOTE]

Thanks a lot it worked!

I managed to change some stuff but another problem shows up. I was trying to add transparency to statusbar but it just says files found and it's working for ages and nothing happens...
[Android Themes] Namoi:
Mate, look here. It is for Gnote but it is adaptable.

http://xdaforums.com/showthread.php?t=2078585
[Android Themes] Ticklefish:
If no-one beats me to it first, I'll give this a try. We'll get this sorted out eventually.

:)

First of all, thank you very much for the screenshot. It is VERY handy to see what the error is and when it happens.

I've done some research into this and it may be an issue with your mountpoints. Could you share your system/etc/vold.fstab please?

I have two possible solutions for this, so don't worry. ;)

Thanks a lot it worked!

I managed to change some stuff but another problem shows up. I was trying to add transparency to statusbar but it just says files found and it's working for ages and nothing happens...[/QUOTE]

Anytime!

This business with the transparency was an known issue with v5.4 and has been fixed in v6.0. You need the latest version of TMA.

Very useful, thanks!

..Have you tried Tickle My Android yet?
[Android Themes] bodmeister:
Much appreciated :) I don't see why gingerbread didn't include the % as digits as standard - would have made life a lot easier, but put you out of helping the community! :laugh:
[Android Themes] iPusak Gaoq™:
[MENTION=4315551]Ticklefish[/MENTION]....

i'm having trouble decompile and recompile mms.apk for Carbon Roms (JB 4.2.2)....here is my log while recompile....i think it is due to java on my pc but i guess you know better than me finding out what is the problem... :fingers-crossed:
[Android Themes] Pangkoy08:
File Needed

First of all, thank you very much for the screenshot. It is VERY handy to see what the error is and when it happens.

I've done some research into this and it may be an issue with your mountpoints. Could you share your system/etc/vold.fstab please?

I have two possible solutions for this, so don't worry. ;)

Hello Tickle Fish here is the file that you needed. Thank you so much for your time and effort.
[Android Themes] iPusak Gaoq™:
Thank you for your reply.....

'chcp' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.

actually i'm also concern about this line everytime i try to mod any apk....but those line doesn't give me any trouble since i can mod/decompile/recompile/sign/ziplign on JB 4.1.2 and below without any problem....all modded apk works fine....but if there a solution for fixing that line, can you tell me what is it????

hmmm....all log??? as in decompile and recompile log??? i can't find decompile log on TMA v6.0...usually v5.4 the log is there on cmd...also i don't edit any line from public.xml....i only edit in xml folder (mms_config.xml) only....i will try to remove those line and see what happen next....

Lol....that pouty bat face is so cute :p
[Android Themes] Namoi:
Just a quick question : isn'it better to DELETE public.xml just after decompiling as a new one will be created at compile time ? and hence avoiding that kind of problem.

I know i do it when compiling themes (XthemeEngine), but i wonder if it applies to "standard" apks as well ?

Thanks
[Android Themes] Ticklefish:
You haven't included your history.txt but I don't need it this time round because I can tell what's gone wrong.

You haven't installed your framework-res.apk. Without this, your SystemUI.apk won't decompile properly.

Have a look at the instructions in the op for more information. :)

To be honest, a lot of the time deleting public.xml won't cause any trouble. In theory.

The problem is, you can't guarantee that the hex references will be the same in the new xml as in the old one. Which could potentially cause an issue. It's good practise just to leave it alone.

The only time you actually need to edit public.xml is if you're deleting things.

So what happened after you deleted those lines?

..Have you tried Tickle My Android yet?
[Android Themes] iPusak Gaoq™:
deleting those line help me recompile mms.apk successfully but it also make mms thread look very ugly then before....deleting public.xml also a great idea cause it doesn't give error log but still the result look very ugly.....

a have attach mms.apk (not modded yet) along with framework-res.apk for you to test it, maybe you can figure out that is the real problem....help me edit this line in xml folder/mms_config.xml.....

change this....

<int name="smsToMmsTextThreshold">7</int>

to this....

<int name="smsToMmsTextThreshold">777</int>

i just wanna to increase how many sms i can wrote before it change to mms....
[Android Themes] Ticklefish:
Can you provide a screenshot of what you mean by the mms thread looking ugly?

..Have you tried Tickle My Android yet?
[Android Themes] Pangkoy08:
Needed file

Hello Tickle Fish here is the file that you needed. Thank you so much for your time and effort.
[Android Themes] kintwofan:
Hey ticklefish just noticed a little big in the latest update. I try to keep up with this thread so hope I didn't miss this, but in the theme menu the are two option 18. The second one is just mislabeled just thought I'd point it out.
[Android Themes] MR.Volkf:
hii [MENTION=4315551]Ticklefish[/MENTION] i just want to ask something,why every playing with smali files to mod SystemUI.apk,when apply them,SystemUI.apk always force close but in log there is no doubt,my device is Galaxy SL,running on CM10.1
[Android Themes] iPusak Gaoq™:
Here is the screenshot......

before.....

after.....
[Android Themes] thunder888:
Hi, can you fix Tickle My Android 6.0 link? I can't download it. Thanks before :o

Edit : My mistake... :p downloading now :D
[Android Themes] Ticklefish:
I see. How strange.

There's not much I can do here. It's worth talking to the maker of your rom about this.
[Android Themes] Ticklefish:
If you're changing smali files and you're getting force closes, it's either because you're not processing the apk correctly or because there's something wrong with the smali changes you're making.

I don't know much about smali yet so I can't help there. But have a look in the ops to make sure you're processing the apk correctly.
[Android Themes] Pangkoy08:
Thanks

i will try it once I get home.
[Android Themes] Ticklefish:
Cool. It's a bit of a guess, this. We both have Xperia phones but mine doesn't have any issue with the sdcard being mounted. I've done some research and those errors do seem to be linked to that file.

So it should, in theory, work.

In theory.

Just make sure you back up the original first. I know I've said it before but I can never really say it enough.
[Android Themes] XGr7078:
Yss Now I can easily decompile and compile systemUI.apk without any problem.

But one noob question do I really need a external sd card installed at the time of flashing the zip
[Android Themes] Ticklefish:
Depends on your device. If you have an internal sdcard and if your pc will recognise it and if your recovery will recognise it as well, then you can copy the zip to that instead of an external sdcard.

..Have you tried Tickle My Android yet?
[Android Themes] Ticklefish:
Thank you very much for using the form!

I'm too tired to check your xml right now but I can instantly see where your problem is. Don't sign the apk after you've recompiled, you need to use the prepare file option instead. Have a look at the instructions in the op for more information. :cool:

..Have you tried Tickle My Android yet?
[Android Themes] MR.Volkf:
this is ma step,first off all install Framework-res.apk from cm10.1 -> decompile SystemUI.apk-> modding SystemUI.apk ->recompile SystemUI.apk -> prepare system app SystemUI,apk -> create zip file,flash in ma phone, SystemUI.apk force close :crying: but in slimbean work like charm :confused: or something wrong with CM 10.1 in ma phone?
[Android Themes] Ticklefish:
The process is right, although it would help if I could see your logs.

I suspect this may have something to do with the actual mod you're doing. I don't know smali, so I can't help you there, but I wouldn't be surprised if there are significant differences between CM10.1 and Slimbean.

Have you Tickled Your Android lately?

(tinyurl.com/ticklemyandroid)
[Android Themes] MR.Volkf:
hmm sorry i mean Slimbean in based on CM10,but both CM10,and CM10.1 give me force close :confused:

oke here my recompile log:)

Recompiling "SystemUI.apk"
With Tickle My Android
(tinyurl.com\ticklemyandroid)

----------------

I: Smaling...
I: Building resources...
I: Building apk file...

----------------

Recompile Successful!

and also nothing wrong when prepare for system app ;)
[Android Themes] Ticklefish:
Can I see your decompile log and your history as well please?

Have you Tickled Your Android lately?

(tinyurl.com/ticklemyandroid)
[Android Themes] XGr7078:
Unable to install the TMA zip

this is what I got while installing the "TMA_12-07-2013--@126.zip" in CWM recovery

I did the following steps:

1.reboot to recovery

2.install zip from sdcard

3.choose zip from external sdcard

4.TMA_12-07-2013--@126.zip

5.Yes - Install TMA_12-07-2013--@126.zip

and got the following output.

-- Installing: /external_sd/TMA_12-07-2013--@126.zip

Finding update package...

Opening update package...

Installing update...

Tickle My Android

by Ticklefish

Presents:

<<--------------------------------

UNIVERSAL FLASHER TOOL v.3.6

by JRsoft & Intronauta

based in <Villain System>

--------------------------------->>

SETTING UP ENVIRONMENT >>

[ERROR] We need one sdcard mounted!

[EXIT] Check and configure MOD.config

Install from sdcard complete.

please help!!!!

So I did some move of my own and guess what? I got bootloop

I replaced the framework-res.apk in /system/framework and systemUI.apk in /system/app and suddenly app like whatsapp and root explorer force closed. please help...
[Android Themes] wasturaka:
you're welcome and thank you for answering :)

oh yes i've tried that, after prepare system app for pushing, my SystemUI.apk changed to SystemUI.zip. is that normal? so i add that zip file to the project, flash it to the phone and get no changes. then i go to rootexplorer and see SystemUI.zip there.. :)
[Android Themes] Pangkoy08:
I tried but it failed. =(

Hello Ticklefish. I tried your script and it did not work. I still have the same error from my screenshot. after the phone was rebooted what happened was it disabled my usb.

Sorry for the trouble.
[Android Themes] arif35:
nice...
[Android Themes] wasturaka:
aww yeaa i did it!!

i changed my method of recompile, without any need of sign apk or prepare system app. what i did is -> pull the apk -> decompile -> edit the status_bar.xml --> recompile. after that, i open the edited SystemUI.apk and the fresh SystemUI.apk together using 7zip, then drag+drop the status_bar.xml from the edited to the fresh one :D so i got a signed package with edited xml :fingers-crossed: after flash.. got my clock centered ;) really thanks, Mr. Ticklefish ;) and for your great tool too :cool:
[Android Themes] XGr7078:
[MENTION=4315551]Ticklefish[/MENTION]

I am unable to recompile framework.jar
[Android Themes] Ticklefish:
Oh dear. I'm sorry to hear that.

There are instructions in the op for what to do if you're having trouble de/recompiling.

Have a look and I'll do what I can to help. :cool:

Have you Tickled Your Android lately?

(tinyurl.com/ticklemyandroid)
[Android Themes] Ticklefish:
Well, everything here is as it should be. Which makes me think the problems lies with the actual mod you're doing.

The only thing left to try that I can suggest is seeing if the apks work if you decompile then recompile them without making any changes. Oh, and don't forget to prepare them, of course.

That's part of the process, yes. But not all of it.

According to your later post, you've found a solution that works for you, which is the main thing.

Damn. That was my last idea. I don't know what's causing the issue. There's something about your recovery that's just acting..odd.

The last thing we can try is to make just a standard flashable zip. It's possible your recovery gets confused by the ones TMA makes.

Can you please share your modded apk files and a working zip please? It doesn't have to be one TMA made, any will do.

Have you Tickled Your Android lately?

(tinyurl.com/ticklemyandroid)
[Android Themes] XGr7078:
Nah, its okay now and I am able to flash the zip onto my phone/tablet. I had to change the code little bit in the Jrsoft tool and it worked like a charm. Btw I think your tool can't recompile jar files as when recompiling process starts it says recompiling apk.:confused: I think you need to see your source code for that. It decompiles easily and but it can't recompile the jar files.

Anyways, thanks a lot. And I try to keep you updated with everything possible.

Thanks:XGr7078
[Android Themes] Pangkoy08:
I did try a different flashable zip with the modes um using from tma and its working gteat. Just need to learn how to remove battery text because the one in status bar.xml is not workibg for me.
[Android Themes] Ticklefish:
Interesting. What changes did you make?

I've just tried recompiling some jar files and the tool works fine. Is it possible I can get a screenshot of what you mean please?

That's pretty straight-forward. Can you share your xml please?
[Android Themes] :
First of all a ton of thanks to you Sir.

You'rea genius sir.

Congratulation for this tool's success. Actually TMA deserves more than the success that it had got. It's just mind blowing. :):):)

Actually in the above post our mate want to says that whenever we recompile jar files through apktool, it always shows that it's recompiling apk.

But saying frankly there is no harm in this. Cause it shows apk but recompiled the jar files very well.

And it's not because your source codes. It's because apktool has got this and TMA it's built On apktool.

BTW sir,

Just few disturbance from my side. It's it possible to add MTK (mediatek) device support in TMA for signal changing or toggles changing function.

It uses different name.
[Android Themes] Ticklefish:
Well, you deserve an extra-special BIG thanks for your kind words! :highfive:

I think what you and [MENTION=4365046]XGr7078[/MENTION] are referring to are messages like these:

I: Building apk file...

You're absolutely right, this is part of apktool itself. I'll let the developer know. This is just a typo, jar files are still recompiled properly.

I don't know much about MTK....in fact, I'll be honest, I don't know anything about MTK. But I'll look into it and see what I can do. :)
[Android Themes] Pangkoy08:
Here ia where you can find the xml.

EDIT: Page 135 of this thread.
[Android Themes] bodmeister:
@ Ticklefish - have you managed to have a look as to why i couldn't create a working flashable zip with my framework-res.apk? (post #1391) - i can see a few people have had a look at my framework-res.apk - anyone been able to create a working flashable zip i can use to get 1% battery increments?

Thanks
[Android Themes] black97one:
Thanks for this tool ;)

Xperia Tapatalk