I want to change the color font in the phone keypad.
Decompile htcdialer (apktool) but I can not find section where to declare this color.
I have black, I want white....
Anyone knows where it changes?
Help
Oki ... i find section:
styles.xml
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">@color/color_255_255_255</item> === (was 0 0 0)
but apktool shows errors:
DEcompilation:
http://www.youtube.com/watch?v=V6KPpl389qk
Compilation:
http://www.youtube.com/watch?v=Xf5dNPujyYQ
orginal APK file is here:
http://hotfile.com/dl/112060127/881b...ialer.apk.html
1. decompile and compile the same file (no change) and again shows errors...
WHY?
2. Why go to 1.apk in framework folder ??? (screen)
3. what should be in this folder?
As I wrote you via PM, it is not enough to change that value, there are 3 and you also need to adjust the shadow colors. Compilation errors are due to using a themed apk, compile with stock and then insert your needed png`s. You also need to adjust button and dialer icon colors.
No .... stock file generated the same errors. :/
look:
http://hotfile.com/dl/112066339/865f241/HtcDialer.apk.html
This is stock file. Try decompile and you see erros :/
This file extract of Gingerbread ([ROM] Android Revolution HD 4.0 β 4)
draxterix said:
Oki ... i find section:
styles.xml
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">@color/color_255_255_255</item> === (was 0 0 0)
but apktool shows errors:
DEcompilation:
http://www.youtube.com/watch?v=V6KPpl389qk
Compilation:
http://www.youtube.com/watch?v=Xf5dNPujyYQ
orginal APK file is here:
http://hotfile.com/dl/112060127/881b...ialer.apk.html
1. decompile and compile the same file (no change) and again shows errors...
WHY?
2. Why go to 1.apk in framework folder ??? (screen)
3. what should be in this folder?
Click to expand...
Click to collapse
For starters you are editing the wrong styles.xml file. The DHD you need to edit the styles.xml in /values-hdpi
My guess is you don't have the supported framework and that you are not editing a stock untouched .apk. I can't see your error messages from your youtube video.
Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
sharjackmission said:
Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
Click to expand...
Click to collapse
You can’t do it on a stock unrooted phone. You need to install a custom ROM and then replace some of the system files with modified ones. I have seen a mod to make it look like AOSP for (ARHD, ViperX and other custom sense ROMs).
sharjackmission said:
Hi
I I want to change the background color of the settings .apk because I don't like the ugly white color
Any idea
Click to expand...
Click to collapse
Default [TUTORIAL] How to change Android's black background
If you ever get bored with the black background in Android, now you can change it by making a few small edits to framework-res.apk/res/values/styles.xml
This will affect MOST of the black background you see in Android (e.g. settings, contacts, mms, installer etc.) with the exception of certain apps that use their on backgrounds (e.g. contacts logs, email etc.).
Difficulty level: Medium
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>
9. Create a 480x800 png to your liking, name it mybackground.png and place it in drawable-hdpi folder
9. Recompile framework-res.apk
DONE!
Always create a backup before making any modifications!!!
if i helped you please click thanks!!!
the link is here:http://forum.xda-developers.com/showthread.php?t=1343484
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:
<?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:
<?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:
<item name="com.android.browser" iconid="7f020000"/>
at final we have the "CSCAppResource.xml " like this one.
PHP:
<?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/forum127/thread5929.html
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:
<?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>
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
wildstang83 said:
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
Click to expand...
Click to collapse
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.
M_J_Nazari said:
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.
Click to expand...
Click to collapse
Appreciate that. Gonna try it out right now :good:
wildstang83 said:
Appreciate that. Gonna try it out right now :good:
Click to expand...
Click to collapse
you're welcome , you can test the sample from second post.
M_J_Nazari said:
you're welcome , you can test the sample from second post.
Click to expand...
Click to collapse
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.
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
wildstang83 said:
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.
Click to expand...
Click to collapse
:good: its my pleasure.
LegendM said:
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
Click to expand...
Click to collapse
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.
Edit:Here you go small tool ( may be buggy,report bugs via pm)
LegendM said:
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?
Click to expand...
Click to collapse
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
LegendM said:
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?
Click to expand...
Click to collapse
Basically you will need to create a key to sign the apk with. Assuming you have the android sdk and the JDK installed and in your path, you need to open terminal and run a command to create a key:
Code:
keytool -genkey -v -keystore android-test.keystore
Now that that is created you need to create a directory in which to sign your apk. I created mine on my desktop and called it sign_apk. So then I moved my key to that sign_apk folder on my desktop, along with my unsigned apk. After that you need to run another terminal command to sign the apk:
Code:
cd [path to sign_apk]
jarsigner -verbose -keystore android-test.keystore CSCAppResource.apk mykey
It will ask for the password you used while you were setting up your key. After you enter your password, it will sign the apk and all will be good.
Keep in mind, I am an OSX user so certainly not all things may be the same for all users, but this should get you closer at least
wildstang83 said:
Basically you will need to create a key to sign the apk with. Assuming you have the android sdk and the JDK installed and in your path, you need to open terminal and run a command to create a key:
Code:
keytool -genkey -v -keystore android-test.keystore
Now that that is created you need to create a directory in which to sign your apk. I created mine on my desktop and called it sign_apk. So then I moved my key to that sign_apk folder on my desktop, along with my unsigned apk. After that you need to run another terminal command to sign the apk:
Code:
cd [path to sign_apk]
jarsigner -verbose -keystore android-test.keystore CSCAppResource.apk mykey
It will ask for the password you used while you were setting up your key. After you enter your password, it will sign the apk and all will be good.
Keep in mind, I am an OSX user so certainly not all things may be the same for all users, but this should get you closer at least
Click to expand...
Click to collapse
Check my post and report bugs please :laugh:
I skip sign zip,people can do that manually,it just create xml file
LegendM said:
Edit:Here you go small tool ( may be buggy,report bugs via pm)
Click to expand...
Click to collapse
could you please explain it better?
it will convert icon packs from another Launchers to Touchwiz?
:good::good::good::good::good: yaaaay amazing guide bro
Got my Note ll looking like Sense 5
M_J_Nazari said:
could you please explain it better?
it will convert icon packs from another Launchers to Touchwiz?
Click to expand...
Click to collapse
Yep
You have to read other launcher apk file
It automaticly read xml file and create new one for touchwiz
Also you can find extracted apk file in my documents/touchwiz icon converter folder
LegendM said:
Yep
You have to read other launcher apk file
It automaticly read xml file and create new one for touchwiz
Also you can find extracted apk file in my documents/touchwiz icon converter folder
Click to expand...
Click to collapse
its an amazing tool :X:good:
Good,
Work perfec in s3mini
Sent from my GT-I8190 using Xparent Blue Tapatalk 2
this is the easiest apk decompiler i know as of now
http://www.youtube.com/watch?v=5-u0UI9LsrY
How to add wifi and bluetooth toggles button in Settings like ics
Click to expand...
Click to collapse
Tool you need:1:apktool(apkmanager etc)
2:smali code and xml(look attached file)
3:notepad++
4:brain most important
Note:I am not gona teach you how to compile and decompile apk do it yourself And i am not gona responsible for any thing bad happened.
>>first Step:
Pull settings.apk from your phone and decompile it.
>>second Step:
download the attach file and open it there you will see res folder and smali folder now copy them and paste in your decompile settings apk folder.
>>Third Step:
now open id.xml (present in values folder of settings apk)
and add this lines in end just above this</resources>
Code:
<item type="id" name="toggle2">false</item>
<item type="id" name="toggle">false</item>
>>Forth Step:
compile the apk and sign it...now decompile new settings.apk
>>Fifth Step:
open public.xml file in notepad++ then goto smali/com/ion/settings/ and open the BTPreferencesScreen.smali and SwitchPreferenecScreen.smali notepad++.
firsts let play with BTPreferencesScreen.smali
now serach for this hexs value
Code:
"0x7f030056"--------and replace it with type="layout" name="preference_bt" ids value(hex value)
"0x7f0b0016"--------and replace it with type="id" name="icon" ids value(hex value)
"0x7f0b012e"--------and replace it with type="id" name="toggle2" ids value(hex value)
save,done and close...
now time to play with switchPreferenecScreen.smali
now serach for this hexs value
Code:
"0x7f030057"--------and replace it with type="layout" name="preference_switch" ids value(hex value)
"0x7f0b012f"--------and replace it with type="id" name="toggle" ids value(hex value)
Note:"0x7f0b012f" are use three times in smali code so replace it with type="id" name="toggle" ids three time at there respective place.
"0x7f0b0016"--------and replace it with type="id" name="icon" ids value(hex value)
>>Sixth Step:
Now open Settings.xmlin notepad++
now add this code in the <PreferenceScreen .....xxxx.... />
now add these two codes also where you want to place this codes this responsible for display wifi and bluetooth toggles button and string in settings menu
Code:
<com.ion.setting.SwitchPreferenceScreen android:title="wifi" android:key="wifi" />
<com.ion.setting.BTPreferenceScreen android:title="Bluetooth" android:key="btswitch" />
like this....just like i do and save the file
>>Seventh Step:
compile apk,sign it and push it on your phone and enjoy....
Screenshots:-
SETTINGS with ics toogle buttons:-
SETTINGS with ANDROID L toogle buttons :-
SETTINGS with kk/jb/twz style toogle button:-
Final SS?
samsoul16 said:
Final SS?
Click to expand...
Click to collapse
ss added sir...
if u want jb/kk/android l like toogle button u can replace :- switchon and switchoff png at drawable mdpi folder....
here is the whole tut for making ics settings for all gb devices
nice guide @OP
great guide
Superb guide...
i will also make my settings like "android L".... :highfive:
Easy Guide how to automatic disable signal icon when deactive SIM card base Cm11
REQUIREMENT:
- Know how to decompile/recompiling Apk
- Know how to smali/xml editing
decompile SystemUI.apk
open SystemUI/res/values/drawables.xml
add this code above </resources>
Code:
<item type="drawable" name="deuge_blank_drawable">#00000000</item>
open SystemUI/res/values/styles.xml
find styles code
Code:
<style name="TextAppearance.StatusBar.SimSlotLabel" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">10.0dip</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ff808080</item>
</style>
change
Code:
<item name="android:textSize">10.0dip</item>
to
Code:
<item name="android:textSize">0.0dip</item>
recompile
decompile
open SystemUI/res/values/public.xml
find
Code:
type="drawable" name="deuge_blank_drawable" id="[COLOR="red"]0x7f0?????[/COLOR]"
SAVE RED CODE
open com/android/systemui/statusbar/policy/MSimNetworkController.smali
find
Code:
[COLOR="Blue"]0x7f020117[/COLOR]
note :
type="drawable" name="stat_sys_signal_null" id="0x7f020117"
change 0x7f020117 to red code type="drawable" name="deuge_blank_drawable"
Save,recompile,sign,dan push ke system, DONE!!!
Vertamax