If this is posted somewhere on here please let me know.
I am hoping someone has a mod that will switch the battery to the stock Android style battery, ie, no numbers. I have some battery mods from older ROMs I want to use but the don't work with numerical battery, and I don't know how to mod it to turn it off. Any help would be appreciated.
Or does anyone know which file controls the battery icon? I have AOSP 2.2 on my PC here, and if there's a file I can pull and edit for the Captivate I can do that too. Just not sure which file it is.
Edit. Found the file, doh. /system/framework/services.jar
The battery pngs is in the framework-res.apk in /system/framework ....use 7zip or winrar or something similar and open it, then goto /res/drawable-hdpi/ (some are drawable-hdpi-v4) you can extract that folder to see the exact file names, but leave open ur 7zip window, just copy and place the files u want to change into ur 7zip windpw (u are just extracting the folder for reference, just copy into ur 7z window, so don't extract the full thing and have to recompile it, u can bypass that without extracting and copying straight into the apk)..
Sent from my SGH-I897 using XDA App
That works to replace the pngs but if you put the pngs from a framework that doesn't have percentage style battery you endup with no battery icon at all unless its at a 10% level.
Stock with no % style battery only updates the icon at in 10% intervals. Im looking for the area in the services.jar that tells the icon not to update every 1%.
Sent from my SAMSUNG-SGH-I897 using XDA App
Same boat here. I prefer battery icons without percentages. It is purely psychological, but it makes me feel like the battery lasts longer
My theme has percent-less icons, but still uses 100 images. You should be able to do a straight-up swap of the PNG's in most percent mods, just check the file naming convention.
I'll convert the images to Gingerbread-green at some point. I'm neck-deep in theming the Galaxy Tab, so not sure when I'll get around to it.
Anyhoo, this is what it looks like
{
"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"
}
I haven't updated it in a while, but feel free to yank them from the package. If you repost them, give props to Manup.
Related
Hi All,
Been kinda scarce around here lately, since I was checking in today to see what's happening i thought I would share some stuff I put together. The tsk is based off a wallpaper I found at deviant art I think it was from Ken Saunders from mouserunner, The images in the icons i just picked up off the web and tweaked them to suit my needs.
I know everybody is going to manilla 2d but personally I'm going to wait till all the bugs are worked out by the genius's around here before i switch.
Enjoy
{
"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's the name of the program that's at the very bottom of your phone. I like it. It looks like a continuation of the HTC home plugin.
Do you know if you can customize those shortcuts or anything of the sort?
its battery status (now home screen plus plus ), and yes you can pretty much do anything with it if you can set up an xml file.
can these be loaded with HHC (HTC Home Customizer)?
sure, just drop the file in the correct folders in program files, htc home customizer, and then choose whatever you would like.
OK, thanks.
btw i get an app execution error about a missing file from HHV V1.0Final so I will have to revert to 0.8 i guess
hmmm, I have v1.0 and it seems to work just fine on my device, I actually copied the files right off my phone , zipped em up and posted , let me know if there is anymore trouble.
great stuff, thanks
could you remind me of the name of the lower icon bar today plugin ?
thanks,
battery status/ homee screen plus plus, your welcome im glad you like it
call me an idiot but how do i install these...i found the current files and tried to copy paste and overwrite them but obviously they're currently in use so it says access denied
jay487 said:
call me an idiot but how do i install these...i found the current files and tried to copy paste and overwrite them but obviously they're currently in use so it says access denied
Click to expand...
Click to collapse
use htc home customizer, I tried to upload it but somethings not working, you'll find it if you do a search.Install it then find the files folder in the program and drop the icons in the icon folder, you can then open up hhc and choose the icons. Hope that helps
Hello there
i've been recently trying to make my own theme for CM. I've been quite successful so far, however i am still having some problems / questions...
- Buttons. i can't seem to be able to skin these... i used the blur's button .png's (which work fine un-edited) as they are RGB formatted... however, when i redraw the buttons, pixel by pixel, to the shape i want, it ends up being quite ugly-formatted:
{
"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"
}
i am using gimp to edit those files... any hints there?
- Widgets. Where are those located?
another question...
how to invert the list view colors? like in settings?
First, use photoshop. Better rendering, better options. I know gimp is free and photoshop is insanely expensive, but its worth the trade, especially if you're going to be doing lots of theming (batch scripting operations for color-modding multiple files=win).
Second, as far as the widgets go, those are going to be in the individual apks of the program running the widgets, not in the drawable system folder.
for the problem with the buttons not being rendered correctly on the phone, read this guide on how to sign .9.png files. after you do that, the images will look correct on the phone.
kusotare said:
First, use photoshop. Better rendering, better options. I know gimp is free and photoshop is insanely expensive, but its worth the trade, especially if you're going to be doing lots of theming (batch scripting operations for color-modding multiple files=win).
Second, as far as the widgets go, those are going to be in the individual apks of the program running the widgets, not in the drawable system folder.
Click to expand...
Click to collapse
okay... i've got PS here, tried to install it too, but it just keeps on saying That it failed while verifying... gotta get it to run then...
alright, so for launcher widgets the files are in Launcher.apk?
power control widget = settings.apk
music widget = music.apk
calendar = calendarprovider.apk
analog clock widget = alarmclock.apk
picture frame widget = gallery.apk (last time i checked)
search widget = launcher.apk
Hey,
after playing around with the XMLs that were used to create the blur animations on-source, i finally understood how the whole thing works if anyone wants a how-to, i'll of course point you in the right direction
for now, it only changes the lockscreen animation to a slide out to the upper part of the screen... but in theory it's possible to do anything! hope someone will pick this up and do some modding here...
i tried to make a metamorph update file of the whole thing... not sure if i did it right, just try it out.... you will need this script in order to install the animation...:
http://forum.xda-developers.com/showthread.php?t=574556
there you go... the MM zip file...
http://www.4shared.com/file/145166490/a250ff42/Animation.html
http://www.4shared.com/file/145172923/62775a87/Animation_toast.html
edited toat animation makes the toasts fly in from the right, and they fade out while moving to the left
i tried to take some caps for you
{
"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"
}
toast:
hard to see, but you can see the frameskip in that pic...
more to come
enjoy
the_fish said:
if anyone wants a how-to, i'll of course point you in the right direction
Click to expand...
Click to collapse
point away
xidominicanoix said:
point away
Click to expand...
Click to collapse
alright
first of all, set up a repo on your machine (http://source.android.com/download)
(you don't need to build the whole thing, do make framework)
for the editing, ./frameworks/base/core/res/res/anim/*.xml is the way to go...
you can seek for commands like fromAlpha and toAlpha in other xmls (that's the way i discovered them lol) and insert them properly... which means you mustnt insert it after the </set> for example... gedit is a good way to see what you did wrong... then, after running make framework, go extract the res/anim/*.xml files from the framework-res.apk which is in the path the compiler "tells" you, and insert them into the cm-mod / whatever framework-res.apk, adb push it to /system/framework and reboot
not that detailed but basically that's what i was doing btw: currently editing chargin animation (adding fade stuff) ohh forgot to say, the drawables folder also has those xmls
xidominicanoix said:
point away
Click to expand...
Click to collapse
This
edit: sorry. I see you already did this, Thnx!
i just realized you can basically make anything animated! for example if signal changes, you can make it fade in nicely! just add android:fromAlpha="1.0" android:toAlpha="0.0" behind android:duration="animationtime" at those anims...
in theory... didn't try out yet.
to find the code of the blur animations in order to edit it, you can basically use a hex editor, it'll show you the basic parts of the code...
Lame thread title, I know, but I need someone that knows a lot more than I do to help out with a couple ideas I have... I have 8 themes out for 3 ROMs for the Moto Droid 1 so I'm legit... lol
IDEA 1: NO MENU ICONS - System wide though..
{
"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"
}
On this screen shot all but 5 of the icons are gone, just an enlarged text instead like the expanded menu... I left that 1 icon as a reference.. All I did was make the icons 10x10 and transparent and made the text bigger.. pretty simple. But all this will do is make all the system apks I theme have that effect.. but if a data/app is used, the pop up menu will have an icon AND enlarged, cut off text... Can't have that now.. My question is "is there a way to have the system bypass even calling on or using ANY menu icons across the whole phone?.. Like put an @null somewhere?... The idea would be cool and I wanna complete it so any help would be great....
IDEA 2: ANIMATED LOCKSCREEN/ PULLDOWN - No screen shots for this one but I'll explain it.. I'll leave the pulldown out since I haven't messed with it yet, even though it was my original idea back in December.. The concept to have both or just 1 of these run a cycle of pngs to create an animation.. like live wallpapers do, sort of... then themers could use those png's to create their own animations... it's something different and I think would be very cool....
In res/layout/keyguard_screen_tab_unlock.xml the background is usually pointing to #70000000 for a 70% transparent lockscreen background.. I write in @drawable/lockscreen_background and toss a png into the drawable-hdpi folder cause I like having a set bg for my lockscreens... What I did is make it @drawable/lockscreen_bg, wrote(copied the stat_sys_upload.xml) a new xml named lockscreen_bg and put it in the res/drawable folder.. I set the duration to 200 and had all 6 of the test anim.png's listed just like the stat_sys_upload/download have, then I tossed 6 png's into the d-hdpi folder.. it compiles up fine and once applied, It reads the first anim.png but doesn't cycle them... upon some reading, I think I have to tell it to run() or start() the animation but that's a little beyond me.. the pulldown would actually be quite similar to the lockscreen background if that one is even possible... but it DID read my xml and read the first png in that xml so I think I'm on the right track.. I just need some help from anyone that has some insight into how animations run... thanks...
Ok this is basically finished. Just needs a few more tweaks.
Make sure you back up your default mms.apk before you use this one.
Themed version:
http://db.tt/OMBgFaLa
Stock version:
http://db.tt/woexlR8C
Zip to install Themed mms.apk:
http://db.tt/e7rp4jew
Zip to install Stock mms.apk:
http://db.tt/vJCPKCkb
Installation:
Download
Use a root explorer to place into /system/app
or
Flash the zip file
Reboot
Profit
PS: On certain themes this may not look great... Meezy installed and sent me these screenshots:
http://dl.dropbox.com/u/7129559/screenies/snap20111208_200120.png
http://dl.dropbox.com/u/7129559/screenies/snap20111208_200152.png
If you like this please hit the thanks button
screen shot?
Haxcid said:
screen shot?
Click to expand...
Click to collapse
I don't have that option I'm sorry Maybe someone who wants to install it can take some screen shots and post them for me.
{
"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"
}
idk if the apk on that link works anymore.....I've been working on this a lot today and I got it to the point where it just FCs when you try to open a thread. It's one of the xml files I can either color the text inside the bubbles or put a background on the main page of the app.
pendo said:
Cool...you made it sound a lot easier than when I did this a couple months ago. (I didn't use ImageMagick).
One word of caution, if you are just adjusting hue you'll be ok, but if you inrease brightness or maybe decrease opaticy...you will throw an aapt compiling error. The ticks that mark the stretchable areas have to be either black, or nothing. No imtermediates. What I do is when I'm working with an image like that, I'll just select everything except the 1 pixel border, then I can edit however inside without messing up the 9patch ticks.
Click to expand...
Click to collapse
I just found this. Maybe it will help, maybe not. I tried to do stuff with those damn .9.png files, but I've had no luck.
From this threadhttp://forum.xda-developers.com/showthread.php?t=883392
nmsamsel said:
I just found this. Maybe it will help, maybe not. I tried to do stuff with those damn .9.png files, but I've had no luck.
From this threadhttp://forum.xda-developers.com/showthread.php?t=883392
Click to expand...
Click to collapse
Where did that quote come from? lol
Also, I know what is causing the Force closes I just don't understand why it is causing them. I can either make the back ground in the main part of the app black or change the text color inside the threads. I'm going to work with it tonight and prolly just leave the text color black inside the thread and come up with a different color for the bubbles
Okay. The apk on that link is working. There are 2 things I want to change but when I change them it FC's. btw one of them mt can change just fine.... I will get some screenshots and post them here for your viewing pleasure