yashsingh1/xdaforums huggingface dataset:
[Android Software Development] MDMonster:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/16/03)

How about this on an Archos 80 G9 running PA 3 (JB 4.2.2) ? I don't wanna risk trying because this thing is a pain to get it back to Where it currently is :P :-\

I'll upload the two apks later
[Android Software Development] Shrihari007:
Thnaks....Helped me save my day by always uploading files to kitchen...
[Android Software Development] zeon321:
PLzzzzzzzz add support for gingerbread.
[Android Software Development] ardcifliku:
Someone tested on note 2?
[Android Software Development] OGMods:
Please upload Log.txt ...

You should try if it not compatible with your device upload your files & Log.txt to support your device

I'll fix the problem in v1.6.0

Check out if there are Tools folder in App's folder

I'll fix the problem in v1.6.0

The problem from apktool :rolleyes:

I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f020027 drawable/ic_navbar_blank_activated, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)

You should try

As soon as possible ... I'm working in it...
[Android Software Development] brambizimski:
Thanks for your work, but the windows app is just awful.

On step 1 it asks me to connect my phone, which I did, USB debugging is enabled and still it just hangs there, am I doing something wrong?

I'm using a rooted Xperia Z with stock rom.
[Android Software Development] Ruliindrapraja:
it's work for Sony Xperia U?
[Android Software Development] MU24R:
can you make something with this to include them on the list
[Android Software Development] OGMods:
Are you sure that adb read your phone?

Also you can try out option 2 (Mod an existing files)

You should try :)

I'll add option to include your styles as soon as possible
[Android Software Development] mailqub:
galaxy nexus android 4.2.1 paranoidandroid vers 3.00 NOT WORKIN`

error apears -> failed to decompiling `SystemUI.apk`
[Android Software Development] andydidacus:
does this work on n7000 if yes..which version??

running burtrom 4.1.2 jb xxlsz
[Android Software Development] hitaxas:
Check to see if Java is installed correctly? I had this issue, but when I read the log file, I realized java was the issue. For me at least.

In other news, I cannot seem to get this to work correctly, I am sure it's me doing something wrong... but step 5 confuses me. Copy what files to my SD card? And why open the dist folder? Or does it mean to open the dist and copy those? Sort of confused about that.
[Android Software Development] fryingpan0613:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/16/03)

Can't wait to try this!
[Android Software Development] ravijani:
not working on s advance... 4.1.2 ......

everything works fine but in the end cant install and reboot or push file to system/og...
[Android Software Development] afnaf:
Great work, but a no go on my Xperia S with JB. Failed to decompiling SystemUI.apk.
[Android Software Development] OGMods:
OGBatteryMod v1.6.0

-Fix OGBatteryMod compatibility on android v4.0.4

-Fix (apply changes & restart device) bug

-Fix deodexing bug
[Android Software Development] Grondinm:
links are still pointing to 1.5.5
[Android Software Development] OGMods:
the problem from apktool :rolleyes:

You should try the last version

Copy modified files to your SD card

open the dist folder if you want to create flashable zip

Fixed :)

the problem from apktool :rolleyes:

Fixed :D
[Android Software Development] Grondinm:
well it got a bot further this time. Passed deodexing and decompilled then recompilled miuisystemui.apk and setting.apk then got this crash.

log :http://pastebin.com/cXx1vJYy

EDIT:

this is the Additional details of the wondows crash:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: ogbatterymod.exe
Problem Signature 02: 1.6.0.0
Problem Signature 03: 51473541
Problem Signature 04: Microsoft.VisualBasic
Problem Signature 05: 10.0.0.0
Problem Signature 06: 4ba2183b
Problem Signature 07: 1ee
Problem Signature 08: 75
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 4105
Additional Information 1: 6bc9
Additional Information 2: 6bc920d818ba1aa01f9d065752663b3e
Additional Information 3: 3ab6
Additional Information 4: 3ab62f7bee5cf7a7552d827476b4c54d
[Android Software Development] brambizimski:
Ok so the process was finished, by the looks of the log everything seems to went just fine.

But now my phone seems to be in some kinda loop? The boot animation of my Z just keeps looping.
[Android Software Development] kryptonite_2448:
I assume we'll have to redo this after flashing a new ROM? How about upgrading the nightly? Looking forward to doing this. :good:
[Android Software Development] Ruliindrapraja:
all right i'll try

edit

this mod not work for Xperia U

at step 5 "apply change and restart > failed

OS version my phone: 4.0.4
[Android Software Development] anazhd:
Well, the instruction is really confusing.

1. I've to select between Setting.apk or SettingProvider.apk . Which one? :/

2. and this last thing, where it starts really confusing :

- Apply changes & Restart device ( I restarted my device already )

- copy new files to /sdcard/og ( what files? )

- open dist folder ( and then what? )

or did you put the instructions order in the wrong position?
[Android Software Development] alexeius:
Hi Osama! Can you add AOKP style text battery? Its showing battery percent like "46%" in text.
[Android Software Development] abhirulz94:
doesnt work for motorola defy or maybe the application doesnt recognise my phone...it is stuck at step 1.
[Android Software Development] donkanmcklaus:
it works for the LG Optimus 4x???
[Android Software Development] Djuganight:
I have a Huawei U8800 and I'm using MIUI V4, which is ICS.

Tried to use this mod but PC app doesn't pass this step:

Am I doing something wrong?

Thanks
[Android Software Development] Grondinm:
do you have usb debugging turned on?
[Android Software Development] Esj618:
Not working on rooted stock Note 2 i317 :confused:

EDIT: Rooted Stock Note 2 i317, 4.1.2 with CWM recovery. Works now. Instructions were not cleared :). Manually copied three files located on the sdcard0/og directory into the system/app folder and all is well :). Thank you.
[Android Software Development] Grondinm:
more details??
[Android Software Development] gamepro602:
i flash so much S*** on my phone, might as well try this :D
[Android Software Development] OGMods:
There is a problem when zipaligning MiUisystemui

Please upload apk files that located in 'MyAppDir\Tools'

Maybe there is a problem when singing files

So please upload your files...

Yes...

Can you explain what you mean here "How about upgrading the nightly?"

Copy modified files manually to 'system/app' you can find the files in 'sdcard/OG/'

1. Setting.apk

2.

- Apply changes & Restart device (the app will copy modified files to system/app & restart your device )

- copy new files to /sdcard/og ( the app will copy modified files to /sdcard/OG (if you want copy the files manually))

- open dist folder (the app will open dist folder for you if you want to create Flashable .zip)

Click battery icon 3 times and toggle off hide percentage

try to restart the app after plugging your phone

or use option 2

Please try

try to restart the app after plugging your phone

or use option 2
[Android Software Development] hitaxas:
Oh, I see. The instructions weren't clear, on the newer versions the things that show up like:

Step 1.

Step 2.

Those actually mean to press that number on the keyboard to activate that function. That clears up my confusion.

However, I finally got this to install on the device... System UI crashes over and over...

I'm attempting to install this on my Galaxy S2 Skyrocket with the latest version of the PAC-man rom.
[Android Software Development] OGMods:
Please upload Logcat (on cmd type 'adb logcat -d > Logcat.txt')
[Android Software Development] Djuganight:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/18/03)

That is pretty much obvious....:banghead:
[Android Software Development] Grondinm:
sometimes you gotta ask the obvious questions first...get them out of the way. apart from that i personally can't see why it would not find your phone then...do you have adb setup on your pc does it see your phone?
[Android Software Development] saphirrot:
ohhhhhhhhh : FAILED to get ROOT access !

cmon bro, wanna change my battery style ! :D
[Android Software Development] and2:
big thanks and respect.

works great on my Samsung Note 4.1.2 TabletUI
[Android Software Development] kaazek1993:
could it work on xperia x8

sorry, i have one question. could you tell me if it will work on my xperia x8 with android version 2.3 or i must to install android 4.0? please answer asap. thanks
[Android Software Development] Djuganight:
True.

Just tested in 2 other computers (W7 Pro 64bits + Windows XP 32 bits + W8 Ultimate 64bits)

All same thing. Don't go further that step, which is in fact the first.

If I mount USB my PC see the phone, otherwise no. This is correct yes?
[Android Software Development] Grondinm:
ok lets try this. From the Win7 pro machine open up the command prompt and navigate to (folder where you extracted this app)\tools then type adb devices. post the output...
[Android Software Development] jvvpc:
Anyway to reverse ? stupid me didn take backup first and now i only get the message that the applikation System-UI is force closing, so cant do anything on my phone..

Galaxy Nexus Stock 4.2.2
[Android Software Development] cas239:
I keep getting "failed to decompiling "SystemUI.apk"" followed by Sorry... Modding Failed:eek:
[Android Software Development] Djuganight:
Windows 7 is in the office.

At home only have 2 x W8.

Here is the CMD output

Tested with 2 devices, Huawei with MIUI V4 and Sansung Galaxy with Official GB rom
[Android Software Development] hertz9511:
Awesome!

but..got the decompiling error, still, here's the log
[Android Software Development] poseben:
Hello

I don't know is this is ok but I don't have twiter so I send log file here.

I am glad that I find your post for battery mod.Thanks.

But I cant it work on my phone.Is there any manuals for that?

Regards Ales
[Android Software Development] Rasheed96:
Help

Failed in decompiling, please help as I'm stuck with a non-animated battery atm :D
[Android Software Development] ADSrox0r:
Wrecked my stock rooted Note II, can't access system settings any more and no status bar.

How do I reverse this?
[Android Software Development] gamepro602:
question... what does step one mean?

i don't understand what to mod or how to in step 1....
[Android Software Development] Grondinm:
ok had a feeling it would come to this. It's a missing driver issue it would seem. ADB is not able to see your phone at all that's why the app wont see it either. when you first connected your phone to either of these systems did it install drivers. More specificly for something like adnroid debugging interface?
[Android Software Development] Djuganight:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/18/03)

Can't remember. But I can always reinstall right? How do I do that.

Tried to use SDK but no success
[Android Software Development] UpInTheAir:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/18/03)

This mod is a great idea, but still in its infancy. Your support is appreciated.

I think another good idea for future builds would be to give the choice to "inject" his/her own battery pngs set into the apk. There are 100s more out there.

For those that wasn't to know if it works with their device, nandroid and TRY ;)
[Android Software Development] androidGuy302:
Any chance this will wonk on Galaxy s3 (i-747) running AOKP 4.1.2? Thanks!
[Android Software Development] Esj618:
Copy the three files from the sdcard0\og (ogbatterymod.apk, secsettings.apk, and systemsui.apk) to system\app then reboot. Enjoy !
[Android Software Development] rcade2005:
Logcat

The apk download failed for me buddy

Attached log file
[Android Software Development] OGMods:
Please take a look to post 1 at Usage

Please take a look to post 1 at Usage

You must install android 4+

Please take a look to post 1 at Bugs

Please take a look to post 1 at Bugs

Please take a look to post 1 at Bugs

Please take a look to post 1 at Bugs

Please take a look to post 1 at Bugs

Please take a look to post 1 at Usage

I'm working on it :D

Yes.. I think :)

Please take a look to post 1 at Usage
[Android Software Development] Luther Blissett:
Hello Osama, thanks a lot for this mod! Working nice on the Acer tablet in my sig. One very small glitch on my device is, the two square icons in the red circle in the attached screenshot have now moved left (they used to be on the far right). Do you have any idea where I should look to correct this?
[Android Software Development] OGMods:
Please upload your original SystemUI.apk

There is a code in your original SystemUI that missed in my classes
[Android Software Development] OGMods:
OGBatteryMod v1.6.1

-Fix (Scanning connected devices) bug
[Android Software Development] andydidacus:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

seem like this mod is not compitable with all fon yet...

Sent from my GT-N7000
[Android Software Development] Luther Blissett:
Here. Shukran jazilan.
[Android Software Development] OGMods:
Please upload deodexed one... you can find it in (this app folder)/tools/SystemUI.apk

El-3fo :D
[Android Software Development] Ruliindrapraja:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

Which to move system/app?

Setting.apk, system.apk, og batterymod.apk?

Edit:

After move to system/app and reboot > black screen, status bar not showing a.k.a missing
[Android Software Development] Luther Blissett:
Uhhhmmm... no such folder on my system... guess I'll have to deodex it myself, and that'll require some study on my part. I'll return to you when I'm done with that. Thanks again for your kindness!
[Android Software Development] Wyvern49:
This worked great on my Verizon GS3 running CleanROM 6 v2 with a bunch of other SystemUI mods as well as some SecSettings mods.

Thank you for all the work you have put into this.
[Android Software Development] OGMods:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

Move all this files
[Android Software Development] Ruliindrapraja:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

After move to system/app and reboot > black screen, status bar not showing a.k.a missing
[Android Software Development] 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. Osama, as soon as I open a Paypal account I promise you'll be the first I will donate to.
[Android Software Development] MDMonster:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

Here are my system and settings apks . Archos 80 G9 running PA 3+ (4.2.2)

https://www.dropbox.com/s/ia6w66rbhvtb6w6/Settings.apk

https://www.dropbox.com/s/5pv3r0kthmpstkz/SystemUI.apk
[Android Software Development] UpInTheAir:
Settings.apk FC

Hi OG,

Really like the potential of your mod here, but having a few problems trying to get it going on my own built ROM.

Samsung Galaxy Tab 7.7 P6810

Android version 4.0.4

Build P6810XXLPP

All apks are de-odexed

Using v1.6.1 : Option 1 and 2 seem to work successfully (although there are warnings in the log)

After reboot and select settings/display/battery style........... Settings.apk will FC.........whatever option (1 or 2) I use.

I have tried wipe dalvik-cache & also fix permissions

Also, I have tried using my own methods to recompile the Settings.apk, but I get errors after adding the files

Can you please take a look at the attached log . Thank you

If you need original files (unmodified by your mod) :

SystemUI.apk

Settings.apk

framework-res.apk

twframework-res.apk

.
[Android Software Development] cybervibin:
it FC's on my windows 7 :(
[Android Software Development] linsalata28:
Re: [Modding App][Android 4.*] OGBatteryMod (2013/19/03)

Has anyone tried this on a HTC device? If not is there any plans to make it work ?
[Android Software Development] XivilidMohamed:
When i go to zipalign step, it got error (same FC in android).
[Android Software Development] xyancompgeek:
Here is the error log for a Samsung GT-P3100 running 4.0.3:

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

D:\My Documents\Desktop\bmod\Tools>adb -s "" start-server

D:\My Documents\Desktop\bmod\Tools>adb -s "" devices

List of devices attached

c16074a1132f16f	device

D:\My Documents\Desktop\bmod\Tools>adb -s "c16074a1132f16f" pull /system/build.prop build.prop

81 KB/s (2592 bytes in 0.031s)

D:\My Documents\Desktop\bmod\Tools>adb -s "c16074a1132f16f" shell

uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,3001,3002,3003,3006@android:/ $ cd system

uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,3001,3002,3003,3006@android:/system $ cd app

uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,3001,3002,3003,3006@android:/system/app $ pwd

/system/app

uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,3001,3002,3003,3006@android:/system/app $

Error By App: SystemUI.apk not found
[Android Software Development] Kidy973:
Don't work on Xperia Sola

When i move file to sytem/app, status bar and settings disapear (even after rebooting the device).

Now, when i try again on windows, it FC at "decompiling System.apk failed".

Any solution ?
[Android Software Development] gamepro602:
is it supposed to detect my device because its not doing anything:(
[Android Software Development] oscar_pan:
Hi, Osama thanks for bringing us this mod!

But after moding the apps there is a weird white line under the pull down image, can u please fix the weird white line and the date black background ?

because im serious like on this battery mod

---------- Post added at 04:10 PM ---------- Previous post was at 04:07 PM ----------

might you were using the laptop, try to use desktop, i done the same thing now no more issue.
[Android Software Development] harirahmat:
can you give me flashable zip for galaxy s3?

xxemb5
[Android Software Development] bountygiver:
SystemUI FC

Device : Samsung GalaxyTab 7.7 P6800

ROM: PanaroidAndroid 3.0 (Unofficial)
[Android Software Development] OGMods:
___ 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

Try out v1.7.0

Try out v1.7.0

If it still not working please upload Logcat.txt

___ 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

Fixed on v1.7.0

Fixed on v1.7.0

Try out v1.7.0

The problem from Apktool not from this app

Use option 2 'Mod an existing files'

This app don't change interfaces :confused:

Try out v1.7.0

If it still FC upload your SystemUI and new Logcat
[Android Software Development] OGMods:
OGBatteryMod v1.7.0

-Add option to (Add & Delete Styles) ;)

-Fix compatibility on android 4.2.2

-Fix ZipAligning bugs

​
[Android Software Development] GregórioAxiaMagno:
Perfect at my Xperia Mini St15i with CM10

Thanks
[Android Software Development] commencal661:
"SystemUI.apk not found"

here's the log.txt

View attachment Log.txt
[Android Software Development] Dragon7780:
Wrong download link.. Its for v1.6.1;)
[Android Software Development] zomer331:
Hm.... everything seems to be good, after reboot no FC soo ok... but when I've tried to open OGbaterryMOD in 'Display' settings I get a fc and I can't enter to this option. Tried to use decompiling /etc again and I check the permission in /system/app but I don't know what's going on. ;)

Maybe new realise help for this. :)

anyway, thanks for awesome work! :)
[Android Software Development] saphirrot:
Force Close , god damned...
[Android Software Development] Robdyx:
Same error, has been correctly compiling till this update (icon never changed when I chose in the tablet though) using Baked Bean 8 ROM for Galaxy Note 10.1
[Android Software Development] cas239:
Okay, self-proclaimed noob when it comes to certain hacks/mods. I am experiencing the failed to decompiling SystemUI error. I was referred to post one section, Bugs:The problem from apktool. (Exception in thread "main" brut.androlib.AndrolibException: Multiple resources) Can someone clarify this for me please. Is this user error, or a user fix, or does it mean it is simply not compatible. Samsung Galaxy S3 d2vzw
[Android Software Development] UpInTheAir:
Zipalign crashing the exe

Hi OG,

Trying v1.7 and now get zipalign crash for option 1 & 2.

Previous 1.6.1 zipalign OK, but selecting : settings/display/.... FC in Android

Attached are the logs for Option 1 & 2

My ROM logcat is currently disabled, but I don't think that is anything to do with the zipalaign errors.

I notice your changelog

, so most likely something there....

Cheers,

UITA

SGT-P6810

SkyHigh XXLPP ICS v4.1

Windows 7

.
[Android Software Development] bountygiver:
Now 1.7.0 stops responding at moding... stage.

P/s: Ignore the failed to overwrite file in the last line, I deleted the whole folder and extract the archive again and it crashed at the same stage with a same log (just without the failed to overwrite line)
[Android Software Development] Luther Blissett:
I fear Osama may fall victim to the dreaded "Tytung effect"... too much generosity in answering on his part can take its toll on his time availability until he decides it's better to take himself a holiday :laugh:
[Android Software Development] ugoff:
Windows error 'program stopped responding' at signing on 1.7.0. I tried multiple times.

Phone is i777 w/ JellyBam 6.7.0.
[Sony Xperia Miro, Tipo (Dual), J, E] miguelSony:
Do you know a ROM that can be flashed by flashtools that gives a decent battery life?. I have the Xperia Miro st23i

Enviado desde mi GT-P3110 usando Tapatalk 2
[Sony Xperia Miro, Tipo (Dual), J, E] miguelSony:
Or a custom that can be flashed by CWM with locked bootloader without any need of a cusyom kernel

Enviado desde mi ST23i usando Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] WandererX:
Hi i have a little problem :(

My xperia mini pro with kernel panic and real ics r6 suddenly blocked... screen remains black even if it has backlight... and buttons have light too... what should i do? flash a stock kernel?

i don't want to loose all my sms... thx
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] WandererX:
ok i make it work :)

i restored only the system of a old backup... non the phone is ok... sry for opening this thread...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BlackArtsInc:
This is called Sleep Of Death if I understand correctly what you re describing.Post it to your kernel or ROM thread to get help for a solution.

N.

Not Sent From My ST15i.