[TUTORIAL] Theming [05/10/13] - Sony Xperia S, Acro S, Ion

Hi guys....
In this thread I'll try to learn you HOW TO MOD framework, settings (backgrounds, icons, colors) and how to use APKtool.
update 05/10/2013 !!!
O.K guys I found for you few excellent guides and tutorials.
Like always, post your questions here and we'll try to solve it together.
Update Zip creator/modifier
Great tool on windows to create and edit elements of updates zips
ADW Themes
If you want to create AWD themes - great tutorial...
I've got many PM from guys who want to theme their apps but dont't know where to look and what to modified so....read this.
this is a excellent way to find out where to look and what to edit.
Wanna learn more about XML files?
Well , here we go...
What is an XML?
Wikipedia link to learn and understand general things and facts about XML files.
you will need:
1) A computer
2) The app you want to edit
3) Latest Java Development Kit (JDK) (Download and Install with default settings Java
4) Notepad++ Notepad++
5) The Framework-res.apk and SemcGenericResUxp.apk from /system/framework
6) ZipSigner (for signe your apps) ZipSigner
So let's start...
Download APKtool from here Click me
Copy/extract APKtool to C:\Android\APK
Copy framework-res.apk and SemcGenericResUxp.apk from your system/framework folder to C:\Android\APK
and follow this tutorial to set your environment so we could proceed "Click me"
So, you set environment and we could proced ; (you'll have to do that from above only one time )
*** FIRST ONE ***
1. How to change settings background to white (or to use light theme - to be precise):
We'll start with this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And end with this:
First copy settings.apk to C:\Android\APK
open cmd prompt ("SHIFT"+right click on empty space and select open command window here
...and write this to decompile settings.apk
apktool d settings.apk
Close cmd window and open newly created folder "settings" (it's in the C:\Android\APK)
Open \settings\res\values\styles.xml (open it with Notepad++)
You'll see this :
So..we have to add ".Light" to our style.xml file(to activate/select white theme) and we MUST change color to our fonts/text
to white (I guess it would be hard to read white text on white backgroung).
We will add ".Light" in every theme style and add ff000000 to set our text to black.
For example - on the left side is black settings and on the right is what we need - compare those two styles.xml.
You'll notice that I add word ".Light" to change this part/style to use light/white theme - we'll do that for every style in this file.
And the most important is third line on selected text - #ff000000.
With "#ff000000" we are telling our device to use black colour for text.
It's not hard at all....just continue to read.
You'll get all when you compare your style.xml to this one:
Here is complete style.xml , download it and compare this one with yours.
Just open both files and add ".Light" and "#ff000000" to every stile you see I've change.
https://app.box.com/s/ezd4k68li6g6f1mqp8u2
After you change all style in style.xml it's time for recompiling.
Again, open cmd prompt ("SHIFT"+right click) and write :
apktool b settings (without ".apk")
If you did all like you should you won't get any error.
Now open c:\Android\APK\dist
and you'll see settings.apk.
Copy it to your device
Wait......
It's not finished
As settings.apk is system app we have to sign it.
Open ZipSigner on your device and :
1.click "Choose In/Out...." - find and select your settings.apk (the one you just copied)
2.click "Key/mode": select "platform"
3.click "Sign The File"
........wait......
...and that's it, now just find your newly MODed and signed file and simple install it like any other app.
Next tutorial : how to change solid background colour to show your picture (any picture) in "calls" "email" "settings" clock" - MOD framework-res.apk....
Something like this:
Or even this...hahaha
update 05/10/2013 !!!
edit .9.png file correctly!
Remember, decompile apk and then edit .9.png files!
If you open the .9.png in the decompiled app and edit it with "Gimp" or "Photoshop" while leaving the pre-drawn boarder there, you'll be able to recompile the apk with a properly edited and themed .9png
How to edit smali files!
This is for advanced users or developers.
I'm still learning and trying to understand smali files so I won't trying to get smart ...
I'll share one great thread (TUTORIAL) and we could learn together.
tnx to @Yorzua for this awesome tutorial.
...and do awesome things like this :
SMALI editing TUTORIAL
Another nice tutorial for smali editing (beginners friendly)
SMALI editing TUTORIAL for beginners
I put this to the end of this thread purposely - editing or even understanding smali files isn't simple.
So go one step by step, don't try to edit smali files immediately after you learned how to decompile apk file - you'll failed and probably quit from any other MODing, theming or editing.
All great developers spent hours and hours to learn all this so you can't expect you'll know everything after 15min.
You'll get errors while compiling and decompiling and that"s perfectly normal, don't get angry...
Read what apktool "said" , fix your mistakes and move on.
It's very important to go step by step , especially when you trying to find bug.
Fix or edit line by line and compile after each part, compile and test app.
That's all for now guys...
see ya later
..............................................................
Tnx to: @niaboc79 (for tips and learning me some tricks) @abo hani (I used his settings.apk for screenshots) @Xda For many stuff
If I helped you - say tnx ...:thumbup:
if you need help...well just ask here

nice funky

GoodJob Funky

Tnx guys
Thanks guys...
It's not much and I hope you could understand what I wrote.
I just wanna give back something to this great community which gave me so much

Really nice tut

Just, please, guys when someone finish editing - let me know is it o.k, should I add something or you completed all without any problems
Tnx
Sent from my LT26i using Tapatalk 4

thanks very much for this easy tutorial, and yeah, it was way easier than others that i saw in some threads....
im bookmarking ur thread for now, and sure one day i'll be back and start up with practice
i love to mess around with the phone as i learned few things until i reach the level of an DEV (why not )
:good:

Tonight I'll post a tutorial for framework editing.
[HOW TO] change all backgrounds to your favourite picture.
In settings, email, clock, call....
Your background will stay there which ever settings or clock you using, you can change your settings.apk but your background will stay...
(as long as you don't change framework).
See ya tonight
Sent from my LT26i using Tapatalk 4

Actually.. Mate, when r u releasing ur work?? I'm looking for a bug free build of Honami settings.. Tried all of em in Themes secion.. Apparently they all have the stuttering when sliding for the fist time(just like in .200 and .211 builds).. Do urs too have it??

Hmm....mine work?
My work, for now , is helping guys in their ROMs.
I don't know that much to BUILD ROM from the sources.
So the question is do we really need one more rom based on stock 96?
I think we don't.
When I learn all stuff I need (and there's plenty stuff to learn - smali for example) I will build something.
But that won't be (most likely) for XS but for Z1.
Swipe settings, modified Home launcher will have all options like we saw in 2.0.5b.
Modified framework and many stuff more.
That's why I prepare everything.
I just don't wanna release clone of a clone...
If I can't make something really different I'll rather skip it for now.
Sent from my LT26i using Tapatalk 4

@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^

slink722 said:
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
Click to expand...
Click to collapse
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4

funky0308 said:
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!

slink722 said:
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
Click to expand...
Click to collapse
There is no my new ROM guys...
If you heard somewhere something you could only heard that I helped some guys.
There was some plans but as I said - nothing for now.
No sense to release same ROM or copy of the copy...
If I succeed on some things I'm working on - then I'll release something but only if I succeed.
Sent from my LT26i using Tapatalk 4

@funky0308 Im Studying Java and Smali.. I Know maybe 6% Already.. Buy suggestion on your case, if you want to port or to be themer. use Virotus Ten studio. It Can Generate the smali to java class. but you need to edit it on smali.

Tnx mate, very nice
Sent from my LT26i using Tapatalk 4

funky0308 said:
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
Mate? Im Getting Dizzyy. could you help me Changing it to white? my Settings// Im getting Crazy with my developments. Kernels + ROM.. Could you help me on my white? Setting
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
Nvm.. Im Done.

How you change wifi and bluetooth on off switch????
Which file i need to edit to remove on and off in round switch
Sent from my ST21i2 using xda premium

I want to edit on off switch like you
Help me
AND also how to choose different backround color for on off switch
Sent from my ST21i2 using xda premium

Hello sir plz help me to port ios like on/off switch
I ported by editing framework-res.apk
And i have a problem
1.how to remove on off in round switch
2.how to change backround colour
To red
And how to resize it to correct round shape and small one
Sent from my ST21i2 using xda premium

Related

[HOW TO/MOD] make Transparant lockscreen

hi
this tutorial will show u how to make your lock screen transparent to your ROM whatever it is..
it is easy method and I look everywhere, nobody post the method or the correct one at least
==================================
i will not go throw how to decompile and compile because there are many threads show how to do it
==================================
* decompile framework-res.apk from your ROM
* go to res/drawable-hdpi
* delete zzzzzzzz_default_lockscreenw.jpg
* place new transparent image and rename it as zzzzzzzz_default_lockscreenw.png
*go to res/layout/zzz_keyguard_screen_lockscreenwallpaper.xml
*in line 2 change
Code:
android:background="#ff000000"
to
Code:
android:background="#00000000"
*compile framework-res.apk again and don't forget to delete the necessary files and folders from KEEP
*move to ur device to system/framework
*reboot, ur done
this is how it should be look like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I attached a transparent image in the attachment if someone doesn't know how to make one by Photoshop
juf,,
another how to .. soon
Thanx for the howto !
Brotuck said:
Thanx for the howto !
Click to expand...
Click to collapse
u r welcome mate
Thanks, looks cool and I may pluck up my courage to try over the weekend.
I have been wondering why the phone doesn't support transparent/translucent lockscreens. It'll be nice if there's an app that can somehow or other do that without having newbies (and scaredies) to decompile and compile the .apk!
juffo said:
hi
this tutorial will show u how to make your lock screen transparent to your ROM whatever it is..
it is easy method and I look everywhere, nobody post the method or the correct one at least
==================================
i will not go throw how to decompile and compile because there are many threads show how to do it
==================================
* decompile framework-res.apk from your ROM
* go to res/drawable-hdpi
* delete zzzzzzzz_default_lockscreenw.jpg
* place new transparent image and rename it as zzzzzzzz_default_lockscreenw.png
*go to res/layout/zzz_keyguard_screen_lockscreenwallpaper.xml
*in line 2 change
Code:
android:background="#ff000000"
to
Code:
android:background="#00000000"
*compile framework-res.apk again and don't forget to delete the necessary files and folders from KEEP
*move to ur device to system/framework
*reboot, ur done
this is how it should be look like
I attached a transparent image in the attachment if someone doesn't know how to make one by Photoshop
juf,,
Click to expand...
Click to collapse
Sweet thanks for this. Where is the attachment? That would be a big help if we had a transparent image to us.
Thanks
Sent from my SGH-I777 using xda premium
jgrimberg1979 said:
Sweet thanks for this. Where is the attachment? That would be a big help if we had a transparent image to us.
Thanks
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
it is there in the attachment square ,, but bqz it is transparent
juffo said:
it is there in the attachment square ,, but bqz it is transparent
Click to expand...
Click to collapse
I cannot get it to recompile correctly, i keep getting error after error. I have been trying to get it working for the last 4 hours. Is there any way you could take my framework-res.apk and apply your mod? Please
View attachment framework-res.apk
jgrimberg1979 said:
I cannot get it to recompile correctly, i keep getting error after error. I have been trying to get it working for the last 4 hours. Is there any way you could take my framework-res.apk and apply your mod? Please
View attachment 782712
Click to expand...
Click to collapse
i checked ur file
u have without any modding a problem in PNG files
i will do it but need much more time
maybe today late or tomorrow
juffo said:
i checked ur file
u have without any modding a problem in PNG files
i will do it but need much more time
maybe today late or tomorrow
Click to expand...
Click to collapse
Okay thanks. Is that why i am getting the errors? because of some of the pngs?
I really want to learn this stuff but its hards to find a good tutorial.
Anyways thanks for looking into this
jgrimberg1979 said:
Okay thanks. Is that why i am getting the errors? because of some of the pngs?
I really want to learn this stuff but its hards to find a good tutorial.
Anyways thanks for looking into this
Click to expand...
Click to collapse
simply u have to add 1 pixel all around the image, by an other word u have to know how to use Photoshop
here u r
ur file is fixed, trans.LS and ready
http://www.multiupload.com/L2LBGBUOYJ
hi . please help me .. how can i edit .xml file and open it ...
victor711 said:
hi . please help me .. how can i edit .xml file and open it ...
Click to expand...
Click to collapse
use notepad++
victor711 said:
hi . please help me .. how can i edit .xml file and open it ...
Click to expand...
Click to collapse
You gotta decompile it first or else you wont be able to read it.
OP
Can you help me make one for miui? I changed roms so I didn't get a chance to try out the apk you made for me. Now I am on miui
Sent from my SGH-I777 using xda premium
jgrimberg1979 said:
You gotta decompile it first or else you wont be able to read it.
OP
Can you help me make one for miui? I changed roms so I didn't get a chance to try out the apk you made for me. Now I am on miui
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
u had better to tell me earlier that u gonna change ur rom
I spent 2 hrs on that !!
sorry , can't help any more !
juffo said:
u had better to tell me earlier that u gonna change ur rom
I spent 2 hrs on that !!
sorry , can't help any more !
Click to expand...
Click to collapse
I am so sorry man, my bad. I tried editing myself after you said it would take a day or two and i was in a bootloop without a backup. Sorry man. I will throw a donation your way espcially if you can make one for miui.
jgrimberg1979 said:
I am so sorry man, my bad. I tried editing myself after you said it would take a day or two and i was in a bootloop without a backup. Sorry man. I will throw a donation your way espcially if you can make one for miui.
Click to expand...
Click to collapse
it is ok ,, but i cant do miui thing, bqz i dont have it and also i am not sure if its source is the same as like as sam stock ROM
sorry again
juffo said:
it is ok ,, but i cant do miui thing, bqz i dont have it and also i am not sure if its source is the same as like as sam stock ROM
sorry again
Click to expand...
Click to collapse
When i get back on a stock rom, and i try to make this mod tell me if i am correct.
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***
3. Go in to Drawable and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes or no? when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
8. Do i need to sign it?
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
If you could give me some feedback on this i might be able to get it working on my own, hopefully
jgrimberg1979 said:
When i get back on a stock rom, and i try to make this mod tell me if i am correct.
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***
3. Go in to Drawable and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes or no? when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
8. Do i need to sign it?
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
If you could give me some feedback on this i might be able to get it working on my own, hopefully
Click to expand...
Click to collapse
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***.JPG to zzzz.***png
3. Go in to LAYOUT and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
yes. delete resources.arsc,zzzz***.jpg and ****.xml
8. Do i need to sign it?
NO
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
compress to 0
so the options will be (22-Framework-res#-19-0-11)
i hope it is helpfull
juffo said:
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***.JPG to zzzz.***png
3. Go in to LAYOUT and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
yes. delete resources.arsc,zzzz***.jpg and ****.xml
8. Do i need to sign it?
NO
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
compress to 0
so the options will be (22-Framework-res#-19-0-11)
i hope it is helpfull
Click to expand...
Click to collapse
oh ****. i never changed it to png because i thought it was just going to replace the jpg in there.. So what does changing it to png do?

[Guide] Transparent background - framework-res.apk Contacts.apk [ICS-JB]

This is a simply method to set a transparent background on framework-dependent apks and Contacts.apk.
1. Using Photoshop or similar create a trasparent image (% as you wish) and save it as .png. If you insert a texture or image, use your device resolution for better results. Make two copies and rename its as "background_holo_dark.png" and "background_dial_holo_dark.png"
2. Decompile framework-res.apk. You can follow this great guide
3. Browse to res/values and open styles.xml. Search code for "<style name="Theme.Holo" parent="@style/Theme">"
4. On it, search this line "<item name="windowShowWallpaper">false</item>" (using Komodo is line 1006) and replace values with true. Save and close.
5. Browse to res/drawable-nodpi and replace existing background_holo_dark.png with your image
6. Recompile framework-res. You may refer to guide posted above
7. Using winrar or similar browse into Contacs.apk to res/drawable-nodpi and replace existing background_dial_holo_dark.png with your image (simply drag&drop, be careful to set compression to Store)
8. Replace framework-res and Contacts.apk on your device (Root explorer, adb, flash through recovery). Personally I also clear cache and dalvik cache
9. Enjoy your modded apks!
After the editing of framework-res.apk you may visit this thread to download also my transparent calendar and mms apks!
Remeber: always perform backup before replace any system file! Also, I'm no responsible for any problems that may occure on your phone
Attached you can find two transparent background 480x800
Here some screenshots (second one from esk02k)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----------------------------------------------------------------------------
P.S. Of course, this method allows you to change backgroung also with any non transparent image. You simply have to rename your two image copies as reported in point 1. Then replace the original file using winrar or similar as in point 7. You don't need to decompile framework-res.apk in this case!
Thanks but can I use 7zip
I don't like to Decompile and decompile process I think it's hard
You can use 7zip to replace image on Contacts.apk, but you need to decompile framework-res.apk to modify styles.xml.
If you follow the linked guide you will see that compile/decompile apks is not so difficult!
Sorry
What link do you mean ?
nice, thanx.
But one question, do you know how to change the color of font in contacts? ie. from black to white? like how it is in dial...
Kadhim7 said:
Sorry
What link do you mean ?
Click to expand...
Click to collapse
This one
Sorry, I've forgotten to add link on first post, fixed.
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
(using galaxy pack livewallpaper)
esk02k said:
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
Click to expand...
Click to collapse
Taken!
Hi is it possible for you to make the stock calendar background transparent??? I hate the stock look!!.
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
During last days I've replaced framework-res about one hundred of times I think, and I never lost any account. Don't know what VRT is, I usually flash new framework-res with recovery.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
Yea you can. Im using a zip I posted here. Its by Villain team and JRsoft. I haven't had any problems with it. This ones set up to replace the whole framework though so dont flash it on anything other than paranoid 1.6.
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
ruicc said:
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
Click to expand...
Click to collapse
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Many thanks, esk02k, it worked like a charm...
But, what's the difference between this one and the one i used? (F1 rom, from faryaab) Did you change anything else on this?
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
ocenis64 said:
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
Click to expand...
Click to collapse
I didn't find any "how to" about transparency on that thread...just a guy who post some pics of transparency and said it was very easy.....
So, everyone is telling "need to edit xml on contacts.apk and compile"...i'm tired of know that...it would be more useful say which files, where and what to do.
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
ocenis64 said:
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
Click to expand...
Click to collapse
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
ruicc said:
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
Click to expand...
Click to collapse
The rest is the framework See the title, you're in the right thred !
Yes, MMS.apk is transparent too.
If you don't want it, remove it from the zip.

[GUIDE] Changing status bar icons by editing framework-res.apk and lots more

So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in my case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Nice guide. How to change color of clock in gingerbread because white is ugly? Maybe you can add that in future.
Verstuurd van mijn GT-S5660
FlemishDroid said:
Nice guide. How to change color of clock in gingerbread because white is ugly? Maybe you can add that in future.
Verstuurd van mijn GT-S5660
Click to expand...
Click to collapse
Yes
It is a tedious process
By editing smali files of classes.dex of SystemUI.apk
BUMP
which file do you you need for notificationbar background???
jkoetsier said:
which file do you you need for notificationbar background???
Click to expand...
Click to collapse
Add @amdroid:background @ frawable/statbarbg
In statusbar tracking.xml
Then add statbarbg.png in drawable-mdpi
For gb clock u need to do smali
Devilsking has made good guide
Sent from my ST25i using xda app-developers app
Thanks man, its working!!
Sent from my GT-S5660 using xda premium
SpaceCaker said:
Add @amdroid:background @ frawable/statbarbg
In statusbar tracking.xml
Then add statbarbg.png in drawable-mdpi
For gb clock u need to do smali
Devilsking has made good guide
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
*android
BUMP
BUMP
BUMPS are unneeded, if theres nothing to say, dont do it.
Sent from my GT-S5660 using xda app-developers app
Bigger PNG's
Quick question, I know this is an old topic, but upon googling I found this and I feel that my question sort of belongs here. Not even sure if OP is still around to look at this thread, but here goes:
I swapped out a png image for the statusbar icon of an app called CoolSymbols (not using this guide, but using APK Multi tool, but I imagine that the png sizes will have to be the same). Now, this app had a quite ugly statusbar icon, with jagged edges. I replaced it by a circle icon. This circle is pretty much the same size as the previous icon, so the icon looks jagged as well.
Here is the question: Do I simply make a bigger png image, so it will get cropped <---- doubt this
or do I create another folder like res/drawable-hdpi, but for xxhdpi (drawable-xxhdpi???), and if so will that fix the problem, or will I also have to point to that folder somewhere in another file <--- probably the way to go
I hope someone can help me out here!
(PS: I hope my issue is clear from the text above, I don't have a possibility to post proper screenshots until tomorrow, but they will be provided if needed)
(Also I'm sorry if there may have been a more recent topic about this, then I totally missed this!)
JaySilverMusiq said:
Quick question, I know this is an old topic, but upon googling I found this and I feel that my question sort of belongs here. Not even sure if OP is still around to look at this thread, but here goes:
I swapped out a png image for the statusbar icon of an app called CoolSymbols (not using this guide, but using APK Multi tool, but I imagine that the png sizes will have to be the same). Now, this app had a quite ugly statusbar icon, with jagged edges. I replaced it by a circle icon. This circle is pretty much the same size as the previous icon, so the icon looks jagged as well.
Here is the question: Do I simply make a bigger png image, so it will get cropped <---- doubt this
or do I create another folder like res/drawable-hdpi, but for xxhdpi (drawable-xxhdpi???), and if so will that fix the problem, or will I also have to point to that folder somewhere in another file <--- probably the way to go
I hope someone can help me out here!
(PS: I hope my issue is clear from the text above, I don't have a possibility to post proper screenshots until tomorrow, but they will be provided if needed)
(Also I'm sorry if there may have been a more recent topic about this, then I totally missed this!)
Click to expand...
Click to collapse
You need to create an image of correct pixels according to your phone's dpi
Have a look here - http://developer.android.com/design/style/iconography.html

[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme

Create your own Xperia™ Theme
[Now no need to wait for new themes to come up. Have a look/colour in your mind? Want to have a special theme for yourself? Then why to be dependent upon others? Do it all by yourself with the help of my guide.]
Hello,
I made this guide because there was no official documentation or how to about this. I have gone through the official themes + few other themes from market and got the idea from them.
I have myself tested this guide before posting so its 100% working. I have Stock Xperia Google Android 4.3.
If you just want to change System Accent Colours and/or App BG, Navigation Bar BG, etc. then try this Xposed Module of mine.
Xperia Themes - Xposed Module
​
Note :
Code:
At the time of writing this guide I assume that you have a basic knowledge of Android Developers Tool[ADT]. I also assume that you are familiar with Android apps and their development process.
What things you gonna need to follow my tutorial :
A computer / laptop [seriously speaking it's one of the most important thing lol. ]
Java installed and added to environment path[if you are windows user like me]
ADT + Eclipse [I recommend ADT bundle]
Theme files [check attachment for these]
My guide for sure.
Time and Brain.
FOR FAQ'S PLEASE READ POST #3 BEFORE ASKING THE ALREADY ANSWERED QUESTIONS AGAIN.
The guide / tutorial starts now :
PART ONE : CREATE XPERIA THEME, CHANGE SYSTEM COLOURS.
Start/open ADT
Go to File > New > Android Application Project
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Give your desired name to the Theme, The Android Application Project.
Give your desired package name to the app.
Set Minimum Android Requirement to Android Jelly Bean 4.3 and Maximum to Android Kitkat 4.4/4.4.2
In the next screen un-tick the option to add app icon and Activity
Choose the workspace folder else tick to set the default one.
Now open AndroidManifest.xml and add this Permission :
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Now replace the <Application ...></application> Node with this code :
Code:
<application
android:label="@string/semc_theme_title"
android:icon="@drawable/semc_theme_lockscreen_wallpaper"
android:allowBackup="false">
<uses-library android:name="com.sonymobile.runtimeskinning" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.image_wallpaper"
android:resource="@drawable/semc_theme_wallpaper" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.lockscreen_background"
android:resource="@drawable/semc_theme_lockscreen_wallpaper" />
</application>
Please note : You may change the theme icon.
Now just after
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Add this block of code :
Code:
<runtime-skin version="1">
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1" />
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1" />
</asset>
</runtime-skin>
Please note : You will need to push android.zip & com.sonyericsson.uxp.zip files with all theme resources to the asset folder.[You can find these two in attachments]
Note :You can add asset reference for more apps as you extend the theming support.
For Example you can add this to add support for theming SystemUI.apk :
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="1" to="1" />
</asset>
Also note that you will need to push com.android.systemui.zip file with all theme resources to the asset folder.
Now save AndroidManifest.xml
You will get errors. Nothing to worry. Its known and easy to fix.
Open themeProject > values > strings.xml
Change
Code:
<string name="[COLOR=Red]app_name[/COLOR]">Pink</string>
To
Code:
<string name="[COLOR=Red]semc_theme_title[/COLOR]">Pink</string>
Save and close the file.
Now Reopen AndroidManifest.xml
Left Click in between the texts underlined with red, then Right Click and press "Quick Fix" in the pop-up menu. Then You will see a new pop-up menu as in the pic below. Then click on "Disable Check in This Project"
To correct the errors in Application node move Wallpaper and icon pictures to drawable-xxdpi according to your need.
Now download "XperiaThemesApktoolbySArnab©®" zip file from the attachments below and extract it at your desired location.
I specially made this Apktool set folder for Xperia™ Themes.
Inside the extracted folder you will find Apktool files for Windows OS[Linux and MAC users you need to replace Windows specific files with your OS's files.] along with Xperia™ Apps specific folders for making Xperia™ Themes.
All you need to do is add assets to this folders and use provided Apktool to recompile them. They will be automatically get compiled as .zip file instead of .apk file as .zip file is needed for Xperia™ Themes.
In android folder :
You need move theme png resources if you want to change the look, into respective drawable folders.
FOR THIS FOLLOW THE PART TWO OF THE GUIDE IN POST #2
In com.sonyericsson.uxp folder :
You need to edit res > values > colors.xml as per your theme colour preference.
Now when you think you are ready to create the theme use Apktool[Or your desired tool] to recompile android, com.sonyericsson.uxp and all other app specific folders from "XperiaThemesApktoolbySArnab©®".
[*]Now Move all the zip files from specific folders to the assets folder of your project.
[/LIST]
When everything is set your theme project tree should be like this to great extent.
Test the theme through Eclipse else export by signing and share your masterpiece with others.
GUYS AM ATTACHING MY THEME SOURCE SO THAT YOU ALL CAN GO THROUGH THAT IF YOU FELL INTO SOME PROBLEM.
PLEASE RATE THE THREAD WITH 5 STARS IF YOU THINK MY GUIDE IS HELPFUL.
ALSO CLICK ON TIP US SO THAT THIS GUIDE CAN COME UP ON XDA PORTAL.
ADD A LINK TO THIS THREAD IN YOUR SIGNATURE TO EXTEND THE NEWS OF THIS THREAD AND ALSO TO SHOW YOUR SUPPORT.
THANK-YOU.
Update 1 : I have updated the guide at places where users were having problem following it.
I have also added special Xperia Themes ready apktool folder with app specific folders to make it easier to create Xperia Themes.
CREDITS :
@funky0308 [IT WAS HE WHO GAVE ME THE IDEA TO EDIT ASSETS FILES THROUGH HIS GUIDE OF EDITING XPERIA THEMES]
SONY FOR THIS AWESOME OPTION TO THEME OUR MOBILE. @SArnab©® [THAT'S ME] FOR CREATING THIS WHOLE GUIDE.
Adding Image and drawable resources into your Xperia theme.
PART TWO : ADDING DRAWABLE PNGS AND JPEGS TO YOUR XPERIA THEME.
THIS PART OF MY GUIDE WILL HELP YOU IN ADDING IMAGES TO YOUR THEME TO CHANGE THE LOOK TO THE GREATEST POSSIBLE WAY.
BEFORE I START, I WANT YOU ALL TO KNOW ONE SIMPLE THING. IN THIS GUIDE HERE I WILL BE SHOWING YOU HOW TO ADD THEMED IMAGES IN FRAMEWORK APK. THE SAME PROCEDURE WORKS FOR XPERIA HOME AND SYSTEM-UI APK. SO PLEASE DO NOT ASK SILLY QUESTIONS AS HOW TO THEME STATUS-BAR ICONS AND ETC. , ETC.
FOLLOW UP FROM HERE AND SOON YOU WILL BE MAKING PROFESSIONAL THEMES ON YOUR OWN.
STEPS :
De-compile "framework-res.apk"
Open up framework-res/res/drawable-hdpi/ [Or whatever dpi your device supports]
NOTE : HERE I WILL SHOW YOU HOW TO CHANGE :
APPS BACKGROUND
VOLUME BAR SCRUBBER
You can replace any drawable present in this folder. But we are going to change the background images only for this time.
If you go down you will find two pngs named : "semc_bg" & "semc_bg_light". These are the Pngs that we need to replace to replace the App's background.
Now download/create/paint or do whatever you want and get hands on two different pngs, one for Dark Theme [ Like Settings in Android 4.1.x/4.2.x in Sony ] and another for Light Theme [ Like Settings in Android 4.3 in Sony ] and rename them to "semc_bg" & "semc_bg_light" respectively.
Move the two newly renamed pngs to the respective drawable-xxdpi folder of the android folder that you had previously downloaded from the above post : apktool/android/drawable-hdpi/here
NOTE : YOU NEED TO PLACE ALL YOUR DESIRED IMAGES INTO RESPECTIVE DRAWABLE-FOLDERS.
Now you need to do the same thing to theme Scrubbers.
Once you are ready with all the pngs continue with rest of the guide in post #1.
FAQ'S :
Q. HOW TO THEME SYATEMUI?
ANS. FOLLOW THESE STEPS :
Download and extract "XperiaThemesApktoolbySArnab©®" zip file from the attachments in 1st post [You don't need to do it again if you have already done so while following Post #1.].
Open com.android.systemui folder.
Add your desired resources in res/drawable-yourdevicedpifolder.
If you want to change colour then add values folder inside res folder. Create colors.xml file and add color code.
Recompile and copy paste the newly created .zip file from "XperiaThemesApktoolbySArnab©®/com.android.systemui/dist/here" to the assets folder of your Theme Project.
Q. HOW TO THEME ANY OTHER SYSTEM APP?
ANS. FOLLOW THE ABOVE STEPS WITH FEW CHANGES SUCH AS :
I have added options to theme other system apps in my new attachment named "XperiaThemesApktoolbySArnab©®.zip" in 1st post.
Q. HOW TO ADD SUPPORT FOR DIFFERENT APPS THEMEING?
ANS. YOU CAN THEME ALL THE APPS INSTALLED IN YOUR DEVICE. TO DO THAT YOU NEED TO PERFORM 2 ACTIONS.
1. ADD THIS BLOCK OF CODE TO THE MANIFEST FILE SO THAT THE THEME MANAGER KNOWS WHICH APPS ARE SUPPORTED BY YOUR THEME APP :
Code:
<asset path="[COLOR="Red"]com.android.systemui.zip[/COLOR]" target="[COLOR="red"]com.android.systemui[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
THE ABOVE CODE ADDS SUPPORT FOR SYSTEMUI THEMEING.
TO SUPPORT OTHER APPS JUST CHANGE THE TEXTS IN RED.
FOR EXAMPLE FOR SETTINGS APP :
Code:
<asset path="[COLOR="Red"]com.android.settings.zip[/COLOR]" target="[COLOR="red"]com.android.settings[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
FOR THIS YOU NEED TO KNOW THE PACKAGE NAME OF THE APP YOU WANT TO THEME.
2. YOU NEED TO CREATE A APP.PACKGANE.NAME.ZIP FILE WITHH ALL THEME RESOURCES FOR THAT CONCERNED APP AND MOVE THE ZIP FILE TO ASSETS FOLDER OF YOUR PROJECT.
PLEASE NOTE THE NAME OF ZIP FILE MUST BE SAME AS STATED IN MANIFEST.
Well done bro
Going to try it asap
dipesh1502 said:
Well done bro
Going to try it asap
Click to expand...
Click to collapse
Sure, go forward and do share whatever you come up with.
I will update the guide very soon to show how to add resources and add more apps support.
Sent from my C2004 using Tapatalk

			
				
great one!!
nice
---------- Post added at 12:28 PM ---------- Previous post was at 12:23 PM ----------
SArnab©® , can u help me find a link for starting cm9/10 themes for galaxy devices ? am intrested in theming
Wow, THIS is a guide, many thanks for that. I downloaded the theme for my wife - she loves pink.
Awsm work arnab!! thanks for creating such a comprehensive guide.
nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????
Sahaab said:
nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????
Click to expand...
Click to collapse
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.
SArnab©® said:
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.
Click to expand...
Click to collapse
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/
Sahaab said:
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/
Click to expand...
Click to collapse
Yeah if your device is not able to install 3rd party themes by default then you need to root it and then enable theme installation.
This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.
SpaceCaker said:
This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.
Click to expand...
Click to collapse
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk
SArnab©® said:
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
thanks will try
Sent from my S500 using xda app-developers app
More guides the better. :good:
That’s to take one’s hat off !!
This is definitely the kind of thread we want to see... Leaves us hungering for more knowledge!!!
Thank you!
Awesome
Awesome job. Tutorial is very good and helpful to everyone.
Kudos to OP and XDA. All the best!!! :good:
Great TUT mate...don't know how I didn't see it earlier but never mind.
Easy to follow and it's actually something new - not copy/past old TUT...
Great
?
Sent from my C6903 using Tapatalk

[GUIDE] Make any Icon Pack Compatible with New Xperia Home And Edit IconPack

Hello Friends
After Getting a Lot of PMs and Requests on How to Make so-and-so Icon Pack Compatible with Xperia Home and me Telling Everyone the Same Thing.
So i Thought to make a Guide/tutorial for the same.
So Guys i will be Dividing This Guide into Two Parts, Part-1 will Guide You to Make any IconPack Compatible with Xperia Home and Part-2 will Guide You to Edit IconPack.
So lets Start with Part-1
PART-1
In This Part i will be guiding you to make any icon pack compatible with Latest Xperia Home with IconPack Support.
This is the easiest and quickest way to make any icon pack compatible with Xperia Home it literally take few Minutes
So lest get started....
Things needed :-
PC
Apktool ( i recomed Apktool by Bdfreak)
Icon Pack which is to be edited
Notepad++
STEPS
STEP 1
Decompile Ur Icon Pack using Apktool.
STEP 2
Go to the Decompiled Folder and edit AndroidManifest.xml
and add this code just after </intent-filter> as shown below in the Picture and Save the File.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
<intent-filter>
<action android:name="com.sonymobile.home.ICON_PACK"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
STEP 3
Recompile and Sign the apk using Apktool.
Move to Phone then Install.
Enjoy....:laugh:
[/HIDE]
PART-2
So Guys Here is the Part-2,In This i Will Guide You to Edit Any IconPack Which Includes
Removing an Icon from the Icon Pack
Replacing a Icon with a New Icon
Adding a New Icon in IconPack
In this Part we will assume that u have Decompiled ur Icon pack and you dont like music icon and want to Edit it.
1. Removing an Icon from the Icon Pack
STEP-1
First Find ComponentInfo of the app whose icon u want to remove. you can easily get ComponentInfo of any app by either google or use Application Reader app,its free on playstore and works all the time
STEP-2
Go to Res/xml folder and edit appfilter.xml using notepad++.
STEP-3
Remove the Item Component line which Correspond to the ComponentInfo of the Mucic App whose icon u want to Remove from IconPack and save.
for example: lets say u dont like music icon and u want to remove so u will be deleting " <item component="ComponentInfo{com.sonyericsson.music/com.sonyericsson.music.MusicActivity}" drawable="music" /> " this line.
STEP-4
Recompile and Sign the APK and enjoy..
2. Replacing a Icon with a New Icon
STEP-1
first we will have to find the music icon from the icon pack. you can do this by two ways
Open the Folder where all icons are stored usually it is in res/Drawable-nodpi-v4 folder and find the Music Icon u Want to Replace
Get the CompontInfo of music app and search for it in appfilter.xml. lets say the line u got after search is " <item component="ComponentInfo{com.sonyericsson.music/com.sonyericsson.music.MusicActivity}" drawable="music12" /> " so the icon associated with music app is music12(which is given at the end of the line in drawable="music12")
STEP-2
Now Replace the New Icon with the Old Music Icon and Keep the Name Same Ofcource.
STEP-3
Recompile and Sign the APK nd enjoy...
3. Adding a New Icon in IconPack
Lets Say you Want to Add Music Icon to your Icon Pack.
STEP-1
Paste the Music icon in the folder where all Icons Are placed usually its Drawable-nodpi-v4
STEP-2
Edit Appfiler.xml and the this line at the end
<item component="" drawable="" />
add ur component info after <item component="HERE"
and add the of the icon which u r adding in drawable="HERE" />
STEP-3
Recompile,Sign,install and enjoy...:laugh:
CREDITS
BDfreak for his awesome Apktool.
Developer of Notepad++
Awsom bro. Great tutorial. Simple and easy. Keep up the good work
Rajeev said:
Awsom bro. Great tutorial. Simple and easy. Keep up the good work
Click to expand...
Click to collapse
Thnkx a lot buddy
but will this work on paid icon packs. i think we cant decomple them ?
Dilesh Perera said:
but will this work on paid icon packs. i think we cant decomple them ?
Click to expand...
Click to collapse
Yes buddy,i have tried 3-4 paid apps nd all were decompiled nd modded successful.
vikash1994b said:
Yes buddy,i have tried 3-4 paid apps nd all were decompiled nd modded successful.
Click to expand...
Click to collapse
wow sounds good then. let me try now
btw material Cards is my favo
EDIT
not works . as i said they cant decompile
Input file (C:\TickleMyAndroid\_WorkArea2\_in\Material) was not found or was not readable.
----------------
Decompile Not Successful!
Dilesh Perera said:
wow sounds good then. let me try now
btw material Cards is my favo
EDIT
not works . as i said they cant decompile
Input file (C:\TickleMyAndroid\_WorkArea2\_in\Material) was not found or was not readable.
----------------
Decompile Not Successful!
Click to expand...
Click to collapse
Bro for me its working, nd i successful modded it for xperia home. I wl send the modded apk via pm
Nd btw icon pack is quite good i think iwl be using it for some days now:laugh:
Nd i have used apktool for android bt it should work for advance apktool also.
Btw bro even if the icon pack ia not decompiling u can still make a icon pack for xperia.by extracting the apk nd moving the icons from icon pack to any base icon pack nd replace appfiler.xml nd use it.bt its a long process :silly:
tnx mate, just tried this method and it worked flawlessly....
Daniel_GB said:
tnx mate, just tried this method and it worked flawlessly....
Click to expand...
Click to collapse
Enjoy buddy nd there is a thanks button also:silly:
Jozinek said:
any chance how to get it work for CM themes and icons?
Click to expand...
Click to collapse
Well cm themes cant be made to work with xperia but icons can be extracted from cm theme nd a icon pack can be made for xperia home:laugh:
vikash1994b said:
Hello Friends
After getting a lot of PMs and requests on how to make so-and-so icon pack compatible with Xperia home and me telling everyone the same thing.
So i Thought to make a Guide/tutorial for the same.
This is the easiest and quickest way to make any icon pack compatible with Xperia Home it literally take few Minutes
And Guys if u like i can even extend this tutorial and explain how to add new icon or edit a icon with a new one.
So lest get started....
Things needed :-
PC
Apktool ( i recomed Apktool by Bdfreak)
Icon Pack which is to be edited
Notepad++
STEPS
STEP 1
Decompile Ur Icon Pack using Apktool.
STEP 2
Go to the Decompiled Folder and edit AndroidManifest.xml
and add this code just after </intent-filter> as shown below in the Picture and Save the File.
<intent-filter>
<action android:name="com.sonymobile.home.ICON_PACK"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
STEP 3
Recompile and Sign the apk using Apktool.
Move to Phone then Install.
Enjoy....:laugh:
CREDITS
BDfreak for his awesome Apktool.
Developer of Notepad++
Click to expand...
Click to collapse
Or with Eclipse
Resurgence110 said:
Or with Eclipse
Click to expand...
Click to collapse
?? U quote the whole OP only for telling this ? Ha ?
Resurgence110 said:
Or with Eclipse
Click to expand...
Click to collapse
Dont quote the whole op my friend nd sry i didnt get u
Thanks very much indeed for this, i am quite a novice when it comes to this kind of thing, and it worked flawlessly, quick couple of questions if you dont mind, if i want to remove certain icons from the icon pack, is it an easy thing to do ? and one last one, i know the icons are there but they are not changing to the ones in the icon pack.
Thanks once again.
Schumi 01 said:
Thanks very much indeed for this, i am quite a novice when it comes to this kind of thing, and it worked flawlessly, quick couple of questions if you dont mind, if i want to remove certain icons from the icon pack, is it an easy thing to do ? and one last one, i know the icons are there but they are not changing to the ones in the icon pack.
Thanks once again.
Click to expand...
Click to collapse
Ur wlcme buddy,nd its really easy to edit an icon pack.
Both ur questions can be solved by editing appfilter.xml(which is found in res/xml folder)
Now in first question edit appfilter.xml and delete the componentinfo line which correspond to the icon u want to remove then save and recompile.
Now in second question add the componentinfo line corresponding to app whose icon u want to add.
Hope u get it bro nd i will update the thread tomorrow and add steps to edit icon pack if u didnt understand now dont worry tomorrow after reading the steps u can easily edit icon pack.:laugh::good:
vikash1994b said:
Ur wlcme buddy,nd its really easy to edit an icon pack.
Both ur questions can be solved by editing appfilter.xml(which is found in res/xml folder)
Now in first question edit appfilter.xml and delete the componentinfo line which correspond to the icon u want to remove then save and recompile.
Now in second question add the componentinfo line corresponding to app whose icon u want to add.
Hope u get it bro nd i will update the thread tomorrow and add steps to edit icon pack if u didnt understand now dont worry tomorrow after reading the steps u can easily edit icon pack.:laugh::good:
Click to expand...
Click to collapse
Thanks very much indeed, shall look forward to it, i have checked and the componentinfo line is there, and the icon is also there, but for some strange reason it doesn't change. I have checked another icon pack, the component info line is the same as the other pack and that one is working ?
Schumi 01 said:
Thanks very much indeed, shall look forward to it, i have checked and the componentinfo line is there, and the icon is also there, but for some strange reason it doesn't change. I have checked another icon pack, the component info line is the same as the other pack and that one is working ?
Click to expand...
Click to collapse
Can u share ur icon pack whats the issue
Nd tell the app also whose icon needs to be changed
Thx Bro For The Guide can u Uplade Your ApkTool Ver?
eliasba said:
Thx Bro For The Guide can u Uplade Your ApkTool Ver?
Click to expand...
Click to collapse
Ur wlcm bro,Im using the latest advance apktool v4.2.0
Guys Thread Updated now u can also learn to edit Icon packs @Schumi 01

Categories

Resources