yashsingh1/xdaforums huggingface dataset:
[Android Software Development] MargaL:
Un-Rooted Note 2?

Anybody got it working on un-rooted Note 2 (T-889, Build JZO54K.T889UVBMB4)?

I got all the files created in step 4 (option 3) onto my SD card. Restarted in recovery mode -> apply update from external storage -> OGBattreyMod_Flashable.zip

And I'm getting error:

E:failed to verify whole-file signature

E:failed to verify whole-file signature

E:signature verification failed

So, my question is: can I really apply this mod without rooting? If so, where did I go wrong?

Thanks.
[Android Software Development] Dr01nE:
That's because you're using stock recovery.
[Android Software Development] Pain-N-Panic:
Hey OG will this be available for ginger bread soon? :)
[Android Software Development] MargaL:
Could you walk me through the process to make it work? Last time I was playing with modding and rooting was long time ago with HTC MyTouch. So please excuse my noob question.

Thanks
[Android Software Development] fabiobatera:
Perfect in Atrix MB860 :victory:

Thanks.
[Android Software Development] OGMods:
Change app folder

It supports android 2.3 to android 4.2.2
[Android Software Development] Pain-N-Panic:
Oh, well when I tried your newest version I got an error about the system.ui
[Android Software Development] gverma1:
From the screenshots in OP, it seems that percentage figure is not displayed when phone is charging. Can somebody confirm this? I need this figure to be visible at all times. Thanks.
[Android Software Development] osiedacz:
If you are talking about having the percentage displayed as part of the battery icon, that option certainly works. It all depends on which battery icon set you choose to display. OP has included about 7 styles that show the percentage and 3 that are simply stock versions without.

Edit: Just realized you asked about when charging. Yes, that works too. I am using the broken circle option with the charging animation and the icon will animate showing the lightning bolt, then display the current percentage for a couple of seconds before repeating the animation.
[Android Software Development] Scuppa:
I tried it on my S3 Mini with enox reVenge one ROM v2.2 but I got the "Failed to decompiling SystemUI" bug (Log.txt attached).
[Android Software Development] abtal:
how to hide ogbattery style,and use stock battery style ?
[Android Software Development] abo0o0d101:
I want flashaple zip
[Android Software Development] Pain-N-Panic:
Can someone help me work around the systemUI failure?
[Android Software Development] penpen72:
I got this to work by doing the following....

delete the txt logs in the extracted battery mod folder.

When it asks you if you want to install in the settings....select no.

Then let it do it's thing.

On step 4 I selected #1 (apply and reboot option).

I will mention that it took me 3 times (guess 3 really is a charm).

Hope that helps!

ps....Note 2 on stock but rooted and no other mods
[Android Software Development] Pain-N-Panic:
Im running cm7 on a TMobile g2x using wolfscript mod.....think wolfscript could be interfering?
[Android Software Development] Alexey71:
Help guys, such battery of the big size is necessary 32х32
[Android Software Development] batp:
This isn't working, it keeps trying to find a /tools/classes.dex
[Android Software Development] Adizzzle:
This failed for me twice.

The first time I used files from my rom.

The second time I used my phone directly.

Both were a no go. Really wanted to get this workin..
[Android Software Development] dniestre:
I have installed this file "OGBattreyMod_Flashable.zip" through recovery and i want to know how to uninstall it. Thanks a lot!
[Android Software Development] Angel2k6:
Doesn't work on Htc Desire S with Andromadus Rom (cm 10.1 based) :(

"Failed to decompiling SystemUI" ..
[Android Software Development] frazer19:
hey i confirm the working on samsung galaxy s advance ! plz add s advance gt-I9070 to the working list in OP :) thanks for this awesome mod ! :good:

it works perfectly :D
[Android Software Development] Pain-N-Panic:
It's NOT working on t-mobile G2X. "failed decompiling SystemUI.apk" error. My wolfscript mod is not the problem either since I pulled nandroid files from a backup I made before flashing the mod and got the same error. It just wont decompile my files.

My log shows this- 'java' is not recognized as an internal or external command,

operable program or batch file.

What does that mean?

---------- Post added at 03:44 AM ---------- Previous post was at 03:19 AM ----------

Ok so I realized this error was due to me not having Java installed on my PC. I installed java, tried again and now the program is telling me that it cannot find the systemUI.apk.

This is the log text-

C:\Users\MyPC\Desktop\OG Batt Mod\Tools>adb -s "037c700842a04557" shell

# cd system

# cd app

# pwd

/system/app

# ls

[0;0mADWLauncher.apk[0m [0;0mHTMLViewer.apk[0m

[0;0mAccountAndSyncSettings.apk[0m [0;0mKineto.apk[0m

[0;0mAndroidTerm.apk[0m [0;0mLGEServices.apk[0m

[0;0mAndroidian.apk[0m [0;0mLatinIME.apk[0m

[0;0mApplicationsProvider.apk[0m [0;0mLatinImeTutorial.apk[0m

[0;0mBluetooth.apk[0m [0;0mLiveWallpapers.apk[0m

[0;0mBrowser.apk[0m [0;0mLiveWallpapersPicker.apk[0m

[0;0mCMParts.apk[0m [0;0mMagicSmokeWallpapers.apk[0m

[0;0mCMScreenshot.apk[0m [0;0mMarketUpdater.apk[0m

[0;0mCMStats.apk[0m [0;0mMediaProvider.apk[0m

[0;0mCMUpdateNotify.apk[0m [0;0mMediaUploader.apk[0m

[0;0mCMWallpapers.apk[0m [0;0mMms.apk[0m

[0;0mCalculator.apk[0m [0;0mMusic.apk[0m

[0;0mCalendar.apk[0m [0;0mNetworkLocation.apk[0m

[0;0mCalendarProvider.apk[0m [0;0mOneTimeInitializer.apk[0m

[0;0mCamera.apk[0m [0;0mPackageInstaller.apk[0m

[0;0mCarHomeGoogle.apk[0m [0;0mPacman.apk[0m

[0;0mCertInstaller.apk[0m [0;0mPhone.apk[0m

[0;0mContacts.apk[0m [0;0mPicoTts.apk[0m

[0;0mContactsProvider.apk[0m [0;0mProtips.apk[0m

[0;0mCyanbread.apk[0m [0;0mRomManager.apk[0m

[0;0mDSPManager.apk[0m [0;0mSettings.apk[0m

[0;0mDefaultContainerService.apk[0m [0;0mSettingsProvider.apk[0m

[0;0mDeskClock.apk[0m [0;0mSetupWizard.apk[0m

[0;0mDevelopment.apk[0m [0;0mSoundRecorder.apk[0m

[0;0mDownloadProvider.apk[0m [0;0mSpareParts.apk[0m

[0;0mDownloadProviderUi.apk[0m [0;0mStk.apk[0m

[0;0mDrmProvider.apk[0m [0;0mSuperuser.apk[0m

[0;0mEmail.apk[0m [0;0mSystemUI.apk[0m

[0;0mFOTAKill.apk[0m [0;0mTalk.apk[0m

[0;0mFileManager.apk[0m [0;0mTelephonyProvider.apk[0m

[0;0mGallery3D.apk[0m [0;0mThemeChooser.apk[0m

[0;0mGanOptimizer.apk[0m [0;0mThemeManager.apk[0m

[0;0mGenieWidget.apk[0m [0;0mTorch.apk[0m

[0;0mGoogleBackupTransport.apk[0m [0;0mTtsService.apk[0m

[0;0mGoogleCalendarSyncAdapter.apk[0m [0;0mUserDictionaryProvider.apk[0m

[0;0mGoogleContactsSyncAdapter.apk[0m [0;0mVending.apk[0m

[0;0mGoogleFeedback.apk[0m [0;0mVisualizationWallpapers.apk[0m

[0;0mGooglePartnerSetup.apk[0m [0;0mVoiceDialer.apk[0m

[0;0mGoogleQuickSearchBox.apk[0m [0;0mVpnServices.apk[0m

[0;0mGoogleServicesFramework.apk[0m

# adb -s "037c700842a04557" kill-server

adb: not found

#
[Android Software Development] myafik:
bug report

Hi everyone! Thanks OsamaGhareeb for this app but unfortunately I doesn't work on my Lenovo P770. Here are log files to provide with the source of what was happened. Really hope to use it or get workaround how to fix it.
[Android Software Development] OGMods:
Re: [Windows][Modding App] OGBatteryMod (2013/03/10)

The mod change BatteryController's path from com.android.systemui.statusbar.phone to com.ghareeb.BatteryMod

Please check that new SystemUI contains com.ghareeb.BatteryMod classes
[Android Software Development] Dragon7780:
Oke got it working now.. but when booting into android i get a systemui stopped error twice, then the mod works. but percentage is Always showed next to the icon.. Btw all icons styles works. almost there now need to remove percentage

Edit: also when charging normal icon and charge anim icon are both showed the normal icon doesnt go away and stays on top
[Android Software Development] ichiyamato:
not working in my ACE 2

This new version OGBatteryMod v1.2.1

NO statusbar right now..

I Proceed to test the V1.2 :)
[Android Software Development] ichiyamato:
not working the systemui now...when i use this Mod...???and I cant use again the stock SystemUI..its always prompt "UNFORTUNATELY, SYSTEMUI STOPPED"
[Android Software Development] pabloltg:
Re: [Windows][Modding App] OGBatteryMod (2013/03/10)

Well, no luck for me so far..

This mod works in gingerbread?
[Android Software Development] spc_hicks09:
So this should work with a CDMA RAZR running Jelly Bean 4.1.2 right?
[Android Software Development] OGMods:
Re: [Windows][Modding App] OGBatteryMod (2013/03/10)

I'll solve it

Gingerbread not yet

You should try

Can you see what the problem using Logcat?
[Android Software Development] OGMods:
OGBatteryMod v1.2.2
[Android Software Development] OGMods:
I can hide battery percentage!!

I wrote a new BatteryController class.. so i don't use smali :D just compile BatteryController using Eclipse next decompile apk using apktool then copy smali file to SystemUI
[Android Software Development] Cyda:
Thanks for your work on this but it doesn't seem to work for me, I've tried 1.0, 1.2, 1.2.1, 1.2.2; all of them just sit on the Step 1 page. If I click near the bottom of the app a box pops up showing adb devices output and my devices is listed but the app itself just sits there at the same Step 1 part. Am I missing something?
[Android Software Development] Dragon7780:
Ok thnx, will try now

Also one little thing.. the tool doesnt compile settings.apk because of the added line in display_settings.xml its placed at the bottom of the xml ;)

---------- Post added at 01:15 PM ---------- Previous post was at 12:55 PM ----------

Almost getting there:fingers-crossed:

Tool v1.2.2

1. Battery charge anim is fixed:good: (Does this mod uses the roms stat_sys_battery_charge.xml?)

2. Battery percentage is still showed on the left side of the battery icon (Maybe Enable/Disable option is possible or just remove it)

3. Settings.apk isnt compiled due the wrong line placement in the display_settings.xml

4. Systemui still crashes once when phone started android

Keep up the good work:good:
[Android Software Development] Diablo67:
Im guessing this wont work on odex'ed roms?
[Android Software Development] OGMods:
Try out v1.3.0

I add select Device option

Thanks for report :o

1. No, the mod use OGBatteryMod.apk Icons

2. Try v1.3.0 ... I hide TextView ( setVisibility(View.GONE) )

3. Fixed in v1.3.0

4. If it still crash... can you see what the error using Logcat?

It works on both Deodex'ed & Odex'ed roms...
[Android Software Development] Cyda:
The new version does indeed see my device ok but sadly I didn't realise that this was only for samsung devices so it doesn't work with my Huawei. Thanks anyway.
[Android Software Development] ichiyamato:
Re: [Windows][Modding App] OGBatteryMod (2013/03/10)

The only problem of this mod is the SYSTEMUI CRASHING:confused:.....but all of stuff is awesome :)

Keep up the good work..go go go...try and try until we succeed...:)
[Android Software Development] OGMods:
Re: [Windows][Modding App] OGBatteryMod (2013/03/10)

Idea 1 : if you mean animation icons when charge... It's already animated :confused:

Idea 2 : asap

Yes you can.. If you want add new style you should decompile Settings.apk & OGBatteryMod.apk

or send style with icons to me
[Android Software Development] mailistman:
thx for the tip man ! got it work like a charm on my t889 with myrom t-mo.
[Android Software Development] penpen72:
I'm a chick and you're welcome! ;)
[Android Software Development] DatJoe:
Nope, Everything worked fine until I flashed the zip File. My Statusbar didn't show up :(

Did i have to copy the Settings.apk and SystemUI.apk also?
[Android Software Development] alvin551:
no status bar can someone look at my logcat please
[Android Software Development] Gojira-r32:
works like a sharm on photon Q DeOdexed on jb 4.1.2

nice work, keep it up with those nice programs :good:
[Android Software Development] gtran:
LG Optimus G (E975K) doesn't work

Hi OsamaGhareeb

I've got a rooted stock LG Optimus G (E975K) and it keeps on crashing when its pulling the necessary files.

Any help would be great.
[Android Software Development] mortenchristensen:
Nexus 4 - SystemUI FC (Force Close) and StatusBar not shown

My Nexus 4 with AOKP (Whitehawkx nightly) is giving SystemUI crashes every time I try OGBatteryMod and no statusbar.

Attached logcat.txt from 3 attempts

View attachment logcat.txt

View attachment logcat.rar
[Android Software Development] rozyid:
Signal Style

[MENTION=4937202]OsamaGhareeb[/MENTION]

Please make MOD Progam for Change Signal Style

Thank
[Android Software Development] comdevx:
Help!!!!!!!!!!!!!!!!!!!!! An error occurred, please send Log.txt & Log2.txt to me

use windows xp
[Android Software Development] mziada:
I am gonna try and tell you
[Android Software Development] micky387:
Hello

Me too with seven and bobcat rom
[Android Software Development] GiRaFa-SAMA:
Failed Here/ Not working here

Folow my logs.txt
[Android Software Development] GnatGoSplat:
I couldn't get this to work. I was able to figure out by looking at Logs.txt that I needed to add a path to Java.exe in the Paths environment variable.

Now it gets past the Java.exe not found error, but crashes after the deodexing step and I'm not able to troubleshoot the new problem.

Running Windows 7 x64 using 32-bit Java 6.

Phone is a Motorola Droid RAZR M XT907 running stock rooted Android 4.1.2.
[Android Software Development] Pain-N-Panic:
Glad to know I'm not the only one having trouble getting this to work, damn lol
[Android Software Development] forgettolive:
i got error on LG-E975 when using ur app. pls view attach file for log.

btw i got virus warning from norton when open app. why ?

if this app code by visual studio, i think never got warning from antivirus.
[Android Software Development] fabiobatera:
Tested and approved the Razr XT910, Atrix MB860 and Razr HD XT925. ;)
[Android Software Development] Nightstormc:
Help please

Hey guys, I just ran the ogbatterymod and everything seemed to work fine until I rebooted my phone. It looks like my settings.apk and SystemUI.apk files may have been corrupted or are now missing? I'm using android 4.1.1 and my status bars at the top are all black and when I click on settings it say the apk is missing. I have now done a complete factory reset thinking that this would fix it but my phone is now still the same :( Any help would be greatly appreciated so I can start using my phone properly again. My phone is rooted and I have CWM Recovery v5.5.0.4 installed so I may be able to fix it with the zips for the apk files. I've added the logs which were created when I ran the program. Cheers :D

p.s I'm using a star 9770 phone if that helps any

*******************EDIT*******************

Since this last post i've finally managed to fix this problem! :) Inside the tools folder of OGBatteryMod there were two files, SystemUI.apk and settings.apk. I tried flashing a new rom but that didnt work but had recently flashed the file CWM-SuperSU-v0.93_tirannozaurus.zip which installed useruser.apk and inside the zip was stored in the /system/app/ folder so I added the two files mentioned above into the folder and flashed this zip file and it then installed all three of the apk files onto my phone fixing the problem! I hope this extra information helps people who have maybe come across this problem as well. If you need help or extra information regarding my fix let me know.

*******************EDIT*******************
[Android Software Development] GnatGoSplat:
I more closely examined my log file and I see the reason is my SystemUI.apk didn't contain a classes.dex file. I looked at a few other peoples' log files and saw this is a common issue. Any ideas for a solution?
[Android Software Development] Aldighieri:
Ok, now my S3 I9300 dont show the statusbar, how i can solve this problem? Im on the last oficial S3 ROM.

I uploaded the logcat, and have the backup, please help.
[Android Software Development] Aldighieri:
Tks god i put back the backup files on ¨system/app¨ folder using rootexplorer, and now everything are working fine again!! Thanks for this mod, but it isnt working on the original Samsung ROM. =/
[Android Software Development] Nightstormc:
I know the feeling lol, with my status bars gone and settings not working I thought i'd be throwing out my phone after a factory had made it even worse. Luckily I managed to install the backup files into the system app folder and it fixed it :)
[Android Software Development] jackyhk02:
Successfully to change the battery icon but unable to add new themes. Even if they shows in the PC client software, they will not show in the mobile device.
[Android Software Development] otcd:
Hi, i got an error, where should i send the error files.tx
[Android Software Development] argenisaz:
Worked like a charm on my Huawei CM980 running Gingerbread! (non stock)

Keep up the good work. Congrats! :highfive:
[Android Software Development] OGMods:
Install Java
[Android Software Development] csengoi:
Working like charm on Xperia Z. Very big thanks for this! :good::D
[Android Software Development] kjjjnob:
XT925 Razr HD, Settings FC

The logcat, when enter in Display>Battery Style crash Settings. Thanks a lot for your help!

View attachment logcat.txt
[Android Software Development] DragonSlayer:
PROBLEM

problem when i install 15 toggle

There are no status bar
[Android Software Development] Conan Edogawa:
Same

Me too.

Don't work when in stall Lidroid 15 toggle
[Android Software Development] tft:
is there a way to just download the actual files to patch or flash able zip? i find it bizarre to make a windows program to do this. would have liked to try this mod, but i only have .net 3.5 and didn't feel like updating just for this.
[Android Software Development] christian devs01:
im getting problem in odex

error will apper

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

Could not find file 'tools\classes.dex'.

at Microsoft.VisualBasic.FileIO.FileSystem.DeleteFileInternal(String file, UIOptionInternal showUI, RecycleOption recycle, UICancelOption onUserCancel)

at Microsoft.VisualBasic.MyServices.FileSystemProxy.DeleteFile(String file)

at OGBatteryMod.FrmMain.Step2()

---------------------------------------------
[Android Software Development] dokez:
Everything works just perfect. Thank you very much Osama!:angel:

But just a quick question. Does someone know where I can get this battery icon?
[Android Software Development] christian devs01:
hel me pls

devs can you make this mode in odexed rom pls because i try to use method two and it getting error pls i want this mod
[Android Software Development] zip1989:
How to uninstall this Mod?

Edit: After uninstall I lose the accu icon and the restore of backup does not help.
[Android Software Development] bg_man:
It's working on:

Samsung Note 8

Sony Xperia S tablet
[Android Software Development] zeon321:
You can get that battery icon in Rom toolbox pro
[Android Software Development] UpInTheAir:
Just restore your Nandroid backup....

You did one didn't you?

Or wipe cache & dalvik and immediately reflash your ROM.
[Android Software Development] lohanbarth:
thank you for your work, works great on galaxy ace gt-s5839i
[Android Software Development] bg_man:
Osama,

Samsung S4 not working. Log is attached.
[Android Software Development] BLiNKT:
Please anybody tell me how i can add this in my custom rom i want add options in settings for changing battery icons

i have this OGBatteryMod v2.1.0.rar but this is only if you want add this option when you have installed rom but i need add this function in rom than this option before i flash rom so how i can do this?
[Android Software Development] alvin551:
If u don't no how to do that u shouldn't be developing roms
[Android Software Development] BLiNKT:
i try with software but i get error SystemUI.apk decompile failed

Failed to decompiling 'SystemUI.apk' : OK -----> this is from the LOG

---------- Post added at 08:40 AM ---------- Previous post was at 08:25 AM ----------

I only edit complited roms from other author which give me a permissions for editing so i know some other things but this is maybe to hard to me but i want add this in my rom in any way
[Android Software Development] prosperot:
same here :crying: Samsung g3-LTE 9305
[Android Software Development] MR.Volkf:
here is my ADB,my device galaxy sl running on cm10.1,after applying mod battery icon gone and then status bar force close :crying:
[Android Software Development] Rosli59564:
works with my note 2 odex rom. Just that when phone reboot secsetting.apk & systemui.apk not only not replaced but the original files also missing. Manually push the modded files from sdcard/og to system/app. install ogbatterymod.apk from the same folder & reboot
[Android Software Development] desidunda:
Error help

hi I'm trying to use this 1st time for ARHD 18.0 and I'm getting an error has occurred please sent me log.txt and log2.txt, I'm attaching both files for any one who is able to help many thanks
[Android Software Development] christian devs01:
how can i add my custom battery icon??
[Android Software Development] misha1996:
Test on Samsung Galaxy Ace-i 5830i

Working Good.
[Android Software Development] cleverior.ipul:
Fully working on my Samsung Galaxy Pocket. Thanks bro OsamaGhareeb.

but sometimes, it feel so hard to open OGBatteryMod Settings. i've click 3 times on battery icon but nothing happened. and then i try to open it from Settings >> Display >> Battery Style. but nothing happened too. do u have an advice to open OGBatteryMod Settings easily ?

Thx in advance :)
[Android Software Development] Jakopolo:
Modding failed. :(
[Android Software Development] youpiyo:
nice work.:good:

even if it didn't work for me with my BeanStalk rom on my infuse 4g, but I like the way you have done it....

Anyway, I tried as Xposed module and it work also.

You may automate this through adb with your vb.net code.

Here what I would do:

1-/Have an clean apk and manifest (may be take yours or UOT apk or what ever clean apk)

2-/apktool d xx.apk

3-/img automation process, modification of the prog name in the manifest.

4-/apktool b xx

5-/Java -jar SignApk.jar testkey.x509.pem testkey.pk8 xx.apk xx_signed.apk

6-/ zipalign -fv 4 xx_signed.apk xx_final.apk

7-/ adb install xx_final.apk

last step go to xposed activate module and soft reboot and voila...

anyway these steps worked for me
[Android Software Development] ghost45:
Install errors in samsung S4 i9505

Hi Friends,

i receive from my installation several errors on my Samsung S4 i9505 4g Lte

these are the two files errors:

http://www.4shared.com/zip/w1isNHzI/OGBatteryMod_v210_log_files.html

What is the problem?

Android 4.2.2?

bye:p
[Android Software Development] Envy-X:
Works perfectly on Ace S5830 and Ace I S5830i

Sent from my GT-S5830i - Hit thanks if I helped :)
[Android Software Development] GuneetAtwal:
Can anyone help me in adding more styles to it

I have tried but no luck so far:rolleyes:
[Android Software Development] civato:
Failed on Samsung 4.2.2 Note8.0 rom

Hers is LOG

EDIT: SOLVED MY PROBLEM
[Android Software Development] ghost45:
Hi Friend, Osama where are you? :confused:
[Android Software Development] Benowit:
Thanks for this mod :good:
[Android Software Development] Hen Ry:
have a Xperia Z, it did not work, restart the XZ but no more settings and the SystemUI (black background), and setting.apk systemui.apk available
[Android Software Development] Rosli59564:
If u choose to write the files into sdcard/ogg then copy secsetting.apk & systemui.apk manually into system/app. Install ogbatterymode.apk.

If still not working there're your original secsetting.odex.apk & systemui.odex.apk(if u're stock odex) in the same folder which the mode backedup autonatically
[Android Software Development] Hen Ry:
Thanks, I have started the tool again, now it works.
[Android Software Development] Rosli59564:
Since now its working I guess u've set the permission for the 2 files once u replace them in system/app. Forgot to mention earlier