[MOD] Battery percentage MOD Tool for Android 4.3

Search This thread

miicho85

Senior Member
Aug 5, 2012
112
4
Chicago
Can someone help me out with a flashable zip with circle battery ? im a noob and have not found a deodexed mod for it
 

jak3z

Senior Member
Aug 7, 2010
750
311
A Coruña
www.ziritione.net
There is a bug in the application, it won't replace the following images with the modded ones:
stat_sys_battery_0.png, stat_sys_battery_15.png, stat_sys_battery_28.png, stat_sys_battery_43.png, stat_sys_battery_57.png, stat_sys_battery_71.png, stat_sys_battery_85.png, stat_sys_battery_100.png
Neither the corresponding to the charging animation.

More info: The problem is located when you update the zip file files with 7za -u, looks like the files mentioned before got created with the solid option turned on and therefore cant be updated.
 
Last edited:

donkeyhitman

Senior Member
Aug 8, 2010
693
132
Toronto
Yes. For charging, it switches back and forth between the modified charging PNG and non charging PNG. Also at the 85%, 71%, 57%, 43%, 28%, and 15% mark,there is no percentage number in the icon.

Nice catch. I was wondering why once in awhile my modded icon reverted back to the stock icon. I too will have to find the missing PNGs.
 

jak3z

Senior Member
Aug 7, 2010
750
311
A Coruña
www.ziritione.net
Nice catch. I was wondering why once in awhile my modded icon reverted back to the stock icon. I too will have to find the missing PNGs.

The problem is not the PNGs, the problem is that during the APK creation, the tool can't copy the modded files for that percentages, so in the APK you install (you can check with 7Zip under res folder, xhdpi) the icons are the stock ones. To fix it, you just need to open the APK with 7Zip, navigate to the res folder, drawable-xhdpi, and drag and drop the files for that percentages, or just drop the entire set (204) and close 7Zip, you can then get the apk into the zip file and flash it right away.

If thats too complicated I can do it for you if you provide me the icon set you want meanwhile the autor fix it.
 
  • Like
Reactions: brainmaster

jvbferrer

Senior Member
Dec 12, 2011
203
62
Valencia, Spain
I got a SystemUI forced close error everytime, and I only could fix it by restoring a previous copy of SystemUI.apk through adb. Stock rom 4.2.1

Enviado desde mi Nexus 4 usando Tapatalk 2
 

jak3z

Senior Member
Aug 7, 2010
750
311
A Coruña
www.ziritione.net
I got a SystemUI forced close error everytime, and I only could fix it by restoring a previous copy of SystemUI.apk through adb. Stock rom 4.2.1

Enviado desde mi Nexus 4 usando Tapatalk 2

Do not use the generated zip, use the one attached to the first post, and drop the apk inside the system/app/ folder. Flash that zip :good:

If you need help just poke me.
 

donkeyhitman

Senior Member
Aug 8, 2010
693
132
Toronto
The problem is not the PNGs, the problem is that during the APK creation, the tool can't copy the modded files for that percentages, so in the APK you install (you can check with 7Zip under res folder, xhdpi) the icons are the stock ones. To fix it, you just need to open the APK with 7Zip, navigate to the res folder, drawable-xhdpi, and drag and drop the files for that percentages, or just drop the entire set (204) and close 7Zip, you can then get the apk into the zip file and flash it right away.

If thats too complicated I can do it for you if you provide me the icon set you want meanwhile the autor fix it.

Thanks, but I was referring to this one that was created by Brainmaster himself. He obviously used the same tool but didn't notice the small glitch.

Unfortunately for me the set of icons I want is no longer available for download. :(
 

jvbferrer

Senior Member
Dec 12, 2011
203
62
Valencia, Spain
Do not use the generated zip, use the one attached to the first post, and drop the apk inside the system/app/ folder. Flash that zip :good:

If you need help just poke me.

I used the .bat inside the zip I downloaded, with my own SystemUI.apk and framework-res.apk to generate the mod. Then I pushed the new SystemUI.apk to my device's system/app folder, restarted and the error started.

Enviado desde mi Nexus 4 usando Tapatalk 2
 

hammmy

Member
Nov 25, 2010
46
12
The battery icon ends up being a little small for my settings. Any way I could get it to be bigger?

00nd5.png

You should use the xhdpi resources and not hdpi.

Anybody else know what OP meant here? I would also like to know how to make the icons appear the same size as the clock and radio.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    So, since there wore many requests for the battery percentage mods, I've ported this MOD Tool so that its now working with Android 4.3.

    Download the zip file, read the instructions.txt file, follow the instructions and be happy.

    Included are 18 different battery styles. Some can be found here.

    When the new Android build gets released, I'll update the tool.

    If you can't flash it using the MOD Tools own flash zip, then take the SystemUI.apk from the Output Files/Modded Apk folder and drop it in the attached Battery MOD Flasher zip in the system/app folder. Flash it in the recovery.

    EDIT: Added the Battery.percentage.modifier. Once you have modded the SystemUI with the mod tool and you want easily to change the battery icons, just drop the 204 png's in the BM.Battery.percentage.modifier.zip\vrtheme\system\app\SystemUI.apk\res\drawable-xhdpi folder and flash the zip in the recovery.

    Download Battery MOD Tool for Android 4.3
    25
    Here we go, attached are again 4 flashable zip's for the Nexus 4 unmodified Stock ROM 4.2.2 (JDQ39). If anybody wants other images from the image resources just tell me.

    Always keep a backup of SystemUI.apk (and SystemUI.odex; located in /system/app/), you might need those for future OTA updates and of course in case something goes wrong.
    14
    don't know they are the correct steps or not, but it seem works

    Works perfectly, thanks. I made the following 4 flashable zip's for the Nexus 4 unmodified Stock ROM 4.2.1 (JOP40D) for the lazy ones.

    Edit 2:
    The zip's are perfectly working now, thanks to floepie!
    7
    Just tested, using OP's tools, follow ygvuhb's step and floepie's adjustment

    This method works on 4.2.2 too

    GREAT;)

    STEP

    1. Download Battery MOD Tool for Android 4.2.1, unzip it and choose which battery icons your like (in "Image Resources" folder)
    2. Copy battery icons into "Input_Images"
    3. Using root file explorer go to your nexus 4's \system\app\ copy "SystemUI.apk" and \system\framework\ copy "framework-res.apk"
    4. Paste "SystemUI.apk" & "framework-res.apk" in folder "Battery_Mod_Tool_for_Android_4.2.1\Input_APKs "

    5. Edit "Battery_Mod_Tool_for_Android_4.2.1\Working_Dir\Mod_Battery.bat and exchange line 81---> http://xdaforums.com/showpost.php?p=36893421&postcount=95

    6. Double-click "Battery_Mod_Tool_for_Android_4.2.1\Working_Dir\Mod_Battery.bat" and sit back and wait
    7. Download Brainmasters.Battery.Mod.Flasher.Nexus.4.zip
    8. Copy the updated SystemUI.apk (in "Battery_Mod_Tool_for_Android_4.2.1\Output\Modded_ APK") and use 7zip paste it in Brainmasters.Battery.Mod.Flasher.Nexus.4.zip\system\app\ (don't unzip it)
    9. Brainmasters.Battery.Mod.Flasher.Nexus.4.zip is updated, copy it in your nexus 4 and boot to recovery , flash it
    10. Reboot your nexus 4, then your will get the updated battery icons
    6
    Hi there,
    Here is the flashable zip i created with the help of brainmasters great tool and Hung0702s generated PNGs.
    I flashed it with RomManager -> "Flash Rom from SDcard" and it worked just fine - no bootloops or anything.

    As you can see in the screenshot, the size matches the other icons and looks great.
    I used the SystemUI.apk and framework-res.apk from my device, which has the stock JellyBean 4.2.1 JOP40D Build installed.
    Have fun with it!

    The Icons in the "Quick-Settings-Menu" (swipe down with two fingers) are not altered!