Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

XDA LG Development Challenge Winners

Almost 3months ago, we set out with LGto findtwo amazing apps that developers could put together … more

Wearable Apps w/ Andreas Göransson – XDA:DevCon 2014

XDA:DevCon 2014 in Manchester, UK featured quite a few interesting topics as … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP crimsondr

3rd July 2010, 01:51 PM   |  #1  
OP Senior Member
Thanks Meter: 10
 
238 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 05:49 PM.
3rd July 2010, 01: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, 02: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, 02:24 PM   |  #4  
fitsnugly's Avatar
Recognized Developer
Flag Indianapolis, IN
Thanks Meter: 2,230
 
1,675 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, 02:28 PM   |  #5  
OP Senior Member
Thanks Meter: 10
 
238 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, 02: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, 02: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, 02:50 PM   |  #8  
OP Senior Member
Thanks Meter: 10
 
238 posts
Join Date:Joined: May 2010
More
Added version that pulses trackball when screen is on. Check OP for link.
3rd July 2010, 03: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, 03:22 PM   |  #10  
fitsnugly's Avatar
Recognized Developer
Flag Indianapolis, IN
Thanks Meter: 2,230
 
1,675 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 04:54 PM.

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

Advanced Search
Display Modes