yashsingh1/xdaforums huggingface dataset:
[HTC One X] mattmanwrx:
Hi Everyone...

I have found the problems with battery icon disappearing..

Within this theme there are the 100 .png's for the battery and 100 .pngs for the charge animtion....

With the VillainTheme system, it replaces the images within the app, for less hassle to the themer, but also means it should be functional with many different roms, and version (for example works with "most sense 4.0 roms" but also works with 1.26 and 1.28).

As the standard rom and ARHD doesn't have the 100 .png's it cannot replace them, so the battery then gets "lost".. This creates a problem for me.. I would need to create two/three versions of this .zip, one for batt mod already (i.e. leedroid rom), one for stock (the stock ICS battery without a percentage), and then maybe one for ARHD...

What I would prefer (at the moment), is for people that want to use this and dont have the battery mod yet, then to flash a battery mod theme and then flash this. For users of stock odex roms, the only thing I could try is to add the percentage to the stock systemui.apk (not knowing too much on odexed roms (always used deodexed roms)) and then letting the users flash the mod in the OP...

For the moment, I will be thinking this through and seeing which the best option is..

Also working on a revert.zip right now. This revert will be based on the LeeDrOid roms framework... Anothing thing is that it will restore the battery mod from the leedroid rom, again, unless I make 3-4 different revert .zips..

Any suggestions welcome..

Thanks, Matt
[HTC One X] smaberg:
thx for trying. for odexed its the same as deodexed almost, place in battery xml files and battery100-0 x 2 and then flash this mod, then its ok. but thats another story.
[HTC One X] mattmanwrx:
Thanks for the response... i will look into making the batt mod for stock, maybe using aroma to see what rom the user is using, then flash a modified systemui, then theme... a lot of work at the moment (never looked into aroma installer), so just a thought at the moment...
[HTC One X] mattmanwrx:
A little teaser for you ;)
[HTC One X] The Great Dane:
It's simply awesome, can't hardly wait.... Wait.......... Wait....... :banghead: lol
[HTC One X] mattmanwrx:
Thanks, seeing as you couldnt wait, I finished it and uploaded it, please see my websiet for downloads! :)
[HTC One X] The Great Dane:
Ha ha ha, thank you so very very much, it's pure awesomeness :p
[HTC One X] ttav:
Thanks a lot for this.Flashed the red mod and it looks great:D
[HTC One X] mattmanwrx:
Thanks, glad you like it... will be looking into theming more on a later date... :)
[HTC One X] Xinvincibl3x:
Great looking mod, however, is a white version possible ? =)
[HTC One X] mattmanwrx:
Thanks, it would take me longer to get a white version out, but I will get on it when I have time :)
[HTC One X] he_stheone64:
Just stumbled about this thread and try to shed a bit light on this issue. ROM independent methods like Villain or metamorph are great, as long as you don`t ADD new resources to an apk. Every battery mod adds additional png`s (not only replaces existing one`s) and these need to be added to public.xml in values folder, which automatically happens when compiling an apk after these changes. Since this method does not involve compiling new resources, certainly there are no new ID`s for the added resources in the apk and subsequently it fails.

So you need either limit mods with this method to mods, which do not need any changes to resources or you add matching resources.arsc, which certainly make the ROM independent idea obsolete (or add a disclaimer - only for ROM`s, that already have 1% battery). In case of stock ODEXED and ARHD there is no need to have 2 different versions, since you don`t touch Java code with this mod anyway. So a version with standard number of batterie png`s will work on both and you don`t need the 2 stat_sys_battery xml`s for these.

Hope that was clear enough.
[HTC One X] mattmanwrx:
Hi, thanks for the relpy... Yes, unless it already had a battery mod (which roms like arhd and stock dont) then it doesn't work, as the value in public doesn't point to a drawable... I'm thinking of making this with the aroma installer, compiling a battery mod (for the public.xml) and then flashing the villiantheme system... A bit long winded, might even be easier to just compile for the designated rom.. but at the moment, when the new release of leedroid is released this mod will still work...
[HTC One X] Master55:
Mod is not correktly working on Base 1.29. Do you make a update?
[HTC One X] mattmanwrx:
On the stock rom?

Is it not working at all, or just the battery is not working?

It shouldn't need to be updated for it to work with the new base..
[HTC One X] Master55:
The battey is not show on base 1.29. All other works perfect.
[HTC One X] mattmanwrx:
Thanks, I'm looking into getting it updated with the stock/no battery percentage at all...
[HTC One X] Xinvincibl3x:
Thanks ! Take all the time you need.

Appreciate the work done !
[HTC One X] xnostra:
my battery is gone any solution for this?
[HTC One X] mattmanwrx:
What Rom are you on? I will have to make a flashable.zip later for the two roms I know that do this...

It is in the op in bold, that the battery might disappear...
[HTC One X] Xinvincibl3x:
Hi, the market icon, USB icon & clock remained white. Im on ARHD 5.

Heres a screenshot :

dl.dropbox.com/u/66472382/2012-05-01_23-48-28.png
[HTC One X] mattmanwrx:
Market icon I know about.. I haven't actually tried the USB icon myself (i imagine it is in framework so will take another look when I get a chance), but am working for a fix on battery for arhd and stock users tonight... Then will continue for the white theme, then look for.more to theme...
[HTC One X] Xinvincibl3x:
Thank you for the swift reply ! Will be looking forward to everything.
[HTC One X] Julian-SG:
My status bar gone with Android Revoltuion HD 5.0 and Blue ICS.
[HTC One X] mattmanwrx:
Completely gone, or just the battery? Upload a screenshot please?
[HTC One X] xnostra:
arhd 5.0
[HTC One X] mattmanwrx:
Could a user of ARHD 5.0 please try this modified version? Before I upload it to my site...

PLEASE TAKE A NANDROID BACKUP, I'M NOT 100% SURE IF IT WILL WORK!

It copies over a modified systemUI.apk, which has the battery mod included, then themes it...

I'm also trying to get hold of the standard, completely stock SystemUI.apk and maybe odex file... However, I need a stock, so unless someone is subscribed to the thread, I will need to ask in the other forum...
[HTC One X] The Great Dane:
Must admit that I'm impressed over how kind and fast you react upon requests you become in this thread, keep up the good work ;)
[HTC One X] Master55:
It is Not working on ARHD 5.0 no notification bar.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
No bar altogether or just the battery? Show a screen shot please?
[HTC One X] Master55:
No bar. The Rom is without .

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Wow, sorry for this, I will get a fix out for you straight away...

EDIT POST: It says another 1hr 15mins to download the ARHD 5.0 rom, so it might be a little longer than I expected! Sorry for this!
[HTC One X] mattmanwrx:
hi everyone a colete revert for ARHD 5.0

Should just flash through fine... Will think of something else later for the battery mod to work!

Matt

P.S. - Could the other people who downloaded the .zip last night please give me some feedback, incase it was just the one where the bar was missing! Thanks!

DOWNLOAD HERE (uploaded now!)

Please give feedback!
[HTC One X] Master55:
After Flash the above ZIP.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Is that not normal? I just got the files I themed from arhd download and placed then in a .zip...

It should be displaying completely stock arhd now...
[HTC One X] Master55:
Thx it is normal. I would it Show for other users. I waiting now for the blue theme. It is the best theme. Gerät work. You are the man.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Brilliant, thank you... It's a step forward... I will compile a system ui for test now with the added battery mod, then hopefully you can flash the mods after...
[HTC One X] Master55:
Yes. Please Post you Beta and i will Test it. Thx.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Thanks for trying this for me!

If you could be so kind as to flash the attached .zip - It is just a battery mod with my ICS Blue Battery... Once that is flashed boot into the rom to see if the battery is there. If it is then flash the ICS-Blue-Mods from my site for the full package!

Hopefully this will work for you now, after that, you can flash any of my mods and they should work...

Plus the revert if they don't!

Many thanks, Matt
[HTC One X] Master55:
It is working. Now we need the Full theme with WLAN and the others.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Brilliant thanks again..

Now you can just flash the red or blue from the links in the op (/my website).. should flash fine... :)
[HTC One X] Master55:
This is Not working only ! Can you make a zip with complete notivication bar?

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
So after flashing the stand-alone batt mod, it shows the battery mod, then flashing the one from the opening post, it doesnt work? Not the one that I uploaded yesterday, the original from my site...!
[HTC One X] Master55:
Yes but it is Not working. No notification bar. I have Download the ZIP from your Homepage. Its Not working.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Hmmmm.... this is strange... I will take a further look at this tonight!! It shouldn't do that, as it just replaces the images, and has nothing else with it... Very strange!!

Thanks for all your help!! :)
[HTC One X] Master55:
Can you pn ne if you have a funktional ZIP with complet notification bar?

Gesendet von meinem HTC One X
[HTC One X] Master55:
It is now working on Base 1.29 ? Any News ?

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Sorry i went out and couldnt work on this tonight...
[HTC One X] mathrania:
Thanks for this...

as you have done it in red too , i request if you can make it in green as well...not bright green... but kind of a little dark---eye soothing... :)
[HTC One X] mattmanwrx:
Yep, easier than the white I'm working on which is difficult to get the battery white (everything else is)... Should be either late today or tomorrow...
[HTC One X] mattmanwrx:
I can confirm it is working with 1.29 base on leedroid, still working on arhd mods...
[HTC One X] Master55:
Yes I waiting for.

Gesendet von meinem HTC One X
[HTC One X] poofish:
I just flashed the version I had used for 1.28, onto LeeDroid v5.0.0 (1.29), and while all the notification icons on the right side are still blue, I noticed that Gmail and the USB icon (and possibly all other icons that show up on the left side of the notification bar, as I haven't had any of the other relevant icons pop up yet) are now white.

I reflashed it again after I updated my Gmail as well, so I'm quite sure it wasn't overwritten etc.
[HTC One X] mattmanwrx:
Hmmm, that's pretty strange.. did u wipe inbetween the upgrade.. I didn't and have all the icons (apart from USB, need to look into that) blue... Including gmail...

EDIT: just updated my gmail and is white... Will update the version very soon, maybe even 10 minutes... :)
[HTC One X] Master55:
Do you Post the ZIP? I will Test it on arhd.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
I haven't made it yet.. I will flash arhd tonight to do some testing.l myself...
[HTC One X] Master55:
Ok. Thx for you hard work. Do you plan more themes for Sense in blue style? I would help you.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
It was the update, if you flash the attached, it will move Gmail.apk from data/app to /system/app, then flash the desired mod and it will work... just tested it myself... :)
[HTC One X] mattmanwrx:
At the moment I'm not... If I get a lot of free time, I might start, but it is a long process theming everything, and even longer keeping it up to date!! I might do it though...

Plus, I'm not sure how long I will stay on a sense rom myself... I know there is a CM9 build, I'm really wanting to try an AOKP build, but also want to keep the camera with the burst shot, slow motion etc...
[HTC One X] mattmanwrx:
Green ;)

See OP!
[HTC One X] Master55:
Cool. :)

Gesendet von meinem HTC One X
[HTC One X] JayM:
didn't work on Insertcoin 4.X and 5.X, phone did not boot yet
[HTC One X] mattmanwrx:
It shouldnt stop the phone from booting at all, all it does is replace images, and not the actual framework, so it should still boot up... Strange that.. I'm actually downloading insertcoin now so will take a look at that...
[HTC One X] JayM:
thank you :D I did restore my nandroid backup
[HTC One X] mattmanwrx:
Works fine for me... Maybe a bad flash/download?
[HTC One X] poofish:
Thanks! That fixed the Gmail problem. Not to pressure you, but do you plan on also fixing the USB icon?
[HTC One X] mattmanwrx:
I do plan to, but... I originally done this for myself, as I'm used to ICS colours in the bar, and like the battery mod and was used to that too... I dont use the USb that much, and when I do it is only for a couple of minutes max... I will try to do it, however I have to find it first!! In framework-res it has been included, but it obviously isn't being pulled from there..

I'm trying to get a version working for ARHD first, as they dont have a battery mod, so when they flash it removes their battery and or status bar completely!!

Until then, the white one is staying ;)
[HTC One X] poofish:
Fair enough! Take your time, I'm not OCD enough to freak out over a white USB :P
[HTC One X] moonlight4u:
Is that compatible with roms Which has the new base 1.29

if not Please rebuild it to compatible with the new base

thanks for good work​
[HTC One X] JayM:
yes it works on Insertcoin 5.X now :D thx
[HTC One X] poofish:
As discussed between Mattman and me, we can confirm it does work on 1.29 (LeeDroid), but in order to theme the Gmail icon after update, you need to flash the zip he provided above and then reflash the mod.
[HTC One X] Master55:
Yes now it works by me. Thx you are the best.

Gesendet von meinem HTC One X
[HTC One X] mattmanwrx:
Is that on arhd? If so, what did you do to do it? :)
[HTC One X] Master55:
Yes it is ARHD. I have flashed a Lee Droid tweak after flashing the Leedroid tweak I flashed your blue theme and now it works. I´m so happy. I hope it comes more in blue style for one x. Thx for you hard work.
[HTC One X] mattmanwrx:
Brilliant... im looking into making it aroma, so it flashes battery mod, then my mods... :)

Thanks for your feedback... and persistence... :)
[HTC One X] mathrania:
+1 man...

looks cool :) THANKS
[HTC One X] mattmanwrx:
Hi everyone,

I have found the USB icon...! :)

Expect an update within the next 24 hours, depending on how much time I have tonight! ;)

Matt
[HTC One X] mattmanwrx:
OP Updated!

GTALK Now included, plus that pesky USB Icon..

Also using the Aroma Installer, so it is a one time download for all the colours...

(not 100% sure on the aroma installer, feedback appreciated.. :) )
[HTC One X] The Great Dane:
First of all great job your doing matt;-)

No doubt in my mind, I clearly vote for Aroma installer, lots of the chiefs/devs out there already use aroma, therefore its a well known thing amongst the users, we got users of all kinds in here from the experts to the noobs and the more simple the procedure is when flashing/installing the more users can use it.;)
[HTC One X] MOEHEET:
Does this work with Arhd 6.0****
[HTC One X] mattmanwrx:
Yes, as long as you already have a battery mod installed...

Does ARHD come with a battery mod? If not, I can knock one up for you, so that these will work fine... :)

P.S. - love your sig picture ;)

EDIT: if you want me to knock one up for you, could you upload your systemui.apk from /system/app here so I could quickly do it! :)
[HTC One X] MOEHEET:
Not near the pc at the moment..wil do it later if u want too.....
[HTC One X] mattmanwrx:
Yes please... Then I could knock one up and you can install the mods.. :)

It tells me it will take around 2 hours to download the full rom (at work, with a low connection speed, with others using it too....)
[HTC One X] MOEHEET:
try downloading with internet downlaod manager...it wil double up ur speed..........i wil upload it within a few min..
[HTC One X] MOEHEET:
here u go mate..
[HTC One X] mattmanwrx:
Will get that done tonight... Giving my friend a lift somewhere so will be either late tonight or early tomorrow morning.. sorry for the delay with this... :)
[HTC One X] mattmanwrx:
attached is the modified SystemUI.apk that gives a battery mod (no percentage), just 100 .png's with the the battery and 100 .png's for the battery charge...

Flash this, boot into the rom, then back to recvoery to flash the mods in the OP...

Untested by me, so take a backup first... :)

XDA not letting me upload, so download from here
[HTC One X] MOEHEET:
On d way to boaring work...I will gve a shot tonight n let u know......thnx for ur help...really appriciated...
[HTC One X] mattmanwrx:
A small PM conversation between myself and rsk99 - I have now turned the battery round (kind of). I've taken the LeeDrOiD standard battery mod and recoloured them for my themes (green might be a little off, will look into that! ;))

It is located in the second option of aroma, and labeled as "Sense Battery Mods"! :D

So it is still an all in one .zip with different options.

I will be looking into different battery mods too, so that you lot have more choice! Any suggestions welcomed! :)

Updating op now with images download already available! OP Updated :)
[HTC One X] mattmanwrx:
MOEHEET, did this work for you, or have you not tried?

Thanks, Matt
[HTC One X] mattmanwrx:
Hi Everyone

As you know I use LeeDroid Rom, with the newest release the Gmail app updated itsself again, so here is the most recent GMAIL.apk moved to /system for the Status bar mods to work!

Might need to flash them again though!

Thanks, Matt
[HTC One X] Dr_IZS:
Thank you very much >
[HTC One X] Sipheren:
Can you put this back up for me? I need to revert the mod back to standard if possible.

Cheers
[HTC One X] EazyVG:
Is this 100% comaptible with Charmeleon Rom v5.0?
[HTC One X] mattmanwrx:
I will need to download arhd rom which takes about an hour for me (connection is slow)... Will upload as soon as I can..
[HTC One X] mattmanwrx:
If it has a battery pertenctage then I would say mire than likely...

If you're worried, just take a nandroid back up and if it doesn't, restore it... :)
[HTC One X] mattmanwrx:
Attached to this post (I hope)... XDA Don't let me upload anymore - so it can be found here

Had 6.0.0 already on my computer...
[HTC One X] EazyVG:
Confirm it is working, I am on blue, the battery looks like the second blue strip screenshot (horizontal) on thread 1, except the time was white which I changed to blue using the built-in tweaks app in the ROM. Thanks.
[HTC One X] mattmanwrx:
Thanks for confirmation... The time is changed by leedroid tweaks, so I guess you can change the time colour in pkmn tweaks... :)
[HTC One X] Sipheren:
Thanks for that!

cheers
[HTC One X] rohitbaba:
Hey Guys

I would like to crate my own Mod for battery and other things in status bar, can any one point me in right direction as i don't know how to do it.

thanks

Dev
[HTC One X] mattmanwrx:
Hmmm, it's a bit hard to tell you where to start...

How much do you?

What you really want to learn is to decompile an apk (app) with apktool or apkmultitool - changing images to how you want it, re-compiling, then creating the flashable.zip to install it on the phone...

Most status bar icons (the ones on the left of the bar definitly) are in SystemUI.apk - decompile that, change battery, then recompile and see how it goes!

You can also start looking at .xml files too!!!
[HTC One X] limpep:
Will dis work on 4.0.4 (2.05.4)?
[HTC One X] mattmanwrx:
Should do, there is no reason it shouldn't... Take a nandroid and check it out :)
[HTC One X] limpep:
Didnt work got stuck on boot animation.
[HTC One X] mattmanwrx:
hmmm, ok, very busy at the moment, won't be able to look into it yet, but when I do i'll report back...
[HTC One X] limpep:
OK thanks
[HTC One X] CamoGeko:
Hopefully you will make these work on the new base.

Missing some cool mods for it at the moment. :(
[HTC One X] mattmanwrx:
Haven't had any time to look at the new base yet... When I can flash it, I will port to new base... Do u know which mods aren't working.with new base? Would help a bit... :)
[HTC One X] Sipheren:
Is there a way to get this mod to work on ARHD?
[HTC One X] mattmanwrx:
For the new base? What happens when you try?

I will need to download the new base and port them over, which will be a long job... Will try to get it done over the weekend... No promises though..
[HTC One X] ss2pheonix:
How to install?

How do I install this on a stock rom (rooted s-on unlocked)? also is it known to work on the evo 4g lte (stock rom)?
[HTC One X] CamoGeko:
Probably not, title says "Any One X Sense Rom". Also, I'm pretty sure your stock rom has to be deodexed.
[HTC One X] mattmanwrx:
Yes, you would.need to be deodexed, and also a battery percentage mod.is needed...

You could try it on the 4g LTE, what screen size does it have?

Just take a nandroid first...

Also, battery pertentage would be needed too...
[HTC One X] xnzn307:
nice work thank you man
[HTC One X] Tmike214:
will this work on a unlocked bootloader, rooted HTC One X with factory Stock Rom??
[HTC One X] mattmanwrx:
No, you need deodexed rom with existing battery percentage installed already...
[HTC One X] mattmanwrx:
For anyone still using this (like me :D) attached is the script to move the latest Gmail update to /system, so that the theme will still stick..

Flash the attached, reboot, then flash the theme again..

Thanks, Matt
[HTC One X] w74132003:
thanks

nice

have more theme tonight
[HTC One X] fade2blak:
mate any plans of making it 2.15 compatible? :)
[HTC One X] mattmanwrx:
Hi, sorry for delay in reply. At the moment I don't. I will when HTC actually release the new base, as it could change...

At the moment I have actually moved on and started to compile roms instead of themeing them... I will come back to themeing once my development itch has been scratched... :)
[HTC One X] CamoGeko:
That's a shame mate, would be amazing to have this mod/theme on the new base.

Anyways, have fun devving and hopefully you'll be back on themeing soon.

Sent from my HTC One X
[HTC One X] mattmanwrx:
I tell ya what, can you upload Gmail.apk, HtcMusic.apk, mail.apk, message.apk (is called message+crc_1.apk in older bases) pcsc.apk systemui.apk and talk.apk and of course framework-red.apk, and then I can take a look at it and see if I can port it over... I'm only using windows machines at work which has a very slow download speed which is unfair for the other employees here... So would help if I can get just those files...

If it is not possible for anyone to upload these, I can take a look next week, as I'm not at work, and suppose I need to fire up the neglected windows laptop ;)
[HTC One X] CamoGeko:
I can extract these files for you no problem mate.

Gimme 15 mins and I will dropbox them for ya.

Btw, I'm on AHRD 8.1.0 if that makes any difference... ;)

---------- Post added at 11:02 AM ---------- Previous post was at 10:44 AM ----------

Uploading the apk's for you now mate, should be done any second. I will update this post with link to the folder where you can download them in few mins.

Btw, just wanted to ask if its possible to get the centered clock as well for this updated version of the theme? If you manage to do it of course... ;)
[HTC One X] mattmanwrx:
I would like to say yes, however, with the VRTheme system, and AROMA making it avilable for most sense roms, I think it would cause more problems...

However, saying that, I could make the mod just for you and give you a separate zip to flash before hand? But it would be untested by me, so anything could happen! :laugh: