Search This thread

Papa Smurf151

Senior Member
Feb 24, 2010
5,643
6,741
Atlanta
This is the first .9 I've ever edited. Changed status bar from blue to gold. For some reason there is a gap around the image...

cff4b3c4-397c-166a.jpg

Need to make sure you are patching the .9 file and then compiling it. see my guide from the OP
 

ssojyeti2

Senior Member
Jan 27, 2011
3,374
2,945
Miami
because there's either no patch or the .9 isn't compiled (or both). try following my tutorial in the 2nd post. it's good for single or a few pngs like u have.

That's what I'll do I used a different tutorial but now I'll try yours.

Need to make sure you are patching the .9 file and then compiling it. see my guide from the OP

I'm pretty sure I patched and then compiled but something obviously went wrong so maybe I didn't.
 

vanessaem

Retired Senior Moderator / Inactive Themer
Jun 7, 2010
13,152
13,993
Missouri City
More mms.apk issues...lol. What would be the reason why a modified mms.apk would not show up in a rom even though I put it in /system/apps and fixed the permissions?
 

vanessaem

Retired Senior Moderator / Inactive Themer
Jun 7, 2010
13,152
13,993
Missouri City
Which ROM? and dumb question but is it signed?


Not a dumb question because no I didn't sign it...lol. That very well could be the issue too.

Edit: Cool...that was it. What's strange is sometimes apk's work without being signed but now I know what to do if I have this issue. Thanks again steal. :)
 
Last edited:
  • Like
Reactions: steal25

GrimReaper24

Retired Forum Moderator
Feb 10, 2011
5,500
1,087
Not a dumb question because no I didn't sign it...lol. That very well could be the issue too.

Edit: Cool...that was it. What's strange is sometimes apk's work without being signed but now I know what to do if I have this issue. Thanks again steal. :)

I been using the original sigs . Works on everything so far.

Sent from the Reaper
 

ssojyeti2

Senior Member
Jan 27, 2011
3,374
2,945
Miami
Ok I edited the .9, there was no border around it this time so it seemed to work, but I put in in an apk and tried to compile it and got errors...

Edit: nevermind I got it:D

cff4b3c4-735c-d446.jpg
 
Last edited:

aedon

Senior Member
Jan 28, 2011
526
222
Austin Tx
Ok I edited the .9, there was no border around it this time so it seemed to work, but I put in in an apk and tried to compile it and got errors...

Edit: nevermind I got it:D

cff4b3c4-735c-d446.jpg

Nice. I skined that image for my theme as well, im curious tho, how does that bar look in portrait?
I don't remember what areas stretch since I changed the patch lol

Sent from my PG86100 using xda premium
 

ssojyeti2

Senior Member
Jan 27, 2011
3,374
2,945
Miami
Now I'm getting decompiling problems with apkmanager and apktool. When I try decompiling the base StockHTC.apk from knightwolf with apkmanager I get in the log: HTC.apk==None was unexpected at this time.

Then apkmanager closes. I know I have the right framework installed, but now also when I try recompiling modded apk's, I get errors with the public.xml.
 

il Duce

Inactive Recognized Developer / Retired Forum Mod
Feb 25, 2009
16,727
16,454
Twin Cities, MN
Now I'm getting decompiling problems with apkmanager and apktool. When I try decompiling the base StockHTC.apk from knightwolf with apkmanager I get in the log: HTC.apk==None was unexpected at this time.

Then apkmanager closes. I know I have the right framework installed, but now also when I try recompiling modded apk's, I get errors with the public.xml.

Post the errors.
 

knightwolf123

Inactive Recognized Themer
Feb 16, 2011
2,686
2,948
/home/front-porch
Google Pixel 6 Pro
Now I'm getting decompiling problems with apkmanager and apktool. When I try decompiling the base StockHTC.apk from knightwolf with apkmanager I get in the log: HTC.apk==None was unexpected at this time.

Then apkmanager closes. I know I have the right framework installed, but now also when I try recompiling modded apk's, I get errors with the public.xml.

I hate when that happens. That's why I always keep two or three back up copies of original files.
Not sure what causes issue though.

Sent from my PG86100 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 93
    Have you ever looked at your phone and thought: "God, Sense looks like anus", or "I don't want my phone to look like everyone else's".

    Have you ever thought to yourself: "I bet that I can do more to make my phone look KICK BUTT". But you had no idea where to start, or what to do, and are afraid to ask someone for fear of looking like an inconsiderate n00b.

    Well, this is the place for you!

    What we have done here is, create an environment to which both n00b and experienced "KICK BUTT" modifiers can coexist and help each other. You will find in this "guide" (whatever you want to call it) numerous tutorials, tips, tricks, and bleeding edge ideas for you to make your android phone the coolest on the block.

    We literally have gathered some of the greatest minds in android modification, and locked them in cages with nothing more than a phone and a laptop. We have a guard that stands at each cage and pokes them with one of those electronic cow prods to make sure they stay attentive.

    Ok. Not really. What we do have though, literally is some of the greatest minds in android modification and development. They frequent this thread for the camaraderie, the respect, the ideas, and to help each other become better at their trade. This thread has spawned some great mods for android, and it will continue to do so.


    There really is only one rule, don't be a demanding little DOUCHE. You can ask for help, even ask if someone has already done and might be willing to share, but the first time you come in here with a sense of entitlement we will make your life a living hell and you will receive no help. Everyone in here is helpful, and generally fun to be around. So come in and hang out for a bit, you might just learn something.

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

    I may be the OP of this thread, but i know probably the least, I would like to take second and thank some of the people who make this thread what it is today.

    - team d3rp: il Duce, ranger61878, thoughtlesskyle, vanessaem, dkdude36, jdeloach, SteelH, fdb8231, Ajthescot, and me: I am fortunate enough to have some of the coolest people on this little team that I am a part of and I am truly thankful for their friendship.

    - team Bad Seed: fernando sor, jeffsanace, and silverxbv2: there are a lot more of them, but those are the regulars that frequent this thread. They have one of the most KICK BUTT teams out there, and the input they provide is legendary.

    - tommytomatoe: this is the guy who will literally make you crap your pants when he shows up, he is that good.

    - Vinchenzop: a guy who is on the same level as ole' tommy up there, he will blow your mind.

    - steal25: this guy is crazy good, always helping people, and his wealth of knowledge is insane.

    - mayfield103: a themer's themer, you won't hear from him for a couple days and then he shows up with something makes your head spin.

    - thesparky007: another guy who makes some great stuff, and contributes like crazy in this thread.

    - dased14: this guy has done some super cool stuff, you should see his boot animations.

    - knightwolf123: this guy literally has a thread with 17 skins in it, that includes a guide to make skins. Tell me that's not over the top awesome.

    - hockeyfamily737: unofficial d3rp, specializes in MIUI, dude does some good crap.

    - dropzeroc: one of the newest people to this thread, and already he is bringing the heat.

    - reaper24: another newcomer, who is already sharing what he has and producing some great stuff.

    - Max_Pain, Papa Smurf151, gomorrah, triscuit1983, -shift-: these are some of the other guys that come in here from time to time, each one of them epic in their own right.

    If there is anyone I forgot, I apologize, I will get you in. I blacked out a little bit, I didn't realize how many people are actually involved here, this is amazing. Thank you all for your contributions, it means a ton to me and to this community.

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

    You will find in post 2 some of the linked posts to guides, tutorials and walk throughs, almost all written by the people in this thread. I can not explain enough the amount of knowledge in this thread. And again, We are here to help, not to do it for you, but to help you learn to be awesome.
    50
    Ok here is a list of guides that are throughout this thread, as well as ones that are linked throughout the thread. If there is a guide you think should be linked post the link in this thread and we will look at getting it added. Thanks to everyone who is helping out and typing up guides for this and just helping with general questions.


    Guide/Tutorial Links
    Fernando Sor's "text color guide"

    pstevep's "m10 and you (a love story)"

    Vinchenzop's "metamorph guide"

    Average Joes' Notification Dropdown Text Color Changes/Status Bar Changes (Sense 3.0) Tutorial

    il Duce's post linking multiple tutorials bunch of links, just check it.

    theimpaler747's Want to learn how to theme [Guide]

    KBanause's Guide for Android 2.3 for aosp

    freeza's transparent notification pulldown guide

    tommytomatoe's What You Know about Rosie

    platinumandroid's themebuilding101.txt

    steal25's adb tutorial links and skin tutorial

    eg1122's guide to sense 3.0 editor

    hockeyfamily737's Miui Theme Guide

    dkdude's .9.png editing guide

    fernando sor's hex editing guide

    eg1122's change dialer text doc

    whiterider13's odex info

    fernando sor's custom background or text tutorial

    eg1122's how to setup sense 3.0 editor

    slayer69's .9.png doc

    Papa Smurf151's .9.png addendum

    steal25's How to zipalign

    steal25's twrp 2.0 theme info

    dased14's bootanimation guide

    tommytomatoe's sense transparency guide

    knightwolf123's Skins thread and Skin guides

    genetic_shift's lockscreen background png name

    jeffsanace's M10 modification tutorials

    dropzeroc's Guide to enable wallpaper scrolling and disable carousel animations

    dropzeroc's mod for wallpaper scrolling and disable carousel animations

    TOOL LINKS

    - Papa Smurf151's {Dev Tools} Everything Android
    - tommytomatoe's Android Utility for linux/mac
    - Papa Smurf151's version of apk manager
    - links to Xultimate
    - 7zip - I use it all the time, you can alter zips quickly and easily.
    - M10 Tools - If you are going to theme sense 3.0 at all, you will need this.
    - Notepad ++ - Essential for editing xmls, scripts, etc.
    - gimp - Great tool for editing images, especially if you don't want to pay for photoshop.
    - APK Tool - For decompiling and recompiling apks.
    - APK Manager - It incorporates APK Tool, but makes it a little more user friendly.
    38
    text color guide

    i will use this post to cover text color changes along with a few other tidbits.

    although a tutorial on apktool has not yet been posted on this thread there are numerous threads on xda concerning it. this is slightly more advanced then image swapping so i wouldnt make this your first stop on learning how to theme. if you are new i would check out the thread posted on image swapping and the use of 7zip.
    with that said assume that all direction on system and app text color is assuming you have decompiled your apk


    oh and fyi im not big on certain punctuation. my apologies to the ocd crowd

    first rule!

    as the op states this thread is a guide. i will not do the work for anyone. if thats what you want then your on the wrong thread. i want to go in a different direction so im scaling back on the work ive been doing. it would be nice tho to pass some of the apps i do off to someone eventually.

    a few tips

    *a.o.s.p - android open source project
    *apk - android application package file
    *xml- Extensible Markup Language
    *htc sense- an overlay library or skin htc builds into android operating software.
    *fusion- a library htc has built into sense for the purpose of applying skins

    the basics

    *all android applications have a manifest. it sets permissions, applies themes, lists the package name and package icon and version code.
    *unless it is framework apk's all applications will have resources (res) and sources (classes.dex otherwise known as smali when decompiled). the sources for framework-res.apk and com.htc.resources.apk are located in the framework folder of each rom. services.jar is the sources for framework-res and com.htc.framework.jar is the sources for com.htc.resources.
    * each compiled application also has the file resources.arsc. this when decompiled displays the values folder. this is very important as it contains a few crucial xmls. i am not listing all just the ones we will be dealing with. those are-

    *colors
    *drawables ( this is not present in every apk. please dont confuse this with the drawables folder in res)
    *ids
    *public
    *styles

    my motivational speech
    this can be daunting at first but stick with it! it will begin to make sense.

    the areas that usually contain text color in an apk

    *the res/colors folder- this is a folder not an xml and not to be confused with the colors xml in res/values
    *res/drawables- though rare some text color is at times in xmls in this folder
    *res/layout
    *res/layout-hdpi
    *res/layout-land (landscape xmls)
    *res/layout-port
    *res/values/colors
    *res/values/drawables
    *res/values/styles-this is very important xml and often times under utilized

    * on rare occasions the raw folder may contain a decompiled file that contains code. gmail is an example of this.

    and of course some text color values are found in smali. i will provide some tips and examples further on concerning this.

    RGB!

    RGB red green blue. this is very important to know.

    HTML colors are defined using a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB).

    The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF).

    HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign.

    when we are assigning color values for android xmls we need to assign an alpha value which is also a two digit code that precedes the six digit hex value.

    so for example straight android blue would be #ff0000ff
    our alpha value (FF) sets the transparency with ff being zero transparency. because the red position and green position are 00 our code assigns the color blue because the blue postion or hex is ff

    an example of a softer blue and a code i have used for a while is #ff4283d8.
    42 is the green value. the lower the number the less its influence on the value.

    here is a link to a webpage where you can experiment with different values
    http://html-color-codes.info/

    applying the text color value in the res/color folder xmls

    when you are applying a color value in an xml in the res/color folder you will notice that most xmls will reference a color value in res/values/colors.xml

    here is an example in framework-res- res/colors/primary_text_dark.xml

    <?xml version="1.0" encoding="utf-8"?>
    <selector
    xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="false" android:color="@color/bright_foreground_dark_disabled" />
    <item android:state_window_focused="false" android:color="@color/bright_foreground_dark" />
    <item android:state_pressed="true" android:color="@color/bright_foreground_dark_inverse" />
    <item android:state_selected="true" android:color="@color/bright_foreground_dark_inverse" />
    <item android:state_focused="true" android:color="@color/bright_foreground_dark_inverse" />
    <item android:color="@color/bright_foreground_dark" />
    </selector>


    every color value listed is pointing to the xml in res/values/colors.
    this is pretty much the primary white text for android. if you look in res/values/color/bright_foreground_dark.xml the text value is #ffffffff

    you can change the referenced text color in res/values/color or you can do what i usually do and change the refernce to an actual value.

    so this - <item android:color="@color/bright_foreground_dark"

    would become this- <item android:color="#ff4283d8"

    or any hex value you wish to add

    applying the text color value in res/layout

    this is an area where you can get creative. learning how to change or hacking layout xmls is essential for modding certain apps. social networking apps like google plus and facebook have numerous background and text color changes that need to be made in layout or layout-hdpi.

    all xmls in the layout folders with text color value will have the line starting like this-

    <TextView android:textColor="?android:textColorPrimary" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="4.0dip" android:text="@string/enter_credit_card" />

    so look for <textView as you examine the xml. this is an example pulled from a decompiled android market. where the line begins <textView will tell you quickly where text color values are present and follow along that code line. this example is referencing a color value in framework-res. this is always undesirable for me. i want to control my text color internally in the app.

    so this- android:textColor="?android:textColorPrimary"

    becomes this- android:textColor="#ff4283d8" (soft blue again)

    often times you will just see android:textColor="#ffffffff" . the ffffffff is just an example. it could be any hex value. here you you just change the 8 digits to whatever you would like your color to be.

    always follow proper syntax <android:textColor="#ffffffff"> has to be exact.

    lets say you run into this situation. the xml is pointing to an area in your app that has an undesired text color. but when you search all you find is this-

    android:textAppearance="?android:textAppearanceLarge"

    you could change the android:textAppearance to android:textColor but you really dont want that. it is referencing a text size. so just after-

    android:textAppearance="?android:textAppearanceLarge"

    add this right after it with a one digit gap between them

    android:textAppearance="?android:textAppearanceLarge" android:textColor="#ffffffff"

    also make sure after the line you cut in has a one digit gap after it also.
    even if you add a text color in a layout xml after <textView that has no reference to text apperance or color it will still compile without errors. even if the change doesnt work. as long as you are on the proper line and using the correct syntax you wont bork anything.

    here is a tutorial on changing systemUI text color
    http://xdaforums.com/showpost.php?p=17093757&postcount=8

    there are always more tips that can be given but this should start you on your way to modding layout text color.


    applying text color changes in res/values/styles


    Sent from my PG86100 using xda premium
    22
    4x5 Rosie Mod

    Here we go again, as far as I know this hasn't been done on the 3d before. ( I could be wrong, don't know, but I haven't seen it) Let's get to it, actually a very easy mod.

    Assuming you have experience with m10 tools and apktool (apk manager)

    Open rosie.apk in m10 tools, in the list of m10 files find Rosie_Screen.m10 and decompile it. Once decompiled open all "+" tabs on the left side of the screen until you get to item. Click on item and on the right side of the screen under Known Properties find Cell padding Y= 60.000000 and click on it. In the edit box at the top of the screen change it to 80.000000. Now find number of cells on Y= 4.000000 click on it and in the edit box at the top of the screen change it to 5.000000.
    Back out and recompile.

    Not done yet. Now using apktool or apk manager, decompile rosie.apk.
    Once decompiled open res folder then values folder. Using notepad++ open integers. Now find "workspace_screen_cl_long_axis_cells">4</ integer> click on the 4 and change it to 5 and save the file. Now recompile rosie.apk resign and zipalign. Now you have a 4x5 rosie workspace thats all rendered correctly, no other re sizing needed. I hope you enjoy this mod, it's one I've actually been waiting for. ( Got tired of waiting LOL) Play around with it if you're comfortable, I have also been able to make it 5x5, 5x4 and even 4x6. The 4x6 makes some widgets overlap though.