yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] djmcnz:
lol. it was that article on my rss feed that prompted me to post the previous icons... :)
[EVO 4G Themes and Apps] koRn666:
This mod should work on htc desire???
[EVO 4G Themes and Apps] JsChiSurf:
Thanks for the write up. Looks great!
[EVO 4G Themes and Apps] puertoblack2003:
thanks for the share
[EVO 4G Themes and Apps] lonlawrence:
("If you are not comfortable with either of these options, post what you want in the thread, and I can whip up a flashable zip for you that will do the same, automatically.")

I'd like to see the bar with wifi, flashlight, gps, bluetooth, brightness, and lockscreen
[EVO 4G Themes and Apps] puertoblack2003:
the framework being used is it from the the latest 3.30?
[EVO 4G Themes and Apps] zergburger:
No. Rtmfp
[EVO 4G Themes and Apps] puertoblack2003:
LMBAH.....

Sent from my NUTS from xda app
[EVO 4G Themes and Apps] puertoblack2003:
thanks here's mines
[EVO 4G Themes and Apps] playya:
Nice mod and great work OP - Great mod to the icons Puerto but which apk's do these particular png's go into... I have made a few mods to this so far only thing left is to change the color to the green to match HTC guy in my dropdown and add icons...
[EVO 4G Themes and Apps] HeyItsLou:
Which png controls the white power control background
[EVO 4G Themes and Apps] aamikam:
its an xml edit man...

look it up in layout-hdpi. (status bar expended)

u can assign a file or change the value... but that fo when u push the icons...

for the image its a 9.png (3x3 - decompiled which means 1x1 compiled) transparent image.... thats why im saying that the background is actually in the xml...

the image name is stat_power_background.9.png its inside the hdpi drawable folder.

i made the same mod skinned for my rom and the widgets are on the bottom... but i didnt put screen shots yet..

btw it also easy to change the sizes, etc. through the xml.

use apktool or apk manager to decompile the xmls and pngs.

edit:

here is a quick screen shot of how i have mine right now... not a final version... but thats how i made fit my rom's theme.

​
[EVO 4G Themes and Apps] puertoblack2003:
the user that created the icons is about two or three post up and those images was overwritten to drawable-hdpi folder.

I can attach what is done but this is for my custom rom.. off course thanks to the original poster and the icons too.
[EVO 4G Themes and Apps] playya:
thx to both of you

my bad I must of missed them I see it now and I was all up in that folder making my other fixes.... thx again
[EVO 4G Themes and Apps] puertoblack2003:
nice job on that
[EVO 4G Themes and Apps] aamikam:
thanks... i think i might take it back up to the top though... it feels better having it on the bottom but i think on the top it looks better.

but than again... i didnt play with it enough... i worked all day on making my own personal original transition animations.... that takes forever to test... i hate how htc setup their stuff, its all confusing.

btw... i mentioned it in my rom's thread...

i know some of u guys have been having some issues with the buttons not sticking...

what i did was to clear up some hex id's from some xml files (public.xml) and than recompile the sources.arsc... never had an instance like the talked about "quirks" ever since... its works smooth 100% of the time... even if i reboot when my wifi is on... it takes it a sec... but the icon turns on by it self.

i hope that help some of u guys who knows a little about how play with apks to solve the issues if u have any.
[EVO 4G Themes and Apps] puertoblack2003:
I'm a noob myself learning as i go.But when you re-compile the apk you got to remove the old resources.arsc so that the new changes shows up. Maybe someone can add some .2 to it.I think that's the issue that some guys are facing not removing the old file.
[EVO 4G Themes and Apps] aamikam:
i see... well.. the only real thing u need to keep from the original apk would be the manifest.xml and the crets folder.

other than that... u can change what ever u want with in framework-res.

please note that this is what im doing all the time.

and i do get different resources sizes sometimes... especially when adding things... i also cleared out the framework-res that is given here... there are some really usless files in its drawables... but i dont blame anyone.. i love the work and its a given that some files from the original cm framework would end up sticking around.
[EVO 4G Themes and Apps] DopeShiziot:
sent you a PM, a quick and dirty breakdown of what you did, maybe even just which files you changed if you dont have the time for a full tutorial, would be AWESOME. even just knowing which files were edited would make porting this to other devices sooo much easier
[EVO 4G Themes and Apps] HeyItsLou:
Redemptive rEVOlution HTC Incredible

Here's what I came up with for my Incredible Rom, thanks	JsChiSurf !!!

I themed the widget background semi-transparent black and change the on/off colouring to white.
[EVO 4G Themes and Apps] DopeShiziot:
maybe you could help instead? i sent you a pm earlier before i knew you were already working on it. which files were modded? which xmls and smalis?

**had to remove the links to quote your post :P
[EVO 4G Themes and Apps] playya:
Now thats nice.... care to share your services.jar file for that transparent background....
[EVO 4G Themes and Apps] limitedtime:
I would like to know this also. If you could just list what smalis were edited and the values you gave them we would all really appreciate it. Thanks!
[EVO 4G Themes and Apps] JsChiSurf:
As stated in the OP, the ability to use transparency has already been built into the services.jar file provided. Looks good Lou.
[EVO 4G Themes and Apps] DopeShiziot:
he said his base was fresh, so we dont even need what values he changed, just the smalis. you can take those files and run diff a diff -u to extract a patch and apply that patch to your roms smali. itd be pretty easy to port if we knew which files were edited
[EVO 4G Themes and Apps] JsChiSurf:
I don't have the time, nor the desire, to figure out and list every single file I've changed across 3 different framework files.

Spending a little time to rip it apart and determine the changes will prove fruitful in porting successfully. All of the heavy lifting has been done, take it an run with it.
[EVO 4G Themes and Apps] DopeShiziot:
ive ripped it all apart, theres literally thousands of possibilities.
[EVO 4G Themes and Apps] JsChiSurf:
Lol, imagine what it was like starting from scratch ;).

Start with the XML and follow the IDs through to the .smali and you'll get what you need. If you have specific issues / questions as you work through it, feel free to PM me.
[EVO 4G Themes and Apps] DopeShiziot:
which xml are you referring to?
[EVO 4G Themes and Apps] playya:
Just to make sure we talking bout the same thing I was referring to the background behind the icons. I would like to change mine from white and I liked how his looked. If he has already done the work and was willing to share I would be greatful if not I guess I will figure it out...

Thanks for your help though and again nice work
[EVO 4G Themes and Apps] JsChiSurf:
If you have to ask me that question, I think you might be DOA. But, to kickstart things, the notifications drop down menu layout is controlled via status_bar_expanded.xml. Now get to it :p.
[EVO 4G Themes and Apps] JsChiSurf:
Sorry, I thought you were referring to the clear portion of the bottom part of the drop down window, since that is controlled in the services.jar file, at least in terms of allowing for transparency.

For the widget bar, you don't edit any .jar files for the background. This is controlled in the XML layout, status_bar_expanded.xml as well.
[EVO 4G Themes and Apps] DopeShiziot:
thats all i was wondering. thankee prettily :)
[EVO 4G Themes and Apps] barnacles10:
Had to stop by and compliment. Nice work man!

If we had a "like" button, I'd click it twice. :D
[EVO 4G Themes and Apps] JsChiSurf:
Thank you kindly sir.

BTW, I must apologize in advance and retroactively to posters in this thread. It has been a little hectic, raising the stress level trying to keep up, answer everyone's questions, provide tweaks, etc.
[EVO 4G Themes and Apps] playya:
ok well if you happen to have a transparent one handy feel free to post it for me anyone. I would assume I have to change some edits on the xml file and right now I do not have anything to modify xml files....
[EVO 4G Themes and Apps] limitedtime:
Ok. I have everything decompiled and the XML in text right in front of me. And, although Im somewhat a noob, I would say that I understand about 90% of whats going on in there. But as they say, the devil is in the details. What I dont understand is where it is calling a solid white image. I do have a grasp of what the other images that are contained are and what they do, but as there is no "Power Control_background" image the part Im missing must be in the stuff Im a little hazy on. Without having to go into a full, lengthy explanation, as you have already put way more work into this than is even called for, could you give me a hint? Please? Just something to go forward on? If not, thank you anyways. your work is amazing.
[EVO 4G Themes and Apps] JsChiSurf:
Do you want it 100% transparent, or just partial?
[EVO 4G Themes and Apps] xlGmanlx:
That's what happens when you drop a bomb on the evo community haha!! Great job
[EVO 4G Themes and Apps] playya:
75 pct or fully transparent is fine with me or whatever percentage he used in his photo... I liked it...

Thanks for your help and looking at that modded file will help me to know what I have to change... trying to view xml file in editor right now... what xml editor do you recommend
[EVO 4G Themes and Apps] JsChiSurf:
It's not an image. If you look at the parent LinearLayout for the power control widgets section, you will see it has a fixed background color set to "android:background="#ffffffff"". Set it to whatever you want.

<LinearLayout android:orientation="horizontal" android:id="@id/exp_view_lin_layout" android:background="#ffffffff" android:paddingTop="8.0px" android:paddingBottom="4.0px" android:layout_width="fill_parent" android:layout_height="50.0dip">
[EVO 4G Themes and Apps] JsChiSurf:
I don't necessarily know what Lou used specifically. Your best bet is to decompile fully with apktool for editing the XML. See the post above for the specific location. Let me know if you still need me to post something up.
[EVO 4G Themes and Apps] playya:
Ok then do it fully transparent and yes I would like for you to post if you can... would like to see if I am doing right....
[EVO 4G Themes and Apps] limitedtime:
Two things. One: Im a retard and couldnt find it because I was looking at staus_bar_expanded.xml in layout and not layout-hdpi. :o Two: Thank you very much for this and everything else. And.. I found it.
[EVO 4G Themes and Apps] HeyItsLou:
As requested here's the update I put together for my Rom including the widget.txt file which specifies the default 6 toggles I've defined. Feel free to download and rip out my services.jar.

http://www.multiupload.com/SSWE6EJJK2

EDIT: Just want to mention I have an EVO now un-activated and this has been tested so I should be able to make this post with no issues :)

You guys have some amazingly talented people over here in EVO land!
[EVO 4G Themes and Apps] JsChiSurf:
Attached. Be sure to remove the .txt extension after downloading.

I'm off to bed, I'm exhausted!
[EVO 4G Themes and Apps] djmcnz:
Actually, can you pm me or post your expanded.xml? I'm interested in placing mine at the bottom as well but when I located them there they didn't float properly with the notification shade (they stayed at the bottom of the screen when the shade was lifted). To be honest I didn't pursue it much after that but since you've done it I wouldn't mind taking a look. As you can see moving the block below the header wasn't too much of a problem for me.
[EVO 4G Themes and Apps] playya:
Thanks guys.....
[EVO 4G Themes and Apps] DopeShiziot:
ok...here goes

so i think i have successfully ported it over to inc framework. thing is, i cant get the framework-res.apk to compile. apktool is spitting out crazy errors about public.xml.

ive successfully compiled services.jar and framework.jar though. any ideas?

and no, in case you wondering i didnt sleep...ive been doing this ALL damn night long lol
[EVO 4G Themes and Apps] djmcnz:
Have you changed any of the png's in framework-res.apk?
[EVO 4G Themes and Apps] DopeShiziot:
yup. added all the needed ones for the mod
[EVO 4G Themes and Apps] djmcnz:
Recompile with the exact source pngs and then insert your new pngs into the apk (using zip) after it's compiled. Let us know.

EDIT: Oh, and make sure you've got the correct framework loaded...

apktool.jar [I]if[/I] xxx.apk
[EVO 4G Themes and Apps] DopeShiziot:
heres the error log if it helps.
[EVO 4G Themes and Apps] djmcnz:
See my previous post.
[EVO 4G Themes and Apps] DopeShiziot:
im giving that a shot now.

EDIT: no change
[EVO 4G Themes and Apps] HeyItsLou:
If you're using apktool 1.3.2 that's most likely your issue it doesn't decompile or compile properly use version 1.3 .1 if you've done everything right this will do the trick.
[EVO 4G Themes and Apps] DopeShiziot:
you got a linkt o that one? i saw that he mentioned using 1.3.1 instead, but theres no link to it on the downloads page

EDIT: found it. ill give that a shot

EDIT 2: nope :(

still giving me the same errors.
[EVO 4G Themes and Apps] djmcnz:
are you using if to install the framework first?
[EVO 4G Themes and Apps] DopeShiziot:
no, that hasnt been working for me, ive been manually installing it.

adb pull /system.framework/com.htc.resources.apk ~/apktool/framework/2.apk

heres what i get with the if command

ken@La-Computadora-de-Ken:~/apktool/framework$ apktool if com.htc.resource.apk
Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
... 4 more
[EVO 4G Themes and Apps] DopeShiziot:
the errors from apktool im getting is that the

Public symbol drawable/XXXXXXX declared here is not defined.
[EVO 4G Themes and Apps] HeyItsLou:
You don't need to install framework to decompile framework-res.apk its not going to use itself as a resource.
[EVO 4G Themes and Apps] HeyItsLou:
That's because you're missing png's look to see which images its telling you are undefined and add them to your drawable-hdpi folder.
[EVO 4G Themes and Apps] DopeShiziot:
thats cuz i tried removing them like the other guy suggested. this is the output with the files there.

i get the same errors when i have the images in /drawable-hdpi

should i try moving them to /drawable ?

kinda grabbing at straws now :/
[EVO 4G Themes and Apps] DopeShiziot:
heres all the files in case someone wants to give it a crack.
[EVO 4G Themes and Apps] HeyItsLou:
The easiest way to do this is just select all the png's in your drawable hdpi folder and drop them in Js's this will replace all the images except the ones he added which you need. Now move all the png's from his drawable hdpi folder back into yours and finish the process.
[EVO 4G Themes and Apps] DopeShiziot:
ya, im going through line by line right now. looks like i did miss a file or two :o
[EVO 4G Themes and Apps] DopeShiziot:
well thats weird. it says im missing basically all of the stat_sys_battery files....and im looking at the right here in my drawable-hdpi folder. ahg....
[EVO 4G Themes and Apps] DopeShiziot:
ok, getting closer. . the files that are "not defined" are the ones in conflict with the other ones i just dumped in

/home/ken/Desktop/testing/framework-res-mine-temp/res/values/public.xml:3389: error: Multiple entry names declared for public entry identifier 0x385 in type drawable (stat_ing_off vs stat_sys_battery_3).
/home/ken/Desktop/testing/framework-res-mine-temp/res/values/public.xml:3345: Originally defined here.
/home/ken/Desktop/testing/framework-res-mine-temp/res/values/public.xml:3389: error: Public symbol drawable/stat_sys_battery_3 declared here is not defined.

lemme see if i can get that part fixed and try again.
[EVO 4G Themes and Apps] DopeShiziot:
ya, so it looks like ALL the new images are re-using ids from other images. all of them conflict with battery images.

is there a way to set them up with different ids?
[EVO 4G Themes and Apps] JsChiSurf:
Responded to your PM, with basically the same points before seeing these posts.

Let's take this offline as I don't want to have this thread go off topic to it's main intent.
[EVO 4G Themes and Apps] terryazthompson:
lcddensity

This does not seem to work with lcddensity. boot loops. Is there any hope here?

Other than that though worked great battery change worked great, widget.txt worked.

Unfortunately, I needs my screen density set so am I hosed on this?
[EVO 4G Themes and Apps] JsChiSurf:
Buttonize Widget Bar

Here's a version I just knocked out this morning using the button icons djmcnz posted (thanks for those), where I've "buttonized" each of the widgets, and gave them a little more height / space, which I think helps delineate them a little nicer.
[EVO 4G Themes and Apps] gomorrah:
Well, I'm shamed to admit this took me a couple of hours of trial and error to get this how I wanted it, but I think I finally got it. Thank you so much for this John! ;)
[EVO 4G Themes and Apps] JsChiSurf:
Looks good. Nicely done. The XML is definitely tricky. I see you adjusted the color in smali as well.

BTW, in looking at your drop down menu, just wanted to make sure you were that there is also a widget to enable/disable the lockscreen ;),
[EVO 4G Themes and Apps] gomorrah:
Lol. :D Yeah, I'm aware. But the toggle won't make my lockscreen look like this:
[EVO 4G Themes and Apps] puertoblack2003:
very nice !!!! You willing to share ? i have a dark skin and that will sit right..:D
[EVO 4G Themes and Apps] JsChiSurf:
Touche. :D
[EVO 4G Themes and Apps] xcom923:
I spent all day trying to get this to work....guess you can't with LCD changer. Can anyone get this to work with that?
[EVO 4G Themes and Apps] rezn:
@JS

I like the buttonized version you whipped up, I did not see it on the OP, are you going to release it?
[EVO 4G Themes and Apps] JsChiSurf:
Thanks. Yes. I went to package it up and realized it has all of my personal customizations in it, so I need to redo it from the stock files in the op. I'll have it up shortly.
[EVO 4G Themes and Apps] aamikam:
im not sure if any of u guys noticed it or not... but it happened to me...

i remember reading not too long ago about the fresh rom having this bug.. so im assuming u all kinda have to suffer with what i noticed... but i could be wrong.

anyways to the point.

i had my browser force closing on me every time i hit the back button while it was still loading a page.

if u guys have the same issue... i managed to fix it for myself by porting the changes to a newer working framework.jar file that solved my problem.

if u don't have that issue... disregard...

if u do have the same issue... im attaching my framework.jar so that u can solve the issue for yourselves.

p.s.

this framework also includes calc usb tether hack and no hepatic from the vanilla lock screen (both were included in the original file form JsChiSurf anyways...)

this is not a flashable!!!

use adb to push.
[EVO 4G Themes and Apps] jaybalagna:
Thanks for this. I just got it installed on my Incredible running the latest version of Skyraider. Took me a few tries to get it to work (no idea why, but that's what backups are for I guess). Anyway, it looks awesome!
[EVO 4G Themes and Apps] JsChiSurf:
FYI, download link for buttonized version has been added to the bottom of the OP.
[EVO 4G Themes and Apps] JsChiSurf:
Thanks for the heads up. I use Dolphin and was not aware of this general issue with the Fresh ROM. I've updated all of the downloads with the updated framework.jar file.
[EVO 4G Themes and Apps] aamikam:
No problem man... I don't know if there are more people with that issue or not... but my rom suffered from it... so I had to fix it.

I got a quick question for u though... I pretty much already figured how to play around with all the size and location of the widget bar.

But, I could never make it slide down with the tracker all the way down.

I know that the file that controls the close/open expanded notifications inside the layout folder and is pretty easy to find, but I don't think its in the XML file.

I tried to get smart about it and started looking for the expanded status bar background image in the xmls. But that lead me to see that its no where in the xmls...

So... from that tiny adventure I got a feeling that I can only make it stick if I change something in the smali files.

If u have any clue how to do it in any kind of way... please help.

Thanks.
[EVO 4G Themes and Apps] troyboytn:
This is amazing work JsChiSurf. Just one request....can a new super circle battery mod/transparent notification dropdown be made to work with the buttonized version. When flashing the super circle zip it reverts the power control widgets to their original form.
[EVO 4G Themes and Apps] Max_Pain:
hey John,

decided to go ahead and give it a try. I was able to combine it the buttonized version + the rectangle battery mod + mattedblues and everything looks and works great.

only issue is I missed the background file. i still have the white background for the controls. what's the file for it? i want to put the grey background that your screenshot has for the buttonized version but i can't seem to find which one it is? and while i'm at it, which are the files for the selection indication? i want to change it from the current grey to match the matted blues.

thanks man:D
[EVO 4G Themes and Apps] JsChiSurf:
For those who were using the hex edit method for the sprint banner on the vanilla lockscreen and notification window that this mod undid, I posted a modified status_bar_expanded.xml file (status_bar_expanded.xml.pc.txt) that will support BOTH the Power Control widgets as well as hex edit method for modifying the Sprint banner. You can download here at the end of the post.

The original vanilla lockscreen XML in the OP is still valid / compatible and can be dropped into framwork-res.apk file downloaded in this thread.
[EVO 4G Themes and Apps] JsChiSurf:
I'll try to get to it later today.
[EVO 4G Themes and Apps] JsChiSurf:
The background file is named "stat_power_background.png".

I switched this from a .9 png to an actual size image, and as such, to support its use, if you dropped files from my buttonized version posted, in addition to grabbing that file and the status_bar_expanded.xml file, you need to drop in the newly compiled resources.arsc file as well.

Search this thread, I posted instructions for changing the indicator color, which actually requires a .smail edit. Though, if the original blue works for you, just grab the services.jar file from the original post and replace it with the once I included in the buttonized version.
[EVO 4G Themes and Apps] JsChiSurf:
I'm assuming you are referring to trying to drop the widget bar to the bottom of the window? I haven't tried to do this, so I haven't attempted to address any issues with doing so. If I get a chance, I'll try and take a peek as well.
[EVO 4G Themes and Apps] Max_Pain:
i've missed something else now apparently. now the buttons have the grey background, but there's a white outline in the bottom and top of the buttons. they also look smaller than yours. so i'm assuming i missed the file that made the buttons bigger like you said on your post about the buttonized version.

i also tried enabling gps and the phone rebooted, but when it finished loading again, gps was enabled? :confused:

here's an image...
[EVO 4G Themes and Apps] JsChiSurf:
Are you sure you replaced status_bar_expanded.xml as well?