Related
DISCLAIMER: I am not responsible for anything adverse that might happen to your phone as a result of using my files. This is a very low risk operation, but you still perform this at your own risk.
CREDITS:
zach.xtr for his awesome xtrROM
.mak for the Espresso lock screen PNGs pulled from zenEXP
Android SDK (source of vanilla PNG files)
*All PNGs were optimized after pulling them from source*
This guide will give an even more vanilla look to xtrROM for those who like the orange highlights and white notification bar. Additionally, I have included the Espresso lockscreen (refer to screenshot) in a modified com.htc.resources.apk file. The lockscreen will still remain transparent, I just chose to use a wallpaper, so the screenshot doesn't show the transparent one. Most everything will have the highlights changed to the stock orange color, save a few things in the HTC-specific apps.
Before you do anything, make a NAND backup and/or make a backup of the files being pushed in this tutorial before pushing the ones I have provided. I have not tested this on another phone, as I only have the one that I performed this mod on, but I can't think of a reason it shouldn't work on another phone.
This was performed with xtrROM v 4.5.2. This may not work on previous versions.
Perform the following steps using ADB:
1. Push framework-res.apk, services.jar, and com.htc.resources.apk as follows:
Code:
adb push framework-res.apk /system/framework/framework-res.apk
adb push services.jar /system/framework/services.jar
adb push com.htc.resources.apk /system/framework/com.htc.resources.apk
NOTE: You *MUST* push the services.jar file if you want the clock to appear black on the white notification bar. Otherwise, it will remain white against a white background. Not very appealing, imo.
2. Your phone will soft reboot - this is normal. If you want, you can just force a hard reboot with:
Code:
adb reboot
YOUR PHONE MAY TAKE A LONG TIME TO BOOT. THIS IS NORMAL. If it takes an exorbitant amount of time (say 7 - 10 mins.), then it's probably safe to call it a failure. As long as your boot animation hasn't restarted or frozen, don't give up hope.
As pointed out by adrenalinerush12 and jadesdan, you must push com.htc.resources.apk if you want all the notification bar icons to appear white, since the stock HTC file overrides them in framework-res.apk. This means you will also get the Espresso lock screen (which, in my personal opinion, is the best-looking lock screen), but if somebody REALLY likes the boring grey "boomerang" bar, I suppose I can cook one up. Let me know.
com.htc.resources.apk Download:
HTML:
http://www.megaupload.com/?d=IYU0T72P
framework-res.apk Download: Link down - file uploaded to this thread below.
services.jar Download: Link down - file uploaded to this thread below. VERY IMPORTANT: the file is named services.zip at the bottom because XDA doesn't let me upload .jar files , SO make sure to rename it to "services.jar" BEFORE you push the file to your phone.
The reason why I installed 2.1 is so I can have Sense with a black notification bar. Oh well, some people might actually like this. Nice work!
This looks awsome! I love the XTR roms but couldn't stand the black bar.....
The framework and services.jar links are down
EDIT: I should have read the word "temporarily" a little closer.
Freakin SWEET! I love the speed of xtrROM, just didn't like the green highlights and black notification bar. This is perfect for me. Thanks a bunch.
jadesdan said:
This looks awsome! I love the XTR roms but couldn't stand the black bar.....
The framework and services.jar links are down
Click to expand...
Click to collapse
Yeah, you're right, they are down. Damn you, Megaupload!!! I think those two files might be under the XDA 8 MB limit...I'll try and upload them directly.
EDIT: OK, framework-res.apk and services.jar (as services.zip) are uploaded directly to XDA for your downloading pleasure. I don't know what Megaupload's problem is right now. Make sure to rename "services.zip" to "services.jar" - I made a little note of it near the bottom of my OP.
That's odd, because it wasn't down for me. It let me download them just a few minutes ago.
adrenalinerush12 said:
That's odd, because it wasn't down for me. It let me download them just a few minutes ago.
Click to expand...
Click to collapse
Yeah, I don't know why Megaupload does that. I've had it happen a few times before, and it's never consistent. Anyway, let me know how it works out for you. I haven't officially heard whether it has worked for anybody, so I'm excited to hear back!
Okay, when I pushed both framework-res.apk and services.jar, this is what I get:
Don't know what the issue is, but I pushed it twice to make sure. Still does the same thing.
I've tried both with the MegaUpload files and also the ones linked here, but this is what I get. I've even tried wiping Dalvik and all, but this is the best I can do. You can tell that it's taking, but I think there might be some icons missing.
adrenalinerush12 said:
Okay, when I pushed both framework-res.apk and services.jar, this is what I get:
Don't know what the issue is, but I pushed it twice to make sure. Still does the same thing.
Click to expand...
Click to collapse
Hmmm, actually now I remember that some of the PNGs in framework-res.apk are overridden in the com.htc.resources.apk. I didn't think it was so many, though. Try pushing the com.htc.resources.apk, too. If you don't want the espresso lock screen, I can always change it for you later, but I just want to see if that fixes the notification bar icons.
Yup. That fixed it! I actually deleted HtcLockScreen.apk because I like the stock horizontal slide one anyways. Thanks a bunch man.
adrenalinerush12 said:
Yup. That fixed it! I actually deleted HtcLockScreen.apk because I like the stock horizontal slide one anyways. Thanks a bunch man.
Click to expand...
Click to collapse
Hell yes! I was worried that I'd screwed something up. I can be a bit absent-minded sometimes. I'll update the tutorial. Thanks to you and jadesdan for testing!
No problem, but it seems that the notification bar clear button is black.. and so is the text, which makes it difficult to read. Not a huge deal, but. And icons such as a new text message with the stock app are still messed up looking. (With black as the background).
adrenalinerush12 said:
No problem, but it seems that the notification bar clear button is black.. and so is the text, which makes it difficult to read. Not a huge deal, but. And icons such as a new text message with the stock app are still messed up looking. (With black as the background).
Click to expand...
Click to collapse
Download and push the new services.jar (services.zip at the bottom of the thread) to fix the black "clear" button. I actually just fixed that last night - took a lot of fishing around to find out how to do it. I know the stock htc apps still have their original look in the noti bar - I didn't want to take the time to change them. Haha, maybe in the future.
Oh, and when my 3G icon changes to 1X to send a text, it goes back to the black icon. Then changes right back to the right 3G one.
i am trying to apply this to xtrSENSE. i've got the white bar working, but the services.jar part is doing nothing. do i have to extract anything or just simply rename it? i have renamed it, but it says not found or something to that effect. i do understand that this may not work due to the fact that this is slightly different than xtrROM with rosie and whatnot.
malpracti said:
i am trying to apply this to xtrSENSE. i've got the white bar working, but the services.jar part is doing nothing. do i have to extract anything or just simply rename it? i have renamed it, but it says not found or something to that effect. i do understand that this may not work due to the fact that this is slightly different than xtrROM with rosie and whatnot.
Click to expand...
Click to collapse
Cool, so framework-res.apk pushed successfully. You shouldn't extract anything from services.zip, just rename it to services.jar and push it. There are modifications to the smali code in services.jar, rather than just swapping out PNGs, so it's somewhat likely that it won't work. It's very picky - one thing out of place, and it doesn't boot. I've learned that the hard way.
May I ask what you are using for the Sense like clock/weather and the icons? They are pretty cool.
jeffgman said:
May I ask what you are using for the Sense like clock/weather and the icons? They are pretty cool.
Click to expand...
Click to collapse
For sure. The clock/weather widget is called "Fancy Widget". It's no longer on the market because the developers received a cease and desist order from HTC (can't imagine why ). Anyway, just google "fancy widget 1.3.0", and I guarantee you'll find it. I wouldn't have a problem uploading it, but some people might take issue since it's now a black market item. Whatev.
By the icons, do you mean the widgets that I have under the weather/clock widget? Those are all by curvefish and free in the market. Just search "curvefish". And if you're referring to the smiley face messaging icon I have, it's because I found a modified vanilla mms apk on a forum (can't stand HTC's slow as hell excuse for a text messaging program). Since that's open source, I've attached it to the post if you want it. Just be sure to delete HTC's mms, or you'll get some weird behavior.
ericFuels999 said:
For sure. The clock/weather widget is called "Fancy Widget". It's no longer on the market because the developers received a cease and desist order from HTC (can't imagine why ). Anyway, just google "fancy widget 1.3.0", and I guarantee you'll find it. I wouldn't have a problem uploading it, but some people might take issue since it's now a black market item. Whatev.
By the icons, do you mean the widgets that I have under the weather/clock widget? Those are all by curvefish and free in the market. Just search "curvefish". And if you're referring to the smiley face messaging icon I have, it's because I found a modified vanilla mms apk on a forum (can't stand HTC's slow as hell excuse for a text messaging program). Since that's open source, I've attached it to the post if you want it. Just be sure to delete HTC's mms, or you'll get some weird behavior.
Click to expand...
Click to collapse
Great, thank you for the information. I have heard of Fancy Widgets, just never used it. I have purchased Beautiful Widgets and used it a little bit. I have searched for a theme that resembles the Sense one but have not found it yet.
I am currently using xtrSENSE so I have the Sense UI. Once Zach updates xtrROM I am going to install that and go back to launcher pro and beautiful widgets for my homescreen.
I really want to theme my phone, is there any tips to make it easyier
an also theres no meny png files that im not sure what changes what, is there a guide of any sort for that or anything.
I got editing images down but im still gettin lost on changing things
an out of curioisy is there a good themer out there that would be willing to work with me personally so im not gettin mixed results
here ya go..this should get you a start
http://www.google.com/cse?q=how+to+...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
Great resource here
im not sure if im wording this right, but to theme an app u open that apps apk. to theme a widget u open that widgets apk. right?
So what all does framwork control?
still tring to get it togather what png's edit what on my phone
Essentially yes. Most of the app's .png's will be in the respective .apk, although if it's a Sense ROM then a lot is stored in the 'com.htc.resources.apk'
The 'framework-res.apk' holds all the files for like the notification area, the pull down menu, status icons, buttons, tick boxes, radio buttons etc...
The best way to familiarise yourself with it all is just to have a look through the image folders and see what you see.
not much luck, im gettin lost, so ill be back in a cuple days let u knw if i got it yet, if i cant come up with it, ill just make a list of things i want done an see where it goes.
Are you on a Mac or PC?
Keep in mind, you have to sign it to get it to install if you unpack it. After weeks of failed signing attempts (I still cant get them to sign) I found a way around this though...just don't unpack it Use 7zip on PC or I am on a Mac so I use Springy. Replace what you want and you are good to go.
Let me know if you need more help with this method. It isn't the way everyone else does things, but it works for editing things and making it what you want.
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Alright
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
BuddahWolf01 said:
@reanger91878 I was just looking into start some theming and was trying to figure out if using a Mac put me at a disadvantage... but I guess since I found you I'll know who to ask if I run into a problem. So I guess I'm gonna get Springy and see what I can figure out. (I've never done this crap before).
:edit: boo it costs money, any free options? or will the non-licensed version work for me?
Click to expand...
Click to collapse
Using a Mac does not put you at a disadvantage per se...kind of, but there are workarounds
You don't have to use Springy, that is just what I use. The key is to find an Mac application that can open up a .zip file without extracting it, because once you extract, you need to resign (no big deal really, but for whatever reason my computer won't properly sign). I think the free version of Springy lets you open up a ROM of a certain size? Can't remember...but if you are editing a theme, they should open, because most are under 15MB. You can also just search around for other Mac apps that handle zip files and find one that does not extract. Let me know what you come up with and what you need help with...I gained much knowledge here, and will gladly pass on what I have gleaned.
DubsideWICKED said:
heres what i want done
I have NFX Sprint 2.31.651.7 STOCK Odex Update3.
Lock screen bar where its grey i want black
All screens under settings an phone options like device1 pic 1 want there its white to be black an the black letters white with a green boarder.
Device2 pic: want top an bottom where its grey to be black save with bookmark widget an calander app
Device3: white section black an the letter white
Device4: change all screens from white to black an white lettes an the grey buttons at the bottom to green same with clock, messages, music and photos
Device5: i want the ui buttons at the bottom like that but for it to be Phone in the middle app drawer on the left an add to home on the right
Invert all menus uder browser
so if some one would be willing to help with what xml an pic files i edit to do it, or some one helps me put it togather it would be awsome an id be very thankful
Click to expand...
Click to collapse
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
ranger61878 said:
Big tasks Don't know if anyone will actually be able to do it for you, but check the resources above to get an idea where to start. It's the whole "give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime" idea.
Open up your ROM and check the framework-res.apk and see what you find...but you are looking to do more than just framework edits...
Click to expand...
Click to collapse
Out of what all i want edited what is controlled by frame work an then would the rest be Apk files in the system app
my biggest problem is im not understanding what xml files change what an some of the pngs idk what they change
edit: I found post that said this, is that a pretty good way to descride it.?
app folder - This folder contains all of the apps that will be installed during an update or wipe. You will need to extract only the apks of the apps you wish to change the icon and graphics for.
-Launcher.apk - This file is in the app folder and contains the menu launcher tab, clock, google search widget, wallpapers and some other things.
framework - This folder contains framework-res.apk, this is where the bulk of your editing will take place.
When you open a apk you will see:
assets - This will contain images, sounds and other content used by the programs. Not always used!
META-INF - This contain the encryption data of the update.zip.
res - This folder contains all of the png and xml files. The xml files are used to format the UI, these can be used to change the locations of things on the screen. The xmls need to be unencrypted first. Depending on the apk there can be a bunch of folders under the res folder but we will only concentrate on the drawable ones.
-drawable - The png files in this folder are displayed wheather the keyboard is open or closed. The majority of the files are here.
-drawable-land - These are the files that will show when the keyboard is open. There won't be as many files in these folders. Most of the time the programmer will re-organize the layout with an xml file.
so basically everything is a picture that i want changed an xml files control text color an placement of where things are or what?,
im try my best to but thoes darn xml files are messing with me lol
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
poashll said:
To start, don't mess with the XML files. Just make changes to the PNG files. Once you get familiar with changing icons and status bar colors, then you can start messing with XML files. Let's say you want a different alarm icon.
Look in the DeskClock.apk under res/drawable-mdpi. You would find an icon(PNG) you want to substitute with, size it to the same size as ic_launcher_alarmclock.PNG, name it the same name and replace the original in the apk.
Use adb to push the apk back to your phone. I would then reboot and then enjoy your new icon.
Some icons will be in drawable-mdpi and some just in drawable. No need to change hdpi on our phones.
The majority of your status bar icons and base OS icons will be in framework-res.apk.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Well said.
You can also do it on your computer...don't extract, just open, replace, close, put on SD and flash (after you nandroid...just in case )
iv been looking an looking, but cant seem to find a black stock theme
with stock htc green when a button is pressed, any one kno off a stock black theme i might be over looking
still havent figured ths out, an im having problems because im odexed?
DubsideWICKED said:
still havent figured ths out, an im having problems because im odexed?
Click to expand...
Click to collapse
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
ASimmons said:
Yes more than likely your only have trouble theme and odexed rom. Try a rom that is deodexed or I heard the have some deodex sripts that will do it.
Click to expand...
Click to collapse
Alright is there a performance or memory difference between odex an deodex
Does this same process apply with adw? If so, does that mean theming aosp and cm6 are equally as easy?
Sent from my HERO200 using XDA App
I have found many topics on Icons, but none that expalin how to prevent to auto-create icons resized and with background in customized_icons_1
I know that I can extract the original icon from an app and overwrite the image in the dir customized_icons_1, but I would like to avoid doing so for each app.
I whould like to prevent MIUI generating resized app icon instead of original icon.
Can anyone would help me doing so?
Thank you in advance for your kind reply.
Not sure about MIUI's inner workings but, the Dark White theme seems to have no background image. You could just apply its icons.
Thanks deejaylobo
I am looking to be able to modify the rules how MIUI generate 3rd party icons to put in customized_icons_1icon directory, however.
The dark white seems to work but it still decide to use some icons instead of others.
I'll try to explore how it's made...
Thanks in any case
Partially solved
I've partially solved the background problem.
I've overwritten the file icon_background.png inside the archive data/system/theme/icons and pushed back to phone.
Than I've wiped the customized_icons_1 folder.
Reboot.
Now the icons are really wonderfull.
I still didn't find a way to avoid the slight resize of the icon MIUI generate inside customized_icons_1, But with the semitrasparent new background + border seems to look very good.
In any case, if somebody knows how to avoid the risezeing ? would appeciate to know ...
See you.
Try to install android 2.3 icon theme, and icons in MIUI Launcher should look normal.
deejaylobo said:
Not sure about MIUI's inner workings but, the Dark White theme seems to have no background image. You could just apply its icons.
Click to expand...
Click to collapse
That's my theme!
I'd like to have a go at making a theme for my mini running CM9.
I thought I'd get a theme, decompile it, and start modifying it, but every theme I try (even those that are supposed to be LDPI), I get the message: "Sorry, this theme is missing assets for your device's screen size."
As far as I can tell the only theme that has a complete set of assets for the mini is the CM9 system theme. (If anyone could tell me of another, that would also make me deliriously happy.)
I did see a thread that suggested it was inside ThemeManager.apk, but when I tried decompiling that, there were no pngs in it, so I don't think that can be right.
I would really like a complete, mini-compatible theme to use as a template.
Any advice most appreciated.
just tap on "apply anyway" and it will work, it's normal.
Thanks yackovsky, but I'd really like to know what is missing. Perhaps it's just me being obsessive.
I'm now scouring howtos and other references to find out how these things actually work.
do you know achep
he is a rt and his themes also shows the error (cant say why the error is there) so just ignore it
it happens because themer can't put icon for every app, so if you have an app that icon wasn't changed, it will show error (missing assets) simple? oh yeah, it also applies to every other graphic element in theme, not only icons
Thailandian said:
I'd like to have a go at making a theme for my mini running CM9.
I thought I'd get a theme, decompile it, and start modifying it, but every theme I try (even those that are supposed to be LDPI), I get the message: "Sorry, this theme is missing assets for your device's screen size."
As far as I can tell the only theme that has a complete set of assets for the mini is the CM9 system theme. (If anyone could tell me of another, that would also make me deliriously happy.)
I did see a thread that suggested it was inside ThemeManager.apk, but when I tried decompiling that, there were no pngs in it, so I don't think that can be right.
I would really like a complete, mini-compatible theme to use as a template.
Any advice most appreciated.
Click to expand...
Click to collapse
Default CM9 Theme aren't in ThemeManager.apk, CM9 System theme are in SystemUI, and Framework.
Hello everybody,
I'm trying to figure out if I can create a EmotionUI theme which also changes the icons of individual apps.
Is this possible?
I know some system icons are named as for example: com.android.browser.png
Would I simply have to find the name for the app icon and change it to for example: com.whatsapp.png?
I don't know how to find these values if this is the way to go.
But I would very much like my theme to be able to change ALL icons I could possibly make for the apps I have, not just the system icons.
Also is there some sort of emotionui forum this question should be posted? I couldn't find it...
EDIT: I also found out I am unable to change theme. I can change the appearance of the current theme I'm using by taking stuff from other theme's, but when I apply a other theme the theme will stay on the current one and doesn't switch. This includes the lockscreen theme and some other things I wish to still change like fonts and such.
(This might have something to do with me soft bricking my phone found in this thread: http://forum.xda-developers.com/ascend-p7/help/ive-soft-bricked-phone-p7-l10-t3258350)
EDIT2: Okay it seems like this method is working. I just use an apk extractor to check which value an app has. For whatsapp this was indeed com.whatsapp.png which worked. However for com.android.vending.png which is google playstore, that one doesn't seem to work. I would like to find out why...
This way I can have all my icons in a custom theme
EDIT3: after my factory reset in my other post I couldn't change the themes anymore.