bump.. anyone out there able to help me? if so, shoot me a PM and I can shoot you my files.
If you're looking for better than 10% i'm pretty sure there's one vital element you're missing that android has to have. Java. The xml only provides your values, the Java tells android what to do with it. classes.dex is the compiled Java program in most apk's. Decompiling it gets you smali files, but not actual raw Java source. Without the additional progressions programmed into the Java program, there's no way you're getting what you're looking for.
You can try this method to de compile into raw code, i just found it and haven't seen it work yet. Android beginners: .dex format to .jar format
Like i said, i have no idea if it works, but it's worth a shot. Java is a whole new animal though from xml but if you can see the source at least, you can probably copy and paste progressions and change numbers and stuff.
If you need help setting up eclipse, let me know, i can give you a few tips. If you already have it set up, even better.
Last edited by powder; 03-07-2011 at 06:07 AM.
actually - not looking for "better" than 10%, just 10% would be awesome. The system can read 10% as seen in any battery widget, but the notification icons & bar only do 20% as seen in the stats battery XML file.
I have done so much research on this, it is silly. It really comes down to correctly decompiling the framework and then recompiling and correctly signing the framework with the modified stats battery XML file with 10% increments and placement of the additional 10% icons.
on a mac, I just cannot setup the apps and environment I need to do it. but the concept is so easy and straight forward... someone who knows how to decompile, edit, recompile and have the APK signed correctly could likely do this mod in minutes
Last edited by Lock-N-Load; 03-07-2011 at 07:57 AM.
In Android 2.3.3, by default has support for 5% images (has an image for each 5% increment). it seems to be working fine without bouncing around or other ill effects. You should be able to use 5% if you get it working, unless you load an Android 2.3.3 gingerbread rom, then you can just add in your images.
Sent from my Droid using Tapatalk
Rom: CyanogenMod 7 Winner00's Nightly #85
Recovery: ClockworkMod 220.127.116.11
Kernel: Prime's deprimed_test
Launcher: ADW EX 1.2.2
Launcher Theme: Gingerbread
yeah, I am still on Froyo on my D1. 5% would be awesome though. Just not jumped into a GB ROM yet as I tend to like my ROMs stock, so if I do, it would be one of Pete's
Anyway, in Froyo on the D1, just adding the additional 10% images will not get them noticed in this setup. I can and have added the images with Metamorph (even custom made my own). That is easy. The whole issue is correctly editing the stats battery XML file - even that is easy - to get the system to then start to use these newer 10% extra icons and for that to even work, it has to be correctly recompiled and signed and that is my issue... which is why I have added my files here so if anyone can do it, that have all they need right here.