[Q]Help with extracting - HTC Sensation

Ok Im relativly new to Droid and so far I really like it I have put a few roms on my phone and have flashed a few themes and all... I know there is a thread on battery icons and all for the stock xe, I like it cause it shows the battery percent in the stock icons so no need for an app or widget... The one that I can download and flash on here I have done that but I HATE the way it looks it looks way off to me compared the the ROM that I had it on... Can anyone tell me generally how to extract the Battery Icons from a custom ROM or if you can do it for me I would greatly appreciate it... Its the CoreDroid rom I love the battery indacator from just the display to the way it charges and still displays the percentage... Thanks in advance... This is strictly for personal use also It will not show up in any theme as I have yet to make my own

Mr_Boob_Burglar said:
Ok Im relativly new to Droid and so far I really like it I have put a few roms on my phone and have flashed a few themes and all... I know there is a thread on battery icons and all for the stock xe, I like it cause it shows the battery percent in the stock icons so no need for an app or widget... The one that I can download and flash on here I have done that but I HATE the way it looks it looks way off to me compared the the ROM that I had it on... Can anyone tell me generally how to extract the Battery Icons from a custom ROM or if you can do it for me I would greatly appreciate it... Its the CoreDroid rom I love the battery indacator from just the display to the way it charges and still displays the percentage... Thanks in advance... This is strictly for personal use also It will not show up in any theme as I have yet to make my own
Click to expand...
Click to collapse
I need a link to the rom you want the battery from and your framework.apk and I can swap one to the other
My rice krispies told me what to say

I would like the battery indicator from this rom here:CoreDroid
http://forum.xda-developers.com/showthread.php?t=1195902
To be able to have it on this rom:Virtuous
http://forum.xda-developers.com/showthread.php?t=1101249

Related

custom stock battery icon

http://forum.xda-developers.com/showthread.php?t=679937
Will this work on Hero? I'm running stock 2.1....5 with root.
obsanity said:
http://forum.xda-developers.com/showthread.php?t=679937
Will this work on Hero? I'm running stock 2.1....5 with root.
Click to expand...
Click to collapse
You can't push the whole desire framework-res.apk to your phone, you'll get a bunch of force closes. png's are the wrong sizes and what not. might be missing some .png's or have different names. Plus that update.zip will change one of you .jar files and that would mess up your phone. You could dive in and replace just the battery .png's.
I could do that for you... give me time tomorrow and I'll take a looksie.
mrinehart93 said:
I could do that for you... give me time tomorrow and I'll take a looksie.
Click to expand...
Click to collapse
That would be great. It seems like this mod would be something a lot of people would want. I wish I could just replace the custom battery icon to show the percentage instead of running the battery icon app to free some space in the notification area.
obsanity said:
That would be great. It seems like this mod would be something a lot of people would want. I wish I could just replace the custom battery icon to show the percentage instead of running the battery icon app to free some space in the notification area.
Click to expand...
Click to collapse
So I take it from your OP that you're using the stock 2.1 Sprint ROM, right? Just making sure because I don't know why you have a 5 after the "..." part.
Just to throw this out there, it may take awhile to do this for you. For some god-knows-what reason, my download speed is absolute **** today. I have an estimated time left of EIGHT HOURS on the Sprint ROM that I need to DL.
mrinehart93 said:
So I take it from your OP that you're using the stock 2.1 Sprint ROM, right? Just making sure because I don't know why you have a 5 after the "..." part.
Just to throw this out there, it may take awhile to do this for you. For some god-knows-what reason, my download speed is absolute **** today. I have an estimated time left of EIGHT HOURS on the Sprint ROM that I need to DL.
Click to expand...
Click to collapse
yeah, I'd love to see this battery icon on my phone... but will it be available for sense UI roms as well? Currently running Fresh 2.3.3
You rock mrinehart
I will keep watch with this posting, I would def like that icon on my sense UI notification bar.
Ok, so do you want JUST the battery icon, or do you want the other icons? And do you want the percentage in it? I'm not sure how to get the percentage in there, but I'm sure I can figure that out.
Androidious said:
yeah, I'd love to see this battery icon on my phone... but will it be available for sense UI roms as well? Currently running Fresh 2.3.3
You rock mrinehart
Click to expand...
Click to collapse
What I am doing will work with Fresh, DamageControl, the Sprint roms, etc. I'm almost positive that the framework-res.apk is the same between them. I'm not sure about the services.jar modding that I'll need to do, but I can't see it being a large difference between the ROMs.
Here is just the battery icon, no percent
Ok, well I just finished putting that battery icon in. This should work in any Sprint-based ROM, which means DamageControl, Fresh, RegawMOD, w/e... as long as it's not AOSP.
So attached is the modified framework-res.apk. To install this, you'll need to push it into your phone somehow. This can be done a couple of ways:
ADB:
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
OR
Use Root Explorer, and then mount your phone in R/W mode, and then just copy and paste that file into your /system/framework folder.
Ok, this MAY give you the percent
Hey guys. So I really quickly learned how to use baksmali and smali to edit the services.jar file. I took what looked to be a line of code that added the battery percent and added that into our services.jar. I then repackaged it up. I have NOT tested this to see if it works or not (I'm running AOSP and calibrating my battery), so I highly recommend you either Nandroid or backup your services.jar file. If you would like the circular battery icon too, then flash the framework-res.apk file above as well.
The worst thing that will happen from the services.jar being messed up is force-closes.
EDIT Don't pay attention to what's above. I put all the stuff into a flashable .zip file. My signing tool is messed up, but if you have ClockWordMOD recovery, then you'll be able to flash it (ClockWordMOD can flash unsigned .zips )
mrinehart93 said:
Hey guys. So I really quickly learned how to use baksmali and smali to edit the services.jar file. I took what looked to be a line of code that added the battery percent and added that into our services.jar. I then repackaged it up. I have NOT tested this to see if it works or not (I'm running AOSP and calibrating my battery), so I highly recommend you either Nandroid or backup your services.jar file. If you would like the circular battery icon too, then flash the framework-res.apk file above as well.
The worst thing that will happen from the services.jar being messed up is force-closes.
EDIT Don't pay attention to what's above. I put all the stuff into a flashable .zip file. My signing tool is messed up, but if you have ClockWordMOD recovery, then you'll be able to flash it (ClockWordMOD can flash unsigned .zips )
Click to expand...
Click to collapse
This works perfectly for Fresh 2.3.3! Thanks so much for the kewl battery icon!!! Now, if only we could get the percentage in the middle of it, I'd be totally set
LoL! But... beggars can't be chooser though
In case you were wondering Mrinehart93, I flashed this zip using clockword mod recovery and the icon itself looks and works perfectly, but the % of battery remaining does not currently show up. I don't know if there's anything I need to do to make it work correctly, but since you haven't tested yet, I just thought I'd let you know. Thanks again man!
Androidious said:
This works perfectly for Fresh 2.3.3! Thanks so much for the kewl battery icon!!! Now, if only we could get the percentage in the middle of it, I'd be totally set
LoL! But... beggars can't be chooser though
In case you were wondering Mrinehart93, I flashed this zip using clockword mod recovery and the icon itself looks and works perfectly, but the % of battery remaining does not currently show up. I don't know if there's anything I need to do to make it work correctly, but since you haven't tested yet, I just thought I'd let you know. Thanks again man!
Click to expand...
Click to collapse
Ok, thanks for trying it I'll have to dig deeper into the services.jar then (I'm extremely glad that the services.jar didn't mess up or force-close on you... I wasn't sure if I packed it up the right way). But yeah, I'm glad you like the icon and I'll keep trying to get the percentage in there.
Androidious said:
This works perfectly for Fresh 2.3.3! Thanks so much for the kewl battery icon!!! Now, if only we could get the percentage in the middle of it, I'd be totally set
LoL! But... beggars can't be chooser though
In case you were wondering Mrinehart93, I flashed this zip using clockword mod recovery and the icon itself looks and works perfectly, but the % of battery remaining does not currently show up. I don't know if there's anything I need to do to make it work correctly, but since you haven't tested yet, I just thought I'd let you know. Thanks again man!
Click to expand...
Click to collapse
Can you post screen shots?
mrinehart93 said:
So I take it from your OP that you're using the stock 2.1 Sprint ROM, right? Just making sure because I don't know why you have a 5 after the "..." part.
Just to throw this out there, it may take awhile to do this for you. For some god-knows-what reason, my download speed is absolute **** today. I have an estimated time left of EIGHT HOURS on the Sprint ROM that I need to DL.
Click to expand...
Click to collapse
the ...5 stands for the .5 version not the .6 which sprint released later and locked root recently at the time EVO came out.
Tibedabeeto said:
Can you post screen shots?
Click to expand...
Click to collapse
Here's a couple screenies with the USB / charging plugged in and without the charger/usb plugged in.
I love this so much man! Beats the battery icon that is stock with this bad boy.
Androidious said:
Here's a couple screenies with the USB / charging plugged in and without the charger/usb plugged in.
I love this so much man! Beats the battery icon that is stock with this bad boy.
Click to expand...
Click to collapse
I'm glad you like it and I could help
Man that looks nice, would really love to see the Percentage of the battery in the middle. I am going to hold off until that part is incorporated to the update zip file. Good Work
Tibedabeeto said:
Man that looks nice, would really love to see the Percentage of the battery in the middle. I am going to hold off until that part is incorporated to the update zip file. Good Work
Click to expand...
Click to collapse
Well don't hold off, it may be awhile until I can figure that out (I'm not used to editing smali files)
This is awesome, works great and looks cool! I am looking forward to percents being added and then it will be perfect.
Thanks

[THEME][MOD] Galaxy S i9000 [ROM] CM6 Beta

This is a complete themed CM6 rom with a few mods.
How to install:
1. Backup your current rom.
2. Wipe. (If your coming from a CM6 Rom you may not need to wipe. I don't but, I recommend that you do).
3. Install.
Link:
http://www.mediafire.com/?tcb3dv5xyqnn9q7
Enjoy!
Looks great man, gunna give it a try once uploaded.. wish we could get that galaxy lock screen..
Any luck for sense
ACD168 said:
Looks great man, gunna give it a try once uploaded.. wish we could get that galaxy lock screen..
Click to expand...
Click to collapse
Thanks, I'll take a look at that lock screen.
Thanks Touchpro! My current rom right now and I really like the theme color. Can this be flashed over current Nightly build that has led notfication working? Appreciates your works and Red Bull on your way.
I really like the theme for the most part but wish you could get rid of all the green and replace with the neon blue. Also while I'm making demands could you add some transparency to all of the widgets, now. Just kidding, great work and will be keeping an eye on this to see where you take it.
darkvar said:
Thanks Touchpro! My current rom right now and I really like the theme color. Can this be flashed over current Nightly build that has led notfication working? Appreciates your works and Red Bull on your way.
Click to expand...
Click to collapse
I haven't tried to flash it over the nightly builds. You may be able to flash it over the nightly builds but, I doubt you'll have all the same features working. Backup and give it a try.
Upstreammiami said:
Any luck for sense
Click to expand...
Click to collapse
Which Rom?
would this work on ruby
Is it possible to add the smooth battery or any battery percentage in the status bar with this ROM?
rollotomasi5 said:
would this work on ruby
Click to expand...
Click to collapse
No, it won't.
Cincybearcatfan said:
Is it possible to add the smooth battery or any battery percentage in the status bar with this ROM?
Click to expand...
Click to collapse
Sorry, I will not be updating this theme at all. You can try looking for a 3rd party app that does that.
Figured out how to add the percentage in the battery, nice add. Question though: How can Adrynalyn's Second Wave ROM with Sense use LESS battery than this one without Sense? Generally after a work day's usage with the Second Wave ROM my battery was between 80%-84% now after using this ROM it is between 60% and 65%? Just curious if it needs a different kernel or something.
I dig this theme. I'm having one issue though: every time I try to change volumes in settings, it FCs. Anyone else have this problem?
im really diggin this theme its really colorful lol. i did notice that when your getting an incoming call the slider for answering calls is a little off the screen on the left. is that normal? or is it a bug?
oh and i have adw on with the droid x theme do you think thats affecting it?
i have the same problem please fix

[Q] Theme compatability

hey guys,
first how do i flash a new theme? just though recovery and cwm? do i need to wipe any data or anything?
second, how do i know what themes are compatible with what roms? i really want the circle battery meter on the upper toolbar with the actual battery percentage.
thanks!
I am almost positive they work on any ROM...also avoid calling them "themes" use the term add-ons
o, ok great...
do you have a suggestion for a good battery meter? not a widget but one showing up on the upper toolbar.
schinner16 said:
o, ok great...
do you have a suggestion for a good battery meter? not a widget but one showing up on the upper toolbar.
Click to expand...
Click to collapse
You can make one here....
http://uot.dakra.lt/kitchen/
I know there are a ton of them in the dev section, I always come across them, just never when I'm actually looking for one...
You would be talking about a battery modification. Technically themes and modifications are almost the same thing.
They are flashed through cwm recovery much like a rom is. Though generally it is good to wipe the cache and dalvik.
Also no not all battery modifications are compatible with every rom. Different roms have different framework. Generally if there is a battery mod the dev will specify as to which rom it is specifically for. So as a good rule of thumb check the thread for the rom you are using to see if it has any modifications that you can use. If it doesn't, but you do happen to find a modification that you like, ask the dev (of the rom you are using) if it is compatible, or if they would be willing to make a compatible version.

[Q] Why is my battery logo on the background of my searchbar in the android market?

Well since i'm new and i can't post reply's in the ROM-thread yet, i'll post it here
Yesterday i flashed my Sensation to the InsertCoin 2.2.2 (Android 2.3.4) from Baadnewz. (off-topic: Awesome ROM mate, really smooth, incredibly fast and allot of options!!! i would recommend it to anyone planning to flash and root their Sensation.)
There is, however, one little problem i've encountered:
On top of the ROM i flashed an alternative battery logo wich shows percentage indication of the battery in the upper screen bar. Downloaded it from http://forum.xda-developers.com/showthread.php?t=1201255
The Honeycomb Style Battery with percentage while charging that is.
Now this also works fine, but after flashing it the Android Market Searchbar doesn't look like a searchbar anymore. It looks like a stretched version of my battery indicator logo... (i attached the screenshots below, sry for the poor quality.. don't have a creditcard so couldn't buy the full version)
Anyone familiar with this problem, or does someone know a solution???
in android-sdk/tools there is ddms.bat, run it with phone connected, then under Device->Scren capture menu there's a tool to take Screenshots for free
The battery mod you flashed is not made for 2.3.4 roms. I had the same problem yesterday. You will have to either deal with it or do without the battery mod you flashed.
Lucifer Arcstone said:
Well since i'm new and i can't post reply's in the ROM-thread yet, i'll post it here
Yesterday i flashed my Sensation to the InsertCoin 2.2.2 (Android 2.3.4) from Baadnewz. (off-topic: Awesome ROM mate, really smooth, incredibly fast and allot of options!!! i would recommend it to anyone planning to flash and root their Sensation.)
There is, however, one little problem i've encountered:
On top of the ROM i flashed an alternative battery logo wich shows percentage indication of the battery in the upper screen bar. Downloaded it from http://forum.xda-developers.com/showthread.php?t=1201255
The Honeycomb Style Battery with percentage while charging that is.
Now this also works fine, but after flashing it the Android Market Searchbar doesn't look like a searchbar anymore. It looks like a stretched version of my battery indicator logo... (i attached the screenshots below, sry for the poor quality.. don't have a creditcard so couldn't buy the full version)
Anyone familiar with this problem, or does someone know a solution???
Click to expand...
Click to collapse
yes it has to b like that mate...coz with sensation roms many changes have taken place even from 2.3.3 to 2.3.4....Batt mods are changed by playing with framework-res file...which is mostly rom specific for looks and feel... so u need ur rom framework and batt image files to make it work correctlt...or visit my thread
http://forum.xda-developers.com/showthread.php?t=1195974
Gimme ur framework file there and i'll make a mod 4u.....reply me on there
Lucifer Arcstone said:
Well since i'm new and i can't post reply's in the ROM-thread yet, i'll post it here
Yesterday i flashed my Sensation to the InsertCoin 2.2.2 (Android 2.3.4) from Baadnewz. (off-topic: Awesome ROM mate, really smooth, incredibly fast and allot of options!!! i would recommend it to anyone planning to flash and root their Sensation.)
There is, however, one little problem i've encountered:
On top of the ROM i flashed an alternative battery logo wich shows percentage indication of the battery in the upper screen bar. Downloaded it from http://forum.xda-developers.com/showthread.php?t=1201255
The Honeycomb Style Battery with percentage while charging that is.
Now this also works fine, but after flashing it the Android Market Searchbar doesn't look like a searchbar anymore. It looks like a stretched version of my battery indicator logo... (i attached the screenshots below, sry for the poor quality.. don't have a creditcard so couldn't buy the full version)
Anyone familiar with this problem, or does someone know a solution???
Click to expand...
Click to collapse
Offtopic: I see you're using a task killer. You're only hurting your battery life and making the phone slower.
Off-topic: you can make a screenshot with power + home. Just saying
Swyped from my HTC Sensation
Lucifer Arcstone said:
Well since i'm new and i can't post reply's in the ROM-thread yet, i'll post it here
Yesterday i flashed my Sensation to the InsertCoin 2.2.2 (Android 2.3.4) from Baadnewz. (off-topic: Awesome ROM mate, really smooth, incredibly fast and allot of options!!! i would recommend it to anyone planning to flash and root their Sensation.)
There is, however, one little problem i've encountered:
On top of the ROM i flashed an alternative battery logo wich shows percentage indication of the battery in the upper screen bar. Downloaded it from http://forum.xda-developers.com/showthread.php?t=1201255
The Honeycomb Style Battery with percentage while charging that is.
Now this also works fine, but after flashing it the Android Market Searchbar doesn't look like a searchbar anymore. It looks like a stretched version of my battery indicator logo... (i attached the screenshots below, sry for the poor quality.. don't have a creditcard so couldn't buy the full version)
Anyone familiar with this problem, or does someone know a solution???
Click to expand...
Click to collapse
Yeah, you're probably using my mod, which until today, was not available or working for 2.3.4 roms. I have posted the one you're using in a 2.3.4 version, so if you go HERE then you'll be able to download the Honeycomb version for a 2.3.4 ROM, and it should work fine. Let me know if it doesn't.
@ idavid: dude you're awesome! Didn't know that :O
@ gbzbar: tnx for posting the link, i will try that one out can i just flash it on top off the battery-mod i allready have with the same CWM method?
@ everyone else: tnx for responding so fast, starting to eventually like this place alltough the intro-video about noobs did scare me off a little bit (while also finding it hilarious)
Sent from my HTC Sensation Z710e using XDA App
lalitsehgal21 said:
yes it has to b like that mate...coz with sensation roms many changes have taken place even from 2.3.3 to 2.3.4....Batt mods are changed by playing with framework-res file...which is mostly rom specific for looks and feel... so u need ur rom framework and batt image files to make it work correctlt...or visit my thread
http://forum.xda-developers.com/showthread.php?t=1195974
Gimme ur framework file there and i'll make a mod 4u.....reply me on there
Click to expand...
Click to collapse
tnx for offering to make me a mod! i'll try out the 2.3.4 version of the Honeycomb mod first, but i will keep your method in mind if it doesn't work!
gbzbar said:
Yeah, you're probably using my mod, which until today, was not available or working for 2.3.4 roms. I have posted the one you're using in a 2.3.4 version, so if you go HERE then you'll be able to download the Honeycomb version for a 2.3.4 ROM, and it should work fine. Let me know if it doesn't.
Click to expand...
Click to collapse
Awesome mate it's working perfectly!! Tnx allot for helping me out!

AOSP 4.0.4 battery percentage? Looked EVERYWHERE

I recently flashed back to Eaglesblood AOSP 4.0.4 just because I felt like having something new and missed the slight hwa and ICS look and feel. However, not having a battery percentage option built into the ROM is driving me crazy. I've been looking for a mod/zip/addon/etc that will give me a battery percentage instead of a plain old batter icon meter. Does anyone here know of anything that could do this for me? I did find an AOSP modding app that modified battery icons from the playstore, but none of the custom icons include a percentage =(
Maybe rom toolbox? I haven't looked in awhile but I thought there were quite a few percentage options in their theme changer section.
Edit: yes. Lots. Status bar icons section. I think some of them don't do 1% though. The stock looking ones do though.
I like you a lot. Thanks lol!
Sent from my LG-P999 using xda premium
If you use battery info app it will show percentage but on the wrong side
-- The noob says:
From first-hand experience, a smartphone is incapable of making you smarter!

Categories

Resources