yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
Have you tried pulling samsung-framework-res.apk?

Your other themes may have worked with framework-res.apk only but this one might need a bit more.
[Android Themes] ImJvx:
I already mentioned before :( it can't be pulled. I keep getting error that something went wrong and I have to try again.

I tried the 3 options I have for Samsung. The 1 , 9 and 10.

1 can be pulled but you said it isn't enough.

9 and 10 sends the error I mentioned above. (Something happened please try again)
[Android Themes] Androidwizzard:
just for information in case -> since Oreo there's only framework-res.apk in Samsung firmware but works with this one only :highfive::good:
[Android Themes] lladwein:
Failing to pull on 8.0 Samsung Galaxy S7

Hi :)

Thanks for this awesome tool.

ive searched for it but dont find a solution (because im not sooo good with all the adb commands)

Ive a Samsung Galaxy S7 (SM-G930F) With Stock 8.0, rooted Magisk 17.1 and USB-Debugging enabled.

I tried to pull my files but i got this error:

adb: error: failed to copy 'system/build.prop' to '_WorkArea1\_deodex\build.prop': open failed: Permission denied

what am i doing wrong?
[Android Themes] Ticklefish:
You're probably not doing anything wrong, you'll be glad to know. The pull function in the deodex menu can be a little erratic.

If it's not working, try copying your files to the PC manually.

By the way, TMA might be able to deodex your rom....and it might not. I'll be removing the functionality soon as deodexing has gotten too complex a process and TMA needs a massive rewrite to cope with it.

I'm not going to do that rewrite, instead I'm working on a dedicated deodexing tool (which I'm testing on a 8.1 rom right now) that I'm hoping to release soon.
[Android Themes] lladwein:
Hey :)

Yeah. Your second proposal was right. I've done it this way.

Thanks for your help and good luck with your next work :)

And thanks for sharing your work for free... Not usual nowadays. (means not im a pirate ;) )
[Android Themes] Ticklefish:
My stuff is always free. The point of my threads is to share and to help people. You can't do that if you're charging money.

I do have a DONATE button but that goes to a charity so I don't get money from that either.

Of course, if you really want to say thanks, you could consider using one of the banners at the bottom of the first post in your signature. It helps to spread the word and people who have TMA banners have been scientifically proven to be 5.4% better than people who don't..
[Android Themes] starbucks2010:
[MENTION=4315551]Ticklefish[/MENTION] I think I found a problem with the signing process in the latest v15.4.0.7 TMA.

1. Shortly, I decompile/recompile with the original signature the SamsungInCallUI.apk and put it on my phone (change the permissions to 0644) but the app is not showing in the applications list and when I make a phone call I do not have the UI interface. The call goes thorough but without the usual interface.

2. Same as point 1. but recompiled with new signature - same result as above.

3. Resign the recompiled SamsungInCallUI.apk with Android Multitool v3.5.9: the call goes through and I get the calling interface + the phone app gets listed in the application list.

Can I get your support here on re-checking the signing process used in TMA?

Thank you in advance for such a great tool as TMA.
[Android Themes] thereassaad:
1st never ever sign any system apps & 2nd u need to drag & drop ur edited to original apk ,

If u edited smali in classes / then drag & drop classes.dex

If u edited smali in classes2 /then drag & drop classes2.dex/

If u edited anything in resources / drag & drop resources

If u edited anything in layout or add drawables then drag & drop the edited xml or added images.

& keep in ur mind u need to disable signatures .

That's it for Samsung**** Oreo apks ..
[Android Themes] starbucks2010:
I already remove the signature verification in the ROM.

I guess that what you are describing here is the same with signing the apk with original signature, right?

BTW, I tried also the method you replacing the resources modified into the original apk but the result was same - failed to get the app interface or to make the app to appear in the applications list.

The signing problem is still standing in TMA if with other tool the same apk have a normal behavior only by (re)signing it.

Thank you for your guide anyway. Really appreciate your willingness to help.
[Android Themes] Ticklefish:
Hmm. I can certainly take a look. Could you share your APK files please? Including the framework files.
[Android Themes] Marília de Oliveira:
Hey [MENTION=4315551]Ticklefish[/MENTION] I want to compile all the apps at one time plus the program closes soon after selecting the option and does not compile or compile one at a time. How can I fix this?

Thanks :D
[Android Themes] Eleo:
The username you quoted contains a non-unicode character of "i". If you are using mobile agent like XDA Labs, it will not be able to view it

;)

Try a PC agent or not quote or mention the user at the end of post:good:
[Android Themes] thereassaad:
Sorry for late reply ,

Anyway . Look try apktool command but tma shouldn't fail , anything u do there Samsungincallui just drag & drop ur edited files to ur original apk , im already edited Samsungincallui & use it even in clean rom installing no issue just drag & drop & that not appear mostly because signing apk which never need or at least if u want to sign apk use Google signatures it's won't fail some devs do it but from my side it's never need it & dangerous , i do alot of things that need edited androidmanifest & on Oreo to use edited androidmanifest u need to sign but i found a way to skip signing it ( maybe i write how to later ) but in ur case it is causes by signing apk try to download latest Samsungincallui from apkmirror & starts from there , always use drag & drop edited files it's the successful way for Samsung Oreo apks ..
[Android Themes] Ticklefish:
I've downloaded the latest com.samsung.android.incallui.apk from apkmirror and tried it on the latest version of TMA. The APK compiles easily enough, if aapt2 support isn't used, and the compiled file looks pretty much the same as the original.

So I'm trying Android Multitool to see what that does. I'm always a little reluctant to do stuff like this because I don't want to be just stealing ideas from other programs. Android Multitool is essentially a competing piece of software, after all, and I believe in playing fair. But I'll see what I can come up with.

Credit where credit's due, Android Multitool's GUI interface is very nice. It's a well thought out piece of kit.

Bug confirmed. I think I know what's causing this and I'll get that bug squashed soon. Hopefully today, if things work out.
[Android Themes] Ticklefish:
I've just released v15.5!

This has a fix for recompiling multiple files (thanks go to [MENTION=4947700]Marília de Oliveira[/MENTION] for letting me know about it) and I've also removed some options. Which may seem a bit odd but I have a reason!

The first option to go is the option to change your icons. I'm a bit sad to lose this one, to be honest. Icon changing, especially the battery icon, was one of TMA's killer features in the early years. A lot of time has gone into the code and a lot of time also went into finding new icons. I even made some of my own, but I won't pretend they were any good!

Nobody really needs this sort of functionality anymore - Android now displays an exact percentage for the battery level and most people use themes for changing icons anyway.

So I've removed the option. The code is still inside the EXE file though, so I can bring it back if people ask for it.

The other option to go is the one that deodexes your rom. Regular visitors to this thread will know that deodexing hasn't always gone smoothly with TMA. The process is getting more and more complicated with every version of Android and updating TMA's code to cope with it all is a bit of a nightmare.

I'm working on a new tool that has a different approach to deodexing and I'm hoping to release it soon. In the meantime, people can still use TMA but they have to enter a secret code at the title screen to do it. (The code is 'deodex'..I'm not that good at making secret codes..)

I've also included the latest version of apktool, just to give people the best chance possible of decompiling their files!
[Android Themes] ImJvx:
Does this mean that the bug I reported is a lost cause?
[Android Themes] Ticklefish:
Have you tried decompiling your APK with the latest version of apktool?

If you have and you still have an issue, it might be worth installing the latest AOSP framework-res.apk and then trying again.

If it still doesn't work, you might need to speak to whoever put the theme together.
[Android Themes] nguyentankiet:
I using Windows 7 64bit. TMA 15.5 show this dialog
[Android Themes] Ticklefish:
Huh, that's weird. I put it together the way I always do. And it works fine on my PC.

I put together a new one and selected the option for it to be 64 bit. Can you try this and let me know what happens please? https://www.androidfilehost.com/?fid=1322778262904009672
[Android Themes] ANDROIDXFOREVER:
thanks bro this version work great from my pc windows10 pro last update :D
[Android Themes] Ticklefish:
Thank you, that's good to know. Did you try the version linked in the OP as well?

If that's not working but the new one is, I'll update the link.
[Android Themes] ANDROIDXFOREVER:
the one in OP does not work the same as the user error above
[Android Themes] Marília de Oliveira:
Thanks. keep your work it and magnificent! :D
[Android Themes] nguyentankiet:
This version extract successfully. I not test other function, this is result when i open it and type x, then Enter to exit
[Android Themes] Ticklefish:
Whoops. I left the debug on..

I've changed this now. You can change "tool_files\rewrite\settings\DebugOn" to "DebugOff" instead of downloading the whole program again
[Android Themes] starbucks2010:
Hello,

Thank you for taking your time to help me. I did also many tests on my side and I think I discovered the issue.

If you compare the original apk and the recompiled apk you will notice 2 files lost their .9 extension in the recompiled apk. These 2 files are rtt_bubble_receiving.9.png and rtt_bubble_sending.9.png inside the drawable-nodpi-v4 folder. I don't understand why they lost the .9 extension but definitely this is the issue. Maybe you can figure it out.

PS. If you decompile the recompiled apk, you will see many lines missing from the the apktool.yml in the doNotCompress area (all the res/drawable-xxx folders).

PS1. Funny thing I discovered during some tests: if you put an akp file with a ) in the name in the _in folder, when you press 2 (Quick Menu) then 2 (Decompile Files) the TMA quits immediately :)

Best regards.
[Android Themes] Tulsadiver:
Which apktool did you use? Try apktool 2.3.2 and see if the same thing happens.
[Android Themes] starbucks2010:
I used apktool 2.3.4. Just tried the apktool 2.3.2 and I get the same issue (missing app interface while calling/being called) and the 2 files mentioned above don't have the .9 in their names.

The strange thing is that the 2 files don't have the .9 in their names in the decompiled folder like in the original apk. They lose the .9 during the decompilation process.
[Android Themes] Thebear j koss:
Are they broken 9 pngs, or is apktool just not recognizing the patch? Any other 9 pngs in the app?
[Android Themes] Ibuprophen:
This is a known issue by iBotPeaches. It's linked to the Obfuscation with Kotlin...

The following links reflect this issue submitted on 2 occasions.

https://github.com/iBotPeaches/Apktool/issues/1522

https://github.com/iBotPeaches/Apktool/issues/1828

What a headache... LMAO! :eek:

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Themes] Ticklefish:
Those two nine-patch files are indeed lost during decompiling..

....
W: Cant find 9patch chunk in file: "drawable-nodpi-v4/rtt_bubble_receiving.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-nodpi-v4/rtt_bubble_sending.9.png". Renaming it to *.png.
....

This shouldn't stop an APK from running - it's just a warning. The bit that I'm concerned with is the compression of some of the files.

You're absolutely right, apktool.yml says that many files shouldn't be compressed but they get compressed by TMA anyway. That's due to the way TMA recompiles with the original signature. Because users might choose to delete files from the /res folder, TMA creates a copy of the original APK, deletes the /res folder inside it and adds the compiled folder.

Which means the entire folder would be compressed. (I've attached a screenshot of the original and new APK's side-by-side to show this.)

It looks Android Multitool doesn't allow for any files to be deleted from the /res folder so, when it creates the new APK, the compression is kept.

I think I can get past this. I just need to add a few lines of code that will read apktool.yml and correctly process the files that shouldn't be compressed. I'll take a look at this today and, hopefully, I'll be able to upload a new version later. I've got a busy day though so it might not be until early next week (Monday/Tuesday).

p.s. Yes, TMA doesn't like filenames with parentheses in. Because it's a batch file, Windows will read those as code and get very confused.
[Android Themes] starbucks2010:
I guess they are broken pngs cause I don't see the 1px margins on them. But I might be wrong and [MENTION=4828250]Ibuprophen[/MENTION] has right on the post above with apktools heaving issues dealing with some .9 pngs. No issues with other pngs from this apk.

Yes, this could be my case and unfortunately there is no solution yet.

Thank you very much mate for your support. Anyway, TMA remains my favorite tool.
[Android Themes] Ticklefish:
Right...give the latest version a try. This now reads apktool.yml and doesn't compress any of the files listed in it.

This is the only real difference I can see between the compiled file TMA creates and the one created by Android Multitool (although TMA still lets you delete files from the /res folder), so the new APK should now work.

Try it out and let me know what happens. :good:
[Android Themes] msubhani:
You done a great job sir [emoji106]. I am waiting for your standalone deodexer.
[Android Themes] Hamidreza2010:
Hi [MENTION=4315551]Ticklefish[/MENTION]

for some reason i should decompiles my apk with this command ( i do this with apktool in cmd )

apktool.jar d -b test.apk

but how can i do that with your tool?

thanks bro
[Android Themes] Ticklefish:
This function was depreciated in apktool 2.1., I think. Apktool now doesn't have the debugging info as standard. So TMA doesn't produce it.
[Android Themes] Hamidreza2010:
Oh its bad for me.

i use this command in cmd with apktool 2.3.4

but i wanted use your tool

ok bro

thanks
[Android Themes] Ticklefish:
TMA doesn't use that command because, as far as I'm aware, that command doesn't do anything anymore. I'm pretty sure the functionality got removed in apktool 2.1.0
[Android Themes] mrh87:
Hello sir

please help me

i can't Recompile here is logs

Recompiling problems
[Android Themes] Tulsadiver:
You need to include what phone and firmware you are working on.

Make sure all frameworks are installed. Try recompiling without edits to check to see if your edits are the problem.
[Android Themes] mrh87:
First I want to thanks you for your replay

I am trying to edit framework.jar of Note 8 Oreo firmware.

I already installed all frameworks and its recompile without edit very well.

But when I edit the files its not recopile .

I dont know where I made mistakes, Please help me to solve it.
[Android Themes] Ticklefish:
Your error message says this:

Exception in thread "main" org.jf.util.ExceptionWithContext: Exception occurred while writing code_item for method Landroid/app/NotificationChannel;->writeXml(Lorg/xmlpull/v1/XmlSerializer;)V

I'm guessing that some of the edits you've made are to do with this. Something you've changed wasn't right. You need to look at the edits you're doing and see what you've done wrong.
[Android Themes] Ticklefish:
Well, you don't have to wait any longer. I released it a few minutes ago here: https://xdaforums.com/android/general/toad-source-android-deodexer-t3848307

In fact, I managed to release it twice. My computer and xda aren't agreeing with each other this morning so it went a bit wrong..sigh..

I've called it TOAD, partially because I have an odd sense of humour but mainly because it's The Open-source Android Deodexer.

I'm not an expert at deodexing - all I know I've picked up from researching online. And I'm hardly an expert at writing code. So my hope is that other people might spot issues with my code and make suggestions on how to improve it.

It's a bit cheeky of me, I know. And it's a bit of an experiment - it might not work out at all. But it's worth a shot!
[Android Themes] msubhani:
Thanks a lot.
[Android Themes] starbucks2010:
Hi,

I tried your latest TMA (15.5.0.1) but it seems that it doesn't "see" those 2 files as .9.png files.

W: Cant find 9patch chunk in file: "drawable-nodpi-v4/rtt_bubble_receiving.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-nodpi-v4/rtt_bubble_sending.9.png". Renaming it to *.png.

Therefore, I guess that the recompiled apk will have the same issue.

Most probably the 2 pngs are either malformed in the original apk or the tool doesn't detect them correctly so is renaming them.

Thank you for your support.
[Android Themes] Ticklefish:
The latest version should fix the issue with the compression. The broken nine-patch files aren't anything to do with TMA or apktool - they are missing the chunks of information that they should have. That's why apktool renames them as ordinary PNG's.

As I said, this won't stop the APK from working.

The issue we were having was that TMA wasn't compressing files in the recompiled APK the same way as the original. Which was stopping it from working.

This should now be resolved.
[Android Themes] starbucks2010:
Hi,

Yes, the compression problem seem to be solved in this last version. Thank you very much.

Now, I run into another issue but seems to be the same with other tools. I never had before this issue and maybe you could have a hint how can I solve it. If you try to decompile the latest facebook apk (v191.0....), you will get all .png files of 0 Kb in drawable folders and lots of "(name removed)_APKTOOL_DUPLICATENAME" mentioned into .xml files (f.e. <solid android:color="@color/(name removed)_APKTOOL_DUPLICATENAME_0x7f06005e" />).

Do you have an idea what could be the issue?

PS. Strange thing is also the original apk structure - no res folder but a "r" folder with lots of strange naming files.

Thank you in advance.
[Android Themes] Thebear j koss:
Facebook encodes all their stuff. Action launcher does something similar.
[Android Themes] starbucks2010:
What do you mean by encoding? They changed the apk structure starting with v150.x.x.x.
[Android Themes] Ticklefish:
I'm not familiar with exactly how facebook make their app, I shook that addiction a while ago, but I would imagine that they build it in a non-standard way.

Apktool is designed to decompile standard APK's but, if a developer doesn't use the standard to make their app, apktool isn't going to know how to process it.

Plus, some developers deliberately do things to their files to stop programs like apktool from working. Which is understandable. Nobody wants modified apps flooding their phone with malware.
[Android Themes] gvmiguez:
I think facebook apk issue can be related to sign method, on the developer of the apk side
[Android Themes] thereassaad:
Hi ..

This man is dec/rec latest fb so maybe he can help u

https://xdaforums.com/showthread.php?t=3586318
[Android Themes] Thebear j koss:
I don't use Facebook nor have I themed it in over 6 years, but as far as I know most of the theming is done in the assets folder and they also encrypt or encode a ton of stuff so it is hard to modify. Not saying it can't be done, but from what I have gathered from a lot of long term themers it isn't worth the headache
[Android Themes] Ibuprophen:
I agree with you! :)

The Facebook and the Facebook Messenger Apps are some of the worst apps that are extremely heavy on the Android's Resources.

I'm happy with the Facebook Wrapper App I use (though there's a few others that are pretty good too)...

I don't need the Messenger because it's part of the app and you can even change all kinds of theming colors in various areas of the app as well.

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Themes] Bradco:
Hi everyone,

Fist thanks ticklefish TMA is really awesome app :)

I have an error when i want recompile,

I tried these two option :

"If you're using "apktool_2.3.2.jar" or above, you'll be given to recompile with aapt2 support. Some new APK files are being constructed with aapt2 and you may need this for those. Or you might not.

If your APK doesn't recompile properly, or it does and it doesn't work, try changing this option first. You never know, it might just be what you need to get your app to work..

Same error with both : i had two log of recompile :)

Little question about toogle generate with XML files,

I already managed to modify the toggle by adding a png with the same name as the xml file, but I do not remember where to place it, in drawable or xxhdpi or xxxhdpi or elsewhere?

Thanks
[Android Themes] Bradco:
Hi everyone,

Fist thanks ticklefish TMA is really awesome app :)

I have an error when i want recompile,

I tried these two option :

"If you're using "apktool_2.3.2.jar" or above, you'll be given to recompile with aapt2 support. Some new APK files are being constructed with aapt2 and you may need this for those. Or you might not.

If your APK doesn't recompile properly, or it does and it doesn't work, try changing this option first. You never know, it might just be what you need to get your app to work..

Same error with both : i had two log of recompile :)

Little question about toogle generate with XML files,

I already managed to modify the toggle by adding a png with the same name as the xml file, but I do not remember where to place it, in drawable or xxhdpi or xxxhdpi or elsewhere?

Thanks

EDIT 1 : i solved my problem just pull from the smartphone again :)

But now another problem when y want to create a zip , when i want to add the system.apk to the project when i select out folder TMA close the window
[Android Themes] Thebear j koss:
Whatever you replaced doesn't match the id in the public.xml. You did something wrong.
[Android Themes] Bradco:
I followed the process in the thread 1. I deleted old TMA / install the new / pull decompil and install the framework and system UI.

What do you mean about you replaced doesn't match the id in the public ?

I already used TMA and I had no problem, I may have to uninstall the old version.
[Android Themes] Ticklefish:
I've just tried to replicate this. I downloaded the latest version, decompiled a file, recompiled it and tried to put it into a folder in the ZIP project...and it worked without any problems.

If TMA is closing, it must be getting confused about something. Is there something already in the "_out" folder? If there's already a file or folder there, TMA might be having trouble with the name. Names with spaces in, or some characters, wouldn't be read properly and could cause a crash.
[Android Themes] Ticklefish:
I was just looking around YouTube when I discovered this rather neat guide to installing Tickle My Android..

[youtube]Wc3SstihqVw[/youtube]

I like the video but I must ask that nobody reading this follows the download links. Partially because it's out of date, partially because using the links on here tells me whether people actually use my stuff, but mainly because I can't guarantee you won't download any malware..