FORUMS

Analysis & Opinion

Top Forum Discussions

[Modding App] OGBatteryMod v2.1.0 (Android 2.3 - 4.2.2)

301 posts
Thanks Meter: 3,468
 
Post Reply Subscribe to Thread Email Thread




This app change Battery Style on the StatusBar and you can choose from 15 styles without rebooting.
Works on Windows and needs .NET Framework 4.0 & Java on your PC.

Usage:
Download OGBatteryMod and extract files
Run OGBatteryMod.exe
Step 1:
In step 1 there are 3 options
Option 1 : Download & Mod Apps from connected device
________ Reading connected devices
________ Download required files
________ Deodexing
________ Modding
Option 2 : Mod an existing files
________ To mod an existing file on your computer
________ use this option if you can't see your device
________ or if you get Failed to download files
Option 3 : Add & Delete styles
________ To add your styles

Step 2:
Downloading necessary files
___ SystemUI.apk & Settings.apk & Resources & framework files for deodexing

Step 3:
Adding OGBatteryMod
___ Modding, Signing and ZipAlginning (SystemUI.apk & Settings.apk)

Step 4:
In step 4 there are 3 options
Option 1 : Apply changes & restart device (Root)
________ Copy modified SystemUI.apk & Settings.apk to '/system/app'
________ Rebooting your device
Option 2 : Copy new files to '/sdcard/og' (Root)
________ Copy modified SystemUI.apk & Settings.apk to '/sdcard/og'
________ Use this option if you Get (Failed to get ROOT access) and then copy modified files manually OR if you want to copy modified files manually
Option 3 : Create Flashable Zip (No Root)
________ Create 2 flashable Zips (Mod & Backup)
________ Works in Stock Recovery Tested on SGAce2 & SGNote)

After install:
___Click the battery icon 3 times to open OGBatteryMod Settings

___Or Go to Settings >> Display >> Battery Style >> Choose your style
___Enjoy

Bugs:
1- Failed to decompiling SystemUI
___ The problem from apktool
___ (Exception in thread "main" brut.androlib.AndrolibException: Multiple resources)

2- SystemUI & Settings FC (Force Close) or StatusBar not shown
___ 1- Open up the command prompt
___ 2- Navigate to (folder where you extracted this app)\tools
___ 3- Type ( adb logcat -d > Logcat.txt )
___ 4- Upload Logcat.txt file

3- Failed to get ROOT access
___Copy all files that located on 'sdcard/og' to 'system/app' then reboot



Quote:
Originally Posted by Luther Blissett

Well this is mighty interesting, I tried enabling charging animations, now the icons in the floating panel are back in their correct positions. But the funny thing is, I disabled the animations again, the icons stayed in place anyway, and even after rebooting they're still where they should be. So whoever has a problem of icon spacing after applying this mod in a Jelly Bean tablet, try switching the charging animations on, you might get lucky too.



Note:

___ If you want to back to original files (because SystemUI FC)
___ You can find the original files in :
___ 1- (folder where you extracted this app)\tools
___ 2- sdcard/OG/Backup

Download:
Download links in Post 2

Tested on:
Samsung
Galaxy Ace 2
Galaxy S1
Galaxy S2 by Michael B.N.
Galaxy S3 by Dragon7780
Galaxy Ace by SpaceCaker
Galaxy Note by and2
Galaxy Note 2 by Esj618
Galaxy Note 2 CDMA by ForeverSupra
Galaxy Nexus by karankumar
Galaxy Tab 7.7 by UpInTheAir
Galaxy Tab 2 10.1 by brolee93
Galaxy Grand by hosamomr

Sony
Xperia Mini St15i by GregórioAxiaMagno
Xperia U by SpaceCaker
Xperia P by SpaceCaker
Xperia S by SpaceCaker
Xperia T by SpaceCaker
Xperia Go by SpaceCaker
Xperia Sola by SpaceCaker
Xperia J by SpaceCaker

Motorola
ATRIX 2 by oscar_pan
Razr by bg_man

Acer
Iconia Tab by Luther Blissett

HTC
Desire by Ape_D

LG
Nexus 4 by atabey



Screenshot :






After Install


Styles :
More styles here



Source Code:
Visual Studio 2010 - VB.NET
OGBatteryMod v2.0.1 - GitHub


---------------------------------------------

If there are any issues, please report.
Last edited by OGMods; 26th July 2013 at 01:15 AM.
The Following 265 Users Say Thank You to OGMods For This Useful Post: [ View ]
 
 
8th March 2013, 08:21 PM |#2  
OGMods's Avatar
OP Senior Member
Thanks Meter: 3,468
 
Donate to Me
More
Change Log

OGBatteryMod v2.1.0
-Fix 'Mod an existing files' bug

OGBatteryMod v2.0.1
-Fix create Flashable Zip bug

OGBatteryMod v2.0.0
-Add option to create Flashable Zip (Works on stock recovery)
-Support odexed files in option 2 (Mod an existing files)
-Support unrooted devices (Flashable Zip) - (Tested on Unrooted SGNote)
-Support Android 2.3
-Fix bugs


OGBatteryMod v1.7.9
-Fix OGBatteryMod Force Close OGBatteryMod v1.7.8
-New interface

OGBatteryMod v1.7.7
-Fix wrong line placement in some display_settings.xml files
-Support MIUI
-Fix bugs

OGBatteryMod v1.7.6
-Fix bugs

OGBatteryMod v1.7.5
-Update aapt & adb
-Fix bugs


OGBatteryMod v1.7.2
-Options clickable now
-Fix ZipAligning bugs
-Fix bugs

OGBatteryMod v1.7.0
-Add option to (Add & Delete Styles)
-Fix compatibility on android 4.2.2
-Fix ZipAligning bugs

OGBatteryMod v1.6.1
-Fix (Scanning connected devices) bug

OGBatteryMod v1.6.0
-Fix OGBatteryMod compatibility on android v4.0.4
-Fix (apply changes & restart device) bug
-Fix deodexing bug

OGBatteryMod v1.5.5
-Add option to mod an existing files

OGBatteryMod v1.5.1
-Fix 'Settings.apk not modded'

OGBatteryMod v1.5.0
-Click the battery icon (on StatusBar) 3 times to open OGBatteryMod Settings
-Fix stupid bug (Selected = 1 AndAlso Selected = 2)
-Set correct permissions after modding (644)
-Add option to Mod Settings.apk or not

OGBatteryMod v1.4.1
-Charge animation changed
-SystemUI crash fixed

OGBatteryMod v1.4.0
-Fix bugs
-Add 3 options to apply changes

OGBatteryMod v1.3.0
-Add select device option
-Fix wrong line placement in display_settings.xml
-Hide battery percentage

OGBatteryMod v1.2.2
- Fix charging icons

OGBatteryMod v1.2.1
- Add select Settings file option

OGBattreyMod v1.2.0
- Fix bugs

OGBattreyMod v1.1.0
- Fix bugs

OGBattreyMod v1.0.0
Last edited by OGMods; 16th April 2013 at 01:40 PM.
The Following 70 Users Say Thank You to OGMods For This Useful Post: [ View ]
8th March 2013, 10:32 PM |#3  
the_naturat_com's Avatar
Senior Member
Flag Poland, Niemce
Thanks Meter: 11
 
More
The application works well, but it is a mistake of this modification. After the restart following error "SystemUI" and "Settings". Modification damage these applications. I have KYRILLOS v6B.
Last edited by the_naturat_com; 4th April 2013 at 10:49 AM.
9th March 2013, 12:09 PM |#4  
OGMods's Avatar
OP Senior Member
Thanks Meter: 3,468
 
Donate to Me
More
Quote:
Originally Posted by the_naturat_com

The application works well, but it is a mistake of this modification. After the restart following error "SystemUI" and "Settings". Modification damage these applications. I have KYRILLOS v6B.

Download this version
The Following 7 Users Say Thank You to OGMods For This Useful Post: [ View ]
9th March 2013, 02:27 PM |#5  
pabloltg's Avatar
Senior Member
Flag Córdoba
Thanks Meter: 203
 
More
Amazing idea, but not work in MotoBlur system, the source code would help a lot to improve and expand compatibility...
9th March 2013, 06:37 PM |#6  
OGMods's Avatar
OP Senior Member
Thanks Meter: 3,468
 
Donate to Me
More
Re: [Windows][Modding App] OGBatteryMod (2013/03/09)
Quote:
Originally Posted by pabloltg

Amazing idea, but not work in MotoBlur system, the source code would help a lot to improve and expand compatibility...

Can you upload your deodexed SystemUI.apk and SecSettings.apk?
The Following 2 Users Say Thank You to OGMods For This Useful Post: [ View ]
9th March 2013, 07:45 PM |#7  
pabloltg's Avatar
Senior Member
Flag Córdoba
Thanks Meter: 203
 
More
Nice, i will look the source and try..
Last edited by pabloltg; 10th March 2013 at 04:57 AM.
9th March 2013, 08:06 PM |#8  
OGMods's Avatar
OP Senior Member
Thanks Meter: 3,468
 
Donate to Me
More
Source Code included
The Following 5 Users Say Thank You to OGMods For This Useful Post: [ View ]
10th March 2013, 04:17 PM |#9  
Dragon7780's Avatar
Senior Member
Thanks Meter: 4,584
 
Donate to Me
More
Quote:
Originally Posted by OsamaGhareeb

Source Code included

Can you get the mod to work for a cm10.1 rom

Trying to implement it into my upcoming rom. but i cant get it to work... Some help would be nice
10th March 2013, 04:40 PM |#10  
OGMods's Avatar
OP Senior Member
Thanks Meter: 3,468
 
Donate to Me
More
Quote:
Originally Posted by Dragon7780

Can you get the mod to work for a cm10.1 rom

Trying to implement it into my upcoming rom. but i cant get it to work... Some help would be nice

What's your device?
The Following 3 Users Say Thank You to OGMods For This Useful Post: [ View ]
10th March 2013, 04:41 PM |#11  
Dragon7780's Avatar
Senior Member
Thanks Meter: 4,584
 
Donate to Me
More
Quote:
Originally Posted by OsamaGhareeb

What's your device?

sgs3

Read More
Post Reply Subscribe to Thread

Tags
battery, mod, style, tool
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes