So I came across this early on in my research of theme porting, but was still learning and didn't fully understand the process. However, now that I have some experience under my belt I decided to take a look at it and see how it worked.
http://forum.xda-developers.com/showthread.php?t=591329
Basically by use of this app we can apply created .zip packages that contain themed image's for any .apk located in /system/. In short, we can theme individual pieces of our phone to our taste, by applying a specific .zip.
There is a very specific process to doing this, because there are certain requirements to inserting .png files into your phone. The files you have flashed may have changed XML values that point to specific images, if that XML points to 20 images then the .zip you create must contain different versions of those specific 20 images - in order for this to work properly. In other words, the images already have to be called in the code for this to work, so we have to be careful how we build these .zip's so they work right.
Basically what we need to do is just start creating addon packs for our existing theme's, that way we know it will work as long as that theme is installed (it has the XML to support the .png file addon packs)
That means, you get your little tweaks without us having to create entire new theme's or having to bother at all with the long process of making these edits, we just have to find the .png's you want changed and include them in the package.
Watch this video; http://www.youtube.com/watch?v=p9y3ooUZZrg
I've tested this once on just my battery (because the accurate battery xml is universal, it references 100~ images) I used the battery from my recent port A Splash of Color, i pulled the .png files of just the battery icon and transplanted them to the .zip i created (watch the video, it shows you how to do it) Pushed the .zip to the AndroidThemes directory on my phone (that the Metamorph app created) then loaded up the app. In the app, my test.zip showed up and everything worked great - at the end the phone vibrated as if it was force closing but it was just rebooting, when it was done the battery icon was changed, with no need to wipe dalvik or use recovery at all.
Go ahead and try for your self, here is my testing.zip (you must have at least pick and pack and a theme with the accurate battery mod installed for this to work);
http://www.megaupload.com/?d=QFLQDEGE
I have my EA11 dark froyo port that i'm working on, and you'll see i've changed the battery to the EA11 Splash of Color battery
{
"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"
}
Then stay tuned for some updates on the theme's i've ported (customizations!)
looks awesome! I read something about this a while back, seems pretty useful.
Sent from my SCH-I500 using Tapatalk
Related
I could really use some help with this theme I am working on for CyanogenMod.
This is my first attempt at theming so be gentle.
First off, this is based off jonnybueno's HexusOne? Theme in fact it is basically the same exact theme except blue instead of black and white. It still took quite a bit of work to change basically every img in it to blue. I will also be changing pretty much everything but I wanted to start somewhere.
Here is some screen shots of the Theme, it is gonna be called NexBlue:
{
"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"
}
The problem I am having is that I could really use some help with .9.png files if someone could help. Before you say it I have read the other threads about how to do it. In fact I tried following the instructions in a couple threads but I must have done something wrong because it didn't work. It works fine if I remove all the .9.png files out of my theme but of course there is stuff missing that is the wrong color if I do it that way.
Here is some examples of the screwed up .9.png files:
It is a MetaMorph at the moment so if anyone could take a look at it and help me out here is the link.
NexBlue_Ver_1.0
THIS IS NOT A WORKING THEME!!! DO NOT MORPH/FLASH THIS TO YOUR PHONE IT WILL MAKE SEVERAL PROGRAMS FC!!! IF YOU NEED TO MORPH/FLASH THIS ON YOUR PHONE TO HELP, MAKE SURE YOU DO A NANDROID BACKUP!!!
As far as FC's go, since you are taking a theme and recreating it blue, there is one thing, you cannot do that to all images. Some .9's that is fine, but there are others that you cannot simply just change the color, they need to be reprocessed using eclipse.
Off hand active_title_bar.9.png is one of them. There are others. So first step is separate the .9's from the regular png's. Pay attention to what you replace so you can retrace your steps and find what you can and cannot simply change the color on.
Yeah, I know what your talking about. What I am really trying to figure out though is how to change a. 9.PNG correctly without messing up something.
I never drew (err drawededed... its late and I'm feeling speech impaired) guidelines for the .9s in hexus one. I've found that if you size your .9s to the minimum size android stretches them, you don't need to run them through eclipse. Finding out what size that is, has somewhat eluded me though.
That would fix your widget problem. For your buttons and other stuff, here's what I would do:
Download the original .9 from cyanogens github. Take your modified .9 and copy it within the guidelines of the source .9(which should have guidelines already =D) then make sure your guides are definitely FF000000 black, then run it through eclipse.
That's the lazy jonnybueno way of making half themes.
Thanks, I will give that a try.
I am making myself a theme and was wondering if anybody knew which files changed these two things.
-Box when moving widgets
{
"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"
}
-Title background for folders (apps organizer)
Sorry I can't be more help immediately but I can tell you the green widget moving box will be a .9.png and will probably be pretty small.
Obvious places to start would be in the 2 framework apk's but they may well be somewhere in system/app too. I'd look in anything widget related (downloader, updater, etc) and I'd look in rosie.apk too..
again, sorry thats just a couple shots in the dark but I'd like to know too. I'll poke around some tonight and see if I can find them
Yeah I figured it was going to be a .9 file, probably 1px but I just can not find them.
rujelus22 said:
Yeah I figured it was going to be a .9 file, probably 1px but I just can not find them.
Click to expand...
Click to collapse
Well it would probably be a minimum of 9x9, and it looks like it has rounded corners so maybe more than that. Also, both of these things might not be pngs. Could be simple xml drawings.
I was thinking maybe xml also. are there any good tutorials on how to edit the xml's?
rujelus22 said:
I was thinking maybe xml also. are there any good tutorials on how to edit the xml's?
Click to expand...
Click to collapse
Use APK manager to decompile the apk, it'll output readable/editable xml files. I don't have the link on me but a quick search in the forums will bring it up.
AwardTour, have you recompiled a framework apk with AppManager yet? I tried but kept getting an error when it got to the manifest.
OP, here is a link to Apk_Manager_4.8. I can't offer any advice on editing xml, yet.. I just decompiled and saw a readable xml for the first time a couple days ago it was cool
apktool
http://code.google.com/p/android-apktool/
makes altering apks a snap.
I have looked around in the XML's and png and still can not find these for the life of me. I have a few more I can not find either. Any help on any of these would be greatly appreciated.
1- Progress bar
2- Calendar Item Color
3- Phone Highlight Color
Check out what I found!!!!
http://www.gifexplode.com/
http://www.gifninja.com/SplitGif.aspx
I personally prefer the second site, because they give you the option to download all the images as a zip file.
This process is not for the impatient. Both of these programs (and every other program I have found, so far) saves the images as something other than .png's. This means you will have to convert each one. I tried using .jpg's, and it borked my phone for a bit. I actually got a forceclose during boot!!!! Another thing you have to remember is: boot no likey transparency. If your images have it, you gotta get rid of it, or else it'll come out all funny.
I did not intend for this to be a walkthough. If you need more info, the search button and experimentation are your best friends. That being said, pay attention to the text file. If you edit it, use notepad ++, as regular notepad will fvck up the syntax. The first line controls the image size. If you don't want a 2 part boot, erase the part2 folder and edit the text file, removing the reference to part2. I changed it to read p 0 0 part1
Here's my bootscreen:
{
"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"
}
tejasrichard said:
Check out what I found!!!!
http://www.gifexplode.com/
http://www.gifninja.com/SplitGif.aspx
I personally prefer the second site, because they give you the option to download all the images as a zip file.
This process is not for the impatient. Both of these programs (and every other program I have found, so far) saves the images as something other than .png's. This means you will have to convert each one. I tried using .jpg's, and it borked my phone for a bit. I actually got a forceclose during boot!!!! Another thing you have to remember is: boot no likey transparency. If your images have it, you gotta get rid of it, or else it'll come out all funny.
I did not intend for this to be a walkthough. If you need more info, the search button and experimentation are your best friends. That being said, pay attention to the text file. If you edit it, use notepad ++, as regular notepad will fvck up the syntax. The first line controls the image size. If you don't want a 2 part boot, erase the part2 folder and edit the text file, removing the reference to part2. I changed it to read p 0 0 part1
Here's my bootscreen:
Click to expand...
Click to collapse
good find dude
thanks i was looking for something since gifworks doesnt work anymore
With a little work and permission from jabbawalkee I have ported parts of the MattedBlues theme into this ROM. The original MattedBlues can be found at http://forum.xda-developers.com/showthread.php?t=768848
I would also like to add a thanks and credit to nitsuj17 for some of the images and the dialer. At the time of my original post, I was unaware that some of the pieces I was using were his.
This is in beta as I have not yet gotten everything in it that I want, but it's a good start and usable. As usual take a nandroid backup before you flash anything. I am not responsible for anything you do to your phone while flashing any of this content. That being said, I have had no problems with any of it. It uses all of the dependencies so all of the stock apps should work and anything that has been removed can be added from the Pick-n-Pack ROM.
Here are a few screen shots. They are low res, so the dock icons look especially fuzzy.
{
"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"
}
Just download, put on your sdcard and flash in recovery.
http://www.mediafire.com/?6zzr2aucgr4k686
If you want to use the icons for the phone, contacts, app drawer, mms, and web they are in the icon.zip below.
This looks like a theme as opposed to the rom, looks good though and Thanks for posting it.
Sent from my SCH-I500 using Tapatalk
androidman78 said:
This looks like a theme as opposed to the rom, looks good though and Thanks for posting it.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I probably should have explained a little more. I only decided to deem it a ROM because I left the apk's in tact. Since it installs apk's and not just the drawables and xml's I couldn't call it a theme. I will probably start a pull on all of that stuff so I can put it out as a theme also, but I have several others I'm working on right now so this was the easier for me. Kinda lazy I know, but if the permissions come in I want to be able to get them put out for the variety for now.
--EDIT
OK, I took the time, not as long as I thought btw, to go ahead and rip out the files that need to be taken out of the ROM to make a theme only version. I will post it in the themes and apps section as soon as it finishes uploading.
i would like to say that some of my images and dialer from the fascinate port are in here ...in addition to the ones in the original
nitsuj17 said:
i would like to say that some of my images and dialer from the fascinate port are in here ...in addition to the ones in the original
Click to expand...
Click to collapse
Sorry, about that. I thought that I had the original downloaded. I will correct the OP to include you. I never meant to take without asking.
There are many of us out there who actually like TW, but absolutely detest the stock white Phone, Contacts and MMS apks that our version of the Note 3 comes with. After some exhaustive searching and lots of trial and error, I've managed to cobble together these inverted apks that come in the international ROMs. I take no credit for modifying any of these, I'm simply providing a link for those who want the dark versions.
Screenies:
{
"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"
}
You may also want to install Xposed and add the "Force Immersive Mode" module and force immersive mode for the Contacts app. It seems that the International version may be using immersive mode with Contacts because if your status bar is showing, the bottom of the dialer gets clipped.
Installation is very simple. Back up your current SecPhone.apk SecContacts_OSup.apk and SecMms.apk (if you're not deodexed, you'll need to back up the three corresponding .odex files as well) which are in /system/priv-app, in case anything goes wrong. The simplest way is to just add ".bak" (without the quotes of course) to the end of each file name. For example, SecPhone.apk will become SecPhone.apk.bak Download the zip file with the apk's, extract the zip, and copy the apk's into your /system/priv-app/ folder. These are deodexed so there will be no corresponding .odex files. Make sure you set the permissions on all three to rw-r-r.
Reboot and all should be well.
Download: http://bit.ly/1zFSKer Note this zip file is NOT FLASHABLE
Nice and thanks might check out the mms... First ?
Sent from my Fired-up Note3
Gave it a shot. Had to use exposed module to "force immersion" as stated in op but causes delayed response. If you gotta have the dark phone / contacts get an international rom.
Thanks to the op cuz I was wondering the same thing, prefer the dark background, but the ripple effect is more than I want to deal with. Will have to look at DK and Tweaked roms.
via stark naked magic
I hadn't honestly noticed any delay until you mentioned it, but it's very slight (in my case). I had so much time and effort invested setting up everything in my stock deodexed ROM that I just wanted to replace the white apps...
download link not working