1% Battery Mods - Update 09.2. Android 4.04 - Now incl. TUTORIAL

Search This thread

xTee

Senior Member
Aug 6, 2011
321
69
www.androidu.ro
What's the difference between icl53f apm, icl53f ab_apm_mid, icl53f ab_apm_low, icl53f ab_apm_high. Which one is working 100% with AR HD? Sorry for asking but i'm noob in g nexus roms and mods :/ thank you!

p.s: the apm has data on/off ?
 
Last edited:

sacksyboy

Senior Member
Jan 24, 2011
314
25
APM - Advanced Power Menu
Low, Mid, High - The level of auto-brightness.
 
Last edited:

forumsid987

Senior Member
May 10, 2010
145
4
Is there something like this that works for stock roms that are rooted but don't have a custom recovery?

Thanks!

Sent from my Galaxy Nexus using XDA
 

limkoksoon

Senior Member
Oct 24, 2007
318
1
Ipoh
guys, i would like to ask which of these files are safe to flash with Android Revolution HD 2.1.5 roms? Please help?
 

he_stheone64

Senior Member
Aug 1, 2008
5,033
10,991
Düsseldorf
Yes and no - if you are on Android 4.02, then the apk`s itself work for you from that folder, BUT without recovery and nandroid that is a bit risky. You can grab systemui.apk from the update zips and adb push them to system/app with 644 permission, but don`t do that if you don`t know, what you do and don`t have a backup of your stock systemui, which you can adb push in case of issues.
 

forumsid987

Senior Member
May 10, 2010
145
4
Yes and no - if you are on Android 4.02, then the apk`s itself work for you from that folder, BUT without recovery and nandroid that is a bit risky. You can grab systemui.apk from the update zips and adb push them to system/app with 644 permission, but don`t do that if you don`t know, what you do and don`t have a backup of your stock systemui, which you can adb push in case of issues.

I know how to push but don't know any of that other stuff. I hate Google for not including that option in stock. Well that and not including power buttons in the notification drop down, such important things.

Sent from my Galaxy Nexus using XDA
 

tossero

Senior Member
Sep 13, 2008
730
172
Samsung Galaxy S23 Ultra
I`m trying to get the 1% battery mod to work on my 4.04 stock Nexus for 3-4 hours now... Its getting me nuts . Obviously I am doing something wrong .
It worked just fine on 4.02 stock but not now!
If someone is willing and able to help me , please do !

PS: SystemUI.apk and icons attached .

Thank you in advance !
 

Attachments

  • SystemUI.apk
    828.1 KB · Views: 11
  • Battery_mod.zip
    814.9 KB · Views: 14

he_stheone64

Senior Member
Aug 1, 2008
5,033
10,991
Düsseldorf
It always pays off to read the error logs...

C:\apk_manager_5.0\other\..\projects\SystemUI404.apk\res\drawable\stat_sys_battery_charge.xml:715: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/stat_sys_battery_charge_animfull').

You simply forgot to include a stat_sys_battery_charge_animfull.png in xhdpi folder. So if the charge xml refers to that one and there is no resource, apktool can`t compile. So just add the missing png and you`re all set.

Here is the compiled version with your circle battery (CircleNewBattery1Stock404.zip)

Please post a screenshot, since there might be other users who want to use that one too (I could not test it, since I flashed AOKP).

http://minus.com/mbpeX6Yumh
 
Last edited:
  • Like
Reactions: tossero

tossero

Senior Member
Sep 13, 2008
730
172
Samsung Galaxy S23 Ultra
Thank you , it works just fine for me ! :)

Cheers~
 

Attachments

  • Screenshot_2012-03-31-09-01-00.jpg
    Screenshot_2012-03-31-09-01-00.jpg
    35.3 KB · Views: 298

wunit

Senior Member
Jan 18, 2008
133
10
Thank you , it works just fine for me ! :)

Cheers~

No problem for me too!
Stock 4.0.4 and install "CircleNewBattery1Stock404.zip" via CWR:D


Thanks but sorry, he_stheone64......
Is it possible to make the UI Patch (menu SoftKey always usable) as well for stock 404 ?
 
Last edited:

Tomasz89

Senior Member
Nov 28, 2010
76
15
Trying to download the Batterie mod File from minus.com but does not work. Are the links dead?

Sent from my Galaxy Nexus using XDA

EDIT: Okay worked on laptop. Strange that it doesnt work on my phone.
 
Last edited:

vk2bea

Senior Member
Sep 7, 2009
247
13
Washington D.C.
Worked for me on Revolution HD 3.0 (ARHD) using

"Android 4.04 Base
Battery Circle 1% Mod & Medium Auto Brightness Mod for Modaco ir11 B1"

As a bonus I also got the search soft button (I presume this came with the modified SystemUI.apk file for Modaco's ROM).:)
 

sacksyboy

Senior Member
Jan 24, 2011
314
25
Worked for me on Revolution HD 3.0 (ARHD) using

"Android 4.04 Base
Battery Circle 1% Mod & Medium Auto Brightness Mod for Modaco ir11 B1"

As a bonus I also got the search soft button (I presume this came with the modified SystemUI.apk file for Modaco's ROM).:)

I'm curious if you have any updates after further use. I would like to use this mod as well but it would be helpful to know if you have encountered any errors/issues?

Thanks.

Sent from my Galaxy Nexus using Tapatalk
 

nexicon

Senior Member
Aug 2, 2011
716
140
Kansas CIty
I can't for the life of me like the ugly search soft button. I want it pure and clean and with batterymod only. Anyway to revert to stock bottom key look but with a simple battery fix?? Also I'm using adhd 3.0. It should work amazing but waiting on decent ones. I'm only allowed to install the modaCo version of this customization. Please someone help?

Sent from my Galaxy Nexus using XDA
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    1% Battery Mod for Deodexed ROM`s

    As soon as I had my new GN in my hands, I had to mod it :D

    I`ve drawn completely new png`s, since old GB versions are way too small. Also control of these icons now moved from framework to systemui, but porting that to ICS was quite trivial.


    Credits: Paul O`Brian for UI patches (& me for latest versions :D)


    What does this Mod?

    It shows the battery symbol in 1% Steps in your Statusbar, also during charging


    Prerequsites:

    Unlocked, rooted, DEODEXED ROM, CWM Recovery
    DO NOT INSTALL on ODEXED STOCK ROM


    Installation:

    Flash zip in Recovery or via ROM Manager - Nandroid is as always highly recommended before you flash


    Tip: With Widgetsoid you can emulate Cyanogen Power Widgets perfectly on ICS, without the annoying popups known under GB with this or other comparable apps.(see Screenshot 2)


    NEW - since there are many ROM´s floating around with updates every day, I stop only offering the fish and better teach you fishing. I will still update it for some ROM´s, but can`t support them all


    Tools: Installed SDK & JDK, apktool or apkmanager, Notepad++


    Battery Patch is fairly simple (if you don`t include my UI patches):

    1. Decompile systemui.apk
    2. Copy stat_sys_battery.xml and stat_sys_battery_charge.xml from my zip in drawables folder and overwrite your stock xml´s
    3. Copy all 204 stat_sys_battery png`s from my (or another) zip in your xhdpi folder
    4. Compile and flash with one of my update zips


    To better understand what you do here:

    stat_sys_battery.xml controls the battery steps in status bar

    stat_sys_battery_charge.xml controls the battery steps in status bar while charging

    You need to add all png`s before you compile, so that ID`s for all new resources are added to public.xml.

    stat_sys_battery.xml, stat_sys_battery_charge.xml & circle battery png`s


    https://www.box.com/s/4bfa4a983f54238085a0


    Android 4.04 Base


    Battery Circle 1% Mod for stock deodexed ROM`s like ARHD 3.x

    http://minus.com/mbpeX6Yumh/7

    Battery Circle 1% Mod & Medium Auto Brightness Mod for Modaco ir11 B1

    In the download folder you find both mods incl. back to stock zips, in case you are not happy or have issues. Nandroid is nevertheless as always recommended.

    Download Folder:

    http://www.box.com/s/3zfsypc44ibi9viirrmv

    If you are not sure, what is what (even if file names are pretty clear), click on blue comment button for each file.


    IML74K Base

    New download folder for IML74K mods (since multiupload has issues since a while...)

    http://www.box.com/s/85kortrv1zborri0ymjb


    Screenshot:

    BatteryModCircleOpenKang.jpg


    BatteryModGaugeOpenKang.jpg



    ICL53F Base

    New download folder for ICL53F mods (since multiupload has issues since a while...)

    http://www.box.com/s/0chgsg8i912kk8xv3fqb


    ITL41F Base

    New download folder for ITL41F mods (since multiupload has issues since a while...)

    http://www.box.com/s/k8bodh9c9zjudzjfdfrv


    BatteryModHome.jpg


    BatteryModNoti.jpg


    BatteryModCircle.jpg
    6
    Alright, everyone. I've figured out how to pull this off. All links I'm providing are from posts already in this thread and are to put everything into one place.

    This is a step by step process.

    Just be sure we're on the same page, delete any folders and downloads you've already tried. Also, go into your C:\Users\username\ folder and DELETE THE APKTOOL folder! This will ensure a virgin install and should minimize any issues.

    Step 1: Download he_stheone64's version of APK Manager here: http://www.multiupload.com/JCTFOH7DQ6

    Step 2: Extract the contents of this zip into a new folder (named whatever you want, but with NO SPACES, IE: apk_manager) in your C:\Windows directory. (Why Windows? I'll explain later.)

    Step 3: Download he_stheone64's zipalign batch here: http://www.multiupload.com/IAFR5U6OJ4

    Step 4: Extract this into it's own folder anywhere you like. For simplicity, put it into your apk manager folder.

    Step 5: Download he_stheone64's template images and xml files here: http://www.multiupload.com/LFFT3Z4P02

    Step 6: Extract this into it's own folder anywhere you like. Name it in a way you know you will be copying files from here eventually.

    Step 7: Launch the Script.bat file.

    Note: If you like pulling your SystemUI.apk and Framework-res.apk files in other ways than ADB, you can skip to step 8.

    Step 8: Choose option 0 and pull your SystemUI.apk. It will be located at \system\app\SystemUI.apk and you can name it whatever you like when prompted.

    Step 9: Choose option 0 again and extract the framework-res.apk. It will be located at \system\framework\framework-res.apk and you can name it whatever you want when prompted.

    Step 10: These files will now be in your place-apk-here-for-modding folder. If you skipped to this step, well then PLACE these files in this folder.

    Step 11: Choose option 22 and select framework-res.apk (or whatever you named it) as your current project.

    Step 12: Choose option 9 and decompile framework-res.apk.

    Note: The astute of you will notice that when this step is working a new folder will be created under C:\Users\username\ called apktool and inside it will be a framework folder with a file called 1.apk. THIS is the reason we've been failing. I'll explain later.

    Step 13: Choose option 22 and select SystemUI.apk (or whatever you named it) as your current project.

    Step 14: Choose option 9 and decompile SystemUi.apk.

    Step 15: Copy the contents res folder from he_stheone64's source folder (the one I told you to rename in a way you knew you'd be copying from it) and paste it into the res folder of your SystemUI project. Choose to overwrite any conflicts.

    Note: If you have your own custom images, you would be copying those over instead. However, he_stheone64's XML files still need to be copied if you want all 1% battery steps.

    Step 16: Choose option 11 to compile your new SystemUI.apk. Say yes "y" to both prompts.

    Note: Having said yes to both prompts you will now have a folder in the root of your APK Manager folder called keep. And you will be prompted to do something with these files. Thus...

    Step 17: Delete the resources.arsc file in the root of keep.

    Step 18: Delete the drawable and the drawable-xhdpi folders.

    Step 19: Back in the script window press any key to finish the compile.

    Note: You now have a new file in your place-apk-here-for-modding folder called "unsignedSystemUI.apk". Or rather, "unsignedwhateveryounamedit.apk.

    Step 20: Copy the new "unsigned" apk you just compiled and paste into he_stheone64's zipalign folder that I had you create earlier. Run the batchalign.bat file.

    Step 21-Zip: If you prefer to use an update zip you can skip these last steps and instead create your zip. Rename the "unsigned" file back into it's proper name, IE: SystemUI.apk, and put it into he_stheone64's update zip, overwriting the one he has in there. That zip is located here: http://www.multiupload.com/Y40E9JNSXH

    Step 21-ADB: If you want to use the still-open APK Manager script window to push the SystemUI.apk back on your phone with ADB, then copy and paste your freshly zipaligned file (that you left named "unsigned") BACK into the place-apk-here-for-modding folder.

    Step 22-ADB: Choose option 8 and enter the full path of where you want your file to go. In this case "\system\app\SystemUI.apk". The script will automatically rename the file properly and push it to your phone.

    Final Step: Reboot.

    Congratulations, you now just completed your first UI mod. Hopefully I made the journey a positive experience for you.

    Now, I promised to explain a couple of things, so here goes.

    Why install into Windows? Well, ADB is a command shell and ideally you would actually be doing all your mod work in the C:\Program Files\Android\android-sdk\platform-tools folder. However, this folder path has a space right between "program" and "files", thus breaking the script tool. The ADB shell is recursive, though, and placing it into Windows allows access to it even if you're not in the proper folder.

    Why is the 1.apk file such a big deal (and is the reason I told you to delete everything prior to starting)? This tool is great in that it's built to uncompile and recompile apks across all Android devices. However, when dealing with custom UI's such as TouchWiz or Sense you have a custom framework. For standard every day apks this means nothing. However, for system- or UI-based apks, the framework tells it how to be built to work with the system. It just so happens that ICS is so advanced (or modified, if you prefer) in its UI, and UI-specific apks require the framework to function, we require ICS's framework. This tool isn't updated to recognize a framework-res.apk files as a needed resource since it expects TouchWiz or Sense frameworks, but if you decomplile ICS's framework first, before your failure with decompiling the SystemUI.apk, the tool will extract the framework elements it needs and install them as that 1.apk file. Keep in mind, however, that the tool will create a 1.apk (and other numbers) for ANY decompile that happens first. So if you tried and failed to get that SystemUI.apk to decompile you will already have some files in the apktool folder. And, if you struggled like I have, you'll have a few files in there to clean out.

    If you like what I did, please thank this post.
    3
    Update for IML74K

    Download stock 1% Icon:

    http://www.multiupload.com/GT6C55QPLW


    Download Circle 1% Icon:

    http://www.multiupload.com/Y40E9JNSXH
    2
    he_stheone64

    Any guide, how we can do this ourselves?

    No problem, it`s fairly simple once you have the code done. The hard work is building the icons, since most GB battery icons are too small. That`s why I`ve drawn the stock version from scratch

    Here is the How-To build your own battery mod

    Tools:

    • SDK
    • apktool or apkmanager
    • Photoshop or GIMP

    1. Decompile systemui.apk and make sure, you installed ICS framework before. Easiest way for starters is using apkmanager, you can install new framework with option 10, decompile with 9 and compile with 11.
    2. Drag either my stat_sys_battery icons in your drawable-xhdpi folder of decompiled apk or draw your own and do the same
    3. Drag my DECOMPILED stat_sys_battery.xml and stat_sys_battery_charge.xml in drawable folder of decompiled apk
    4. Now compile systemui.apk
    5. Zipalign apk
    6. Flash in recovery - you can use my update.zip, just drag systemui.apk in the app folder and overwrite my version
    2
    Update for ICL53F Base

    Download stock 1% Icon:

    http://www.multiupload.com/P9JIXLEZP1


    Download stock 1% Icon inkl. UI Patches from Paul O'Brien - search & menu

    http://www.multiupload.com/5IR617XWUM


    Download Circle 1% Icon:

    http://www.multiupload.com/IAT9QIE70D


    Download Circle 1% Icon inkl. UI Patches from Paul O'Brien - search & menu

    http://www.multiupload.com/XLB3CKQYMS