yashsingh1/xdaforums huggingface dataset:
[Android Themes] dully79:
"Thanks for nothing", i tried helping you you jumped up pleb. And thanks for proving what myself and most others probably thought, which is likely the reason no one wanted to help you.

Like a lot of other users on XDA these days, your posts stink of ungratefulness, and an unwillingness to solve problems. You use the place like a one stop shop. You remind me of a crying baby wanting attention and their dummy with no toys left in the pram.

Jog on and infect someone else's thread.

Have a nice day. :)
[Android Themes] lwg45714:
Very good write up and very easy to understand! Thanks for taking the time to help out the community! The ONE thing that I did notice is in the OP the "Setting up" section provides a link to ApkManager/Multitool <This is not two different programs to download for anyone that wasn't sure. Just thought I should point this out because it may confuse people that are new to this program. They are now both combined in a program called apk multi-tool. You also need to MAKE SURE you are running the latest version because the older versions are only compatible with java 6. I believe the version you want for java 7 is APK MULTI-TOOL v.1.0.11. Again thanks for your work, and COME ON PEOPLE!!! If you use this guide, take the extra 2 seconds to hit the thanks button or better yet, get this man some coffee!!!! Folks like the OP use their time to make life easier for you, its the LEAST you could do!! Sorry for the rant, I just hate when I see people that seem to think they are owed something and developers are here at their disposal.
[Android Themes] dully79:
Thanks for your rant, have you hit the button?! ;)

They are different tools but apkmanager is no longer supported. Apk multi carries on where it left off.

Anyway this thread is pretty much redundant as HKTheme is superior to XTheme as you doing need to port themes.
[Android Themes] lwg45714:
I keep running into issues while decompiling my .apk. The sample one worked fine but mine will not however. Here is my log, any suggestions?
[Android Themes] ANKIT RAWAT:
Can i use this method to port cm11 themes to xtheme??

Regards :)
[Android Themes] dully79:
You could use the method as a rough guide. I haven't looked into cm11 theme apks so I can't say for sure.

You will be able to port most in the res folder.

I'll have a look into it. Any special requests for me to look at? As long as it's free.;)
[Android Themes] ANKIT RAWAT:
Nice Guide :)
[Android Themes] dully79:
Added a link in the "intro" in post #1 for porting CM11 themes.:good:
[Android Themes] Yousef Algadri:
Did someone already tested to port Android L Theme to XTheme Theme or already port it?

Please can you give me the link you've ported Android L Theme CM11 to XTheme? [emoji20]
[Android Themes] RealWelder:
He did too, same sh*t different thread. Some people...
[Android Themes] harisaduelite:
M sorry I won't do such mistake again :(

N thanks I successfully ported a theme just 1 question can we port cm10.1 theme as well
[Android Themes] Rycon33:
hehehe:D, mate, that's the point of XTheme Engine, to port current CM themes:p

but as a courtesy to the original creator of the theme, asked permission first(via PM or email, etc), and it's only for free themes(PAID themes are totally out of question, we don't want to spoil their welfare)

ps: it's also mentioned in OP

EDIT: but of course if it's only for personal use, you can do whatever you want :D:p
[Android Themes] harisaduelite:
Yup thanks for sooo much help I ported a cm10.1 theme n loving it very much

---------- Post added at 06:56 PM ---------- Previous post was at 06:53 PM ----------

1 question though wen I port some themes they come out very well n match d system very well BT few themes don't change much of d system y is DAT so n wat steps to be taken to match max %????
[Android Themes] dully79:
Glad you figured it out.

Its easier and less spam to hit the thanks instead of posting it.

Seriously? read post 2 or the XTheme thread.

I even quoted ruqqq twice just to get the point across
[Android Themes] harisaduelite:
I ported d HTC one theme n its just beautiful I have a very important question if m porting a theme n suppose I want to add some mods for suppose titanium backup which are not present in d theme wat valves I have to change except redirection. Xml wer to add d pngs n wat code to change????
[Android Themes] dully79:
Can I ask if you've read the op?
[Android Themes] harisaduelite:
Pls redirect me if m bothering u too much
[Android Themes] Rycon33:
The easiest way is to open another theme wherein that app is themed and copy the redirections inside the xml file. But then you have to create your new images for that to match the current theme you are working on. I'm presuming you have photo-editing skill so go for it and later share the end result if you feel like.:D

Tapatalked from my Nook
[Android Themes] harisaduelite:
Thanks bro u really understand okk 1 more thing I have to add pngs for extra apps n wer to change d code???? XML????
[Android Themes] Rycon33:
dully, guys, in our xperia dialpad, what's the image name of the rectangular green background of call button? coz i want to fill it with other color to match certain theme, TIA
[Android Themes] anmol7ify:
I Replace the res folder..change the package...but every time i try to compile the APK i get this error on apktool CMD.exe

"An Error Occurred ,Please check the log <option 21>"

wht should i do..?
[Android Themes] dully79:
The reason i asked if you read the OP is because there is a section that is named "Redirections".

3 images in:

Phonebook.apk\res\drawable-sw360dp-hdpi\

Check the log for errors like it tells you to.
[Android Themes] pierx:
Hey Dully, do we have a working redirection xml's for touchwiz like this post?

https://plus.google.com/111267142279008023114/posts/GJz8mZxM3AZ

Sadly, he only share small part of framework_res.
[Android Themes] dully79:
I dont. I use a Sony and creating the redirections for that was bad enough.

Ask this dude:

https://plus.google.com/111054502443746026235/posts/5U9ovDvT65S
[Android Themes] Namoi:
You can try grab this one (hue red with tw).

Not all the redirections work (or are done), but it is a pretty good base.

http://xdaforums.com/showthread.php?p=42611049&highlight=hue+red+with+tw#post42611049

Thanks to [MENTION=4357847]mcsqwizzys98[/MENTION] for this wor.
[Android Themes] onixoni1993:
Can any one guide me in porting themes to xtheme...coz whenever i port a theme it goes well until aplying but after that it doesnt completely apply most of the parts are missing.....:(
[Android Themes] dully79:
What device are you using?

Post your apk and ill have a look.
[Android Themes] Namoi:
Probably the redirections are wrong : the drawables from the theme you want to port have no counterparts on your ROM or (which is the most probable) have DIFFERENT names.

You have to rename (in the redirection XML files) the drawables according to your ROM.
[Android Themes] Rycon33:
those who are converting themes wherein the original theme's switch buttons doesn't have the ON/OFF text

please include this in /res/xml/android.xml:

<item name="string/capital_on">@string/capital_on</item>
<item name="string/capital_off">@string/capital_off</item>

and also add this in /res/values/strings.xml:

<string name="capital_on">" "</string>
<string name="capital_off">" "</string>

the result will be like this:

And also to be compatible with Xperias, to remove the I/O text on switch buttons:

in android.xml:

<item name="string/somc_btn_on">@string/somc_btn_on</item>
<item name="string/somc_btn_off">@string/somc_btn_off</item>

in strings.xml:

<string name="somc_btn_on">" "</string>
<string name="somc_btn_off">" "</string>

thanks to [MENTION=2538774]dully79[/MENTION]
[Android Themes] onixoni1993:
Which apks should i post the systemui n frameworks???
[Android Themes] dully79:
No, your ported theme
[Android Themes] onixoni1993:
By the way i am using stock jellybean 4.2.1 and sorry to say but i have no idea about redirections.xml i think thats the problem...due to which most of the theme is not applyed....:(
[Android Themes] Namoi:
Well, why not have a look at OP first ?
[Android Themes] Rycon33:
this may not have something to do with converting themes, this one is for those who have Xperia phones, to have the system background themed by any xTheme themes, do this in your framework-res.apk(please do yourself a favor if you want a more complete look of the theme)

in your frameworks-res.apk/res/values/styles.xml:

find this style:

<style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light">

and within that style, you will see this:

<item name="windowBackground">@drawable/semc_bg_bright</item>

now, change that above line with this one:

<item name="windowBackground">@drawable/screen_background_selector_light</item>

also, find this style:

<style name="Theme.DeviceDefault" parent="@style/Theme.Holo">

then change this:

<item name="windowBackground">@drawable/semc_bg</item>

with this:

<item name="windowBackground">@drawable/screen_background_selector_dark</item>

Now, it will pull the semc background images from background_holo_dark/light in res/drawable-nodpi.

If you don't know how to properly de/recompile your Sony framework-res.apk, follow this guide -> http://xdaforums.com/showpost.php?p=41373722&postcount=2

Replaced step #4 by the one I just posted above, then continue with step #5 there.

Enjoy your themed background.:) I know we've been f'd much by Sony's overlay but at least there's always a workaround.:p:D

And credits to [MENTION=3110233]peetr_[/MENTION] , I peeked into his ROM's framework-res.apk after [MENTION=4357847]mcsqwizzys98[/MENTION] told me that his background is changed by any xTheme themes.
[Android Themes] onixoni1993:
Here it is my ported theme....

http://db.tt/buWoHufe
[Android Themes] dully79:
Or just edit one of the sony themes.
[Android Themes] dully79:
Your theme doesnt possess a redirections.xml
[Android Themes] onixoni1993:
Then whats the solution??????
[Android Themes] Rycon33:
yup mate definitely, that also:)

only the one i mentioned, the background will change regardless of what semc accent themes they are currently using
[Android Themes] dully79:
Add them.

Pull some from another theme or read the OP how to add them.
[Android Themes] onixoni1993:
I am not getting the guide about redirections in the first post....its complicated...:(
[Android Themes] Namoi:
Try to formulate what you don't understand precisely. Doing so will already help to clarify it in your head.
[Android Themes] charmidz:
hi mate! I try sign one theme apk :), but i can't install it, can you tell me why?
[Android Themes] Namoi:
If you signed it the right way, the only time it happened to me was when i had removed the smalis folder by mistake.

Also check your manifest.
[Android Themes] charmidz:
I removed public.xml :)
[Android Themes] Namoi:
I will try to sign your apk tomorrow.

Now, bye bye, need to sleep ;)
[Android Themes] charmidz:
I can't install :(
[Android Themes] dully79:
Dude, your missing all redirections other than android, you need to add them or you wont see much of a change.

and youve got a stray tag element also:

<?xml version="1.0" encoding="utf-8"?>
<resource-redirections
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
[COLOR="red"]<item />[/COLOR]
<package-redirections android:name="android" android:resource="@xml/android" android:minSdkVersion="14" />
</resource-redirections>

It should look like this:

<?xml version="1.0" encoding="utf-8"?>
<theme-redirections
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
<package-redirections android:name="android" android:resource="@xml/android" android:minSdkVersion="15" />
</theme-redirections>

If your unsure, just rip open an existing theme and compare. Its the best way to self teach and understand what people are doing without the language barrier.

And full credit for trying. It's nice to see people get off their backside and try something for themselves.:good::)
[Android Themes] Rycon33:
[MENTION=5172821]charmidz[/MENTION], dully is right, you need to at least include the basic 3 things, framework, SystemUI and settings.

Tapatalked from my bricked TX
[Android Themes] charmidz:
Yep :(, I'll learn :D

here my port xtheme but icon in setting ugly, and icon battery not change, I need	everybody help me :D

need to add redirections
[Android Themes] dully79:
I've just got into bed after working nights so i cant help much now. If your still having problems in the morning ill try and help.

Best thing to do is go and steal a redirection xml from a working theme. edit it by adding in the xml names in the xml folder following the structure outlined in the op. You probably also need to add in these 2 xmls into the drawable folder for the battery to change:

stat_sys_battery.xml

stat_sys_battery_charge.xml

You can get them from one of my xposed battery mods.

Good luck and goodnight.:fingers-crossed:
[Android Themes] charmidz:
Yeah! :D, Goodnight Dully :highfive:
[Android Themes] onixoni1993:
Hey i added some redirections now but now its not recompiling.....m pissed:-#....please see it is all ok with this theme...?

---------- Post added at 09:04 AM ---------- Previous post was at 08:58 AM ----------

Here is the theme with redirections.....

http://db.tt/lmTmDaLk
[Android Themes] charmidz:
same here :(, I add some redirections by mcsqwizzys but can't compile
[Android Themes] Rycon33:
You don't just copy and paste, see if the resources are there in drawable. Normally the apk tool has log error that you can look into for those issues.

Tapatalked from my bricked TX
[Android Themes] charmidz:
Oh! So, I just choose the resources available :D

Edit: Still can't compile:rolleyes:
[Android Themes] Rycon33:
Examine the error log , it tells exactly what went wrong and you can start from there.

Tapatalked from my bricked TX
[Android Themes] charmidz:
OK rycon :D

I signed theme apk, it changed icon in setting, but button on/off and icon tick in permission( root explorer) not changed :)

now, What can I do to change it :highfive:
[Android Themes] dully79:
What are you folks using to compile/decompile?

If your using apkmanager/multitool then attach the log.txt. Not the contents!! then we can see what the error is.
[Android Themes] charmidz:
I'm using apk multitool :), I signed complete but button on off WiFi not change and ugly :(

I need add more??
[Android Themes] dully79:
I dont know without seeing your apk
[Android Themes] charmidz:
here mate :)

i hope you fix it :D
[Android Themes] dully79:
I'm not going to fix it for you because you wont learn if i do so ill tell you what is wrong and what to.

A).Your android.xml in the xml folder is only calling for semc images. The xml contains no redirections for the standard framework images, thats why the check button hasnt changed. It looks like someone has batch renamed all the standard images to have a semc prefix. Example "ic_launcher_android" is "semc_ic_launcher_android", this image doesnt exist, along with another 1000.

I will attach my android.xml from simplicity at the bottom, do this:

Using notepad++ open your android.xml and click on the beginning of the 3rd line"<item>", scroll to the bottom, hold shift and click after the end of "</item>". This will highlight all your redirections.

Click TextFX>TextFX tools> make sure there is a check next to "sort ascending"

Click TextFX>TextFX tools> sort by case sensitive.

Select all "<item name="drawable/semc_" code using the method i described above on how to highlight the "<item>"

Delete the selected "<item name="drawable/semc_" code

Open my android xml and click edit>select all> copy and paste it into your android.xml

B).Your also missing switch xml's from the "drawable" folder. Decompile my theme and use them. They are called "semc_switch_*.xml" You can also look around to try and learn what i have done. The best way to learn is trial and error.
[Android Themes] charmidz:
Awesome! I changed it =>> SEMC :D :p, and it was wrong

I'll edit it to proficiency

thanks you :D, if I have problems, I will ask you :D
[Android Themes] onixoni1993:
Can anyone redirect me to a thread where i can request for porting a theme because i am not able to give time for my modding....?
[Android Themes] Namoi:
Try there http://xdaforums.com/showthread.php?t=2251952
[Android Themes] charmidz:
awesome [MENTION=2538774]dully79[/MENTION] :D

but icon tick permission root explorer still not change :) :D

Edit: and something is wrong here :confused:
[Android Themes] charmidz:
[MENTION=2538774]dully79[/MENTION]: Can you tell me where it's wrong :(
[Android Themes] pierx:
[MENTION=5172821]charmidz[/MENTION]

- previous post > the switch looks like a .9 png error, you might need to modify it manually.

- Just check all the btn_check_... pngs you might need to redirect more.
[Android Themes] charmidz:
oh mate! it's hard, I have compared it with simplex theme, and I still do not know how to fix it

:(
[Android Themes] charmidz:
[MENTION=4357847]mcsqwizzys98[/MENTION] [MENTION=2538774]dully79[/MENTION] [MENTION=4023029]Rycon33[/MENTION] [MENTION=364909]MrDSL[/MENTION]	anyoneeeeeeeeeee

please help me fix it, what's wrong and need more redirection? :crying:
[Android Themes] 2Potato:
Awesome guide it will help many people!!!
[Android Themes] dully79:
Send your apk

Thanks, glad you like it
[Android Themes] charmidz:
here you are :)

https://docs.google.com/file/d/0B9jH1xgRDt1-eEszMzBOc3ZvVDQ/edit?usp=sharing
[Android Themes] charmidz:
some themes, I don't see redirection.xml :eek:

I creat new redirection.xml and can't compile it :silly:
[Android Themes] dully79:
I'm busy at the minute, if anyone hasnt helped later and i get time ill help.
[Android Themes] charmidz:
OK bro :)
[Android Themes] charmidz:
OMG! I took the file semc_ and redirections "tw" & "semc" of cobalt theme by [MENTION=4357847]mcsqwizzys98[/MENTION], it work fine :D

Thanks [MENTION=2538774]dully79[/MENTION] [MENTION=4357847]mcsqwizzys98[/MENTION] [MENTION=4023029]Rycon33[/MENTION] helped me a lot :D

this is my first theme completed :D :D
[Android Themes] Rycon33:
[MENTION=5172821]charmidz[/MENTION] , you can remove the I/O text over the switch buttons also, follow the one I mentioned in page 4.

Tapatalked from my bricked TX
[Android Themes] charmidz:
Rycon, I added it but encountered errors :rolleyes:
[Android Themes] Rycon33:
edit this code in strings.xml

<string name="somc_btn_on">" "</string>
<string name="somc_btn_off">" "</string>

play around with the " ", sample is one space only, try add another 1 or two spaces(withing that quote sign) and see the result again
[Android Themes] dully79:
Glad you sorted it mate. I bet you feel like a dog with 2 Richards (**** is short for Richard!)

What do you think then, harder or easier than you thought?
[Android Themes] charmidz:
dully, I feel great :p :D :D
[Android Themes] dully79:
nevermind
[Android Themes] GeekOrNoob:
Nice Guide

Thanks!
[Android Themes] Drockk_Xm:
[MENTION=4023029]Rycon33[/MENTION]

can u share your frameworks-res.apk ?
[Android Themes] Rycon33:
Good that finally someone is asking:D:D:D

To all my fellow TX users, on .67 firmware, I'm sharing this folder, it contains the modded framework, and the revert-back in case you don't want the modded one already. To be more cautious, do a nandroid backup.:p

You'll be more satisfied with the theme, with the modded framework, I assure you.
[Android Themes] Drockk_Xm:
Working on TX .411 thank you :D
[Android Themes] Ohh_Trenton:
AMEN!
[Android Themes] shenlone:
will this method work for non-Xperia phones? i have a micromax
[Android Themes] Rycon33:
It is meant to work on ANY rooted stock ROM. Some phones just needs additional redirections, if they don't use the standard naming of framework images. But even you don't add the specific phone's redirections, you may still get some images themed.

ps, and all info are already mentioned in OP, you just need to follow it carefully
[Android Themes] shenlone:
thanx brother. will try n feedback
[Android Themes] charmidz:
[MENTION=2538774]dully79[/MENTION] [MENTION=4023029]Rycon33[/MENTION] : dude, I don't know why my button switch of/off wifi like screenshot

can you help me ;)
[Android Themes] Rycon33:
^^Could be you forgot to include semc_switch_inner and semc_switch_track xmls

Tapatalked from my bricked TX
[Android Themes] charmidz:
haha :D

I forgot :D, Thanks Rycon :D
[Android Themes] Rycon33:
oops: I should have probably posted it to peetr_ 's thread
[Android Themes] qu3becker:
Hi there!

I tried to port a CM 10.1 theme over the xtheme engine but nothing changed when I applied it on my Nexus 4. These themes are made for AOSP framework so I don't understand why nothing changed. I followed this guide. I don't mind putting redirection for xperia and touchwiz (would be nice since I own a S II too). I can send it by PM if you could show me what I did wrong and what I need to fix it.

Thanks :good:

P.S.: Sorry for cluttering the xperia theme thread. :angel:
[Android Themes] dully79:
No problem mate, everybody seems to post in there, the thread only contains about 20 themes but has over 100 pages.:eek:

Post your apk and we can have a look.
[Android Themes] a.t.buro:
thank you
[Android Themes] :
Can someone port purple kush theme
[Android Themes] Justie:
Framework for Xtheme

Hi!

I am on .67 firmware deodexed, why does my tx go to bootloop when I change the original framework with yours? I did wipe cache and dalvik. Is it for odex only?
[Android Themes] Rycon33:
It's de-odexed.

Not sure why your phone got into bootloop, but just revert back to your original framework.

Tapatalked from my bricked TX
[Android Themes] vizhigal:
Thanks
[Android Themes] pierx:
Touchwiz xtheme redirection

For those who want to port themes and would like add support for touchwiz, here is the xml's.

https://www.dropbox.com/s/ea69n9nauu1hfob/android_xtheme.xml

https://www.dropbox.com/s/5yfrcxrc8kmepk0/com_android_systemui_xtheme.xml

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

[MENTION=2538774]dully79[/MENTION]

Why don't you ask mod to move this thread to android themes sub forum?
[Android Themes] dully79:
Thanks mate.

I was thinking about it, but there are no themes or apps, just a general guide.

If a mod looks in and thinks it's better suited elsewhere then do be it.
[Android Themes] pierx:
There is also a lot of general guide in that sub forum.

Did you pm them? I'm sure this belong to android themes. ;)
[Android Themes] kalambik89:
Nice guide. Sanks.
[Android Themes] rebj2007:
I got error on applying the theme.

Heres my apk please help me. Thanks. :)

https://app.box.com/s/e0iwtmd4ztoynqmzesym

SENT FROM MY RAGING NEXUS⁴ ?