yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
Oh, I understand now. Sorry, I did think you were talking about deodexing..

Yes, it's meant to do that. From Lollipop onwards, APK files are in their own folder like that. JAR files aren't though. This should be pretty easy for me to fix and I'll sort it out when I'm next on a computer. :highfive:

Damn. This is annoying. Google updated the syntax ever so slightly for the latest version of adb and now we have this problem.

I know it's something to do with the use of backslashes somehow.

Maybe I should try changing the code to this:

tool_files\adb -d pull system/framework/ _%SubActiveWorkArea%\_deodex\>> user_files\LOGS\history.txt

That might just do it. I could do what I said before and move the files to the right place once they're pulled but I'm a stubborn old fool and I'm determined to get this code right!
[Android Themes] MysticEnforcer:
[MENTION=4315551]Ticklefish[/MENTION],

where is that code to change?

in pullframework.bat?
[Android Themes] Ticklefish:
Yes
[Android Themes] MysticEnforcer:
doesn't work ;)

when i change your code in pullframework.bat form this:

tool_files\adb -d pull system/framework/ _%SubActiveWorkArea%\_deodex\>> user_files\LOGS\history.txt

to this:

tool_files\adb -d pull system/framework/ _%SubActiveWorkArea%\_deodex\framework>> user_files\LOGS\history.txt 2>&1

i get this message in history.txt

17-12-2016@039 --- Pulling Files From "system/framework/" To "_WorkArea1\_deodex\framework"

pull: building file list...

and the magic begins,

but there are this folders again:

C:\TickleMyAndroid\_WorkArea1\_deodex\framework\framework :D
[Android Themes] MysticEnforcer:
[MENTION=4315551]Ticklefish[/MENTION],

good morning,

i found this morning an other tool to deodex/decompile... and i took the adb.exe from this tool and put it into your tool and the pull option is now fully working ;)

I attached this adb.exe ;)
[Android Themes] MysticEnforcer:
latest tma beta creates no flashable zip
[Android Themes] Ticklefish:
This has now been fixed. If you're adding a JAR file to your ZIP, whether you choose the Android 5.0+ option or not, it should go into the right folder by itself.

So you'll have "framework\something.jar", not "framework\something\something.jar". Hopefully we won't have any developers who decide to put JAR files inside a folder with the same filename as that'll give me all sorts of headaches to sort out. Samsung, I'm looking at you here!

Yeah, that's an old version of adb. It's 1.0.32 and TMA uses 1.0.36. It looks like Google changed the syntax for this version and I'm not the only one who's suffering from it.

I've updated the batch file again and it should now work okay with 1.0.36. It'll pull the framework files then copy the contents of _deodex\framework to _deodex. Then it'll delete the _deodex\framework\framework folder and all its contents. It'll do the same thing for app and priv-app as well.

In theory this should now be fixed.

In theory... :D

It does now...;)

The download link for the latest beta is https://www.mediafire.com/?3r6erea3h4eec37

Hopefully this is the last beta I need to do as I'm running out of time to get it fixed before Xmas!
[Android Themes] MysticEnforcer:
[MENTION=4315551]Ticklefish[/MENTION],

i test your latest beta &

it seems to be working right :highfive:

only build.prop doesn't get pulled.

but that's not a problem,

because there is a pull option for build.prop in theming menu.

---------- Post added at 12:04 AM ---------- Previous post was at 12:00 AM ----------

now, when i try deodex rom,

i got a message

Error! Files Not Found In Folder:
"_WorkArea1\_deodex\"

this is caused by the missing build.prop in "_workarea1\deodex\ ".

i have to pull the file manually, copy it from _in to _deodex &

that's not a big thing :D
[Android Themes] MysticEnforcer:
tma creates a flash leider zip.

tried a dirty flash and so far no errors
[Android Themes] Ticklefish:
Here we go. This should be the last beta before I release it properly. It's certainly my last opportunity to change the code before Xmas so I'm praying it's all good!

http://www.mediafire.com/file/3r6erea3h4eec37/TickleMyAndroid+-+v14.3.0.exe
[Android Themes] Ticklefish:
SLIGHTLY NEW VERSION AVAILABLE!!

​

As an early Xmas present I've decided to release Tickle My Android 14.3 to everybody. I wasn't going to do this until next year but it seems I just can't resist messing around with code!

The main changes in v14.3 are all about deodexing. TMA now reads your build.prop and works out what method it needs to use to deodex your rom. No more worrying about which option to go for - the tool does it all automatically for you.

Deodexing is still a bit of a hit and miss process. Developers don't make odexed roms that are designed to be deodexed so there's bound to be the occasional file that can't be processed, or the occasional rom that won't work properly if it's deodexed. But TMA uses the very latest tools available so it can deodex as much as is currently possible. If you have any problems however, feel free to let me know!

I've also fixed a small bug where Lollipop and up JAR files went into the wrong folder when you create a ZIP file. Thanks to [MENTION=5285430]kevintm78[/MENTION] for bringing it to my attention.

Finally the least exciting change of all...de/recompiling logs now include the names of any framework files you've installed. This may not sound like much but it should prove very helpful next time somebody has trouble with a file and they can't share their history.txt.

There is one feature I was planning to add to v14.3 that I couldn't and that's V2 signing. Google have released a tool that will sign APK and JAR files with the new signing method introduced for Nougat...but I can't get it to work for some reason. I do everything I should but I end up with a file that's missing the SEC-INF folder that's the mark of V2. I'm still working on this when I can and it'll be in a future update soon.

That said, there does seem to be some confusion about whether V2 really does anything. So I'll just say "Watch This Space" and leave it at that for now.

The new download link is in the OP. Head over there, grab yourself a copy, download a banner to put on your signature (not essential but it will make you look very cool) and have yourself an awesome Christmas!
[Android Themes] kevintm78:
Is truly incredible how you can keep up with all the different platforms (especially sammy). Thank you!

I do have a small question about the v2 signatures, actually I have a lot but I'll ask just one. I followed a guide on [MENTION=1042140]tdunham[/MENTION]'s thread to disable signatures, but it seems that I have to sign apps that on earlier firmwares I didn't have to sign. What I'm wondering is, is there a way to tell if the signatures are actually disabled? I'm able to install older apps on top of new ones which is an add on to the sig disable, so I had always assumed that I did it right, but now I'm not sure.
[Android Themes] ted77usa:
[MENTION=4315551]Ticklefish[/MENTION]

Yay....Christmas come early...... just want to let you know that v14.3 are amazing..... work like a charm everytime...... and seem faster for me too....[emoji4] thank you for the amazing tool for the past couples year that making theming never been easier for me..... been using TMA since version 8 if I recall correctly.
[Android Themes] Ticklefish:
Oh, Samsung do give me a lot of problems. Their hardware is great (when it's not exploding) but their habit of using proprietary formats in their roms is a real pain in the CENSORED!

To answer your question, I don't really know. Sorry, you're probably better off asking tdunham.

Version 8? That was a while ago! Thank you for sticking with it, it's very much appreciated! :highfive:
[Android Themes] asc1977:
Hi,

Thx for your great rool. I love it. I installedbyour new version now but one question.

Why you didnt update your apktool? Any reason for that?
[Android Themes] thereassaad:
Im not using tma right now but the apktool updating is it that hard to do it mate ? U can simply do it by urself & as i know Ticklefish he is added everything to his tool up to date , so u could seen it updated there when u change the apktool & if not then do it by urself mate ..
[Android Themes] Ticklefish:
TMA has apktool 2.2.1 in it, which is the latest official version.

If there's a newer unofficial 'dirty' build available you can put it into the "USER_FILES\apktool" folder and tell the tool to use that.

Unfortunately I don't have the ability to build one myself right now so, if you do have a new build, it'd be great if you could share. :highfive:
[Android Themes] tdunham:
I'm not really sure about signature verification. On newer firmwares, I think it is either not fully being disabled any longer or it is just part of what is happening with apktool not being able to utilize resources from the framework files like it used to (specifically twframework on Touchwiz).

If you notice, it seems to be only happening consistently to certain files so I'm going to lean toward it being a resource issue that we just need to work through.
[Android Themes] jajk:
Having difficulty in deodexing a 5.1 Lolllipop ROM. After adb download of framework, app & priv app to the right locations, TMA errors with

Error! Files Not Found In Folder:

"_WorkArea1\_deodex\"

Press any key to continue . . .

Each app is in its own folder and odex files are in separate sub folders - both arm and arm64 versions are present. The odex files for framework are jointly in arm and arm64 folders.

If I pull all the files out of their individual folders, TMA goes through the motions with various errors but how do I deal with 32 bit and 64 bit odex files of the same name for the one app?
[Android Themes] Ticklefish:
TMA will sort that out for you. But you need to put your build.prop in the _deodex folder first. That's the file that it's complaining about.

Did it pull automatically with everything else? It should have done...but I have trouble testing adb on my PC.
[Android Themes] jajk:
[MENTION=4315551]Ticklefish[/MENTION] Thanks for the quick response and for the brilliant tool. No I did not put build.prop in the folder so I will try again. Yes adb pulled all the files correctly.
[Android Themes] Ticklefish:
Thanks for letting me know. The latest version uses build.prop to work out what version of Android it's dealing with and what CPU is being used.
[Android Themes] jajk:
[MENTION=4315551]Ticklefish[/MENTION] Adding build.prop did the job nicely. There were a couple of apps that refuse to deodex and the phone won't boot on the deodexed framework but that is not surprising as it is a China ROM for MTK phone (Ulefone Be Touch 3). It has an almost pure unskinned Android 5.1. I tried changing the apktool version to see if one works where another one fails but no luck so far:(
[Android Themes] Ticklefish:
Deodexing is a tricky process. Unfortunately there's no guarantee everything will deodex properly, or that the rom will boot fully.

By the way it's not apktool.jar that's used for the deodexing. For Lollipop it's oat2dex.jar and TMA uses the most recent one available.
[Android Themes] tdunham:
I don't do a lot of deodexing but I remember using oat2dex with success on Samsung MM Touchwiz. Does TMA allow for the choice or does it automatically pick for them? Maybe if it were a choice, they could try it different ways and pick up a few of those tricky files. I used to combine a couple different deodex methods to get those extra files done and them combine the results.
[Android Themes] Ticklefish:
I was going to use oat2dex.jar for the latest version to deodex Marshmallow files. It's quicker by far as it can create a DEX file directly from an ODEX file while baksmali.jar converts the ODEX into smali code and smali.jar converts the code into a DEX file.

However a trial run on a few different roms showed that the latest baksmali and smali can handle way more files than the latest oat2dex so I used them instead. It's slower but more effective.

I'm not committed to using any particular method so, if something else comes along that proves even better at deodexing, I'll quite happily use that. I'm easy-going like that. :)

(It's only a few hours until Santa visits the Fish household - which may explain why the little fishes are going slowly crazy. If anybody's reading this before the big day, have a lovely Christmas!!)
[Android Themes] superdild:
I've tested TMA 14.3 with stock Android 7.1.1 rom (from nexus 5x), flashing back SistemUI deodex,

and all went well as usual :victory:

Too late for Christmas... I wish you a Happy New Year

saluti, mario
[Android Themes] Ticklefish:
Good to know, thank you! And Happy New Year to you too!
[Android Themes] Bajanman:
HAPPY HOLIDAYS TO ALL TMA USERS.

[MENTION=4315551]Ticklefish[/MENTION]

Sent you a pm ok. I hope it's possible.:silly:
[Android Themes] Marcelo765:
Decompiling "SecSettings2.apk",

in workarea "_WorkArea1", using "apktool_2.2.1.jar"

With Debug Info Disabled

With Tickle My Android 14.3.0.0.

(tinyurl.com\ticklemyandroid)

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

Installed Framework File(s):

1-framework-res.apk

2-twframework-res.apk

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

I: Using Apktool 2.2.1 on SecSettings2.apk

I: Loading resource table...

I: Decoding Shared Library (touchwiz), pkgId: 2

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\marce\AppData\Local\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

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

Decompile Not Successful!

Pressione qualquer tecla para continuar. . .
[Android Themes] gvmiguez:
Have you installed only one framework?? You need to install twframework too
[Android Themes] DaOldMan:
Happy new year to all.

He has installed both frameworks. Latest 14.3 has a bug - it writes the installed frameworks with wrong names. Instead of calling them 1.apk or 2.apk it uses new format 1-framework-res.apk. Those frameworks are later not found by apktool (which wants 1.apk and 2.apk).

I just renamed the installed frameworks to their proper name ;) and all is fine. But this should get fixed by the OP.

Again happy new year to all and thanks to [MENTION=4315551]Ticklefish[/MENTION] for his hard work :)
[Android Themes] Ticklefish:
And Happy New Year to you too! This has now been fixed. It seems I was trying to be too clever for my own good.
[Android Themes] DaOldMan:
Will you release the fixed version soon ?

Happy new year again :).

Btw I liked the new framework names. I think we can change the source code of apktool to accept them ..... but I guess it's a overkill :)
[Android Themes] Ticklefish:
I did just before I posted. The fixed v14.3 is available right now.

The names were handy. I thought it could help if somebody's having trouble compiling and they can't remember what they've installed. Sadly apktool doesn't quite use the names in the way I thought so it didn't work.

The logs still say which frameworks are installed, it just does it by number only. Oh well.
[Android Themes] FunSucker:
hello [MENTION=4315551]Ticklefish[/MENTION] :D

To the point:

I created a project for a 1 file (SystemUI.apk). But when I create a flashable zip (Android 5.0+), there are two files that are copied to the zip. You can see in the pict me, sir. Any wrong, sir ?
[Android Themes] Ticklefish:
Damn. I'll take a look at this tomorrow and get it fixed. Thanks for letting me know!
[Android Themes] FunSucker:
Youre welcome. Glad to help you, sir.
[Android Themes] maped:
I have an brut error every time when I try to recompiling framework-res.apk & systemUI.apk (I've only change value to 100% for transparent statusbar) :(
[Android Themes] Ticklefish:
I'll have a look when I get the chance. Trying recompiling straight after decompiling.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] maped:
I did not understand sorry bro :o

The steps are:

1) Decompiling

2) Recompiling

3) Decompilig

4) Edit with 100% transparent statusbar

5) Recompiling?

Step 1 OK

Step 2 (without any change) error brut.common.BrutException: could not exec command bla bla bla :(
[Android Themes] Ticklefish:
Ah, what I meant was will it recompile your app's immediately after you've decompiled them? In other words, before you've made any changes at all to them.

Knowing this will help give Me a clearer idea of what the issue could be.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] Ticklefish:
Ah, what I meant was will it recompile your app's immediately after you've decompiled them? In other words, before you've made any changes at all to them.

Knowing this will help give Me a clearer idea of what the issue could be..

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] bad buzz:
This is a great tool thanks for this....one question ive used this and changed my battery icon successfully but it only stays one color any ideas?
[Android Themes] Ticklefish:
What did you change it to? Not every icon changes color.

Hopefully today I'll be able to upload some screenshots of what the various icons actually look like.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] maped:
Yes...I've try to recompile framework-res.apk immediately after decompile (without any change) and this is my error log.

Thank you very much bro, your work it's awesome ;)!!!
[Android Themes] lmcs:
Not decompiling

This seems like a really great tool.

It's just what I need to customize my phone.

But I can't get it to decompile files to "working" folder, as already stated by others.

Do you think it's possible to replace the items if I extract the apk files to the "working" folder?
[Android Themes] bad buzz:
I used the heart icon on my wifes phone and it just stays red
[Android Themes] maped:
I've try also with framework-res.apk and sistemUI.apk extract from stock IMM76D deodexed without any change, only decompile and recompile..same error log; I can not recompile any file :(
[Android Themes] Rueben_:
Yea im getting this error as well, i can extract, decompile and edit file but when I go to recompile I can the following image. Can anyone help me :(
[Android Themes] Ticklefish:
Well, I think I've finally got this fixed now. Although my fingers are firmly crossed!

Version 2.1 is zipping and uploadin right now. I've used it to successfully recompile maped's files from a few posts ago, although I did need to alter two xml files to do it.

I've also fixed the problem of the tool closing if you just press ENTER when it asks you to press x to cancel.

It'll be uploaded soon and should be just what's needed!

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] Ticklefish:
Which heart icon? There are two. "Fading heart" stays red but gets more transparent as your battery gets lower. To be honest, it works best with a transparent status bar and a busy background.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] rickyjune:
could you upload an snapshot of the battery icons
[Android Themes] maped:
thanks Ticklefish for your very hard work, I belive in you and in your program ;)!!!!!

I've download new version 2.1 and I have similar problem of last error log with the same framework-apk and systemUI.apk.

I've try only decompile and recompile without any change and this is a new error log.

I hope to be help you ;)
[Android Themes] Ticklefish:
I hope to do this tomorrow. It takes ages!

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] maped:
You can view battery icons available on TickleMyAndroid folder tool_files/batteryIcons ;)
[Android Themes] Ticklefish:
True, but some are transparent which can make viewing them a little tricky. I'll get to work on the screenshots tomorrow when I've got the time to do all of them.

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] Ticklefish:
Ah, yes. This is what I encountered as well. This wall of text actually does tell you what's going on. Sometimes.

You need to edit the two values.xml files it mentions. There's a line in each near the bottom that says something like "%d of %d" I deleted one of the '%d's and the app recompiled without any issues.

Exactly why this happens, I don't know. It may be an issue with your rom or it may be that apktool still needs a little refining in a particular area. I do know that making this edit won't cause any problems. :-)

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] emir11553:
Im on GB and have some free time i will love to be one of your beta testers :D
[Android Themes] saeedlf:
please someone help me after doing all the things my phone doesnt boot when the bo animation finish it reboots andit continues for ever ihave done all the thing true and i have tested zip but no defrent !!!!!!

xperia mini stock kernel official 2.3
[Android Themes] goxymaster:
error, device not found How conect device?
[Android Themes] AmmarGitham:
Enable usb debugging mode and then connect.
[Android Themes] goxymaster:
Not work :( I enable and conect and start app...But in option 1 adb shell says device not found and in theming menu/pull files from device says something is wrong :confused:

What is the order of integration?
[Android Themes] AmmarGitham:
You've adb on your PC?... Try installing android SDK on your PC and then try.
[Android Themes] goxymaster:
No...I download it now and try again :cowboy:
[Android Themes] AmmarGitham:
And also the USB driver of your phone.
[Android Themes] Kamy:
anybody can help me in change my battery icon?

I am tired of keep trying to decompile the required file for my device and getting error.

I just need to change my battery icon to ICSCirclebynbeebe one. would anybody please do it for me?

appreciate.

here are my files for:

View attachment _in.7z

The battery icon is in SystemUI.apk file.
[Android Themes] cowsquad:
In order to decompile that SystemUi.apk, you must install framework-res.apk in order to have access to the resources need it. Have you done that? What ROM are you using?
[Android Themes] Jamieb88:
So you have jre and jdk installed completely? And what Rom and device are you on?
[Android Themes] Kamy:
decompile error

Firstly, I tried to pull the "framework-res.apk" and then backup, decompile and install. I can backup and install it but decompile the "framework-res.apk" file.

I am on ICS 4.0.4, rooted, debugging ON, PCC installed.
[Android Themes] Ticklefish:
It's possible you need to install another resource file BEFORE you can decompile framework-res.apk

I'm on Timescape ICS (that's the Sony one) and I have to install SemcGenericUxpRes.apk first. Try having a look in your system/app and system/framework folders for any file with 'res' in the title.

Although, if your icons are in SystemUI.apk, you don't need to decompile framework-res.apk anyway. Just install it and decompile SystemUI.apk.
[Android Themes] Ticklefish:
ADB comes with this tool.

I suspect this may be a driver issue. Are you on a later version of Android than is officially available for your device?

If you can't connect at all, you can copy the files from your phone to the '_in' folder manually. Just make sure to use the zip making option when you're finished as the permissions will be all wrong otherwise.
[Android Themes] Ticklefish:
I did reply to your post a few posts ago..
[Android Themes] Jamieb88:
You need to install the framework to your computer and that should help. Its a option within the program and you should be good to go.
[Android Themes] kcls:
I did :P
[Android Themes] Jamieb88:
Did it work?
[Android Themes] kcls:
No, I was saying I did prior to doing everything I listed.

Tapatalk² from my Optimus V
[Android Themes] Ticklefish:
This has now been fixed. Apologies about that.