Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
One of the pitfalls with this approach is that if you want to apply a theme after applying this hack, the new custom framework-res.apk (containing the 10% battery) will be overwritten with the themed framework-res.apk -- hence losing the 10% battery effect. Essential for this hack to work is both the stat_sys_battery.xml file along with the resources.arsc file. The actual png icons can be added later at any time.
I wish there was a way to distribute a framework-res.apk file that made it possible only to update changes (call it a partial framework-res.apk update), rather than distribution of the entire framework-res.apk. That way only the updated portions of the framework could be updated, leaving any themed parts behind. The problem however arises if the theme creator modified the resources.arsc in any way.
Possibly the best way to distribute these two files would be either individually (which could then be applied using ninjamorph) or as a metamorph file. I'm not the biggest fan of either approach, however they would allow others to install this hack over a themed ROM (possibly).
The sure fire method would be to ask theme creators to create their themes with the ability to have custom 10% icons. That would probably be the best way (or have cvpcs add this in when the entire ROM is compiled -- which I'm betting has virtually no chance.).
The sure fire method would be to ask theme creators to create their themes with the ability to have custom 10% icons. That would probably be the best way (or have cvpcs add this in when the entire ROM is compiled -- which I'm betting has virtually no chance.).
I agree completely, Chevy has been working on a script to update the internal files of apk files using an update.zip script.
I agree completely, Chevy has been working on a script to update the internal files of apk files using an update.zip script. However i think you will run into problems when applying it to different framework files. Basically the best way to apply this hack right now is manually for a custom theme. Hopefully someone will figure out a simple way to apply this for any theme!