yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] _calum_:
I've noticed some strange effects with this mod when I use it in conjunction with other modificatons to the framework... here's a quote from the themes reference thread:

Sorted, see here
[XPERIA X10 Themes and Apps] MrRusch:
Hmm, I don't have this problem.. I get the occasional 8% instead of 80% tho. Not sure what this is, and I have looked thru a few times now..

But these drawables do not need to be added to public.xml, this would make for double references as it has its own XML.
[XPERIA X10 Themes and Apps] _calum_:
Yeah, that's what I thought, but the existing images are in there...

(I get the 8% instead of 80% too.... hmmmm...)
[XPERIA X10 Themes and Apps] MrRusch:
Hmm yeah you are right... Some weird handling in the source code, can't really understand what is going on with all the custom data types.
[XPERIA X10 Themes and Apps] saltorio:
I installed Calum's Dark10 modified framework-res.apk and services.jar, and now my battery icon is displaying the wrong values constantly. I posted in more detail here:

http://xdaforums.com/showthread.php?p=9225547#post9225547
[XPERIA X10 Themes and Apps] _calum_:
Sorted... see here
[XPERIA X10 Themes and Apps] chongbh:
Thanks for your guide and I managed to change my battery indicator.
[XPERIA X10 Themes and Apps] Ragespeed:
Can anyone help me on this..

I get a permission denied when trying to install (press 5)

Must I shell root first?

thanks
[XPERIA X10 Themes and Apps] epinion:
Use very simple one click z4Root apps should be enough.
[XPERIA X10 Themes and Apps] Ragespeed:
thanks for replying epinion :) so, must shell root first to get the mod done?
[XPERIA X10 Themes and Apps] epinion:
Nope. I just use z4Root. And it done perfectly. I'm now using super circle battery. ^^
[XPERIA X10 Themes and Apps] Grospolina:
Very nice! I'm currently enjoying "B White". Thanks!

I may want to substitute the battery icons with some custom Version Z icons. The Ultimate Online Tool Kitchen is pretty cool! I already tried with a color gradient battery icon called "Enhanced" and it worked, but I think I like Version B better, so I switched back.

I used UOT Kitchen to cook up a ROM (used their Cyanogen ROM as the base), and then I transplanted the PNGs from the cooked framework-res.apk to one of the ones above (B White) using WinRAR (compression level = "store"). The only problem was that there were 101 (0-100) battery charging animation PNGs instead of 21 (0-20), so I had to rename every 5th one to get it down to 21 PNGs. Worked great. I might just try it with a Version B icon but with color gradient.
[XPERIA X10 Themes and Apps] _calum_:
You could just add another 80 lines to the xml, might make for quite a smooth animation... might try it out.
[XPERIA X10 Themes and Apps] lostsouls:
Yesterday after I changed the battery icon, my market forced close everytime I update or install app. I cannot install at all. I flashed it back.

Anybody encounter this?
[XPERIA X10 Themes and Apps] epinion:
http://xdaforums.com/showpost.php?p=9222129&postcount=7
[XPERIA X10 Themes and Apps] lostsouls:
Thanks. Im afraid to try it again because if it doesnt work, I have to flash all over again & re-install all the apps & settings.:o:o:o
[XPERIA X10 Themes and Apps] Grospolina:
Guess so. Is that what decompiling does? When I simply extracted the XML files with WinRAR, they showed up as binary files.

I did do a decompile/recompile before, but I mistakenly used the XML files provided in the SCB thread. It wouldn't boot up, just got stuck on "Sony Ericsson". I had a hell of a time getting the original framework-res.apk back. Since the SD card wasn't mounted (and I didn't know how) but adb still worked, I split the APK (which is 10MB) into 3 parts using HJSplit, then I adb pushed them one at a time to /sqlite_stmt_journals (which only has 4MB space), then I used 'dd' to copy them over to /system/framework, and then finally I used 'cat' to join them back together. At least I didn't have to re-flash. Whew!

And before anyone asks, you can't adb push files to /system (even after mounting in R/W mode). At least, I don't know any way of doing it.

The Market was crashing for me too. I had to do that. It worked.
[XPERIA X10 Themes and Apps] _calum_:
Yeah, decompiling sorts out the xml files and also extracts the guide data from the .9.png files (among other things, e.g. if you decompile an app instead of the framework-res you'll also get all the smali code). It's the only way to actually do any UI mods properly.

Spot the hacker ;) I always just use the X10 Flash tool from Bin4ry and don't wipe the user data. After that: z4root and chmod...

Might try this next time... just for the hell of it.
[XPERIA X10 Themes and Apps] Caioed:
I can't get to mount rw on terminal!

every time i try it gets "operation not permitted"

I just can't get SU on the terminal... =\

how do i do that?
[XPERIA X10 Themes and Apps] Grospolina:
You need to be rooted. Like _calum_ said, you can use z4root (which can be found in the Android Market). When you root, it copies su to /system/bin. To use it, just type su in your terminal. Your $ prompt should change to a # prompt.
[XPERIA X10 Themes and Apps] Flo95:
I tested E Grey and found a bug. When your battery has 15%, 10% and 5% a message comes up and in your framework the phone is a Desire and not the X10.

I think I fixed it (I hope I'm allowed to) but atm my battery has 40% so I don't know if it worked.

I'll report if it worked, if I don't forget it :D
[XPERIA X10 Themes and Apps] sparkdroid:
I recently finished an image set which is a slightly modified Style E super circle. I made the ring more consistent in shade throughout. I also replaced the charge icon with the lightning bolt from the original SE icon set (usually superimposed over the battery outline). I will post up an apk once I figure out how to create one :).

Here is an example of what it looks like (the red background is just for effect. The real image set has a transparent background so it will work with many status bar colours).
[XPERIA X10 Themes and Apps] sparkdroid:
Here is a link to the framework-res.apk that has the bolt super circle charging indicator. It is formated for the x10. Enjoy.

Edit: Link removed

It caused my market to FC whenever I tried to install anything. Once I fix this, I will repost. Sorry.

Edit 2: Link added back

www.naturespocket.com/framework-res.apk

If you have problems with the market crashing, do this to fix it:

http://xdaforums.com/showpost.php?p=9222129&postcount=7
[XPERIA X10 Themes and Apps] _calum_:
Nice work, thanks.

P.S. 'The escalator' looks pretty nasty ;)
[XPERIA X10 Themes and Apps] sparkdroid:
I had another idea for a slightly different indicator that I'll try out tomorrow. Instead of the last 15% having red text and a white ring portion. I'll try the last 15% having a red ring portion and white text.
[XPERIA X10 Themes and Apps] Flo95:
Could someone upload the .xml files we need for the mod?

I want to add it to my framework-res.apk from the "Add Reboot Option" mod. Because I read the framework-res.apk with the battery with percentage from that mod has bugs.

And the framework-res.apk/the .xml files from here is bug free.

Thanks.
[XPERIA X10 Themes and Apps] Arijit.Ray81:
Any idea how to get a battery icon like this?
[XPERIA X10 Themes and Apps] _calum_:
All the information you need is linked on the first post. You just need to get the icons sorted at the rest is all there. Read through, have a go, and then get back to us with any questions.
[XPERIA X10 Themes and Apps] MrRusch:
I think I have to retract my statement on this. I believe the PNGs

do

need to be referenced in public.xml, this seems to fix everything for me..? Although I don't quite understand why it would need double referencing.
[XPERIA X10 Themes and Apps] MrRusch:
If you've had problems with the battery showing random numbers at times, try this version.
[XPERIA X10 Themes and Apps] _calum_:
I think I need to read up a bit on this, check out the sdk docs etc.

The system seems a bit strange though, especially when you look at ids.xml...
[XPERIA X10 Themes and Apps] Leaflet18:
missing battery.

sometimes the battery doesnt appear. just a space between the signal and the clock.
[XPERIA X10 Themes and Apps] telmoabff:
So far, so good.
[XPERIA X10 Themes and Apps] MrRusch:
Good to hear. Then I think my multimod is 100% finally. Battery, Signal, Wifi and Reboot all working (at least for me).
[XPERIA X10 Themes and Apps] jase81:
How to get this workin on custom rom ? Lol

sent from my typewriter
[XPERIA X10 Themes and Apps] telmoabff:
When it's ready for release let us know!
[XPERIA X10 Themes and Apps] MrRusch:
You've already got it don't you?

http://xdaforums.com/showpost.php?p=9651781&postcount=96
[XPERIA X10 Themes and Apps] telmoabff:
Yeah. Just thought it was a new version as I remember you said the coding was "prettiest solution code-wise"... Anyway, it's working 100% for me. No problems whatsoever...
[XPERIA X10 Themes and Apps] MrRusch:
Yeah, true. Thanks for reminding me. Will do it this weekend.
[XPERIA X10 Themes and Apps] chongbh:
I have flash with "Generic 2.0.2.A.0.24 firmware (21/12/2010) | rooted | for xRecovery + X10flasher" & App2SD Operation.

I tried to change my battery icon but when it boot up, the LED reflect violet colour and my home screen becomes a grey screen.

What is the problem here? Anyone can advise me?
[XPERIA X10 Themes and Apps] chiefy009:
Booting from sd is not working you will need to reflash led should be blue when booting
[XPERIA X10 Themes and Apps] chongbh:
Thanks but the problem now is not whether the booting from SD is working or not?

The problem here is even if I install the battery percentage icons after flashing the ROM, when it boot up, the phone can show the battery percentage but I will not get my default home screen but a home screen which I cannot access any menu or phone settings.
[XPERIA X10 Themes and Apps] chiefy009:
The purple led means booting from sd card is not working l, that is detailed on the apps2sd thread
[XPERIA X10 Themes and Apps] tandfeen:
I had the same problem. The batterymod worked fine, but the rest of the screen just turned white and unusable. Had to reflash the ROM.

Is there some new code in the framework we have to look in too, to make it work?
[XPERIA X10 Themes and Apps] MrRusch:
Well the mod is not made with 2.0.2.A.0.24 framework as base. There's your problem :)
[XPERIA X10 Themes and Apps] MrRusch:
Here's the battery modification for 2.0.2.A.0.24 firmware.
[XPERIA X10 Themes and Apps] tandfeen:
framework-res.apk for 2.0.2.A.0.24 firmware

If anyone, like me, likes option C (from this thread: http://xdaforums.com/showpost.php?p=9143233&postcount=92) better, i have added it to the attatched framework.

All credit goes to you MrRusch as you made all the work. I just took the images from one of your framework apk's and added to this new one.

EDIT: I forgot 2 images. It is now fixed.
[XPERIA X10 Themes and Apps] goRt:
Works perfectly, thanks both
[XPERIA X10 Themes and Apps] chiefy009:
I just want to add the circle battery meter in green to my current status bar, I had no experience in modding stuff and wondered if someone could point me in the right direction

sent from my Commodore 64
[XPERIA X10 Themes and Apps] _calum_:
Check out the themes reference sticky. There's a step by step on how to do this.
[XPERIA X10 Themes and Apps] drunken_m:
Hi!

I'm thinking about adding the battery mod to my 2.0.2.A.0.24 (the rooted version from zdzihu). Could somebody put up a framework-res.apk where the XML files are already modified and we need only to replace the .png files (with WinRAR or similar)? So we don't have to recompile, etc... Seems to me that most problems come from there.

Thanks in advance!
[XPERIA X10 Themes and Apps] tandfeen:
Dude. Check 4 posts above yours...
[XPERIA X10 Themes and Apps] maximang:
I have some graphics bugs on 2.0.A.0.504 (Global Generic 2.1).

EDIT : It's work with Reboot MOD !
[XPERIA X10 Themes and Apps] SXUsr:
I suspect you've used the framework for .24?
[XPERIA X10 Themes and Apps] drunken_m:
Hi!

Sorry, that one must have slipped by me. Also, in the mean time I've found out, that the reboot mod also has a .24 framework-version. I think I'll rather use that one :)
[XPERIA X10 Themes and Apps] yuszx:
today when I unplugged my phone it shows 100%, then use the phone for over 12 hours, with phone calls, messaging, wifi on, browsing and youtube untill it shows 38%. i connect it to pc, transfer a 256kb apk installer file and disconnect it. when i looked back at my phone it shows 100%. :eek:WTF? the transfer process only took about less than 1 minute, how can it charge so fast?:confused:

or is this a bug for this super circle battery icon?
[XPERIA X10 Themes and Apps] Saoulos:
I'm running the same firmware with you, and i'm having the same problem with you.

+Market crashes when downloading

What exacly did you do?(?reboot MOD?)

Any ideas what's happening with market?
[XPERIA X10 Themes and Apps] Saoulos:
I fixed market(cleaning cache-updates, and then restoring back).

The wifi icon has also changed. Ideas?
[XPERIA X10 Themes and Apps] Ceballos:
thanks u all , u definetly made a good job,

it works like a charm
[XPERIA X10 Themes and Apps] MrRusch:
Sounds funky. Have never seen this happen. Has it happened again since or was it just a one time glitch?

Market issue has been discussed a lot in the forum already, and has nothing to do with this.

Good to hear :)
[XPERIA X10 Themes and Apps] Saoulos:
I fixed market pretty much from the first moment, but the problem started that exact moment i don't know if it was coincidence and don't really care.

My main problem is this

Any ideas?

Somebody said that fixed it with reboot mod, how can i do it?
[XPERIA X10 Themes and Apps] Bialynia:
I did option 1, it works, but the resulting circle around the number is in light blue, not grey.
[XPERIA X10 Themes and Apps] Saoulos:
That's what i did too.
[XPERIA X10 Themes and Apps] :
Original Framework-Res

Anyone that can give me the original Framework-Res for 0.24 im gonna make some other icons and i need the original battery one... ill post it here when im done.. thanks in advance :)
[XPERIA X10 Themes and Apps] MrRusch:
You need to make sure you have matching versions of firmware and framework mod.
[XPERIA X10 Themes and Apps] :
Market

Market crashes when i install apps could this have anything to do with the new framework im using ? im using the one from post #147
[XPERIA X10 Themes and Apps] MrRusch:
Here is the battery modification for the 2.1.2.1.A.0.435_GLOBAL firmware.

Let me know if you have any issues.
[XPERIA X10 Themes and Apps] SXUsr:
Thanks, and no issues here.
[XPERIA X10 Themes and Apps] AngelGrey_SB:
Oh! Look's good!
[XPERIA X10 Themes and Apps] teddymild:
Can i replace the framework using root explorer? If yes any changes for the permission? Tks in advance for any answer.
[XPERIA X10 Themes and Apps] tandfeen:
No you can not. You can use terminal client to do it from your phone

Sent from Chefens X10i using XDA app
[XPERIA X10 Themes and Apps] LiLAsN:
Thank you so much!

Thanks to your .apk, I was able to modify and get my old and most favourite 'Battery Percentage Mod B with white numbers' back! :D
[XPERIA X10 Themes and Apps] kwarkje:
Hi all,

I was wondering, is it possible to get ONLY the battry monitor icon, and leave the rest? As I'm perfectly satisfied with the ROM and Theme I have (zdzihu's 2.2.1 FreeX10-beta3-ROM; baseband 2.0.46; kernel 2.6.29), I don't want another theme of ROM....

Sorry if this is a noob-question...

Greetz,

kwarkje
[XPERIA X10 Themes and Apps] tbdltee:
I using framework-res.apk for build 2.1.A.0.435 from post#168. Everything works fine except I cannot install any apps from market. It's fc eveytime. The fc happends after the market has finished download and start intalling...

When I restored back to original framework, everything is back to normal.

Any clue?
[XPERIA X10 Themes and Apps] MrRusch:
Not sure why this problem arises, but the solution is well-known by now. Go into Manage Applications and hit the Market app, then choose Uninstall Updates. And you are golden..
[XPERIA X10 Themes and Apps] tbdltee:
Many thanks. After uninstall market updates, problem gone.
[XPERIA X10 Themes and Apps] Grospolina:
See my post (with attachment) here:

http://xdaforums.com/showthread.php?p=10939406#post10939406

It works for BOTH FreeX10 beta 3 and beta 4, as the framework-res.apk is exactly the same (I checked). This uses the stock white notification bar from FreeX10. If you already have a different theme and you want to add the Super Circle Battery icon, then you have to modify the framework-res.apk from that theme.
[XPERIA X10 Themes and Apps] silentjess:
i don't know what i did wrong, followed the first option, copied the framework to my sdcard but after apply su and running the commands above, my xperia got into an endless loop of boot with SE logo.

*sigh*

anyone with advice for this?

appreciate it. (have read from page 1 to 9 and will read the rest after posting this..adding, i chose option 1 merely because it didn't require editing of xml and all that which was far too abstract for me. and didn't choose option 2 due to its custom rom. currently i'm using SE's updated rom, 2.1 with multitouch and rooted with su)

would following the editing of xml method be better?

*updated*

http://xdaforums.com/showpost.php?p=10935371&postcount=8

this user has explained that the framework for circle battery won't work on a stock SE rom.

i guess that's probably why.

-_-"
[XPERIA X10 Themes and Apps] creage:
Guys, can anyone do a mod of .435 framework-res so it has Version Z with "Tiny" circle style battery, please?)
[XPERIA X10 Themes and Apps] HokutoNoFred:
Are you sure about that ?

The 1st post of this topic doens't talk about modified ROM... (except for root of course)
[XPERIA X10 Themes and Apps] Grospolina:
That's my post. I only meant that the framework-res.apk that I posted in that message wouldn't work on stock SE firmware. You CAN get the circle battery to work. You just need to make sure that you have one that's made for your ROM.

You can still fix your phone. Either reflash the ROM (which will erase everything), or get a copy of the original framework-res.apk and use adb to copy it back over:

NOTE: You should copy the original framework-res.apk to the same directory that adb.exe is in.

Edit: The one in the first post is for Stock SE 2.0.2.A.0.24. There's a newer one that MrRusch made for Stock SE 2.1.2.1.A.0.435 GLOBAL firmware here.
[XPERIA X10 Themes and Apps] HokutoNoFred:
Thanks for detailed explanations.

I previously saw the version made for Stock 2.1.A.0.435 Global FW, but it seems to be the blue colored version, isn't it ?

I would like a black or grey one...

Maybe thise one ?

http://xdaforums.com/showpost.php?p=11065391&postcount=173

But it deals about white digits, not sure about circle colour...
[XPERIA X10 Themes and Apps] MrRusch:
There are a lot of questions here about the colors. So again, I will try to give some clear instructions.

To change the design of this mod, all you need to do is:

1. Download the mod made for your firmware.

2. Rename framework-res.apk to e.g. framework-res.apk.rar and open in e.g. WinRAR.

3. Replace relevant pictures in res/drawable-hdpi/ (with whatever design you want).

4. Close and rename back to framework-res.apk.

Done! It's really easy guys, so I won't be making different colored versions for you all, sorry.
[XPERIA X10 Themes and Apps] HokutoNoFred:
Thank you for these details !
[XPERIA X10 Themes and Apps] creage:
Well, if it's about changing only existing icons, then yes - this would work. But if you'd like to add more, like we do while adding custom battery - then you'll need to recompile the apk - am I right?
[XPERIA X10 Themes and Apps] lzyllp:
It's useful to me
[XPERIA X10 Themes and Apps] MrRusch:
Yes adding new resources requires you to add reference IDs in XML, and any changes to XML means resources.arsc needs to be regenerated. So yes, the described method is only for changing the design of the mod (swapping existing image files). Check the X10 Theme Reference thread for information on how to actually modify system files.
[G2 and Desire Z Themes and Apps] Android Touch:
What ever happened to NexusMod? The Live wallpaper..basically a cusotmizable nexus live wallpaper
[G2 and Desire Z Themes and Apps] EuroSpeed:
I think it is now called Nexus Revamped.
[G2 and Desire Z Themes and Apps] ubernicholi:
nexuskang is what you are looking for
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
I have downloaded mdj adroid and installed on my root of storagecard. Updated my radio, installed hspl3. Tried other romes for htc. but it freeze with green htc logo. and i have installed 512 data.img to my hd2. Its a european hd2. i have waited hours to load reinstaled few times it gave the same result.

Do some1 know any solution?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
Did you copy the android folder to the root of your SD card with all the contents inside? Or did you copy the contents to the root of the SD card?
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
I have put the android folder to my storagecard and put the data.img to my android folder
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
How long did you wait while it was 'stuck' at the htc screen?

Edit: Oh, Hours!

Did you format your SD card to FAT32 first?
[HD2 Android Q&A, Help & Troubleshooting and Genera] kam333:
Since there are literally thousands of post from peeps who have got it working without any major issues (me included :D) i would suggested you are doing something wrong, however since its still essentially in beta there's bound to be issues for some.

best to start again & read carefully! its the best advice i can give.

All the best

http://xdaforums.com/showthread.php?t=767513
[HD2 Android Q&A, Help & Troubleshooting and Genera] t1h5ta3:
you can download and install the android sdk on your computer, once its set up, then you can run a logcat to watch the background processes. if you see it looping, then it's locked up.

my first try i thought it had locked up on initial boot, so i pulled the batt. i rebooted and ran a logcat, saw it hang in the adio portion of setup.

i wiped the sdcard, formated it, and tryed again.

it takes about 5 min for it to setup the background services and kernel, then you'll be able to run logcat and watch it boot. i recomend waiting untill it calms down before even touching the phone even though it will prob be at the log in screen 5-10 min before it calms down.

once it calms down i personaly will log into my google account, wait for it to settle down, the restart it. after it reboots then ill start to play with it, set things up, load apps etc.
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
yeah i have formated FAT32
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
I have read everything, searching on google tried all tutorials on youtube but it didnt help me.
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
this is interesting:D I have search a little bit but its so complicated:P I gonna take some time to do this:D if I need help with it I wil mssg you;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] coolgut:
It still freeze with a green htc. maybe its my startup.

This is my stratup:

#Mdeejay FroYo Revolution v. 1.2

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set KERNEL zImage

set initrd initrd.gz

set initrd_offset 0x00a00000

set cmdline "nand_boot=0"

boot

I have also added:

set data_size 1024
[HD2 Android Q&A, Help & Troubleshooting and Genera] july1300:
hello

just wanted to say i had kinda the same problem what i ended up doing is installing new rom from energy then extracted the files straight to the sd card hope this helps i had all kinds of problems rom fixed everything instantly