yashsingh1/xdaforums huggingface dataset:
[Android Themes] Mr.Hakushaku:
Hi there Ticklefish,

recently I've been working on a theme for my Lollipop S4 Touchwiz ROM. I mostly used TMA for all of my de/recompiling needs and couldn't have been happier with it!

That is, until now: All my edited apps have recompiled without a problem except for secsettings.apk. I tried to look up the issue and it seems to be connected to Windows' inability to handle filepaths longer than 256 characters.

I attached the error-parts of the logfile (apparently I can't attach the whole thing here...) and hope you can give me a hint on how to solve this.

Keep up the good work!

SecSettings.apk log:

[. . .]

C:\Users\Theodor Mantiniev\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_WorkArea3\_working\SecSettings.apk\res, -M, C:\TickleMyAndroid\_WorkArea3\_working\SecSettings.apk\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)

... 6 more

Caused by: java.io.IOException: Cannot run program "C:\Users\THEODO~1\AppData\Local\Temp\brut_util_Jar_4879714759201051967.tmp": CreateProcess error=206, Der Dateiname oder die Erweiterung ist zu lang

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at java.lang.Runtime.exec(Runtime.java:620)

at java.lang.Runtime.exec(Runtime.java:485)

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

... 7 more

Caused by: java.io.IOException: CreateProcess error=206, Der Dateiname oder die Erweiterung ist zu lang

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)

at java.lang.ProcessImpl.start(ProcessImpl.java:137)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

... 10 more

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

Recompile Not Successful!
[Android Themes] Ticklefish:
This is a known issue, caused by Samsung using a proprietary image format. Again.

At the moment, until apktool is updated to fix this, you need to edit apktool.yml and remove the lines that mention the troublesome files. Have a look through some of the more recent posts, this was discussed not that long ago.

Glad you're enjoying TMA [emoji106]

That's odd. I'll have a look through the code and see if I can work out what's happening.

In the meantime, do you get the same issue if you tell the tool to use the files on your phone?
[Android Themes] FcukBloat:
Hi mate. Yes i tried also via adb with phone connected via usb to pc, same problem, procedure starts fine but then it stops in between ;(

Tia!
[Android Themes] Ticklefish:
Hmm..

Okay, I'll try on my phone tomorrow. I have a Z3c with 5.1.1. as well so I should get the same issue.

I did test the code with this ROM, and it did work, but we'll see what happens.

If it works for me, I'll look into putting some more detail into the logging so we can see what's actually happening in your case.
[Android Themes] FcukBloat:
Hi! Great to see you have the same phone! :o

Sorry, which rom did you refer to?

I'm on "my" rom right now, you can see it in my signature, which is actually a stock lp fw but highly debloated by myself and with a few apks from z5 fw and a few apps directly added in system ;)

Good night sir!
[Android Themes] Ticklefish:
I'm on a stock ROM. It's got my own mods but will have the same sort of arrangement of ODEX files as yours, I assume.

It'll certainly be close enough for me to compare.
[Android Themes] Mr.Hakushaku:
Thanks bunches! I'll have it a go right away. :good:
[Android Themes] parkerj7uc:
[MENTION=4315551]Ticklefish[/MENTION] is there a way to decompile more than one apk at a time. (Batch decompile)?
[Android Themes] Ticklefish:
When one file is decompiling, you can go back to the tool and tell it to decompile another at the same time.

I've found that three is the ideal limit. Any more than that and you can get some performance issues.

There's no batch decompile right now. But I can work on one if there's the demand..
[Android Themes] parkerj7uc:
I may be the only one who would love to see this but it would save me a lot of time if I could batch decompile and recompile. I remember you made 6 working folders for me and that was awesome because I make more than one theme at a time. Thank you so much for that.
[Android Themes] Ticklefish:
I tried this on my phone earlier today. I copied the contents of my system folders into the relevant folders in the WorkArea and it prepared without any issues.

Is it possible you can share the contents of your system/framework folder please? I'm wondering if there's something about it that is causing the tool to get confused.

I'm always happy to consider a new feature. Especially for a longtime user like yourself. :)

It'll take a while but I'll get to work on it when I can. How many files would you be wanting to batch decompile?
[Android Themes] parkerj7uc:
I think five would be a awesome, if more great but five would help alot. I am working on note 5 themes now and there are 38 to 42 apks to decompile and recompile. No rush, and think you much for all you do for us.
[Android Themes] Ticklefish:
Well, I ask because I can make an option that de/recompiles every APK in the WorkArea.

But I was thinking of making one that will batch de/recompile a selection of files, so you can choose which ones you want.
[Android Themes] parkerj7uc:
Decisions decisions but I think the one where you can choose would be best
[Android Themes] Ticklefish:
No problem. I'll get on it. It's about time to start thinking about version 13 anyway..
[Android Themes] LKc_:
awesome!!!cant wait trying this!!!:highfive:
[Android Themes] FcukBloat:
Here it is mate ;) tia :)

https://mega.nz/#!mE5mRKzA!caPiyClTMdDmTZE-uYtBggOQpKgjWRS1DVb1oFuAmw0
[Android Themes] Ticklefish:
Thanks! Let me know what you think! [emoji106]

Thanks for that, I'll check it out as soon as I can.
[Android Themes] edzamber:
[MENTION=4315551]Ticklefish[/MENTION],

Apkool v2.0.3 is out :)

http://xdaforums.com/showthread.php?p=64577679
[Android Themes] Ticklefish:
Excellent!!

I'll add it to TMA when I can. Until then, it can be downloaded from that link and added to the available selection.

Have a look at the FAQ to see how to do it.

Many thanks for the heads-up!
[Android Themes] starbucks2010:
I already add it and is ok but too bad that it still doesn't recompile Sammy's tw-framework.

At a first look, I don't see anymore many files after "Do not compress" in apktool.yml.
[Android Themes] Ticklefish:
I saw your post on the apktool thread. Hopefully the fix won't be too far away.
[Android Themes] :
Hi,

This is the best tool ever I have used sir...Thanks u very very much!

I need your help...Device - Android One

Android Version - Marshmallow

Base ROM - DU Latest Version

I tried to change the Signal Icons Using TMA but It isn't recompiling IDK the exact problem...but here are the logs - http://d-h.st/y43H

PS I've not used this tool much neither I know much abt this tool...Waiting for help..Thanks!!
[Android Themes] tdunham:
Please do not use Devhost to post files on XDA. It is not recommended. It is too difficult to use anyway and usually downloads wrong thing or bad thing.

Read this post:

XDA No Longer Recommends Dev-Host
[Android Themes] Ticklefish:
Your error is this part here:

C:\TickleMyAndroid\_WorkArea5\_working\SystemUI.apk\res\values\public.xml:387: error: Public symbol drawable/stat_sys_signal_carrier_network_change declared here is not defined.
C:\TickleMyAndroid\_WorkArea5\_working\SystemUI.apk\res\values\public.xml:388: error: Public symbol drawable/stat_sys_signal_carrier_network_change_animation declared here is not defined.

This is essentially saying that you have two image files declared in public.xml that aren't in your APK anymore.

I could explain how to fix that, but that's ignoring the main problem.

This tool works by changing the image files that Android uses for the signal icons. Since KitKat, Android doesn't use image files for the signal icons anymore. Instead the icons are generated by code.

To change them, you'll first need to go into your "drawable" folder and delete the relevant XML files. Then copy the relevant PNG files into the relevant drawable-dpi folder.

It's a long job but simple enough. Then you can use this tool to change your icons. As long as your ROM uses the right filenames, of course!
[Android Themes] :
Brilliant I'll Do That...Tnx For Your Help!! ;) You're awesome + your tool too!
[Android Themes] EdwardSmith36:
I have seen many new features & apps launching every now & then, they are interesting too but the only problem here is rooting my device. Is it not possible to make use of this app without rooting?
[Android Themes] Ticklefish:
It is, but the problem is what you're using it for.

This program basically helps decompile and recompile APK files. If you want to mod any app's that are stored in your system partition (framework-res.apk, SystemUI.apk, eto) you won't be able to put the modded files back on your phone without root access.
[Android Themes] Ticklefish:
Hiya, folks!

I'm writing this using the xda labs app. So far it seems pretty impressive, maybe I'll be finally able to uninstall tapatalk.

But if this doesn't work right, you'll know why!

I've officially started work on version 13 of TMA. I've got a few ideas about what I want to add but I have to be careful. If I make the tool too complicated, it ruins the whole point.

With that in mind, what does everyone think about the Theming Menu? This is the screen that you choose whether to pull, decompile, change icon, recompile, etc. Is it too big? I'm planning to add a fee more lines to it and I don't want it to look too busy.

The Theming Menu is fine on my screen but I'm aware that not everyone has the same resolution.

Let me know!

Oh, and if you want me to add a feature to v13 let me know that as well!
[Android Themes] devadip:
I have no idea about what you can add to this perfect tool. [emoji6] [emoji106]
[Android Themes] joinmafia:
Man this tool is amazing. I can make my dream theme now :) Thanks a lot

Wysłane z mojego LG-D405n przy użyciu Tapatalka
[Android Themes] tdunham:
Weren't you considering at one point to have two different themeing menus available, one with 'basic' and 'advanced' options?

Like you said, the themeing menu is rather busy and personally I only use what would be considered 'basic' options when working...

Anyone else want to weigh in?
[Android Themes] Ticklefish:
Well, I can certainly do that.

For a while, there was a Quick Menu, which was basically just a de/recompiler. I can put something like that back into the code if it's wanted?
[Android Themes] Ban Dan:
Tickling directly on Android!?

Hello,

Not having a PC, I'd be most interested in running Tickle directly on Android.

Seems like Apktool has already been portted! :) , although I still haven't figured out how. :(

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

Any ideas/suggestions?

Thanks!
[Android Themes] zelendel:
Yes there is a port but it bearly works. It causes nothing but trouble and last I heard couldn't recompile.
[Android Themes] mrrocketdog:
+1. for us computerless people , yeah i know , right ; would be very awesome to run on mobile. have NO idea what that would involve or if even possible.

but is a great tool nonetheless.

thank you for sharing.:thumbup:

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android Themes] Ticklefish:
I would love to make a TMA app but, unfortunately, that's a bit of my league right now.

I just don't know enough java to even start on it. I studied c++ back in college, which was similar, but I'm a long way from being able to make an app. :crying:
[Android Themes] Ban Dan:
Can you please tell how it was compiled?

Thanks!

---------- Post added at 11:29 PM ---------- Previous post was at 11:13 PM ----------

Many, including myself, will be happy to see you give it a try! :)

My own best projects, and the most fun, where when I was learning something completely new.
[Android Themes] Ticklefish:
Lol we'll see..:)
[Android Themes] kalafior:
problem with extracting smalli on galaxy tab 4

Hi

I was successfully using TMA on mtk device and I love it!

Currently I am trying to extract Smali from SystemUi on galaxy tab 4. Unfortunately TMA stops while extracting and not creating files.

Can you give ma any advice? Thx

(i tried different apktools with the same result, logs attached)
[Android Themes] Ticklefish:
How did you prepare the workspace? Your history file shows that you're trying to deodex an odex file without any preparation being done first..
[Android Themes] Bajanman:
[MENTION=4315551]Ticklefish[/MENTION]

Concerning your new TMA 13 ????.

I have a few ideas you can add to this wonderful program you have here sir. I'll send them to you via pm soon. And you can tell me if they can be implemented into TMA.

Thanks,

Bajanman
[Android Themes] Ticklefish:
I'm always happy to take ideas for TMA. Anything I can do to make it work better for people! :thumbsup:

I'm currently working on the batch de/recompiler at the moment. I've got a pretty good idea of how I want it to work, I just need to do the actual typing.

I've put the Quick Menu back in already so I'm ahead of schedule!
[Android Themes] Ticklefish:
SLIGHTLY NEW VERSION AVAILABLE!!

​

I've just uploaded Version 12.0.1 of Tickle My Android to Mediafire.

This is a "slightly new" version because I haven't changed any of the code...at all. Instead, v12.0.1. comes complete with the latest versions of apktool, smali, baksmali and oat2dex...ensuring that the Greatest Android Theming Tool can be used on as many Android ROMs as possible.

It can also be used in Spanish, thanks to the hard work and dedication of [MENTION=5248695]gvmiguez[/MENTION]!!

But there is a problem. Some of you may have noticed that the thread title hasn't changed and the download link in the OP is still for V12.0.0.

That's because there's something that xda and my PC don't like about each other right now. If I edit the OP, all the screenshots vanish. Which isn't good.

So, until I get home and try it on my old, battered laptop (running XP!!), I'm going to have to put the link here:

http://www.mediafire.com/download/cf7vznhz0qf7ihl/TickleMyAndroid_-_v12.0.1.exe

Download, enjoy and let me know if there are any problems!

I'm still working on Version 13. I'm currently adding bulk de/recompiling and I want to make sure it works as efficiently and effectively as the rest of the tool. I'm a perfectionist!!​
[Android Themes] gvmiguez:
Thank you mate , hard work is that you do and you share it with all of us
[Android Themes] and2:
The theming menu is fine. What do you think, could you implement the feature to make an app multi? I use a good tool but this one just changes the values from dip to px in every dimens.xml. As you know there are a lot of dips are in layout files. I have the tool from this thread. In this thread someone posted he made the tool more complex. Would be nice to have this feature, when not still great tool. Thanks a lot.
[Android Themes] kalafior:
thx 4 your answer. I copied files from system.img using DIskInternals. Unfortunately even when i prepared workspace using TMA it stuck at this line:

15-01-2016@2125 --- Extracting Smali Files From "_WorkArea2\_deodex\priv-app\_OdexFiles\SystemUI.odex"

I can see in task manager that it is not using any CPU.

Any thoughts?
[Android Themes] Ticklefish:
SLIGHTLY IMPROVED SLIGHTLY NEW VERSION AVAILABLE!!

​

Sigh...

So I finally have enough time to upload a version of TMA with apktool_2.0.3..and people start making unofficial builds of apktool_2.1!!

I've just uploaded a new Version 12.0.1. to Mediafire. This is exactly the same as the previous one, but with a newer apktool available. The download link is in the OP.

If you don't update, and you're having trouble using apktool_2.0.3, please reselect it in the Settings Menu. That'll make it work again.

I might be able to introduce a feature that changes every instance of "dip" to "px" in dimens.xml. Maybe.

TMA is a batch file program and, as such, it would have to scan every line into a collection of variables, change the relevant part and write the line to a new file. In theory, it's not impossible but the "<" and ">" characters might cause an issue. Batch files have trouble processing those.

Making a feature that scans every XML file and changes the code could be far too complex for a batch file to cope with. I might be able to make something but I can't promise it. And I can't promise it would work any faster than that program you linked to.. :(

Can you share your framework folder and the SystemUI.odex please? I'll try it on my setup.
[Android Themes] starbucks2010:
I tried to use this apktool but I cannot see it in TMA menu to select it. I copied the .jar file in the same folder as the other apktool .jar file. Do you have an idea why I don't see the new .jar file in the menu?

Thank you.
[Android Themes] Ticklefish:
Yup. ;)

Have a look at the FAQ post. The file needs to be named correctly for TMA to know how to handle it.

However, that's the same build of apktool I've included in the latest upload. So, if you've downloaded that, you've already got it! :svetius:
[Android Themes] starbucks2010:
That did the trick. Thank you. :)
[Android Themes] omniwallpapers:
yup the best tool, love it!
[Android Themes] kalafior:
File attached: http://wikisend.com/download/352560/framework.7z

Thx in advance!

Not sure if this will help in any way, but when I used this http://xdaforums.com/showthread.php?t=2213235 to get deodex and smalli files it worked. After that I copy extracted files to TMA and I was able to successfully recompile systemUI...
[Android Themes] PuntoG:
Thanks Ticklefish for this most wonderful, stellar, spectacular tool!

I have 2 questions:

1. My phone is a Note 4 Edge. How would I go about converting the bootaninations to .qmg?

2. For the life of me, I can't figure out how to actually use the files included in the bootanimations folder. I've extracted the .exe, but then what do I do?

Thanks again for the tool. I really appreciate it.
[Android Themes] CardinalDeath:
Hi Ticklefish I sent u a pm don't know if u received it it's still doing the same thing don't know what else to do I did try under setting but still nothing now it says try the lollipop version any suggestions
[Android Themes] lucky_sidhu:
Nice update.

I think there's a bug in Mouse Control. Its not working in all screens.

For eg: It is not working in main screen but it works in some of the sub -screens
[Android Themes] md1982:
View attachment 3616833Hi mr tickle iv tryed ur tool on my z3 compact im rooted dual recovery locked bootloader stock custom rom lolipop and this is my result
[Android Themes] md1982:
View attachment 3616807
[Android Themes] edzamber:
O. T

JDK updated in 8u72

http://www.oracle.com/technetwork/java/javase/8u72-relnotes-2775802.html

Cheers :)
[Android Themes] md1982:
Are u sayin my java need updating?
[Android Themes] edzamber:
Try TMA v12.1

It seems like apktool 2.1 is not accessible in your log...
[Android Themes] md1982:
ok

View attachment 3617643

i changed the apk tool myself to see if it made a difference il attach the log for the 12.1 version
[Android Themes] edzamber:
Did you install framework-res.apk and twframework-res.apk on your PC (put theses into "in" Folder, then Theming menu, option 3) before decompil ?
[Android Themes] md1982:
Iv installed framework res apk twframework is for samsung touchwiz
[Android Themes] edzamber:
Ok.

Curious then...

Send me your framework-res.apk, i will have a look.
[Android Themes] Ticklefish:
I know you were just posting this to get past the ten post limit, so you can start posting links to your app.

Which saw your account being disabled...

But I appreciate that you used one of your ten posts in this little thread! So thanks for helping to keep it alive! :D
[Android Themes] Ticklefish:
Bug confirmed. TMA hangs when it tries to deodex this file.

Damn.

Oh well, thanks for sharing your files. I guess I need to do some more staring at code to work out what's going on! Grr...
[Android Themes] md1982:
ok i did that now iv got this lol

View attachment 3617918

View attachment 3617919
[Android Themes] Ticklefish:
With your SemcGenericUxpRes.apk the error is this:

C:\TickleMyAndroid\_WorkArea1\_working\SemcGenericUxpRes.apk\AndroidManifest.xml:3: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/app_icon').

You're missing an image file, or XML file, from a drawable folder called 'app_icon'.

Either put it back if you deleted it, or just make a new one. I imagine this is the launcher icon and you don't need to worry about precisely what it looks like.

Your framework-res.apk error is this:

c:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res\drawable\stat_sys_battery.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/stat_sys_battery_1').

I'm guessing that you used TMA to change your battery icon. The problem here is that your ROM doesn't use image files to display the icon, so the tool can't change. You'll have to mod your ROM to use images first. I talked about this a few posts ago.

Oh, and you'll need to decompile SystemUI.apk as well. That's the file that has all the relevant battery icon stuff in it.
[Android Themes] md1982:
I might just reflash the rom because iv been playin around with all sorts of xposed modules and icon changing apps etc do u think this could b the problem what you have said sounds far to comllex for my tiny mind lol
[Android Themes] Ticklefish:
Bug solved! It turns out I had a small typo in the code, causing TMA to hang halfway through deodexing the file.

This has now been resolved and I've uploaded the fixed version to Mediafire.

Thanks for letting me know about this!

I don't think that's the issue. Xposed doesn't change the APK files.

It might be worth starting your modding process again though. Reset TMA and try it all again. Have a think about what mod you want to do and how to do it. I'm always happy to help, if I can.

Battery icons are complicated beasts. Until KitKat came along, they were simply just a collection of PNG files and this tool could easily replace them.

Then Google decided to have the battery icon generated by code and that became a bit more complicated.

If you're on a stock Sony ROM, it still uses image files but Tickle My Android can only go so far on its own. It can change some things but you might need to change others yourself.

Have a look at this tutorial of mine here: http://xdaforums.com/showthread.php?t=2761928
[Android Themes] CardinalDeath:
Ok thanks
[Android Themes] ahmed_ais:
First of all, thanks for all the work to provide this amazing tool, TMA. However, I would like to weight in about the quoted statement. The only time we needed the additional tool you mentioned is when we want to EDIT the current app icon so it have to be decoded to png (or any other known type) first. For REPLACEMENT (using completely different image) though, we don't need that tool actually.

I have flat S6 (where many of the icons are in qmg and astc formats) and I was able to REPLACE the icons without using any other tools. I simply put the png icon in place of the other one and make sure names are matched. For example, if the icon within the app is named ic_launcher_hello.qmg, I rename my new_icon.png to ic_launcher_hello.qmg and the app recompiles correctly and loads fine on my phone (example from my phone: http://store.picbg.net/pubpic/FB/85/9410825312f5fb85.png).

I don't think I'm the first to mention that but it would be good to edit OP mentioning that it is totally fine to REPLACE icons on newer Samsung devices that have closed source graphic formats. Only extracting the stock icon and modifying it is problematic and additional tool is required for that.

Thanks again ..
[Android Themes] Ticklefish:
Ah, now this I didn't know!

Thanks for the update, I'll edit the OP as soon as I'm back on a PC. :good:

I like Samsung, I really do. They make some great devices and I have a lot of respect for them.

But their habit of trying to make their versions of Android as different from stock as possible gives me a real headache! Lol
[Android Themes] Papeekruts:
hi. can someone help me. how can i locate toggle background color for touchwiz lollipop.

because i want to change its color. thanks.