Post Reply

3Minit Battery Mod

OP gharrington

2nd July 2014, 10:06 AM   |  #1  
gharrington's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 11,482
 
2,537 posts
Join Date:Joined: Apr 2012
Donate to Me
More


This mod allows you view over 1070 battery type and counting from various users. With a single click the battery will download and set itself on to your status bar.

But as stated don't worry about you storage space being used by thousands of useless icons as they are all on my server and only downloads the type you use.








1.Install app.

2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml

3. Look for:

Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Change to:

Code:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
4.Download the mod files and place them in smali/com/android/systemui/statusbar/policy folder.

5.Recompile and set permissions.


You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also you cannot alter in any way without permission from me first.

This is not a open source project and I share with you as is. All codes belong to and are copyright to me.


My wife and kids for giving up their time with me so I can do this. Love you guys.
@pas2001 for batterys, renaming icons and testing.
@*wii360* for renaming batterys and testing.
@xxmrgreenxx for renaming batterys.
@NadMaj for his battery archive.


Disclaimer: Download at your own risk. I am not responsible for any damage/data loss etc from flashing this framework.

XDA:DevDB Information
3Minit Battery Mod, App for the Samsung Galaxy S 4

Contributors
gharrington, pas2001

Version Information
Status: Beta
Current Beta Version: 0.1

Created 2014-07-02
Last Updated 2014-07-02
The Following 2 Users Say Thank You to gharrington For This Useful Post: [ View ]
23rd December 2014, 08:32 PM   |  #2  
Senior Member
Flag Beirut
Thanks Meter: 4
 
146 posts
Join Date:Joined: Apr 2010
More
hi , how can i uninstall 3minit battery mod ( it is preinstalled in the rom i use ), i tried to uninstall it using system application remover , it was uninstalled , but when i rebooted my cellphone , the UI crashed and it kept restarting .... any idea ?
Samsung Note 3 SM-N900
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes