yashsingh1/xdaforums huggingface dataset:
[Android Themes] Ticklefish:
So...my great plan to have the next version of TMA released by now didn't quite work out the way I'd planned..

It's a long story but basically I have a lot of issues happening in my personal life right now. It's nothing too bad (I still have my health, my job and most of my sanity) but it means that I'm not online as much as I used to be and I'm not working on Android things as much as I would like.

I haven't forgotten about all you lovely people, and I will get back to work on the next version soon, but it's going to take a bit longer than I originally thought.

Aaaaand you're still on my christmas card list! I'm always happy to log in and see a happy user!

Android gets more and more complicated as Google keep tweaking it. I'm sure it'll get to the point where it becomes all but impossible to mod it at all eventually!

Drawable vectors can be replaced with ordinary PNG files. At least it used to be possible a few versions ago, I haven't tried it on 10.

Hi! We spoke about this on PM, thanks for posting here. As you can see, there are a lot of clever people who can help out (my thanks go to those who replied to this message).

The first problem that you have to tackle, before you even think about changing your icons, is getting your APK to recompile. And for that to happen we need to look at your process...and your error message. Especially this bit:

W: C:\TMA\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:2178: error: resource 'drawable/$recents_locked_dark__0' has invalid entry name '$recents_locked_dark__0'. Invalid character '$recents_locked_dark__0'.

The error messages generated by apktool and aapt (which is what apktool uses) can be a bit overwhelming. Sometimes there's a lot of text and it can be very hard to make out just what the hell it all means. But it does mean something. In your case it means that there's an issue inside public.xml - there are resources declared with invalid names. This can often be overcome by not using aapt2 when recompiling.

Can you give that a try and, if your APK still doesn't build, please share your history.txt. That will give us a lot of information about what's happening.

Easily my favourite bear on xda... :cool:

Just as well I haven't finished making the next version! I'll look into the code and see what I can do to put the Next button back in again. I took it out to simplify things and decided I'd wait to see if anybody noticed...
[Android Themes] JimzFreebies:
Take your time bro. We are not in hurry to get newer version. But don't leave as i saw there are many modders who left xda. Few modders in htc forum, who helped me alot to teach about modding are not seen online from couple of years..

I always use your tma to mod or theming. Its best. Thank you so much for your incredible work.
[Android Themes] ezzony:
Noob to this and I'm failing at the first hurdle.

All I want to do to start is decompile and recompile without any changes. It's a priv-app system app, LGTeleService.apk.

It crashes once installed.

How do I sign it with the original key (if that's the problem). What should I do with the oat folder and file? I tried deleting it altogether.

There are so many decompile and recompile options I don't know how to figure this out! Trying them all is laborious. What is the issue most likely to be?

Is there any way to system-wide disable signature verification temporarily to see if this is a signing issue?

======================================================

Edit: I think all this is my issue or at least part of it. https://xdaforums.com/showthread.php?t=2200349

So I have to de-ox anyway because I will be editing smali files.

Also I think I have to put the original signatures back in the apk under META_INF. I'll have to check if that is done correctly. I can't just sign it with a new key right?
[Android Themes] Tulsadiver:
Yes to both. You will need to deodex your apk and use the original meta-inf

What Android are you on? 10, 11?
[Android Themes] ezzony:
Android 9.

I have a spare device to experiment on so I can do what I like with it.

I have the original system images as well and am on windows & Linux Mint...

======================

Edit: I manged to deoxed easily using SuperR_Kitchen free version on Linux. Replaced the app and it's working fine. Now I need to decompile and recompile and see if that works.

Edit2: So, I needed to use advanced recompile settings to make sure the original key was replaced and that all worked out! Recompiled app works. Made a lot of progress today :)
[Android Themes] maped:
For me this is not a problem ;) and...WORKS FINE :)!!!

I've recompile my files whitout problem only by changing values you specified :)

You are my idol :D

Now I try to flash my transparent statusbar NS ;)
[Android Themes] bad buzz:
LOL yea its the red one which does become transparent as the battery dies so I guess everything worked perfectly thank you........is there a way to change the signal bars?
[Android Themes] maped:
I am envious :D ... but you have ics or gingerbread?

With my Nexus S the statusbar remains black and the dropdown menu is iperfast :o
[Android Themes] Ticklefish:
Ah, a successful mod. That's what I like to see!

I've had a few people asking for signal bars and I can certainly add them. But it's having a good selection to offer that's the problem. Such things are not easy to find!

But I'll bear it in mind for the next version. :-)

If you spot something you want me to add, let me know!

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] Ticklefish:
I've no idea why your menu is so quick. Nothing you've changed should have caused that.. :-(

As for that black statusbar, you definitely should have seen a change there at least. Did you unmount the /system partition after you pushed but before rebooting?

It could be your launcher. Not every launcher works with transparent statusbars. I know Go Launcher EX currently doesn't and you have to use something multi-picture live wallpaper to do it.

I'm hoping it's something like that, otherwise there must be something about ICS that's causing the issue. :-(

Sent from my U20i, SK17i, GT-P1010 or something else entirely.
[Android Themes] bad buzz:
I actually did this on a wildfire marvelc on simonssense 3.5 ROM and on my EVO shift running supreme sense it worked on both phones my first try LOL so I'm anxiously awaiting your next release I would like to be able to theme everything in the status bar if possible like signal bars,change the color on the clock maybe WiFi and 3g icons LOL I'm still learning so everything helps thanks again..

Both phones are gingerbread.
[Android Themes] maped:
I tried with 3 rom ics AOSP (Oxygen, Rascream, BB), nothing has changed in the statusbar; Oxygen and BB have stock launcher.

In both cases you must edit the file value.xml (many more than rascream). The push of file recovery failed with all rom (4 decompile, 7 change status bar color, 8 recompile, 9 prepare system, 10 sign app, 11 zipalign, 12 don't work and I make a flashable zip...but no statusbar change).

Now do a final test with a stock rom ics deodexed 4.0.4, then start with the rom ics AOKP.
[Android Themes] Ticklefish:
Don't use Option 10 to sign the app's. That's why there's an Option 9. If you sign a system app, it won't work as you need to keep the same signing that the original app had. Zipaligning shouldn't cause an issue but try without it anyway.

Try..

Pull and decompile framework-res.apk and SystemUI.apk

Install framework-res.apk on the PC

Change the status bar color

Recompile framework-res.apk and SystemUI.apk

Prepare framework-res.apk and SystemUI.apk

Reboot into recovery and mount the /system partition

Push framework-res.apk and SystemUI.apk

Unmount the /system partition

Reboot

If you don't see any change, try changing a battery icon as well. If your battery icon stays the same, that will mean something's not right with the way the files have been pushed to the phone. If it changes but your status bar doesn't, then that means something isn't right the status bar part of the tool.
[Android Themes] Ticklefish:
Changing icons is something this tool can do quite easily, as it's just a case of swapping .png files around. I'll keep this in mind for Version 3.

Changing the color of your clock is something else entirely. This involves edits to xml files. The tool can only do this by replacing the whole file which will undo any changes that may have been made. Plus the xml files will be slightly different for different rom's.

If you're on Gingerbread and you want to change the clock colour, try having a look in status_bar.xml...;)
[Android Themes] maped:
Step 1 error log (attachments)

By-pass the problem extracting framework-res.apk and SystemUI.apk directly from my rascream ics 4.0.4 rom

Step 2 OK

Step 3 OK (black 50%)

Step 4 OK (error but manual change value.xml)

Step 5 OK

Step 6 OK

Step 7 error (the same of step 1)

Step 8 make a flashable zip

Step 9 reboot

Step 10 total black statusbar

:(

I think on ics need to change frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\StatusBar.java well

\SystemUI.apk\res\values\colors

\SystemUI.apk\res\values​​\drawables

and StatusBar.smali + PhoneStatusBar.smali

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

EDIT: now I try change only battery icon with the same framework-res.apk and SystemUI.apk
[Android Themes] maped:
same result with battery...no change battery icons in my statusbar :o
[Android Themes] Ticklefish:
In that error log, it says that ADB can't find system/framework/framework-res.apk on your phone. Is it somewhere else?

I really hope not, that's something you can't do automatically with a batch file. It does seem a bit ridiculous that something's that normally so easy has become so difficult. Normally all you need to do to get a transparent statusbar is make statusbar_background.9.png transparent and no other modding is needed.
[Android Themes] maped:
ics is completely different from gingerbread where it was enough to change the file statusbar_background.9.png to have the statusbar transparent.

The result of my screenshots is obtained only by modifying values ​​in the file .xml and .java, I have not replaced any files .png, but I still have many problems because they are scattered values ​​for the system :(

You should hear Pendo who wrote the guide that I linked for ics ;)
[Android Themes] Ticklefish:
Oh, that's just not fair at all. But it would explain a lot. I guess the transparent statusbar only works for Gingerbread or below. (It might work on Honeycomb but I don't think anybody uses that anymore!)

Thanks, maped. I guess I still need to do a bit more research before this is fully ICS-compatible. :(
[Android Themes] bad buzz:
Cool thanks for all your help
[Android Themes] maped:
around you all the guides I found for my test on ics...maybe you could help to develop your fantastic program ;)! If you need a tester I am here :)

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

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

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

http://xdaforums.com/showthread.php?p=21618560#post21618560

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

http://xdaforums.com/showthread.php?t=1621289
[Android Themes] Ticklefish:
This is all done now. Took a while..the PC at work is incredibly slow!!
[Android Themes] Ticklefish:
I think I know why now. TMA 2.1 puts battery icons in drawable-ldpi, drawable-mdpi and/or drawable-hdpi. It looks like I need to expand that bit to allow for icons in drawable-sw600dp-ldpi, drawable-sw600dp-mdpi, drawable-sw600dp-hdpi and drawable-sw600dp-xhdpi as well.

I might as well allow for drawable-small, drawable-normal, drawable-large and drawable-xlarge as well.

This should ensure that battery icons get swapped on ICS, as well as Honeycomb.

I'll implement it when I get a chance and upload TMA 2.2 soon.
[Android Themes] ayysir:
is there a linux version of this tool in the work anytime soon?
[Android Themes] billbowers:
Just reading up on this. Looks like a top notch tool. Thanks for your hard work on this.
[Android Themes] paslanmaz:
ı have searched system/framework folder and apps ı did not findt more resourece files rom maker gonna publish a cm10 rom ı am not sure even they continuie to develop this rom when they released new rom ı give it another try
[Android Themes] avirale123:
friend know how to make all these changes that are in this post but for roms CM10:rolleyes: (http://xdaforums.com/showthread.php?t=1947463)
[Android Themes] :
What phone/tablet are you using?: Maguro/Galaxy Nexus GSM

What version of Android are you running?: 4.2.1

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc) : XenonHD

What are you trying to decompile/recompile? : See attached screenshot

What resources apps have you installed? : See attached screenshot

Have you tried the Mini Menu and, if you did, what happened? : Not tried as of yet.

What problems are you having? (Give me some detail here, don't just say "It doesn't work.") : Pulling framework-res.apk from 4.2.1 to install it to pc. Using TMA 5.0b1. Successfully pulls it but then gives an error.

Please also copy and paste the log files for the files you're modding (use Option 1 in the theming menu):
[Android Themes] Ticklefish:
Tickle My Android isn't fully compatible with Jelly Bean 4.2 yet but should be soon.
[Android Themes] A_U:
hey mate...

u might have already seen this in the past.

That project is outdated, how about that feature in TMA ? :good:

thank you :angel:
[Android Themes] Ticklefish:
TMA uses a different programming language to this, but I can probably do something. I'll look into it.
[Android Themes] SS-4050:
Hey Ticklefish just wanted to ask a question, Does This Apps Support Windows 8 x64 ?

because whenever i tried to start the apps it always shown "Start.bat don't exist blablabla" :confused::confused:
[Android Themes] allan1313:
Question for Ticklefish or anyone else with some themeing experience. Does anyone know the proper XML files I need to alter to change things like the system font color, clock color, notification color etc.?

PS if it matters I am trying to theme an Asus TF700.
[Android Themes] Ticklefish:
Did you extract it to the root of your C:\ drive?
[Android Themes] Ticklefish:
Yes, check the op. There's a link there to my tutorial about changing the clock colour. That'll help you get started.
[Android Themes] SS-4050:
Wait, So it need to be extracted to Root of C: Drive?

Will try, Thanks for your reply :)
[Android Themes] Ticklefish:
Yes, it's mentioned in the op. You can put it anywhere else but you'll need to edit the shortcut properties yourself.
[Android Themes] SS-4050:
It's Working Now!! Thank You Man, Your apps made editing is easy, Nice Minimalistic UI and easy to Use Apps, Well Done :D

Oh one more thing, Can you make a tutorial how to add Carrier Name on status bar?

Thanks
[Android Themes] SS-4050:
I got a Bootloop when Pushing framework-res.apk

Step i used is Decompile -Install Framework on PC - Modding - Recompile - Sign - Push manually

Xperia Mini With OptiMax 2.0 ROM

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

Nevermind Got it Working now :D

But a question and hopefully i get the answer..

1. Why the 'H' Indicator and Up and Down Arrow is separated too far in the signal bar?

2. How i can make all the icon close to each other?
[Android Themes] Ticklefish:
Best thing to do is check out my clock-centering thread. This is full of tips about things like that.
[Android Themes] Ticklefish:
1. I don't know which icons you choose so I can't say. Replacing the signal icons just replaces the icons themselves.

2. Depends on which icons you mean. You could try reducing the padding in the xml code.

How dedicated am I?!
[Android Themes] allan1313:
Re-compile error

What phone/tablet are you using?: ASUS TF700

What version of Android are you running?: 4.1

What sort of rom are you on? (I need to know about OEM roms as well. That's things like Sense, Touchwiz, etc) Stock based ROM

What are you trying to decompile/recompile? SystemUI.apk

What resources apps have you installed?

Are the files you're using odexed or deodexed? deodexed

What mod are you trying to do? Battery mods that are included in ticklefish

Do your files work if you decompile, recompile and prepare them without changing anything? It was working but now aapt keeps stopping during recompile

Have you tried the Mini Menu and, if you did, what happened? No

What problems are you having? (Give me some detail here, don't just say "It doesn't work.") It was working fine until I tried to add on of the included battery mods.

Please also copy and paste the log files for the files you're modding (use Option 1 in the theming menu)

Here is my error:

I: Smaling...

I: Building resources...

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Allan\AppData\Local\Temp\APKTOOL4654694466709263642.tmp, -I, C:\Users\Allan\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

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

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

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

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

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

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

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Allan\AppData\Local\Temp\APKTOOL4654694466709263642.tmp, -I, C:\Users\Allan\apktool\framework\1.apk, -S, C:\TickleMyAndroid\_working\SystemUI.apk\res, -M, C:\TickleMyAndroid\_working\SystemUI.apk\AndroidManifest.xml]

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

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

... 6 more

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

Recompile Not Successful!
[Android Themes] Ticklefish:
Can you share your files please and let me know what icon you want? I'll try it on my setup.
[Android Themes] allan1313:
Sorry man it was the damn ASUS files that were messed up. I will tell you in case someone asks you in the future. The files that need to be changes are in the SystemUI.apk/res/values/public.xml

The last two values need to be changed from:

<public type="menu" name="notification_popup_menu" id="0x7f100000" />

<public type="menu" name="recent_popup_menu" id="0x7f100001" />

to:

<public type="menu" name="notification_popup_menu" id="0x7f000000" />

<public type="menu" name="recent_popup_menu" id="0x7f000001" />

Then everything works fine.

I forgot this was a new project and didn't change them.
[Android Themes] :
Any update on support for 4.2.1?
[Android Themes] nickelnine:
Hello, I've been reading this thread with great interest, particularly how to shrink the size of the LTE icon. I'm running AICP Pie ROM on OnePlus 6. I attached a picture of the current icon I wish to shrink.

Any help on what file I should be focusing on would be appreciated. I understand modifying a custom ROM might be difficult or not possible but I wish to try anyway.
[Android Themes] Tulsadiver:
OPSystemUI

Two ways

1. Edit icons themselves

res/drawable folder (ic_lte etc, etc)

2. Edit layout

res/layout/status_bar_mobil_signal_group.xml
[Android Themes] nickelnine:
I'm finally getting around to doing this but unfortunately, I could not get this to work for me. I'm assuming because it's a custom ROM I'm dealing with. I decompiled and modified the ic* files but when I recompile, it keeps erroring with a bunch of:

W: C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\styles.xml:2744: error: Error: No resource found that matches the given name: attr '@android:bool/config_enableActivityRecognitionHardwareOverlay'.
W:
W: C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\styles.xml:2756: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Suggestion'.
W:
W: C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\styles.xml:3825: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Material.ImageWell'.
W:
W: C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\values\styles.xml:3854: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Suggestion'.
W:

and

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\hmalik\AppData\Local\Temp\brut_util_Jar_1127206673723864547.tmp, p, --forced-package-id, 127, --min-sdk-version, 28, --target-sdk-version, 28, --version-code, 28, --version-name, 9, --no-version-vectors, -F, C:\Users\hmalik\AppData\Local\Temp\APKTOOL3380421963417867568.tmp, -e, C:\Users\hmalik\AppData\Local\Temp\APKTOOL2999153762854276300.tmp, -0, arsc, -I, _WorkArea1\Frameworks\1.apk, -S, C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, C:\Users\hmalik\Downloads\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

I was hoping to shrink the size because it's really ugly to look at.
[Android Themes] Thebear j koss:
Need more info. Can you recompile before changes? If so then you can make the edits.

Sent from my OnePlus 7T using Thebear Blue XDA Labs
[Android Themes] nickelnine:
When I recompile both framework-res and SystemUI before changing, it says recompile is successful but the 'out' folder is empty.

Before, I was only decompiling and recompiling the SystemUI which produced the above errors.

Obviously, I'm not doing something correct so any guidance is appreciated.
[Android Themes] Thebear j koss:
Did you install framework to tickle my android? After that, take the original system ui off your device, the 1 from your rom. Decompile and immediately recompile. Don't make any changes or touch anything else. What are the results. Up load full log and post link if any errors

Thebear's 1+7T
[Android Themes] nickelnine:
I followed those steps and ended up with these errors attached.

https://drive.google.com/drive/folders/1HwOYdaQp0Ntes6z6jz9EMrmPMAmNfunr?usp=sharing
[Android Themes] Thebear j koss:
Not sure how but you are getting different errors than when you made any edits. What is your device, Android version, and ROM?

Thebear's 1+7T
[Android Themes] nickelnine:
OnePlus 6, Android Pie, AICP ROM.
[Android Themes] Tulsadiver:
Care to provide a link to that rom?
[Android Themes] nickelnine:
Yes, here is a copy:

https://drive.google.com/drive/u/0/mobile/folders/1HwOYdaQp0Ntes6z6jz9EMrmPMAmNfunr?usp=sharing
[Android Themes] Tulsadiver:
Here's what I could find. This rom uses ^attr-private.xml, normal stock roms usually use just attr.xml in the SystemUI. All references to the attr-private xml were written as ?^attr-private (example style="?^attr-private/android:windowTitleStyle"

Apktool did not like the way this was referenced. If you replace all of the ?^attr-private/ with just ?, it works, or at least recompiles.

?android:windowTitleStyle works for instance. There is nothing wrong with the syntax of ?^attr-private as it works in the framework-res.apk but would not work in this SystemUI.
[Android Themes] nickelnine:
Ok thank you, I will give it a shot.
[Android Themes] Tulsadiver:
Also, delete the first line in ^attr-private.xml. handle or something like that. You'll see it is out of place as everything else is in alphabetical order.

Here's what I came up with.
[Android Themes] nickelnine:
I modified the height and width in 3 files from /res/drawable: ic_lte_mobiledata, ic_lte_plus_mobiledata and ic_volume_ringer_vibrate.

The changes didn't take - the height and width are still the original size after flashing the recompiled SystemUI.apk. I flashed it to /system/priv-app/SystemUI/.

Do you mind having a look? I attached the modified SystemUI.apk from the /out folder

Thanks for your help so far.