Related
Hey guys...I don't know about all of you but I'm eager to start porting MattedBlues to and themeing my Nexus S!
I tried putting together a flashable theme zip but failed. Apparently I didn't have the update scripts setup correctly, but I'm not sure what I was doing wrong. I'm not good with the script stuff so I'm wondering if someone has or can make a flashable theme zip for me? Or if someone could point me in the right direction for properly doing the update scripts then I'm happy to figure it out. Once I have the base with METAINF (and proper udpate scripts), then I can get going on themeing this incredible device.
Thanks guys.
EDIT: SOLVED (I had to delete the 3 cert files in METAINF). Here's a sample zip (Zune Font Pack) that you guys can use a base: http://dl.dropbox.com/u/11901383/ZuneFontPack1223.zip
To use this as a base for your theme, you'll want to add a "framework" folder and an "app" folder to the "system" folder and then place the themed/modified apks in their respective locations. Happy themeing!
First off, BIG BIG thanks to dhemke17, this is only me adding to his guide.
How to Port Themes To Other roms:
First off, Slow down, relax, look at what you are doing, this is a generalization, if the xml, or image file does not exist
in the apk your trying to theme, do not add it, or subtract it, you add or subtract anything it will not work, YOU ARE ONLY
REPLACING!!(doin some math here is your ticket to boot camp)
1) Download 7-zip, or winrar as they can open .apk files without unarchiving them.
2) Download both the rom you want to theme, as well as the theme you want to port.
3) Using 7-zip, open the rom and pull out the following files:
a. Browser.apk
b. DeskClockGoogle.apk
c. GoogleQuickSearchBox.apk
d. Launcher2.apk
e. SystemUI.apk
f. Framework-res.apk
4) Make a separate folder and unarchive the theme your want to port there.
5) Open a theme .apk file(s), Open in 7zip or winrar, dont extract, just open and manipulate.(keep in mind, all your image
files you will need to replace will be in the following folders)
6) Open these folders in your themes .apk(s) files:
a. Drawable-mdpi (may be drawable-xlarge-mdpi/hdpi/nodpi)
b. Drawable-nodpi
c. Mipmap-hdpi
d. Mipmap-mdpi
7) Now, open the corresponding folders in the roms apk file,(agian, winrar, 7zip)
a. Select all images from the theme's .apk and drag-and drop to the corresponding location in your roms apk file.do this
for each image and you will be about 90% there…
b. If the image you want doe snot exist in the theme, use photoshop or gimp to produce it as you see fit, when your done
make sure you put it in the right folder, make sure its the same size and resolution and name as the original, or it will
not work!!!
8) There are several xml files that need replacing…
a. DeskClockGoogle.apk/layout-xlarge-land/desk_clock.xml
b. Launcher2.apk/layout-xlarge/
i. all_apps_paged_view_application.xml
ii. button_bar.xml
iii. customize_paged_view_item.xml
iv. customize_paged_view_wallpaper.xml
v. customize_paged_view_widget.xml
c. SystemUI.apk/drawable/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
d. SystemUI.apk/layout-xlarge/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
e. framework-res.apk/layout-xlarge/ keyguard_screen_status_land.xml
I your making a new theme or have nothing to port, you will need to decompile with apk tool to actually go in and edit values and colors in xmls
Below is the link to download a update.zip template, (how you and everyone will apply the theme)
By this step the structure of the folders inside of the update.zip should seem familier, just bare in mind anything you put
in there will 1. replace the existing 2. add if not there already. You will Open the update in winrar 7zip as well, if you theme an
app thats not a system app, it will go to update.zip/data/app, if it is a system app it will go to update.zip/system/app,
and the themed framework-res goes to update.zip/system/framework/
http://www.mediafire.com/?6getd70r869d7j1
Good luck, happy theming, if you need help PM me or dhemke7 and we'll see if its salvagable
Nice post...looks familiar lol...I would like to add a couple of things though since this was very specific for the the HoneyBread Theme:
Additional Steps:
1) Pull the images as described above
2) In order to determine what xml files were originally edited, one can arrange the folders by date modified and go through and find what xmls were most recently edited and pull them...OR
3) To modify the xmls yourself, you must use apktool to decompile the specific apk files. Once decompiled, you can actually read the xml files and you can edit them yourself.
Remember, when porting a theme, always give credit where credit is due and you should ask permission from the initial creator before posting. Have fun everyone...if you need any help with theming/apktool, feel free to contact me here or PM me and I will be happy to help.
Thank you thank you
So how hard do you think it would be to port the Matted Blues Theme? with jabbawalkee permission of course! Always been a fan of that theme.
Post a link, ill get it ported.asap...
Sent from my SCH-I510 using XDA App
what is the the theme from?
Its from CM...gbread...they just made it an apk to run on their theme engine. I would love to learn how to port the themes myself...I have read through this tutorial, but at some points I am getting lost. Here is the theme...I mean if you guys could help it would be awesome!
http://forum.xda-developers.com/showthread.php?t=768848
Ryan
you on this D? Let me know if there is anything I can do
MitchTank said:
you on this D? Let me know if there is anything I can do
Click to expand...
Click to collapse
I hate to say this, but there would be all sorts of compatibility issues being that the theme comes from a phone, which has different dimensions and sized images, they all have different names..it would honestly take forever to port. One would be better to completely redesign the theme for honeycomb. I don't have time for that right now
that is a good point, it is sweet though.....onward to the Charge
Id love to see this on the charge...if you plan on tackling this.beast, you have to modify the XML files yourself as aosp files aren't compatible.
Sent from my ADR6400L using XDA App
hey guys. I've been beta testing bigdx's zoom zoom theme for the galaxy tab 10.1. I've ported it to Caulkins touchwhiz km7 rom but I can seem to change the clock colors. Can you help me out?
on ours its in a values folder after recompiling with apktool
hey i was porting the aosp theme of galaxy s to galaxy fit....everything worked fyn xcpt one !! in main theme a green line comes below every power button of the pulldown status bar when it is switched on...i am just nt able to put it,pls help!!!
Sent from my GT-S5670 using XDA Premium App
Hello Devs,
I'm interested in making a few very minor modifications to the overall theme for my phone. I'm currently using FireFly, and although I like it for the most part, I'm not very fond of the current animation used to display dialogs.
I currently develop for Android, so I'm familiar with aspects of applying styles and themes to my own app as well as using styles from within the android.jar. I've read a few things about doing this, but I'm hoping there's a way to clear up some loose ends.
1. If I were to just open up and modify the main FireFly zip package, paricularly the files under /system/framework/framework-res.apk, would it be possible to to zip it back up, flash back to stock and then follow the usual procedure to install the Rom?
2. Is it possible to modify that .apk and just upload it directly to the my current rom?
3. Do I need to be concerned with apk signing?
Thanks to everyone in advance,
Jeremiah
Im not a moderator but I believe this should be in themes section or Q&A. =/
From what Ive done. You can modify the zip packages. Best results I'v had is using 7zip to modify them internally. Ive only modified images in them, and my little experience you have to keep the same amount of images it had from the beginning. Im not sure if that is changed by modifying the xml's or something else.
prbassplayer said:
Im not a moderator but I believe this should be in themes section or Q&A. =/
From what Ive done. You can modify the zip packages. Best results I'v had is using 7zip to modify them internally. Ive only modified images in them, and my little experience you have to keep the same amount of images it had from the beginning. Im not sure if that is changed by modifying the xml's or something else.
Click to expand...
Click to collapse
Damn it... I had a feeling I missed a section this would be belong more in, my eyes glazed right past the words Theme in the App/Theme section. A mod is more than welcome to move it, sorry for the mistake.
Thanks for the advice though
I haven't done any themeing myself mainly because I'm too lazy, but from what I understand based off what other people who do theme have said to modify the number of images you need to edit the corresponding xml file.
http://forum.xda-developers.com/showthread.php?t=1227179
Might help alleviate some of your worries about signed apks and what not.
Many of the colors are handles by XML. You will need to decomplie apks to modify xml files and then recompile them again.
You can use APK Manager to decomplie and recomple the APK packages.
Also, go through this thread.
PS: Request mods to move this thread to Q&A section.
Takes time to do it. I used to do a lot of themeing to roms but had to hang it up. You have to know what picture files to change and then what each line is in each .XML.
IlluminatedOne said:
Many of the colors are handles by XML. You will need to decomplie apks to modify xml files and then recompile them again.
You can use APK Manager to decomplie and recomple the APK packages.
Also, go through this thread.
PS: Request mods to move this thread to Q&A section.
Click to expand...
Click to collapse
Awesome, thanks so much for this, exactly the information I was looking for.
HOW-TO port he`stheone64 Themes
Since my new Galaxy Nexus arrives next week, I just wanted to say goodbye to a fantastic community right in time and offer the opportunity to keep my DHD Themes alive and updated by fellow users, while I`m "retired"
My Themes have been ported to a lot of other HTC devices during the last months, which makes me very proud. Anyway most of you will still use the DHD for about a year and some Themes like Honey HD, Revolution or Ice HD have a really large and loyal user base, who would surely appreciate using their favorite Theme until they switch to a new device.
I will post a HOW-TO in this Thread and would also like to appoint 1 guy responsible for each Theme (Elegant Blues, Code Red and Indian Summer will not be continued, let`s just focus on Themes, which are ready for Sense 3.5), who will then maintain a Theme of their choice. Since the main job is done, it`s not very compilcated to update them going forward (especially if focusing on only one), at least until ICS arrives (if...). Guys who are interested should at least know how to compile and have a little modding experience.
This will NOT be a general theming guide, it`s strictly limited to the tools and processes you need to port my themes to a new platform. Good news - this will help you porting Themes from other devices to DHD and add a little learning experience for some (future) Themers and modders
I also restrict this to the essentials, since really complex stuff like inverting Facebook, Google+ or invert menu`s would just be way to much coding, been there, done that...
Themes
REVOLUTION - http://forum.xda-developers.com/showthread.php?t=884888
HONEY HD - http://forum.xda-developers.com/showthread.php?t=1028813
ICE HD - http://forum.xda-developers.com/showthread.php?t=1339007
Credits:
The entire DHD community and especially ARHD & RCMix Team, who deliver fantastic ROM`s for us (also all other ROM dev´s)
My fellow Themers - we all had a steady communication channel and I was pleased to help and also grateful, when I got help
daneshm for Theme Porter & apkmanager
brut for apktool
pendo for compiling latest apktool
Tools:
apkmanager and / or apktool for decompiling apk`s and jar files
Theme Porter for batch updating pngs
SDK incl. tools
Photoshop and / or Gimp
PNGGauntlet in case you want to compress pngs
Winmerge to compare individual files
Kdiff3 to compare full ROM`s
multiupload.com - since it`s easy to download for users and you can track downloads
zipalign batch script - comes in very handy when updating full Themes
Preparation:
Copy latest apktool compiled by fernando (1.43) in OTHER folder of apkmanager or use it to directly compile. It´s compiled with latest SDK 14 and smali / baksmali sources and will work better with Sense 3.5 (and ICS) files as official version. Do the same also with latest aapt.exe and zipalign.exe from SDK.
Modded ICS apktool.jar - http://minus.com/mIA3OFkYq/17
zipalign batch script - http://minus.com/mIA3OFkYq/10
Unpack Theme porter to a location of your choice - http://minus.com/mIA3OFkYq/9
Unpack zipalign script and you may update the zipalign.exe with latest version from SDK
Download Winmerge and KDiff3 and install
Comparing ROM`s
Download current ROM and new ROM update
Extract both ROM`s
Open KDiff3 and select both folders (not file) and compare
KDiff3 will show you all files, that have been changed since latest update
Now you know which files you need to update (worst case ALL )
Tools
In this folder you find some of the tools I use frequently:
http://minus.com/mIA3OFkYq/
Files to port:
ALL which are part of my current Themes
Download my latest Theme and copy (don`t move - you need the themed png`s later to push them back to edited files) all apps in NEW app folder of THEME PORTER and framework files in NEW framework folder of THEME PORTER.
Now copy the same files of stock ROM in OLD folders of app and framework of THEME PORTER and hit the .bat. This will transfer stock pngs to the Theme and ensure, you don`t get compile errors later.
Now decompile only the following apk and do the same with apk`s from THE SAME stock ROM.
Then diff the apk`s I posted here in Winmerge (focus on xml I post here, also see "comparing files") and you`ll see all my edits.
Now edit all xml accordingly inside Winmerge. When you are ready delete all saved .bak files and compile.
Now use THEME PORTER to push the pngs from my old Theme to the new compiled apk´s and all other Theme apk´s.
Zipalign all apk`s and pack zipaligned stuff in my empty update.zip (which you can rename) and flash - zipalign script, just unpack zip, put all apk`s in this folder and hit the .bat
Comparing files
Decompile old and new changed file
Open Winmerge and select both decompiled folders and compare
Winmerge will show you all edits, that have been changed since latest update
Now you can edit inside Winmerge and update Code changes from Theme to the new file and compile
Once you`re done with all new files, follow the guide above
IMPORTANT: HTC does change a lot for nearly every base, so in 99% of the cases you will then need to trouble shoot since some layout files or styles do lead to other pngs then before, so you need to check carefully and then find out what you need to adjust.
Files to decompile and compare:
FRAMEWORK-RES NOTE: You need to add new custom png BEFORE you compile plus all new batttery icons
drawable folder:
progress_horizontal.xml
list_highlight_active.xml
stat_sys_battery.xml
stat_sys_battery_charge.xml
zzz_stat_sys_battery_1.xml
layout folder:
status_bar_latest_event_content.xml
values-hdpi folder:
styles.xml
BROWSER
BrowserSettings.smali
CALENDAR (only for 3.0 ROM`s)
values folder:
colors.xml
DOWNLOADPROVIDER
layout folder:
status_bar_ongoing_event_progress_bar.xml
CALENDAR PROVIDER
values folder:
colors.xml
COM.HTC.RESOURCES (not very important in Sense 3.5)
values folder:
colors.xml
HTC DIALER (Dark Dialer)
values-hdpi folder:
styles.xml
PHONE (Dark Dialer - not necessary for Sense 3.5)
values-hdpi folder:
styles.xml
ROSIE NOTE: You need to add new custom png BEFORE you compile (most stuff not necessary for RCMix due to tweaks)
layout folder:
all_apps_view.xml
application_boxed.xml
values folder:
colors.xml
dimens.xml
integers.xml
values-hdpi folder:
colors.xml
dimens.xml
integers.xml
values-port folder:
integers.xml
values-port-hdpi folder:
dimens.xml
SETTINGS
AndroidManifest.xml
SYSTEMUI - NOTE: You need to add 2 new custom pngs BEFORE you compile
layout folder:
quick_settings.xml
status_bar_expanded.xml
status_bar_latest_event.xml
status_bar_preference.xml
status_bar_tracking.xml
quick_settings_config.xml
status_bar_tracking_trans.xml
values folder:
drawables.xml
colors.xml
smali folders:
StatusBarService.smali
TWITTER
layout-port folder:
widget_large_view.xml
widget_small_view.xml
layout-land folder:
widget_large_view.xml
widget_small_view.xml
FACEBOOK
layout-port folder
widget_view.xml
layout-land folder
widget_view.xml
HTC LAPUTA WIDGET (dark Widget) - I`ve done this only in old Themes
drawable-folder:
list_text_color.xml
layout folder:
location_widget_view_4x4.xml
location_widget_item_4x4.xml
layout-hdpi folder:
location_widget_view_4x4.xml
location_widget_item_4x4.xml
values folder:
colors.xml
Thank you so much for your awesome work, I learned a lot from you in the past months! Have fun with your new phone
nooooooooooo a good member in this DHD forum will go... :'(((
wish u all the best
We will really miss you!
So if you're moving to Galaxy Nexus, I will have motivation to start learning about android a bit more .
I wish you next great themes .
Hate to see you go. But thanks for all the help you have given me. And all the knowledge you have shared with this community.
Sent from my Inspire 4G using XDA App
so there will be no ice hd theme for sense3.0? =(
Massive thanks for all you have done for us mate and good luck with your new device.
You will be sorely missed though hopefully you have now taught us enough that we can keep our phones looking so classy .
a sad day
many thanks for your work, without your modifying our DHD will no longer be the same
godspeed and have fun with new Galaxy Nexus
Sad news, though not really a surprise after your recent posts. But it says everything that, even when you're planning to move to a new device, you take the time to help others carry on your themes and update them to new ROM versions. Thank you so much for this guide, and of course for all of your beautiful themes, hard work and especially your patience with our questions. I learnt a lot, and I'm sure many others did too.
I hope you enjoy your new phone as much as we've enjoyed having your themes on our DHDs. And that you're inspired to improve it and create something equally amazing on it to share with others.
Laters, honey hd...by far the greatest theme on dhd
Sent from my Desire HD using XDA App
thanks for your great themes!! You're the best! Much fun with the Nexus.
Will you develop the Phone too or only 'use' it?
Sent from my Desire HD using Tapatalk
Cheers for the stunning themes, and wish you luck.
Regards
sad that you won't be around here, you're the theme master for everyone. we learned a lot from you certainly!! Kudos and good luck
thx for the flowers guys (and XDA for 5 thx limit...), but most important reasons of this Thread is helping members of this Forum to maintain and carry on these Themes. Also give new modders some insight, so they see how they can manage their stuff in an environment of fast changing ROM's. First PM's arrived, but you can still feel free to contact me. I will ensure, you will not be alone with your questions and will still have an eye on the threads.
I'm sure I will also see some of you over there at the Nexus forum, like I already met good guys like Mike1986 or Whiskey there.
Man, my heart just sank a bit, My DHD looks awesome due to guys like you. DHD community will miss you a lot. Many thanks for your awesome work and wish you all the fun with your Galaxy Nexus.
What do you do?
You can´t leave the DHD!
Everyone need´s your Themes!
I hope you don´t rebuy your DHD, so you can make a Theme for ICS when it is come out.
Thank you for everything what you do for the DHD.
You are a great Themer, stoney.
he_stheone64 said:
thx for the flowers guys (and XDA for 5 thx limit...), but most important reasons of this Thread is helping members of this Forum to maintain and carry on these Themes. Also give new modders some insight, so they see how they can manage their stuff in an environment of fast changing ROM's. First PM's arrived, but you can still feel free to contact me. I will ensure, you will not be alone with your questions and will still have an eye on the threads.
I'm sure I will also see some of you over there at the Nexus forum, like I already met good guys like Mike1986 or Whiskey there.
Click to expand...
Click to collapse
Dude... you're supposed to be be quiet now... I'm mourning your passing...
maybe now someone will create a ICS theme for Afiinity like you did for Runny
Thanks for all your help...!!!
Will lose you in this part... a great LosT....!!!!
Even when you're leaving you're still thinking on helping , man you are the best , again :thanks a ton n'd enjoy your new phone.
Hi to everybody!
I was tired to spend a lot of time to convert old MIUI themes to the new format.
Since many themes I like have not been yet converted, I decided to create a script which takes care to decompress, compress to the new format, extract icons from framework and compress them and so on.
It's quite simple to use it: just copy old themes into "Put_here_old_themes" directory, start batch convert file and you will find the fresh converted theme in "New_themes" directory. There you will find a preview folder with 1 to 4 previews for each converted theme (just for those with short memory!!)
You are free to edit and make it better. I just ask you to give me credits if you share it. Thanks!
Here the link:
MIUI old themes converter V2
PS: instructions inside the file are Italian only. I will translate it.
could you please reupp the prog? would be very nice. Grazie
miui theme converter
hi,
will old themes now work on miui v4?
Thank you for sharing