Battery Percentage Mod - Desire Android Development

Can someone please add the battery percentage mod to my attached services.jar??
Its the new froyo 2.2 from udk (DJ DROID 1.0)

Hi...
I have made the battery percentage MOD that is around for DeFroST...
Its somewhat easy to do (a little boring to create 100 images...),
but right now I'm on vacancy out of my town... and away from my PC.
You can:
1) extract the framework-res.apk from your ROM
2) unzip this .apk (it's internally a zip file, try renaming the file)
3) find the battery icons at drawable-hdpi folder
4) do the boring part: create the 100 icons same format (png) and size as original battery icons
5) email me: judison at gmail with the framework-res.apk and the 100 icons in another zip
6) wait until saturday so I can post here an update.zip
Or you can research a little, apktool and so.. and do it your own
--------------------------------------
For Battery Percentage over stock (white bar) battery icon, see this thread:
[MOD] Battery Percentage
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

judison said:
Hi...
I have made the battery percentage MOD that is around for DeFroST...
Its somewhat easy to do (a little boring to create 100 images...),
but right now I'm on vacancy out of my town... and away from my PC.
You can:
1) extract the framework-res.apk from your ROM
2) unzip this .apk (it's internally a zip file, try renaming the file)
3) find the battery icons at drawable-hdpi folder
4) do the boring part: create the 100 icons same format (png) and size as original battery icons
5) email me: judison at gmail with the framework-res.apk and the 100 icons in another zip
6) wait until saturday so I can post here an update.zip
Or you can research a little, apktool and so.. and do it your own
Click to expand...
Click to collapse
I know how to use apktool etc etc but just dont know how to patch in this mod lol
Can I not pull the 100 icons from a percentage mod thats been made already?
How do you do it? is there a commit or something somewhere I could read and learn?

Isn't there a way to do it without using 100 images.
Pretty sure the percentage mod i used in 2.1 somehow just had text super imposed on top of the normal icon. Seems more efficient this way.

Icons its not the problem, i can do this work, but i dont know how to edit services.jar :-(
Sent from my HTC Desire using XDA App

You can do this:
1) apktool to "expand" framework-res.apk
2) put the 100 png's
3) edit an battery.xml or something like that (don't remember file name, its in drawable folder) look my battery mod in defrost for the xml, but reading the origital you will find out...
4) apktool to build framework-rus.apk again
5) build an update.zip...

Sorry I'm typing in my cel....
It's possible to only add an text overlay, but for that you have to modify the framework source code... that makes it more dificult.
you have to load an image anyway, using it as text overlay in runtime you have a pro of reading less bytes from rom, a contra of have to render the text over an image (uses more cpu).

judison said:
Sorry I'm typing in my cel....
It's possible to only add an text overlay, but for that you have to modify the framework source code... that makes it more dificult.
you have to load an image anyway, using it as text overlay in runtime you have a pro of reading less bytes from rom, a contra of have to render the text over an image (uses more cpu).
Click to expand...
Click to collapse
Can you also post the way of editing the framework source?

judison said:
Sorry I'm typing in my cel....
It's possible to only add an text overlay, but for that you have to modify the framework source code... that makes it more dificult.
you have to load an image anyway, using it as text overlay in runtime you have a pro of reading less bytes from rom, a contra of have to render the text over an image (uses more cpu).
Click to expand...
Click to collapse
Can you post here your battary.htm? Now i'm creating icons and they are almost done.

judison said:
You can do this:
1) apktool to "expand" framework-res.apk
2) put the 100 png's
3) edit an battery.xml or something like that (don't remember file name, its in drawable folder) look my battery mod in defrost for the xml, but reading the origital you will find out...
4) apktool to build framework-rus.apk again
5) build an update.zip...
Click to expand...
Click to collapse
I have tried and failed :-(
I dont know what xml I need to edit or how to edit it, cant find any info on it at all.
I have attached my framework-res with the 100 battery icons in it, please fix it for me :-D

This is a mod with Percentage working.
This is been tested and seen working over DJ DROID v1.0-R1 BETA, but should work with any froyo rom.
Credits go to judison, from who i took the edited battery xml, to liamstears, from who i took the 100 png, and who made the mod with wifi-H the hsdpa and the wanderfull folors i love so much.
I have only added the percentage in the middle.
Warning this is a black bar mod. if someone is able to take a picture for me i'll attack.
hope you like
Flash the zip from recovery.
This immage plus percent in the middle!
image: http://img514.imageshack.us/img514/4205/screenshot000001.png
Alcor75

alcor75 said:
This is a mod with Percentage working.
This is been tested and seen working over DJ DROID v1.0-R1 BETA, but should work with any froyo rom.
Credits go to judison, from who i took the edited battery xml, to liamstears, from who i took the 100 png, and who made the mod with wifi-H the hsdpa and the wanderfull folors i love so much.
I have only added the percentage in the middle.
Warning this is a black bar mod. if someone is able to take a picture for me i'll attack.
hope you like
Flash the zip from recovery.
This immage plus percent in the middle!
image: http://img514.imageshack.us/img514/4205/screenshot000001.png
Alcor75
Click to expand...
Click to collapse
Just tried it and it didnt work :-(
Im 99% sure its because my system is deodexed, is there a way around this? How can this be implemented into the services.jar instead of the 100 png's?
Ive been looking at some commits and I think its in:
StatusBarService.java
StatusBarPolicy.java
StatusBarIcon.java
IconData.java
But im not 100% sure, can someone point me in the right direction?

Firstly... nice work guys... just tried it and it works a treat
Sadly I reverted back because the colours are too bright... especially the bluetooth icon... tone it all down a tad or de-colour some of it and it would be perfect!

stewcp said:
Firstly... nice work guys... just tried it and it works a treat
Sadly I reverted back because the colours are too bright... especially the bluetooth icon... tone it all down a tad or de-colour some of it and it would be perfect!
Click to expand...
Click to collapse
Still not working for me :'(
Maybe coz i modded my rom, gonna try from a standard dj droid install.....
EDIT: Ok just tried from standard install and it works perfectly!! Thanks!!
Now I just gotta check over everything ive done and find why it wasnt working lol
EDIT 2: Also works fine with deodexed system apps :-D

alcor75 said:
This is a mod with Percentage working.
This is been tested and seen working over DJ DROID v1.0-R1 BETA, but should work with any froyo rom.
Credits go to judison, from who i took the edited battery xml, to liamstears, from who i took the 100 png, and who made the mod with wifi-H the hsdpa and the wanderfull folors i love so much.
I have only added the percentage in the middle.
Warning this is a black bar mod. if someone is able to take a picture for me i'll attack.
hope you like
Flash the zip from recovery.
This immage plus percent in the middle!
image: http://img514.imageshack.us/img514/4205/screenshot000001.png
Alcor75
Click to expand...
Click to collapse
can you tell exactly which xlm is edited? name and folder if you can plz! thanks for your effort
edit: I found it, it's drawable\stat_sys_battery.xml

I had to deoxed my rom as i had the internal memory being full so i dont think it will work...
bad times

barrons said:
I had to deoxed my rom as i had the internal memory being full so i dont think it will work...
bad times
Click to expand...
Click to collapse
I have already confirmed working with deodexed rom ;-)
Screenshot in action:

how did you do the Wifi N and Market Fix on sense rom??

barrons said:
how did you do the Wifi N and Market Fix on sense rom??
Click to expand...
Click to collapse
Wifi-N is the bcm4329 file included in the above zip for percentage mod (hex edited file to change 2 instances of "nmode" to "-----")
Market fix is build.prop in /system
Changed it to identify a working device to show paid apps :-D

Cheers man, but you lost me on the market fix bit ha

Related

Battery Icons as a Percentage - A Community Collaboration

Hello there
I have been working on creating a theme for the G1 (Ghost Black) for a while now.
In the process of doing this, I became extremely interested/motivated to remove the standard battery icons (100, 80, 60, 40, 15 and 4) and replace them with 100 individual icons, each holding a percentage. This allows us to read our battery levels from the status bar, and while a better way of doing this most likely exists, this will(should?) Work for now.
Here's my issue. I have created the 100 icons, as well as the code needed for the corresponding stat_sys_battery.xml needed for this to work. All of which are located in the framework-res.apk (and in the source code, base/core/res/res). Now, I don't have access to a linux/mac machine for the next week or more...
So, is there anyone out there willing to try to recompile framework-res with a modified stat_sys_battery.xml? I believe that the xml is all we will need, so the stability of the apk itself is of little importance
I already have the images made, as well as the code needed for the xml, so its just a matter of copy and paste.
If ANYONE here has the time to help me, id really appreciate it, and it would be a great tool for everyone in the community.
The XML file and Battery Icons are attached.
Thanks in advance
-Scott
I just tried to compile it, and I can't because I don't have the pngs of 0-100. Upload those as well. Linux can't compile it without the correct resources.
toxtrepla said:
Hello there
I have been working on creating a theme for the G1 (Ghost Black) for a while now.
In the process of doing this, I became extremely interested/motivated to remove the standard battery icons (100, 80, 60, 40, 15 and 4) and replace them with 100 individual icons, each holding a percentage. This allows us to read our battery levels from the status bar, and while a better way of doing this most likely exists, this will(should?) Work for now.
Here's my issue. I have created the 100 icons, as well as the code needed for the corresponding stat_sys_battery.xml needed for this to work. All of which are located in the framework-res.apk (and in the source code, base/core/res/res). Now, I don't have access to a linux/mac machine for the next week or more...
So, is there anyone out there willing to try to recompile framework-res with a modified stat_sys_battery.xml? I believe that the xml is all we will need, so the stability of the apk itself is of little importance
I already have the images made, as well as the code needed for the xml, so its just a matter of copy and paste.
If ANYONE here has the time to help me, id really appreciate it, and it would be a great tool for everyone in the community.
The XML file is attached.
Thanks in advance
-Scott
Click to expand...
Click to collapse
I replaced my icons with 100, 80 , 60, 40, 20, and 10 displayed on the battery (Shown below). =] Im going to try to create 100 images from 100 to 0 to see if it works. It might take me a while tho lol
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But here is the recompiled and signed framework-res.apk pulled from JF 1.41 RC30
andonnguyen said:
I replaced my icons with 100, 80 , 60, 40, 20, and 10 displayed on the battery (Shown below). =] Im going to try to create 100 images from 100 to 0 to see if it works. It might take me a while tho lol
But here is the recompiled and signed framework-res.apk pulled from JF 1.41 RC30
Click to expand...
Click to collapse
trust me when I say that this sadly will not work. I have been working on these xmls forever now and it can't be done with the t-mobile versions because we don't have the source to their builds. Anyways, you wouldn't need 100 images. Android is capable of displaying a real time percentage just like it does on the screenlock. with 100 images you are going to probably decrease battery life as Android will constantly be changing the battery icon as the battery drops.
Just my .02, however, it may be possible, I dunno never tried that specific xml. *shrug*
Stericson
wouldn't it be easier to get the charging percentage, on the lock screen, to permenantly show? i know thats not quite what you had in mind but it would be very useful
excuse me for asking but what is that wallpaper! its great.
jawnsixteen said:
excuse me for asking but what is that wallpaper! its great.
Click to expand...
Click to collapse
Haha, some random grass wallpaper I found. I modified my theme so the tray handle would be transparent so any wall paper would have more real estate without a big grey square blocking some of the image at the bottom.
Stericson said:
trust me when I say that this sadly will not work. I have been working on these xmls forever now and it can't be done with the t-mobile versions because we don't have the source to their builds. Anyways, you wouldn't need 100 images. Android is capable of displaying a real time percentage just like it does on the screenlock. with 100 images you are going to probably decrease battery life as Android will constantly be changing the battery icon as the battery drops.
Just my .02, however, it may be possible, I dunno never tried that specific xml. *shrug*
Stericson
Click to expand...
Click to collapse
Can you try it stericson, to tell us if it works? =]
I would love to have this on my g1. Is it also color coded with %?
Phromik said:
I just tried to compile it, and I can't because I don't have the pngs of 0-100. Upload those as well. Linux can't compile it without the correct resources.
Click to expand...
Click to collapse
i will post up a zip of the icons when i get home from school tonight. thanks for trying this with me.
obviously, i am not positive this will work, but I am certainly hopeful it will. also, i am sure there are more efficient ways of doing this, however i do not know what they are, so for now, this is all i am able to try.
There's probably more you'd have to edit to get it working, but who knows, maybe android can recognize it just from the code you put there. We'll see.
@andonnguyen: No offense, but toxtrepla was talking about compiling it from source code, not just sticking it into a framework-res.apk. It has to be one compiled with android's source to encrypt it properly.
Phromik said:
There's probably more you'd have to edit to get it working, but who knows, maybe android can recognize it just from the code you put there. We'll see.
@andonnguyen: No offense, but toxtrepla was talking about compiling it from source code, not just sticking it into a framework-res.apk. It has to be one compiled with android's source to encrypt it properly.
Click to expand...
Click to collapse
Oh haha, I must have read his request wrong =[ Tnx Phromik.
I made something similar a while back for the Hermes, it took 100 images and worked out great and eventually with some tweaks became the default battery meter for all aftermarket ROMs. I would love to figure out how to impliment this into the Dream since it looks really sharp showing all the percentages.
For Phromik or anyone else who wants to try to help, I posted the zip of battery icons in the first post.
Good news: Here is a zip of the files compiled in ubuntu.
http://www.mediafire.com/?5dxummrf2uq
Bad news: I flashed it to my phone, and when it's plugged in, it's fine, but I unplugged it to see the icons, and my G1 crashed. Then got stuck on in infinite reboot on the android screen. You're free to try it yourself if you'd like.
Hmm, android probably got confused because it was looking for another set of icons, which show that the phone is charging. I.E.- the battery with a little lightning bolt or whatever. When you plug the phone in, android starts displaying an animation of the battery charging. These files are called stat_sys_charge_anim1, stat_sys_charge_anim2, etc... They are in the framework APK. Maybe incorporating this animation sequence into the code would give it something to do when plugged in, and prevent the freezing.
It's not for the fact that it was plugged in or not, it's just that when it tried to load the pngs of the not-plugged in icons (the numbers) then it crashes. It's not because I unplugged it or not.
I was trying this earlier on in the month, if you compile 1.5 from source with modified xml's and the extra images it works fine, but once cupcake is out and we can compile from source for our builds then surely it would be better to display 10% incremental battery icons with the percentage overlayed?
I tried the stat battery sys and the xml file all together in framework apk installed n my g1 using update.zip it installed successfully
but the charging icons were displayed but the 1 - 100 icons were not when i remove the charging it shows the battery area as blank...
the xml file needs to be coaded properly as when i tried to edit (rightclick edit) the original xml it was human un-readable & when i tried to edit your xml it was human readable
how to edit the original xml by which xml editor or is there any way to read it using eclipse ??
You have to have android source code. And when you compile the source code in linux/mac, it encodes it into it's human-unreadable code.

[Morph or Flash] Pervert Power [03-29]

Credits
Stericson for metamorph and Mikey1022 (yeah, the moderator) for the idea of this.
Screen Shot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is this?
This is a morph that will make the unlock images transparent.
Why?
Personally, I think the lockscreen looks cleaner without the little tabs on the side or if you follow Mikey's way of thinking that if someone doesn't know how to unlock your phone, then they can't see what is on it (or something to that effect).
No, not that why. Why the name!?!
I have a twisted sense of humor, and the name makes me lol.
Download(s)
Morph
-Recommended Version to use since it will not overwrite any theme/mod previously done to framework-res.apk-
-Apply with MetaMorph-
http://android-theme-minus.googlecode.com/files/Pervert_Power.zip
Update.zip Format
-Should only be used with stock ROMs since it will overwrite everything in framework-res.apk with stock images except for the images in the morph above. Also, it will take more time for me to remember to update the update.zip's. This should only be used if you can't get metamorph working or don't want to use it.
CyanogenMod 5.0.5.3
http://android-theme-minus.googlecode.com/files/Pervert_Power_5.0.5.3.zip
Enomther 1.8.1
http://android-theme-minus.googlecode.com/files/Pervert_Power_1.8.1.zip
MoDaCo 2.1
http://android-theme-minus.googlecode.com/files/Pervert_Power_2.1.zip
Disclaimer
I do not admit to being able to protect the horribly perverted things you keep on your phone. Mainly this is just to give you that false sense of security and feeling that you can leave your phone on a table for five seconds while you look in another direction without intense fear of someone finding out all your horrible secrets. Also, if this wrecks either your phone or your life or some odd possibility of a combination of the two, then I take no responsibility, but please do share with the rest of us because I do enjoy a good laugh.
very nice bro.
I have been using transparent jog dials with the buttons. I also think it looks clean, and really shows off the live wallpapers.
Question: Do you think it's possible to make the jog dials, transparent, but with like wire frame outlines?
eViL D: said:
very nice bro.
I have been using transparent jog dials with the buttons. I also think it looks clean, and really shows off the live wallpapers.
Question: Do you think it's possible to make the jog dials, transparent, but with like wire frame outlines?
Click to expand...
Click to collapse
Should be easy enough since it is just images. I can try and play around with it some tomorrow (or well I guess it would be today, but I don't consider it a new day until I wake up).
Getting an error
The theme you selected is invalid because the theme control file could not be read and may be missing
Click to expand...
Click to collapse
Nevermind... user error... it was caused by me renaming the .zip file... Sorry, first time MetaMorph user here
I like it
cool transparent.... even now someone still doesnt know how to unlock it...
Used to do this with my iPhone and even iPhone users couldn't unlock it lol!
I might make just the unlock transparent and have the Sound On/Off slider visible if that's possable..
Thank you buddy
Nice work again. Thanks
hey pervert does this hack leave the green and red colors so when i try to slide unlock i can see where the buttons would be?
Dont want to install it to find not and have to restore rom and redo everything thanks.
Look at the screenshot, that's how your LOCKSCREEN will look prior to sliding/unlock your phone
lgkahn said:
hey pervert does this hack leave the green and red colors so when i try to slide unlock i can see where the buttons would be?
Dont want to install it to find not and have to restore rom and redo everything thanks.
Click to expand...
Click to collapse
No it doesn't. I love it!
lgkahn said:
hey pervert does this hack leave the green and red colors so when i try to slide unlock i can see where the buttons would be?
Dont want to install it to find not and have to restore rom and redo everything thanks.
Click to expand...
Click to collapse
..........
This is good stuff. I like the little bit of haptic that lets you know you're on base to unlock without having to see anything. Now to make all of the icons transparent too. I know my layout damnit.
I did some more digging and not exactly sure what your hack is doing .. i got ahold of my framework-res.apk and extracted the .pngs
at least to me it appears that to give an non shown lock screen i would only need to make
indicator_code_lock_point_area_default.png
and jog_dial_dimple_dim.png
transparent..
but you did not change either of these icons (what am i missing)
thanks
This seems awesome man. Wish I could use it. . . I always seem to have metamorph issues.
Didn't think it would be this popular lol.
lgkahn said:
I did some more digging and not exactly sure what your hack is doing .. i got ahold of my framework-res.apk and extracted the .pngs
at least to me it appears that to give an non shown lock screen i would only need to make
indicator_code_lock_point_area_default.png
and jog_dial_dimple_dim.png
transparent..
but you did not change either of these icons (what am i missing)
thanks
Click to expand...
Click to collapse
The indicator_code_xxxxxx.png images are for if you have a unlock code set. Otherwise, you will not see them. The jog_dial_xxxxx.png images are for the lockscreen images for when 2.0 first came out and there was an arc to unlock instead of the tab on the side.
If you want to leave the buttons and the little dots that appear when you drag the tabs then open the morph with 7-zip/winrar (or something else where you don't have to un-zip it to access it) and delete the following from it.
Buttons:
ic_jog_dial_sound_off.png
ic_jog_dial_sound_on.png
ic_jog_dial_unlock.png
Dots:
jog_tab_target_yellow.png
jog_tab_target_red.png
jog_tab_target_green.png
jog_tab_target_gray.png
@anyone_who_may_read_this_with_source/xml_knowledge:
What .xml or .java file would I need to modify to get rid of the unlock/sound on/sound off text when sliding it across. I don't think it is an .xml because I looked through those on github and none I saw made a reference to any specific text (and I edited them first to no avail lol)?
david1171 said:
Didn't think it would be this popular lol.
The indicator_code_xxxxxx.png images are for if you have a unlock code set. Otherwise, you will not see them. The jog_dial_xxxxx.png images are for the lockscreen images for when 2.0 first came out and there was an arc to unlock instead of the tab on the side.
If you want to leave the buttons and the little dots that appear when you drag the tabs then open the morph with 7-zip/winrar (or something else where you don't have to un-zip it to access it) and delete the following from it.
Buttons:
ic_jog_dial_sound_off.png
ic_jog_dial_sound_on.png
ic_jog_dial_unlock.png
Dots:
jog_tab_target_yellow.png
jog_tab_target_red.png
jog_tab_target_green.png
jog_tab_target_gray.png
@anyone_who_may_read_this_with_source/xml_knowledge:
What .xml or .java file would I need to modify to get rid of the unlock/sound on/sound off text when sliding it across. I don't think it is an .xml because I looked through those on github and none I saw made a reference to any specific text (and I edited them first to no avail lol)?
Click to expand...
Click to collapse
did you try res/drawable? specifically, jog_tab_bar_right_sound_off.xml & jog_tab_bar_right_sound_on.xml
Mi|enko said:
This seems awesome man. Wish I could use it. . . I always seem to have metamorph issues.
Click to expand...
Click to collapse
I added flashable versions, but if you have a theme or anything applied, then it will overwrite framework-res.apk and do away with a majority of that theme.
eViL D: said:
did you try res/drawable?
Click to expand...
Click to collapse
I glanced at it in hex, but didn't think to look at source since I was about to go to sleep when I posted this. Thanks for reminding me, I'll go look now and see if I can find anything.
ok thanks for the info.
i am trying to do something different..
ie have a transparent lock screen when you have the lock code.. ie no 3 rows of dots on the screen etc.., but leave alll the crap when you actually slide to unlock.
so i change the two files i mentioned
ie
C:\none\hack>unzip -v clear_lock.zip
Archive: clear_lock.zip
Length Method Size Ratio Date Time CRC-32 Name ("^" ==> case
------ ------ ---- ----- ---- ---- ------ ---- conversion)
0 Stored 0 0% 11-21-09 02:06 00000000 ^.nomedia
0 Stored 0 0% 03-28-10 23:35 00000000 ^framework-res/res/
0 Stored 0 0% 03-28-10 23:42 00000000 ^framework-res/res/draw
able-hdpi/
69 Stored 69 0% 03-27-10 23:28 c8f96bb2 clear_lock.thm
432 Stored 432 0% 03-29-10 11:33 66255acb framework-res/res/draw
able-hdpi/indicator_code_lock_point_area_default.png
2934 Stored 2934 0% 03-28-10 23:37 0e638afe framework-res/res/draw
able-hdpi/jog_dial_dimple_dim.png
------ ------ --- -------
and it semi works.. the locked screen has the black areas around the dots gone ie *the code lock paint file" but for some reason the center is still there which should be transparent in the jog dial dimple dim file..
anyone care to look at it and see if you can find the problem.
i am applying the patch to cyanogen 5.0.5.3 with metamorph
thanks in advance
I downloaded and tried installing the Morph and would not install i get an error saying "The theme you selected was invalid because the theme control file could not be read or may be missing" Its been awhile since i've used morph but i just downloaded the file to the root of my sd and ran morph to apply it.

[THEME] Desire Notification Bar for CM-5.0.7-T3-N1

For the community because I couldn't find any around.
24/05 - An updated framework-res.apk ONLY for CM-5.0.7-T3 ONLY! Apply this asper instructions below and change the clock and notification text colour to your preference in the Spare Parts app. CM-5.0.7-T3 ONLY. The 3G icon fix by suffeks is included.
OLDER - An updated framework-res.apk and services.jar based on CM-5.0.7-T2-N1 with the black Desire status bar, Desire icons, semi-transparent pull-down menu (framework-res.apk) and white notification bar text (services.jar).
Edit: I don't intend to maintain this or turn it in to a theme or morph. I just threw it out there. Kang it.
1. Push or copy to /system/framework
2. Reboot
These files are based on test files! Expect them to change or break when you upgrade!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looks great, thanks a lot.
wrong session.
Where are many blackdesire bar in theme secion.
I also have made it for my morph theme.
www1 said:
wrong session.
Where are many blackdesire bar in theme secion.
I also have made it for my morph theme.
Click to expand...
Click to collapse
Fair enough on the section... even though it's compiled rather than a theme... I could have put it elsewhere. The mods are pretty friendly round here though, so no harm no foul.
Didn't mean to step on your territory either... I couldn't find a morph for 5.0.7 that didn't break services.jar. Sorry if I didn't look hard enough. I take no creative credit, nor do I intend to maintain, I just thought it filled a gap. Perhaps I was wrong. If this is the case the mods can delete.
djmcnz said:
Fair enough on the section... even though it's compiled rather than a theme... I could have put it elsewhere. The mods are pretty friendly round here though, so no harm no foul.
Didn't mean to step on your territory either... I couldn't find a morph for 5.0.7 that didn't break services.jar. Sorry if I didn't look hard enough. I take no creative credit, nor do I intend to maintain, I just thought it filled a gap. Perhaps I was wrong. If this is the case the mods can delete.
Click to expand...
Click to collapse
One more theme isn't going to hurt. The more the merrier.
djmcnz said:
Fair enough on the section... even though it's compiled rather than a theme... I could have put it elsewhere. The mods are pretty friendly round here though, so no harm no foul.
Didn't mean to step on your territory either... I couldn't find a morph for 5.0.7 that didn't break services.jar. Sorry if I didn't look hard enough. I take no creative credit, nor do I intend to maintain, I just thought it filled a gap. Perhaps I was wrong. If this is the case the mods can delete.
Click to expand...
Click to collapse
no problem with your edit (i edit my service.jar manual by decompling it)
but just use correct section.
I think aso you can made a metamorph file for easy install.
Excellent, thanks for the update!
It's be awesome if pershoot would combine this + 15 apps + invisible lock screen + custom message.
=D
can this be flashed via recovery?
or do i have to push the 2 files to the appropriate places via ADB?
thanks in advance
EDIT: had to push the 2 files using ADB; works great, using it on nightly from yesterday
Nice, been looking for just the bar.
Ok, stupid question time, I have adb set up on my laptop, but the power cord is fried, need to wait for the replacement to come in. Could I just use root explorer to copy the files over? I'm guessing I'd need to mount r/w first though.
kitsunisan said:
Nice, been looking for just the bar.
Ok, stupid question time, I have adb set up on my laptop, but the power cord is fried, need to wait for the replacement to come in. Could I just use root explorer to copy the files over? I'm guessing I'd need to mount r/w first though.
Click to expand...
Click to collapse
You can use root explorer after mounting /system as rw yes (do this with root explorer). Copy the files as in post #1 and reboot.
Bug
This causes the market to FC every time it tries to install anything.
I've wiped and reflashed cyan 507 t2 and all is ok. as soon as i push servicer.jar and the framework-res.apk it causes market to FC when it tries to install...
Using Root Explorer kept putting me in a boot loop, the phone reboots as soon as I try to replace the framework-res file. I threw adb on my store's pc, got it working just fine that way, thanks for this.
@adam, go to settings -> applications -> Manage applications and go to Market. Uninstall updates, and everything should work fine.
kitsunisan said:
@adam, go to settings -> applications -> Manage applications and go to Market. Uninstall updates, and everything should work fine.
Click to expand...
Click to collapse
Thanks a lot buddy...worked like a charm
I got everything updated and running, but performance took a nosedive. Are the PNGs in this optimized?
laslow said:
I got everything updated and running, but performance took a nosedive. Are the PNGs in this optimized?
Click to expand...
Click to collapse
Yes, colours, depth, size and transparency. In fact they're better optimised than the stock images. This was just a stop-gap until somebody releases a 5.0.7 morph or theme though.
it would be baller if this was added to the 15 recent app/invisible lockscreen mod from http://droidbasement.com/db-blog/?p=396
RixKliq said:
it would be baller if this was added to the 15 recent app/invisible lockscreen mod from http://droidbasement.com/db-blog/?p=396
Click to expand...
Click to collapse
total mindhive my friend
there is a tiny bug in this, regarding the 3g icon. when data is going and the arrows are changing, the "3G" moves up/down a pixel, someone edit that in photoshop plz and fix the alignment
suffeks said:
there is a tiny bug in this, regarding the 3g icon. when data is going and the arrows are changing, the "3G" moves up/down a pixel, someone edit that in photoshop plz and fix the alignment
Click to expand...
Click to collapse
Wow! Keen eye... I see it also but only for a split-second before it changes to an H.
I've just released a beta of Kang-o-rama 0.7 and will endeavour to fix it for the final release of that.

[MOD][Theme] Incredibly Re-Engineered (and other Evo/Incredible ROMs) Mods and Themes

For those of you who want to customize the little details of your phone to your hearts content, this is the place to be. Here are a compilation of miscellaneous Themes and Mods that your phone will love, and so will you. More and more will be coming when I have time in the future, so keep your eyes pealed! I'm always open for suggestions too! Please thank me if you like my work!
First of all, these Mods are for MetaMorph, and app that can be found in the android market. Do NOT try to flash these, it won't work. If you do not know how to use MetaMorph, read this thread here for a tutorial
I made these Mods MetaMorphs for a reason. It allows you to compile your own themes in any way you want. For example, if you traditionally flashed the Upright Battery Mod and then tried to flash the power widget Mod over it, your battery Mod would be erased. This is because .zips in the traditional flashing method replace the entire framework-res.apk, and so they would write over each other. MetaMorph allows only targeted images to be replaced, instead of replacing the whole framework-res.apk (or other .apks used by the system)
Some of these Mods will work with most ROMs, and some will work only with select ones. Please read next to each download link for further information and specification on this.
Enjoy!
WiFi Image Mod: This Mod can be used for any ROM with Incredible/Evo framework. It can also be used on any phone/ROM if you know your ROM's WiFi images are located in the framework-res.apk with the same name and size as these (explore the images in the MetaMorph file for confirmation).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Traffic Light 3G Image Mod for Sense: This Mod can be used for any ROM with Incredible/Evo framework that runs sense.
Traffic Light 3G Image Mod for Stock: This Mod can be used for any ROM with Incredible/Evo framework that is senseless, stock, etc. (basically that isn't running sense). It can also be used on any phone/ROM if you know your ROM's 3g images are located in the framework-res.apk with the same name and size as these (explore the images in the MetaMorph file for confirmation).
Green 3G Image Mod for Sense: This Mod can be used for any ROM with Incredible/Evo framework that runs sense.
Green 3G Image Mod for Stock: This Mod can be used for any ROM with Incredible/Evo framework that is senseless, stock, etc. (basically that isn't running sense). It can also be used on any phone/ROM if you know your ROM's 3g images are located in the framework-res.apk with the same name and size as these (explore the images in the MetaMorph file for confirmation).
Power Widget Mod: This Mod is for use with Incredibly Re-Engineered. It can also be used on the Incredible/Evo if you know that your JsChiSurf Power Widget images are 48x48 pixels.
Incredibattery Mod: This Mod is only for use with Incredibly Re-Engineered and MikFroyo. It can also be used on any ROM/Phone you are certain that your ROM only has charging animation images 0-5 and if you know that the battery images are located in the framework-res.apk with the same name as these (explore the images in the MetaMorph file for confirmation).
Upright Battery Mod:This Mod is only for use with Incredibly Re-Engineered and MikFroyo. It can also be used on any ROM/Phone you are certain that your ROM only has charging animation images 0-5 and if you know that the battery images are located in the framework-res.apk with the same name and size as these (explore the images in the MetaMorph file for confirmation).
Gingerbread Status Bar Mod: This Mod will ONLY change the status bar images, it is not a full theme. You can find the full Gingerbread theme for Incredibly Re-Engineered here. This Mod can be used for any ROM with Incredible/Evo framework that runs sense. It also might work for senseless, but I cannot confirm that it has all of the images for senseless (I was only focused on getting everything I needed for sense, so its quite possible that I forgot some stuff that would be used for senseless). Please notify me if you find that this mod is missing any images.
Status Bar Background Mod: This Mod can be used for any ROM with Incredible/Evo framework. It can also be used on any phone/ROM if you know your ROM's Status Bar background image is located in the framework-res.apk with the same name and size as these (explore the images in the MetaMorph file for confirmation).
Themed Incredibly Re-Engineered HTC_IME Keyboard: This is a themed keyboard, based off the stock htc keyboard, but with extra features and themed for Incredibly Re-Engineered. It will work with any ROM on the Incredible/Evo, and maybe other phones with 800x480 screen. See below the image for installation instructions.
How to install the keyboard:
1. copy keyboard .apk to your sd card and install like any other regular downloaded .apk (I use astro)
2. go to language and keyboards in settings and check the box next to HTC_IME
3. go to a text field and hold down on it, then select the keyboard under input method
I have themed a few other keyboards as well for Redemptive Revolution. They can be found here. This page also contains more information about these keyboards.
Credits go to Chingy51o of course for his great ROM, HeyItsLou for his encouragement, JsChiSurf for his power widgets, asbessette for his original Upright Battery Mod for Myn's Warm 2.2, gimpsta for his software, and anyone else who has been a help along the way.
reserved for later use
Nicely done - thanks for sharing this fine work!
Kind regards.
Awesome power widget mod...Very functional, and it looks like the smaller images are less intrusive in the pulldown.
thanks guys! glad you like it!
added WiFi image mod to 1st post
added status bar background mod to 1st post
Thanks for the power widget mod... looks great!
Is there anyway you could make a metamorph to make all of the notification icons gingerbread? that would be awesome!
BaronofBlood said:
Is there anyway you could make a metamorph to make all of the notification icons gingerbread? that would be awesome!
Click to expand...
Click to collapse
could you shoot me the framework-res.apk and htc.resources.apk of a rom/theme that has those? I'll do my best if you can send me that stuff. are you running inc. reengineered?
If you grab chingys 4x4 ginger theme that should give ya what u need.
Alright I was assuming it didn't have everything since I thought anyone who wanted gingerbread stuff would have just flashed that. I'll look into it though when I have time it could be a while though I'm pretty busy right now
Sent from my incredible
Very Nice work!
I just wish I could actually get Metamorph to install!!
Haha I know it can be a pain in the ass at times but its really the best option for the stuff I'm doing
Sent from my incredible
tsoms said:
could you shoot me the framework-res.apk and htc.resources.apk of a rom/theme that has those? I'll do my best if you can send me that stuff. are you running inc. reengineered?
Click to expand...
Click to collapse
Yup I'm running Incredibly Re-Engineered, like the other poster said you could just grab the framework from the gingerbread theme, the reason I ask for this is because I don't want the entire gingerbread theme, just the notification bar
nice man. finally was able to take a look at all your stuff. that keyboard is sick! keep up the great work man!
Thanks chingy! And you know you're always welcome to use whatever you want whenever you want and I'm pumped to try z once all the problems smooth over! Its lookin sick
Sent from my incredible
changed the status bar background mod in the 1st post back to original transparent background w/ green android. This was to get rid of the inconsistent "smudges" that were previously noticeable.
added Gingerbread status bar Mod to 1st post
added new traffic light 3g mod made from scratch to the 1st post

Theming the notification bar?

I'm sick of this black bar and blue clock clashing with my homescreen. Been tinkering with ninjamorph on the tf for a few days and I've been able to customize most of the ugly things away in honeycomb, but I haven't had much luck with the notification bar.
Does anyone know where the notification bar is in the framework.apk file? I'm looking for the back, home, and running apps icons as well.
Also I want the off-blue clock to be white, but after searching around the only methods I've found were using ninjamorph on phones. Any good methods for tablets?
Not really interested with launchers, tried alot of them and it just wasn't for me, doing it with ninjamorph to replace the framework files.
If this belongs in questions & answers my apologies, seemed like the theming subforum was more suitable.
ickkii said:
I'm looking for the back, home, and running apps icons as well.
Click to expand...
Click to collapse
Look in SystemUI.apk for those icons
thanks man! Found alot of the ones I was looking for but didn't mention as well, like the blue glow. I noticed there were XML files with system bar in the title, does that mean I'm sol?
I haven't gotten around to replacing my wifi/battery icons yet, but I also noticed there are 2 sets - one in framework, and one in systemui, does it matter which one I change? Or do they change different things? They look exactly the same.
depending on which rom your running you can use the UOT kicthen to theme the battery ad wifi icons on the notification bar. it works on the rev HD rom i think, i run the revolver rom and havent tried it yet but i dont see why it shouldnt as long as you extract the framework res etc properly.
---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------
http://uot.dakra.lt/
you need to extract both the framework res apk and system ui pk to the kitchen once you have chosen the mods you want
I've use the kitchen with Prime's ROM. Battery icons are good
The font work but you'll have to play around cause some
font don't look too good on the TF.
For some reason kitchen wouldn't let me choose my framework & systemui files, no problem though, I just used a preset on kitchen and moved them over manually.
I just did the systemui apk with a reboot, changed the wifi and a few others but didn't change my battery icon for some odd reason. Updating the framework apk as I type this, hopefully it fixes it.
EDIT: no luck, just messed up my notification menu -.-'
ugh, my notification menu keeps overlapping the notification bar, need to find a system dump for 3.2 to start over because my systemui backup was overwritten.
This keeps happening when I swap the images out with greyscaled versions in ninjamorph.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What went wrong?
ickkii said:
This keeps happening when I swap the images out with greyscaled versions in ninjamorph.
What went wrong?
Click to expand...
Click to collapse
looks like 2 framework res's running at the same time, although i could be wrong.
to upload the framwork res and system etc to the UOT kitchen, you first need to extract them from your current ROM, extract them from the rom zip to desktop. then you can upload them to the kitchen. the kitchen needs your current ROM res etc to implement the mods in the right way for your device.
then flash the zip that the kicthen cooks with CWM and you should be good to go.
well I'm not sure that frameworkres is to blame because when I replace the systemui apk back to the default systemui apk it goes back to working normally despite any possible framework issues.
I tried changing it image by image last night and came to the conclusion that when I change notify_panel_clock_bg_pressed.9.PNG, notify_panel_notify_bg.9.PNG, and panel_notification.PNG in the systemui/Res/drawable-mdpi directory it causes them to do this.
I also should add that in some circumstances ninjamorph shrinked the size of my systemui apk file from 1mb to about 800kb. Perhaps a compiling error?
Uot kitchen does not offer any custom notification ui's for honeycomb that I saw, but everything else of theirs that I changed manually to the systemui file worked without errors. It didn't change my battery icons in the frameworkres apk however. I had to change it manually because when I go to upload files, it brings me to this screen without even prompting me to select a file manager.
I'll attempt it on a desktop later on today.
ickkii said:
Uot kitchen does not offer any custom notification ui's for honeycomb that I saw, but everything else of theirs that I changed manually to the systemui file worked without errors. It didn't change my battery icons in the frameworkres apk however. I had to change it manually because when I go to upload files, it brings me to this screen without even prompting me to select a file manager.
I'll attempt it on a desktop later on today.
Click to expand...
Click to collapse
Yeah I've never tried it on the tablet itself, always from the PC.
I tried to find the pngs to change, but I only found the outline of the battery. Does anyone know which file I have to change exactly?
ppzoid said:
I tried to find the pngs to change, but I only found the outline of the battery. Does anyone know which file I have to change exactly?
Click to expand...
Click to collapse
battery icons png are located in the folder
res/drawable-mdpi
&
res/drawable-xlarge-mdpi
easiest way is to use the UOT kitchen
I put together some directorys for the systemui.apk and framework-res.apk i hope they come in handy
and the overscroll glow png's are in framework-res at res/drawable-mdpi overscroll_glow.png and overscroll_edge.png

Categories

Resources