Theming a rom? - HTC Amaze 4G

looking for a way to customize the theme/create a new theme for a rom. been searching the forums, google, and have yet to find a simple tutorial explaining at least the basics on how to get this done. anyone know where i can go to started on this?

xDC23 said:
looking for a way to customize the theme/create a new theme for a rom. been searching the forums, google, and have yet to find a simple tutorial explaining at least the basics on how to get this done. anyone know where i can go to started on this?
Click to expand...
Click to collapse
well a basic theme is made up of 2 kinds of modifications.
1- changes to the images in the framework-res.apk, systemui.apk, and the com.htc.resource.apk
2- changes to .xml files withing those .apk files.
An easy place to start would be getting a program like photoshop, gimp, or paint.net and making changes to the images within those .apk. then seeing the changes on your device by pushing the edited framework back onto your phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

ziggy46 said:
well a basic theme is made up of 2 kinds of modifications.
1- changes to the images in the framework-res.apk, systemui.apk, and the com.htc.resource.apk
2- changes to .xml files withing those .apk files.
An easy place to start would be getting a program like photoshop, gimp, or paint.net and making changes to the images within those .apk. then seeing the changes on your device by pushing the edited framework back onto your phone.
Click to expand...
Click to collapse
i had somewhat just gotten started on working with the framework-res with gimp. guess ill keep going n see what i come up with

xDC23 said:
i had somewhat just gotten started on working with the framework-res with gimp. guess ill keep going n see what i come up with
Click to expand...
Click to collapse
i added photos above
and yea, thats basically what you do. (it tends to be time consuming)
.xml's are mostly for text colors.

ziggy46 said:
i added photos above
and yea, thats basically what you do. (it tends to be time consuming)
.xml's are mostly for text colors.
Click to expand...
Click to collapse
i know i came back n saw huge photos pop up!
haha and i know. i saw how many photos im going to have to edit just to change the battery color! D:

Related

Tweaking Rosie Question

So...I have VinceOB's modded Rosie (centered all apps and no text, LINK) but would like to mod the delete, settings, and launcher icon.
I decompiled in M10, edited images in Rosie/assets/Port/scenes/Rosie_navbar (as attached) but when I put it back together, nothing sticks. I don't see the launcher in any of the regular res folders...am I missing something?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm basically looking for someone to tell me I'm stoopid or that the files I need are actually in Fusion.apk, which (obviously) we cannot mod, just yet.
You can't edit Rosie 3.6 images. It has to be done via the m10 editor. I'll mod it in a bit. I'm watching Wrestlemania. Lol wait, what exactly do you want edited?
I guess I don't understand what you're saying...in M10, all my images show after compiling and re-decompiling
awenthol said:
I guess I don't understand what you're saying...in M10, all my images show after compiling and re-decompiling
Click to expand...
Click to collapse
You can't modify images in Sense 3.6. In the newest leak the images are removed. What are you trying to accomplish?
I mainly just want to change out the plain-jane "all apps" icon...
awenthol said:
I mainly just want to change out the plain-jane "all apps" icon...
Click to expand...
Click to collapse
Can't. Ive tried.
VinceOB said:
Can't. Ive tried.
Click to expand...
Click to collapse
Mind if I ask how your modded background bar stuck, then? I changed that as well, just to see if I could get anything to stick, and it's stayed transparent....
awenthol said:
Mind if I ask how your modded background bar stuck, then? I changed that as well, just to see if I could get anything to stick, and it's stayed transparent....
Click to expand...
Click to collapse
I did that in the M10 code. I have something I wrote up on how to edit the navbar. Let me see of I can dig it up.
PM sent.
Don't worry about it...thanks anyway.
Very frustrating when HTC keeps changing all this crap so nobody can mess with it (guess that's the point).

[Themers Needed] Texture Hunt

Hey Guys,
I need some help finding a texture. I have been looking for it more than 5 weeks and I simply cant find it.
Take a look at those screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am looking for the greyisch texture on the right part of the settings app. Since its being used in some 3rd party apps I thought it should be in the framework-res.apk and I changed a whole lot of images, but that texture never was found.
Since its not the first time I ask this question, just FYI of course i have the holo background themed and the dark dialog files too. My Power menu is black, but I just cant find it. I also talked to some themers over in the transformer forums, but sadly I couldnt get the answer I was longing for -.-
Here is my framework-res.apk
Framework-res.apk
Plz, if you can help me take a look at my apk and tell me what I am missing.
Thanks in advance
backgrounds like that arnt images
itll be in a xml somwhere
look in the general ics theme xmls in framework
or try looking in the xmls in settings
to speed it up
take a screnshot then find out the hex code for that colour using the eye dropper on photoshop or somthing then just search that code in any xmls it could be in
BroBot175 said:
backgrounds like that arnt images
itll be in a xml somwhere
look in the general ics theme xmls in framework
or try looking in the xmls in settings
to speed it up
take a screnshot then find out the hex code for that colour using the eye dropper on photoshop or somthing then just search that code in any xmls it could be in
Click to expand...
Click to collapse
Ok I have the hex code, its #212126
could you possibly guide me to in what folder the xml is? values etc?^^
Nordpolcamper said:
Ok I have the hex code, its #212126
could you possibly guide me to in what folder the xml is? values etc?^^
Click to expand...
Click to collapse
itll be in layout-(whatever pixle density your device is) folder
or
this may be wrong
but they may have it as a set colour so look in the values folder for styles.xml
actually try this one first as itll only take a second
I searched in systemui, framework and settings, but I didnt get a hit in any layout folders or value folders
sorry dno then

[MOD] DefaultThemes For Xperia S ICS

Default Themes For Xperia S with ICS​
-- A little history --
Well I used to have a Xperia Mini Pro and i knew how to modify a lot of things... right now I'm barely starting to modify my XPS and trust me... its harder .
But I want to share with you this theme that it's JUST a test right now
I'm not an expert on photoshop, so for me it take a lot of time modify the preview images (actually i like to do the things in the complicated way.... and then realize that there is a method much more easy :silly:....)
But well, this is the first and right now the only theme I already done.... if I see that people start to request more well... perhaps dedicate more time on this (actually I'm planning to modify all the themes.... but I need a lot of time for it I think the 70% of the time maybe its to find an image that i like it ), since there is a lot of images I have to modify it really take time (its like 7 images FOR THEME), and I'm a very lazy person :victory:, maybe you say that its easy, well it is, but I like to take care of the details and I check so many times that all its perfect, because I put this on my phone and I like that looks perfect so I think you are gonna appreciate this too :highfive:
Click to expand...
Click to collapse
So let me show you what I'm talking about:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For me give it a new and a cool look to the phone I dont know what you think :silly:
How to install it???
FIRST of all copy the original themes to a secure place.... if you want to go back to stock one
You need to be a root user
1. Look out what colour scheme are you replacing, choose first another color (if you are going to change pink one, choose Gold theme for example, this for avoiding conflicts)
2. Copy the theme(s) you want to your phone (download it below, they contain the name of the theme, and what wallpaper is in it)
3. Open any file explorer you want (I preffer Root explorer...) and move the modified theme to /vendor/overlay
4. Modify the permissions to the following:
5. Change the name of the modified theme, to the stock one
5. Finally just move the modified theme into /framework, it will say that already its a file with that name, just replace it
6. That's all you need, now just choose your theme and see it working.
7. Give me five!!! :highfive:
--------------------------------------------------------------------
As you can see its pretty easy, please leave your comments below so I know what are you thinking, and give me efforts to be less lazy and modify more themes :fingers-crossed:, maybe in the future requests for images you like it are going to be accepted, just first let me finish my own modifications :good:
Nice Waiting for more

[SOLVED][PHONE.APK] Trying to theme incoming call screen

G'Day XDA,
Just wondering if anyone could please help me. I am trying to change the colour of the ring around the phone icon on the left hand side from this green colour to a different colour.
I have edited all the images in the drawable folders and edited all the xmls in the layout folders and values folder.
I suspect it might be smali code that I have to change, but that may as well be written in Swahili for me because it makes no sense at all.
I will have to deodex, edit and then reodex if it is in the smali folder which I am willing to do, but I want to change this colour.
If anyone can help I would greatly appreciate it.
Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: See 3rd post for the smali file to edit in order to change the colour of the ring
daveyannihilation said:
G'Day XDA,
Just wondering if anyone could please help me. I am trying to change the colour of the ring around the phone icon on the left hand side from this green colour to a different colour.
I have edited all the images in the drawable folders and edited all the xmls in the layout folders and values folder.
I suspect it might be smali code that I have to change, but that may as well be written in Swahili for me because it makes no sense at all.
I will have to deodex, edit and then reodex if it is in the smali folder which I am willing to do, but I want to change this colour.
If anyone can help I would greatly appreciate it.
Thanks.
Click to expand...
Click to collapse
searching for it too and cant find any thing on xda. iam sure its something with phone.apk not a .png too if you find any solution please tell me
Ahmed hamouda said:
searching for it too and cant find any thing on xda. iam sure its something with phone.apk not a .png too if you find any solution please tell me
Click to expand...
Click to collapse
I managed to find it. I had to deodex the apk (I'm using a stock odexed rom) and in smali/com/android/phone I had to edit a file called IncomingCallWidget$Handle.smali . I searched for the smali code for the green colour on the screenshot which is -0x9e5eeb (Hex code is #ff61a115) and I just changed it to the smali code for the colour that I wanted to change it to. Then I recompiled, re-odexed and voila!

[MOD][SENSE][AOSP][ICS]MIUI V4 Lockscreen for all ICS holo unlock roms

Howdy Lter's I've got a little treat for everyone.
Okay so this is pretty simple
what you need
archive manager [optional] (if you dont feel like recompiling apks via apkmanager etc (wont cover this here)
attached is a zip file with the images needed to pull of this modification.
so take the rom you want this mod on and extract framework-res.apk
place it in a folder, for things like this I usually put them on the desktop. so we'll name the folder senseframework
now make another folder, or download the attachment and extract
so now we have two folders senseframework and v4lock
open both folders side by side
here's the (not hard) but annoying part
in the sense framework folder after decompiling or extracting the apk navigate to res drawable hdmi xhdmi etc find the holo (white) lockscreen components, do note the files with in the zip may not exactly match in sense but it is easy enough to spot what is what, I search in explorer for lock and all the images needed to pull this off apear I believe. there may be the odd mms.png but when it's all in front t of you it's simple to spot. so now the renaming begins.{!DO NOT RENAME ANYTHING IN THE SENSE FRAMEWORKFOLDER OR AOSP!} the only renaming takes place in the miuilock folder. so yea you rename the miui images e.g. lock_phone.png in miui folder will be renamed to ic_phone_lock.png once youre done renaming the images in the miui folder you can then select all files in the folder and paste into the sense or aosp folder or drag and drop into the apk archive once thats all done the mod is basically done
I have not yet figured out the proper smali/xml edits need in ics to make some of the graphics found in the lockscreen on miui e.g. orange highlight etc
this is a little rough at the moment ill get around to posting screenshots soon
but basically you get the lock of miuiV4 on Aosp and Sense, for sense youll need to remove the htc lockscreen parts.
here are before and after shots
before
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after
Dev's, modders hackers kangers feel free to use this in your roms all I ask is that you credit me
and to make things easier Ill be editing the images for the mod well renaming them to the proper names for sense 4.+ and aosp
reserved
I got this one............just in case
Thanks man, very cool mod and nice tutorial as well
Sent from my EVO using xda premium
Awesome man. I have a special patch that may make this guide unnecessary though. It pushes images into compiled apks sort of like the villain Rom theme system, which unfortunately does not work on sense 4.1. Hit me up on gtalk if you want it...
Sent from my EVO using Tapatalk 2
Noob question of the day: Does this work with CM10 (or any other AOSP Jellybean ROM?)
psych0r3bel said:
Noob question of the day: Does this work with CM10 (or any other AOSP Jellybean ROM?)
Click to expand...
Click to collapse
yes.

Categories

Resources