Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more

Check Your I/O Usage with Iotop for Android

Ever needed to check the I/O usage of apps? If so, you probably tried searching for an iotop … more

T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more
Post Reply

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

OP crimsondr

3rd July 2010, 12:51 PM   |  #1  
OP Senior Member
Thanks Meter: 2
 
196 posts
Join Date:Joined: May 2010
More
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
Last edited by crimsondr; 5th July 2010 at 04:49 PM.
3rd July 2010, 12:55 PM   |  #2  
Recognized Developer
Stockholm
Thanks Meter: 2,613
 
6,349 posts
Join Date:Joined: Jan 2010
Donate to Me
Nice, one q tho: is it themed for white clock and status-bar text?
3rd July 2010, 01:13 PM   |  #3  
rallos98's Avatar
Member
Flag Singapore
Thanks Meter: 1
 
46 posts
Join Date:Joined: Mar 2010
More
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?
3rd July 2010, 01:24 PM   |  #4  
fitsnugly's Avatar
Recognized Developer
Flag Indianapolis, IN
Thanks Meter: 2,206
 
1,670 posts
Join Date:Joined: Mar 2010
Donate to Me
More
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.
3rd July 2010, 01:28 PM   |  #5  
OP Senior Member
Thanks Meter: 2
 
196 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by RixKliq

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.
3rd July 2010, 01:43 PM   |  #6  
Account currently disabled
Flag Vicenza
Thanks Meter: 4
 
55 posts
Join Date:Joined: Dec 2005
Donate to Me
More
does not seems to work again "/

Thanks
3rd July 2010, 01:47 PM   |  #7  
mousse04's Avatar
Senior Member
Flag Grenoble
Thanks Meter: 84
 
617 posts
Join Date:Joined: Feb 2010
More
Quote:
Originally Posted by crimsondr

Sorry, just realized I uploaded an old version that didn't work. Fixed the link now.

Works for me... thanks a lot
3rd July 2010, 01:50 PM   |  #8  
OP Senior Member
Thanks Meter: 2
 
196 posts
Join Date:Joined: May 2010
More
Added version that pulses trackball when screen is on. Check OP for link.
3rd July 2010, 02:01 PM   |  #9  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Apr 2010
Will it work.on 85b as well? Didn't get the ota update yet...

Sent from my Nexus One using XDA App
3rd July 2010, 02:22 PM   |  #10  
fitsnugly's Avatar
Recognized Developer
Flag Indianapolis, IN
Thanks Meter: 2,206
 
1,670 posts
Join Date:Joined: Mar 2010
Donate to Me
More
Quote:
Originally Posted by crimsondr

Added version that pulses trackball when screen is on. Check OP for link.

white text version of the TB modded one attached... thanks crimson!
Last edited by fitsnugly; 1st October 2010 at 03:54 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes