yashsingh1/xdaforums huggingface dataset:
[General Topics] asideatom:
My first one is HTC TyTN, but now I'm using Samsung SGH-i780.
[General Topics] donny-t:
my first touch phone, qtek 2020.
[General Topics] poetryrocksalot:
The Xperia X1 was my first touch phone. IMO touch screens are overrated.
[General Topics] Fallen Spartan:
htc hermes > htc kaiser > htc diamond > htc hd > htc desire (ordered)
[General Topics] kujo_kjc:
mine was magician, then elf, next was elfin, and now diamond..now i'm thinking to try cruise II..
[General Topics] ryanswj:
My first touch phone was a LG KS20. Then I bricked it :)
[General Topics] str8ridah:
mine herms, kovski, raphael
[General Topics] BicolXpress:
bought my first touch phone last year, htc touch pro...im now using legend =)
[General Topics] ddotpatel:
Woah, some real touch screen veterans here. My first touch screen was my Nokia 5800 about 9 months ago,... It was WEAK!!!!!!!
[General Topics] HazzBazz:
SE W950i > Xperia X1 > HTC Magic > ??? (Palm Pre Plus?, HD2?, Desire?, Nokia N8?, Dell Thunder?, HTC WP7 Launch Device?)
[General Topics] TheDisneyMagic:
My first touch phone was the Nokia 7710, amazing for the time just a shame they never released the ota TV for it as promised. After that I switched to Windows Mobile with my o2 XDA Orbit (HTC Artemis) followed by a XDA Orbit 2 (HTC Polaris) and my current Touch Pro 2 (HTC Rhodium).
[Desire Themes and Apps] kubino99:
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 :

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 :

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
[Desire Themes and Apps] ephumuris:
Got stuck in a boot loop after doing this. Not sure why or how to fix it...other than a new rom :(
[Desire Themes and Apps] adi90:
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 ?
[Desire Themes and Apps] Nollie2:
Thanks for the warning.
[Desire Themes and Apps] Bart1981:
Good to read the warning...

Almost flashed this..
[Desire Themes and Apps] LPT:
Even got my phone into recovery but stopped at right time...thanks for the warning...:(...really want this mod though..:(
[Desire Themes and Apps] adi90:
what is exactly the file service.jar ? any link with app installed on the phone ?
[Desire Themes and Apps] kubino99:
Forgot to mention it will not work on CM ROMs.

Which ROM you are using? This is for sense ROMs I have tested this on MCR r1.
[Desire Themes and Apps] ephumuris:
Yeah was using a CM Rom. I had to flash my Rom again but luckily what I lost was minimal!
[Desire Themes and Apps] kubino99:
There was no need to flash. All you have to do was replace services.jar file with the one from CM ROM. When I have some spare time i'll try to do CM version.
[Desire Themes and Apps] ephumuris:
I needed my phone back on quickly and didn't have the files lying around i deleted the CM rom so i've just got the Modaco r2 for now.

So might give this battery a go again!
[Desire Themes and Apps] Bart1981:
Sorry, but what is MCR or CM rom???

I have a stock rom with root. Will this work?
[Desire Themes and Apps] nikosrs4:
MCR= Modaco Custom Rom

CM= Cyanogen Mod
[Desire Themes and Apps] kubino99:
MCR -> Modaco custom rom

CM -> Cyanogenmod rom

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

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 :
[Desire Themes and Apps] Pyr0x64:
on the mcr r2 rom i'm running, i get 564522

-rw-r--r-- 1 0 0 564522 Aug 1 2008 /system/framework/services.jar
[Desire Themes and Apps] kubino99:
looks like it's the same as in MCR r1, In this ROM it should work.

-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]
[Desire Themes and Apps] SiX-P4cK:
this mod is awsome

--> need 2 be includ un android

new request added: http://code.google.com/p/android/issues/detail?id=8286
[Desire Themes and Apps] Pyr0x64:
followed the instructions and ended up in a bootloop - "quietl..."

copying the orig files back allowed the phone to boot normally again
[Desire Themes and Apps] kubino99:
weird, am I only one who have this mod working? I can try to flash MCR r2 and see if it works. Have you tried to wipe data or boot without SD card ?
[Desire Themes and Apps] Pyr0x64:
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
[Desire Themes and Apps] pmneo:
Can you do this for FroYo ??

Thx pmneo
[Desire Themes and Apps] liamstears:
Specifically the new DJ Droid rom??
[Desire Themes and Apps] ESTIMULO:
Yes, I also want to know if its works with new sense froyo roms.

Thanks
[Desire Themes and Apps] kubino99:
Froyo version is out, but just for non HTC sense ROMs. HTC sense version will come later.
[Desire Themes and Apps] barrons:
look forward to this working on sense froyo rom
[Desire Themes and Apps] liamstears:
Check out: http://xdaforums.com/showthread.php?p=7126059

Page 2 ;-)
[Desire Themes and Apps] barrons:
haha just checked thanks anyway dont think it will work with my phone as i had to deoxed my phone as it was getting internal memory full
[Desire Themes and Apps] liamstears:
It will work i already confirmed it :-P

I'm aiming to get 100mb free after installing all my apps and deodexing, should be easy for me :-P
[Desire Themes and Apps] barrons:
how can you check how much free memory internally you have?
[Desire Themes and Apps] liamstears:
SD & phone storage in settings ;-)
[Desire Themes and Apps] RyLoS2000:
I've used this update on Defrost 2.0b, the battery percentage is ok, but clock color is dark gray on black background, so almost invisible.

Can you provide a fix? Thx
[Desire Themes and Apps] x01a4:
Thanks kubino for this Mod, but RyLoS is right. Clock, date and provider are unreadable.
[Desire Themes and Apps] kubino99:
Can you post screenshot? I didn't modify any colors.
[Desire Themes and Apps] nikosrs4:
could you make an update for froyo with sense?
[Desire Themes and Apps] hensk:
yes pls :D:D
[Desire Themes and Apps] Raphyo:
With setrom 3.5.
[Desire Themes and Apps] nikosrs4:
for setrom try this http://xdaforums.com/showpost.php?p=7074426&postcount=561

but BACKUP first :p
[Desire Themes and Apps] x01a4:
I have DeFrost 2.0b.

Came from richards Blackbar and updated to this one.

Edit: BTW: Could you add 'H' icon for HSPA?
[Desire Themes and Apps] kubino99:
the ROM which you are using have modified framework (black bar). The services.jar provided by me is for white status bar.
[Desire Themes and Apps] KMAngelo:
I have modified the services.jar so the time color is now white. Look under "Desire Themes and Apps" I have posted a thread.
[Desire Themes and Apps] hoverp800:
I tested it on Defrost 2.0c, but still Date/Year/Operator are black.

Can you see if you can fix that too.

Thanks though.. :)
[Desire Themes and Apps] BAleR:
Is there a way to get this working on my evo? Im running damage control 3.2.3 with the new radio
[Desire Themes and Apps] CruzECO13:
+1

Would like to have this icon using DC3.2.3 :)
[Desire Themes and Apps] psych2l:
Would also like to see this working on the DC rom :)
[Desire Themes and Apps] Da Baron:
Thx for this zip file. I'm running Paul's r22.1 Desire ROM & this gives it a nice flare...

Much obliged,

Da Baron
[Desire Themes and Apps] Androidious:
By any chance, do u think this would be able to be ported over to the HTC Hero CDMA? LoL
[Desire Themes and Apps] kubino99:
I'm sure it can be but unfortunately I don't have Hero CDMA.
[Desire Themes and Apps] NotBillable:
will this work on the rooted x10?
[Desire Themes and Apps] cobbler29:
Running DamageControl 3.2.3 on Evo 4G, it does work but it causes process com.htc.bg to stop unexpectedly, and the error message pops up repeatedly. Also there are now two reception graphs in the system tray. Seems to have changed some system tray icons as well. It would be nice if this mod only affected the battery icon.

tldr: great work, but I wouldn't suggest installing if you're using DamageControl
[Desire Themes and Apps] kubino99:
No you need x10 version. But I'm not sure if it's already ported.
[Desire Themes and Apps] kubino99:
I think it's because EVO uses different services.jar you need version for EVO.
[Desire Themes and Apps] daktah:
works fine in evo dc 3.2.3 but it changes the wifi, service bars, and other bar icons.

unfortunately they dont look better than the vanilla. please fix.

make a modded version for evo please?
[Desire Themes and Apps] BAleR:
somebody needs to let this guy borrow their Evo, anyone?
[Desire Themes and Apps] dkotoric:
yes please port this over to the evo, this hack is awsome.
[Desire Themes and Apps] kubino99:
If there is anyone who is willing to test/debug I can insert the battery % code to EVOs services.jar
[Desire Themes and Apps] BAleR:
I will test. Itll have to be tomorrow though pm me
[Desire Themes and Apps] maoten:
any chance for this to work on other brands? with 2.1? like spica i5700?
[Desire Themes and Apps] Shiny_Lucario:
Is there any way to get this to work with a Droid? (details of my rom and such are in my sig)
[Desire Themes and Apps] sckc23:
To Kubino, does this one work on froyo with sense rom? i've been using another circle batt mod but would prefer a simplified version like yours.

Thanks.
[Desire Themes and Apps] davorb:
I love this mod, but now that DeFrost 2.1 has been released, I can't use it until you update it to work with that version.

Any chance of this happening soon? Thanks a lot!
[Desire Themes and Apps] morgan39:
Got stuck in a boot loop after doing this with sensefroyo_v1.0c.; nevertheless, thank you very much for the work.
[Desire Themes and Apps] wizkidsf:
I will also test it. Running RvU 1.4 with latest Radio and WiMax update. I installed your original yesterday and has the same issues as was stated previously. Did not get any boot loops, but the com.htc.bg servive did stop. Reflashed to a fresh rom with no problems.
[Desire Themes and Apps] kubino99:
I've made initial version for EVO. Please check this thread if you like to help with testing/debuging.
[Desire Themes and Apps] atomfix:
Just flashed this in Fake-Flash. I'm useing the ShadowFrost 1.4 ROM, It works fine, there's no circle battery mod, but it does give me a percentage number in the battery bar which is good enough for me.

But the biggest problem now.... The clock at the top right is black and i have the black status bar, so i can't see the clock at all.

Please can you make a fix for this please :)
[Desire Themes and Apps] hudson82:
Will it work on Fresh ROM?
[Desire Themes and Apps] tabasco122:
im running fresh 0.3 and it worked for me
[Desire Themes and Apps] del4:
Darn, had hoped to get this on my Sprint Hero, but maybe will try again once Cyanogen 6 comes out for my device in case it's available by then...
[Desire Themes and Apps] tabasco122:
blah, it messed up a lot of stuff, im getting tons of force closes now, and i cant even open up some of settings for my phone. i get a force close everytime i try to open the wireless&networks menu...
[Desire Themes and Apps] justflorin:
any news on getting a CM version working? Been checking in and keeping up since i had a backflip, no new news?
[Desire Themes and Apps] qualnd:
i know this might b a bother but can u make this for the HTC Aria i really like this n want it i tried it on my aria like 20 mins ago lol and it pretty much works but wen i try an go to my settings it force closes them the min i press settings

i would really like this so if ur up to it thanks:D
[Desire Themes and Apps] heavyhms:
This battery mod works with the orignal OTA froyo upgrade (only rooted with upcoming Unrevoked 3.2)?
[Desire Themes and Apps] Beppemi:
No, it dont work beacuse your rom isnt de-odexed, im sorry but you can try this mod only with custom rom.

PS : mi sembra di conoscerti, HWU... :p;) ..sono ]jj[rulezz di la..
[Desire Themes and Apps] heavyhms:
Più che probabile... se si parla del forum del buon Paolo Corsini :D

(Sorry, mods... it's only a very short OT, nothing more)
[Desire Themes and Apps] dellibedaboss87:
Hello. I am running CM6 most recent nightly (9/16) on my EVO. Will this work?? Thanks.
[Desire Themes and Apps] WormDoes:
I flashed this on my Eris running xtrSENSE 4.2 and got the endless boot loop as well. I have been searching for a zip of the circle battery for a looooong time. Was really hoping this would work, sigh.
[Desire Themes and Apps] mendozinas:
Did u try UOT?
[Desire Themes and Apps] Zocker64:
Hey, i run CyanogenMod 6.1.0.

I used the Update Froyo.zip. But it wont work (Bootloop). Now i have restored my Nandroid Backup.

What shall i do to use this Mod? Only services.jar replacing? Am i right?

Ty guys.
[Desire Themes and Apps] deathw15h:
thx

well its good to get a warning from another user, instead of going thru a whole lot of trouble later.

thx for takin the pain to do tht.:)
[Desire Themes and Apps] shaharsar:
Not working ... stuck at endless boot loop

can someone please close this thread ?
[Desire Themes and Apps] CremeDeLaCremex:
I have android 2.2 with HTC sense (leedroid). which one should I use now?
[Desire Themes and Apps] Mateus:
is there some working version with edify?
[Desire Themes and Apps] hudl:
Use the kitchen to apply this and many other mods: http://uot.dakra.lt/kitchen/

Don't know if it works with Nexus S (this is Desire thread), but it should do...
[Desire Themes and Apps] dman777:
i have used to kitchen one. i want to do it this way because it is more portable and will work with any theme. if i use the kitchen one, i have to patch every theme i use. i also wanted the icons arranged in an order that is customized that i couldn't do with the kitchen.
[Desire Themes and Apps] dman777:
Reading the error output over and over again, it seems that there are no resources for the requesting attributes in the *.xml files. Shouldn't of those resources have been packages with the circle_battery.apk file?

Also, I looked in the AndroidManifest.xml file and it has a url for grabing information(at work...don't have it on my at the moment). Is that URL supposed to be available? I tried it and didn't get anything.
[Desire Themes and Apps] dman777:
any updates to the above post :)? I still would like to be able to modify it.
[Desire Themes and Apps] kubino99:
I've flashed MCR r2 and got the bootloop too. I'll check why.
[Desire Themes and Apps] newcastlepunto:
this will be perfect when its fixed,

thanks for your work
[Desire Themes and Apps] blackfox888:
where do I put the 2 files? do I put them in my microsd or on the same folder 'tools' in sdk development?
[Desire Themes and Apps] kubino99:
when reflashed back to MCR r1, everything seems fine again. Strange :-(
[Desire Themes and Apps] newcastlepunto:
is there a way to tell if i've got r1 or r2?

i used the standard root from modaco, not a cooked rom
[Desire Themes and Apps] ferryrich:
Have a look in your About screen.

If you've got a MCR, it'll say in there.

Mine is the first ROM from Modacos root process, so isn't either r1 or r2. It's just a generic ROM.
[Desire Themes and Apps] kubino99:
check settings/software informations/Software number : you should see something like "MoDaCo Custom ROM for the HTC Desire r1"
[Desire Themes and Apps] blackfox888:
help, really want to get this working, when I put the command:

adb push services.jar system/framework

it return:

adb: not found

??
[Desire Themes and Apps] alnmoore:
I think have to be in recovery mode using something like recovery-windows.bat first
[Desire Themes and Apps] kubino99:
but be aware if you have not correct rom MCR r1 you'll get endless bootloop. I'm currently trying to figure out why.
[Desire Themes and Apps] blackfox888:
I'm in recovery mode, rooted my phone and have not flash it to any custom rom. where do you place the 2 files for you to installed it? I have tried putting in the root of microsd card and place it in the folder of tools in sdk development. but still no luck:(
[Desire Themes and Apps] blackfox888:
when I enter commend:

ls -l /system/framework/services.jar

it return:

ls: /system/framework/services.jar: No such file or directory

Does this mean I have no services.jar already installed and cannot replace it? can you make this as a .zip file to flash it in recovery?
[Desire Themes and Apps] deanesn:
Re: [HOW-TO] Circle battery with % in the middle (rooted)

ok, it almost works on the modoco alpha 21 desire for the n1 but after it boots up you can play around for a min or two and then reboots. after I paced the services.jar the first boot took about 10 mins which is normal cuz the system rebuilds the cache. I tried wiping but that didn't help. I'm going to guess there is a big diff in the code of the services.jar between the dumps that paul had been getting. :( if you post the smali code just for the battery part I will try to add it to the services.jar from the alpha 21 or even better if you can add it :p it would be awesome. Great job thou you have gotten further then I have before. ;)
[Desire Themes and Apps] kubino99:
OK I think I found the issue. Seems like the new services.jar is not working on Odex'd /system/app folder. I've flashed r2 deleted system/app folder and replaced with app from r1, and guess what? everything went OK. Don't ask why it won't work on odex'd system. Propably I made some mistake in smali code.
[Desire Themes and Apps] kubino99:
I guess you are interested in "StatusBarPolicy.smali". I've attached just the method responsibile for updatebattery status.
[Desire Themes and Apps] kubino99:
.zip created and updated 1st post.
[Desire Themes and Apps] blackfox888:
thanks for the .zip:) I flashed it but their NO % in the middle of the circle!
[Desire Themes and Apps] kubino99:
the percent are not showing if on charger or battery is 100% charged. just 99-1%
[Desire Themes and Apps] blackfox888:
I'm using battery widget and its shows 66%.
[Desire Themes and Apps] janvandusschoten:
Realy like the battery icon,but do I need to flash both .zip files and in what order? I have a rooted Desire with stock ROM, nothing custom.
[Desire Themes and Apps] kubino99:
I've just checked the zip. flashed and the % is there. Which rom are you using ? try MCR r1.
[Desire Themes and Apps] kubino99:
you need to flash just update_signed.zip, but I'm not sure if it'll work on stock rom. I can just confirm that on Modaco custom rom r1 it's OK.
[Desire Themes and Apps] blackfox888:
you just need to flash the update_sign.zip file in recovery BUT at the moment there is NO % in the middle.
[Desire Themes and Apps] janvandusschoten:
And the services.zip, where is that one for?

btw, thanks for your fast reply :)
[Desire Themes and Apps] kubino99:
If you like to do update manualy in services.zip are the neccessary files. But meanwhile I've created update zip and forgot to delete services.zip. sorry for confusion ;-)
[Desire Themes and Apps] blackfox888:
It's rooted using Paul method I haven't flash it with any custom ROM, how would I know if Im using MCR r1? if i'm not do I need to flash it with MCR r1 then?
[Desire Themes and Apps] blackfox888:
on modaco site there is only r2 available, will that work?
[Desire Themes and Apps] kubino99:
no this work just with r1. I can upload the rom with this mod included later if you like.
[Desire Themes and Apps] janvandusschoten:
Is the R1 much different than de "original" rooted one? I realy like the circle, but don't want to miss apps2sd or wifi etc.
[Desire Themes and Apps] blackfox888:
Yes please, thanks:)

btw can you take out the analogue clock beside the battery indicator. it does not function and it clutter the notification bar.
[Desire Themes and Apps] kubino99:
lol it's the alarm icon :D, but you can change the icons the way you like, they are in framework-res.apk
[Desire Themes and Apps] blackfox888:
hahaha!! cool. I prefer the stock alarm indicator. i'm a android noobie, how will I go about changing it? are the icons in the .apk or would i need to find the stock icon?
[Desire Themes and Apps] kubino99:
the .apk is just signed zip file, you can search in the forum and will find many how-to's.

I've uploaded r1 with a2sd and circle battery :

http://www.megaupload.com/?d=S55YWAHW

I didn't changed the icons to stock yet. I can do an update.zip later if you didn't find how to change them.
[Desire Themes and Apps] blackfox888:
Thanks:D yeah that will be cool of you to do that.
[Desire Themes and Apps] radomir11:
Working with v1.1 A2SD Split - Full Build????
[Desire Themes and Apps] blackfox888:
Kubino99 : I have A2SD+ installed already, If I flash r1 with A2SD will this cause any conflict?

btw your r1 with A2SD, is this the version where it moved dalvik-cache to SD?
[Desire Themes and Apps] Pyr0x64:
Is there any chance this will work for the r2 MCR build in the near future?

I really don't fancy flashing back to the r1 build... :-(
[Desire Themes and Apps] kubino99:
Probably yes, but currently it's not working with odexed /system/app folder. Anyway I've compared r1 and r2 and seems the main difference is odexed app folder :-)
[Desire Themes and Apps] deanesn:
thanks. I tried adding that method to the StatusBarPolicy.smali but it looks like it doesnt work with the alpha21 :( I compared your StatusBarPolicy.smali from r1 to the one I added the method from alpha21 and and there wasnt much difference except for .lines and so low battery warnings but other than that they looked the same. Not sure why it is not working. If i push the services.jar you created i get percent in the battery but like i said earlier the phone keeps rebooting after few mins. I will look more closley later. I've been wanting the battery percentage for a long time but can't live without the sense ui lol.
[Desire Themes and Apps] Pyr0x64:
might be a daft question, but is it possible to deodex an r2 rom?
[Desire Themes and Apps] kubino99:
I'm not 100% sure that the method for update battery is correct. I can't imagine how it could be related but when there is odexed /system/app folder the ROM won't boot (I get infinite bootloop :-( ). Maybe I messed something in the StatusBarPolicy.smali file, I'll take a look again if I have some spare time ;-)
[Desire Themes and Apps] deanesn:
does your infinite bootloop pass boot animation? ohh do you compress the jar when you add the classes.dex back in? I use winrar and all i do is just copy and past the file in and leave the compress to normal which makes the services.jar a lil bigger. maybe that where my problem is.

EDIT: ignore what I said I got it working. I copied your IconData.smalli

StatusBarIcon.smali

and all StatusBarPolicy.smali files

and used the rest of what is part of the services.jar from alpha21 and so far it is working. :) I will update if anything goes wrong but so far no reboots and I have finally battery percentage. Thanks. I feel like a lil kid again. :D great work.
[Desire Themes and Apps] kubino99:
yes the boot animation reoccurs again and again. I've watched also logs and saw lot of error messages, mostly about processes were terminated.
[Desire Themes and Apps] deanesn:
ok, this is gonna be a stupid question. how do you check logs. lol I know this is funny. I know how odex files but dont know how to check logs.

I was going to ask, have you tried my approach with just copying those 7-8 smalis over to r2 to see if it works. I know with Paul's releases every new dump he gets there is new code that HTC has implemented.
[Desire Themes and Apps] pina_:
I flashed this with stock rom and it works. But I don't see a percentage in the circle :(