FORUMS

[GUIDE] [Advanced] How to make an IconPack for Samsung Touchwiz [JellyBean]

1,545 posts
Thanks Meter: 2,600
 
By M_J_Nazari, Inactive Recognized Developer on 4th May 2013, 03:57 PM
Post Reply Email Thread
Hi
I found the simple way to change the icons and names of applications on Samsung's TouchWiz UI.

you need to know about how to edit an apk and also how to find the application's package and activity names.

0-Download my attached file.
1-Decompile CSCAppResource.apk
2-add all your favorite icons to drawable folder.
2a= if you want to change the application's name too, check this post! [updated 1st august 2013 ]

3-Compile and Sign it.

already , you have CSCAppResource.apk with all icons , you added from above steps.

now , you need to decompile your edited CSCAppResource.apk file, after decompiling, goto Values folder and open the public.xml file vith Notepad++.

now you will find it like this one,, this is an example;
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <public type="drawable" name="amestris_test" id="0x7f020000" />
</resources>
------------------------------------------------------
4-now create a xml file and paste below lines into it.

PHP Code:
<?xml version="1.0"?>
<cscappresource>

</cscappresource>
save it with CSCAppResource.xml file name.

------------------------------------------------------
5-now we want to add Icon for specific application. for example we want to change the icon for Browser.

the Browser application activity name is " com.android.browser ".

now we will define the Icon for Browser activity. see below example.

back to "CSCAppResource.xml" file and add this line between cscappresource tag.
PHP Code:
<item name="com.android.browser" iconid="7f020000"/> 
at final we have the "CSCAppResource.xml " like this one.
PHP Code:
<?xml version="1.0"?>
<cscappresource>
<item name="com.android.browser" iconid="7f020000"/>
</cscappresource>
--------------------------------------------
save the file and copy CSCAppResource.xml and CSCAppResource.apk to this folder:
Code:
/system/csc/appresource
** you need to create "appresource" folder, if not exists.

give permissions to folder and files then reboot your phone.


i will share some samples in post #two.

Best Regards.


original thread
http://www.pda-planet.com/forum/foru...hread5929.html
Attached Files
File Type: apk CSCAppResource.apk - [Click for QR Code] (13.4 KB, 4566 views)
The Following 32 Users Say Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
4th May 2013, 03:58 PM |#2  
M_J_Nazari's Avatar
OP Inactive Recognized Developer
Bushehr
Thanks Meter: 2,600
 
Donate to Me
More

CUSTOM ICON PACKS

1-Sence5 Icon Pack by wildstang83
--------------------------------------------------------

How to apply this iconpack from custom recovery mod? [CWM Update.zip file]

Download the attached file "IconPack_Sample_CWM.zip"
Extract it via WinRar or 7Zip, copy your edited files into " \system\csc\appresource" folder and zip it.
now you can install it from recovery.
it is compatible with all phones.
**custom recovery is need.

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

Icon Pack Convertor by LegendM
Click to view the post

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

This is an sample:
PHP Code:
<?xml version="1.0"?>
<cscappresource>
<item name="com.android.browser" iconid="7f020012"/>
<item name="com.android.settings" iconid="7f02004f" />
<item name="com.android.phone" iconid="7f020046" />
<item name="com.android.mms" iconid="7f02003a" />
<item name="com.android.email" iconid="7f02001d" />
<item name="com.android.providers.downloads.ui" iconid="7f02001c" />
<item name="com.android.provider.smemo" iconid="7f020045" />
<item name="com.sec.android.widgetapp.diotek.smemo" iconid="7f020045" />
<item name="com.android.contacts" iconid="7f020018" />
<item name="com.android.contacts.activities.DialtactsActivity" iconid="7f020046" />
<item name="com.android.contacts.activities.PeopleActivity" iconid="7f020018" />
<item name="com.sec.android.app.dialertab.calllog.CalllogTipsActivity" iconid="7f020034" />
<item name="com.sec.android.app.camera" iconid="7f02000f" />
<item name="com.sec.android.app.camera.Camera" iconid="7f02000f" />
<item name="com.sec.android.gallery3d" iconid="7f020024" />
<item name="com.sec.android.app.launcher" iconid="7f020003" />
<item name="com.sec.android.app.controlpanel" iconid="7f02002e" />
<item name="com.sec.android.app.videoplayer" iconid="7f02005d" />
<item name="com.sec.android.app.voicerecorder" iconid="7f020061" />
<item name="com.sec.android.app.music" iconid="7f02003f" />
<item name="com.sec.android.app.myfiles" iconid="7f02001f" />
<item name="com.sec.android.app.fm" iconid="7f020021" />
<item name="com.sec.android.app.popupcalculator" iconid="7f020008" />
<item name="com.sec.android.app.clockpackage" iconid="7f020015" />
<item name="com.android.vending.AssetBrowserActivity" iconid="7f02004a" />
<item name="com.android.vending" iconid="7f02004a" />
<item name="com.google.android.finsky.widget.recommendation.RecommendedWidgetProvider" iconid="7f02004a" />
<item name="com.google.android.finsky.FinskyApp" iconid="7f02004a" />
<item name="com.android.vending.MarketWidgetProvider" iconid="7f02004a" />
<item name="com.google.android.finsky.widget.consumption.NowPlayingWidgetProvider" iconid="7f02004a" />
<item name="com.opera.mini.android" iconid="7f020043" />
<item name="com.noshufou.android.su" />
<item name="com.sds.android.ttpod" iconid="7f020059" />
<item name="net.cactii.flash2" iconid="7f020020" />
<item name="com.android.calendar.launchactivity" iconid="7f02000b" />
<item name="com.android.calendar.LaunchActivity" iconid="7f02000b" />
</cscappresource>
Attached Files
File Type: apk CSCAppResource.apk - [Click for QR Code] (1.09 MB, 826 views)
File Type: zip IconPack_Sample_CWM.zip - [Click for QR Code] (145.1 KB, 941 views)
The Following 11 Users Say Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
4th May 2013, 04:09 PM |#3  
wildstang83's Avatar
Inactive Recognized Developer / Recognized Themer / Retired Forum Moderator
Flag Nowheresville
Thanks Meter: 3,994
 
More
I have a couple of quick questions first though. Does it matter what the icons are named? Like ic_launcher.png, etc...

Also, I see where you say place both the .apk and the .xml into /system/csc/appresource, but I don't have an appresource folder on my Note II. What should I do?

Looks interesting, can't wait to try it out after your reply
4th May 2013, 04:12 PM |#4  
M_J_Nazari's Avatar
OP Inactive Recognized Developer
Bushehr
Thanks Meter: 2,600
 
Donate to Me
More
Quote:
Originally Posted by wildstang83

I have a couple of quick questions first though. Does it matter what the icons are named? Like ic_launcher.png, etc...

Also, I see where you say place both the .apk and the .xml into /system/csc/appresource, but I don't have an appresource folder on my Note II. What should I do?

Looks interesting, can't wait to try it out after your reply


1- it doesn't matter about the names, you just link the icon's ID from public.xml to activity. also you can see the example from second post.
2-you need to create appresource folder manually, it doesn't exists on any firmware.
The Following 6 Users Say Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
4th May 2013, 04:15 PM |#5  
wildstang83's Avatar
Inactive Recognized Developer / Recognized Themer / Retired Forum Moderator
Flag Nowheresville
Thanks Meter: 3,994
 
More
Quote:
Originally Posted by M_J_Nazari

1- it doesn't matter about the names, you just link the icon's ID from public.xml to activity. also you can see the example from second post.
2- if not exists , then create appresource folder manually.

Appreciate that. Gonna try it out right now
4th May 2013, 04:20 PM |#6  
M_J_Nazari's Avatar
OP Inactive Recognized Developer
Bushehr
Thanks Meter: 2,600
 
Donate to Me
More
Quote:
Originally Posted by wildstang83

Appreciate that. Gonna try it out right now

you're welcome , you can test the sample from second post.
The Following User Says Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
4th May 2013, 04:23 PM |#7  
wildstang83's Avatar
Inactive Recognized Developer / Recognized Themer / Retired Forum Moderator
Flag Nowheresville
Thanks Meter: 3,994
 
More
Quote:
Originally Posted by M_J_Nazari

you're welcome , you can test the sample from second post.

Yea thats what I am doing, just having a look at how you did it and everything. It works btw. You did a good job with this bud.

EDIT: I have the VZW Samsung Galaxy Note II i605 and it works perfectly.
The Following User Says Thank You to wildstang83 For This Useful Post: [ View ] Gift wildstang83 Ad-Free
4th May 2013, 04:26 PM |#8  
LegendM's Avatar
Senior Member
Flag Ankara
Thanks Meter: 472
 
Donate to Me
More
Trust me I'm searching for this long time

I try create an small windows app that read apex ,go launcher icons and convert them to touchwiz
4th May 2013, 04:31 PM |#9  
M_J_Nazari's Avatar
OP Inactive Recognized Developer
Bushehr
Thanks Meter: 2,600
 
Donate to Me
More
Quote:
Originally Posted by wildstang83

Yea thats what I am doing, just having a look at how you did it and everything. It works btw. You did a good job with this bud.

EDIT: I have the VZW Samsung Galaxy Note II i605 and it works perfectly.

its my pleasure.
Quote:
Originally Posted by LegendM

Trust me I'm searching for this long time

I try create an small app that read apex ,go launcher icons and convert them to touchwiz

I'll hope you find it perfect.
we are waiting for your job.

i searching a long time for this method and finally find this way is working. it seems an hidden Touchwiz feature.
The Following User Says Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
4th May 2013, 05:32 PM |#10  
LegendM's Avatar
Senior Member
Flag Ankara
Thanks Meter: 472
 
Donate to Me
More
Edit:Here you go small tool ( may be buggy,report bugs via pm)
Attached Files
File Type: rar Touchwiz Icon Converter.rar - [Click for QR Code] (292.9 KB, 1058 views)
The Following 7 Users Say Thank You to LegendM For This Useful Post: [ View ] Gift LegendM Ad-Free
4th May 2013, 06:57 PM |#11  
M_J_Nazari's Avatar
OP Inactive Recognized Developer
Bushehr
Thanks Meter: 2,600
 
Donate to Me
More
Quote:
Originally Posted by LegendM

Ok,I made a small app,It extract apk files
Read from xml file and create new one

Now main problem is how can I sign zip?

how you edit apk file?

How to setup APKTool & Decompile, Recomile, Sign, and Zipalign APKs

[Guide] [Apktool] [Drag2sign] guide for decompiling apks to edit xml files & sign apk

[GUIDE] Signing and zipaligning your app
The Following User Says Thank You to M_J_Nazari For This Useful Post: [ View ] Gift M_J_Nazari Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes