yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] CaptainGoSlow:
Cheers on the quick reply, I was just changing the batt icons on the mod that was iniitally done by BBB and modded to bottom toggles by Churupa. I initially thought I might be able to merge the circle mod from Sale, but then realised both where SystemUI, so thought I'd have to decom to get access to the relevant files. I'll be happy and sad if you give me another way to do this, as I've spent most of the morning getting my head around the apktool and why my commands weren't working. But hey, least I know now.

EDIT: Just to provide some further info, in case I missed anything, the commands I used were:

apktool if framework-res.apk

apktool if twframework-res.apk

apktool d SystemUI.apk

Then I changed the icons

apktool b -f -d SystemUI

I then put the new SystemUI in place of the old one in the mod.

Cheers again.
[Galaxy S II General] Namoi:
Well my best guess is to replace the msg_list_id_*.png (6 of them) and the msg_list_group_img.png in drawable-hdpi by the s4 ones.
[Galaxy S II General] HighlanderZA:
Thanks [MENTION=4296852]Namoi[/MENTION] - will report back ASAP.
[Galaxy S II General] Namoi:
BTW, an easy trick to fill up your notification drawer is to use Titanium Backup and make an xml backup of saying your bookmarks (as in my SS), just hit cancel when he asks to save it (hence you wont fill up your sd with Backup).

Do this 5 or 6 times and you will get a nice drawer full of Tibu notifications ;)
[Galaxy S II General] HighlanderZA:
Hi CGS - dont use apktool like that(just me) - I rather use VTS for decom/recom etc

http://xdaforums.com/showthread.php?t=1619473

Anyway - on the icons - at the top of this thread, bottom of 1st post, there is a little guide on opening apks with 7Zip and changing pngs etc etc.

very nooby - but might help a bit. That's how I started and it works for me.

If that's too basic, shout and we'll take it further.
[Galaxy S II General] engloa:
If you're just changing the icons, no need to decompile/compile it. Just replace the pngs before flashing

If you get installation aborted, the zip file is probably corrupted, do you know the error code?

Those icons are located in the seccontacts.apk of s4. So you'll need to change the icons of the seccontacts
[Galaxy S II General] Spannaa:
This one?

If so, the Dev-Host link says "File Not Found"
[Galaxy S II General] HighlanderZA:
Thanks [MENTION=2948558]Spannaa[/MENTION] - hope BBB fixes.

https://www.dropbox.com/s/gpkvh0mlx0kfg1b/Simple Mods for Toggles and other Icons for NeatROM.docx

https://www.dropbox.com/s/welbp49uyqy7mpj/Simple Mods for Toggles and other Icons for NeatROM.pdf

Ok try mine - both formats DOCX and PDF - whichever suits.
[Galaxy S II General] CaptainGoSlow:
Hi Highlander,

Haha, simpler the better for me I think, otherwise I'll be here into the New Year with my lack of skills. :silly: Appreciated on the help, I'll give VTS a look and 7zip if it saves me decompiling in the first place. The less opportunities for me to mess up the better. :D

Hi Engloa,

There's no error code showing in recovery, it just says "installing update" and then "installation aborted". Is there a log I can get that would help separate. I'll look at just replacing the pngs as you say for now too. :D

As always, thanks everyone for the help, always good to see how friendly and ready to assist people on these forums are.

I'll report back once I've tried the methods suggested.

Cheers
[Galaxy S II General] bombaybadboy:
Not one of my favourite tools but its claimed to be the easyest to use

http://wanamlite.com/2013/02/21/apkmanager-v6-1-reverse-engineering-of-android-applications/

Thought you may have more luck with this

Edit HighlanderZA link should work now :thumbup:
[Galaxy S II General] mr_zuff:
Hi everybody! I need a bit of help! :D

I'm trying to make white and black statusbar on Neat Lite and I found a nice icon theme, a mod to have white clock, but nothing about wifi/signal!!

Someone can tell me(or link me) a way to have white wifi/signal bars? :)

thanks you guys! :D
[Galaxy S II General] Namoi:
You just need to replace the coresponding icons in res/drawable-hdpi from systemui.

Look at the stat_sys_* icons : they are the one used in the status bar.

But i would be maybe easier to flash JB reloaded theme (it has a white theme).
[Galaxy S II General] mr_zuff:
ok, I found the icons, but I don't know how to modify the png.

I know there are some programs to do that, but wich is better/simple? :)
[Galaxy S II General] Vivek_Neel:
Just replace them mate

..drag and drop method
[Galaxy S II General] HighlanderZA:
Will make a zip of the white icons if you like - I use them! Give me a few minutes - busy with something else.
[Galaxy S II General] Namoi:
Do as CorruptionFreeIndia said : use 7-zip to open (Not extract !) systemui.

Navigate to Res/Drawable-hdpi and drop your icons overwritting the old ones.

But be sure the icons are HDPI and with the appropriate names (ie picked up from a theme which works on SGS2 would be better)

Here is a zip with those (except the battery) thanks to Crussader.
[Galaxy S II General] mr_zuff:
thank you so much, but Namoi already provided me a zip with the icons :)

thanks!! that's what I need :D

anyway, I already have battery icon ;)
[Galaxy S II General] engloa:
Was going through my PhoneStatusBar.smali to get rid of unused codes so just saw your post.

Just replace the pngs you want before flashing, if what you want to do is to just change the pngs. Maybe a vrtheme template will suit you best, ask [MENTION=2948558]Spannaa[/MENTION], THE vrtheme master.
[Galaxy S II General] HighlanderZA:
Thanks both [MENTION=4296852]Namoi[/MENTION] and [MENTION=2174044]Many40[/MENTION] - sent me in the right direction.

[MENTION=2174044]Many40[/MENTION] - All i did was change the following in the 2nd <FrameLayout> section from "fill_parent" to the 380.0 dip. Now spot on!

[MENTION=4296852]Namoi[/MENTION] - thks for the TB tip!

<FrameLayout android:layout_width="fill_parent" android:layout_height=[COLOR="Red"]"380.0dip" [/COLOR]android:layout_marginBottom="@dimen/tw_close_handle_underlap" android:overScrollMode="ifContentScrolls">
[Galaxy S II General] Vivek_Neel:
Hey mate..could you please share the battery icons?..

I need them
[Galaxy S II General] CaptainGoSlow:
I've downloaded 7zip and much easier... Although I have ended up with no battery icon at min. I put new ones in, thinking it'd overwrite the others, but guessing it hasn't and conflicting. Actually looks alright though, so might leave it if no other issues. :p

Cheers again folks, I'll keep note of other programs suggested in case I become more adventurous. :D
[Galaxy S II General] Namoi:
Here is the full systemui icon set from white JB reloded (Again thanks to Crussader).
[Galaxy S II General] Namoi:
How much Batteries icon do you have in the drawable folder ?
[Galaxy S II General] CaptainGoSlow:
Hi, I've not got access to PC at min, but I used the battery icon folder that BBB put at start of thread. I just moved the ones in the Green Circle folder. I left the original ones in place too. I'll try it again when I have access to my PC. :)
[Galaxy S II General] bombaybadboy:
Did your mod have stock battery before you tried editing?

You may have problems with drawable/ stat_sys_battery.xml + stat_sys_battery_charge.xml
[Galaxy S II General] HighlanderZA:
Remember that your battery icons and battery charge icons are two different things normally.

Also that two xml files control which icons are shown normally and which are shown while charging.

stat_sys_battery.xml and stat_sys_battery_charge.xml (in drawable folder)

To edit those, you WILL have to decompile and compile!
[Galaxy S II General] CaptainGoSlow:
Ah, cheers, I had moved the files into drawable, but didn't realise they'd require me to decompile first. (Spot the noob) :p

I'll have another go at decompiling tomorrow and see if I can get it right using tools you and BBB have suggested.

Appreciated on the help, hopefully be able to report success tomorrow. :D
[Galaxy S II General] HighlanderZA:
If all you did was copy existing UNedited and undecompiled xml files say from one mod with assiciated pngs to another mod. then you dont need to decompile.

To EDIT the actual xml file you have to decompile or it is uneditable( looks like hieroglyphics )

See below!!
[Galaxy S II General] CaptainGoSlow:
Yeah, I just moved the files over from battery icon link at start of thread. I'll give it another go and see if I def copied both or if anything else I might have overlooked. :)
[Galaxy S II General] Spannaa:
You should be able to change any pngs in SystemUI.apk with a VRTheme but, unfortunately, it doesn't always work if SystemUI.apk has been previously modded and causes FCs.

It depends on the mod...
[Galaxy S II General] HighlanderZA:
Hey there MT'er :D

So right, - most of the time I just flash the whole SystemUI - I always have issues with VRT'ing SystemUI. :eek::eek:
[Galaxy S II General] Spannaa:
Correct.

If you're moving from a say stock battery to a 1% battery, you could just drop compiled, modified stat_sys_battery.xml and stat_sys_battery_charge.xml files into SystemUI.apk and that would work.

The only problem would be that if you ever tried to decompile the modified SystemUI.apk, the additional battery icons wouldn't appear in the decompiled apk folder as their ids wouldn't have been included in public.xml.
[Galaxy S II General] Namoi:
We learn every day. :D

I wasn't aware of that fact which is obvious when you think about it.

Thanks
[Galaxy S II General] Spannaa:
Most of the problems appear to be due to 23 toggles mods which have had their AndroidManifest.xml edited to make the torch toggle work.

If this is done, the apk needs signing and, if signature checking in services.jar hasn't been disabled, you'll get FCs or worse.

Hopefully, this issue has now been resolved now [MENTION=3690986]salesale[/MENTION] has disabled signature checking in NeatROM Lite v4.8
[Galaxy S II General] Vivek_Neel:
Hey guys.. just wanted to confirm this.

How do you guys put transparency to an image using gimp..?

I use Ctrl+L

Or is there any other way mates?

Thanks
[Galaxy S II General] HighlanderZA:
Everyday - you're right Namoi. (if not shouldn't bother getting out of bed:silly::silly:)

Luckily, I don't think I've ever had that problem - always end up having to mod some code somewhere, so decom/recom always happens.

Thanks Spannaa - will keep that in mind for when I have the problem - with my memory, it'll probably bite me somewhere!

Edit: too many threads to watch now - 3 at once - anyway gotta love and leave u for a bit. (sorry BBB OT I know)
[Galaxy S II General] bombaybadboy:
I dont and never liked gimp, its so much easier with paint.net I personally find. Much better free tool imo but if your sticking with gimp look for alpha transparency in your tools
[Galaxy S II General] CaptainGoSlow:
Just to update, I managed to get 5 min on PC, so this time I left the XML alone as the mod already has 1% batt and just replaced PNGs. Which has worked, woo.

Thanks again for the help everyone and for the base mod BBB and Churapa. :D
[Galaxy S II General] Goldie:
You mean make an image transparent or only certain parts or just make an image like 50%?

If its the latter just duplicate the layer then lower the opacity to what you want and turn off the original layer. Then save it. Thats how I do it anyway. :)
[Galaxy S II General] bombaybadboy:
Here for paint.net if that helps
[Galaxy S II General] Vivek_Neel:
Yeah.. sure BBB..will try paint.net too

Thanks BBB and goldieking

BTW goldieking mate..not the certain part..

I want full image to be transparent
[Galaxy S II General] engloa:
Photoshop has always been my choice for image editing(maybe it's because it's the first program I ever cracked/patched using a byte patch) :p:p:D
[Galaxy S II General] bombaybadboy:
Its great software I agree but also cost a little money too so I didnt include it. If your willing to pay the money its worth it :thumbup:
[Galaxy S II General] mr_zuff:
Good morning guys!! :D

Yesterday i managed to use white icons to create a small theme and now it looks like this:

Now I'd like to know 2 things :D

_What is the hex code to set the white clock? Or could I just write "white" in the code line?

_How can I manage to edit colors of lidroid toggles? I searched for a guide, but seems that nobody have made one :\

Cheers guys :)
[Galaxy S II General] engloa:
For lidroid color toggles, look in the lidroid-res/res/layout/power_widget_button.xml if you want to change the text colors. To change the icon colors, you need to edit the pngs inside drawable-hdpi

What clock do you mean?

For status bar, it'll be defined inside the systemui/res/layout/tw_status_bar.xml if you didn't make changes to it.

To write just white, declare as [MENTION=1901967]androi[/MENTION]d:color/white
[Galaxy S II General] bombaybadboy:
White is #FFFFFF and there is a lot of online tools to find these colour. Just a google search will find many. Lidroid toggles are pngs so the easyest way is to pull with 7zip edit and put back

Meeped im slow in the mornings :)
[Galaxy S II General] Goldie:
I thought it was surely not that as its as simple as just using the rubber to rub out the image! :p
[Galaxy S II General] mr_zuff:
I was talink about the top-right clock :)

Now I hink I'll start to work with paint.net and edit the png's files...but, there's a strange thing: the png's icons are blue, but when I use them on my phone are green.. do you know why? :)

Don't worry mate, help is always accepted :)

Anyway, I tried with #FFFFFFFF, maybe that's why it didn't work...
[Galaxy S II General] engloa:
Maybe you need to edit the pngs if they turn out green on your phone.

Edited my post, anyway try #ffffffff for white.
[Galaxy S II General] bombaybadboy:
Clock in top right is policy clock line in systemUI.apk/res/layout/tw_status_bar.xml just change color code on that line
[Galaxy S II General] HighlanderZA:
WOW talk about meeped. :eek::D

Morning All.

See my post on OT thread for reason - lucky I checked before hitting 'submit'. :eek:

Nice look [MENTION=4762302]mr_zuff[/MENTION] - bingobingobingo has some very nice icons and colors on his thread - http://xdaforums.com/showthread.php?t=2127157

I remember a set of 23 white ones somewhere in there.

2 quick hex color finds: http://www.w3schools.com/tags/ref_colorpicker.asp and http://hexcolortool.com/

A thought - white or #ffffffff is very stark - maybe try toning it down a little by using #ffe6e6e6 or something around there - sometimes off-white looks better. Just my 2 cents worth. :cool:
[Galaxy S II General] bombaybadboy:
Also when you dont have access to the pc to check colors you can play around testing with a handy app

https://play.google.com/store/apps/details?id=es.smvarela.htmlcolors

Good for trying to see what colors on text and backgrounds would look like on your device
[Galaxy S II General] mr_zuff:
Thanks [MENTION=3973489]engloa[/MENTION] [MENTION=224389]BBB[/MENTION] [MENTION=4895126]HighlanderZA[/MENTION] for your help! :)

I managed to get the white clock, finally ;) (I was editing the wrong line :good:)

anyway, here's another problem, I hope the last.

I edited with Paint.net (preferred to gimp because it's easier/faster) all the png's that I want in white(from blue to white), but they still remain in green when I flash!

Do you guys know where have I to edit to change the color of the toggles? :)
[Galaxy S II General] bombaybadboy:
Pull the whole drawable hdpi folder out of lidroid-res with 7zip then edit the pngs then drag and drop back in with 7zip
[Galaxy S II General] mr_zuff:
That's why it didn't work!

I edited the png inside SystemUI, because I'm a noob, noob, and a bit decontrated :D
[Galaxy S II General] bombaybadboy:
Well I take it that your editing a 23 toggle mod so lidroid-res replaces those toggles in systemUI.apk
[Galaxy S II General] Namoi:
Hmm, I have a nice psd with all the Lidorid Toggles redesigned and ready to be tinted and automatically created with corresponding names (thanks to slice layers).

Do you want a white set (will be kind of AOSP style Though, as in my previous SS) ?

EDIT : Well I missed the last page before answering. I think you have your icons but fell free to ask anyway.
[Galaxy S II General] mr_zuff:
Don't worry, I edited my png's :D

Thanks anyway for help :)

--------------------------

Now, after a while I would like to show you my homework :D

I took "xxx_23toggles_bs" from Engola ( I asked him permission :D) and edited SystemUI and Lidroid-res, so a big part of the credits have to go to him :)

Here's what this look like:

I tried to modify even the Bs in white, but with no luck :(

I know it's not too much, but I had fun working on this... and even a bit angry!! :P

Obviusly if you guys want, I can share my work with you! Just let me know ;)
[Galaxy S II General] HighlanderZA:
[MENTION=3973489]engloa[/MENTION] - gave me the BS stuff a few pages back - http://xdaforums.com/showpost.php?p=42965709&postcount=580

And the DOT is in FW in drawable-hdpi along with it's buddies.
[Galaxy S II General] bombaybadboy:
Nice work m8, now you can have your device just how you want it ;)
[Galaxy S II General] Namoi:
Here you go mate.

There are 2 layer comps defined to quickly hide/show the icons background.

Layer Slices are named so when "saving for web" and choosing all user slices it will create all the toggles in one shot.

If you want to quickly change the color of the toggles, do as i did for the devices options icons : one layer with a mask and effect applied. The toggles are indeed in separate layer in this psd as it is easier to mod.

Also, the icons have full opacity, the transparency is driven by the group.

Enjoy
[Galaxy S II General] HighlanderZA:
You, sir are a .................... (words fail me bud). Thank You very much indeed. This is amazing!

Now I'm going to have to jack up my photoshop skills a lot - as this just edged me outside my comfort zone.:eek::D
[Galaxy S II General] Namoi:
Took me little time as i really redone them all using Andoid vector shapes : I wanted them with full opacity and no effects which is diificult to find on themed Rom (they always come with some transparency and slight effects). Now it is totally controlable.

BTW : totally worth it Photoshop, mostly for that kind of tedious work as you can automate a lot of things.

Feel free to ask if you feel a little at a lost with it.

EDIT : D**mn XDA, can't thanks anymore. Will have to use Tapatalk.

BBB, feel free to attach this in OP if you want. Glad it can help and better to share that kept it on my HDD.
[Galaxy S II General] HighlanderZA:
Thanks bud - old creaky doors in memory are starting to re-open - and of course Google helps a lot. Will yell if I get lost!

Yes PS is the one - if you can afford it!:eek::D;)

On Thanks - :(:mad::(:mad: 3 threads on PC and phone all at same time - :eek::silly:
[Galaxy S II General] mr_zuff:
thanks for givin me link and help, but I failed :(

I edited seeker's png in /framework-res/drawables-hdpi, I changed the color to #ffffffff in /twframework-res/drawales/tw_progress, then recompiled.

But even i setted all in white (an hard work with faded buttons), the brightness slider remains blue..

Do you have other suggestion/tutorial for me?? :angel:

It's not bad with blueBs, but I think white will suite better :)
[Galaxy S II General] Christian Nothing:
Hi guys :cowboy:

Can someone mod the NeatRom's settings to be tabbed ?

Just like this

http://xdaforums.com/showthread.php?t=2273807

There you'll find how to do this ;)

Thank you :good:
[Galaxy S II General] Namoi:
I think you have also to modify tw_progress_primary_holo_dark.9 located in Framework-res/Res/drawable-hdpi.

But Warning it is a 9.Png.

Just a quick search pointed me to this, I didn't tried it though.
[Galaxy S II General] HighlanderZA:
There is a png - ahhh thats the problem - it's a 9 patch png.

look in attached zip - it's the tw_progress pngs.

Just dump them in the right place and try it.

The dot is one of those in there as well.

Sorry to rush - gotta shoot out for a bit!

Will check back later.
[Galaxy S II General] bombaybadboy:
I will have to convert it first because not everyone has PS, and dont want to make a how to convert guide :) thankyou tho :)
[Galaxy S II General] mr_zuff:
Thanks guys for help!

Now I have a Bs like this:

Final step now is understand how to reduce the Dpi of the bar (thinner is nicer :D )

Any tip about it?

It's the last thing for today, I promise! :)
[Galaxy S II General] Namoi:
In the xml, you have a radius you can change (on JB reloaded it is android:radius="4.659973dip" ) and it is almost as fine as the underline.
[Galaxy S II General] mr_zuff:
mmm in tw_progress.xml? are you sure that the radius is that value?

I have the same value and I have left it stock!! :eek:
[Galaxy S II General] Namoi:
I had a closer look at mine : it is indeed the same as stock. Your SS is so big on my PC that i thought mine was smaller :p.

But concerning your question, if you changed the color of the slider trough that xml, i am sure that the size of it is driven by that radius.

Why not to try 2.0dip and report ?
[Galaxy S II General] mr_zuff:
Just tried at 2.1 dip and nothing changed...

I think it's rlated to the color I set in that xml too. I set #ffffffff to all of them... maybe it's because of this!

I just wonder wich are the right values...
[Galaxy S II General] engloa:
Wow, so big! Did you try reducing the size of the .9 png?
[Galaxy S II General] mr_zuff:
You mean less pixels? Now it's 2x7 pixel.. should I resize this like 2x4?

Or in another way? it's the first time I work with a 9.png (and in generally with png's :) )
[Galaxy S II General] Namoi:
Which xml did you modify to change the color of the slider ?

Cause i had a look at th tw_progress.xml and altough mine is blue, in the xml the value are green ! so this xml doesn't seem to control that slider or as i tried to join that party in midshow i totally missed the main point.
[Galaxy S II General] mr_zuff:
I modified tw_progress.xml with #ffffff to all 3 of them.. but now I'm less sure it worked properly!! :S
[Galaxy S II General] engloa:
That particular slider will be controlled by framework/res/drawable/tw_progress_horizontal_holo unless mr_zuff changed it.
[Galaxy S II General] HighlanderZA:
Engloa is right. Slider is made of the 9 patch png. Dunno why so big. Will look when back at PC.

Sent from 'The Highlands'
[Galaxy S II General] Namoi:
Exact.

And the PNGs seem to be :

tw_progress_bg_holo_dark.9.png

tw_progress_bg_holo_light.9.png

tw_progress_primary_holo_dark.9.png

tw_progress_primary_holo_light.9.png

tw_progress_primary_holo_red.9.png

tw_progress_secondary_holo_dark.9.png

tw_progress_secondary_holo_light.9.png

in drawable-hdpi.
[Galaxy S II General] HighlanderZA:
Those are them alright. Dunno why yours is so big. Internet poked at moment. Rebooting everything and will look.

Edit: ok - internet back - your slider should look like below (or sort of) if all you change is the pngs.

Sent from 'The Highlands'
[Galaxy S II General] mr_zuff:
Thank you guys for your help!

Anyway, now I have to stop working on this, my girl is arrived so... :cool:

See you later!! :D
[Galaxy S II General] Vivek_Neel:
Ha ha .xD

My girl is arrived..?:confused:

You mean your daughter?..
[Galaxy S II General] mr_zuff:
ahah no, I think I'm still too young to have a daughter! :D

my girlfriend arrived mate ;)

Edit: [MENTION=4895126]HighlanderZA[/MENTION] thanks for clarifying me this point :) when free again I will restore original tw_progress.xml and leave changes to the png's :)

Quest: can I just C&P your png's and then they will look like your screenshot? or have I to edit them before? :)