Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,823 Members 52,104 Now Online
XDA Developers Android and Mobile Development Forum

[HACK] [THEME] Battery Percentage on Status Bar Icon [FRF91]

Tip us?
 
crimsondr
Old
(Last edited by crimsondr; 5th July 2010 at 04:49 PM.)
#1  
Senior Member - OP
Thanks Meter 2
Posts: 196
Join Date: May 2010
Default [HACK] [THEME] Battery Percentage on Status Bar Icon [FRF91]

To get the battery percentage on the status bar icon push this to /system/framework/services.jar.

This version will also pulse the trackball while the screen is on.
White text version provided by RixKliq here.

Make sure the permissions on the file are the same as the original:
Code:
chmod 644 /system/framework/services.jar
After pushing the file, reboot for changes to take affect.
This is not my work, original code pulled from CM5.0.8 and merged in by me.

*Requires rooted and deodexed rom
 
DocRambone
Old
#2  
Recognized Developer
Thanks Meter 2613
Posts: 6,349
Join Date: Jan 2010
Location: Stockholm

 
DONATE TO ME
Nice, one q tho: is it themed for white clock and status-bar text?
 
rallos98
Old
#3  
rallos98's Avatar
Member
Thanks Meter 1
Posts: 46
Join Date: Mar 2010
Location: Singapore
i tried pushing the services.jar download from your link
then i run the chmod 644 /system/framework/services.jar from adb shell

then i ran adb push services.jar /system/framework/services.jar

does not seems to work.

Can help?
There's nothing stronger then the heart of a volunteer.
 
fitsnugly
Old
#4  
fitsnugly's Avatar
Recognized Developer
Thanks Meter 2206
Posts: 1,670
Join Date: Mar 2010
Location: Indianapolis, IN

 
DONATE TO ME
I made a white text version and pushed it, just gave me the "unknown" battery icon status.

This services.jar also kills the TB Alert flash trackball while the screen is on mod.
 
crimsondr
Old
#5  
Senior Member - OP
Thanks Meter 2
Posts: 196
Join Date: May 2010
Quote:
Originally Posted by RixKliq View Post
I made a white text version and pushed it, just gave me the "unknown" battery icon status.

This services.jar also kills the TB Alert flash trackball while the screen is on mod.
Sorry, just realized I uploaded an old version that didn't work. Fixed the link now.
 
HackDown
Old
#6  
Account currently disabled
Thanks Meter 4
Posts: 55
Join Date: Dec 2005
Location: Vicenza

 
DONATE TO ME
does not seems to work again "/

Thanks
 
mousse04
Old
#7  
mousse04's Avatar
Senior Member
Thanks Meter 84
Posts: 617
Join Date: Feb 2010
Location: Grenoble
Quote:
Originally Posted by crimsondr View Post
Sorry, just realized I uploaded an old version that didn't work. Fixed the link now.
Works for me... thanks a lot
 
crimsondr
Old
#8  
Senior Member - OP
Thanks Meter 2
Posts: 196
Join Date: May 2010
Added version that pulses trackball when screen is on. Check OP for link.
 
h.bs
Old
#9  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2010
Will it work.on 85b as well? Didn't get the ota update yet...

Sent from my Nexus One using XDA App
 
fitsnugly
Old
(Last edited by fitsnugly; 1st October 2010 at 03:54 PM.)
#10  
fitsnugly's Avatar
Recognized Developer
Thanks Meter 2206
Posts: 1,670
Join Date: Mar 2010
Location: Indianapolis, IN

 
DONATE TO ME
Quote:
Originally Posted by crimsondr View Post
Added version that pulses trackball when screen is on. Check OP for link.
white text version of the TB modded one attached... thanks crimson!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...