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

[APP]MiUi-like line battery bar for your status bar

Tip us?
 
hedwig34
Old
#21  
hedwig34's Avatar
Senior Member
Thanks Meter 655
Posts: 549
Join Date: Sep 2011
Location: Pittsburgh

 
DONATE TO ME
Quote:
Originally Posted by IDMA.DROID.X2 View Post
What? Switching to CM7? :P

Sent from my MB870 using XDA App
lol, not the solution I was thinking.

So, on ECLIPSE, I did figure out how get it to ignore the battery images (without having to change them to black or transparent) but the blank space is still there where the battery was. Still trying to figure it out though.
Here's what I got right now:
Galaxy S3 - Gummy M3 KitKat (4.4.4) Broken
Galaxy Nexus - Gummy M3 KitKat (4.4.4)
Nexus 7 - Gummy M3 KitKat (4.4.4)
 
motcher41
Old
#22  
motcher41's Avatar
Senior Member - OP
Thanks Meter 1,275
Posts: 3,407
Join Date: Jul 2011
Location: Brainerd, Minnesota

 
DONATE TO ME
Quote:
Originally Posted by hedwig34 View Post
lol, not the solution I was thinking.

So, on ECLIPSE, I did figure out how get it to ignore the battery images (without having to change them to black or transparent) but the blank space is still there where the battery was. Still trying to figure it out though.
Well get on it lol ash would love you forever if u figure it out and throw in a center clock lol

Sent from my cyanocrack using Xparent Blue Tapatalk
Check out the friendliest community on Google+
Droid Friends Community
Everyone and virtually everything welcome here!
Visit http://www.elementalxdesigns.com/ for a very friendly android community.
 
theredvendetta
Old
#23  
theredvendetta's Avatar
Senior Member
Thanks Meter 45
Posts: 156
Join Date: Apr 2011
Motcher, I ****ing love you.
The Following 2 Users Say Thank You to theredvendetta For This Useful Post: [ Click to Expand ]
 
Pixelation
Old
#24  
Pixelation's Avatar
Senior Member
Thanks Meter 103
Posts: 559
Join Date: Jan 2012
Location: Jersey
Quote:
Originally Posted by motcher41 View Post
App and do it yourself instructions here: [APP] or [MOD] Battery Bar for All ROMs - Updated 22/1/12Thread Tools:

Found this on XDA. I am on Eclipse 2.0.4 and its working great...check it out!
You can edit out your stock battery if you like through the UOT Kitchen easily.


Line is at the top of the image its fully customizable in size and color!
Cute line...lol, thank you for the post. It is nice seeing battery in games and such

Dee Ex Two - See Em Seven

DROID DOES.....
Apple DID, like I can't remember
 
motcher41
Old
#25  
motcher41's Avatar
Senior Member - OP
Thanks Meter 1,275
Posts: 3,407
Join Date: Jul 2011
Location: Brainerd, Minnesota

 
DONATE TO ME
Quote:
Originally Posted by Pixelation View Post
Cute line...lol, thank you for the post. It is nice seeing battery in games and such

Dee Ex Two - See Em Seven
If u go.into settings/cyanogen settings/interface/status bar/ u can get rid of the stick battery icon too...if u didn't know

Sent from my cyanocrack using Xparent Blue Tapatalk
Check out the friendliest community on Google+
Droid Friends Community
Everyone and virtually everything welcome here!
Visit http://www.elementalxdesigns.com/ for a very friendly android community.
The Following User Says Thank You to motcher41 For This Useful Post: [ Click to Expand ]
 
dust.
Old
#26  
Senior Member
Thanks Meter 59
Posts: 335
Join Date: Jul 2011
Btw... this is awesome!!

CM7 <3
 
hedwig34
Old
#27  
hedwig34's Avatar
Senior Member
Thanks Meter 655
Posts: 549
Join Date: Sep 2011
Location: Pittsburgh

 
DONATE TO ME
Here's how to completely remove the battery icons on eclipse:

To remove the battery icon from the status bar completely you need to edit the smali code in SystemUI.apk.
Here's my status bar on Eclipse 2.0.4 now:


Decompile SystemUI.apk using apktool, apkmanager, ets. whatever you like.

Then open up \smali\com\android\systemui\statusbar\policy\Statu sBarPolicy.smali

Go to line 4658 and replace this:

Code:
    invoke-virtual {v4, v5, v0, v1}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
with this:

Code:
    invoke-virtual {v4, v5, v6}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
But if don't want to go though all of that you can take this classes.dex and insert it into your SystemUI.apk using 7zip or winrar. The flash it in or push with adb or whatever method you use.

Here's the classes.dex file. It came from Eclipse 2.0.4 but will probably work with 2.0.3 (probably older version too).

classes.dex

Later
Here's what I got right now:
Galaxy S3 - Gummy M3 KitKat (4.4.4) Broken
Galaxy Nexus - Gummy M3 KitKat (4.4.4)
Nexus 7 - Gummy M3 KitKat (4.4.4)
The Following 2 Users Say Thank You to hedwig34 For This Useful Post: [ Click to Expand ]
 
cron666
Old
#28  
Junior Member
Thanks Meter 7
Posts: 16
Join Date: Jan 2009
Location: Ocean City
Wow thanks guys!

I had this on my last CM7 build from Jbird and now im using PhantomGamers and he didnt keep all the mods Jbird added but fixed alot of stability issues.

Thanks so much for the Mod and the Fixes!!
 
Travisdroidx2
Old
(Last edited by Travisdroidx2; 3rd April 2012 at 03:16 AM.)
#29  
Senior Member
Thanks Meter 816
Posts: 3,001
Join Date: Sep 2011
Location: Bay Area California
Quote:
Originally Posted by theredvendetta View Post
Motcher, I ****ing love you.
+100 even though he no longer has this device he is still helping us!
 
Ohschit
Old
(Last edited by Ohschit; 3rd April 2012 at 03:08 PM.)
#30  
Ohschit's Avatar
Senior Member
Thanks Meter 162
Posts: 935
Join Date: Dec 2011

 
DONATE TO ME
This is beyond me. Got frustrated and gave up at step 1. Anyone have an idiot proof version of instructions?

What is my system ui and where is the apk located?

Sent using XDA app from my abandoned DX2 running CM7. In dragonzkiller we trust ;p

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes