Combin CM10.1 themes? - Android Q&A, Help & Troubleshooting

Is it possible two combine to cm10.1 themes? I want to take the battery icons from one theme an ported to another... I've tried opening the apks with 7zip , copying the png from one theme to another, then sign the apk, installed, worked fine but the icons doesn't show, only the default ones. Can this be done? Thanks!
P.S. In the title I meant COMBINE.. Thanks

I've tried something else, I've decompiled the SystemUI.apk but I can't find the 0-100 battery icons, only the 0-15-28-43 etc. etc. ones. What I'm doing wrong? I really want to change the battery icon. Thank you!

Solved it :
The two themes must contain modified battery icons as standard icons. Just overwrite one from another and signed with zipsign. Thanks!
I think it should work with the themes that do not contain modified battery icons, messing around with some xml files , but actually I don't have the time. If I succeed I will post it there.

Related

[Q] Theming HTC Sense/Rosie?

Hi. I'm pretty legit with GIMP and would like to create a MetaMorph that will work on Sense ROMS. Ideally, I'd like to keep Rosie the same (so I'd don't need to re-map) and then theme the rest of Sense out (like Aloysius). I'd also like to modify Sense widgets and Android widgets in general to go with my overall theme.
I've never themed anything before, but my understand is that you just need to DL an appropriate .apk to your desktop, change the filename to .zip, and swap out the relevant .png's in most cases. Then, you'll want to make sure the .png's are optimized then re-sign and zipalign the .apk file.
I want to start with something similar to UltraLinx's Minimal Matte Grey theme for the Desire (http://forum.xda-developers.com/showthread.php?t=745854). I want to make a Sense Rosie that goes with this and then theme the rest of Sense like Konikub did with Aloysius.
Who's got some experience and wants to help me? Any and all help/advice is appreciated!
If you're making MM themes, then you don't have to resign the apks. In fact, you only have to include the pngs that you're replacing, in their respective folders. I suggest that you dl any newer mm theme and unzip it. Then look at the xml file and how the folders are setup, the just reverse engineer it. Let me know if you need any help.
Sent from my Eris using XDA App

[Q] black notification bar

First - Let me start by saying I did a search of black notification bar and didn't really find anything specific to the vibrant. Actually I did find when using the search but still confused. Initially I was just uing the auto fill pop up for information.
Second - Instead of posting in Q&A, I figured it would be better posted here since it's a theme/app. Moderator please move if appropriate. Thanks.
Third - This is strictly for Stock JL5 deodexed.
With that out of the way...
The black/sort of transparent bar is driving me crazy. I'd like for the notification bar to be just straight black. Initially, I was running NeroV3.0 and liked how the notification bar was completely black. But, I just wasn't digging the gingerbread theme. So, I borrowed some of Sombonix's pngs and just copied them to my framework. That was a completely disaster. Man, am I glad I made backups.
Can any of you themer gurus help me out?
what's the name of the png file that is the notification bar? I am on my way home as we speak so I can help as much as I can from there.
I thought this is all I would have to replace but was I sorely mistaken.
statusbar_background.9.png
I am by no means a themer, but I have modified my notification bar, basically all I did was find the notification bar I wanted and used adb push to copy over the framework-res.apk from the desired source to system\framework whilst in cwm.
What all PNGs should I be modifying? There's so many in there that has to do with status bar that I'm getting lost. Also, although I'm running launcherpro, do I need to modify both the framework and twframework?
Yes there's three folder u should be looking at. One is ib the framework-res.apk. the other two are In the twframework.apk. there's 2 seperate folders u need to look into.. I believe one is hdpi, the other might be hdpi-4.. u must change all status bar png. Although I could be wrong because different roms place their png in diffrent folders.. and have a different set up...
Thanks for the tip. Looks like I'll be doing a lot of stare and compare tonight.
Yeay! I did it. Thanks for everyones help with your suggestions. Here is what I ended up doing.
1. Copied my framework and twframework from my phone on to my PC.
2. As a test, took this status bar from here: http://www.devsforandroid.com/forum/index.php?threads/axura-skins-and-themes.39/ (Thanks junkdruggler and Master).
3. Did a search of *status*.
4. Copied *status* to the appropriate places on my framework and twframework.
5. Created a zip.
6. Flashed zip via CWM.
I think one problem is I tried just copying the framework and twframework over and the OS doesn't like me doing that while it's running.

gray background dialer

Hello all, I would like to ask a question on dialer streakdroid 1.9. are
managed to make my Contacts.apk transparent by simply adding
theme.wallpaper styles.xml in the background of my dialer but continues to be increasingly
gray. how can I do to make it transparent?. thanks
custom dialer background
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
chrisrotolo said:
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
Click to expand...
Click to collapse
"Customized" is not a word I'd choose to use when describing the horrible dialer. Hope someday we can improve it. I really think the dialer is the worst part of the UI.
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
chrisrotolo said:
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
Click to expand...
Click to collapse
+1
I think the EOL is only USA. But I don't think the dell dev team cares too much about us
Brainstorming: Reference for anyone else trying to find this..
the dialer background is not a .png, most images are .9's I pretty sure the background is not a .9.png. There is only one .png close to the color and Ive already tried changing that one.
It could be a color in color.xml, they could have coded it as android:color, but if they did that it would likely be a solid color such as black or transparent, and would have to rely on framework-res. More than likely they would have made their own color in colors.xml, since there is only a dozen or so, at least 2 of which are almost identical greys, I have tried changing these colors to black with no luck.
Ive tried changing almost every .xml refernce I could find to a drawable window/background, etc. to android:color"black" , Theme.Black or 000000,
It could be in .smali, Is where I will dig next, I have tried checking a few of the codes I found in there, they seem to be based on a deep purple?
this is just reference use to help others who may search, wish me luck!!
spelling error found DialtactsActivity.smali line 205 says: const-string v3, "Dailtacts" ,yeah wonder if this why dialtacts theme doesnt theme completly.
some progress!
I fixed the spelling mistake in DialtactsActivity.smali, though i dont /think/ this is what we see. I did change call_background.xml and secondary_call background.xml all parameters to android:color/black, I will keep experimenting, funny how in vertical only the right side of keypad is black,
Once we find the right string , we should then be able to create a custom style instead of just a solid color and use a custom background.png
edit: FOUND IT!, cant post screenie, out right now, should release something later and info. Sit tight everyone.
found it
right where its "should" be, contacts\res\layout-long-finger and res\layout-long-land-finger. the first is portrait, second is landscape. the file for both is twelve_key_dialer.xml. The first line:
LinearLayout androidrientation="vertical" android:id="@id/top" android:background="#ff000000"
just change the android:background="ffRRGGBB" to whatever 6 digit RGB/hex value you desire.
working on this now to call out a custom.png will likely get scaled like cr4p, but will give it a go.
If you dont have any .9.png errors decompiling, then you can recompile and flash it straight away.
If you use my phone&contacts theme, it wont compile because some of my .9.pngs must not be patched. So use stock to change, then after compiling extract the new .apk. If youre using my theme or whatever, then change my contacts.apk to contacts.zip, open my contacts.zip as an archive with 7zip, copy the 2 twelve_key_dialer.xml's, and close. Then in your stock framework where you changed the .xml's go to resources.arsc and right click use 7zip to add to archive... browse and select your contacts.zip with new .xml's. Its important that archive method is .zip and compression must be set to store. make sure update mode is: add and replace files. Then rename back to contacts.apk and place in your update.zip and flash!
I plan on making a guide and probably a stock framework with a custom.png for everyone to use.

[Q][ST15i/ICS]Status Bar: Battery/Transparency

Hi Guys,
Before I begin, I'd like to shoutout to all the great devs here in XDA who regularly updates us with their mods while living their own busy lives.
I'm using a ST15i on stock ICS and managed to customize it by reading around. I've rooted my phone from GB to ICS and flashed custom zips to add or modify certain functions and changed how it looks to give it a different feel and to better suit my taste. I've reached a point where I can't modify it anymore due to lack of knowledge and training. And now I'm here.
Can anyone point me on how to change the transparency of the status bar, change the battery icon of my choice on my ST15i running on stock ICS? Also, can you help me in reverting to the stock icon fron "No available network"? All the info I found didn't help me. Tried the kitched but that didn't work for me either. I'd rather learn how rather than be spoonfed.
This is my first time posting here, so go easy on me.
Thanks!
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Ticklefish said:
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Click to expand...
Click to collapse
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (can't find an uninstaller. I figured all I needed was stock to remove). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal a icon appears on the notification bar, well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
evilbarcode said:
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
Click to expand...
Click to collapse
Wow! Didn't know that. Just tried it just now and it worked. Thanks! Will be posting/updating once I've recreated the situation.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Ticklefish said:
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Click to expand...
Click to collapse
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
messagemode said:
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
Click to expand...
Click to collapse
That icon might be in framework-res.apk but I suspect it's SystemUI.apk. That's where most of those things are. This is a stock icon so flashing a stock system app won't do anything to change it. If you want, you can change the icon yourself by loading the png into a graphics program and messing around with it. If you want it to be grey and yellow, then you can make it grey and yellow.
Battery icons won't change the height of the statusbar. Android automatically scales images to the right size. As long as they're in the right folder. The Mini and Mini Pro both keep their images in drawable-mdpi for ICS. If images are put into drawable-ldpi, drawable-hdpi or even drawable-xhdpi (which would be insane on such a small screen), Android will scale them for a low, high, or extra high resolution screen. Which will mess the statusbar height. Your battery icons can be any height you like, they just have to go in the right place.
By the way...Tickle My Android will automatically put them in the right place. Just saying...
To change battery icons manually, you need to use apktool or a utility that uses apktool to decompile framework-res.apk and SystemUI.apk
Hey....Tickle My Android uses apktool...(subtle, ain't I?)
Then find the battery icons in whichever drawable folder they're in. They might be in more than one but that's not an issue. Replace them with ones you want.
If you're changing how often they change, you'll need to edit the xml files in the layout folder. If you got your icons from a kitchen, they should have come with the right xml files. In fact, if you've got a version of the Purple Android icons, you could use TMA to put those on first and then change them to the icons you want. That'll ensure you get the right xml files.
Then you use apktool to recompile the apps you changed. Make a copy of the original app, use 7zip to copy the res folder from the recompiled app into the copied one (this will ensure it's signed correctly), extract resources.arsc from the recompiled app, add that to the copied one at store levels of compression and..well, that's it.
The copied app is now ready to be put back onto your phone.
Eyes glazing over? Brain leaking out of the ears? I know it sounds complicated but it's quite simple once you've done it a few times. It can get a bit tedious if you're doing it a lot....which is why I wrote Tickle My Android in the first place.

Battery icons in KitKat

Where are they? I checked the framework-res and SystemUI of an AOSP rom, and they're just not there. Does anyone know?
Sent from my GT-I9100
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
yuriy636 said:
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
Click to expand...
Click to collapse
Changing them changes nothing. I've also been looking, haven't found them yet
has anybody found where the battery can be changed?I changed and added my mods in almost every apk, such as contacts,sytemui,framework-res,dialer you name it -I have them in there but still shows the default very frustrating!Same thing with the dial pad it also shows default on the initial dialer but the in-call dialer I was able to theme.
EDIT Nevermind -I have found out the battery among some otherthings are now generated in code in 4.4 ,So sorry to all the modders that like to change things easy.It will now require much more to make changes that were once a matter of changing a few png files or maybe and xml here and there.Lerts hope there are themers out there that find a way around this
I found this post what mean that battery icons is draw by code:
http://forum.xda-developers.com/showthread.php?t=2513466
Right now, the only thing I could find is how to add the % number in the icon.
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
Before.
As the icons are drawn, can't we remove the goto scrpt and use a old drawn icon xml file
try my last mod guys, it can be found in my signature..

Categories

Resources