FORUMS
Remove All Ads from XDA

3Minit Battery Mod Updated: [03/09/15]

2,937 posts
Thanks Meter: 12,504
 
By gharrington, XDA Ad-Free Senior Member on 30th June 2014, 08:17 AM
Post Reply Email Thread


This mod allows you to view an increasing 1,070 battery types, from different users. With a single click, the battery will download and set itself on to the status bar.

Storage space is not affected by thousands of unused .png's. They're stored on a server and the App only downloads the type you use.






1.Install app. (Do this first or you will get SystemUI FC).

2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml (for some older samsung devices: tw_status_bar.xml) or system_icons.xml for android 5.x
Use apktool v2.x.x or you may get recompile errors


3. Look for the line that contains:

Code:
<android:id="@id/battery
In the line that contains android:id="@id/battery find:

Code:
android:layout_width="wrap_content" and android:layout_height="wrap_content"
And change to:

Code:
android:layout_width="0.0dip" and android:layout_height="0.0dip"
then directly under this line add:

Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
4.Download the files and place the .smali files in smali/com/android/systemui/statusbar/policy folder. Then push 3MinitBatteryResources.apk to system/app or system/priv-app folder. As from 20/12/14

5.Recompile and set permissions.

Here is a how to video made by @carl1961 thanks.



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 me and are copyrighted.


Github
3MinitBatteryModFiles_v4.1.1.zip

MD5: 9150f28dad0bd9da8fbc66cb08285b4e


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.
************************************************** **

List of users name we must thank (they share battery icons to USERS folder )

type 0 @wiecho65
type 1 - 4 @jaguaralani
type 5 @friedrich420 and Echoe Team
type 6-11 @BioVolt from http://forum.xda-developers.com/showpost.php?p=30686254
type 12 @NEXT14
type 13 @mcnaught82
type 14 @mydonose
type 15 @peppe130
type 16 - 21 @Carotix
type 22 @roirraW "edor" ehT
type 23 - 27 @brittnearl
type 28 @viktor_android
type 29 @goa
type 30 @icedventimocha
type 31 @mikeauto3
type 32-55 @Jamison904
type 56-58 @AL_IRAQI
type 59-68 @chalofito


type 35 in colourable folder @seba112
Thank to you all verymuch

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 all devices (see above for details)

Contributors
gharrington, pas2001
Source Code: https://github.com/gharrington/3Minit_Battery_Mod.git


Version Information
Status: Stable
Current Stable Version: 4.1
Stable Release Date: 2015-09-03

Created 2014-06-30
Last Updated 2016-08-08
The Following 374 Users Say Thank You to gharrington For This Useful Post: [ View ] Gift gharrington Ad-Free
 
 
30th June 2014, 08:17 AM |#2  
gharrington's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 12,504
 
Donate to Me
More
Post Changelog

v4.1.1(08/08/2016)
Update to free app only
Various bug fixes
App can now automate update with 1 click.

v4.1.0(29/06/2016)
fixed percentage text in colourable types not showing on MM
Added select font for percentage text in colourable types (Paid Only)
Small updates and tweeks to free app.
Bumped free app to version 4.1.0 to match paid version

v3.1(16/05/2015)
Fixed charging issues
Changed theming on paid app

v3.0 (30/4/2015)
Please note:

The implementation of this mod has changed. From now on, you will no longer require the 3MinitBatterySettings.apk to be installed to make this mod work. Instead, you must install the 3MinitBatteryResources.apk included in the download. I have also changed the package name of the free app.

+Download type as zip instead of individual files.

V2.2 (01/10/2014)
+Ability to choose the default save location
+Bug fixes

V2.1 (03/09/2014)
+Bug fixes
+Better support for older devices with a lower density screen
+italian and arabic translations
+New support link in settings tab
+ads to help support mod
+new notification system so I can notify you of upcoming updates.

V2.0 (23/08/2014)
+Notification dialog for new battery types and authors
+Now creates .nomedia files to hide batteries from gallery (if you are an existing user you must restart device after running new app for first time)
+Fixed charging animations
+New authors
+Choose colourable battery colour (Normal, mid, and low)
+Set colourable battery text colour
+Set colourable battery text size
+Set mid and low battery value
+Bug fixes
+New UI theming
+Language translations for Thai, Polish and German (Thanks to 3Minit team members for this)

V1.0 (24/07/2014)
Completely new app with multithreading for fast download speeds.
+ Can save battery types to storage for later use.
+ Can change battery size
+ Bug fixes

V0.1 (BETA) (30/06/2014)
Initial release


The Following 81 Users Say Thank You to gharrington For This Useful Post: [ View ] Gift gharrington Ad-Free
30th June 2014, 08:17 AM |#3  
gharrington's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 12,504
 
Donate to Me
More
Troubleshooting
Coming soon.
The Following 35 Users Say Thank You to gharrington For This Useful Post: [ View ] Gift gharrington Ad-Free
30th June 2014, 08:30 AM |#4  
pas2001's Avatar
Recognized Themer
Flag Bangkok
Thanks Meter: 7,946
 
Donate to Me
More
RAW INDEX (Temporary)


Thread portion

This part I mean to paste the link to threads that share our mod and respect our shared policy . So if you guys open your own thread to share please tell me to add your thread link here . The things we need is don't change such any parts of mod and app...clarify in thread about our right as the following friends do in their threads .

GALAXY TAB2 P 3100 from @-SAM-
http://forum.xda-developers.com/show....php?t=2875372

OnePlus One...3minit Battery mod V2 - CM 11 STABLE from @markbencze

http://forum.xda-developers.com/onep...table-t2851108

OnePlus One....3Minit Battery Mod for Stock CM11s 33R from @DaOldMan

http://forum.xda-developers.com/onep...8#post55264498


LG G3...3Minit Battery Mod V10H/I/J from @S3V3N

http://forum.xda-developers.com/lg-g...10h-j-t2857716

Nexus5 3minit bat mod from @markbencze

http://forum.xda-developers.com/goog...3/post55169524

Sprint Samsung Galaxy Note 3 : VisionX 3minit Battery Mod from @DevilDog512

http://forum.xda-developers.com/note...ttery-t2836239

Verizon Samsung Galaxy Note 3 : 3Minit BatteryMod + Flashlight Tog for Stock/Rooted/NC4 from @deuce_biggins
http://forum.xda-developers.com/veri...ooted-t2828305

NEXUS 6 STOCK ROM http://forum.xda-developers.com/show...postcount=2697

Nabi2 (NABI2-NV7A)- 4.4.2 KK/Stock http://forum.xda-developers.com/andr...-0-13-t3046290

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++


************************************************** ***********************************************
V.3 start from post #2996

Resurrection Remix V.5.4.3 (I-9300) http://forum.xda-developers.com/show...postcount=3007

GALAXY S5 900f alliance ROM v8 http://forum.xda-developers.com/show...postcount=3022

************************************************** *************
THIS IS S5 FRAMEWORK FILES I PASTE FOR HANDY MEN WHO DON'T HAVE YET
Thank for @friedrich420

http://www.mediafire.com/download/xc...FRAMEWORKS.rar

New APKTOOL from GARY in case you have issues with new systemUI compile

http://www.mediafire.com/download/ah...pktool-cli.jar




The Following 30 Users Say Thank You to pas2001 For This Useful Post: [ View ] Gift pas2001 Ad-Free
30th June 2014, 09:06 AM |#5  
Goldie's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter: 22,922
 
Donate to Me
More
Nice work mate

Sent from my SM-G900F using Tapatalk
The Following 3 Users Say Thank You to Goldie For This Useful Post: [ View ]
30th June 2014, 09:07 AM |#6  
alvin551's Avatar
Senior Member
Flag Swansea
Thanks Meter: 664
 
Donate to Me
More
Nice work Gary!! looking forward to trying this when i get home

Edit: Am I missing the download link?
The Following 3 Users Say Thank You to alvin551 For This Useful Post: [ View ] Gift alvin551 Ad-Free
30th June 2014, 09:20 AM |#7  
gharrington's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 12,504
 
Donate to Me
More
Quote:
Originally Posted by alvin551

Nice work Gary!! looking forward to trying this when i get home

Edit: Am I missing the download link?

Click Downloads tab at the top of thread mate.
The Following 11 Users Say Thank You to gharrington For This Useful Post: [ View ] Gift gharrington Ad-Free
30th June 2014, 09:52 AM |#9  
Mr Impossible's Avatar
Senior Member
Flag 305
Thanks Meter: 1,202
 
Donate to Me
More
Awesome Gary!

Sent from my SM-G900F using Tapatalk
The Following User Says Thank You to Mr Impossible For This Useful Post: [ View ] Gift Mr Impossible Ad-Free
30th June 2014, 12:32 PM |#10  
gharrington's Avatar
OP Senior Member
Flag Brisbane
Thanks Meter: 12,504
 
Donate to Me
More
Any feed back guys?
The Following 4 Users Say Thank You to gharrington For This Useful Post: [ View ] Gift gharrington Ad-Free
30th June 2014, 02:29 PM |#11  
G.M.L's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 612
 
More
Where is download mod? and nothing its here with tapatalk and with browser
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1404134926945.jpg
Views:	4456
Size:	14.1 KB
ID:	2825482   Click image for larger version

Name:	uploadfromtaptalk1404134948293.jpg
Views:	4375
Size:	18.6 KB
ID:	2825483  
Post Reply Subscribe to Thread

Tags
3 minit, 3minit, battery, battery mods, mod

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes