• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

crimsondr

Senior Member
May 6, 2010
275
18
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:

rallos98

Senior Member
Mar 6, 2010
62
2
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?
 

fitsnugly

Inactive Recognized Developer
Mar 10, 2010
2,454
2,208
Indianapolis, IN
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.
 

allofusjw

Senior Member
Jan 22, 2010
104
22
S. Jersey
I'm using evils latest rom and this worked great! only issue for me though is the battery icon in evils rom is white, and with the white percentage text it makes it hard to read, but I can still make it out if I look closely.
I used ninja morph. if you've never used it here's what to do after downloading ninja morph from market:
download services.jar zip from post above
using a file manager, navigate to the downloaded zip and extract it(this might not be necessary but not sure if ninja morph exacts for you)
open ninja morph
click new project
navigate to system/framework/services.jar and select it
there will be 2 files in ninja morph now
while still in ninja morph navigate to extracted files from the zip in this post and select each file to replace
push "finish project"
reboot (reboot took a long time, so be patient)
done