yashsingh1/xdaforums huggingface dataset:
[Android Themes] zelendel:
Odd as they normally have one. Ok Here is what you are looking for. They are both XMLS using color codes.

framework-res.apk\res\drawable\background_holo_dark.xml

<?xml version="1.0" encoding="utf-8"?>

<shape

xmlns:android="http://schemas.android.com/apk/res/android">

<gradient android:startColor="#ff000000" android:endColor="#ff272d33" android:angle="270.0" />

</shape>

framework-res.apk\res\drawable\background_holo_light.xml

<?xml version="1.0" encoding="utf-8"?>

<shape

xmlns:android="http://schemas.android.com/apk/res/android">

<gradient android:startColor="#ffe8e8e8" android:endColor="#ffffffff" android:angle="270.0" />

</shape>
[Android Themes] seamo123:
Thanks! I can't say I'm sure about what the color codes correspond with here.. if they're all to do with background I'd be giving everything a '000000' hex value for a black background, am I right? And if that is the case, where would I find the value(s) that control the font colour?
[Android Themes] zelendel:
Those color codes will control the background for any app that calls for it. By making it all 0 the will make it transparent. But that can cause it's own issues and requires more edits to work properly.

As for the text color. Look in the color folder as well as the values folder in res.

There is a thread on theming in the forums. I would read them over.
[Android Themes] xenreon:
Sir you have so much knowledge of theming/modding, why you don't share your work (if your still make themes) :D
[Android Themes] Thebear j koss:
he's trying to help someone learn so they can do for themselves. only way to learn is to try things for yourself. it's a lot more satisfying finding and doing things yourself. the settings apk you would still need to trigger the parent theme to be dark, if it is light. if it is already dark just change the window background or background from #ff______ to #ff000000. the 1st 2 digits after the # controls transparency. ff meaning solid to 00 being completely transparent.

Hail ?
[Android Themes] xenreon:
I wasn't talking of that, it's just that he has so much knowledge so I was wondering why he don't share the great things he made that's all :)
[Android Themes] Thebear j koss:
he's been around awhile. not everyone has the time to create whole themes or anything. look through his profile and you may see he has already shared. problem is not all themes work across the board on all devices and android builds, so sharing your work may not be all that helpful. passing on knowledge and some direction is usually better. I learned from my 1000 mistakes before I got things right.

Hail ?
[Android Themes] seamo123:
No disrespect, but I'm a noob at theming, and my device seems to share little in common with the thousand generic 'Theme Android Lollipop' instructions I've seen. I've run up a hundred blind alleys with this crap and I'm pretty much on my own. All I wanted was a black background and white text and vague instructions are of no help to me whatsoever, I wouldn't know where to start, and banging my head against a brick wall indefinitely doesn't particularly appeal to me.

---------- Post added at 23:56 ---------- Previous post was at 22:56 ----------

I have read through that thread and if it was remotely helpful I wouldn't have asked any questions here. It's full of half-information and instructions that are not pertinent to my device. He also quotes lines of code to add/change without even giving any info on what the relevant xml file is called or even what folder it's in and that is a total waste of my time. As for the the fonts, I have no idea what xml files to pick or what to change/add to the xml files.

I give up!
[Android Themes] Thebear j koss:
no problem, everyone has to start somewhere and you will find people are more than willing to help. I'm only saying you don't want to just hand it off and have someone else do it for you. you will never learn that way. I presume your settings now are white with dark text? in your styles.xml search for Theme. Device. Default. Light or Theme. Material. Light. when you find that, you will need to change that to Theme. Material or Theme. Device. Default. in the lines under it, if there are any backgrounds@color/white or #ffffffff you will need to change that to #ff000000. if any text@color/black or #ff000000 or any color directed by [MENTION=403934]Color[/MENTION] will need to look at what that color is in the colors.xml

and change appropriately. most android devices are controlled by the basic themes Light, Dark, Wallpaper, device default, and device default light. all pulled from the styles.xml of hour framework res apk. hence loading your framework into apktool or TMA so your themes correspond with all the other system apps on your device. find that 1st line and to the left of it should be Theme. Settings or something similar...

Hail ?
[Android Themes] seamo123:
Honestly, I don't know what you mean here at all, sorry about that. Say I open 'styles' in notepad and search for the word 'theme' and the word 'theme' is found. What do I change it to? Extremely confused.
[Android Themes] Thebear j koss:
need to use notepad ++ not just regular notepad. and don't be sorry, at least you are giving it a go for yourself... when you open styles don't just search theme, that will show a huge number. try searching for Theme.Settings or Settings.Theme. if not search for Theme.Device.Default.Light

Hail ?

---------- Post added at 08:56 PM ---------- Previous post was at 08:53 PM ----------

don't get discouraged either, no 1 was born knowing how to read and edit code. everyone started in the same boat you are. I was 36 years old the 1st time i had ever even turned on a computer 4 years ago. it wasn't easy but the more you do it and know what to look for, the easier it gets...

Hail ?
[Android Themes] seamo123:
Steady on, I'm not a total noob! :) I do know how to edit code, what's relevant here is that I'm completely unclear on 1) what to look for and 2) what to change it to. This is not at all clear from your instructions, sorry.

All I want to do is change the background on the 'settings' apk to black and the text to white. That's all. I'm not interested in immersing myself in the ins and outs of theming, I just need to know what needs changing and what changes to make. If I knew exactly where to look and exactly what changes to make, the process would be over in a matter of minutes.
[Android Themes] Ticklefish:
Yeah, I think I moved too fast last time. That'll teach me to do it at work.

I'm glad it worked for you! :)
[Android Themes] Jamieb88:
I have a question I'm running paranoid android jelly bean on Samsung infuse have SDK installed and all the drivers but can't seem to get a adb connected

Even tried android commander and it doesn't see my device

I also have debugging mode enabled so its not that
[Android Themes] Ticklefish:
I'm not near a computer so this is just guessing but try swapping from msc to mtp..or the other way around.
[Android Themes] Jamieb88:
Could you tell me how to do that?
[Android Themes] cowsquad:
Are you using windows or Linux?

---------- Post added at 01:27 PM ---------- Previous post was at 01:26 PM ----------
[Android Themes] Ticklefish:
It'll be somewhere in your settings. I don't know where exactly, it varies from device to device and rom to rom but try having a look near your connectivity settings (WiFi, data connection, etc)

If it still doesn't connect, it's worth checking to see if you have the latest version of Kies as that will the latest drivers for your device.
[Android Themes] Jamieb88:
Yes I'm running windows xp sp3
[Android Themes] Outlaw13:
:mad::mad::mad:

Everything goes fine... But won't work!!:( I'm getting tired of bootloops :rolleyes:)

Will U just try it for me??

I'm likely to do things wrong without noticing it myself...:D

Waiting for your answer...!! :fingers-crossed:
[Android Themes] harhar89:
i had tried the one that you gave me , unfortunately the statusbar is still missing

i think it's wierd that it didnt work because i had tried quite a few modded systemui.apk from xda and it all worked fine
[Android Themes] Ticklefish:
Sure. :)

Bootloops are caused by bad framework-res.apk files. You're on stock Timescape ICS so you'll need to install SemcGenericUxpRes.apk before decompiling framework-res.apk.

Can you share that one as well? Then I'll do some modding for you.

Oh, and remind me what modding you're trying to do. I have a bad memory! :D
[Android Themes] Ticklefish:
That is weird. All I did was replace the battery icon and some xml, which is one of the most basic mods in existence.

Hmm...

I'm going to try some tricks here to figure what's going wrong. Watch this space!
[Android Themes] Ticklefish:
Cool. Then you just need to make sure you're running the latest version of Samsung's Kies.
[Android Themes] Jamieb88:
I have jdk sdk and updated kies also have eclipse and no go on connecting with adb.

OKay android commander can use add with my cell but your program won't do it :/

Sent from my SAMSUNG-SGH-I997
[Android Themes] Ticklefish:
Did you say you were in cwm when you're trying to connect?
[Android Themes] Jamieb88:
I tried both. Just to see if it would do anything and nothing

Sent from my SAMSUNG-SGH-I997
[Android Themes] Ticklefish:
You need to have the system partition mounted in cwm for adb to recognise your phone.
[Android Themes] Jamieb88:
Could i just use android commander to move the files to the folder they go in and still use your program to de/recompile and edit them?

Sent from my SAMSUNG-SGH-I997

---------- Post added at 01:39 PM ---------- Previous post was at 01:06 PM ----------

Its mounted by default

Sent from my SAMSUNG-SGH-I997
[Android Themes] Outlaw13:
Thnx (A lot!!):D

I added all the files u might need to my attachments in this post : http://xdaforums.com/showpost.php?p=30815598&postcount=468

I'm trying to add Stock ICS battery (without percentage) and signal and wifi (those blue ones!!)...

Thnx again...:good::D:fingers-crossed:
[Android Themes] Ticklefish:
If adb commander works for you, then sure. I won't be offended. :)

Still puzzled about your connection issues though. But hey, if you can get the files off and on to your phone somehow, that's all that matters.
[Android Themes] Ticklefish:
So, making it into a proper ICS-themed phone? Good idea! :)

I'll do this as soon as I can.
[Android Themes] Thebear j koss:
and i'm trying to show you how to do it. this is the only way unless you are going to rewrite the code from scratch. you are changing no more than 2 or 3 things in styles xml. the background and text is determined by a theme. dark theme means dark bg, light theme is light bg. find the main theme for settings in styles and it will say something like Theme.Settings=@android:theme.device.default.light or theme.material.light.

all you need to do is change it to theme.device.default or theme.material.

then in that same set see if there is anything pertaining to background and text.
[Android Themes] tdunham:
I understand your frustration.

However, I run into this a lot since I run one of the largest guide threads on XDA (cant answer this particular question either, sorry) but you cant fault da bear for wanting to educate too. There are so many variants of android that one guide is not going to fit all so it tends to then become a general guide at that point. And since XDA is mainly a place for ongoing development we like to teach when we can and take issue at times when someone just wants an A --> B answer to a question that doesn't really have one.
[Android Themes] Dzepar:
[MENTION=4680702]seamo123[/MENTION]

Ticklefish have a thread that explains very useful stuff, and also Team Black Out have good tutorial on how to black out apks. I'm using Monitor from Android sdk to find ID/s of things that i want to change. :)

Good Luck!
[Android Themes] zelendel:
Ok ok lol. To answer the question at first. Like the bear said. I have released a few things over the years, but I have a very detailed and anti-material design style to my tastes. HERE is a link to some of my older stuff and you will see

I also helped work on a theme TUT a while ago with some others. Much has changed since I hung up my theming hat due to Google always changing things, leaving left over crap (proves they have no real end game idea on how they want the OS to look) and then the OEM changes. The great XML hunt I mentioned was when you had to back track color codes that would over write each other 4 times and they were named color 001-100 instead of what the color was. An example would be

Text primary color= Color 002

We would then have to track it down to find out what it was using for a color, then find where it over wrote others and change those to or when there was no color set (Android would default to a black) then you would have to find the right place to insert a color code so it would take.

This took many of us years to get it down and google would just change it or the OEM would mess things up.

Most of the time there is really little diff between devices. After looking at it for a while over and over things will just start to make sense. I know I know that doesnt make since. When I first started I knew nothing of XMLs or anything else. Heck to be flat out honest, I could bearly use a computer. Had only ever used one to play the random game here and there. And after a while and some time spent on google things started to fall together.

So dont get frustrated. (ok it is gonna happen lol trust me) Just dont give up. There are a few Tut on the site and I would keep them bookmarked for a while. Between the bunch you can make your own notes and it might help.

As for releasing anything now. I have moved over to using CM theme engine that is built into the AOSP based rom I run. It is alot easier at that point.

And to be honest with the MD release of google I was so put off that I just never touched it again. I even find myself picking up my device less just so I dont have to look at it.
[Android Themes] parkerj7uc:
[MENTION=4315551]Ticklefish[/MENTION] the new version 13 is outstanding. You make my life as a themer faster.
[Android Themes] lucky_sidhu:
Whats with this error ?

I installed windows again and java is also installed
[Android Themes] KreNtal:
After updating from 12.0.1 to 13 on Win10 mouse control works only on some sub menus. I deleted TickleMyAndroid folder, completely reinstalled it and now it's working.
[Android Themes] elliwigy:
props to you if you can even read this in detail lol.. screen is very blurred to me when zoomed in lol

I can however read not successful but cant make out the error lol
[Android Themes] parkerj7uc:
Can you show the beginning of the error?
[Android Themes] Ticklefish:
Wow. It seems this thread always gets really busy when I'm not around! I should stay away more often! ;)

I've read all the various messages in this topic and I can see where everybody's coming from. The problem is that, quite often, we don't actually know where to look and what changes to make.

The frustrating thing about Android is that every ROM and every device is different. What works on one ROM won't necessarily work on one made by a different company or developer. Especially with the likes of Samsung who like to use different names for things, just to be special.

You wouldn't believe the number of times I've had to rewrite the code for TMA's icon-changing function, just to get it to work on as many ROM's as possible..shudder..

Unless you're talking to somebody who has the same ROM and device as yours, the best we can do is give suggestions on how to work out the solution yourself.

A perfect example is something I'm asked about a lot: how to center the clock on the statusbar.

I came up with a rather elegant solution for doing this in XML but it won't work on every device. So I try to show people what it does so that they can work out how to modify it for them.

I understand it can be annoying but, if we all had exactly the same ROM, life would be very boring. And we'd all have iPhones..

Keep the faith and just remember, we're all here to help each other.

I do, don't I? It's a guide to modifying XML and it's available at tinyurl.com/xml101.

Or just Google "xml 101“ and" Ticklefish". It'll be on the first page.

Thanks, matey! Kind words are always appreciated. A LOT of hours and headaches went into making this..

I can't tell, the resolution of the picture is too small. Please share your history.txt, that'll show me what's going on.

I'm not sure why this happens, there's no logical reason for it to do so. But, as long as you have the mouse still working, then we're okay. :good:
[Android Themes] 1storm976:
hi , i ran into another problum trying to decompile a apk. i installed frame works and still nogo... heres the error

I: Using Apktool 2.1.0-a64a03-SNAPSHOT on DarkIME.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f040000 style/customTheme, config=-sw360dp-xxhdpi

at brut.androlib.res.data.ResType.addResource(ResType.java:66)

at brut.androlib.res.data.ResType.addResource(ResType.java:55)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:252)

at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:212)

at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:154)

at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:116)

at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:78)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:544)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:63)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:55)

at brut.androlib.Androlib.getResTable(Androlib.java:67)

at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:198)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:96)

at brut.apktool.Main.cmdDecode(Main.java:165)

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

thx for the help
[Android Themes] Ticklefish:
This is the actual error:

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f040000 style/customTheme, config=-sw360dp-xxhdpi

It looks like there's more than one resource in your APK with the reference 0x7f040000. A reference is only supposed to refer to one resource so it seems the APK may have been badly constructed. Possibly on purpose to stop people decompiling it, which does happen sometimes..:(
[Android Themes] 1storm976:
Ahh ok so I should look for another file or am I out of luck . It's build for an Allaince Rom 10v. I'm trying to lean this theme in stuff but seems like there's lots of things I need to learn lol..

Thx
[Android Themes] xenreon:
Maybe they(alliance devs) did that to prevent kanging
[Android Themes] 1storm976:
Maybe.. I don't know I'm new at this so I'm just trying to change my theme a little.. oh well.
[Android Themes] zelendel:
Ask the alliance guys. They have a theme thread. Most of them are more then willing to help and if not tell them I pointed you there. I think it's called themeing 101. Don't quote me on that.
[Android Themes] elliwigy:
agreed.. ive got help as well from Alliance members.. they can usually tell you where certain things are instead of going blind
[Android Themes] 1storm976:
Thanks

---------- Post added at 01:47 AM ---------- Previous post was at 01:44 AM ----------

Thanks. Ok I'll ask around I'm just starting to theme so this is all new to me. . Thx again
[Android Themes] zelendel:
No prob. We all started somewhere. Welcome to what you will find is a great hatred for Google Ui team lol
[Android Themes] 1storm976:
Lol
[Android Themes] guinzo:
leaving ma trace here, will give a shoot later :D
[Android Themes] tamirda:
Hi

Anyone got apktool that work perfectly on 6.0?
[Android Themes] thereassaad:
As i said before my friend , only apktool v2.0.0 working mm but only with framework/ for example for me only worked with services.jar/framework-res.apk/framework.jar

About apk

U can decompiled success but u will see the images that ended with .9.qmg not extracted success so those images u need to extracted by winrar & put it in same folders after recompile it ok ..
[Android Themes] tamirda:
Has someone reported on that yet to apktool devloper?
[Android Themes] thereassaad:
Yes we reported there to ibotbeaches

Look here

http://xdaforums.com/showthread.php?p=64913066

http://xdaforums.com/showthread.php?p=64919291

http://xdaforums.com/showthread.php?p=64940031
[Android Themes] 1storm976:
Is there a certain APK tool in Tickle my android to use for Samsung lollipop apks? I'm using snapshot i think and the recompiled APK is almost twice as large??? Any thoughts.. thx
[Android Themes] Ticklefish:
Not so far, no. It's possible your image files aren't being compressed in the new APK.

Apktool is always being worked on so keep your eyes open. The next version should be able to handle Samsung app's better.

Until Samsung make yet another change, of course!
[Android Themes] 1storm976:
i only edited the xml files but i found it weird that the file is way larger then the orignal.
[Android Themes] Ticklefish:
Now you see why I'm not a big fan of Samsung! Lol
[Android Themes] 1storm976:
Right.. yea I didn't know if the APK tools recompiled files differently or not.
[Android Themes] tdunham:
Apktool will interpret code differently even between versions. I try not to switch versions of apktool while in the middle of developing because it causes difficulties when trying to diff changes from files created with different versions of apktool. I cant verify, but I think changing versions of Java also contributes to how some code is interpreted as well when de/recompiling since apktool also relies heavily on the version of java that you have installed.
[Android Themes] 1storm976:
Oh ok didnt really think that much about all of that . Intresting.
[Android Themes] FunSucker:
Hello everyone :D

I have a problem with my power menu (look at the attachment) after recompiled framework-res.apk with original signature.

I only made a change height of status bar (from 25dp to 50dp), thats all.
[Android Themes] Thebear j koss:
that height of statusbar may be used for other things causing your dpi to get muffed up. statusbar height should be changed in system ui. it may point to dimensions of framework but just change the [MENTION=4820212]blah blah blah[/MENTION] to 50dpi.

Hail ?
[Android Themes] 4pda13:
Hello. It can be translated into Russian?
[Android Themes] Ticklefish:
It can be translated into any language! All I need is somebody who speaks that language, and who is willing to do some translating..
[Android Themes] 4pda13:
[/PHP]

I'm from Russia. And I can help with the translation. But I do not know English. I translate with the help of Google. I tried to translate, but the program does not understand Cyrillic. If so, how to create one that she knew Cyrillic. Thank you.

how to change the code page on the Cyrillic alphabet?
[Android Themes] FunSucker:
So, i don't need to make changes in framework-res.apk, sir?

I want to make FlymeOS statusbar (attachment), and well done. But i will try to change status bar height from SystemUI.apk. Thanks for info. Maybe it can resolved my issue :D

I found this line in res/values/dimens.xml

<item type="dimen" name="status_bar_height">[COLOR="Red"]@android:dimen/status_bar_height[/COLOR]</item>

So i will change @android:dimen/status_bar_height to 50.0dip, right ?

Btw, i'm running on Lollipop 5.1.
[Android Themes] Thebear j koss:
yes. the original points to a dimension in framework [MENTION=5711379]ANDROID[/MENTION] is pulling from framework. but since it is a framework dimension other apps may use that as well, so you should change it in system ui dimensions xml exactly as you posted. ?

Hail ?
[Android Themes] FunSucker:
I had a try to changed status bar height from systemui.apk, in dimens and layout. but didnt works sir.

The new statusbar lines (bottom), has hided or blocked or overlaped by something. But not in lockscreen.

What different of <dimen name="bla bla bla" and <item type="dimen" name="bla bla bla"?