Where in my device are the battery icons? - HTC Vivid, Raider, Velocity

I am hoping to use my Vivid's battery icons in my tablet. The Asus TF700 tablet has a great developer who has created a custom battery themer. I'd like to copy out the battery icons I've created in the UOT kitchen. Where in my device can I find those icons? Can they be copied out? Are they specific to my device, regarding size/resolution/format?

You flash them in recovery
Sent from my HTC Holiday using Tapatalk 2

XxSHaDoWxSLaYeRxX said:
You flash them in recovery
Sent from my HTC Holiday using Tapatalk 2
Click to expand...
Click to collapse
I know that the UOT file is flashed in recovery...did that a long time ago. What I want is to copy out the battery icons to be used in another device. I still have the UOT file also. Can I extract the icons from that file? From the device's storage?

duckredbeard said:
I know that the UOT file is flashed in recovery...did that a long time ago. What I want is to copy out the battery icons to be used in another device. I still have the UOT file also. Can I extract the icons from that file? From the device's storage?
Click to expand...
Click to collapse
You could, but you would also need the ~204 .xml files that control the new battery icons. Everything should be in framework-res.apk - but why not just run your new devices framework-res.apk through the kitchen and create the new batteries?
And this is a General Question, shouldn't be in Development

I'm getting errors on the file upload...security warning
I'm Polish bred, Alabama educated, and government trained. Trust me. If I'm surviving, there's hope for you too!

Related

Round Battery Meter from BakedSnack in Other ROMs?

So I'm finally settling down on a ROM configuration I like. I'm currently using the following:
DamageControl 3.2.3
DroidX Boot Screen
Rotary Lockscreen
ADW Launcher
It's a great combination, but the one thing I miss right now came from the BakedSnack 9.6 ROM and that's the 6 segmented round battery meter in the status bar. Anyone know how to get that or at least something better than the default battery icon?
Thanks!
PSULightingGuy
Total Geek/Nerd, Proud EVO 4G owner, Android n00b.
P.S. This is a duplicate thread from androidforums.com, just figured it might help to ask here as well...
Theme the battery yourself, the icons you need to change are located in the framework-res.apk file, or wait a day or two whilst im making a video tutorial on how to change the battery
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk
http://www.mediafire.com/file/uwz0k1mwtzm/Circle_Batt.zip <<download
icegad said:
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk
Click to expand...
Click to collapse
Thanks! Works Beautifully! This makes my dream theme almost complete! Next step, is there a way to bundle a set of updates (I have the zip files) into one zip I can flash over any ROM? Anyone point me to a link about building flashable zips? Time to learn to do these on my own...
So Bump... This isn't working as well as I thought... I ran it all day and it worked fine for the first half of the battery life, but it then went all the way down to 22% while still showing half battery (3 of 6 bars)... Sigh... Anyone else?
PSULightingGuy said:
Next step, is there a way to bundle a set of updates (I have the zip files) into one zip I can flash over any ROM? Anyone point me to a link about building flashable zips? Time to learn to do these on my own...
Click to expand...
Click to collapse
yes you can its really simple!!
if you have more than one zip to flash, you have to extract all the apks keeping the exact position of them
(if app apk -> system/app or framework apk -> system/framework)
try to download any rom or theme, open the zip and you will see how it works!!
keep in mind that you need the updater-script --> (download any theme and copy the whole directory "meta inf" in your new flashable zip.
once you have meta inf and system/app system/framework (or anything else) into your zip, Sign it!!!
signing is really simple too!
http://forum.xda-developers.com/showthread.php?t=473580
read all!!!!!!!
then..
i've downloaded this battery stats themed (thank to icegad who made the metamorph) but, android 2.1 has the icons located in a new directory, not drawable-hdpi but drawable-mdpi. so, that archive posted by him doesnt work!
you have need to change that letter if you are using 2.1.
right now im on 75% so i dont know if i've got your problem too.. hope no
I dont speak english very well, but I hope you understand anyway ^^
icegad said:
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk :c<<download
Click to expand...
Click to collapse
meta-morph doesn't work on 2.2

Is it really that hard to extract a theme from a Rom?

Hi!
I have been trying to extract the theme from this ROM
http://forum.xda-developers.com/showthread.php?t=869408
It looks awesome and I want to add some animations from a different ROM and use it with Darkys or Assonance for example but this seems to be much harder than I though unless someone has a quick and easy for dummies procedure for poor me that is.
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
rrrrramos said:
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
Click to expand...
Click to collapse
mmm sounds simple when you say it lol I will need to dig deep here it seems but that is a good post to point me towards the right path
I usually just extract the framework-res.apk and twframework-res.apk from the ROM I am taking the theme from and the ROM I want to put it in, then I copy the res/drawable-hdpi folder from the old apk into the new one. It is a quick/dirty method, and wont let you change font colors or add a circle battery mod to one without it, but I have never had problems with it before.
You also have to be sure it is compatible with the rom you are using. Some roms have different xml code behind and if you simply put the framework and tw framework in your rom you risk getting fc at boot and not getting past them.
Sent from my SAMSUNG-SGH-I897 using XDA App
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
shaolin95 said:
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
Click to expand...
Click to collapse
Try first with /system/framework/framework-res.apk and /system/framework/twframework-res.apk
I'm attaching a cwm zip file that has those files as found in Doc's 6.1 rom.
Just replace them with the files from whatever rom you want and keep that as a backup in case something goes wrong. It will save you from reflashing
If both are JPY roms then it shouldn't be an issue.
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
shaolin95 said:
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
Click to expand...
Click to collapse
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
icezar1 said:
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
Click to expand...
Click to collapse
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
To answer the first question, it won't straight out work. You have to add the images to the file 'framework-res.apk' in the 'drawable-hdpi' folder located within it. Different framework-res.apk's will differ from ROM to ROM, and will just FC or bootloop your phone if you use one that it doesn't like. That's why most themes have the ROM they will work with posted in the title. If it is the same base ROM (in the case of my phone, running Assonance, any JK3 theme will work), then it is as simple as drag & drop. But if it's between say Axura and Assonance, it would have to be manually changed as stated above, since there may be subtle differences in the framework.
As for the second question, here ya go
http://forum.xda-developers.com/showthread.php?t=717437
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
If the theme was made for JPY and the Rom you want to put it on is JPY, it should work. However, there are sometimes system apps which need to be installed with the theme. Easyest thing would be to rip it off, put it on your rom and see if it works. Experiment a bit, thats how you'll learn.
thanks and thanks.
Its really interesting to have a full control of your phone....so i am enjoying learning this stuff....tried using UOT kitchen but got errors...
I just want to modify notification bar...
I am on darky's 7.7...i will have to look for compatible theme
viny2cool said:
I am on darky's 7.7...i will have to look for compatible theme
Click to expand...
Click to collapse
There's plenty of jpy based themes in the i9000>theme section.
You could metamorph it if it doesn't require any xml edits... it looks like Marilyn img edits which could be taken foment that rom..
Sent from my SAMSUNG-SGH-I897 using XDA App
i have a question along these same lines. if one wanted to copy the notification pulldown from a different ROM|theme, how would you do so? im using Perception 9.5 which is built on JK3, but the Androdena theme is built on JPX files. all i want is the notification pulldown elements. can you just copy those image files over and go? i always see themers talking about 9.pngs and i was just wondering if they'd prohibit just a simple copy from one tw-framework to another.

Notification Bar Icons and Mods

Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
prhalfnathan said:
Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
Click to expand...
Click to collapse
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Lexmazter said:
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Click to expand...
Click to collapse
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
prhalfnathan said:
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
Click to expand...
Click to collapse
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Lexmazter said:
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Click to expand...
Click to collapse
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
prhalfnathan said:
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
Click to expand...
Click to collapse
No prob, everyone needs to start form somewhere, and what better place to start than xda developers?

[Q] Battery Icon to % in Senseless ROM

How to Change Battery Icon to % in Senseless Rom. Is there any flashable Zip to do so? If so please Provide it. Thanks by the way .
9291514329 said:
How to Change Battery Icon to % in Senseless Rom. Is there any flashable Zip to do so? If so please Provide it. Thanks by the way .
Click to expand...
Click to collapse
9291514329 said:
How to Change Battery Icon to % in Senseless Rom. Is there any flashable Zip to do so? If so please Provide it.
Thanks by the way . I loved ur Kernal. awesome. :good::good:
Click to expand...
Click to collapse
I don't know of any flashable zip out there, but you can make one
Learn to DIY (do it yourself ).
What you need is a archiver tool like WinRAR or any other archiver, take the framework-res.apk from system/framework of your senseless, and open it in the archiver tool or extract it in some folder, find the .png of the battery out there in the .apk, and you can replace the .png's with whatever icons you want, or you can use the kitchen to do this thing, search for tutorials out there in the www .
To make it you need a uot or apk tool. If you change only png you will get nothing.
File to change SystemUI.apk
Lex go back to cook your kernel
Sent from my HTC One X using xda premium
And the uot he means uot kitchen
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
stona175 said:
To make it you need a uot or apk tool. If you change only png you will get nothing.
File to change SystemUI.apk
Lex go back to cook your kernel
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Well, i did it the way i said and it worked on Incredibly Cool Sense v3, the zip is out here There are various ways to get things done, i exemplified my way of doing this kind of things, with no apk tool and no kitchen
--
I also made a whole custom-edited rom using this method on the Dell Streak 5 , so it is possible.
--
I fogot to mention that after you change the /png, you copy all the contents of you folder you dezarchived in the .apk you opened with your archiver tool, in this way you don't need to sign the apk or other things like that

[Q] Battery % Icon in UI?

Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
amphi66 said:
Is anyone aware of a System UI mod to add battery percentage to the indicator for the First, without the need to install a secondary app?
Thank you. --Larry
Click to expand...
Click to collapse
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
amphi66 said:
A quick update:
Found the Notification Toggle app from the Play Store which does a very good job. Along with a large selection of some easy to use pull-down switches in the Notification Bar is a battery icon showing %. Actually very nice.
However, not being exactly what I was looking for I tried to use the OG Battery Icon Mod from XDA with my (mostly) stock (Odexed) ROM. It was unsuccessful.
Thinking it might be a problem with the Odexed ROM, I flashed CWM Recovery to replace my previous TWRP Recovery (for some reason the DeOdexed ROM des not flash with TWRP) and then flashed JMZ's DeOdexed v1.08 ROM. Unfortunately, I ended up the same failure when running the OGBattery Mod Tool (the tool was unable to download the systemui.apk).
Therefore, so far I am unable to make the UI modification, but am pleased to find the Notification Toggle App -- and with some help from Titanium Backup my phone is back where I wanted it, now running a DeOdexed ROM. I went back to TWRP Recovery. I have CWM on my A500 tablet, but TWRP just seems easier on the First.
--Larry
Click to expand...
Click to collapse
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
jmz said:
You can use UOT kitchen. Just Google it. If you feel adventurous you can download my sense ROM and pull the diff battery mods I have there and push them to your device. All you need is systemui.apk. but this will only work if you are on a deodex ro.
Sent from my manta using Tapatalk 2
Click to expand...
Click to collapse
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
amphi66 said:
Feeling adventurous, I downloaded your sense ROM & extracted it. In systemui.apk I see there are two (apparently duplicated) res folders and the sub-folders/files in res are also duplicated. Is this an error in the build or necessary as place-holders of sone kind. I thought I might try to replace the res folder in the deodexed ROM with this one, but it concerned me.
Click to expand...
Click to collapse
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
jmz said:
I don't know what you mean. Can you screenshot it?
Sent from my HTC first using Tapatalk 2
Click to expand...
Click to collapse
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
amphi66 said:
Thank you for the response. I couldn't figure out how to attach here, so I posted a screenshot of the extracted systemui.apk from your Sense ROM at dev-host: http://d-h.st/VOr
Note that there are duplicate res folders. Also, in the res folders many of the sub-folders and: files also have duplicates, prompting my question. --Larry
Click to expand...
Click to collapse
@jmk : After the confusion (to me) I tried a couple of more things:
1. Replaced systemui.apk in stock ROM with the systemui.apk from your Sense ROM. That did give me a Sense horizontal battery with %, but was too small to see. I was hoping for the percent circle.
2. I used UOT Kitchen to attempt to make the modifcation, but Kitchen returned a SHTF error, so no results yet.
Success!
I loaded & set up JMZ's Sense ROM with the icons I wanted, then copied systemUI.apk to the sdcard. After restoring my "stock" ROM I renamed the systemUI.apk in /system, then copied the one from the sdcard to /system & reset the permissions. I now have my desired battery icons!
@ jMZ: Thank you for the guidance. --Larry

Categories

Resources