yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
You're getting an invalid directive error on the smali you're adding. That's because the smali you're adding isn't compatible with apktool 2, only apktool 1.

This is covered in the FAQ in the fourth post. I'm guessing nobody actually reads that...
[Android Themes] xenreon:
Then try :

1. Decompile an apk with apktool 1.5.2

2. Add the smalis (no need of anything else, just copy/paste them)

3. Recompile the apk and then decompile it using the apktool 2xx version you wanna use

4. Use those smalis in your SystemUI

Thanks to [MENTION=4315551]Ticklefish[/MENTION] for reminding me about 3minit battery mod smalis :D
[Android Themes] Ticklefish:
I have a dummy APK file that I use for converting smali files. I'll have to upload it when I get a chance. It's very helpful for this sort of thing.
[Android Themes] TBGetto:
I can not do it. I do not understand.

Thank you all for everything.

---------- Post added at 11:02 AM ---------- Previous post was at 10:30 AM ----------

The frameworks res.apk can only be installed if apktool 2.1.0 a64a03-SNAPSHOT.jar the set.

Just be good for Decompire.

If apktool 1.5.2 on the set, the error message Decompire.
[Android Themes] Ticklefish:
You need to be able to decompile something that's compatible with apktool 1.5.2. I'll try to upload my dummy APK later today.

Where did you get them from? Did they come from ZIP files that you know can be flashed on your ROM?
[Android Themes] xenreon:
Try this dummyapk, your won't need framework support for this

And it belongs to [MENTION=4315551]Ticklefish[/MENTION] that he linked me sometime ago, just copy/pasted link XD
[Android Themes] TBGetto:
I downloaded dummy APK. What should I do with it?
[Android Themes] xenreon:
Follow the instructions I previously gave you
[Android Themes] TBGetto:
1. 1.5.2 Setting Decompile SystemUI.apk

2. made the changes system_icons.xml & smali/com/android/systemui/statusbar/policy

3. Recompile SystemUI.apk

4. 2.0.3 Setting

5. Install Frameworks

6. Decompile SystemUI.apk

7. Recompile SystemUI.apk

8. I put the phone works, but all dark.

4. 2.1.0 Setting

5. Install Frameworks

6. Decompile SystemUI.apk

7. Recompile SystemUI.apk

8. I put the phone works, but all dark.

I replaced the original, all right.
[Android Themes] kenzukie:
#ot

anyone knows how to change that color pink , and also the pink text ..

-regards
[Android Themes] Ticklefish:
Can you share your history.txt please?

Not specifically...

But it's worth looking in COLORS.XML in your settings APK.
[Android Themes] kenzukie:
Any idea what is the color "name" or codes . one my friends said its ascent color ! Its a cm12.1 themes .
[Android Themes] Ticklefish:
Oh, it's a theme? In that case, you need to edit the theme file.
[Android Themes] Ticklefish:
Sigh...it's always the way. It's only been a few weeks since I released v13.1 and I've already discovered something that could be improved upon. I'm sure nobody would mind if their ZIP files flash faster, right?

Unless you actually enjoy watching Android slowly "upgrade" hundreds of app's every time...

I'll be releasing v13.2 in a few days time. Keep your eyes open!!
[Android Themes] Thebear j koss:
In the theme apk you are using, extract the assets folder. No need to decompile, all theme files are in the assets folder. From your screen it looks like it will be in overlays folder, com.android.settings folder or something similar, and then check whatever values folders in there and check the xml's. Probably in colors.xml although may be redirected to the common folder overlays if it is used throughout the theme.

Hail ?
[Android Themes] TBGetto:
http://data.hu/get/9571042/history.txt
[Android Themes] Ticklefish:
Boy, there's a lot going on in that history file..

Do me a favour and follow these precise steps:

Reset Tickle My Android (there's an option to do this in the settings menu),

download "dummy.apk" from the link posted a few messages ago and place into your "_in" folder,

change your apktool version to "apktool_1.5.2.jar",

decompile "dummy.apk",

download the smali files you're using into the decompiled APK in the "_working" folder,

recompile "dummy.apk",

change your apktool version to "apktool 2.1.0 a64a03-SNAPSHOT.jar",

copy your framework file(s) and "SystemUI.apk" to the "_in" folder,

decompile "dummy.apk",

install your framework file(s),

decompile "SystemUI.apk",

copy the smali files from "dummy.apk" to "SystemUI.apk/",

[*](if your "SystemUI.apk" is odexed, this mod won't work, so make sure it already has smali files in it),

[*]make the changes you need to do to "SystemUI.apk",

[*]recompile "SystemUI.apk",

[*]add it to the ZIP project,

[*]create a flashable ZIP file,

[*]reboot to recovery,

[*]flash the ZIP file and..

[*]reboot your phone.

If you do all of the above and the mod still doesn't work, then the chances are there's either something wrong with the mod or the changes your're making. Share your new "history.txt" if it doesn't work. That should give me enough detail to say what's going on.

I know all this can seem a little overwhelming and it's very easy to give up when your mods keep failing. But, if you can master the process, there's no end to what you can do! Don't forget, we're here to help. :highfive:
[Android Themes] TBGetto:
I downloaded the TickleMyAndroid - v13.1.0.exe.

I do not apktool 2.1.0 a64a03-SNAPSHOT.jar.

Only apktool-2.1.0-f3e210 SNAPSHOT.jar

This is a problem?
[Android Themes] Ticklefish:
It shouldn't be. My mistake, it's hard to keep track of all these snapshot filenames sometimes!
[Android Themes] TBGetto:
I've done it.

After Samsung Logo, all black.

http://data.hu/get/9573117/history.txt
[Android Themes] Ticklefish:
Well, the good news is that you've done everything you should have done with TMA. According to your history, your process was fine.

The bad news is that the mod didn't work. Which means either something is wrong with the changes you made...or the mod just doesn't work with your particular phone and ROM.

The best advice I can give at this stage is to post on the 8minit thread and ask for help. (It was the 8minit battery mod you're doing, isn't it? My memory's poor today..)
[Android Themes] TBGetto:
I found direct NOTE 5 3minit battery zip. That works.

Systemui has extracted from the zip.

Only Decompir Rekompir nothing else. 3 mode.

All three modes after installing good.

http://data.hu/get/9574586/history.txt

http://data.hu/get/9574594/Stock_rc2_with_3minit.zip
[Android Themes] xenreon:
It's 3minit.........

---------- Post added at 12:43 AM ---------- Previous post was at 12:36 AM ----------

If you get FCs/bootloops with your mods/themes (which you recently faced) then logcats will be your best friend, check this thread to learn more about it, it'll be really helpful in fixing mistakes ;)
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE!!

​

About an hour ago, I released Tickle My Android - v13.2.

13.2 is practically identical to 13.1, but there is one difference. It's small but it makes a massive impact.

Now, when you make an Advanced ZIP, you can choose whether it wipes your Dalvik Cache or not.

It might not sound that impressive until you realise that rebuilding the Dalvik Cache is what Android does when it tells you it's "optimizing applications". Which is what happens everytime you flashed an Advanced ZIP made by previous versions of TMA.

This can take a very long time indeed and it's not always necessary. You

only

need to wipe the Dalvik Cache if you've made any changes to any smali files. If you haven't, select "n" on this screen and enjoy your phone rebooting in seconds instead of minutes.

The new download link is in the OP. So head on over and enjoy!

(By the way, I'm having an issue with editing the OP at the moment. For some reason, some of the tags don't work and the formatting is a little strange. Apologies about that, I'll get it fixed as soon as I can!)​
[Android Themes] ted77usa:
[MENTION=4315551]Ticklefish[/MENTION]

Always amazing tool that u created Sir.... Been using it since version 8 or something[emoji106]. Your tool made theming as easy as 1.2.3[emoji106]
[Android Themes] Ticklefish:
Thanks! Just what I wanted to hear after a long day at work! :D
[Android Themes] ETheHedgehog:
MOD EDIT - Don't Quote OP Please.

Hi, I tried to change the wifi icon using the icon changer into the android L provided in the icon pack but it became messed up (screenshot in attachments) how can i make it more fitting also what about the arrows??
[Android Themes] Dzepar:
Please edit your post and remove OP quote, and never quote OP you can use @ and the name your addressing to. :)
[Android Themes] Ticklefish:
If the icons are too big, try changing the PNG files in a graphics editor. As for the arrows, it's worth thinking about what you want to do with them. They're just image files so you can do pretty much anything. The only limit is your imagination.

(Sorry for the vague reply. I have a horrible cold right now which is sapping my energy. But I'm right, it's just a case of working out the look you want and then making it happen.)

Oh, and yes, please don't quote one of the OP posts in full like that. It makes it really hard to read the thread and is considered one of xda's cardinal sins...
[Android Themes] xenreon:
Take care and get well soon :) the tma fans needs you ;)
[Android Themes] ETheHedgehog:
[MENTION=4315551]Ticklefish[/MENTION] no my problem is the icon is too far and the arrows are outside the icon ?
[Android Themes] JT1510365:
I hope you feel better and get well ticklefish you are an amazing person and the work you do for us is incredible:) I will be praying for you!
[Android Themes] JT1510365:
hey ticklefish or anyone else i successfully decompiled and recompiled my secsettings apk using latest ticklemyandroid but there seems to be a problem. You see i didnt make any changes in the apk but the smart stay checkbox is missing in settings. Any idea why? I am using apktool 1.5.2 btw:)
[Android Themes] Ticklefish:
Oh, it's not that bad. I'm just stuffed up, is all.

It could be a lot worse...

You may need to do some XML editing to get the arrows in the right place. Have a look at your signal_cluster.xml, if you have it.

I'm not sure, to be honest. Did you install your framework files before decompiling?
[Android Themes] JT1510365:
yes i did both frameworkres and twframeworkres using apktool 1.5.2
[Android Themes] Ticklefish:
In that case, I still don't know.

It's worth decompiling the new APK and looking through the XML.
[Android Themes] tdunham:
Sometimes apktool will strip .9 png files and create a dummy file to replace if it cannot decompile .9 properly. Try placing stock (not decompiled) drawable folders back into recompiled apk from stock apk.

Also, the same applies to some xml files as well if apktool cannot interpret. It will create that dummy reference in xmls and public that we see so often. So you may have to experiment with replacing stock files back into recompiled apk to see where the problem lies. Additionally, try different versions of apktool if possible as this may resolve the problem entirely to begin with.

---------- Post added at 01:11 PM ---------- Previous post was at 01:08 PM ----------

Oh, and attach your history.txt file for review if still having issue too. ;)
[Android Themes] JT1510365:
so you mean just extract the drawable and xml folders from the apk using root explorer file manager app and than replace them with the decompiled files?
[Android Themes] tdunham:
Its like 1000% easier to open an apk on PC and manage your files there.
[Android Themes] JT1510365:
how do i go about doing that buddy?
[Android Themes] tdunham:
I use WinRAR application on PC, some use 7zip.

Edit: I associate WinRAR with apk and can open and extract or add any file to apk.
[Android Themes] JT1510365:
Hey buddy i tried replacing the decompiled drawable and xml folders with the stock ones and i keep getting too many errors. If you could i attached my unchanged decompiled secsettings folder in zip format and also my history text. If you could take a look at those i would greatly appreciate that because you have way more experience than me when it comes to this stuff and it would be great if you could head me in the right direction. I am completely clueless at this point and i need to make changes to this apk for my new rom. Mny thanks in advance:)

SecSettings zip:

https://www.dropbox.com/s/sxx216ordckfg42/SecSettings.apk.zip?dl=0

History:

https://www.dropbox.com/s/dhnjgasreq9r1kl/history.txt?dl=0
[Android Themes] tdunham:
Your history has a buttload of errors decompiling. Maybe [MENTION=4315551]Ticklefish[/MENTION] has a suggestion because I might be looking at the wrong section.
[Android Themes] Ticklefish:
That is a lot of errors!! :eek:

Right at the top though, there's an error that gives us an idea of what's happening.

ERROR: 9-patch image C:\TickleMyAndroid\_WorkArea1\_working\SecSettings.apk\res\drawable-hdpi\accessibility_bar_nor.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\TickleMyAndroid\_WorkArea1\_working\SecSettings.apk\res\drawable-hdpi\accessibility_bar_nor.9.png

After you decompiled the APK, you copied the image files from the original APK into the _working folder, didn't you?

The problem with that is that you copied over some .9.png's. These aren't like normal PNG files, they contain code that determine how they can be stretched. That code gets decoded when the APK is decompiled.

In other words, when you tried recompiling, apktool tried to recompile something that was already compiled. And it got confused.

If you're going to copy image files from the original APK, they need to go into the

new

APK in the _out folder.

That's the same with XML files, which might explain some of the other errors you were getting.

To sort out this issue, I really do suggest decompiling your new APK and comparing it to the original. If you can track down the XML that controls that checkbox, you can see what's happened to it.
[Android Themes] haplox:
Hello, the links does not work at this moment. :crying:

thanks
[Android Themes] xenreon:
They're fine but upon entering they're getting messed up, try to enter the links and then remove the weird digits and characters that gets generated in the URL box
[Android Themes] haplox:
Thanks. After a lot of try and error I have got it :good:

For other people having the same error, these are the correct links:

http://www.mediafire.com/download/3tddd0v8j50s4xr/TickleMyAndroid+-+Boot+Animation+Pack+3.0.0.exe

http://www.mediafire.com/download/7uo9vjl5sl919yc/TickleMyAndroid+-+Font+Pack+2.0.0.exe
[Android Themes] Ticklefish:
Oh no...

Yeah, you're right. The links are wrong. Grr..

That's Internet Explorer messing things up. I'll see if I can update it when I get home.

Thanks for letting me know!!
[Android Themes] bigthink:
Excellence tool. But it can deodex 6.0 rom?
[Android Themes] Josephigloe:
It says no in the OP. [MENTION=7356999]bigthink[/MENTION]

?
[Android Themes] Josephigloe:
Look here
[Android Themes] Ticklefish:
You're on XDA before 8 in the morning?! Wow..I admire your dedication. I'm barely functioning that early.

I'm awake, I'm up, but my brain definitely hasn't started yet..

Yes, TMA can't deodex Marshmallow yet. In theory, it's pretty simple but I'd really like an odexed rom to test it on. I could write the code now but, if it doesn't work, I'd have a hell of a time figuring out why and I'd just annoy people. My phone is nearly on Marshmallow (c'mon, Sony!) so this update can't be far off now.

It's definitely something that I plan to introduce soon!!
[Android Themes] Hauzel:
Ticklefish need your help please i am on my moto g 2nd gen stock marshmallow i followed your guide step by step the only thing i can change is battery icon i cannot change signal, data/G,H, wifi icon on my systemUI i tried your guide around 10-15 times but un successful.. Your help will meant a lot to me..
[Android Themes] Ticklefish:
If you're on Marshmallow, it's quite likely that your icons are being generated by code. In which case, you'll need to delete that code and put the image files in manually.

Have a look in your "drawable" folder. If you have any XML files with the same filenames as the icons you want to put in, delete them. Then copy the image files into the suitable "drawable-?dpi" folder.

Before you flash thise new APK, don't forget to make a backup just in case!
[Android Themes] Hauzel:
Thanks for the quick reply ticklefish.. I delete the stat_sys_signal_xml.... And so on on the drawable folder and replace that with stat_sys_signal_png... On the drawable dpi folder and recompile it back all went well but when i flash the new systemUI nothing change.. All signal icon remain the same as before i edited.. Please help me i really need to understand how it works...

---------- Post added 22-03-2016 at 12:03 AM ---------- Previous post was 21-03-2016 at 11:58 PM ----------

BTW does moto g rename the xml code like zz_moto_stat_sys_signal_xml..... Cos i see a lot of xml file like these in drawable folder but stat_sys_signal_xml... Are also present there i m confused.. ??
[Android Themes] Ticklefish:
It could be that you need to use those Motorola filenames, yes. Try those files and see what happens.
[Android Themes] Hauzel:
Ok let me try with those name

This above image is what i have been doing so far changing the battery icon like xperia battery icon.

And this signal icon and data icon gap reduced is what i try to accomplish but not successful.. The image below is exactly how i want to modify the signal icon and data gap..
[Android Themes] xenreon:
You have to mess with your res/layout/signal_cluster.xml and possibly with the signal_cluster.smalis too for them to look exactly the way you want, one good way to emulate your signal_cluster with Sony's one is taking the files from a sony SystemUI.apk and comparing them and then trying to emulate, good luck !

And good morning, it's 5:13am here (directed towards the OP)
[Android Themes] JT1510365:
Ah i see the actual problem i guess apktool 1.5.2 doesn't work with decompiling and recompiling this settings app turns out i have to use apktool 2.0.0 RC2 and now everything is ok:)
[Android Themes] Hauzel:
Ticklefish here i upload my systemUI can you mod it for me please i have never work with samili file before. Here is my half mod systemui i successfully change the battery icon.
[Android Themes] Hauzel:
Here is my stock mm framework.res.apk
[Android Themes] micky387:
Hi guy.

First,thanks for your amazing work. Very appreciate since v11 release .

So,i try with your v12 and now v13.2 and i have problem with signature.

I'm build ResurrectionRemix rom 6.0.1 for note edge. I try to manage apk (settings and framework).Decompile and compile are ok,no error, but when i push to my phone settings wont reconize and framework give me bootloop. In begin,i think it's my tweak but if i only decompile and compile without modify,it's same. (I use original signature)

I use apktool-2.1.0-f3e210-SNAPSHOT. Do you know what's the problem ?? (logcat dont give me nothing)

Best regards
[Android Themes] JT1510365:
you have to change your apktool version to 2.0.3 this version supports mm and 2.1.0 doesn't you will have to install your framework apk and start over:)
[Android Themes] Ticklefish:
Sorry, I haven't got time to mod somebody else's files right now. For this mod, you really need to change the XML. Have a look at the margins and padding in signal_cluster.xml.

There's a thread all about XML modding that you might find useful. It's run by a very good friend of mine and can be found here: http://xdaforums.com/general/xda-university/xml-101-xml-modding-easy-t2929816

...shudder....

Excellent! Good to see it worked out! :D
[Android Themes] micky387:
Thanks.

I try with 2.0.3 and same issue. settings is here but not recognized by android (no icon and no app)....
[Android Themes] micky387:
Yes,of course ;)
[Android Themes] Ticklefish:
Hmm...since this is a ROM for a Samsung device, do you have "twframework-res.apk" in your "system/framework/" folder? If you do, it's worth installing that before you decompile your APK.

If you don't, then I'm not too sure where the issue is. It's worth getting a logcat and looking through that. Handily, TMA can make logcats.. ;)
[Android Themes] starbucks2010:
Try this: decompile again the apk with problems. Then, check the differences between the decompiled original apk and the re-decompiled apk.

I had the same issue when I tried to mod contacts some time ago. If i remember well there should be some differences in the files signature (manifest, cert files) or the AndroidManifest.xml.
[Android Themes] micky387:
It's a samsung device but it's cyanogenmod rom based ,so no tw feature ;)

I man ,How are you ?;)

Ok i will try and report

thanks
[Android Themes] Ticklefish:
It's about time I introduced Marshmallow compatibility to the Deodex Menu. I don't have an odexed MM rom to experiment on, though. So I need your help.

Is there anybody out there with an odexed MM rom who can share their system/framework/arm/boot.oat? I would be very grateful! :highfive:
[Android Themes] starbucks2010:
Salut my friend. Long time no see. I'm fine, trying to flash MM on my phone but had no courage so far.

Here is the link to boot.oat from a S6 Edge+ (G928F) MM.

Thank you for your efforts and dedication.
[Android Themes] micky387:
So I try this but same issue. Files signature are same .

I try to delete verification signature in settings.jar to see and it's same....

It isnt a problem with signature but with apktool i think (i only decompile and recompile without modification....) I try with advanced apktool and it's same.... :confused:

and no logcat error :eek:
[Android Themes] vnation:
thank you so much dev for an amazing piece of software. btw want to know any plan to develop this software for linux ??
[Android Themes] Jhfreeze:
I"ve been using this for a few months now and so far it has helped me mod quite a bit on my note 5 and s5 running 5.1.1, very greatful for its ease of use and functionality. Thanks for keeping it up to date working great.
[Android Themes] Ticklefish:
Thanks. I've been given a few boot.oat files to play with (thanks, everybody!) so I'll be working on those the next few days. It looks simple enough, I just need to work it into the code..

The logcat doesn't show why the app FC's?

Thanks for your thanks! I started writing a Linux version about a year ago and stopped five lines in. I don't have a Linux environment to work with so the project is on hold right now. But it's still on my list of things to do!

And thanks for your thanks as well! Getting feedback makes it all worthwhile.

This tool takes a lot of my time and knowing that people actually enjoy it keeps me going. :good:
[Android Themes] Ticklefish:
NEW APKTOOL AVAILABLE!!​

Apktool 2.1.0. came out yesterday. This has a lot of fixes, tweaks and improvements (although Samsung's Marshmallow roms are still causing trouble).

Head to the official apktool thread here: http://xdaforums.com/showpost.php?p=66069282&postcount=4017

When you download a copy, don't forget to press the thanks button while you're there!
[Android Themes] ETheHedgehog:
How can i change the system apps icons and the app drawer icon??
[Android Themes] Thebear j koss:
System apps you mean in settings? Or app icons on launcher homescreens? And what launcher do you use? Just extract the launcher apk and look in the drawable folders or mip map folders for ic_launcher.png it will look like the 1 on ykur screen now, need to change the 1 for your dpi, swap in whatever 1 you want, just use same size and name it to match exactly. Rebuild the extracted apk and sign it if using a 3rd party launcher. If it is the stock system launcher don't sign after repacking the apk, then flash it to your system partition or push it using adb.

Thebe?r'$ NeXu$
[Android Themes] Ticklefish:
If you're just changing image files (as long as they're not. 9.png files) you can use TMA to unzip the APK's. This can sometimes be quicker than decompiling!
[Android Themes] Thebear j koss:
That's what i meant by extract. You can open the apk as an archive with 7 zip or winrar too, and take tbe whole res folder out..

Thebe?r'$ NeXu$