yashsingh1/xdaforums huggingface dataset:
[Android Themes] OlliG:
New in Next Version 28: Get Your Rom Presets right by analysing your SystemUI.apk

HowTo:

This Post describes how to use the new Feature to create RomPresets by analyzing a given SystemUI.apk of your ROM!

The manual way to find the correct RomSettings is described here! You should read this to get an idea, what this Analyzer does!

Extract your SystemUI from your Phone or from your Rom-Zip and put it somewhere on your disk...lets say c:/public/SystemUI.apk

Open the Rom Fumbler and choose the new Button "Analyze SystemUI" in Rom Settings! You will see this:

Click the "Load SystemUI.apk Button and choose the apk file you just saved under c:/public/SystemUI.apk

The Analyzer will "think" for some time (on my PC about 5 seconds) and then show this;

The Listbox will show all 1% Battery Mods in your Rom! In this case it is all the 1% Battery Mods in Carbon Rom!

In other Roms you will only see 1 entry!

If you see no entry...well...you have bad luck and no 1%Mod is present in your Rom! And the RomFumbler can not help you :(

Now click the 1% Battery Mod you want to create the RomPreset for:

Click one entry in the Listbox...The Analyser will show you the Icons for this 1%Mod in his overview and he will show the icon-height in the Label under the Listbox (only for information)

Now observe how the RomSettings in the RomFumbler-Frame behind the Analyzer-Dialog changem when you click in the Listbox?!

(Observe pattern, drawable-Comboboxes and sizes!)

Hint:

The Analyzer sets all drawable-dropdownboxes to the same value (the one where he found your battery icons!...that is normally correct...(except you are on Ressurection Remix ROM...:))

The IconSizes are set to the defaults of the selected drawable-dpi's! (Some Roms like Carbon use odd/different iconsizes for each 1%Mod...from a designers perspective this will look stange, when the battery icons are small or bigger than the other Icons in the Statusbar...)

If your Rom uses other sizes than the defaults for its drawable dpi...than you are not doomed :) Just overwrite the value with the sliders in RomSettings ;)

Now close the Analyzer ...

Check all the other RomSettings...

Make your other custom choices to the RomSettings now....like template and so on...and ...

Finally click on the "Export RomPreset" Button to save your new RomPreset!

Attention...you need to restart the RomFumbler to use the newly saved RomPreset! (RomPreset Comboboxes are filled on startup of the Rom Fumbler.)

After the restart you can choose the new RomPreset in GlobalSettings and make it your default RomPreset, that is applied on every start of the RomFumbler!

When you have a working RomPreset for a ROM that is not yet in the Dropdown-List...please share it here! So I can add it to the buildin RomPresets!
[Android Themes] drinfernoo:
Awesome job OlliG! You could probably even do it just with the ROM flashable, since SystemUI.apk is always in /system/app...
[Android Themes] OlliG:
I can probably do this, but I wont ;)!

If someone isn't able to extract the SystemUI.apk from his ROM or from his Phone, he should not use the Rom Fumbler :)

He should not even think about modding his phone !

See this as a little hurdle for noobs before they mess with their Phone :)
[Android Themes] drinfernoo:
Good call :)
[Android Themes] elijahbrown:
Not necessarily. SGS2 variants have system UI in preload folder in stock rom.
[Android Themes] drinfernoo:
Oh. Thanks :D
[Android Themes] OlliG:
I just update the description for the new Analyzer Feature

It was a little bit of a hack to have another RomSettings-Panel in the Analyzer, when the original RomSettings Panel is already there...

So now the Analyzer auto-sets the fields in the "normal" RomSettings Panel...and when this is done, you can save a new Rom Preset in RomSettings...

This looks way more elegant!
[Android Themes] OlliG:
A few more Xor Backgrounds and textures available in next version 28 :) I hope to have it ready at the end of the week !
[Android Themes] calebsb:
Those are awesome.
[Android Themes] Brendo:
This has been one of my favourite threads since it was started. Been following and enjoy seeing it evolve into what it is now. Am yet to actually use it though...

Keep up the good work :)
[Android Themes] OlliG:
Another hint on how to use the Xor Batteries with special Backgrounds and Textures...

Lets say you found this beautifull ring on the Internet....resize it to 64x64 pixel and save it in ./custom/textures/...

Now remove all saturation from it with a tool like Gimp or Photoshop or PaintshopPro...save this in ./custom/xorCircle/...

Now (re-)start the Rom Fumbler, to make it loade the 2 new icons. Choose the XorCircleBattery and select your new Background and Texture:

Now you have this:

See the Background is plain gray...this is because the Background is painted in the specified BackgroundColor of the Icon...but now try this:

Now the Background Color is not applied and the pure Background Icon is used instead...

Looks nice, right ? :)

Two more examples, that show the effect:
[Android Themes] OlliG:
Some more Information regarding the new SystemUI Analyzer:

Or : What if the Battery Icon heights in your Rom are a little bit "odd"?

Some Roms have more than one 1% Battery Mods in their SystemUI. Rootbox, Jellybam, and Carbon Rom are some examples...that is no problem!

What bugged me is: For Example: In Carbon the different Battery Iconsets have different icons-sizes...(I never saw a Carbon Rom live so far, but I imagine, that this looks a little bit ugly ;))

Normally by default all statusbar icons have the same height (36 pixel in a xhdpi Roms)...so in S3-Carbon Rom the Wifi and Signal Icons are 36pixel...but some of the Battery Mods have 48, 46, ... Pixel...this must look a little bit odd...

So my frst attempt was to ignore those different icon heights and use the correct height for the dpi of the Rom...in this case 36!

But you know me ...I want this configurable... :) So you have two options

close the Analyzer and set the wanted icon height manually by dragging the batt-size slider

or uncheck the new litte checkbox on the Analyzer and the icon-height of the original BatteryMod is used!
[Android Themes] OlliG:
SystemUI Analyzer --> new Feature to export the found Battery Icon-Sets!

Available in next Version 28.0 :)

I just added another really cool feature into the SystemUI-Analyzer...now you can export the found Battery Icon-Sets to the custom area of the Rom Fumbler!

So you can always create a flashable Zip to restore your old icons that were overwritten by your new battery designs!

This is how it is done:

First start the SystemUI Analyzer and analyze your SystemUI...described here

Now select the BatteryMod you want to export in the Listbox.

Press the export Button

Now provide the name of your Rom (where you extracted the SystemUI from)

(in this example I left it to the default "MyRomName")

Click OK

The Icons are saved:

If you are curious...have a "spy-look" into your RomFumblers installation directory...see the exported png's in there ?

Now find this new Iconset in the Rom Fumbler in the "Icon-Sets Tab".

Make sure to restart the RomFumbler, as the tool only loads new Icon-Sets on start!

Now you can select the new Icon-Set and use it to create a flashable Zip!

Make sure, you do not have anything selected in the Battery Renderer, as this might conflict in filenames, if you render icons for the same filename pattern! Zip-File-creation will throw an error !
[Android Themes] OlliG:
Thanks for 1k Thanks.... :) !!!!!!!!!!
[Android Themes] OlliG:
I'm almost done with Version 28.0, and hope to have time to release it tonight... :)

The SystemUI Analyzer is working quiet well now...but I have only tested it with 4 different SystemUI's...so it may still have some glitches...and some things could probably be done better...anyway...I hope it will help people to find their specific RomSettings!

And I've build in some more goodies into the Analyzer... (goodies, I did not show here so far) :)
[Android Themes] OlliG:
New Version out of "The Rom Fumbler" aka "The Battery Icon Creator"

This update has some real "killer-features" that took a lot of work! "Swagger Overviews and SystemUI Analyzer"

Changelog:

June-09-2013 : Release 28.0

New feature: SystemUI Analyzer... (original idea from [MENTION=5026924]drinfernoo[/MENTION] !!!)

...This is supposed to help you find the correct Rom Settings for flashable zip creation

...Description how to use it

...You can also export the icons found by the SystemUI Analyzer into a new Icon-Set for later use within the Rom Fumbler.

...export Battery, wifi/signal and toggle-icons!

(You can use these exported Icon-Sets as template for your own icon creations...lets say you want to design your own toggle icons!)

...Description how to export battery icons

Nice "frames" to swagger with your battery-renderer creations

...find them in the new tab "Small overview" in the Battery Renderer

...configure the background and style in GlobalSettings

...Look here

...same nice overviews for Wifi and Signal Renderer too!

New Battery styles (all with xxhdpi support)

...XorCenter (fills a square or a cicle from the center...)

DropShadows now behind charge icon too!

Gui changes

...you can now move "glow", percentage text and charge icon together... (checkbox underneath the Positioners)

...Description

More backgrounds and textures for the XorBatteries

Removed UFT template.zip for preload, as it is not working and only consuming 2MB :)

...if you are on a preload Rom use the vrtheme template!

Updated Help-Pages

Check out the new SystemUI Analyzer in Rom Settings!

...If you are on a ROM not yet supported with build in RomPresets...try to find your RomSettings with the SystemUI Analyzer and share your RomPreset here!

Happy modding & flashing :)

Press Thanks if you like the new Version :)
[Android Themes] zenxus31:
hi..can i use this fos galaxy y?
[Android Themes] drinfernoo:
Give it a shot!
[Android Themes] OlliG:
New in next Version 29

1. Open Folder Button

To make it easier to find the icons the Rom Fumbler creates in the filesystem, I added a new button to open the folder(s) where the Renderes render their png's and overviews...

This new Button will start the default file-browser of your OS...so in Windows it will be explorer.exe...in linux it will be Nautilus or whatever filemanger is your default.

2. More predefined colors

To make it easier to create Battery Icons color-compatible for special themes I added new tabs to the ColorChooser with predefined colors:

So far available for

Morphology (MOAR Rom and others...)

Hue Theme from [MENTION=3185139]kroz[/MENTION]

If you want more tabs for other themes...let me know!
[Android Themes] kroz:
thanks, great, excellent... :)

what more can i say, :)

awesome!!!
[Android Themes] OlliG:
[MENTION=3185139]kroz[/MENTION] : Now with all your colors...

plus: Logo and url...click on the logo/url will open the webbrowser with a link to Hue theme ;)

Let me know if you'd like to have a beta Version...:)
[Android Themes] kroz:
perfect!!! :)

your awesome... look very good now
[Android Themes] fryingpan0613:
OlliG, can you make it where we can save our own colors? It would be awesome if I could make presets for the colors I use.
[Android Themes] OlliG:
Good idea :)

EDIT: done :) ...... Will post a howto and screenshot tomorrow!
[Android Themes] OlliG:
New feature in next Version 29.0 : User defined Colors

You can now save your own user defined colors from the ColorChooserDialog:

Select your color (including transparency and so on) in any tab

goto the tab "User defined Colors

and then click the "save"-button.

Enter a (unique) name for the color ...

click ok!

Now you've got the new Color...

Now...what if you want to delete colors or rename them?...well...then just manage your color-(files) by clicking the "Manage"-button right below the "Save" Button.

This will open the folder, where your colors are stored.

Each color is stored in one textfile with the extension ".color"

If you open a .color-file...it looks like this:

The color value is stored in a comma seperated string Color=<red>,<green>, <blue>,<alpha>

You may also just overwrite a color by saving it again with the same Name! The Rom Fumbler will not ask if it is ok to overwrite the Color! It will just go ahead and overwrite it :)
[Android Themes] rush25:
can i get battery style like this :-

i want both % and battery icons :)
[Android Themes] fryingpan0613:
The % is done in settings. That icon is in this program.
[Android Themes] OlliG:
Yes, but he wants both....the best that this tool can do (so far) is this:

Perhaps I need to create a new Battery Style ?

EDIT: This is an extra wide XorSquare Battery 90x64pixel...normally xor Background bigger than 64x64 are not supported...but it seems to be ok ;)

This is the closest the current Version can do!
[Android Themes] fryingpan0613:
It sounded to me like he wanted someone to make it for him, but I may be wrong.

I know on my note 2 you can go to settings/display and check display battery percentage. Then he could use the tool to make that icon if he chooses.
[Android Themes] rush25:
i wanted in aosp :)
[Android Themes] OlliG:
In Rootbox you can only have Text with % or the Battery icon ... not both!

So the only option is to create an icon like my examples above, that have both... the text and the icon...try the XorSquareBattery with an even wider background than the one in my example...that should give the result you want to have!

And then replace the Square Battery in Rootbox...(use corresponding RomPreset for that!)
[Android Themes] rush25:
i found this :)

http://xdaforums.com/showpost.php?p=42501123&postcount=5
[Android Themes] OlliG:
While experimenting with wider icons in XorSquareBattery i looked deeper into my source and found out, that it is not restricted to 64x64 pixel !!!

You can use any size Backgrounds, but I would recommend to use background with a heigth of 64 pixel...to be xxhdpi compatible

Here are a few examples, what can be done with wider icons: (checked flip mode to fill from left to right):

(flip Icon)

(no flip icon )

EDIT:...there is a bug in the Version 28...the width of the "color" is not calculated correctly in flip mode...see the first example...100% is somewhere in the middle of the arc...

Fix will be in Version 29 :)

Fixed:
[Android Themes] Gutslit:
Love your work mate,but can you make a video tutorial to it?just for clarifications..
[Android Themes] Gutslit:
Error

every time i create a flashable zip it gives me error,hope you can help me.. :)

EDIT:

btw im using rootbox 20130612..
[Android Themes] OlliG:
You have enabled an IconSet in Tab "Wifi&Signal"...and you have enabled the "Renderer" for "Wifi and/or signal" at the same time!

That gives duplicate iconnames...and that is not "loved" bei the zipper ;) Disable one of them!
[Android Themes] Gutslit:
thanks for quick reply mate,so what im gonna do is i will mod 1 by 1 right?if i want to mod the battery icon,wifi,mobile signal what is the accurate tab for it.. hope its ok asking it to you?i know your a nice man,hehe ;)
[Android Themes] OlliG:
The conept of this tool is that you have :

Renderes (Battery, Signal, Wifi)

Renderer draw the icons on the fly...there is no "template" somewhere in the filesystem for the icons (Exept XorBatteries)

and

IconSets (Toggles, Signal, Wifi, Batteries and more)

Thise icons are stored (ready to flash) in the ./custom-path of the Rom Fumbler

You can mix all of them, but you cant have the same icontypes from both: for axample Wifi icons from Renderer and IconSets, as the iconnames are the same!

Read the Howto and Help pages/tabs in the Tool itself...some stuff is explained there!

And there is a long list aof Howto and FAQs in the OP!

So your workflow will probably be...:

Designing Battery icons in the Battery Renderer,

add an iconset Wifi&Signal (or render your icons in the Renderer tab)

add more stuff (toggles anyone :)?)

... then press flash-zip-button...and thats it!

You end up with one flashable-zip that includes battery icons, wifi icons and toggles... so you can flash them all in one go!

Understood ?
[Android Themes] Gutslit:
yes mate,i understand.. thanks.. i will try to mod again and i will update you soon as i succeed .. ;)
[Android Themes] Gutslit:
Zip was created successfully

I mod it again and this time it says "zip was created succesfully" im gonna flash the zip file now hope everything is ok.:)
[Android Themes] OlliG:
Your're on Rootbox right ? What device ? Did you check the Rom Settings to have the right preferences for Rootbox ? There are RomPresets for you!

If so...it will work perfectly...

Never had something going wrong (on rootbox)! I have flashed thousands of my zips so far !!! ;)
[Android Themes] Gutslit:
Success

thanks [MENTION=4868820]OlliG[/MENTION] i see my moded bat now and my beautiful lock ring.. :good:
[Android Themes] Gutslit:
yes mate im on rootbox,Gt19100.. :)
[Android Themes] Gutslit:
[MENTION=4868820]OlliG[/MENTION] i sent you a friend req..
[Android Themes] OlliG:
Regarding this Zipping Error due to duplicate files...I have added a new warning message dialog in the next Version of the Rom Fumbler.

I leave the coice to the User, because you can select batteries with different filename-Pattern in iconsets...so you could flash more than one Battery Mod to Roms, where you have not only one 1%BatteryMod...like in Rootbox! (has 3 BatteryMods)
[Android Themes] Gutslit:
The best!:good:
[Android Themes] OlliG:
New Version out of "The Rom Fumbler" aka "The Battery Icon Creator"

This time a smaller changelist, but some interesting features for you...

Changelog:

June-15-2013 : Release 29.0

New feature: Save your own custom Colors in "User defined Colors" (original idea from [MENTION=2757720]fryingpan0613[/MENTION] !!!)

...Description how to use it

New pre-defined custom Colors

...for Hue Theme by [MENTION=3185139]kroz[/MENTION]

...Morphology Colors

New "open" button(s) in a lot of Tabs...

...opens the corresponding folder in your filesystem

...Description here...

Gui changes

...Small Overview renamed to Swagger Overview ;)

... another new Swagger background "Frame.V2"

More backgrounds and textures for the XorBatteries

OlliG Toggle V9 updated with adb Toggle

Check out the new "User defined Colors" in ColorChooser!!

Happy modding & flashing :)

Press Thanks if you like the new Version :)
[Android Themes] fryingpan0613:
I thought the user defined colors were my idea :p

About to download now
[Android Themes] Naddict:
Version 29 is more genius than ever.

Another masterpiece my friend! :highfive::good:
[Android Themes] OlliG:
Sh.t, must have copied the wrong name....sorry for that!! Posts fixed ....
[Android Themes] OlliG:
I was google'ing for some new XorBackgrounds today....found a new, clean, simple skull for the next RomFumbler Version...and some more charge icons....

I'm interested to know: Have you added your own Backgrounds, Textures or Charge-icons to the Rom Fumbler ???

If so, do you mind sharing them here ?

Or do you use the build in icons that I bundled with the Rom Fumbler ?
[Android Themes] OlliG:
New Battery Style in next Version 30..another Tacho Battery...V5 :)

Supports Texture-Fill....is xxhdpi...
[Android Themes] drinfernoo:
Is the WiFi and signal renderer implemented yet?
[Android Themes] fryingpan0613:
Here are mine
[Android Themes] OlliG:
Ahmmmm...they are there for about the last 20 Versions...?!?!

They are not so advanced like the Battery renderers...and personally I dont use them very often....but they are there!

...or do you need something else ?
[Android Themes] drinfernoo:
I just need to read more I guess :D
[Android Themes] OlliG:
New Battery Style in next Version 30: Zoopa.Wide

Inspired by the CircleWidgets from ZooperWidget

The outer arc shows the "ones" the inner arc the "tens" starting with 0...so on zero battery you will see one segment on each arc!

You can play with the noBackgr. and Flip option in Misc Battery Option

NoBackgr = off ...the segment of the percentage number is colored with the "Extracolor1"(white in this example)

NoBackgr = off + flip=on...the segment of the percentage number is colored with the "Main Color" and the rest is colord in "ExtraColor1"

NoBackgr = on ExtraColor1 not used
[Android Themes] drinfernoo:
Very cool!
[Android Themes] Gutslit:
Great work mate!another piece of art of yours.. anyway i have a request if you can include a superuser bat icon in your next release?<similar to these?just a simple request though,any response is appreciated.. :)thanks in advance..
[Android Themes] Pete2506:
This tool is more than great and awesome together, this is what I created at the first time pcb battery icons

Thanks for the tool!!!

Greetings Pete

Sent from my RenovatiOne
[Android Themes] OlliG:
Like this?
[Android Themes] drinfernoo:
Pretty quick work! Way to go OlliG :D I'm still interested in making this into an app, by the way :P
[Android Themes] Pete2506:
Hello Olli,

is it possible to implement more 3d optic statusbar icons? And set up a option to make icons bigger than 70? I prefer 76x76 as size for better readability. On xxhdpi devices the icons are a way sharper than 70x70.

Greetings Pete

Sent from my RenovatiOne
[Android Themes] OlliG:
Any examples for the desired 3D look ?

Some pages back we had a discussion about the icon-sizes...and how resizing them to bigger sizes then they were rendered in would blurr them...this is the reason why all new Battery styles are rendered in 54x54 or even 64x64 pixel...so they dont have to be upsized fpr xxhdpi!

Now if you want sizes even bigger than 64x64, your icons will end up a little blurry (just a tiny little bit)...

But I wont change the renderer to even bigger icons, because the rendering takes exponentiall more time the bigger they get!

So if this little blurryness is ok for you, I can configure the slider to go up to 76!
[Android Themes] lakicamm:
Way to go mate, that will make your app perfect :)
[Android Themes] Werewolf88:
I'll do it
[Android Themes] kingofjail:
REPORT : costumrom with base LPG+jkay IT WORK 100%

- with change this :

stat_sys_battery_

stat_sys_battery_charge_anim

mybe i can give you some idea mate like this :

- add to change wifi, signal icon

- more icon for battery

- clock position : left,center or right

- make this tool into full costumize on statusbar view , would be awsome :)

and many more improve

overall its cool tool & friendly GUI i've ever use on android hehe :) , mate can you add icon battery of official miui like this

for now battery it to big on hdpi make it on long size.. sorry for ma bad english.. keep dev mate..
[Android Themes] OlliG:
Tranks for the Ideas .... And for reporting that it worked on custom LPG also.

Which Rom was it exactly ? So ican add it it the op. is it hdpi or xhdpi ????

Concerning the clock position...that would be an XML change in systemiu.apk...meaning decompile and so on...my tool so far only replaces icons...if you want to do something like this it would need systemiu and framework-res.apk as input. Maybe I will do that in some later future.

Aokp rooms have that feature build in...and jkay has this too, as far as I remember!

The muiu battery, is it just black an white, with no text? ...looks a little like my vertical battery...only a little bit "longer", right?
[Android Themes] II_DiE_4:
Can you implant any checks to auto choose the correct paths? That would be really awesome instead of new features since its the most important part now, to be universal tool.

Thanks alot
[Android Themes] kingofjail:
im used this rom mate : http://xdaforums.com/showthread.php?t=1633253 zeta v3.1 base on LPG with jkay

im try to make xhdpi its does'nt work but it work with hdpi..

about clock position its fine im using jkay so i can make it center or right or dissapier, hehe, but if you can add on this tool it all be alright :good:

yes, miui just like that mate, about the other like signal of bluetooth or wifi icon can you add it to, that will be great,

overall this tool its to easy to use i love it,just choose & click, WOW this is so simple, specially for me i don't understand with a code :victory: keep it up mate,
[Android Themes] Werewolf88:
another idea, make a mobile app, if it's not too hard