[HOW-TO] Circle battery with % in the middle (rooted) + froyo

Search This thread

kubino99

Senior Member
Apr 14, 2008
244
28
Hi All

I've edited services.jar, so we can use circle battery with sense roms. You need to have rooted device and MCR r1 and R3 ROM.

Froyo version tested on DEFROST 2.0 Rom (for froyo I've updated just the code (services.jar) not the framework, but I'm sure some of the devs will take care of that ;-) )

For android 2.1 :

Code:
1. Start recovery
2. Do nandroid backup 
3. Place update_signed.zip or update-froyo-signed.zip to SD and flash,

For android 2.2 (froyo) without HTC sense :

Code:
1. Start recovery
2. Do nandroid backup 
3. Place update-froyo-signed.zip to SD and flash,

If you have odexed /system/app this mod won't work for you. Look for *.odex files in the /system/app folder.

The theme used here is not my work!! all credits for theme go to PaY87
 

Attachments

  • desire_ccbat.png
    desire_ccbat.png
    11.6 KB · Views: 9,895
  • update_signed.zip
    3.1 MB · Views: 3,604
  • update-froyo-signed.zip
    623.5 KB · Views: 2,584
Last edited:

adi90

Senior Member
Aug 15, 2008
65
2
Impossible to start the phone , phone is starting but all processus failed to start ! how is it possible to remove that ? or to do it work ?
 

adi90

Senior Member
Aug 15, 2008
65
2
what is exactly the file service.jar ? any link with app installed on the phone ?
 

kubino99

Senior Member
Apr 14, 2008
244
28
Sorry, but what is MCR or CM rom???

I have a stock rom with root. Will this work?

MCR -> Modaco custom rom
CM -> Cyanogenmod rom

This should work on Sense Stock rom. Can you please post the size of services.jar ?

Code:
adb shell ls -l /system/framework/sevices.jar

you'd better backup the files in recovery so you can easy roll back in case of issues :

unzip services.zip
adb shell mount /system
adb shell cp /system/framework/services.jar /system/framework/services.jar.orig
adb push services.jar /system/framework
adb shell chmod 644 /system/framework/services.jar
adb shell cp /system/framework/framework-res.apk /system/framework/framework-res.apk.orig
adb push framework-res.apk /system/framework
adb shell chmod 644 /system/framework/framework-res.apk
adb reboot
 

kubino99

Senior Member
Apr 14, 2008
244
28
on the mcr r2 rom i'm running, i get 564522
Code:
 -rw-r--r--      1 0        0         564522 Aug  1  2008  /system/framework/services.jar

looks like it's the same as in MCR r1, In this ROM it should work.

Code:
-rw-r--r--    1 0        0           593470 May 11 21:16 services.jar
[COLOR="Red"]-rw-r--r--    1 0        0           564522 Aug  1  2008 services.jar.stock[/COLOR]
 

Pyr0x64

Senior Member
Mar 7, 2010
699
111
Merseyside
looks like it's the same as in MCR r1, In this ROM it should work.

Code:
-rw-r--r--    1 0        0           593470 May 11 21:16 services.jar
[COLOR="Red"]-rw-r--r--    1 0        0           564522 Aug  1  2008 services.jar.stock[/COLOR]

followed the instructions and ended up in a bootloop - "quietl..."
copying the orig files back allowed the phone to boot normally again
 
Last edited:

Pyr0x64

Senior Member
Mar 7, 2010
699
111
Merseyside
no, i haven't tried to wipe data or boot without my sd card as i'm running ap2sd

i'll need to run titanium backup before wiping...
i might try that later if you cannot find a solution, but i have to go get ready for work right now