yashsingh1/xdaforums huggingface dataset:
[Android Themes] ydd0ras:
Hello mate, thanks again. I have tried it with the 15.1 build (Java 8 and Win10 on my Dell) . Here is what I've done:

Set the _WorkArea1.

Chosen "Pull Relevant Files From Android Device"

But I only got pulled the build.prop, nothing else.

Please check the log file.

BTW, I am using an 7.1.2 ROM on a device with A/B Partition layout (Xiaomi Mi A1)

Many thanks!
[Android Themes] Thebear j koss:
Yes, it is a known issue. Need to have your anti virus turned off or skip that file in it's search for harmful programs
[Android Themes] suriyaprakas:
SystemUI.apk Not Recompiling .

I Just Decompiled And Recompile Without Any Modifications.

How To Fix ?

Other Apps Recompile Without Any Errors .

Here Is The Log Of Recompiling SystemUI.Apk :
[Android Themes] zelendel:
Just go back and fix the duplicate issues that are in the log. It is pretty straight forward on what is wrong.
[Android Themes] suriyaprakas:
Can You Tell Me How To Fix Them.
[Android Themes] Ticklefish:
I don't know much about unpacking roms, sorry.

This has now been fixed. You'll find the updated version here: http://www.mediafire.com/file/u2852ut5n5e9n8j/TickleMyAndroid_-_v15.1.0.exe

Thank you.

This is the sort of error you're having:

W: C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\drawables.xml:91: error: Resource entry tw_action_item_background_focused_holo_dark is already defined.
W: res\drawable\tw_action_item_background_focused_holo_dark.9.pio:0: Originally defined here.
W:
W: C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\drawables.xml:92: error: Resource entry tw_action_item_background_pressed_holo_dark is already defined.
W: res\drawable\tw_action_item_background_pressed_holo_dark.9.pio:0: Originally defined here.

This is saying that you have two separate image declarations..for the same image. You need to go through the XML and delete the duplicate lines.

In fact, it might even be worth deleting the drawable XML files completely and trying to recompile. I can't guarantee it'll work but it's worth a try.
[Android Themes] suriyaprakas:
Ok Bro I Will Try That .

What Is This Error. It Is At The End Of Recompiling Log.

W:

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\SURIYA\AppData\Local\Temp\brut_util_Jar_1439314141676525251.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-J200GDDU2AQH3, --no-version-vectors, -F, C:\Users\SURIYA\AppData\Local\Temp\APKTOOL2419624076894239793.tmp, -0, webp, -0, pio, -0, qmg, -0, arsc, -I, C:\TickleMyAndroid\_WorkArea1\Frameworks\1.apk, -S, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)

at brut.androlib.Androlib.buildResources(Androlib.java:419)

at brut.androlib.Androlib.build(Androlib.java:318)

at brut.androlib.Androlib.build(Androlib.java:270)

at brut.apktool.Main.cmdBuild(Main.java:224)

at brut.apktool.Main.main(Main.java:75)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\SURIYA\AppData\Local\Temp\brut_util_Jar_1439314141676525251.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-J200GDDU2AQH3, --no-version-vectors, -F, C:\Users\SURIYA\AppData\Local\Temp\APKTOOL2419624076894239793.tmp, -0, webp, -0, pio, -0, qmg, -0, arsc, -I, C:\TickleMyAndroid\_WorkArea1\Frameworks\1.apk, -S, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

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

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)

... 5 more

Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\SURIYA\AppData\Local\Temp\brut_util_Jar_1439314141676525251.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-J200GDDU2AQH3, --no-version-vectors, -F, C:\Users\SURIYA\AppData\Local\Temp\APKTOOL2419624076894239793.tmp, -0, webp, -0, pio, -0, qmg, -0, arsc, -I, C:\TickleMyAndroid\_WorkArea1\Frameworks\1.apk, -S, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

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

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

... 6 more

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

Recompile Not Successful!
[Android Themes] Ticklefish:
You normally don't need to worry about that. The important parts of an apktool error message are at the top, that's the bit that tells you what's actually gone wrong.
[Android Themes] suriyaprakas:
Thank You Very Much Bro .

I Will Report If I Fix The Error.
[Android Themes] Astrako:
Hi [MENTION=4315551]Ticklefish[/MENTION]. I use a lot your great tool, and usually I use more than one WorkArea. Sometimes, change between several workareas is a bit painful since you have to make the change through settings menu and break a bit the workflow. Could be added some kind of "shorcuts" to them in main window? For example something like in this picture:

Thank you in advance for your attention :good:
[Android Themes] Ticklefish:
There's an option to change workarea at the bottom of the Theming menu. Have you tried using that?
[Android Themes] Astrako:
Yes mate :) but the total count of mouse clicks are 5 to change between one workarea and another. For me, and I suggested, changing between workareas with just 1 mouse click would be great ;)
[Android Themes] kramer04:
Hello

I am trying v15.1 but when i go to quick menu>Recompile app crashes.

Go back to v15.0
[Android Themes] Ticklefish:
I'll have a look. There are a few practical issues with having the options always on the screen but I'm sure I can come up with something.

15.1 isn't ready for general release yet, it's still a work in progress.

That said, I think I know what's causing this and I should be able to fix it when I'm next at a computer. I've made a minor change to the decompiling and recompiling code, so this shouldn't be too hard to track down.
[Android Themes] suriyaprakas:
Thank You [MENTION=4315551]Ticklefish[/MENTION] I Successfully Cleared All The Duplicate Errors And Now The StstemUI App Is Recompiled Without Errors And Working.
[Android Themes] Ticklefish:
That's good to hear! :highfive:
[Android Themes] Terraalpha:
Hi [MENTION=4315551]Ticklefish[/MENTION]

I wanted to ask again if you have found something to unpack or pack Roms in your tool?

Thanks Terraalpha
[Android Themes] Ticklefish:
Not so far, no. Sorry.

I haven't had much of a chance to look into it but it is on my list.
[Android Themes] Terraalpha:
Ok, thanks
[Android Themes] Ticklefish:
I've updated v15.1 and it's available here: https://www.mediafire.com/file/u2852ut5n5e9n8j/TickleMyAndroid%20-%20v15.1.0.exe

The above bug has been fixed and there's now the option to click on the workarea name at the top of the Theming Menu. You can also enter 'w' if you're not using the mouse.

Do that and the workarea will change to the next one in alphabetical order. Do it again and it'll change to the next one. And so on.

This way you can easily change between workareas without having to leave the Theming Menu.
[Android Themes] Astrako:
Thank you very much! Now workflow will be faster than ever! I will test ASAP! :good:
[Android Themes] kramer04:
Thanks a lot. I'll try it today :good:
[Android Themes] skeleton1911:
tested and worked great :)

fully deodexed now , thank you :)
[Android Themes] Ticklefish:
That's what I was waiting to hear! :highfive:

All deodexed with no bootlooping issues?
[Android Themes] skeleton1911:
No bootloop issues.

I have only got a service apk force close all the time .

Haven't tested it with fullwipe, but that FC isn't a big deal.

Thank you :)

Gesendet von meinem S8 mit Tapatalk
[Android Themes] kramer04:
I try it today but issue is always here.

If I use quick menu to recompile TMA crashes when I click enter. Works well with theming menu.
[Android Themes] Ticklefish:
Can you please rename "tool_files\rewrite\settings\DebugOff" to "DebugOn" then try the recompile option again please?

When it crashes, let me know what it says on the screen
[Android Themes] kramer04:
Yes of course

See the pic
[Android Themes] Ticklefish:
This has now been fixed. Sorry about that.
[Android Themes] Ticklefish:
New version available

It took about 6 months to make the last version of Tickle My Android.

And yet, somehow, it's only a few days later and I'm releasing the next one!

Version 15.1 is now available to download. This is largely a deodexing-focused update. Users now have the ability to deodex apps from their "/vendor" folders if they're on Nougat or above. I've improved the flashable ZIP that's generated but that's more of a behind-the-scenes change.

I've also added an option to change WorkAreas directly inside the Theming Menu. Just click on the WorkArea name at the top right of the screen, if you're using the mouse. Or enter "w" if you're using a keyboard.

Please note that you can't change WorkAreas if the program is in the middle of decompiling or recompiling.

And finally, I've added a piece of code that kicks in when you try to decompile or recompile something. If you don't have any framework files installed, you'll be shown a small warning.

This is easily the most common issue people ask for help with and this should hopefully make things clearer.

Please note that TMA won't know if you've installed the right framework files, or enough of them, that's down to you.

Head to the OP to download your copy now!
[Android Themes] porkyhontas:
You're the man! Been using your tool for years -- I believe since you created it, lol.
[Android Themes] Ticklefish:
Making me feel old now.. ;)

Doing this has been fun. It's strangely enjoyable getting the code to do what I want it to do.

But I really do need to set aside some time to root my phone and get back to modding it. I have some XML mods I want to try out and it'd be nice to do that this century..
[Android Themes] porkyhontas:
I can definitely relate to that. I don't even really share themes and apps anymore. I suppose that I enjoy modding for myself anymore and my team. Plus, nobody really cares about themes anymore unless it can be done I the fly.
[Android Themes] Ticklefish:
Times have changed, it's true. Substratum has made theming more accessible which I suppose we can't really complain about.

I was thinking the other day about removing the icon menu from TMA, in fact. Nobody changes their icons by modding their APK's anymore.

In fact, talking to things changing, it looks like I may be stuck with a stock phone until my next upgrade. The bootloader can't be unlocked and it can't be rooted, unless somebody comes up with something clever.

And I don't really mind too much, surprisingly. Stock roms aren't as bad as they used to be.

Sigh.. Nostalgia's so depressing. I'm going to open a beer and see if I can find an old handset to mod..
[Android Themes] porkyhontas:
Agreed, I do miss the "old days" of Android. And speaking of locked bootloaders, that's part of the reason I didn't opt for a Note 8.
[Android Themes] ANDROIDXFOREVER:
hi This update has a problem when I go to recompile crashes
[Android Themes] Ticklefish:
Can you rename "tool_files\rewrite\settings\DebugOff" to "DebugOn" please and try recompiling again? This won't fix the crash but will stop the window from closing so the error message can be seen. Let me know what it says and I'll look into it for you.

Oh, and can you share your "history.txt" please?
[Android Themes] ANDROIDXFOREVER:
thanks bro i test ;)
[Android Themes] ANDROIDXFOREVER:
ok i send log : https://www.androidfilehost.com/?fid=745849072291694455

i rename debugOn but not work
[Android Themes] Ticklefish:
I've just tried this on my PC. I downloaded v15.1, installed my frameworks, decompiled and recompiled my SystemUI.apk. All in the Quick Menu, all without any problems.

Can you share your files please? It may be an issue with the actual APK's you're using.
[Android Themes] ANDROIDXFOREVER:
i decompile secsettings2 decompile ok but not recompile because is crashed

now i test v.15.0 its work perfect
[Android Themes] Ticklefish:
Can you share the files please? I can try them over here and find out what the problem is.
[Android Themes] nhan1411:
I have used version 15.1 for my pixel 2 XL on android 8.1. Decompile framework & systemUI works well. But when I recompile systemUI (apk file) and put it pack to phone and there is no status bar.
[Android Themes] Thebear j koss:
Did you keep original signature? Did you flash the system ui? Too many variables at play to know what you did wrong.
[Android Themes] nhan1411:
I have tried 2 way:

1. A standard zip file with original signature, flashed it, but systemui that I modified are unchanged. Status bar is there.

2. An app file recompiled with option for Android 7+, copied it to Systemuigoggle folder, reboot and lost status bar.

Of course, I can not pull systemui directly by TMA as it not worked. I copy it manually from the folder with root explorer.
[Android Themes] Thebear j koss:
Try this, take whatever you changed in new apk (example resources.arc if you changed an xml in values folders) into original apk using 7zip or winrar open the apks as archives don't unzip them, just transfer over changed files into original apk overwriting the original files. Do not drag over signatures or meta inf, keep those original. Than make sure the zip you are flashing has correct file structure in the zip, yours should be something like system folder-priv-app folder-systemuigoogle folder-systemuigoogle.apk. Make sure everything is named correctly, exactly as it is shown in your root browser. Then flash it. If you are using a stock odexed rom I highly suggest switching to a deodex. It will be a lot easier for you in the long run.
[Android Themes] nhan1411:
So sad that up to now, there has been no deodex Rom for pixel 2 XL. I will try your method. I understand that your method not use TMA but do the following:

Get the systemUIGoogle.apk ---> not unzip or decompile ---> used 7 zip to modify directly (I want to change QS column n.o from 3 to 4 - of interger.xml of value folder)---> overwrite interger.xml --> copy new SystemUI file back to SystemUIGoogle Folder--> reboot.

Am I right? Thanks for your advice.
[Android Themes] Ticklefish:
You'll still need to decompile to be able to do this.

Can you share your history.txt please? It will give me information I need to know to help you as there are so many reasons why your new APK might not be working.

Oh, and TMA might be able to deodex your rom, by the way. Although it's probably worth getting your mod sorted out first..
[Android Themes] Thebear j koss:
As Ticklefish stated you will need to decompile, make changes, then recompile the apk. Integers is in values folder, so open new apk with 7zip find resources.arc and drag that into original unmodified apk. Have an extra backup of the original apk just in case. Also have you checked in system ui tuner to see if you can change qs tiles thru there 1st?
[Android Themes] nhan1411:
Attached is the history file. Thanks for you help. I will tried your method and let you know the result
[Android Themes] nhan1411:
Just tried your way. It worked. Thank you so much.
[Android Themes] Ticklefish:
Interesting.. I think I may know what happened here.

I'm glad that you were able to get this working but, if you're able, do you think you could share your APK's please? I'd love to try this on my setup and see if my suspicions are right..
[Android Themes] Ticklefish:
I've been puzzling over this since I saw that history.txt. It looked like TMA was recompiling the APK twice for some reason. And the second time it wasn't including the signature files..

13-12-2017@2337 --- "_WorkArea1\_working\SystemUIGoogle.apk" recompile succeeded with original signature, using "apktool_2.3.0.jar"

I: Using Apktool 2.3.0
W: Could not find sources
I: Building resources...
W: warning: string 'skylab_instruction_assistant' has no default translation.
W: warning: string 'skylab_instruction_fit' has no default translation.
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...

I: Using Apktool 2.3.0
W: Could not find sources
I: Building resources...
W: warning: string 'skylab_instruction_assistant' has no default translation.
W: warning: string 'skylab_instruction_fit' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...

Plus the method that [MENTION=4916750]Thebear j koss[/MENTION] mentioned in his post is basically what signing with the original signature does.

I've worked out that this is down to the "Recompile File [Android 7.0+]" option. Put simply this wasn't working properly.

The whole point behind this option was to cope with v2 signatures which were introduced in Nougat. But it looks like these aren't really a problem in peoples roms and this option isn't really needed.

So, for now, I've blocked off the code and removed the option. Now you can recompile with no signature, the original signature or a new signature just as before.

The updated v15.1 is on Mediafire and available to download. Don't worry about updating if you never used this option as it won't affect you.

Sorry for the confusion, everyone!
[Android Themes] nhan1411:
Thank so much for your support. I have tried the method of dragging resouces.ars to unmodified systemuigoogle.apk and it worked well. I will try the new version when having free time.

By the way, could you add a new method for pulling systemuigoogle.apk file. I have to use root explorer to get it manually.

Another thing, do you have any idea on changing QS title icon color for android 8.1?
[Android Themes] Ticklefish:
Thank you, I'd appreciate that.

What happens when you try pulling it through TMA? I didn't see that on your history.txt, what's the error that you get?

For your icons, I think they're vector images in Oreo still. You just need to find the appropriate XML that describes how they're drawn and edit it to add some colour.

Have a look at vector drawables here: https://developer.android.com/guide/topics/graphics/vector-drawable-resources.html
[Android Themes] nhan1411:
I tried to pull the file. It made 2 method of TMA but no success. I think systemuigoogle.apk located in a different folder.
[Android Themes] Ticklefish:
What was the error message you're getting? I need to know exactly in what way you had no success.

Are you pulling from "system/priv-app/SystemUIGoogle/SystemUIGoogle.apk"?
[Android Themes] nhan1411:
As far as i remember, TMA tried to pull with normal method, then tried with lolipop one. But no apk file in in folder.

I will tried again and give you the history
[Android Themes] Teracotta:
So I searched this thread and I still don't know, can I create custom themes for a phone under a locked bootloader? Root but no custom recovery. I've tried to overwrite framework.apk while the ROM was running and ended up soft bricking it.
[Android Themes] Thebear j koss:
Can't modify frameworks without a custom recovery or some sort of theme engine. Most system apps should be flashed to the system partition, and it is best to use a deodexed rom to change. Stock odex roms will cause all sorts of trouble modifying. Only other way would be to use adb and I am not sure how well that would work.
[Android Themes] Teracotta:
So the only option would to get a Samsung developer account and have the themes downloadable via the stock themeing engine?
[Android Themes] Ticklefish:
Pretty much, yes. I really can't recommend modifying system APK files without using a recovery. If you do it 'live' you can end up with all sorts of problems.

I don't have a Samsung device so I don't know what their theming options are. But I do have a Sony phone and I'm forever using their Theme Creator program to create new themes for myself, hopefully Samsung do something similar.

In fact..it looks like they do. Have a look here at a program you could use: https://xdaforums.com/android/themes/guide-make-themes-samsung-theme-engine-t3356099
[Android Themes] Ticklefish:
​

In a few days it'll be Christmas Day. In the Fish household, this is traditionally a time of fun, family, presents and trying desperately to stop the children from killing each other.

Again.

Whatever you all might be doing over the festive period, however you mark the time, I hope you have a great time.

Thank you for supporting Tickle My Android, it never ceases to amaze me how many people still use it after all these years!
[Android Themes] Thebear j koss:
Use substratum and andromeda to theme samsung. It works on android 7.0 and above i believe.
[Android Themes] rashford19:
I ask for the tickle link which is the master version 14.4.0
[Android Themes] Ticklefish:
You want a link for version 14.4? I can give you one if you want. Why do you need it?
[Android Themes] Ticklefish:
There's a new version of apktool available! You can download v2.3.1. from here: https://xdaforums.com/showpost.php?p=74967023&postcount=5178. Just make sure you press the thanks button while you're there - without apktool, TMA can do nothing, so the dev deserves your support!

I've just updated v15.1 with apktool 2.3.1 as well.

Interestingly, this new version of apktool has an option to let users only decode the Manifest when they decompile a file. Which is much faster than doing the whole thing, but only useful if the Manifest is the only thing you want to modify.

Let me know if you want me to include that as an option within TMA and I'll make it happen.
[Android Themes] rashford19:
for deodex nougat.

---------- Post added at 06:48 PM ---------- Previous post was at 06:35 PM ----------

I beg you sir?!
[Android Themes] Ticklefish:
No need to beg. Here is the link: http://www.mediafire.com/file/1nsj68e50odmdbk

v15.1 can deodex Nougat though.
[Android Themes] rashford19:
Thank you sir
[Android Themes] parth111999:
Seriously This Tool Forced Me to Start Developing Roms:p:D

Using ur tool from a long time

Thanks Mate:highfive:
[Android Themes] smartt699:
First of all thank you for the tool. It works ! :) just 1 things and I dont want to search 700 pages :P

Is it possible to make all notification text the same colors? I've edited the framework-res but it only works for some....
[Android Themes] Thebear j koss:
Some are defined within app, some are from systemui, and some can be in settings on art framework like on Samsung devices. If on nougat or oreo, there are priorities so it will be more than just 1 or 2 edits
[Android Themes] Teracotta:
Am I able to remove sections like "My account" without having to decompile/recompile an app? Are they controlled by XML, and are those XML files available somewhere in the system directory?
[Android Themes] zelendel:
No they are part of the settings apk. You will have to decompile and recompile them to remove it.
[Android Themes] jjr3211:
I am having a little trouble I'm trying to edit framework res apk on my note 8. When I download the Samsung framework res apk and decompile it everything works fine but it gives me an error when I try to unzip it so I can edit it. Not sure what to do any help would be greatly appreciated.

---------- Post added at 03:00 PM ---------- Previous post was at 02:36 PM ----------

OK so I take it back I reboot my computer and now it won't pull any files not sure what to do now
[Android Themes] jjr3211:
Having some trouble getting this to work I'm trying to modify the framework res APK following instructions on a different post for my specific phone and the color values that I need to change everything seems to work I can get it to decompile I can edit the file recompile it sign it with the original signature make a flashable zip try to install it through my recovery and then it always fails I've done this 6 or 7 times today don't really know what to do from here if anyone could give any help it would be greatly appreciated!