Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,781 Members 47,137 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
OsamaGhareeb
Old
(Last edited by OsamaGhareeb; 26th July 2013 at 01:15 AM.)
#1  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Default [Modding App] OGBatteryMod v2.1.0 (Android 2.3 - 4.2.2)





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 View Post
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.
The Following 256 Users Say Thank You to OsamaGhareeb For This Useful Post: [ Click to Expand ]
 
OsamaGhareeb
Old
(Last edited by OsamaGhareeb; 16th April 2013 at 01:40 PM.)
#2  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Default 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
The Following 65 Users Say Thank You to OsamaGhareeb For This Useful Post: [ Click to Expand ]
 
the_naturat_com
Old
(Last edited by the_naturat_com; 4th April 2013 at 10:49 AM.)
#3  
the_naturat_com's Avatar
Member
Thanks Meter 5
Posts: 89
Join Date: Jan 2013
Location: Poland, Niemce
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.


Phone: SGN GT-N7000 / SGS2 GT-I9100 / SGT2 7.0 GT-P3110 / Nokia 700 / Nokia N95 8GB
FW: C-RoM [4.4.4] / C-RoM [4.4.4] / MoKee [4.4.4] / 113.010.1506 by TNC / 35.0.001 by TNC
 
OsamaGhareeb
Old
#4  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Quote:
Originally Posted by the_naturat_com View Post
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 OsamaGhareeb For This Useful Post: [ Click to Expand ]
 
pabloltg
Old
#5  
pabloltg's Avatar
Senior Member
Thanks Meter 200
Posts: 267
Join Date: Jan 2012
Location: Córdoba
Amazing idea, but not work in MotoBlur system, the source code would help a lot to improve and expand compatibility...
 
OsamaGhareeb
Old
#6  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Default Re: [Windows][Modding App] OGBatteryMod (2013/03/09)

Quote:
Originally Posted by pabloltg View Post
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 OsamaGhareeb For This Useful Post: [ Click to Expand ]
 
pabloltg
Old
(Last edited by pabloltg; 10th March 2013 at 04:57 AM.)
#7  
pabloltg's Avatar
Senior Member
Thanks Meter 200
Posts: 267
Join Date: Jan 2012
Location: Córdoba
Nice, i will look the source and try..
 
OsamaGhareeb
Old
#8  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Source Code included
The Following 5 Users Say Thank You to OsamaGhareeb For This Useful Post: [ Click to Expand ]
 
Dragon7780
Old
#9  
Dragon7780's Avatar
Senior Member
Thanks Meter 3,225
Posts: 1,041
Join Date: Aug 2009

 
DONATE TO ME
Quote:
Originally Posted by OsamaGhareeb View Post
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
 
OsamaGhareeb
Old
#10  
OsamaGhareeb's Avatar
Senior Member - OP
Thanks Meter 2,116
Posts: 248
Join Date: Nov 2012

 
DONATE TO ME
Quote:
Originally Posted by Dragon7780 View Post
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 OsamaGhareeb For This Useful Post: [ Click to Expand ]
Tags
battery, mod, style, tool
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes