yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] sparkdroid:
I just replaced the 3 files on my x10a with the 3 files in the "reboot only with battery circle" archive. The first 2 reboots took a lot longer than I expected (it worried me a little) but everything is up.

I probably didn't do this the best way, but I learned some things along the way that might help others:

First, I backed up my original 3 files (using Astro File Manager) to my SD Card.

Second, I used Root Explorer to copy the new 3 files over the existing ones in /system/framework/. The way I did it was to multi-select the 3 files and hit copy and then went to the destination folder and mounted as r/w and selected paste. It copied them in alphabetic order which caused a reboot after it replaced the framework-res.apk file but before it copied framework.jar. I had to copy the last file and then reboot again to resolve a bunch of FC errors. If using this method, it is important to copy the .apk file last as it triggers a reboot.

Probably not the best way to do it. Anyway...

I noticed a couple of things. The circle doesn't show when charging (as previously mentioned). And the percent shown when on battery is 2% higher than the percent shown when charging. The percent shown when charging agrees with other widgets that report battery status.

Regarding the icon not showing in the status bar when charging and showing only 6% when it should say 60%; Can someone who re-compiled the apk to fix these issues post it up?

Other than these little glitches, very cool work. Thanks all.
[XPERIA X10 Themes and Apps] sparkdroid:
I noticed something else strange this morning after fully charging it overnight. Since the charge was actually at 100% and the ring icon percent shows as 2% higher, the icon changed to a plug graphic with a ring that looked to be 50% filled. It stayed like this until the charge dropped to 97% when it showed 99 in the fully filled ring.
[XPERIA X10 Themes and Apps] dzupert:
that is, I understand that you have used the terminal instead of to the Root Explorer?
[XPERIA X10 Themes and Apps] sparkdroid:
I used "Root Explorer" the file manager to copy/overwrite the files. Is terminal the better (more apropriate) way to do it? Or are both methods acceptable?
[XPERIA X10 Themes and Apps] dzupert:
Does it matter which file you will select from a post? All I have to write it, or not?
[XPERIA X10 Themes and Apps] sparkdroid:
??? I don't understand what you're asking/telling me. Sorry.
[XPERIA X10 Themes and Apps] Flo95:
Can I also use Root Explorer to change the files?
[XPERIA X10 Themes and Apps] MrRusch:
Should be ok, but I recommend the X10 Mod Tool available in the forum.
[XPERIA X10 Themes and Apps] trixter66:
is there anyway to instool the power menu with reboot and recovery options and keep my existing theme?
[XPERIA X10 Themes and Apps] Flo95:
My X10 restarted after replacing the files and now it boots since 4-5 minutes, is it normal?

EDIT:

Doesn't start anymore.

Have to reflash it =(.
[XPERIA X10 Themes and Apps] MrRusch:
Did you check your version information against the one I have provided?

Short answer - no. Long answer - search the thread.
[XPERIA X10 Themes and Apps] Flo95:
Yes, my X10 has the same software than yours.
[XPERIA X10 Themes and Apps] MrRusch:
Is there a possibility that you didn't manage to replace all the necessary files? How did you apply the mod? According to the instructions I provided in first post or by use of other method?

Btw you don't have to reflash. You can just push the originals over via ADB (or X10 Mod Tool).
[XPERIA X10 Themes and Apps] sparkdroid:
I had to flash my phone last night to get it to boot. My problem was that I don't have any developer tools on my PC (yet). Also, my phone wouldn't boot past the initial Sony Ericsson screen before the boot animation and I didn't have debugging enabled. So not being able to boot up far enough to enable debugging left me few alternatives (that I could see) but to flash.

I must have been lucky the first time I overwrote framework-res.apk with the modified one. That time it worked fine. Last night I tried again to overwrite that file with Root Explorer and I couldn't boot. Seems Root Explorer is not reliable enough to trust with this procedure.

I will give "X10 Mod Tool" a try.

Just some background. Before I started I had verified that I had the same build info and firmware as posted here.
[XPERIA X10 Themes and Apps] iggy:
I am in the same boat right now, how do I do this over ADB (not sure what this means), phone only boots to Sony Ericsson screen.
[XPERIA X10 Themes and Apps] sparkdroid:
I don't know how to get you out of your jam without flashing (that is what I had to do last night). However I did get the circle battery status icon installed using X10 Mod Tool. It is very easy to do.

The hardest part was using the Dark10 installer to unsecure my shell. There is a missing bit of info needed. After you download the Dark10 program, you have to add the path where adb.exe is to your path env variable in windows. If you don't do that, it complains that adb is not a recognized command.

I installed the circle icon framework-res.apk from another thread (Style E ver 1.1) which has the correct values for all batt percentages. I decided I didn't really need the reboot added and since I don't have the skill to fix the xml files, I bailed. :)

Hopefully someone can post up what to do (if anything) if you're stuck at the SE boot image.
[XPERIA X10 Themes and Apps] zephyrix:
Does reboot recovery and download actually do anything?

I thought recovery was disabled on x10.
[XPERIA X10 Themes and Apps] iggy:
curious, will this method of reflashing the system.sin erase all my mods and installed programs (if so what is the difference then than just reflashing the whole ROM)
[XPERIA X10 Themes and Apps] zephyrix:
Nope, it only reflashes the system partition (i.e. /system). You will need to re-root at most.
[XPERIA X10 Themes and Apps] iggy:
I am a bit confused how this happens, am I suppose to removed all other files except the system.sin, because leaving all files in would reimage the device completely would it not.
[XPERIA X10 Themes and Apps] yamen.meddeb:
works gook on my x10 but reboot normally when recovery is selected, need some patch ?
[XPERIA X10 Themes and Apps] Rubin85:
How to get back to default battery and menu ? i've installed it but sometimes u c 5% of battery when is 80% for real, also when you charge your phone that battery disappears from status i don't know why.
[XPERIA X10 Themes and Apps] sparkdroid:
Which of the 4 files at the beginning did you install?

RuschIT-RebootOptionsForX10.rar

RuschIT-RebootOptionsForX10_PerCentBattery.rar

RuschIT-RebootForX10.rar

RuschIT-RebootForX10_PerCentBattery.rar

Also, check out post #57
[XPERIA X10 Themes and Apps] Rubin85:
that one - RuschIT-RebootForX10_PerCentBattery.rar

is that a solution for battery ? :>
[XPERIA X10 Themes and Apps] iggy:
Thank you zephyrix, figured it out and it worked perfectly to get back my system....so back to the mod....does this mean this is not possible on the Rogers 2.1 ROM....I have also attached the framework.res someone else posted but that put my phone back into the loop.
[XPERIA X10 Themes and Apps] Reeonimus:
Can somebody post the original android.policy.jar and framework.jar?

I want to change my theme and forgot to back them up :rolleyes:
[XPERIA X10 Themes and Apps] Dalkbur:
Problems using Root Explorer

Hi people, I was trying to install this on my device, but I can't mount as r/w the system, so I can't copy the files through adb. I thought I could do it with Root Explorer, so I started doing it, copied 1st file, copied 2nd file, and in that moment the device rebooted, so I couldn't copy the last one, and now the device doesn't start, just hangs on SE screen. I can flash it again, but I thought that maybe there's a way to copy again the correct files in /system/framework, maybe on flash mode there's a way to run adb and copy the files again?

Thank you in advance ^^
[XPERIA X10 Themes and Apps] MrRusch:
Try the X10 Mod Tool. You can push files with it even tho the phone doesn't boot. Listen for the USB connected sound when you start up your phone. And then just push over the originals (or the last file you didn't get to push), and reboot phone. The plus with the Mod Tool is that it will recognize that the phone will reboot when pushing files such as framework-res.apk, and place this last in the push queue.

Here ya go mate.
[XPERIA X10 Themes and Apps] chongbh:
Guys,

Can I check how do I install the Reboot option with other Battery Percentage image like the A White posted in this thread (Super Circle Battery Modification)
[XPERIA X10 Themes and Apps] iggy:
Hello All, can someone help, after doing this MOD which worked (i.e. I have the options and the battery mod) I now get an error everytime I start the phone (The process com.sonyericsson.signatureapps.components has stopped unexpectedly. Please try again - then force close button)

then google.process.gapps, com.sonyericsson.android.contentmanager.service.facerecognition....and the list goes on

Anyone has any ideas....I do have superuser access and used the x10mod tool to push the files.
[XPERIA X10 Themes and Apps] ysun86:
MrRusch,

I've bricked my phone i guess, it stucked in the "Sony Ericsson" bootscreen... i try to use the X10 ModTool to push in original files but it seems to not working... altho it popup "Push complete" but the file i pull out is not the original framework filesize.. in the end, i m still stucked... so i would like to use your X10 ModeTool to pull my MMSSMS.db out from the /data folder and reflash my phone, but your app seems to be extension filter to .jar and .apk.. is there way i can get your app to read .db files too?

thanks :)
[XPERIA X10 Themes and Apps] MrRusch:
Are you using the latest version of X10 Mod Tool? Should work fine to replace during boot if ADB recognizes the device. Make sure you are pushing to the right location.

The tool recognizes all files, no matter what file extension. However it doesn't list directories - this you need to add yourself. I don't have the file MMSSMS.db in /data, but if you can find it you can pull it.

If you cant get this working for some reason, just flash the firmware again without userdata.sin, and you won't loose anything but your root.

This doesn't sound like it's related to the modification at all. Try going back to original files and see if the problem dissappears. I have a feeling it won't, and is actually caused by something else.
[XPERIA X10 Themes and Apps] Eddie_Brock:
I just wanted to give a thumbs up...

This is the first Mod I've installed on my phone, and after nearly bricking my old phone, I was sure to follow the steps exactly.

Great Work, and Works Great if you follow the directions
[XPERIA X10 Themes and Apps] chongbh:
Nobody answer my query yet which is posted on the previous page, how to have the reboot options with other sets of battery percentage icons except the grey icons?
[XPERIA X10 Themes and Apps] MrRusch:
Read the X10 Theme Reference thread. Use this mod as base and replace images with whichever you want. This information is already out there if you read..
[XPERIA X10 Themes and Apps] zkurdija:
I tryed to instal it, but now when i press and hold power button, phone just restarts.

I installed other patches and mod without proble, but this one doesnt work for me?
[XPERIA X10 Themes and Apps] MrRusch:
Sounds like you didn't manage to overwrite all the files. Or your firmware is different than the one intended.
[XPERIA X10 Themes and Apps] muratbaizhanov:
what "download" and "recovery" options do? i tried recovery - phone rebooted only...

can any1 explain?
[XPERIA X10 Themes and Apps] Flo95:
Hey,

what do I have to replace in my framework-res.apk?

I took a look at the icons and already extracted the 3 new icons (download, reboot and recovery)

Do I have to change more in the framework-res.apk or are the other changes made in the other 2 files?

And if I have to replace .xml files in the framework-res.apk, could you upload them here? Thanks a lot.

EDIT:

Now I'm using the file with the normal battery and the reboot option only.

I already thought I bricked my X10, it needed a few minutes, till I were allowed to enter my pin, after the bootanimation.
[XPERIA X10 Themes and Apps] mookie3three:
Can you please give me instructions on how to do this? I have downloaded the Flash tool but not sure what to do next.

Before attempting this I have no idea why I can't mount the file system as rw and push the original files. That would be simpler.
[XPERIA X10 Themes and Apps] mookie3three:
fixed it. yes.
[XPERIA X10 Themes and Apps] chesterr:
In the forth attachment, If I put them do i get all the mods I mean recovery reboot and percentage battery??? I really don't know how to install this tooo....
[XPERIA X10 Themes and Apps] MrRusch:
No, the fourth option is just the one Reboot option, and the percentage battery.

Read the instructions, or try X10 Mod Tool.
[XPERIA X10 Themes and Apps] MrRusch:
So now that we have a custom Recovery image for the X10, can we boot into Recovery using this? I haven't tried it myself, but will do very soon.
[XPERIA X10 Themes and Apps] urs74:
I tried it but if i remember right it just reboots your phone I'll try again and see if it actually does it.

I just tried it again and no it doesn't go into recovery after selecting it.
[XPERIA X10 Themes and Apps] MrRusch:
And you do have the new custom Recovery image "installed" right?
[XPERIA X10 Themes and Apps] urs74:
you know what I don't I'll load that up and test it for ya

Edit: didn't work just reboots the phone, the new Recovery it is essentially the same thing just in apk form now.
[XPERIA X10 Themes and Apps] kafej666:
Doesnt work with new SE update
[XPERIA X10 Themes and Apps] MrRusch:
Here's a framework containing the battery percentage and the single reboot option modifications for 2.0.2.A.0.24 firmware.
[XPERIA X10 Themes and Apps] Flo95:
Hey,

I've got a question.

Does the framework-res.apk from the first post for the old 2.1 firmware with the reboot option only and the battery percentage show the right percentage?

I think I read somewhere in this thread it doesn't and I'm thinking about changing from the version with the normal battery icons to the version with the battery icons with percentage .

I've already installed the mod, which just adds the reboot option, is it enough when I now just change the framework-res.apk to get the reboot option + the battery with percentage?

Thanks
[XPERIA X10 Themes and Apps] subhankar.ds:
Thanx man........will try...;)

You should update this info on your first post....
[XPERIA X10 Themes and Apps] Flo95:
Could you make the same with the normal battery icons, please?
[XPERIA X10 Themes and Apps] SXUsr:
All you need to do is replace the icons, which you'll find by searching. ;)
[XPERIA X10 Themes and Apps] Flo95:
Ok, thanks. But aren't there also changes in xml files?
[XPERIA X10 Themes and Apps] SXUsr:
Yes, but if you download the moddified framework you just need to replace the images. - Alternative SC Battery Percent Icons...
[XPERIA X10 Themes and Apps] skr_ecw:
Can you make a version for X8? Thamks
[XPERIA X10 Themes and Apps] Farik335:
Hey guys, DO NOT INSTALL THIS MOD ON 2.1.A.0.435 FIRMWARE! IT WILL KILL YOUR PHONE (like mine)!!!
[XPERIA X10 Themes and Apps] MrRusch:
If you upload the necessary files.
[XPERIA X10 Themes and Apps] MrRusch:
Well, I'm sorry mate but please read before applying any mods. This is not for 435 firmware.
[XPERIA X10 Themes and Apps] vatz:
Are you working on a version for 435 firmware by any chance? Or do you know what needs to be changed in order to make it work?

I'm planing install 435 this weekend but not having this mod is really holding me back, I can't imagine my X10 without it.

Thank you!
[XPERIA X10 Themes and Apps] MrRusch:
Will try to have a look at the 435 firmware tomorrow.
[XPERIA X10 Themes and Apps] MrRusch:
Here are the reworked framework files for 2.1.2.1.A.0.435_GLOBAL firmware, with reboot and battery mods applied.

Let me know if you experience any issues.
[XPERIA X10 Themes and Apps] AyDee:
Thanks mate, was just going to request this! Guess I'll make the switch now. Is 435 an improvement?
[XPERIA X10 Themes and Apps] Farik335:
Works good on 2.1.A.0.435, thanks!
[XPERIA X10 Themes and Apps] Saoulos:
Is the first's post mods still for the .504 version?

Tnx!
[XPERIA X10 Themes and Apps] davix16:
Thanks so much for this....amazing
[XPERIA X10 Themes and Apps] MrRusch:
Yes it is. But I have just updated the first post, and hope it's a little more clear now.

@ALL: Good to hear it's working. Thanks all for testing!
[XPERIA X10 Themes and Apps] Saoulos:
ThX, it works fine!

Nice edit.
[XPERIA X10 Themes and Apps] Saoulos:
OK, it not working very well.

I've got less than 10% battery and it's not accurate.

Edit: @ .504
[XPERIA X10 Themes and Apps] mohanparvatham:
Thanks for the post bro...

It's working perfectly on my X10 .24
[XPERIA X10 Themes and Apps] vatz:
Thank you very much!
[XPERIA X10 Themes and Apps] MrRusch:
Try a newer firmware + mod and let me know if the problem still exists. I think it's because the public.xml hasn't been populated with new IDs for battery images in this early version. If this is the source of the problem, it has been fixed in later versions (.24 and .435).
[XPERIA X10 Themes and Apps] Flo95:
Could you make a version for 2.1.A.0.435 with the restart option only and the stock battery icons?

Thanks
[XPERIA X10 Themes and Apps] SXUsr:
Have you not read the first post?
[XPERIA X10 Themes and Apps] Flo95:
I read it, but that versions aren't for the 2.1.A.0.435...
[XPERIA X10 Themes and Apps] SXUsr:
You clearly haven't. ;)
[XPERIA X10 Themes and Apps] Crocodile1973:
check back and forth with this on my rooted 2.0.2.A.0.24, each time when i have it modded market crashes on downloading an app. revert it back and it works fine. using XMOD tool to push them to the phone.
[XPERIA X10 Themes and Apps] MrRusch:
This is well known issue with modifying framework files by now, can't believe people are still asking about this.

Go into Manage Applications, and hit the Market app. Then choose Uninstall Updates, and you are golden..
[XPERIA X10 Themes and Apps] Crocodile1973:
no problems, just a new starter. try and read more info next time, thanks
[XPERIA X10 Themes and Apps] MrRusch:
Good stuff mate :)
[XPERIA X10 Themes and Apps] Crocodile1973:
ok done, is it right that the indicator circle is green? the initial post shows grey which i prefer. did read all posts for answer. did i do anything wrong or can you change the colour?
[XPERIA X10 Themes and Apps] pficrx:
Please make this mod to work for the new firmware . . . .
[XPERIA X10 Themes and Apps] MrRusch:
Please specify firmware version.
[XPERIA X10 Themes and Apps] pficrx:
Firmware 2.1.A.0.435
[XPERIA X10 Themes and Apps] MrRusch:
Come on man, check the first post.
[XPERIA X10 Themes and Apps] pficrx:
Before posting something here i had already checked the post and that's why i write down that it doesn't work for me...
[XPERIA X10 Themes and Apps] MrRusch:
So.. Are you saying it doesnt work? Because I have already made the mod for 2.1.A.0.435 firmware..? It works for me..?
[XPERIA X10 Themes and Apps] bretto_aus:
followed your instructions to a t, and it froze my handset (x10a .504) at the sony ericsson writting/logo upon re-boot, waited for ages and still stayed frozen. cant even restore via SEUS, so now having to re-flash with a generic firmware to get my phone to work
[XPERIA X10 Themes and Apps] MrRusch:
I'm not sure what caused this but you can push back original files via adb also. I do however recommend using X10 Mod Tool and not manual method, which minimizes risk of human error causing problems. I mean I have tried all mods here myself.. But sorry for any inconveniences mate.
[XPERIA X10 Themes and Apps] Crocodile1973:
deleted message
[XPERIA X10 Themes and Apps] vinceq:
Can u create a simpler version which without % battery ? Thanks.
[XPERIA X10 Themes and Apps] sparkdroid:
I believe only Rogers in Canada has firmware 2.1.1.A.0.6 (Baseband 2.1.55) so far. I'm curious if anybody with this update has tried this mod?

If not I will, but which version should work? Should I try 2.1.A.0.435_GLOBAL? And has the 2% image issue been sorted? If no one responds, I'll try it in a day or so.

Thanks
[XPERIA X10 Themes and Apps] MrRusch:
None of the available versions will work. Need to make one for the 2.1.1.A.0.6 firmware specifically..
[XPERIA X10 Themes and Apps] Flo95:
Some users reported that themes from 2.1.A.0.435 work on the new firmware. This mod could work, too.
[XPERIA X10 Themes and Apps] MrRusch:
OK, well try if you want. I do however strongly recommend checking the different firmware's file versions/sizes against each other first.
[XPERIA X10 Themes and Apps] sparkdroid:
I'll do some comparisons before I try anything. I have no problem making the images and adding them to the framework. It's the XML decoding/encoding that I haven't researched enough to know how to modify.
[XPERIA X10 Themes and Apps] Mirthel:
I would like that to for the .435 or if you could point me in the right direction on how to just make to power menus my self =)
[XPERIA X10 Themes and Apps] MrRusch:
Not sure why anyone would

not

want a more accurate battery indicator ;) But there is a link in the first post to more information. There you will find at least semi-complete instructions on how to edit the relevant smali.
[XPERIA X10 Themes and Apps] Mirthel:
Hehe, well im a bit old fasion in that way :P maybe if Iba to make a nice animation in the future, ( not so big for the circle thingy, think it looks a bit of in the whole)

Thx ill take a look and see what I can make of it ^^
[XPERIA X10 Themes and Apps] Flo95:
I have the same bug in my modded framework-res.

Can you upload the fixed stat_sys_battery.xml, please?
[XPERIA X10 Themes and Apps] Emilius:
My build number is 2.1.1.A.0.6

Is it possible to make this mod for me please? I realy need it badly :D
[XPERIA X10 Themes and Apps] subhankar.ds:
Here is the corrected .xml file..plz download the attachment...
[XPERIA X10 Themes and Apps] aaronx12:
this already comes with the new cyaogen rom
[XPERIA X10 Themes and Apps] Flo95:
Thanks. I'll post if it worked, atm I have ca 20% battery left.

EDIT:

You xml file doesn't fix the bug for me :(

Is it possible that the bug is caused by changing icons and the progress_horizontal.xml? I think it isn't, really strange. And I think for some time the 2% was displayed right. I'll try the original framework-res from the X10 Res Mod later, my theme is based on that theme...
[XPERIA X10 Themes and Apps] Emilius:
Do you plan to do it for this specific firmware?
[XPERIA X10 Themes and Apps] MrRusch:
I'm in exam period at the moment. But if nobody has done it before I am done, I will..
[XPERIA X10 Themes and Apps] aR_ChRiS:
Is there any method of just modding the menu manually as I do not want to lose my current theme.
[XPERIA X10 Themes and Apps] MrRusch:
There is a link in the first post to original thread that has some guidelines. Give it a try if you feel comfortable with some code-editing..
[XPERIA X10 Themes and Apps] vatz:
White Circle

I made a modification for the 435 firmware, is just grafical, for the people who don't like the color version, this is a flat white circle, it's also 1 pixel smaller, the font is 0.2 ppt bigger, so is sharper, the whole circle is mirrored, so the charging goes clockwise. It doesn't have any changes code wise, I just modified and replaced the images, I hope you like it.
[XPERIA X10 Themes and Apps] raphamfc:
nice guy, a question, can i port it to use in xRecovery ? if yes, can u explain me ?
[XPERIA X10 Themes and Apps] vatz:
Thank you, but that is most likely a question for MrRusch, as I only replaced the images and I don't have any programming skills whatsoever.
[XPERIA X10 Themes and Apps] tiborprogmed:
hello Guys.

is this working with 58 BB and 2.1.1.A.0.16 sw verison ??????

thx