yashsingh1/xdaforums huggingface dataset:
[Android Themes] strahd1970:
I have a Galaxy S5 running the latest Alliance ROM for lollipop. The button is in the framework-res.apk I was able to change the color from white to what it is now. Just trying to make it look good. :)
[Android Themes] Thebear j koss:
So you know where it is called from? Meaning the xml line to edit? What does the line say? Android:background [MENTION=403934]Color[/MENTION]/,,,,? Just make an image that you like preferably a 9 png use a 9 png button image and change that line from [MENTION=403934]Color[/MENTION]/,,, to [MENTION=3944923]drawab[/MENTION]le/name of your image

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] MexPwrEng:
This should be in framework-res in styles:

[CODE]<style name="TextAppearance.Material.Notification" parent="@style/TextAppearance.Material">
<style name="TextAppearance.Material.Notification.Title" parent="@style/TextAppearance.Material.Notification">
<style name="TextAppearance.Material.Notification.Emphasis" parent="@style/TextAppearance.Material.Notification">

[/CODE]

Can anyone help me figure out how to remove the alarm and ampm icon on the status bar?
[Android Themes] Thebear j koss:
Easiest way? Find it in dimensions.xml or the xml that calls for that image and change it's size to 0.0. There's a way to mod the smali to show/hide certain notifications like alarm icon and keyboard switcher but i wouldn't know where to begin on that.

Edit what device are you on?

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] MexPwrEng:
Im on the sprint s4. I dont recall being able to find it in dimen. Ill try again tonight.

Are yiu referring to adding the toggles in customsettings.apk over at the unified s5 thread? That seemed a little to complicated for me. [emoji15]

Just started messing with this to to tell you truth but man i am learning a lot. And it is time consuming [emoji4]
[Android Themes] strahd1970:
Here's what the line says: <color name="tw_notification_action_button_background_color">#D76C6C6C</color>. It's in framework-res/res/values/colors.xml. I'll try the 9png way as well.
[Android Themes] bilgerryan:
No it's in dimens.xml (I didn't see alarm, but AM/PM in the status bar and Lockscreen are both there). I just checked. I never thought of doing it that way, have always done the smali method. About to test this out, thanks for the idea [MENTION=4916750]Thebear j koss[/MENTION]
[Android Themes] Ticklefish:
You know it'll just be more Material Design, right? ;)

I'm not really fussed about Material Design. Some of the animations are nice, and Lollipop feels more like something you can annoy iOS fans with, but I normally mod the hell out of my ROM's anyway so they normally look more like...er...Ticklefish Design..lol

The alarm icon is normally part of the same set of status bar icons as the bluetooth icon, vibrate icon, etc. You can't remove the alarm icon on its own with an XML edit, you'd have to track down the smali.

The easiest way to do that is to find the hex reference for the icon in public.xml, then search for that in your smali files. This should bring up the code you need to edit. I'm still a smali beginner but it should be relatively simple to stop the icon from showing.

As for the clock, you could do a smali edit...but there's a better way. If you're on Android 4.2. or above, you can replace the clock with a TextClock. Have a look at this thread by [MENTION=2948558]Spannaa[/MENTION] here: http://xdaforums.com/showthread.php?t=2713812

TextClock is a very useful bit of code, it lets you create a clock in any format you like!
[Android Themes] Thebear j koss:
Yeah i'm not too hip or like how they do things on lollipop like this. That line has to remain a color if you make it an image or drawable you'll most likely get a f/c. You will need to open your xmls and find where that tw_notification_action_button is called, i'm guessing it is either in styles.xml or somewhere in drawable folder and change where it says [MENTION=3872259]tw_[/MENTION]notification_action_button to [MENTION=4679839]Your[/MENTION] image. I hope that makes sense...

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.

---------- Post added at 12:36 PM ---------- Previous post was at 12:31 PM ----------

It should work to just change the dimensions, i guess not for images like alarm icon as i'm presuming all the notification images are using the same dimensions. I only thought of it because that's how i did away with the smart stay eyeball on TW 4.3

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] bilgerryan:
Didn't work on AM/PM bit it got rid of the battery icon.
[Android Themes] Thebear j koss:
Lol. Did you want that gone? Lmao. Some things might be defined in an xml in layouts folder. Isn't clock in system ui and not framework?

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] bilgerryan:
Yes, that's what I was trying to do. I use the percentage and not the icon.
[Android Themes] strahd1970:
Makes sense to me! I'll work in that a bit later! Thanks for the help!
[Android Themes] Thebear j koss:
Yeah since it's samsung and their code writing is atrocious it is probably redirected like 3 times. It will probably start in drawable folder 1 xml will have that [MENTION=403934]Color[/MENTION]/tw_notification_action_button in it, then you will need to search your xmls for that xml (most likely in styles.xml or in layouts folder) and change either wherever you find that call to the button color or wherever it is being used in layouts or styles.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.

---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------

Even better. Happy accident makes your life that much easier. Lol

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] parkerj7uc:
https://www.dropbox.com/s/7a248866ayfgpju/rec_WorkArea1_twframework-res.apk_7-07-2015@1240.txt?dl=0

[MENTION=4315551]Ticklefish[/MENTION] have you seen this error? I installed the framework and twframework. Decompile and recomplie framework just fine. Decompile twframework and it works. I made NO changes and when recomplie I get this. Thank you for your time in advance.

"Tell me and I forget. Teach me and I remember. Involve me and I learn"
[Android Themes] Thebear j koss:
Samsung is notorious for horrible coding. That xml may not be used as it says there is no id in public.xml for it. Try going into layout folder and deleting that 1 xml that is causing those errors and try building.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] mi6300m:
I wanted to try this out, to help me with changing up Google Dialer a bit, but i installed this as suggested, but it just opens and closes immediately. Even when i try running it in command prompt. Tried it in both Windows 8 and Windows 10. Any suggestions?
[Android Themes] Ticklefish:
So you've got a lot of errors saying that things in your APK aren't recognised. The error that interests me is this:

C:\TickleMyAndroid\_WorkArea1\_working\twframework-res.apk\res\layout\quick_panel_call.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/APKTOOL_DUMMY_0053')

If you see 'APKTOOL_DUMMY' in an APK, that's a sign that the APK didn't decompile correctly. Apktool wasn't able to decode something so put a dummy value in that things place.

Have you tried using 'apktool_2.0.0.jar' instead of that 'dirty' apktool?

This has started coming up a few times but I haven't been able to track down why because I need more information. When you try this in command prompt, do you get an error message? If so, could you tell me what it is please?

That'll help me track down what's causing the issue and solve it. :)
[Android Themes] Haze39:
:)

hello

TMA splendid Ticklefish thank you

I come back to see you after many hours spent on TMA and archikitchen for my rom

I still have much to learn, but I better understood my error on TMA

(great tool)

good, I got to make my orange theme modification fine (sreenshoot 1)

and my status bar I would put my icons + wifi + data signal on the left

how should I do? (screenshoot 2)

thank you for your help :good:
[Android Themes] Ticklefish:
That is very orange! :good:

If you want to share your orange icons, I'd love to include them in the next icon pack. I'm always looking out for new things to put in it.

To move the contents of your status bar around, have a look at my XML thread here: http://xdaforums.com/general/xda-university/xml-101-xml-modding-easy-t2929816
[Android Themes] Thebear j koss:
Some things you can move to the left side by editing the status bar xml in layouts foldet. Some things like signal clusters (data, wifi, batery, etc,) sometimes needs some smali knowledge. If you are not a Java head like myself it is best to ask a dev for your device or look on google for guides on how to do things. Your system ui came out nice. Here's a pic of mine.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] Haze39:
:D

thank you Ticklefish

with pleasure

I made a folder "systemUI" folder in it with "res" and icons folder "drawable" + icons folder "drawable-xxhdpi" + "values" folder with colors.xml and public.xml + folder "Smali"

I would also like to make changes in "Settings" "icons + colors

I see for my icons to the left

thank you :laugh:

edit:

thank you j TheBear koss

for this information, I thought finding a good tutorial to do it myself
[Android Themes] :
Thought I would ask here first, anyone have a tutorial on getting apktool on the actual android device to decompile and recompile apks? That would be pretty helpful!
[Android Themes] Ticklefish:
That's very blue! :D

Thank you for your icons. Icon Pack 4 isn't ready yet, but I'll be including your orange toggles in it. :highfive:

There are one or two app's available which can decompile APK files actually on your phone. I've never used them (oddly enough) so I can't say what they're like but it's certainly worth having a Google.
[Android Themes] Ticklefish:
SLIGHTLY NEW UPDATE AVAILABLE!!

​

I've just uploaded Tickle My Android 10.4.3. to my Mediafire account.

This is one of the smallest updates I've ever done and there's a good chance you might never notice the difference!

This latest version will now tell you accurately if an APK has been installed or not (previously TMA could tell you a file was installed when it wasn't) and there are a few changes to the history log. Those changes won't help you much, but they'll make it easier for me to work out what's going on if something goes wrong.

Head to the OP now to pick it up!

p.s. I'm looking for ideas for version 10.5. If there's anything you want to see this tool do, just let me know!

p.p.s. I'm also looking for translators. Does anybody fancy getting a permanent credit just for translating a few lines? If so, let me know as well!
[Android Themes] :
Can you tell me their names or links? And do they recompile apks as well?
[Android Themes] Ticklefish:
Have a look here: http://lmgtfy.com/?q=apktool+on+android
[Android Themes] :
I have tried googling and stuff, nothing seems to work for me though, its alright, I'll just stick to my computer
[Android Themes] Thebear j koss:
The apktool on your phone may seem convenient, but take it from me it's better to just do it on your pc.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] Ticklefish:
NEW VERSION AVAILABLE NOW!!

​

A few hours ago, I uploaded TMA version 10.4.3. This had a few improvements on 10.4.2, mainly in the log area, so wasn't that exciting.

Then I started using TMA on my Lollipop ROM...and quickly discovered that it wasn't as convenient as it should have been.

So, a few hours of coding later, we now have Tickle My Android v10.4.4. available!

I've removed the option to pull Lollipop SystemUI.apk from your phone. Which seems an odd decision but there's a good reason.

Lollipop APK files are stored in a different place in your phones memory to earlier versions of Android....but sometimes they aren't. To avoid confusion, Tickle My Android will now try to pull your files from their normal, pre-Lollipop folder...

...like "system/priv-app/SystemUI.apk", for example....

...and, if it can't find the file, will automatically try to pull it from a Lollipop-style folder..

..like "system/priv-app/SystemUI/SystemUI.apk", for example...

...then it will finish by telling you where it got the file from.

Lollipop's new file structure can cause a bit of headache but this should, hopefully, make things a bit simpler. Just remember, if you're having troubles, just share your "user_files\LOGS\history.txt" and I'll see what I can do.

Head to the OP to pick up version 10.4.4. now!

Try having a look at this: http://xdaforums.com/showthread.php?t=2359240

Personally, I prefer using a PC. The screen is much better for checking out code. Android's cool and all but sometimes you just have to use a computer..:silly:
[Android Themes] Haze39:
:good:

thankkk version 10.4.4

:good:
[Android Themes] JhoonB51:
[MENTION=4916750]Thebear j koss[/MENTION], I don't know if this is something you would do or not....if so will you share your beautiful systemUI?
[Android Themes] Azharkanorwala:
[MENTION=4315551]Ticklefish[/MENTION]

Wow!! New Version

Now I guess Pulling Apks From Lollipop Folders Wont be a problem anymore..;):)
[Android Themes] Thebear j koss:
Sure why not? Not sure how much would be usable as that is jellybean 4.3, 99% of stuff won't ba of any use to anyone after kit kat. Lol. Just shoot me a pm and i'll send it your way. A different screen, i just finished changing some stuff last night.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] devadip:
Whaoooo I like it so much!!!!

You're a great modder[emoji6] [emoji6] [emoji3] [emoji3]

Inviato dal mio LG-D802 utilizzando Tapatalk
[Android Themes] störte:
I had similar problem. I just forgot to install jdk to make tma running

Sent by Hyperdrive on Echoerom for G925F
[Android Themes] mi6300m:
When I run it from command prompt it briefly launches the program and then instantly closes with no error showing the next command prompt.
[Android Themes] tdunham:
Why are you posting again when someone replied to you 3 hours ago and the reply is the last post right before your new one?

Kind of hard to miss. :rolleyes:
[Android Themes] mi6300m:
The reply was aimed at the dev of this program and it tried responding to it from the app which has been giving me quite a lot of difficulty connecting to forums and what not. As for the post from three hours ago that reply never submitted. Therefore to answer that reply: I have jdk installed from when i installed android studio. Android Studio worked fine. So not really sure what's going on with it. Guess i'll chalk it up to there being a compatibility issue with Windows 10. Thanks störte & Ticklefish for the replies you did provide. All others apologies for inconveniencing you.
[Android Themes] Ticklefish:
If you're using 10.4.4., can you post your "user_files\LOGS\history.txt" please?

If not, please upgrade to 10.4.4. and try again. Post your history.txt if the program still doesn't work.
[Android Themes] Haze39:
hello

I do not know with a win 8 and 10

I never had problems with TMA it works fine

on win 7 64 bit JDK 8u40-windows-x64 installed on C :, then javapath ... Right-click on "Tickle My Android.exe" "administrator of the term"

by cons I disable my antivirus "avast" makes me problems

for the test, you can try to install another program that works with the JDK that "tma" as "deodexed joeldroid" (no theme is deodexed) ... to begin "joeldroid deodex ..." He let you know if your configuration is good or not java

good day

for tichelfish

pour lollipop how best to use apktlool

is "apktool_2.Samsung.Lollipop" But I also "apktool_2.0.3" and the last I come to find you, but not tested "apktool-cli" for lollipop or other

thank
[Android Themes] Ticklefish:
The latest, official version of apktool is "apktool_2.0.0.jar". I always recommend using that at first. :good:
[Android Themes] Haze39:
:)

thank

:good:

you could tell me how to do or tutorial to change the buttons and background etc "Settings"

thank you
[Android Themes] Thebear j koss:
Need to search xda for guides for your device and android build, settings background is almost always pulled from framework res. But it is usually a theme call in styles.xml. For dark theme on lollipop you need to change the theme to theme material. For light bgs, you call on theme material light.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] Haze39:
thank you

okkk styles.xml in systemUI or framework res

I'll get a tutorial :good:
[Android Themes] Thebear j koss:
Styles.xml in settings.apk or secsettings.apk. But all themes are defined and pulled from framework res. Theme.Material is dark and Theme.Material.Light is obviously light. It can be theme.device.default or theme.device.default.light. Always have your framework handy for cross referencing theme definitions and colors.

LEGALIZE IT.

Mattias Duarte ruined android. Material design sucks.
[Android Themes] Ticklefish:
A slight alteration to this. You'll need to navigate to the ticklemyandroid folder and type "tool_files\adb devices".

I'm not sure you need to do this anyway. You'll know your phone is detected if you can pull any files.
[Android Themes] DiegoTriches:
How long takes the boot after changing the battery icons.... almost 10 minutes on start logo and nothing...
[Android Themes] Ticklefish:
Not that long. Are you sure you followed the procedure correctly?
[Android Themes] DiegoTriches:
yes, all steps.
[Android Themes] Ticklefish:
So something's gone wrong somewhere. Can you fill in the form in the op please and I'll see what I can do to help you.
[Android Themes] DiegoTriches:
for changing only icons i need to push back to phone framework_res.apk and systemUI.apk? i push both. Or only systemUI.apk...

---------- Post added at 10:05 AM ---------- Previous post was at 09:49 AM ----------

What phone/tablet are you using?

phone xperia arc s

What version of Android are you running?

stock ICS 4.0.4

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

stock rom

What are you trying to decompile/recompile?

systemUI.apk and framework-res.apk

What resources files have you installed?

framework-res.apk only

What problems are you having? (Give me some detail here, don't just say "It doesn't work.")

i do all steps, do not any error, but after logo of kernel, stuck on logo xperia.

I hope you can help me. Thanks
[Android Themes] Ticklefish:
Looks like the form works then. To be honest, I wasn't sure it would but this has given me an idea about what's going wrong.

And your comment just above it helps as well.

So here's another question for you..can you share what it says when you decompile framework-res.apk? And what it says when you recompile it as well?

Just copy and paste into a reply, don't use a screenshot. They just don't give enough detail. ;)
[Android Themes] DiegoTriches:
i dont find log file, and on screen is to fast to printscreen (decompile).... and on recompile framework-res.apk give this:

W: Could not find resources

I: Building resources...

I: Biulding apk file...

and last line is to fast too to see...
[Android Themes] Ticklefish:
I really should add another line to that form.... I am putting big money on your framework-res.apk being odexed. If you're just doing a battery mod, pull and install framework-res.apk but don't worry about decompiling it. Pull and decompile SystemUI.apk, do the battery mod, recompile SystemUI.apk, make into a zip, reboot and flash.

It's the framework-res.apk that's causing the problem, that's why the phone isn't getting past the kernel logo. If SystemUI.apk was at fault, your phone would boot but you'd get a message saying that SystemUI has FC'd.

If you ever need to mod framework-res.apk, deodex it and install SemcGenericUxpRes.apk before decompiling it.
[Android Themes] DiegoTriches:
I think i will give up, i do what you said only with SystemUi.apk in flashable zip, the android boot but the notificaton bar dont show. I restore the backup again. You are very helpfull, thanks for your attention.
[Android Themes] Ticklefish:
I hate to see people giving up. I know it takes a while to work out what's going on but we'll get there eventually.

If you want, I can do this mod for you on my system to make sure everything's working. Just share your framework-res.apk and SystemUI.apk, and let me know which battery icon you're after.
[Android Themes] cowsquad:
Quiters never win. Winners never quit
[Android Themes] DiegoTriches:
Well... if you want see, maybe you discover what is going wrong. I just will try find another way to do this, i dont really give up. Perhaps for my phone this method dont work well. But, if you do this i appreciate, i trying the option 21 on battery icon (ICSCirclebynbeebe). Sorry the english. Thanks.
[Android Themes] Moose0704:
@Ticklefish with some help I was able to find how to center the phone slider to match the lock slider, however I get errors everytime I try to recompile the Phone.apk using your tool. Even if I decompile and make 0 changes and try to recompile I get errors. Any ideas how I can fix this or make it work?
[Android Themes] Ticklefish:
What file are you decompiling and what files have you installed?

Oh, and more importantly, what errors are you getting?
[Android Themes] Ticklefish:
There's no reason why it shouldn't work with your phone. I'll check it out when I can and find out what's going on.
[Android Themes] Moose0704:
Phone.apk

ERRORS:

es; found: ug
ing: string 'tty_mode_t
ation in c:\TickleMyAnd
; found: ug
ing: string 'verifyFail
ion in c:\TickleMyAndro
found: ug
ing: string 'verifyNewP
ion in c:\TickleMyAndro
found: ug
ing: string 'vm_save_nu
ation in c:\TickleMyAnd
; found: ug
ing: string 'voicemail_
t translation in c:\Tic
.apk\res; found: ug
lib.AndrolibException:
could not exec command:
SEL~1\AppData\Local\Tem
2.tmp, -I, C:\Users\Moo
\1.apk, -S, c:\TickleMy
res, -M, c:\TickleMyAnd
roidManifest.xml]
brut.androlib.res.Andr
ndrolibResources.java:2
brut.androlib.Androlib
b.java:325)
brut.androlib.Androlib
va:270)
brut.androlib.Androlib

brut.androlib.Androlib

brut.apktool.Main.cmdB

brut.apktool.Main.main
brut.common.BrutExcept
: [aapt, p, -F, C:\User
mp\APKTOOL5982185797331
ose Laptop\apktool\fram
yAndroid\_working\Phone
droid\_working\Phone.ap

brut.util.OS.exec(OS.j
brut.androlib.res.Andr
ndrolibResources.java:2
. 6 more
key to continue . . .
[Android Themes] Ticklefish:
That looks like only half of the screen. All the sentences are cut off.

Where's the rest?

I can tell from that that there are some translation issue but that's nothing to be too concerned about and certainly won't stop the apk from working.
[Android Themes] Ticklefish:
I think I see a little tweak I could do to make reporting this so much easier. Guess I will be making a 4.2 after all!

Without seeing the error message in full, I don't know what the issue is. I can try to resolve that part but that's not the main thing right now.

What resource files do you install before you decompile this apk?
[Android Themes] NeoLogY:
here i am again. really sorry to keep bothering you guys, but i really want to run this tool in my laptop.

As i downloaded the latest build and extracted it under c:\, i managed to run the executable file, but now i got stuck in first page with "Error, Java Not Installed On your PC! Please Update To Latest Version. Press Any key To Continue. Im not sure what i did to my JRE or JDK, but i think something messed up as i realized this when updating Android Studio and it said the same thing, so i change my JAVA_HOME to c:\Program files\java\jdk1.8.0_45, then android studio run as before. So im not sure which part i did missed, i've been digging and searching around since the last post. And i really dont like to bother anyone, and of course not to ask more than twice, but i really got stuck on this one. So, really hope if any kind of help, even PM i need to.

Thanks again all