yashsingh1/xdaforums huggingface dataset:
[Android Software Development] focussoft:
I can confirm this works on the AT&T Galaxy Tab 2 SGH-I497 using the option 1

The only hick up is there is no icon after reboot

But after choosing a different style in the settings it pops up and all functions work as described

Been searching for a working mod for my tab forever

None of the other mods worked because they mod the wrong files

Thanks a lot
[Android Software Development] Buddy3927:
Can't Get It To Work

I've tried this numerous times on two different computers and won't complete. Gets so far then says it can't decompile systemUI.apk. Attaching both logs. Working with Axiom Rom on Nexus 4.
[Android Software Development] MICMAC:
Hello

Please can you help me not worked on i9500
[Android Software Development] OGMods:
Can't create directory: \\vmware-host\Shared Folders\apktool\framework

Install Java
[Android Software Development] oldmanhp:
Hello

Can you help me on Mega 5.8 i9152, stock ROM, rooted.
[Android Software Development] Buddy3927:
Java was installed. Reinstalled Java and tried app again. Appeared to go a little farther to completion then got the same message as before.

Or are you saying it will not work on an iMac with VMWare?
[Android Software Development] nhh1994:
Very Good!

Thank you for your making a great app, it works very well on my phone, very useful app and the styles are very nice. I hope you will have more and more nice styles on next releases. Thank you and best wishes. :fingers-crossed:
[Android Software Development] anjero22:
thanks for this also or the tutorial its big help :)
[Android Software Development] Mr0lala:
Thanks so much [MENTION=4937202]OsamaGhareeb[/MENTION]

I confirm your app work perfectly on Samsung Galaxy S2 HD E120x

But I have a question: If I want remove your mod in SystemUI so what should I do?

Delete: ghareeb folder in smali\com and anythings eles?

P/S: I can't use Backup SystemUI file because I have some mod on this file so I can't remember what I do so I want remove your mod by hand, can you tell me?

Edit: Nevermind, I found it :D
[Android Software Development] oldmanhp:
Re-quoted here for your help, please.
[Android Software Development] greedisgood99999:
i manage to have it on my ROM..thanks dude..but sadly no mods on my settings.apk..lol...settings->display->no battery mods..just the 3 tap on the battery..
[Android Software Development] BLiNKT:
Hello i want add this mod into my custom rom but i get problem at start i run OG Battery Mod and choose 1 download & mod .... than program open dialog box where i must find systemui.apk,settings.apk and framework-res.apk i find all and when i press start i get error

An error occurred, please send Log.txt & Log2.txt to me

XDA : OsamaGhareeb : OK

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

Could not find directory 'tools\framework'.

at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectoryInternal(String directory, DeleteDirectoryOption onDirectoryNotEmpty, UIOptionInternal showUI, RecycleOption recycle, UICancelOption onUserCancel)

at Microsoft.VisualBasic.MyServices.FileSystemProxy.DeleteDirectory(String directory, DeleteDirectoryOption onDirectoryNotEmpty)

at OGBatteryMod.FrmMain.Step1_2()

at OGBatteryMod.FrmMain.Step1()

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

in second i try without framework-res i just try with systemui and settings apk but when press start i get error faild to decompile systemui.apk

what i do wrong i try add this on my rom which have android 4.2.2

how i can make simple flashable zip for 4.2.2 android does anybody can make for me flashable zip i send you all files systemui.apk settings.apk and framework-res.apk i must have this in my rom
[Android Software Development] anachron13:
Hello,

I can't get it to work on my I9505. I have a "Failed to compiling SystemUI.apk" error.

Thanks for your work.
[Android Software Development] d9ny:
MOD HTC Desire VC, Need Help..please

i got failed modding settings.apk, here are some logs
[Android Software Development] » Arrow «:
[MENTION=4937202]OsamaGhareeb[/MENTION] excellent work!! :good:

im using you work in my Rom

is tested and works super fine in Galaxy S4

regards
[Android Software Development] SPSPaWn:
For HTC Desire 600 compile failed

http://d-h.st/mAu - sources file

Please help!(

View attachment Log.txt

View attachment Log2.txt
[Android Software Development] SPSPaWn:
OsamaGhareeb will help?
[Android Software Development] ketan_naik:
I have Samsung Galaxy S IV I9500

My log files are attached here with. Please help me.
[Android Software Development] SPSPaWn:
you can ask for the source mode for HTC Desire

patched and stock SystemUI.apk & Settings.apk

I'll get the code

Thank you!
[Android Software Development] shazzl:
How did you solved please explain details please....

Thanks in advance

im on GT I9205 mega lte
[Android Software Development] poffsoft:
classes.dex

The classes.dex error occured.

"

Nem található a következő fájl: „tools\classes.dex”.

a következő helyen: Microsoft.VisualBasic.FileIO.FileSystem.DeleteFileInternal(String file, UIOptionInternal showUI, RecycleOption recycle, UICancelOption onUserCancel)

a következő helyen: Microsoft.VisualBasic.MyServices.FileSystemProxy.DeleteFile(String file)

a következő helyen: OGBatteryMod.FrmMain.Step2()

"

Zopo zp810 (jb 4.2.1 stock rom)

Any idea?

I'd like to use your mod...

:)
[Android Software Development] Mohanshbhr:
[MENTION=4937202]OsamaGhareeb[/MENTION] i m getting failed to compile systemui ,, log > View attachment Log.txt
[Android Software Development] kodhyok:
i've try this mod on my lenovo s560

compile works but when i'm rebooting my device my notification bar and status bar missing

i've try all the method but it seems remain the same, my notification and status bar keep missing

is there any way to solve this, i'm in android 4.04

sorry for bad english :D
[Android Software Development] Immorak:
I get the error: Failed to decompiling SystemUI

First i want to thank you for the great work!

I have the bug: Failed to decompiling SystemUI.

Iam using a Galaxy s3, with android revolution 4.2.2 and root access. USB debugging is on.

I added my log files, i hope you can help me out.
[Android Software Development] slink722:
sir what does this error means? (see my attachments) please help :(

im using xperia s, JB 4.1 with .96FW
[Android Software Development] veimus:
is this mod support Motorola phones ? (1% battery hack) ?? :confused:
[Android Software Development] shazzl:
Tq i op have suses port it on GT-I9205 and i will make a rom for it...using for ogbattery mod...

Do i have you permision...
[Android Software Development] dying4004:
how to add new battery icon packages?
[Android Software Development] BoBCatRoM:
hi,

works on GS 4 I9505:D

thanks OsamaGhareeb :good:
[Android Software Development] andromeda1968:
Galaxy Mega 6.3 OK ;)

thanks
[Android Software Development] agottschling:
Works on HTC EVO Shift 4G

Thanks
[Android Software Development] rockybb96:
update to 4.3? soon please :)
[Android Software Development] tonyryan:
nevermind, i'm fxed it :)
[Android Software Development] HLG114:
Seem not so nice with 4.2.2:(

Gửi từ GT-I9300 của tôi bằng cách sử dụng mạng internet.
[Android Software Development] manhktqd:
I'll try it later. thanks so much.
[Android Software Development] alpine111573:
can't seem to make it work on I9082... using gennxt rom..
[Android Software Development] mylee:
OGBattery mod vs Samsung Galaxy S3

I got problem in installing OGBattery mod in Samsung Galaxy S3(Android 4.1.2). The logs are attached. Please check if anything wrong.
[Android Software Development] abdoel_046:
Ask

whats meant resource file and where I can get it?
[Android Software Development] alpine111573:
please update...thanks.
[Android Software Development] kkkkkvin:
Hy, failed to install.

You can help me?

Many thanks :)
[Android Software Development] Akhilendra Gadde:
@OP, are you going to add support for 4.3 ?
[Android Software Development] zenosteam:
Hope

Envoyé de mon GT-I9500 en utilisant Tapatalk
[Android Software Development] leungalv:
Trying this out on a stock HTC One Mini, but getting errors ... have attached log files

bootloader is unlocked, phone is rooted as well. Thanks. :)
[Android Software Development] ketan_naik:
+1
[Android Software Development] Akhilendra Gadde:
Hope he will implement that soon !
[Android Software Development] Bileterri:
I tried the procedures modding but without success. Enclosed insert the relevant files.

What mistake did I commit in the procedure?

Can I do about it?

smartphon thl w8s.

Help me kindly.
[Android Software Development] arix:
Hi,

I m trying option 2, as written in first page as known bug "Failed to decompiling SystemUI.apk".

I have S4 using Arrow ROM version 8.0 including OGBatteryMOD.

Since Battery Percentage looks like microbe (very very small) in S4 (it's fine with S2), I would like to make my Style with bigger Percentage

Is there any way to modify my battery icons ?
[Android Software Development] arix:
I found other solution to modify OGBatteryMOD.apk (with apk tolls) and added my icons,

anyway , OGBatteryMOD is great, if Osama can update the `source code to the latest one it would be great !
[Android Software Development] Alard_626:
Cannot compile :( I have win8 x64. And oh, my sys files are deodexed and zipaligned already. Is this a reason?
[Android Software Development] UltraGamerHD:
Classes.dex Not Found Error!

Xperia E 4.1.1 Jelly Bean
[Android Software Development] otcd:
Hi,

Can you please check this SystemUI to work with your batteries and get it work for Phoenix 5.0 I9505 amazing ROM XXUEMJ7? TX
[Android Software Development] giltros1:
Working LG OPTIMUS HUB, thanks
[Android Software Development] hahanhata123:
I try to mod but it not work :(

Please help me :(
[Android Software Development] madprofessorus:
Tried it on my Xperia Tipo and I get the error decompiling System UI
[Android Software Development] ayenzel:
Error on Lenovo A390, please let me know why and how to fix. Thanks..

View attachment Log.txt

View attachment Log2.txt
[Android Software Development] geva28:
cm7 OG BatteryMod

I has success applied this mod with cm7 rom but when apply theme from themechooser, battery icon is dissapear until the phone rebooted, any one can help me with this? I put the logcat at attachment, thanks
[Android Software Development] Mr.Yawnie:
Works fine here with 4.3 MJ8 base (newest base for I9505 S4). Used the 4.2.2 API level 17.
[Android Software Development] Akhilendra Gadde:
Are using cm or cm based custom rom. Or stock? And which device have you tested it on.?
[Android Software Development] Mr.Yawnie:
Stock based touchwiz rom, echoe rom, for S4 I9505.
[Android Software Development] Mr.Yawnie:
Seems like you didn't put your SystemUI.apk in there, just the settings. Settings is optional, SystemUI.apk is a must as that is the file that contains the mod.

---------- Post added at 11:47 PM ---------- Previous post was at 11:39 PM ----------

If you look into your log.txt, and scroll down, you will see a long list of errors like this:

D:\i9082\OGBatteryMod v2.1.0\Tools>apktool b "systemui"
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\i9082\OGBatteryMod v2.1.0\Tools\systemui\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
D:\i9082\OGBatteryMod v2.1.0\Tools\systemui\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
D:\i9082\OGBatteryMod v2.1.0\Tools\systemui\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
D:\i9082\OGBatteryMod v2.1.0\Tools\systemui\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
D:\i9082\OGBatteryMod v2.1.0\Tools\systemui\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

You need to manually go into res/layout/ and edit the system_far_notification_panel_title.xml and system_bar_settings_view.xml. Find the rows with style attributes and add "+" in front of it, like this: "Style="+@style xxxxxxxxxxx". Then you can compile it yourself by going to the folder where you have OGBatteryMod and inside tools folder.

I am more specific about how to compile .apk's and avoid errors in my tutorial here: http://echoerom.com/modding-school-part-1-install-prepare-apktool/
[Android Software Development] geniusrehan:
I tried to mod. But cant able to do it properly. Please help. I am using Galaxy mega i9205.
[Android Software Development] pederzen:
How do i uninstall please?

---------- Post added at 05:21 PM ---------- Previous post was at 05:01 PM ----------

I have used a flashable zip of the battery mod wich, by the way worked just fine on my NEO N003 Premium.

Thanx for your work!

So i can confirme that it probably works with the rest of Mediatek quad-core devices too.

But i'd like to remove it now.

Could someone point me to the right direction how to proceed?

Thank you!

:)
[Android Software Development] aamir123:
I have tried this mod on my tmobile galaxy s3 and it did not work, I put my systemui.apk, secsettings,apk

Then created a folder and put my framework-res.apk and twframework-res.apk

I get an error in 2 log files the first one seems to say everything is ok, the other says something about microsoft .net framework but I already have higher than 4.0. Log files are attached please help.
[Android Software Development] ildar2099:
How to add styles to the Galaxy ace 2? There is an error when adding
[Android Software Development] ildar2099:
Added style, and it does not appear
[Android Software Development] hanzoo1504:
Can I build OG ???
[Android Software Development] UpInTheAir:
It's open source, so why not. Only polite to ask permission if you were to mod it and then redistribute it, again, as open source. :)
[Android Software Development] AxAtAx:
This mod worked perfect on the Note 3 N900T, tap the battery icon 3 times and the mod config comes up, and you can select the battery icon, and let the program do the rest...nice, thank you so much for this.....good work...
[Android Software Development] hanzoo1504:
I tried on a device that is manufactured in Korea Note1 Galaxy (SHW-E160L). But it does not work.
[Android Software Development] kushal_neov:
Please tell me what changes do I've to make to the SystemUI.apk to get OGBatteryMod apk working in my android 4.4 rom...Since your tool is built for all upto jb roms, its giving error in decompiling systemui from kitkat rom..I think the battery icon is drawn with the code instead of images in 4.4 Any help wud be great..:)
[Android Software Development] Mr.Yawnie:
There's currently no way to have .png icons instead of the code drawn battery icons in 4.4. I tried manually changing the battery controllers from android battery controllers to Ghareeb (OG) battery controllers and that did nothing, still the stock icon.
[Android Software Development] kushal_neov:
Have you tried to make the bolt icon blink while charging? If that can be done..I don't think that battery icons would be necessary. I made the status bar show battery percentage in black but I've no idea about how to make bolt icon blink and show battery % too while charging..
[Android Software Development] kushal_neov:
I'm a little confused about the mod...I was trying it on ics...every thing worked fine, settings was moded and it had the OG battery mod app under display...In the app, after I choose the icon i want then what? the battery icon in the status bar doesn't changes..I mean there's no 'OK' button or something... Please help..
[Android Software Development] UltraGamerHD:
Dont work on xperia e c1505 jellybean 4.1.1 fix!

Using alternative which is better xbatterythemer! Xposed framework!
[Android Software Development] blulite:
Is it possible to add a "hide battery" option? The reason I ask is I'm using a ROM that includes this mod. I prefer to hide the battery, but I cannot since this mod is applied, and I don't have the original SystemUI.apk to revert back to, so I'm stuck having to display one of the batteries from this mod. It's a really great mod to change the battery style, but I just don't want the battery in the status_bar.

Thanks.
[Android Software Development] ketan_naik:
Boss when will you give support to 4.3. I have SM-900
[Android Software Development] steveria79:
Osama ,nice mod but all battery icons are unsharp , bad pixel on s4 can you fix it?

Please can you includet in the mod all new chrome icons from xda pas2001 thread?

Many people hope for this!

Thanks

Edit

You can fixed???

BobCat v10 - Hacker Kernel
[Android Software Development] martin132014:
Also dont work on Xperia Z Ultra..... I have used this mod on xperia ZL and unfortunately, the icon is not HD and sharp to match the display... The animation and icon is great but it just like its for older phone...hope have great update and more themes... Tq
[Android Software Development] martin132014:
No response from op...i guess we need to contact him instead of posting it here....
[Android Software Development] steveria79:
No support here ,I think !?

BobCat v10 - Hacker Kernel
[Android Software Development] martin132014:
That's to bad.....:(
[Android Software Development] prboy1969:
People move on to different Devices, and just do not have time for older projects. But if you want to do Battery Mods on your Device, I suggest you check out the UOT Kitchen online. Not only can you do Custom Batteries. You can also do many other custom mods. Pulldowns, Status Bars, and Text to name a few.
[Android Software Development] steveria79:
? 9505 s4 old device?

BobCat v11 - Hacker Kernel v8 full
[Android Software Development] martin132014:
I used C6833 Xperia Z Ultra....old device...?

Kidding right.....this is the only mod that easily change battery icon, that's why we want it....but i will check that.....
[Android Software Development] Mr.Yawnie:
Did you mod your SystemUI.apk as well?

---------- Post added at 12:50 AM ---------- Previous post was at 12:45 AM ----------

It does work on 4.3 perfectly... I have used it and implemented it on Echoe rom for S4, N3 and N10.1.

You can change the icons yourself when using the windows program. Just download xxhdpi icons, add the icons in the program and then let the program do it's magic. Then when you get the OGBatteryMod.apk, decompile it, head to res/ and create a folder called drawable-xxhdpi. Go to drawable-hdpi, cut the icons and move them to drawable-xxhdpi folder. Recompile and sign the .apk. Done, enjoy your super crisp battery icons.
[Android Software Development] ketan_naik:
Thank you
[Android Software Development] Mr.Yawnie:
Just use the 4.2.2 api level. And if you have errors while compiling SystemUI.apk, check the log. It will most likely tell you errors regarding "style" attribute in two xml files. Open those files with notepad++, and at change from "@style" to "+@style" on the error lines. Compile manually and then mod it again with OG batt mod application.
[Android Software Development] kushal_neov:
I followed method 1 in step 1 so i guess the SystemUI.apk was also modded..
[Android Software Development] lymbe33:
work at galaxy s4 i9505 with 4.3?
[Android Software Development] Mr.Yawnie:
Yes. I have implemented it as a standard feature on echoe rom for s4 i9505, n3 and note 10.1. All of them running 4.3.
[Android Software Development] lymbe33:
is there any info quide that we can install it?
[Android Software Development] Mr.Yawnie:
Look at the op. There's instructions on how to use og battery mod installer program on Windows.
[Android Software Development] nish983:
can some one please give me detailed instruction on how to use this mod on i9500 running on 4.3? please i always get failed to decompile. I did change style to +@style. and compiled the apk manually but when i try to choose apk it gives me FC. :(
[Android Software Development] sugarkane87:
it's work on my motorola fire xt :D except adding the app to setting is not working and I had to sign manualy the systemUI though. Now i'm having difficult to adding battery styles, so can you tell me how to adding antoher battery styles?
[Android Software Development] martin132014:
I think its better just using xposed battery theme.....easier that way....change battery theme in a flash...
[Android Software Development] sugarkane87:
yeah.. but, my device still running on gingerbread :)
[Android Software Development] prboy1969:
I never stated older devices. I said " older projects " ;) . This project is over 9 months old. I'm not saying that's ancient. But some people start a project. Reach a certain point, and then must move on. Either because of time constraints, life, or any other number of reasons. I was just trying to offer an alternative to those that might want it :) .

TEAM MiK MikROMs Since 3/13/11
[Android Software Development] Mr.Yawnie:
I have spoken with the OsamaGhareeb about an update, and he's well aware what needs to be done. He's dead busy with school at the moment so don't know when he has time to update unfortunately :(
[Android Software Development] Shahzeb5444:
here is the log problem in compiling systemui

May be styles.xml is creating problem
[Android Software Development] Mr.Yawnie:
No, it's style attributes in system_bar_notification_panel_title.xml and system_bar_settings_view.xml. You need to edit the style attributes from style="@xxx" to style="+@xxx" manually and then recompile. :)
[Android Software Development] friedrich420:
Who are you Mr.Yawnie???

Sorry i started drinking... But this man is 100% correct!! Those "+" are the problem in "styles" in those 2 xml's... Make sure you change all of them (if you miss some, just follow your error log)

HAPPY NEW YEAR EVERYONE!!!

AN ENORMOUS THANK YOU TO THE MASTER Mr [MENTION=4937202]OsamaGhareeb[/MENTION] !! :good::good::good:
[Android Software Development] Mr.Yawnie:
That is not an error, but a warning instead. Don't be worried though, it's just telling you it can't find some translations for different languages. You'll get that most of the time (always) when recompiling SecSettings.apk on Samsung devices, and maybe other devices with Settings as well. It doesn't break anything from working, it's just letting you know there is no certain translations in there. That's just how Samsung has left some translation strings out for different languages. :)

So don't worry about it as long as the mod works fine, I didn't see any actual error logs in there except those warnings that doesn't do any harm.

If you got an actual recompiling error, it wouldn't recompile it, but abort the process and you wouldn't have a new SecSettings.apk at all. You still had successful recompile of the file. :)
[Android Software Development] r_hippy:
[MENTION=4937202]OsamaGhareeb[/MENTION] thanks for this mod. Much appreciated

Thank u [MENTION=5327466]Mr.Yawnie[/MENTION]

I figured as much.

But was curious

Being if I run apktools no warnings, but I got them with this cool program.

I have read a lot of your posts

Your a great asset to xda

Thanks for the reply
[Android Software Development] Mr.Yawnie:
No problem my friend, glad I could help! Happy new year 2014 to you.
[Android Software Development] Shahzeb5444:
No battery icon in status bar

Thanks for your help ,

I compiled both system ui and settings

but there is not any option in settings and not even a Battery icon in status bar.
[Android Software Development] Shahzeb5444:
😞

Got the same translation error but sorted after replacing Android manifest and meta-inf from original to build folder.

And in systemui done what you said

And recompiled both manually by Apktool

no error.

replace meta-inf and manifest from apk

Zip aligned.

Replace apks by aroma file manager.

Plz tell me where I done wrong.