• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE] 1% Battery Mod

Jaay Dogg

Android Expert
......................................Battery Mod Info............................................
This Mod is tested on the boost mobile Evo design 4G. First download the mod zip on your PC & Along with whatever rom you want to give 1% battery increments to. Open the mod zip with 7zip or an equal program & open the XML's folder & copy both of the xml files & then open the rom you are modding & follow this path system/framework/framework-res.apk/res/drawable & paste the files over the two that are already there ( Open the apk file with 7zip). Next open the mod zip again go into PNG's this time & copy all png's, then follow this path on the rom your modding system/framework/framework-res.apk/res/drawable-hdpi & paste all the battery png's into this folder. Now close 7zip & it will ask if you want to compile YES. Once done transfer rom to SD card on your phone & flash rom, You now have 1% battery increments.
Note: this mod is for use when building Roms or adding to one. DO NOT FLASH MOD IN RECOVERY!
Also you use whatever PNG's for the battery that want just make sure you have all 100 battery PNG's & Charging PNG's.
By Jaay Dogg............Enjoy the mod..............................:D

Link To Mod Zip: 1% Battery Mod.zip
 
I don't see the point in recreating or putting out something that is done pretty easy via here UOT Kitchen . The other things is you forgot a xml, you may want to point out that you better deodex, then the last thing you can't just use any charging images. You need to keep the same names you used in those xml's, along with the same amount of images. Aka 100 charge and discharge icons. Where in some battery packs they only have say 20 charging icons, if someone decides to use them it is going to screw everything up.
 
This guide will not require the use of UOT Kitchen, a simple copy & paste like the guide says & it will work. Only if the rom version goes up to 4.0.4 or higher you would need to decompile stock framework-res.apk then put the mod files in the decompiled framework & recompile with apk manager or linux variant. About the battery PNG's either use a full set or make the ones your missing.
 
I don't see the point in recreating or putting out something that is done pretty easy via here UOT Kitchen . The other things is you forgot a xml, you may want to point out that you better deodex, then the last thing you can't just use any charging images. You need to keep the same names you used in those xml's, along with the same amount of images. Aka 100 charge and discharge icons. Where in some battery packs they only have say 20 charging icons, if someone decides to use them it is going to screw everything up.

This is how I gave my rom heavenly divine rebirth 1% battery increments when this rom doesn't come with 1% battery incraments, so I'm gonna say it works just fine. the names are already good to go in the mod zip, I have been inside of SO MANY different roms for different phones so I know all about PNG's. In the framework-res.apk the battery icons (PNG's) are almost always named the same thing this is how theme porting is done copy & paste.
 
I'm not a idiot, all the stuff you are using I've either did or done did a good while ago. I've also been inside of roms, so it isn't nothing new. You are missing the zz charge one though it will work with out it. I've also seen the battery names changed and only around 20 images for charging instead of the full 100. Mainly in roms that is going for fast side of things as adding the extra 80 adds to the framework.
 
I'm not a idiot, all the stuff you are using I've either did or done did a good while ago. I've also been inside of roms, so it isn't nothing new. You are missing the zz charge one though it will work with out it. I've also seen the battery names changed and only around 20 images for charging instead of the full 100. Mainly in roms that is going for fast side of things as adding the extra 80 adds to the framework.
I didn't mean for you to take it like that I'm sorry if you were affended :confused:. I know that my rom is missing some charging icons, I've been making PNG's all day for the com.htc.resources.apk & The missing battery PNG's are made now. This is my first Go round with ICS.
 
Huh? I never even looked at your rom and not what I meant. I gave pointers to your guide, though I did say not sure why it is needed. As the average person doesn't know how to decompile apks. Then you pretty much said I was wrong based on your post. In reference to the following: I have been inside of SO MANY different roms for different phones so I know all about PNG's. In the framework-res.apk the battery icons (PNG's) are almost always named the same thing this is how theme porting is done copy & paste.

Yet your keyword was always, I wasn't bashing your work. I was telling you what I know to make your first post better. Though I missed your theme porting thing, Where sorry to tell you if you are one of the 7zip drag and droppers, you more then likely messed up all the .9s. Then if not if you drag and drop .9's where they are different. You will also have issues recompiling or display issues. I understand that .9's have no reference to this thread, just wanting to point it out. As half the time you can't just drag and drop to port a theme.
 
Back
Top Bottom