yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bombaybadboy:
Been Using this battery mod for a few hours now on my i9500 and a number of different battery icons built in and downloaded and its not had any problems at all :thumbup:

Sent from Uncharted i9500
[Android Apps and Games] ksr007:
Edited : My mistake, everything is working now with apktool 1.5.2 !

---------- Post added at 05:24 PM ---------- Previous post was at 04:45 PM ----------

This is an Amazing mod, very easily and quickly !
[Android Apps and Games] metalfan78:
I'm going to try to get this to work again, but I have one question. I didn't see anything here on how to go back to the stock battery if needed. I may have missed it somewhere. Thanks.
[Android Apps and Games] gharrington:
Hmm maybe [MENTION=5282154]pas2001[/MENTION] can add stock to the server....
[Android Apps and Games] ksr007:
Just replaced back code to system/layout/status_bar.xml:

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
[Android Apps and Games] metalfan78:
Yea, I didn't think of that. I was curious if it could be done in the app. Thanks
[Android Apps and Games] pas2001:
I think better replace the old systemui from rom.

When have time will see if can replicate kitkat white bat.
[Android Apps and Games] metalfan78:
I see the issue on the s5. That line in the status_bar.xml is quite different than what you have in the OP. Mine looks like this

<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/battery_icon_width" android:layout_height="@dimen/battery_icon_height" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:layout_marginStart="3.0dip" />
[Android Apps and Games] pas2001:
Not sure about the code but I think gary stated about word ...android:id="@id/battery" ... which may mean that you catch the correct line.
[Android Apps and Games] pas2001:
Start making your request.
[Android Apps and Games] ksr007:
No problem, mate ! Just replace it .

I have S5 too and It's working good .
[Android Apps and Games] pas2001:
OK [MENTION=2326685]metalfan78[/MENTION]

Follow these steps

First Download the flashable zip from here http://goo.gl/Ng5sl8

Then go to recovery mode and flash the zip

reboot to system

open 3Minit Battery Mod app.

Go to BATTERY SETTINGS Tab

You will see white stock icon as above

Then check the checkbox "Use battery from 3MinitBatteryIcons folder" whenever you missed the stock icons.

;)

JOY
[Android Apps and Games] wackowizzard:
I have flashed the NF1 zip on my OmegaROM v33 without problems and works perfectly! So TNX!

I have a question : if you have downloaded a online battery, you can then keep it for later? So as not to have download multiple times the same battery.

Verstuurd van mijn GT-I9505 met Tapatalk
[Android Apps and Games] pas2001:
For saving the space then you can keep only latest type you download. In case you change to offline bat or other such as bat from folder as above post. You can switch back to the latest online bat with out redownload.

But if you download the other type whether mine or nadmaj jobs. New will replace the old.
[Android Apps and Games] dave_p_b:
Hi

No one's mentioned download speeds yet so I'm not sure if it's just a problem for me.

I cannot download very fast at all. For example, I just downloaded nadmaj battery 461. It took 4 minutes 45 seconds. It does that for any battery I choose.

It doesn't make any different if I use mobile internet or Wifi either.

Also, you cannot change battery icon whilst the phone is charging. I changed from the nadmaj battery 461 to the 3MinitBatteryIcon folder and it wouldn't change until I stopped charging.

The rest is looking good though.
[Android Apps and Games] Vagelis1608:
Which ones?

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] carl1961:
to be exact I would have to unpack the kernel.

easyest thing is zip your framework folder like you did last post, then I can use Archi Kitchen to deodex

I tryed downloading the only dump of your phone but it keeps failing to download, it crap's out during downloading

found LG_G2_Mini_stock_system_partitition.zip, lets see if it downloads ( I realized you need root to get those files)
[Android Apps and Games] Vagelis1608:
Here is the /system/framework.

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] carl1961:
ok good, it is deodexing now
[Android Apps and Games] Vagelis1608:
So, I couldn't decompile it because it was odexed?

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] DevilDog512:
Check your pm
[Android Apps and Games] s8freak:
Gary just a word of thanks for your work. I greatly appreciate your dedication to perfection many, many thanks to your sir:good::good:
[Android Apps and Games] gharrington:
I can see from the log you have posted this:

LGSystemUI.apk\res\layout\status_bar.xml:21: error: Error parsing XML: not well-formed

Look at line 21 something is not quite right you may have a . of an incorrect char somewhere.
[Android Apps and Games] gharrington:
Sorry for delay mate I have been very busy. Try the attached mate.
[Android Apps and Games] Negan:
Oh right on man. No need to apologize at all. Will try as soon as I can
[Android Apps and Games] carl1961:
ok Line 21 is the mini battery code

<ImageView android:id="@id/battery" android:layout_width="0.0dip" and android:layout_height="0.0dip"" android:layout_marginStart="1.0dip" />
[Android Apps and Games] gharrington:
Yes look you have a double " after android:layout_height="0.0dip" delete it.

This is what the log means by not well formed.
[Android Apps and Games] carl1961:
good Eye's:good:
[Android Apps and Games] gharrington:
Just know what to look for mate. ;)
[Android Apps and Games] carl1961:
OK still error on that line.

This is the original code:

<ImageView android:id="@id/battery" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginStart="1.0dip" />

What or where would you insert your code?

Thanks I search xda for a LG G2 with your mini battery . Seems everywhere LG is a pain .
[Android Apps and Games] Mr_Happy:
is it possible to add a folder with your own name and your own icons??
[Android Apps and Games] carl1961:
I would download a battery with the app, then look in the folder and see how it is. (I'm talking out loud ;) ) that would be nice.
[Android Apps and Games] Gabriel51:
Hey old man!

I sent you a PM, but I had to come here just to make sure you're still alive!!!:highfive:
[Android Apps and Games] gharrington:
Please upload the original status_bar.xml mate.
[Android Apps and Games] Mr_Happy:
Tried that and if I replace the icons in that folder with my own and select that number in the app I get my icons.

But I would rather keep them seperate...

I was wondering if a new 'user' folder gets picked up automatically by the app or if I need to edit an xml/config file...
[Android Apps and Games] gharrington:
Sure you have latest app mate?. Please redowload from op.
[Android Apps and Games] Mr_Happy:
I Think I have... :(

I extracted the apk from this (3MinitBatteryModFiles_MD5_60eb941962a25a3974f2cf797860a8f4.zip) and installed it....

Created a new folder /mnt/sdcard/3minit downloads/test/0 and put my icons in there and created a folder /mnt/sdcard/3minit downloads/batteryicons/15 with my icons and neither gets picked up by the app.

Should I put the folder(s) somewhere else or should I add the folder name in a file somewhere?
[Android Apps and Games] pas2001:
Think that can't be. We make this app for the main purpose of safe your sdcard space and share as many types as ever seen before.

We also think for some case you want to have some very special private bat icons by add to" 3minitbatteryicons "folder one more type per time .

If you want your bat icons in users folder you can send to me I will rename to suitable for upload to server in users folder . Then you can share with other users too.

Please understand our concepts.
[Android Apps and Games] gharrington:
I think we misunderstood mate I think he is talking about 3MinitBattryFolder can you explain to him please?
[Android Apps and Games] DaOldMan:
Dear [MENTION=4619873]gharrington[/MENTION],

Thanks for a very nice mod. It's really a 3minit mod :) Took me less then 3 minutes :). I hope there is a new version coming soon as I miss batteries with a gradient. One color for a battery for all values seems illogical to me....

1) How can I know which batteries I have saved to the device ? Are they the once in the "user" folder ?

2) The "use battery from xxxx folder" is not a good idea :(. I prefer to see all my saved batteries in one view.

Now that the mod download speed is much faster, I like it more and more. Just want to see more gradient batteries and I will love it. Keep up the good job !

Thomas
[Android Apps and Games] Mr_Happy:
So I can use the folder '3minitbatteryicons', but only 1 set of icons?

It is not possible to add subfolders with different styles under that folder?
[Android Apps and Games] pas2001:
1) the type you save .. the frame will be blue. The type you use the frame is green.

The gradient bat that you can adjust color by level will come next version.
[Android Apps and Games] the_vanya1:
How long wait next version?
[Android Apps and Games] pas2001:
When it finish will let you know.
[Android Apps and Games] carl1961:
Thanks [MENTION=4619873]gharrington[/MENTION] My goal is to get LG G2 a moded LGSystemUI

also a thought ? it would be nice if a thread was done with links to all working 3minit Battery systemui's
[Android Apps and Games] carl1961:
I must have missed you post. Yep I am alive lol. Ah your older than me right !!
[Android Apps and Games] Gabriel51:
By a lot probably.... 63
[Android Apps and Games] carl1961:
Yep by 10 6/9/1961
[Android Apps and Games] tp2215:
So I have tried this mod in the past and for some reason could never get it to recompile successfully. I kind of gave up and skipped it for a while but figured that I would try it again. I still get recompile errors. Im using the Galaxy S5 Tmobile variant. I am using apktool version 1.5.2 but it seems that I cant even get the SystemUI.apk to recompile successfully without the mod added. It recompiles perfectly using apktool version 2.0. Here is the error before I even add the mod...

Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_1.5.2.jar"

With Tickle My Android V9.1.1
(tinyurl.com\ticklemyandroid)

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

I: Smaling...
[38,4] Error for input '.param': Invalid directive
[38,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: c:\TickleMyAndroid
\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\BatteryMeterView$1.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)

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

Recompile Not Successful!

Press any key to continue . . .

Probably something stupid that I overlooked but does anyone have any suggestions? Would really appreciate it, the mod look awsome. If need be I can also post the errors with the mod added, I just have to redo it again since I decompiled it again to check without the mod. It seems to point to the errors again in the new smali files that are added.

Edit: also if anyone would be willing to try it for me I can upload the SystemUI.apk later on tonight.
[Android Apps and Games] alexdelia80:
excuse me,

but i've errors during recompiling,

also if i've downloaded apktool 1.5.2

have some suggestions ?

here i attach my screenshot,

thank for yout attention!
[Android Apps and Games] s8freak:
Please do not ask for ETA it's against forum rules and just rude. These guys do us all a great favor by providing these mods for free.

"No soup for you! Come back one year!!"

Sent from my ViSiX powered AT&T G900A
[Android Apps and Games] skrapmetal:
Could someone please help me? I am without a computer and I really want to try this. I tried using the apktool app but its useless for something like this. If someone could edit my systemui, I'd greatly appreciate it!

SystemUI.apk

http://d-h.st/hUD
[Android Apps and Games] deuce_biggins:
General rule of thumb for everyone:

If you're asking for help from others to mod your UI...you need to include the following in your post for the process to run smoother

1. What phone/rom you are using incase your UI is already modded (good to know)

2. Include all necessary frameworks along with your SystemUI (for example TouchWiz uses framework-res and twframework-res)

There are always users willing to help but a little more information goes a long way.
[Android Apps and Games] skrapmetal:
Oh! Forgot that important info lol...

S4 L720, (aosp) SOKP ROM, 4.4.4.

I did attempt myself, but there's only so much apktool.apk can do.

Here's the attached file again... its not a TW ROM so I'm guessing I don't need the addition framework file?
[Android Apps and Games] carl1961:
you should have a framework.re.apk
[Android Apps and Games] skrapmetal:
Was unaware I needed the framework file too. OK... Here they are again together this time. S4 L720 running aosp ROM SOKP 4.4.4.

Thanks!!
[Android Apps and Games] carl1961:
[MENTION=5751011]skrapmetal[/MENTION], try one these (one is a recovery installer)

remember to install 3MinitBatterySettings.apk first or you will get FC (OP recommended)
[Android Apps and Games] pas2001:
Thank verymuch for help support people here. [emoji4]
[Android Apps and Games] skrapmetal:
I installed the app first, even opened it to make sure it was working, then flashed the zip in recovery and rebooted. Force closes. Am I missing something?
[Android Apps and Games] carl1961:
I can only get it to uncompile and recompile using apktool_1.SlimRoms.KitKat.jar delete your other one so you don't install the same one

try this one :fingers-crossed: I have no way to test sorry :(
[Android Apps and Games] skrapmetal:
Don't be sorry. I appreciate the help greatly! Will test and report back!
[Android Apps and Games] iEatRappers:
Is there a way I can return back to my stock battery meter? I have the galaxy s4. I tried disabling 3minit but im still stuck with the custom battery bar/meter...
[Android Apps and Games] skrapmetal:
Still force closes. I never had luck with recompiling system apps either. Always a bunch of errors for me.
[Android Apps and Games] carl1961:
can you upload your systemui 3minit mode? is it for kk

---------- Post added at 09:22 PM ---------- Previous post was at 09:21 PM ----------

maybe [MENTION=4021892]iEatRappers[/MENTION] can get you a copy of his? or share how he got it working
[Android Apps and Games] skrapmetal:
I would flash my stock systemui back if it were me.
[Android Apps and Games] iEatRappers:
Sorry but 3minit is baked in the rom that I'm currently using. So I don't think ill be able to help.
[Android Apps and Games] carl1961:
he just needs your SystemUI.apk

you can replace that with a unmodified one if you want your stock battery back
[Android Apps and Games] skrapmetal:
A systemui from a different rom? Would that even work?
[Android Apps and Games] carl1961:
might help seeing what the mod was (decompiling) did you find the rom he was using?
[Android Apps and Games] skrapmetal:
No idea what ROM he is on... or if its even for the same phone
[Android Apps and Games] Negan:
You sir are the man! Works great now. What was causing my double battery and how did you fix it?
[Android Apps and Games] carl1961:
http://xdaforums.com/showthread.php?t=2773162

I have slow internet, maybe you can download and try, and maybe upload the systemui
[Android Apps and Games] gharrington:
I fixed as I described to you mate except you had the smali files in the incorrect place that's why you got the fc. Glad its working.
[Android Apps and Games] Negan:
Oh wow I feel silly! Thanks for your help

sent from my oneplus one
[Android Apps and Games] tp2215:
Hey guys, here is mine...

Like I said a few pages back, I am trying to get this added to my Project Infinity rom. For some reason no matter what I try I get errors while recompiling. I would appreciate any assistance.

PS. yes, I am also aware that the SystemUI.apk is odexed. It shouldnt make any difference though when adding the mod unless you try and test it.
[Android Apps and Games] gharrington:
It will make a difference mate. You cannot add the smali files in an odexed apk. With no smali files you will get fc.

You can deodex the apk, mod it then reodex it.

For a odexed apk the smali files are found in the SystemUI.odex not in the apk itself.
[Android Apps and Games] skrapmetal:
There's no way an odexed tw ROM will work in my aosp deodexed ROM. I don't think I want to brick today lol. Bummer though. I was really looking forward to this mod.
[Android Apps and Games] alexdelia80:
Doesn't work!

excuse me curl,

but i've have a problem too...

i followed the entire guide and

modified my systemui.apk

but i think that it is a little bit different

from the sorurce code posted in

the original tread,

i have a galaxy note 3 with

last cm11 nightly version kitkat 4.4.x

here i attach my original statusbar.xml

and my modified statusbar.xml

if you could tell me how to modify

my file i'll appreceate it very much!

(excuse me for my bad english)

many thanks and best regards,

alessandro
[Android Apps and Games] Vagelis1608:
Any news here?

BTW, it's G2 Mini :)

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] gharrington:
OK send the me all the needed apks I will take a look. Or has it been done?
[Android Apps and Games] lambik333:
can't find the apktool, tried differend but not working...isn't there an zip-file we just have to flash and everything worked???

thnx..
[Android Apps and Games] ammar1514:
hey guys

mod sounds awesome but i cant get it to work so hoping to get some help from you guys. the only way i could get the apk to decompile and recompile successfully was with the slimbean apktool but then when i push the apk statusbar disappears.

im on PACrom i9100 (S2). I have also included the apk that i modded. :good:

https://www.dropbox.com/s/1g9774puw9r1l7e/SystemUI.zip
[Android Apps and Games] sfynx1:
I had this happen to me aswell because i did not put meta-inf folder and androidmanifest from old apk to new apk.
[Android Apps and Games] ammar1514:
ohk but did you get it to work after that?
[Android Apps and Games] gharrington:
Here use 1.5.2 mate.

http://code.google.com/p/android-apktool/
[Android Apps and Games] sfynx1:
Yes, it worked fine after that.
[Android Apps and Games] Vagelis1608:
At the above post you can find the deodexed LGSystemUI.apk

At the above post you can find the whole /system/framework/ .

I hope that's everything you need :)

Sent from my D620R [Stock 4.4.2]
[Android Apps and Games] gharrington:
Yes great will do tomorrow .
[Android Apps and Games] thereassaad:
[MENTION=4619873]gharrington[/MENTION] I installed on my N2 DN3 V5.2 THANKS but I get that space between signal & battery why?? Any fixed
[Android Apps and Games] pas2001:
Try reduce size? And try other types then pleas send screen
[Android Apps and Games] DaOldMan:
Custom rom with custom layout. Needs to be checked. What happens if you change size?

Thomas
[Android Apps and Games] thereassaad:
I tried but im not success
[Android Apps and Games] pas2001:
Size no change or space no reduce?

---------- Post added at 11:01 PM ---------- Previous post was at 11:01 PM ----------

Try other type too please.

---------- Post added at 11:03 PM ---------- Previous post was at 11:01 PM ----------

For this type I sure not make excess space on side.
[Android Apps and Games] thereassaad:
Sorry size of battery changed but space not changed
[Android Apps and Games] pas2001:
What happen if other type mate.
[Android Apps and Games] thereassaad:
Bro other type the battery changed to big & to very small but the space same
[Android Apps and Games] pas2001:
No mate other type such as nadmaj folder . Users folder etc.

---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

I ask you to test other type cos I guess it came from your resolution setting in your rom. Not sure cos you are first case report this.

Nad maj folder have made for xhdpi which smaller than mine.
[Android Apps and Games] thereassaad:
Sorry bro same result ???
[Android Apps and Games] JoHnNYBlaZE716:
If your line starts with:

Never mind I figured it out
[Android Apps and Games] ammar1514:
having systemui force close . i even copied over the original meta-inf and manifest :(
[Android Apps and Games] itchyxl:
hi,need some help,i have edited the file and recompiled but get system fc and have no items in the status bar nothing..

i have followed alle the steps in the guide but dont get it working,i using a galaxy s3 gti9300 with the SOKP-KK444-KTU84Q-V-01 Rom

anyone can help me with that or can edit it for me ,i can sent you the needed files

p.s.my english iss not so good forgive me for that
[Android Apps and Games] ammar1514:
did you copy over the original meta-inf and manifest.xml from original apk??
[Android Apps and Games] itchyxl:
before recompiling or later?
[Android Apps and Games] ammar1514:
later

you have to manually copy those two over using a zip viewer
[Android Apps and Games] itchyxl:
will try it

have added my status bar xml hope its correct edited
[Android Apps and Games] itchyxl:
no luck,complete redo the steps decompiling edit,recompile and copy over meta inf and manifest but not working or system ui fc.

have using tickle my android for the compiling steps

think some probs with the editing stuff something overseen or some

but thx for your tip,maybe i do it tomorow complete new or i give up;)
[Android Apps and Games] ammar1514:
lol...its the same here with me ...i tried all i could, cant seem to find the problem....good luck :thumbup:
[Android Apps and Games] gharrington:
Please send your original unmodified status_bar.XML I know your problem.
[Android Apps and Games] itchyxl:
here is it
[Android Apps and Games] itchyxl:
sorry wrong file

heres orginal
[Android Apps and Games] gharrington:
Remove this part from MinitBattery line in xml.

android:layout_marginStart="5.0dip"
[Android Apps and Games] gharrington:
Just about to reply saying that lol
[Android Apps and Games] gharrington:
Here try the attached. Makw sure you have app installed and small files in the correct place.
[Android Apps and Games] itchyxl:
yeah it works,thanks a lot :good:

Thank you very much
[Android Apps and Games] gharrington:
Here you go buddy as promised.
[Android Apps and Games] gharrington:
Did you get it working? If you are using the same device/firmware please try the one above also.
[Android Apps and Games] ammar1514:
nope ....im using i9100 (S2) PACrom android 4.4.3 these are my stock files
[Android Apps and Games] badkill:
Hi all

Someone could help me integrate these batteries in my SystemUI.apk, and try to read but really I have not much knowledge on the subject, I hope someone could help me I have a Galaxy S4-i9505 with GoldenEye rom v37, beforehand thank you very much to all and especially the creator of this mod