yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] josephnero:
Do it bro

Sent from my T-Rex
[Sony Xperia T, TL, TX, V] dully79:
Anyone want some chrome style framework png's?

I started creating a theme but cant be bothered to continue it. There's a 115 png's in various states all correctly named. Pngs include:

btn_check

btn_circle

btn_code

btn_radio

fastscroll

scrubber_control

semc_

Preview.

The zip is just a zip containing them.

http://www.mediafire.com/file/jl5eawxq8p9z5iv/blue_chrome_framework_btns.zip
[Sony Xperia T, TL, TX, V] dully79:
framework-res.apk semc images

If you use the xml's in your theme please give credits or link back to this post. Thank you.

!!Do not attempt the following unless you can solve your own problems. I don't have time to spoon feed!!

Created with Jelly Bean framework from Xperiment 2.5, thanks TiMiN8R.

V1.1

Ive created a redirection xml file to control semc images in framework-res.apk using the XThemeEngine. I've split the xml in to 2 sections.

Top- semc redirected. Redirects semc images to framework-res images.

Bottom- semc original. Original images with no redirection.

Top section-

Simply open up your android xml and copy in the redirected section (framework_res) of code.

Note: If your theme doesn't use a image in the code then delete that line of code, example-

If you dont use "semc_btn_check_off_holo.png", use notepadd++ and search for the line containing "semc_btn_check_off_holo"

This will highlight

<item name="drawable/semc_btn_check_off_holo">@drawable/framework_res_btn_check_off_holo</item>

delete it and save.

So what does this all mean?? You DO NOT have to theme the semc_images that have been redirected, thats 350 png's!!! which saves time and effort and keeps the theme more streamlined and consistent.

Bottom section-

The bottom part of the xml is optional if you want to add in the extra images that are NOT redirected. The drawables are attached in a folder inside the zip for easier use.

As above add the bottom section (semc) of code to the android.xml and add the images to the drawable-*dpi folder.

Note: The code used redirects to "framework_res_***".

If your using a different redirection name then adjust your images or the code in the xml.

Download link:

Changelog:

10/05/13

Redirected an extra 118 framework-res.apk/semc_***.png's to existing framework images.

The remaining 57 images dont really have any look-a-likes so i've let them be.
[Sony Xperia T, TL, TX, V] dully79:
XThemeEngine Redirections

If you use the xml's in your theme please give credits or link back to this post. Thank you.

Redirections for SemcGenericUxpRes.apk

I've redirected 30 images to existing framework images including

"semc_bg_bright_tile" to "framework-res/res/drawable-nodpi/background_holo_light"

"semc_bg_tile" to "framework-res/res/drawable-nodpi/background_holo_dark"

The zip contains an xml that is ready to drop in, and a folder that contains images that need to be added to the drawable folder.

Note: The code used in "semc_framework_exist.xml" redirects to "framework_res_".

If your using a different redirection name then adjust your images or the code in the xml.

http://tinyurl.com/dxjkdka

Thanks to TiMiN8R as i created these using his Xperiment ROM.:)
[Sony Xperia T, TL, TX, V] Rycon33:
Thanks a lot dully:) This saves us a lot of time.

Btw, is it possible to redirect the icon images to the Settings menu? I've noticed on several themes already that only the setting icon launcher is changed(mipmap). Is it because Sony's own theme(with its color overlay) is conflicting with the XThemeEngine?

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Sorry mate i'm not understanding. Could you expand slightly please?

Im having one of those days, im not feeling very well.:(
[Sony Xperia T, TL, TX, V] TiMiN8R:
Nice going. I really have to get into the Xtheme game.

Btw, I'm using your chrome style framework png's and would like to include them in XperimenT 2.6 if that's alright with you.
[Sony Xperia T, TL, TX, V] dully79:
Yes mate your more than welcome to.:good:

I was thinking of making some new chrome toggles with blue accents when active like the buttons.
[Sony Xperia T, TL, TX, V] Rycon33:
Ok np, here it is, when we go to system settings there are icons there for call, sound, display, WiFi, etc. I noticed it's not changed even if I redirect those icon names to correct image name in drawable.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Ok im with you now.

Have you disabled Sony theme picker?

As Sony has done such a wonderful job of making the UI a complete mess and adding in countless useless apps they could have buried them anywhere.

I haven't looked at settings.apk so i cant comment. The first thing i would do to investigate, is flash different icons in settings.apk and see if they change. If they do then you know you've got the right images and you have a problem with redirection, if they dont then keep looking, but i dont think theyll be anywhere other than settings.apk
[Sony Xperia T, TL, TX, V] Rycon33:
Dully, apologies for overlooking this, but how to disable the Sony theme picker. I mean the name of the apk so I can delete it from system. Or do you mean I'll just remove those blacktheme, orangetheme. Etc. one by one?

Then I'll try your suggestion and see how it will go.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
It should go by the name of "skin-picker.apk" or themes picker or something to that effect.
[Sony Xperia T, TL, TX, V] Rycon33:
Ok some tips to those already porting themes:

- Some naming are slightly different on some themes. So if you use dully's template redirection, make sure it's redirecting to the exact same name. I encountered on porting alloy holo theme, the framework_*** is written as frameworks_***(with "s"). So just edit dully's redirection to match the name.

- Sony's naming for data_connected_hp is data_connected_h_plus, so again just redirect to the correct name

- And of course to activate 1%-step circle battery(I always like these percent step battery icons), redirect the (xml not the images) on com_android_systemui.xml and put the battery/charge xmls in the folder "drawable"

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Here's a little tip to quickly edit the xml.

Open up the xml with NotePad ++.

Click the search tab at the top and select replace.

In the field "Find what" enter @drawable/framework_res.

In the field "Replace with" enter @drawable/frameworks_res.

Click replace all, save and close.
[Sony Xperia T, TL, TX, V] dully79:
I've started to go back over the xmls for semc images in framework and try to match them up and redirect them to the AOSP images.

There's 175 to do so it may take a little while as i'm not very well this week. It's taken me 30 minutes to do 15 images with redirections.:(

"Should have bought a Nexus 4...where's that ebay app":p

Hopefully when the framework xml is done, there will only be a handful of semc images that require adding to the drawable folder.:fingers-crossed:

Edit: I'm quitting for tonight as im pooped. I've got 55 images left to look through with redirections. So far ive managed to redirect an extra 95 semc images.:)

Ill try and finish it tomorrow.
[Sony Xperia T, TL, TX, V] Rycon33:
dully, so we dropped SemcGenericUxpRes.xml and edit the redirections.xml and include this?

<package-redirections android:name="com.sonyericsson.uxp" android:resource="@xml/SemcGenericUxpRes.xml" android:minSdkVersion="16" />
[Sony Xperia T, TL, TX, V] dully79:
Yeah, rename it com.sonyericsson.uxp, drop it in the xml folder and add to the redirection list.
[Sony Xperia T, TL, TX, V] dully79:
Posted updated version of framework-res semc redirections here:

http://xdaforums.com/showpost.php?p=41100695&postcount=67

You can find the changelog at the bottom of the post.

And let me know how it goes.:good:
[Sony Xperia T, TL, TX, V] cartmenicus:
Awesome dully tgis is a TREMENDOUS HELP :D

Sent from my LT30p
[Sony Xperia T, TL, TX, V] Rycon33:
This is really great dully, your update finally themed the volume slider(or scrubber or whatever it is called:D).

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Thanks for the feedback.:good:
[Sony Xperia T, TL, TX, V] Rycon33:
guys, I made xml's to redirect those Sony specific launcher icons to use the CM icons. that's to add a more consistent overall look of the theme(even at least on the homescreen and app drawer)

clock

camera

contacts

phone

messaging

calculator

calendar

Download here.

extract and dropped all the xml's to the "/res/xml/" folder and add those package name to the redirections.xml

for calendar, just add the below line to the existing com_android_calculator2.xml

<item name="drawable/app_icon">@drawable/com_android_calendar_ic_launcher_calendar</item>

for calculator, just add the below line to the existing com_android_calculator2.xml

<item name="drawable/icon">@drawable/com_android_calculator2_ic_launcher_calculator</item>

***

I didn't touch the 4 circle icons of Sony album-walkman-select-videos(coz I personally like it's look:p)
[Sony Xperia T, TL, TX, V] dully79:
Nice [MENTION=4099696]Rycon[/MENTION].:good:

I'm currently working long hours, but i should be able to get back and crack on at the weekend if there are any redirections anyone would like me to look at.
[Sony Xperia T, TL, TX, V] Rycon33:
Dully, can you point me into the right direction on where to look at solving this issue as shown in screenshot.

http://db.tt/LDFnjBOb

It seems the switch_bg is not long enough so it crops the button when it reached either ends. I've looked at the dimens of the theme and my SystemUI and I cannot seem to find any keyword relating to it or I may have missed it or totally don't know it:D. Or do I need to edit the .9patch of switch_bg? TIA

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
It looks like your switches need correct patching.

My guess is the bottom patch needs to come in so it's level with the image.
[Sony Xperia T, TL, TX, V] Rycon33:
guys, here's another tip on porting CM10 themes to our Sony phones via XThemeEngine

it's not perfect but it is better than before

you noticed that there's no more colorized part on the switch buttons, i edited the 8 xmls of semc_switch_***** and removed the colorization part

you can do it by yourself or you can just download mine, always add in /res/drawable/ folder of the theme

http://www.mediafire.com/?od72pexty6qq3dw

extract and drop it to /res/drawable/ folder

EDIT: I forgot to mention you also need to add those to your android.xml as well

<item name="drawable/semc_switch_inner_holo_dark">@drawable/semc_switch_inner_holo_dark</item>
<item name="drawable/semc_switch_inner_holo_light">@drawable/semc_switch_inner_holo_light</item>
<item name="drawable/semc_switch_track_holo_dark">@drawable/semc_switch_track_holo_dark</item>
<item name="drawable/semc_switch_track_holo_light">@drawable/semc_switch_track_holo_light</item>
<item name="drawable/semc_switch_bg_on_disabled_holo_dark">@drawable/semc_switch_bg_on_disabled_holo_dark</item>
<item name="drawable/semc_switch_bg_on_disabled_holo_light">@drawable/semc_switch_bg_on_disabled_holo_light</item>
<item name="drawable/semc_switch_bg_on_holo_dark">@drawable/semc_switch_bg_on_holo_dark</item>
<item name="drawable/semc_switch_bg_on_holo_light">@drawable/semc_switch_bg_on_holo_light</item>
[Sony Xperia T, TL, TX, V] dully79:
@Rycon33, cheers mate, it's nice to know i'm not the only one working on xml's.:good:

Updated the battery replacement modules and added extra:

http://xdaforums.com/showpost.php?p=41594088&postcount=90

Credits to @esk02k for his battery theme.;)

Edit: I forgot to say, if you create any battery theme modules post them and ill link to them from the above post.
[Sony Xperia T, TL, TX, V] dully79:
I'll post these bad boys up tomorrow:

UOT kitchen Rainbow-

Codec-

Feel free to request Xposed battery theme modules with a picture and link.
[Sony Xperia T, TL, TX, V] dully79:
Added the 2 i promised.

I'll add some more when i get time. Maybe at the weekend i'll try and add all of the UOT styles if i have the time.
[Sony Xperia T, TL, TX, V] josephnero:
Dully,rycon,mcsqwizzy and I should make a team or a theme together. Lol.

Great thread bro.i learned a lot of stuff from you
[Sony Xperia T, TL, TX, V] dully79:
Thanks mate, your very welcome, glad i can give something back to community. Im always around if you need anything.

Im contemplating creating a new theme...again. I keep starting them and then stopping, then starting a new theme, then stopping then...

This time i'm thinking semi transparent buttons etc. to increase compatibility with backgrounds.

Edit: added another battery theme to post 90.
[Sony Xperia T, TL, TX, V] Rycon33:
as i mentioned at XThemeEngine theme thread by [MENTION=4357847]mcsqwizzys98[/MENTION], the "activity bar" thing is resolved, thanks to dully and kroz for the tips

<item name="drawable/semc_ab_bottom_solid_dark_holo">@drawable/semc_ab_bottom_solid_dark_holo</item>
<item name="drawable/semc_ab_bottom_solid_inverse_holo">@drawable/semc_ab_bottom_solid_inverse_holo</item>
<item name="drawable/semc_ab_bottom_transparent_dark_holo">@drawable/semc_ab_bottom_transparent_dark_holo</item>
<item name="drawable/semc_ab_solid_dark_holo">@drawable/semc_ab_solid_dark_holo</item>
<item name="drawable/semc_ab_stacked_solid_dark_holo">@drawable/semc_ab_stacked_solid_dark_holo</item>
<item name="drawable/semc_ab_stacked_solid_inverse_holo">@drawable/semc_ab_stacked_solid_inverse_holo</item>
<item name="drawable/semc_ab_stacked_solid_light_holo">@drawable/semc_ab_stacked_solid_light_holo</item>
<item name="drawable/semc_ab_stacked_transparent_dark_holo">@drawable/semc_ab_stacked_transparent_dark_holo</item>
<item name="drawable/semc_ab_stacked_transparent_light_holo">@drawable/semc_ab_stacked_transparent_light_holo</item>
<item name="drawable/semc_ab_transparent_dark_holo">@drawable/semc_ab_transparent_dark_holo</item>

add those lines inside android.xml(remove others there with the same name)

then add the xml files(in /res/drawable/ folder) which are pointing to the frameworks_res_***, or framework_***, or frameworks_*** images(depending on how the themer named its images in /res/drawable-xhdpi folder)

for instance, semc_ab_stacked_transparent_dark_holo.xml file, inside it is like this:

<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/[COLOR="Red"][B]frameworks_res_ab_stacked_transparent_dark_holo[/B][/COLOR]" />
</layer-list>

though I think even either the semc_ab_stacked_transparent_dark_holo.xml or semc_ab_transparent_dark_holo.xml will do it already, but hust in case, I included all

:)
[Sony Xperia T, TL, TX, V] dully79:
So i take my redirection xml doesnt work for semc_ab_stacked_transparent_dark_holo?

I have it as

<item name="drawable/semc_ab_stacked_transparent_dark_holo">@drawable/framework_res_ab_stacked_transparent_dark_holo</item>

It should redirect to "framework-res.apk/res/drawable-*dpi/framework_res_ab_stacked_transparent_dark_holo"
[Sony Xperia T, TL, TX, V] dully79:
I take it the battery module is working as it should since there has been over 100 downloads and no bug reports?:victory:

Sweet i'll continue creating more at the weekend.
[Sony Xperia T, TL, TX, V] Rycon33:
dully i'll check again on my next port as yup there shouldn't be any reason why that one won't work, :confused:

but i just tried to point to xml and it suddenly worked, very strange

will let you know on my next port
[Sony Xperia T, TL, TX, V] dully79:
What about semc_bg_bright_tile? does that redirect?
[Sony Xperia T, TL, TX, V] Rycon33:
semc_bg_bright redirects dully as i can see it on apps with white bg, but the semc_bg(dark) doesn't, as we can see on "settings" page the bg is still default sony bg
[Sony Xperia T, TL, TX, V] dully79:
It might be worth trying to leave them as default in the redirections and adding the images into the drawable folder.

I haven't had a chance to try any themes yet.

Have you tried my battery module?

If so is it working ok?
[Sony Xperia T, TL, TX, V] Rycon33:
Will do that on my next port and see how it goes.

I haven't tried your batt mod yet. But I will soon and give you feedback.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
It's ok mate, i was just curious.

I've added another 2 from UOT kitchen.
[Sony Xperia T, TL, TX, V] Rycon33:
Ok I just DL and tried it dully, working great so far, I chose the rainbow one.:D

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] bataya:
Working gr8, tnx.

Послато са ALCATEL ONE TOUCH 992D
[Sony Xperia T, TL, TX, V] Rycon33:
Dully, may you please tell me the framework background name of that behind the "cancel" and "install"? It always never changed on all my ported themes. TIA

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] TiMiN8R:
Yeah I tried the codec one, working fine. Seems a little too small though, hard to read the numbers, and aligned top left so there's a little space to the right.
[Sony Xperia T, TL, TX, V] dully79:
Off the top off my head bottom bar, I'll have a look for you shortly

Ok, it was centered for me. I know what you mean with it being small but its constrained by the 38x38px dimensions, i didnt want to expand them in case it caused issues.

I actually have all the images 512x512px so i could easily resize them again and try out different resolutions when i get time.
[Sony Xperia T, TL, TX, V] dully79:
As you can see i've overlayed semc_bottom_bar_holo_dark on the the left of the screen shot and it matches perfectly.

Let me know if i'm wrong.:good:
[Sony Xperia T, TL, TX, V] cartmenicus:
this code works fine for me

<item name="drawable/semc_bottom_bar_holo_dark">@drawable/frameworks_res_bottom_bar</item>
[Sony Xperia T, TL, TX, V] dully79:
I finally got around to trying a theme earlier, alloy. I noticed it was missing a load of redirections including bottom bar.
[Sony Xperia T, TL, TX, V] Rycon33:
That's right dully, on my ported themes also, I forgot about including your redirections on SemcGenericUxp which includes those bars, dropdowns and more.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Bottom bar should be in "android.xml"

I noticed you havent added redirections for "ic_settings_***.png" in "com.android.settings".
[Sony Xperia T, TL, TX, V] Rycon33:
Yup, but that Holo dark bottom bar you include on non-redirected images on your template so I didn't touch it last time.

With settings.apk, I'll look at it again but I think I tried that on some themes and the icons really didn't change. And I asked ruuuq in G+ and he said he hasn't had the time yet to look into it.

Some of the dropdowns are in SemcGenericUxp.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
Any of the "semc" images that didnt match a image in framework i left to the side to be added seperately, they can still be themed and added as normal with the redirections in "android".

Settings sucks the big hairy one, i'm ready to launch my phone out the window, im sick of the white overlay.:mad:
[Sony Xperia T, TL, TX, V] Rycon33:
Yeah, it's really a turn off not having the settings icons change. I can't find anything anymore, I looked into so many files already and cannot seem to find any hint how to disable the settings overlay.:(

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
I spent about 2 hours yesterday decompiling apk's and rummaging through different directories... i couldnt find anything. I'm currently trying to create an Xposed module that replaces images directly but i'm quite useless.:(
[Sony Xperia T, TL, TX, V] Rycon33:
Hehehe , I saw your posts bugging rovo about it:D, about bg or something. Hope you get it to work eventually.

Tapatalked from my bricked TX
[Sony Xperia T, TL, TX, V] dully79:
I'm very close to achieving what i want, but i'm very close to quitting and carrying on with my theme instead.

I've just found something quite interesting regarding the overlay.

I've just looked in "framework-res.apk/res/drawable/" and opened up a couple of random semc_****.xml's and i think i've found the cause. Take this for example:

<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/semc_btn_check_on_holo_light_normal" />
<item>
<somc:colorizable android:drawable="@drawable/semc_btn_check_on_enabled_holo_light_colored" [COLOR=Red]android:color="@com.sonyericsson.uxp:color/semc_theme_accent_color"[/COLOR] xmlns:somc="com.sonymobile" />
</item>
</layer-list>

Notice the red part of the syntax? this calls "SemcGenericUxpRes.apk/res/values/colors.xml, which looks like this:

<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR=Red] <color name="semc_theme_accent_color">#ffffffff</color>[/COLOR]
<color name="semc_theme_illumination_color">#00000000</color>
<color name="semc_listview_cache_color_hint">#00000000</color>
<color name="semc_text_color_primary">#ffffffff</color>
<color name="semc_text_color_primary_inverse">#ff000000</color>
...

I'm pretty sure thats the cause of the white overlay i recieve. Now we need to figure out how to remove it.:confused:
[Sony Xperia T, TL, TX, V] dully79:
Transparent semc overlay

Success!!!!:victory:

I've removed that fugly overlay that plagues our devices.

How did i achieve it?

Instead of modifying the accents in "SemcGenericUxpRes.apk/res/values/colors.xml", i decided the easiest and best method would be to use the skin picker apks which also use the accents also. This way different firmwares don't require editing.:D

I had actually done this previously and forgot about it. :o

Instructions:

Download apk.

Copy to "system/app" (directory need to be writable).

Set permissions as "rw-r--r--" as shown in screenshot below.

Reboot and choose "Transparent Overlay".

Link:

Transparent semc overlay.apk
[Sony Xperia T, TL, TX, V] Rycon33:
Dully, your theme looks very elegant:)

when are you planning to release it?:D

btw, you can still rename the theme accent dully, that's what I did with my ported DeNitE! leather blue theme
[Sony Xperia T, TL, TX, V] dully79:
Thanks, I'm about half way through framework-res, I keep getting side tracked. It's 75% transparent so it should be compatable with most backgrounds.

I know I can rename strings but I wanted to rename the package. Not to bothered.
[Sony Xperia T, TL, TX, V] One1410:
request

Hi .

thank :o
[Sony Xperia T, TL, TX, V] cartmenicus:
look for xperia v mods by ruqq

aweseom dully that theme is going to be so helpful!! :D please dont leave the T we need you here lol

but the overlay thing wont work for me it just says cannot set this theme... my permissions are correct and i renamed it to Black Theme.apk
[Sony Xperia T, TL, TX, V] dr.ketan:
Thanks for battery tweaks

I just needed green battery circle, so i have edited your UOT custom style D replaced color and resign it. It's not my full creation and that's why not posting separately but attaching apk here with all credits to you. You can add it to your main post, and feel free if you don't want to attach edited apk here. I am contributing in Note2 and if you permit i will share edited apk there.(of course all credit to you as well link to your post)
[Sony Xperia T, TL, TX, V] dully79:
I think i'm going to take a break, my heads burned out trying to do multiple things at once.

Create xposed module to change background.

Create xposed module to change settings images.

Create a theme.

Remove accent colors.
[Sony Xperia T, TL, TX, V] dully79:
Sweet mate, ill add it to post #90.

Yeah feel free to share, thanks for asking.
[Sony Xperia T, TL, TX, V] dully79:
mrsquidgy I forgot to ask, have you got the skin picker and upholsterer installed?
[Sony Xperia T, TL, TX, V] cartmenicus:
Lol mrsquidy;) yeah I do it just says the skin can't be applied tried everything :/
[Sony Xperia T, TL, TX, V] Rycon33:
:D

dully clearly had a rough day:p
[Sony Xperia T, TL, TX, V] dully79:
I'll look into later on. I'm going to chill for a few hours and get my head straight.:silly: