[MOD] Icon label text on stock Launcher - Huawei Mate 9 Themes, Apps, and Mods

Hi guys,
I would like to share with you this little mod for for those people who like me have set the small font size of EMUI items.
Icons label is very small so I decide to find a solution for stock launcher to increase font size.
Go to:
/product/hw_oem/ (select your version folder... MHA-L09, MHA-L29, MHA-AL00, etc.)
enter in /xml folder and open "hw_launcher_default_config.xml" and edit number this string <item name="config_IconTitleSize">10.5</item>
I recommend you a value like 12, 14 or max 16. For example I have a 4x5 grid in launcher and I have set <item name="config_IconTitleSize">16</item>
REBOOT phone.
I apologize if this post is a duplicate...

How do i find that folder? Thats a noob question but all the file managers i've tried fail to show system files without root.
Sent from my EVA-L19 using XDA-Developers Legacy app

canicula said:
How do i find that folder? Thats a noob question but all the file managers i've tried fail to show system files without root.
Click to expand...
Click to collapse
You need root to edit system files... Sorry... However I think Root Browser can show you folders and files system.
Sent from my Huawei Mate 9 using XDA Labs

Related

[HOW TO] GO Launcher EX Theme Template

NOTE: THIS IS NOT THE SAME AS THE THEME PROGRAM
This is a tutorial and download (salvaged from before the server crashed) of the GOLauncher EX Theme Template
With it you can create beautiful themes, with unlimited icons, for each package.
Now, here goes nothing:
1. Download the zip of the template here, and extract it
2. Open the english pdf and follow the instructions in there
3. Grab the icons you want, either from another theme or from your own sources
4. Give theme a good name (like gtalk for google talk) and resize them to a 72*72 png in Paint.NET
5. Go to /assets in the trunk_1.0ok folder and open appfilter.xml (I recommend Notepad++ for this)
6. Copy this into the file:
Code:
<!-- APP NAME (for your use) -->
<item component="ComponentInfo{com.quinny898.theme.miui/com.quinny898.theme.miui}" drawable="the png without the .png extension" />
7. a. Replace APP NAME with your own name, for your use to remember it, for example "N.O.V.A. 2"
b. Download LauncherPro to your phone from the market, but don't set it as default home. Create a shortcut on GOLauncher's desktop and select 'activites' (with LauncherPro icon). Wait for it to load and then find your app. Tap the name and lots of package name with activites will appear.
c. Replace the first com.whatever... with the app name, such as com.opera.browser
d. Replace the second com.whatever... (after /) with the package AND activity name, so it ends up as something like com.opera.browser.BrowserActivity
e. Do this for each activity name, until you end up with a list, under one <!-- -->, like this:
Code:
<!-- Asphalt 6 -->
<item component="ComponentInfo{com.gameloft.android.ANMP.GloftA6HP/com.gameloft.android.ANMP.GloftA6HP.GLGame}"
drawable="asphalt6" />
<item component="ComponentInfo{com.gameloft.android.ANMP.GloftA6HP/com.gameloft.android.ANMP.GloftA6HP.installer.GameInstaller}"
drawable="asphalt6" />
<item component="ComponentInfo{com.gameloft.android.ANMP.GloftA6HP/com.gameloft.android.ANMP.GloftA6HP.MyVideoView}"
drawable="asphalt6" />
<item component="ComponentInfo{com.gameloft.android.ANMP.GloftA6HP/com.gameloft.android.ANMP.GloftA6HP.GLiveMain}"
drawable="asphalt6" />
<item component="ComponentInfo{com.gameloft.android.ANMP.GloftA6HP/com.gameloft.android.ANMP.GloftA6HP.IGPActivity}"
drawable="asphalt6" />
g. Replace all of the things inside the drawable ""s with the name of the image inside the /res/drawable-hdpi folder, but without the .png extension, so for example, if you had an icon name like asphalt6.png, it would be asphalt6
8. Go back to the trunk1.0_ok folder and right click in a blank space, whilst holding shift. Click Open command window here
9. Type makeall into the command prompt that appears and hit enter
10. Wait for it to finish
11. Take the _signed.apk fron the folder and put it on you phone's SD card
12. Install it using your favourite file manager
13. Apply it in GOLauncher EX
14. Hit the thanks button
Thanks for this tutorial,
I am using your other ECLIPSE Template, is way better and faster. Anyway, this is even more work than with Launcher Pro / ADW Launcher Themes.
I don't know how the biggest Icon Pack for Go Launcher is, but I searched some and some of them are only 700kb big and the biggest and most popular ones are 2MB big. So I would say they include around 100-200 Icons.
My Iconpack fro LauncherPro includes right now 1300 ICONS and I try to port it completely to Go Launcher. The good thing is that it won't be so big as on LauncherPro.
Started today and got 100 Icons, wow a lot of work. Will do some more tomorrow and maybe in a couple of days/weeks I can have all the Icons inside.
AND have not only the biggest LauncherPRO Icon Pack, but also the biggest Go Launcher Icon Theme
The/my iPhonious GoLauncher themes, have over 1400 icons, and 900+ of them theme from the drawer.
The theme also works with ADW, LP, CircleLauncher, DVR, and more.
if you guys look around, there are some serious resources that could help
docsparks said:
The/my iPhonious GoLauncher themes, have over 1400 icons, and 900+ of them theme from the drawer.
The theme also works with ADW, LP, CircleLauncher, DVR, and more.
if you guys look around, there are some serious resources that could help
Click to expand...
Click to collapse
maybe you can help us how to create a theme that works with alle Launcher like Go and LauncherPro
P.S. you said something about a iPhonious Theme, I can't find one for Go Launcher, only for MIUI, and there it is really easy to theme
Hi,
when i type makeall, i'm getting "The Device is not ready" msg...
Can anyone help me?
thanks
Ivan
You rock mate! Thank you Going to play around with this tomorrow!!!
Hope you don't mind, I'm using this to learn for the ics theme. Due to me having NO idea whatsoever what I'm doing
gannon5197 said:
Hope you don't mind, I'm using this to learn for the ics theme. Due to me having NO idea whatsoever what I'm doing
Click to expand...
Click to collapse
That's fine. Although, as Omega is based on ADW, you'd be better learning for that
Sent from my HTC Desire HD using xda premium
"Application not installed"
Hi...I followed your steps n also the guide (Go_Launcher_Template_V1.2.pdf) in the zip...
I get the signed .apk file... But when i try to install it on my phone it says "Application not installed"...
Any solution to this?...
My phone is Samsung Galaxy SL..with the official Gingerbread OS...
ammar786 said:
Hi...I followed your steps n also the guide (Go_Launcher_Template_V1.2.pdf) in the zip...
I get the signed .apk file... But when i try to install it on my phone it says "Application not installed"...
Any solution to this?...
My phone is Samsung Galaxy SL..with the official Gingerbread OS...
Click to expand...
Click to collapse
It doesn't actually sign it. Use zipsigner 2 from the market for that
Sent from my ARCHOS 80G9 using xda premium
Thanks Solved..!!
Quinny899 said:
It doesn't actually sign it. Use zipsigner 2 from the market for that
Sent from my ARCHOS 80G9 using xda premium
Click to expand...
Click to collapse
Oh Thanks...
Solved the Problem...!!!
Does anyone know how to make an adw icon pack compatible with go launcher?
All the activities need to be listed under the <!-- -->?
All the activities need to be listed under the <!-- -->? 'Cause i want to change the GO icon, the launcher main icon and some of the GO apps icons and hell, there are a lot of activities... (sorry for my english)
Wrong APK Created
So I followed the instructions and it does create an APK, but when I install the name is "Theme Template Go Launcher". Also the icons that I imported don't show up - only the icons from the trunk1.0_ok\res\drawable-hdpi folder install. HELP!
wxo said:
So I followed the instructions and it does create an APK, but when I install the name is "Theme Template Go Launcher". Also the icons that I imported don't show up - only the icons from the trunk1.0_ok\res\drawable-hdpi folder install. HELP!
Click to expand...
Click to collapse
I think you are supposed to put the icons into that folder
Quinny899 said:
I think you are supposed to put the icons into that folder
Click to expand...
Click to collapse
I did that and no luck. Also it seems to be creating an APK from the original files and not the ones that I modified.
wxo said:
I did that and no luck. Also it seems to be creating an APK from the original files and not the ones that I modified.
Click to expand...
Click to collapse
Try deleting the temp build files
Quinny899 said:
Try deleting the temp build files
Click to expand...
Click to collapse
Which ones are those?
delete bin/res before export
Hi,
I'm getting a weird issue with the latest Go Launcher. When I apply my theme downloaded from play store (or even by sideloading it), the folders and the home button in the app drawer go missing. i.e. only folder labels show up, but not the folder icon. When I tap the folder label, they do open and show the themed icons. So, only the folder icons go missing.
Please see the attached screenshot to understand what I mean.
Could anyone please tell me what could be wrong in my theme build? Am I missing any PNG or some entry in any xml?

[MIUI][MOD][GUIDE] statusbar carrier logo & pattern lock dots

I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE BY FLASHING THIS MOD. !THIS MOD IS ONLY FOR MIUI GB ROM!
FOR ALL OF YOU WHO WANT ONLY PATTERN DOTS, HERE IS FLASHABLE ZIP FOR CM7.2, NO NEED TO MOUNT SYSTEM
AS SOON AS CM9 GET STABLE ENOUGH FOR DAILY USE, I'LL TRY TO MAKE IT WORK ON IT
Hi, I made something for You! Now You can have anything in place of Your mobile carrier name on status bar! happy? ;d And also, now You can use pattern lockscreen, because I replaced those big black ugly circles with something much more subtle ;p screenshot's and flashable zip in attachments.
TODO:
I will make this tutorial n00b friendly as soon as possible, so no one will get confused I'm also planning to expand this thread with other modifications like center clock, carrier logo for cm7, and others...
MIUI & CM7 STATUSBAR CARRIER LOGO GUIDE
I assume that You are familiar with ADB and ApkTool
1. pull and decompile SystemUI.apk
2. go to .../res/layout and open status_bar.xml
3. remove this line:
Code:
<com.android.systemui.statusbar.CarrierLabel
4. find start of this line:
Code:
<com.android.systemui.statusbar.IconMerger
5. now You have to put this right above the line mentioned above:
Code:
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6. You can save and exit now
7. now open .../res/values/ids.xml
8. check if this line is present:
Code:
<item type="id" name="carrier">false</item>
if yes, move it to bottom, right before closing tag. if no, paste it there
9. save and compile SystemUI
10. go to .../build/apk/res/layout and drag status_bar.xml to SystemUI.apk (opened in other window)
11. do the same with ids.xml (that way You won't have to sign apk)
12. put image of Your choice in res/drawable_xdpi (it must be named "carrier_logo.png", put any letter corresponding to Your resolution instead of x, for example ldpi)
13. push SystemUI.apk and reboot, and You've almost done!
14. now You just install Carrier_Name_1.2.apk from here, open it, put space in textfield and press ok, then reboot and that's it!
for CM7 skip step 3, and edit line in point 5 to Your needs (android:layout_width="wrap_content")
*edit* best way to add carrier logo to cm7, is to resize your logo to 20px in height, and put proper number in "layout_width" and "layout_heigth" eg. if your logo is 20px in height and let's say 34px in width, it will be layout_width="34pix" and layout_height="20pix" (depends on your phones resolution, this one is for ldpi)
!note - if You can't compile it back, make sure that all files referred to in xml are present in folders (eg. carrier_logo.png)
to use Your own image as carrier logo:
-open SystemUI.apk from my flash with winzip, or any other similar program of Your choice
-go to /res/drawable-hdpi and replace carrier_logo.png with any image of Your choice ;p
Bugs: image stretches when signal is null (emergency calls only)
*reserved*
For future use
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
bookmarking....
ensoy said:
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Yeah, I will try to make it for cm7
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
ensoy said:
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
framework-res.apk/res/drawable-xdpi but I don't remember file names
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
ichambi said:
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
Click to expand...
Click to collapse
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
nishanty13 said:
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
Click to expand...
Click to collapse
Don't know why but my carrier label name still on my status bar.. I've changed it to blank ..
ooh it just happen when i scroll down status bar.. Anyone can help me?
ill be monitoring this thread
also OP it would be nice if you could write what files should be edited to make this, i know most people would appreciate it because of different miui patchroms and devices because it doesnt work properly on all devices i guess, i know mine got a bit messed up with both carrier logo and stretched picture under it
good work tho, thumbs up
edit: nvm OP, i decompiled your SystemUI and fixed it for my rom, looks nice now, thanks
Give Up .......
I give up. Been trying since morning to get carrier logo but in the end I got this.
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
nishanty13 said:
I give up. Been trying since morning to get carrier logo but in the end I got this.
View attachment 1025490
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
Click to expand...
Click to collapse
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
I will post full step by step guide today evening
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
kitrax59 said:
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
Click to expand...
Click to collapse
Try changing it with eri.xml in /system/data I hope it helps
i had to edit xml to make it work and look good, the measures were a little off but managed to fix them for my phone
attaching image with default theme
yackovsky said:
Try changing it with eri.xml in /system/data I hope it helps
Click to expand...
Click to collapse
Can't find that xml buddy..
yackovsky said:
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
Click to expand...
Click to collapse
Lol, I forgot.

[GUIDE] How to mod your Mms.apk (very easy)

This thread will show you how to completely mod your Mms.apk
I will update this thread with time.
This will be a very useful guide, but give me some time to edit it. Right now, it might sound very confusing.
If you want to check the versions of my mms.apk mods visit this: http://forum.xda-developers.com/showthread.php?t=1667615 or this http://forum.xda-developers.com/showthread.php?t=1772124
The mods work on all ICS roms and on various phones.
First of all, you need to know how to decompile and compile apks. So go ahead and download apktool. I will explain this better if it is needed, but there are plenty of tutorials on this already.
Ok then. Let's start.
Basically this is what we will do:
Push your framework-res.apk and Mms.apk from your current phone and rom. Or you can use some previously modded version like mine.
Install the framework-res.apk
Note: If the rom you're using has touchwiz, install the twframework-res,apk instead.
Decompile the Mms.apk you want to edit.
Apply the mods you want.
Compile the Mms.apk again.
Copy the edited files from the Mms-new.apk (the one you compiled) to the original Mms.apk using something like winrar or 7zip, but without extracting or compacting anything!
I will explain this with more detail if needed.
Now, for the detailed guide on how to apply each mod:
1. Change the color scheme. If you want to invert your background or text color read this guide here.
2. To send bigger sms without turning automatically into mms do this:
In /res/xml/mms_config.xml change this line to
Code:
<int name="smsToMmsTextThreshold">400</int>
That way you can type up very long sms and it will only convert to a mms when the lenght is the same as if you wrote 400 sms.
3. In the same folder, change this line as well:
Code:
<int name="recipientLimit">200</int>
This will make it possible to send the message to 200 people at the same time instead of 20 only.
4. To change the time stamps to the original time go to /smali/com/android/mms/transaction/SMSReceiverService.smali and change this line:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to this:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
5. To make the new-line button appear do this:
http://forum.xda-developers.com/showpost.php?p=21956763&postcount=25
Note: in some recent mms.apk you don't need to apply this mod as it already exists.
6. To change the size of the input window (where you type your texts): go to res/layout/compose_message_activity.xml and change this line:
Code:
android:maxLines="3"
to this
Code:
android:maxLines="5"
7. To add bubbles go here: http://rootzwiki.com/topic/21780-how-to-create-a-bubble-mms-app/
8. To change the avatar size or to remove the avatars from the message threads go to: mms/res/layout/message_list_item_recv.xml and change the width and height dimension. For example, to remove the avatar pic change the line to:
Code:
android:id="@id/avatar" android:layout_width="0.0dip" android:layout_height="0.0dip"
Repeat the same to message_list_item_send.xml
Recompile the mms.apk and test it
reserved.
reserved
Hello!
I tried (unsuccessfully) to mod Mms.apk.
I would just like to mod the autoconversion and the actual time of delivery, but I just can not activate them.
decompile, apply the changes to the xml file, the file smali, recompile and apply the reodex (I'm on FW stocks), Flash using .zip in recovery mode:
the apk work without any problem, but as if there is NO change!
Last time I checked that and resouces.arsc class.dex have actually been rebuilt, but the change still does not exist.
I used to deodexare Android kitchen, and autoapktool to decompile / recompile.
you can enlighten me?
thanks
ps: Android 4.0.4 ODEX stocks samsung N7000!
misha84 said:
Hello!
I tried (unsuccessfully) to mod Mms.apk.
I would just like to mod the autoconversion and the actual time of delivery, but I just can not activate them.
decompile, apply the changes to the xml file, the file smali, recompile and apply the reodex (I'm on FW stocks), Flash using .zip in recovery mode:
the apk work without any problem, but as if there is NO change!
Last time I checked that and resouces.arsc class.dex have actually been rebuilt, but the change still does not exist.
I used to deodexare Android kitchen, and autoapktool to decompile / recompile.
you can enlighten me?
thanks
ps: Android 4.0.4 ODEX stocks samsung N7000!
Click to expand...
Click to collapse
I don't use any kitchen, I use apktool and cmd, no complications, never fails if you're not using a vanilla custom rom, that might be your problem though
Will this work on Samsung Galaxy Ace running stock ROM 2.3.6 ?
.....same as title.
Thanks!!!
Hi, I am trying to mod my mms.apk so that my ported Korean ROM can send messages larger than 80 characters, but cannot find the line I need to change.
Could you please help me?
Many thanks.
I'm trying to learn how to decompile and recompile. Can you theme a tw sms for me?
Sent from my SGH-T999 using xda premium
How did you add emoji support?
And how did you replace the S3 smileys with new ones?
1982Strand said:
How did you add emoji support?
And how did you replace the S3 smileys with new ones?
Click to expand...
Click to collapse
I didn't add emoji, I applied my mods to a app that already had emoji support
the smileys are easy to fin, they are in one of the drawable folders
How can I increase the size of fonts in the bubbles. I find they are a bit too small. Font size is find on rest of phone. I am using one of your modded Mms.apk with bubbles and avatars. Thanks in advance and hope you can help.
Difusal,
I'm fairly new to (edit: tweaking) android to set it up how i like it. Before i unlocked my verizon droid incredible, whenever i sent an mms message, it would automatically turn on my 3g data connection to send the message and turn it back off (or leave it on if it was already on). Do you know how i could emulate this behavior in the mms.apk? I have already decompiled it, but i don't even know where to start looking.
thanks.
R: [GUIDE] How to mod your Mms.apk (very easy)
Interesting, it is possible to add a popup when I received message, if mms.apk not have?
My phone have a particular story, I have an LG optimus black, and Korean version of ics have a mms.apk with message popup receiver, European version not have.
What .xml or drawable I need to seen? You know?
Inviato dal mio LG-P970 con Tapatalk 2
can u teach me how to edit my mms.apk to be like that...im on gingerbread
Alright let's see if I can fix the jumbled garbage when we recieve messages over 160 characters that comes to us samsung epic 4g touch users flashed to different carriers
[ IMG]http://img.tapatalk.com/d/13/03/12/nynysypu.jpg[/IMG]
Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
How do I write a 160 character message?Since my Korean phone manufacturer only write messages up to 80 characters.Show me how to edit and write up to 160 characters.Actually I do not know where to search and edit
Thank you very much and waiting for any solution
Android version I'm using 2.3.x SAMSUNG korea
Help me:crying:
need any solution to edit code, stringxml
Good compilation of MMS mods. Nice for all to be in one thread.
Thanks.
Sent from my GT-I9300 using xda premium
Avatars
Hello, Great Post!!
But, I hate to do this... I can't get to compile my mms.apk, Can someone help me removing the contacts avatars? I can send the apk
Im so sorry and embarrassed... Thanks in advance

[GUIDE] [TUTORIAL] How to Modify Theme Engine APKs (Windows only) [CM10.x Themes]

HOW TO MODIFY THEME CHOOSER APKs (Windows only)
this thread was created to help my HUEsers modify my theme.apk, (may be applicable to other themes as well)
to get familiar and exposed on the contents of it and basic filenames / codes inside the apk,
because some users are not fully satisfied with my releases
some want additional stuffs added, some want to change some parts/areas, some want to remove specific apk being themed,
as much i want to help and provide modified themes for you, i may be busy most of the time,
and i can't even grant all your requests
so i decided to start the thread to help you guys, guide on how to mod it,
and who knows, one of these days
you will become one of the Recognized Themer of XDA,
enjoy and i hope you found this useful
WARNING!!!:
use this guide for your own use only, if you wish to release in public and start a new thread,
PLEASE ASK PERMISSION TO THE DEVELOPER and GIVE PROPER CREDITS AND LINKS
and DON'T modify and release their paid/donate version themes, RESPECT PLEASE!!!
WHAT YOU WILL NEED?
Java Platform (JDK)
Android SDK (included in ADT Bundle)
Notepad++
APK multitool - thanks @raziel23x
modified aapt.exe - thanks @titanic_fanatic
SETTING UP...
1. now that you have downloaded all the tools above, install jdk, sdk, and apk multitool one by one,
(instructions must be on their individual websites) you may want to install them all in the root of your drive C:
2. once you are done installing apk multitool, grab the aapt.exe you downloaded in the link above
(please thanked @titanic_fanatic on his post and work - this is a modified aapt.exe that lets you compile upper case package names)
and put/replaced existing aapt.exe in APK-Multi-Tool/other
LET"S DO IT!
decompiling theme (Hue.apk for ex)
1. put Hue.apk in APK-Multi-Tool/place-apk-here-for-modding
2. double click Script.bat in APK-Multi-Tool
3. press any key
4. press 9 (Decompile apk)
5. go to APK-Multi-Tool/projects and you will find a folder named Hue.apk
6. that's it, you have just successfully decompiled my theme and time to do the edits
7. don't close script.bat
modifying apk
1. this is the time you will do your modifications (changing/adding/deleting images and codes)
2. i will discussed most important parts of apk in post #2 to keep this instruction short and clean
3. don't close script.bat
compiling / signing / installing
1. on your phone, go to settings > developer options > and check usb debugging
2. connect your phone on your pc / laptop
3. now in Script.bat opened, select 15 (this will compile, sign and install your modified theme all at once at your phone)
4. that's it, check your phone using your modified theme
5. congratulations!
6. btw your modified apk is located in APK-Multi-Tool/place-apk-here-for-modding as signed_Hue.apk (you can rename it)
MY THEMES
Hue
Asul
SimpleSoft
HeKi [Hello Kitty]
CREDITS / THANKS
Learned from their threads:
anthonycr
nhnt11
ebs512
BASICS INSIDE THE APK
3 basic file types/extensions we will be dealing with most of the time
1. .xml - color codes, image redirections, are inside this file (use Notepadd++ to open such files)
2. .png - these are the images/icons we usually see on most part of the phone ui (open using photoshop/gimp and dont edit using paint or you will lose its transparency background)
3. .9.png - stretchable pngs that expand or shrink depending on the usage (these images has a black pixel boarder that needs to be preserved, or else you will be having error in compiling)
color codes (hex codes)
quick overview of color hexcodes (range - 0 1 2 3 4 5 6 7 8 9 A B C D E F)
#FF000000 as an example (represents black while white is #FFFFFFFF)
FF or the first two letters of the code represents its transparency 00 means full transparent while FF is opaque (im using 88 or 80 for semi transparent)
next 6 digits are the RGB color code, look at this way #FFRRGGBB
if you want solid red, use #FFFF0000, solid green #FF00FF00, solid blue #FF0000FF
just play with the color codes (im sure you have just played with it in most of the rom options)
decompiled apk
once you decompiled apk, you will noticed a folder named res (this is our main concern, we will be working with this folder all the time)
inside the res folder...
there are lots of drawable-** folder that contains all of our images (.png and .9.png),
most of the icons are located in drawable-xhdpi and drawable-hdpi,
you can also find values folder containing some xmls such as
styles.xml - this xml is where i usually make my inverts of ui (from holo.light to holo for example)
drawables.xml - some color codes were redirected here
colors.xml - some of the hex codes inside styles.xml were redirected here, most color codes inside drawable folder and color folder are also redirected here, so i can only have one place of editing when converting color codes on my color versions of themes
next is the xml folder
xmls inside this folder controls the apps being themed, you can find package names of the apps as the xmls filenames
if you will noticed, there are some xmls here having upper cases, that's why we need the modified aapt.exe (again thanks titanic_fanatic)
last is the mipmap-** folder
this folder contains all the themed launcher icons, i already redirected all my themed app's launcher icons here
file names
how do i named the images? let's put an example
go to res/xml and look for com_android_calculator2.xml
now this is the xml that controls my themed calculator, if you open up the xml via Notepad++ you will notice the original png file names being replaced by my own themed png through a line code
this line for example (this is the delete icon in calculator)
Code:
<item name="drawable/calc_clear_symbol">@drawable/calculator_calc_clear_symbol</item>
the stock/original png which is calc_clear_symbol.png under drawable-xhdpi folder
Code:
<item name="[B][COLOR="Red"]drawable/calc_clear_symbol[/COLOR][/B]">@drawable/calculator_calc_clear_symbol</item>
is now being replaced by my themed icon calculator_calc_clear_symbol.png under drawable-xhdpi folder
Code:
<item name="drawable/calc_clear_symbol">@[B][COLOR="Red"]drawable/calculator_calc_clear_symbol[/COLOR][/B]</item>
i just put a prefix calculator_ so i can easily locate where they are when modifying
**most of the themes out there uses the app's package name as their prefix
for example...
in my theme i use
Code:
<item name="drawable/calc_clear_symbol">@drawable/[B][COLOR="Red"]calculator_[/COLOR][/B]calc_clear_symbol</item>
but others and most of them use
Code:
<item name="drawable/calc_clear_symbol">@drawable/[B][COLOR="Red"]com_android_calculator2_[/COLOR][/B]calc_clear_symbol</item>
i just make it simple the way i can easily search them in my drawables folder
IT'S MODDING TIME!
i will show you some examples and what file to edit with these mods
again file names of images may vary depending on theme,
but package name under res/xml are standard on all theme
before you begin modifying, delete Public.xml in res/values folder
remove themed launcher icons
delete these two folders
res/mipmap-hdpi
res/mipmap-xhdpi
remove themed specific apps
for example you don't want my themed keyboard and prefer stock aosp keyboard look
delete the xml of the apps you want to be removed, in our example keyboard which is
com_android_inputmethod_latin.xml in res/xml folder
change background of system and dialer
prepare your custom background (make sure you have the right size as per your screen resolution)
hdpi - 480x800
xhdpi - 640x960
and name it as
contacts_background_dial_holo_dark.png and framework_background_holo_dark.png
and replaced existing backgrounds in res/drawable-nodpi
change notification background
the image for that is system_notification_panel_bg.9.png located in res/drawable-xhdpi
note that this is a .9.png, be careful in editing and preserve the black 1px boarder of it
however you can bypass the image if you want to make it the stock look or pure black look
open com_android_systemui.xml in res/xml
look for the line
Code:
<item name="drawable/notification_panel_bg">@drawable/system_notification_panel_bg</item>
you can see that it was redirected to my themed image system_notification_panel_bg.9.png
if you prefer the stock background look, just delete that entire line
if you want it to be pure black, remove the redirection to the custom image and this time redirect it to hex code instead
Code:
<item name="drawable/notification_panel_bg">#FF000000</item>
change (non connected to google server) signal back to grey
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
i will update this post on my free time and depending on users concern
just ask here and i will see if i can answer all areas, sometimes i can't remember what file/png i've changed
---
Looks good
Keep up the good work
Edit: Added to the RootBox Jelly Bean Mods thread http://forum.xda-developers.com/showthread.php?t=1806577
Very nice, thank you
Sent from my Nexus 7 using Tapatalk HD
Bookmarked for the weekend! Thanks, kroz!
thanks guys, i hope you'll learn something in this thread
thanks a lot for your guide. it will help us A LOT.
but i tried to decompile "hue_2.8.apk" twice, but it showed error.
i decompile some other apps' apk files and it's ok.
yaibakt said:
thanks a lot for your guide. it will help us A LOT.
but i tried to decompile "hue_2.8.apk" twice, but it showed error.
i decompile some other apps' apk files and it's ok.
Click to expand...
Click to collapse
what error?
can you try to rename first Hue_2.8.apk to Hue.apk and decompile again
kroz said:
what error?
can you try to rename first Hue_2.8.apk to Hue.apk and decompile again
Click to expand...
Click to collapse
the 2nd time i tried, i renamed it to Hue.apk already.
ive been using this software to mod some other apps before. but this is error on mine:
yaibakt said:
the 2nd time i tried, i renamed it to Hue.apk already.
ive been using this software to mod some other apps before. but this is error on mine:
Click to expand...
Click to collapse
try to update your framework-res.apk in /other folder
replaced it with your rom's framework-res.apk (android 4.2.2)
Salamat.
How about the clock? If I want to make it the default one. Thanks
JeraldPenus said:
Salamat.
How about the clock? If I want to make it the default one. Thanks
Click to expand...
Click to collapse
which clock?
kroz said:
try to update your framework-res.apk in /other folder
replaced it with your rom's framework-res.apk (android 4.2.2)
Click to expand...
Click to collapse
still no luck. i get framework-res.apk from my phone at folder /system/framework/ and copy to the other/ folder of apk multi tool, and try to decompile again, but still error.
Just changed background for dialer and settings:laugh:
Wow. I knew before its a lot of work what you do... but its huge work(after I saw how many .png`s there)!!!:good:
Thanks for lesson Mark
yaibakt said:
still no luck. i get framework-res.apk from my phone at folder /system/framework/ and copy to the other/ folder of apk multi tool, and try to decompile again, but still error.
Click to expand...
Click to collapse
hmmm, maybe you can try to check this thread
http://forum.xda-developers.com/showthread.php?t=1310151
i am not expert on the tool itself, maybe the developer could give some suggestions
rtimoff said:
Just changed background for dialer and settings:laugh:
Wow. I knew before its a lot of work what you do... but its huge work(after I saw how many .png`s there)!!!:good:
Thanks for lesson Mark
Click to expand...
Click to collapse
there are lots of images, and i already deleted thousands of repeated images and just redirect those
to make the file smaller,
5 months in existence
kroz said:
there are lots of images, and i already deleted thousands of repeated images and just redirect those
to make the file smaller,
5 months in existence
Click to expand...
Click to collapse
yeah, titanic work
Mercado_Negro said:
@kroz
I just noticed that the signal bars are always blue (using HueLite2.8), which is weird because I've been using your theme for a couple of versions and this is the first time I notice this. You can read my specs on my signature below.
I follow the color change from grey to blue and viceversa to check if there's Internet on my phone.
Could you please tell me if I can edit this using your guide and what should I change if that's the case? It would be great if it followed the color conventions in the official version, though.
Thanks in advance, sir.
Click to expand...
Click to collapse
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
kroz said:
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
Click to expand...
Click to collapse
Grrr... I'm limited to 8 thanks per day.... Thanks a ton, kroz! You're da man!

How to reduce the font in the lockscreen clock???

Hello everyone, I was wondering how shrink the character clock and date on the lock screen ... Can someone explain what to change?
I have the original version 2.3.6 Gingerbread.
I'll post a picture. I edited with Paint to understand the idea.
Who can help me?
Is there anyone could answer at my question?
I
dnasalentino91 said:
Is there anyone could answer at my question?
Click to expand...
Click to collapse
Simple answer, I think no one knows on our forum. See if someone did it with some more popular phone. Like S2, S3... If it is done there, it should be possible for our phone. It need some modding, change in some xml if it is even possible.
I think you should find xml for lockscreen in framework-res.apk, and see if there is possibility for font size change. And after that there is question is there way to put it in place where you put it in picture.
Sent from Galaxy S Advance I9070
So should I do a search in the sections dedicated to Galaxy SII and Galaxy SIII?
dnasalentino91 said:
So should I do a search in the sections dedicated to Galaxy SII and Galaxy SIII?
Click to expand...
Click to collapse
You should search all over xda, for GB TouchWiz modification of that lockscreen. And if you find it, you can't use that, our framework need to be moded like that.
Sent from Galaxy S Advance I9070
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
adamuadamu said:
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
Click to expand...
Click to collapse
How do unzip a file .apk?
(On your PC) Just use WinZip or 7zip to open the APK file.... Go to your destination folder.. Drag and drop it on where ever you want... Open it.. Make the changes... And put the folder back in... Therefore replacing the original one..
Note that this can be done only for replacing normal PNG or JPEG files.. For editing anything else you will have to decompile the apk and do it
Sent from your Phone using the XDA Developer's app
adamuadamu said:
it should be in /system/framework/framework-res.apk; unzip it, go into drawable-hdpi, edit files "zzz_unlock_clock_[number].png" to suit your taste, push it into zip, rename to .apk, push to system, change permissions to 644 and reboot
Click to expand...
Click to collapse
Thanks for the answer but now it appears so
Please use a Transparent PNG file and the white background should disappear
I think you just resized the original PNG file using something like MS Paint.... Just use Microsoft Office Picture Manager or anything similar for this...
Or use the software tool Fast Stone Image Resizer (sorry I forgot the exact name) for Windows.... Its pretty simple to use..
Its better if you still have the original backup of the original framework-res.apk... Because you can't use your new PNG files as you might need Photoshop or any advanced photo editing software to remove that white background.....
Sent from your Phone using the XDA Developer's app
Sami Kabir said:
Please use a Transparent PNG file and the white background should disappear
I think you just resized the original PNG file using something like MS Paint.... Just use Microsoft Office Picture Manager or anything similar for this...
Or use the software tool Fast Stone Image Resizer (sorry I forgot the exact name) for Windows.... Its pretty simple to use..
Its better if you still have the original backup of the original framework-res.apk... Because you can't use your new PNG files as you might need Photoshop or any advanced photo editing software to remove that white background.....
Sent from your Phone using the XDA Developer's app
Click to expand...
Click to collapse
I just resized the original file ... She says that instead of resize with "Paint" I have to do with other software specific to that type of change?
Photoshop, Gimp... Save it in transparent png.
Послато са GT-I9070 користећи Тапаток 2
@OP: I'm a dude.... I'm a "he"
As I told you before; to only resize your PNG files use Fast stone Image resizer... (google it!!) And for any advanced image editing use GIMP or Pinta (if you find GIMP hard to use)
Sent from your Phone using the XDA Developer's app
Sami Kabir said:
@OP: I'm a dude.... I'm a "he"
Click to expand...
Click to collapse
Oh my god! Sorryyyyyy!!!! I'm using Google Traslator and this sometimes confuses the words

Categories

Resources