[REQ] Transition animations - Fascinate Themes and Apps

I was wondering if any kind soul could make it possible to provide flashable zips to change the transition animations on our phones. I know that Adrynalyne had some cool transition animations on some versions of his SuperClean Rom, but I would like to continue this. Also, in particular, if it's possible to have a screen rotation animation I would love to have that also. Thanks!

The only way would be to either have metamorf files (which someone posted here a very long time ago) of the different animations or have multiple zips that only include framework-res.apk. The animations are controlled by xmls located in framework-res.apk/res/anim. I myself for my personal theme have created a nice cocktail of the various types of animation xmls used tasefully for various ui events and actions.
good day.

There is an app on the market. Ani something....I'll find it. I have it on backup
Sent from my SCH-I500 using XDA App

its called AnimMod and its a paid app

akaine2001 said:
its called AnimMod and its a paid app
Click to expand...
Click to collapse
Saw that app, and a couple of fascinate users comment that it boot looped them. If that app swaps out the "whole" anim folder within the apk and if you're running comm rom or the newer sbrissen mods it will surely boot loop you. 7 xml's pertaining to the lockscreens have been added by sbrissen to that anim folder and if those get deleted by an app replacing the whole anim folder within the framework it will certainly lead to trouble.
good day.

Works fine for me. No boot loops on CommRom 2.1.
Sent from my SCH-I500 using XDA Premium App

Zacisblack said:
Works fine for me. No boot loops on CommRom 2.1.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
BOOya chopper... BOOya

akaine2001 said:
BOOya chopper... BOOya
Click to expand...
Click to collapse
that wasnt necessary

Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.

notta said:
Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.
Click to expand...
Click to collapse
oh hi notta, hadnt seen you in awhile

nitsuj17 said:
oh hi notta, hadnt seen you in awhile
Click to expand...
Click to collapse
I'm a ninja, your not supposed to see me.

notta said:
Actually there is a way to patch basically any apk or jar file on the phone through a flashable zip. I have been doing exactly that so that I can maintain mods between upgrades.
An anim patch would be very easy to apply without breaking anything. But as chopper the dog stated, if you mess with or delete others then there will be issues.
Anyhow if interested I can put together a basic anim patch for testing or I can share a readily available anim patch for cm7 (mtd, possibly miui as well) as proof of concept. From there you could modify what you want patched to your liking and the updater-script for (rfs) if needed.
Of course this is something that only myself have used, so it would come with no guarantee's. Would be interesting to see how compatible it would be or better yet how far it could be taken. I have replaced resource's this way without issue.
Click to expand...
Click to collapse
It would be great if you could get this tested by a few brave individuals. If you want, you can use my thread or make another one. I personally need the stability of Comm Rom for everyday use of my phone so I won't be going to CM7 until some of the signal, SOD, and calling issues are addressed. The AnimMod app works great but I would like to see a larger compilation of transition animations to choose from. We could even stick these zips in the theme sticky . Also what about screen rotation animations? Is this possible? Thanks for answering my call to god!

nitsuj17 said:
that wasnt necessary
Click to expand...
Click to collapse
Only my 6 year old rolls eyes, and yeah it wasn't but it wasn't mean or nothing chill out j. . . He always stamp on somebody parade, not this time, not this guy, booya. works flawlessly like he said homie, booya.
Edit: answered his prayer too, ...... Booya. Lol
Sent from my SCH-I500 using XDA App

Lmao
Sent from my UKB 2.1 sch-I500

akaine2001 said:
Only my 6 year old rolls eyes, and yeah it wasn't but it wasn't mean or nothing chill out j. . . He always stamp on somebody parade, not this time, not this guy, booya. works flawlessly like he said homie, booya.
Edit: answered his prayer too, ...... Booya. Lol
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Did you ever realize that the reason you are so disliked on xda is because you needlessly start **** and then act like a 5 year old?

Zacisblack said:
It would be great if you could get this tested by a few brave individuals. If you want, you can use my thread or make another one. I personally need the stability of Comm Rom for everyday use of my phone so I won't be going to CM7 until some of the signal, SOD, and calling issues are addressed. The AnimMod app works great but I would like to see a larger compilation of transition animations to choose from. We could even stick these zips in the theme sticky . Also what about screen rotation animations? Is this possible? Thanks for answering my call to god!
Click to expand...
Click to collapse
Those SOD issues were a blessing in disguise.. lol
Not completely familiar with screen rotation animations. A quick search states there used to be what they called fancy animations in android 1.5 but no longer added after. I could be wrong this is my first android phone, so I don't know the history. Anyhow there are some slightly rotating anims in the patch.
Ok, so this is what is going on..
An apk is just a zip file with an .apk extension. So what I am doing is utilizing a zip binary that is copied to a temp location along with some very basic commands. With these commands its basically injecting the structure of the res folder in the patch, to your framework.
Therefor you can use this to inject basically anything as long as you follow the structure. As stated before I have changed resource level items such as colors without issue. Just be advised if you change out any id's from public.xml and many others it will end in failure. This can also be modified to patch any apk or even jar files. It can also be modified to make a cwm zip of your current rom, data apps etc... The list go's on!
So in a sum, the zip will copy a zip & zipalign binary along with the script and patch files to /tmp. The script will kick in and as an added bonus (incase anything go's wrong) will make a backup of your existing framework-res.apk and create a cwm zip and place it on the root of your sdcard called notta-anim-patch-restore.zip. This zip can be flashed to restore the previous state.
Then utilizing the zip binary, will inject the patch files zipalign and ovewrite your /system/framework/framework-res.apk. In this case a set of animations. I hope this is a satisfactory explanation.
As with anything you flash, you do it you except responsibility. Also I have personally tested this one ukb 2.1. This should work with any touchwiz fascinate rom, well anything with a system location at "stl9".
http://bit.ly/n0Q4Mc
Please post results!

notta said:
Those SOD issues were a blessing in disguise.. lol
Not completely familiar with screen rotation animations. A quick search states there used to be what they called fancy animations in android 1.5 but no longer added after. I could be wrong this is my first android phone, so I don't know the history. Anyhow there are some slightly rotating anims in the patch.
Ok, so this is what is going on..
An apk is just a zip file with an .apk extension. So what I am doing is utilizing a zip binary that is copied to a temp location along with some very basic commands. With these commands its basically injecting the structure of the res folder in the patch, to your framework.
Therefor you can use this to inject basically anything as long as you follow the structure. As stated before I have changed resource level items such as colors without issue. Just be advised if you change out any id's from public.xml and many others it will end in failure. This can also be modified to patch any apk or even jar files. It can also be modified to make a cwm zip of your current rom, data apps etc... The list go's on!
So in a sum, the zip will copy a zip & zipalign binary along with the script and patch files to /tmp. The script will kick in and as an added bonus (incase anything go's wrong) will make a backup of your existing framework-res.apk and create a cwm zip and place it on the root of your sdcard called notta-anim-patch-restore.zip. This zip can be flashed to restore the previous state.
Then utilizing the zip binary, will inject the patch files zipalign and ovewrite your /system/framework/framework-res.apk. In this case a set of animations. I hope this is a satisfactory explanation.
As with anything you flash, you do it you except responsibility. Also I have personally tested this one ukb 2.1. This should work with any touchwiz fascinate rom, well anything with a system location at "stl9".
http://bit.ly/n0Q4Mc
Please post results!
Click to expand...
Click to collapse
I'll try this out when I get home. Thanks notta! Also, everyone else please no flaming/arguing in this thread it makes me sad =(.
Sent from my SCH-I500 using XDA Premium App

You know i had to post here on this side
i didnt know that this zip did that much! this is awesome!

nitsuj17 said:
Did you ever realize that the reason you are so disliked on xda is because you needlessly start **** and then act like a 5 year old?
Click to expand...
Click to collapse
Who is that said that? Who said that you? I just laugh at you guys now... And keep it moving
Sent from my SCH-I500 using XDA App

Booya
Sent from my SCH-I500 using XDA App

Related

[DEV ADVICE NEEDED] Considering Casual ROM-building

Let me explain what I mean by "casual". I've come to find that I always end up removing stuff from custom ROMs that I don't like/don't use and end up with something much much better.
With NFX's permission (should he give it) I'd like to make a custom ROM based on my slimmed down approach, one that left me with tons of free space, lots of free RAM, great battery life, and smooth operation. I'm looking at the ROM right now, and I'm wondering; is there anything special I need to know about adding my own apks to be preinstalled with the ROM? I'd like to add Fancy Widget and LauncherPro since I stopped using the Sense Launcher. My ideal setup is one where the app is recognized by the market so that it can be updated as and when needed. Also, what can I do to ensure that LauncherPro is the default launcher?
I'd love to get into this. I'm not big on code editing but have no issue with doing so when needed, can anyone nudge me in the right direction?
Update #1: My first attempt failed . I was using Nfinite's Odexed NFX Rom. I tried to just change around the apps in the data/app/ folder. Also attempted to delete all the HTC Sense Widgets beforehand. (I do this after install, but I wanted to do it before.) Should I not be working with an odexed ROM, and is there some sort of signature process that I need to be using?
Pretty sure you need deodexed.
CM6 Android 2.2.1 Froyo Darchstar
Radio 2.42.01.04.27
*Bite me Sprint!
Search for avabox on these forums. It has the zip signing tool to make the zip flashable after editing it. And many other helpful tools
Sent from my HERO200 using XDA App
davec1234 said:
Pretty sure you need deodexed.
CM6 Android 2.2.1 Froyo Darchstar
Radio 2.42.01.04.27
*Bite me Sprint!
Click to expand...
Click to collapse
danaff37 said:
Search for avabox on these forums. It has the zip signing tool to make the zip flashable after editing it. And many other helpful tools
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Thanks guys! I'll give this a shot and see what happens
LiquidSolstice said:
Let me explain what I mean by "casual". I've come to find that I always end up removing stuff from custom ROMs that I don't like/don't use and end up with something much much better.
With NFX's permission (should he give it) I'd like to make a custom ROM based on my slimmed down approach, one that left me with tons of free space, lots of free RAM, great battery life, and smooth operation. I'm looking at the ROM right now, and I'm wondering; is there anything special I need to know about adding my own apks to be preinstalled with the ROM? I'd like to add Fancy Widget and LauncherPro since I stopped using the Sense Launcher. My ideal setup is one where the app is recognized by the market so that it can be updated as and when needed. Also, what can I do to ensure that LauncherPro is the default launcher?
I'd love to get into this. I'm not big on code editing but have no issue with doing so when needed, can anyone nudge me in the right direction?
Update #1: My first attempt failed . I was using Nfinite's Odexed NFX Rom. I tried to just change around the apps in the data/app/ folder. Also attempted to delete all the HTC Sense Widgets beforehand. (I do this after install, but I wanted to do it before.) Should I not be working with an odexed ROM, and is there some sort of signature process that I need to be using?
Click to expand...
Click to collapse
Like some else said you'll need the deodexed rom. Also if your altering the rom for personal purposes there is no need to ask nfinite... if you post the rom then you'll need to ask and give props.
Next you need some kind of rom manager tools so that you can sign and zip align your apk and have a flashable after you make your changes. maybe read threw the rom cooking guide on the hero wiki page also.
You most definitely what an odexed ROM. Its been a while since I messed with it, but i think you will want to place apps you want updated in /data/app. As for the default launcher, it should ask which one you want as default when you first boot into the ROM.
unCoRrUpTeD said:
You most definitely what an odexed ROM. Its been a while since I messed with it, but i think you will want to place apps you want updated in /data/app. As for the default launcher, it should ask which one you want as default when you first boot into the ROM.
Click to expand...
Click to collapse
@[email protected] Confusion. A few people above have said I need deodexed?
The only problem you will run into with odexed vs deodexed is changes to any jar files within an apk on system. Only really applies to framework level edits. Things like removing haptic or rotary lock screen or battery percentage mods, etc.
Sent from my HERO200 using XDA App
LiquidSolstice said:
@[email protected] Confusion. A few people above have said I need deodexed?
Click to expand...
Click to collapse
I meant to type deodexed. I was so tired and doing ten things at once. Didn't even reread what I was posting.
danaff37 said:
The only problem you will run into with odexed vs deodexed is changes to any jar files within an apk on system. Only really applies to framework level edits. Things like removing haptic or rotary lock screen or battery percentage mods, etc.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ah. Nah, the only thing I'd love to experiment with is to swap out images and png files. The functionality of the ROM and its inner workings are fine . Assuming that I can remove all the HTC widgets and a few of the apps I won't be using (using LP, so Sense Widgets are unneeded), and that I can set a default launcher, and perhaps mess around with all the status bar icons/button images, that's all I want to do
LiquidSolstice said:
@[email protected] Confusion. A few people above have said I need deodexed?
Click to expand...
Click to collapse
You will need deodexed
You can always re-Odex it afterwards.
I assume you've realized this, as you have a stable odexed ROM out, but I'm putting it up for reference's sake. Don't want someone reading the thread and getting the wrong idea.

Need help porting theme.

If anyone can help, please take this zip and make it compatible for the Hero. right now it's for the Droid running Cm6. http://www.multiupload.com/BHME414DUC
Thanks
abu_noah said:
If anyone can help, please take this zip and make it compatible for the Hero. right now it's for the Droid running Cm6. http://www.multiupload.com/BHME414DUC
Thanks
Click to expand...
Click to collapse
Its not something you do in a few minutes.
He's been working on it for a bit, think he needs help with the finishing touches
Sent from my HERO200 using XDA App
MrSpradlen said:
He's been working on it for a bit, think he needs help with the finishing touches
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I have been working on this for a bit, but this is just the Full on flashable zip, made for the Droid. I got three kids and not alot of time to resize every image to mdpi. plus this is coming from the a droid theme, so I'm not sure what to do with the drawable-nodpi images and other if any nopi images. anyway, i'm just asking for help, not for "I can't help you" or "Alot of work" answers. I know it's alot of work as i have driving myself crazy on how to do it. Thanks.
I tried using the theme porter to save time but it will not recognize 9.pngs and I'm pretty sure that's why it's not porting.
abu_noah said:
I tried using the theme porter to save time but it will not recognize 9.pngs and I'm pretty sure that's why it's not porting.
Click to expand...
Click to collapse
What errors are you getting, what issues are you having? sorry to be so coarse.
ASimmons said:
What errors are you getting, what issues are you having? sorry to be so coarse.
Click to expand...
Click to collapse
I have converted the hdpi to mdpi now I think. before I used the theme porter, but it kept saying system file cannot be specified. well i got the pngs converted and the folders renamed, but I don't have a hero to test it on. I use my wife's when she's here. Don't know if this will work or not.
I also need to know if the images in the framework-res are the only thing I need to change, and then I can flash that same package that was meant for the droid or if I need to transfer those over to the Hero's framework-res?
abu_noah said:
I have converted the hdpi to mdpi now I think. before I used the theme porter, but it kept saying system file cannot be specified. well i got the pngs converted and the folders renamed, but I don't have a hero to test it on. I use my wife's when she's here. Don't know if this will work or not.
Click to expand...
Click to collapse
I almost positive you cant just rename folders like drawable-hdpi to draw-mdpi as theres more in the apk that specifies that the apk is built for an hdpi phone.
This is how I do it (short version cause I'm working out kinks). basically just copy over the pngs from the hdpi folders to the mdpi folders. Basically the difference in size from hdpi to mdpi is about 66% the size of an hdpi png so in the process of copying them I also shrink them. 9 patch pngs are a alot harder to get right and I currently working through some ways to port those now, but for a basic port you can just leave them as is. If you wanted to fix the 9 patch you basically have to decompile the apk and then use the 9patchDrawable tool in the android sdk and gimp to shrink them and then redraw the patch borders.
Your problem is most likely trying to rename the file folder. The port should only bring over the pngs and maybe ( i never do) some minor xml tweaks and put those in the rom your porting to you can't use anything from the ported rom except the pngs unless you want a buncha headaches.

[APP] ZipThemer - theme installer with MetaMorph compatibility

You might be interested in an alternative way to install MetaMorph themes. Its an app I've developed that builds flashable update.zip files onboard the device by combining your system files with the theme content.
Because it builds onboard using your system files, it preserves existing installed themes assuming one theme does not overwrite the other. It is also capable of installing more than one theme at a time via a single update.zip file.
I developed this app after getting tired of MetaMorph spontaneously rebooting the device near the end of the install process. I typically install more than one theme per new ROM flash and wanted to get all my themes installed in a single reboot. ZipThemer has satisfied that goal for me. Give it a try if you like... its free, donations gratefully accepted
Related links:
Official ZipThemer forum page
My own HTC notification theme page - recently updated to work with advanced ZipThemer capabilities.
Enjoy,
Ken
Wow! I have been waiting for something like this. Metamorph is great, but I can very rarely get to the end of some of my themes. Thanks. I will have to try this later.
Sounds great, does it work with all metamorph themes? What about flashable ones? I have also had a lot of trouble using metamorph and wished there was an easy way to go back after using it.
thanks,
-Keith
There have been some limitiations found in the current version of ZipThemer. I'm working on fixing these for the next version which will work with more MetaMorph themes. ZipThemer does not work with flashable themes. It also doesn't create backups yet, so I suggest using Nand backup/restore for that now.
kellinwood said:
There have been some limitiations found in the current version of ZipThemer. I'm working on fixing these for the next version which will work with more MetaMorph themes. ZipThemer does not work with flashable themes. It also doesn't create backups yet, so I suggest using Nand backup/restore for that now.
Click to expand...
Click to collapse
This seems like a good idea. One thought I've had about Metamorph, and maybe you could consider it as an option as well....
The most common cause of theme incompatibility aside from poor theme building or the use of XMLs is the "-v4" tags. If you could do a quick check for the presense or lack of these tags in the target APKs so the program doesn't try to create a drawable-hdpi or mdpi when a drawable-hdpi-v4 or mdpi-v4 already exists, you'd have a LOT more cross-platform theme capability.
Just a thought
Sounds do-able. Can you provide links to a theme and ROM image for which this is an issue? I'd be able to understand the problem and implement/troubleshoot faster... thanks,
Ken
Sent from my FroyoEris using XDA App
kellinwood said:
Sounds do-able. Can you provide links to a theme and ROM image for which this is an issue? I'd be able to understand the problem and implement/troubleshoot faster... thanks,
Ken
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Not at a location where I can browse around too easily, but you can generally look at any theme built for a custom rom vs. one built for a stock rom. Framework-res is particularly common to have this issue, but it can really be any apk. The folders of potential interest that I've seen are:
drawable-en-hdpi-v4
drawable-es-hdpi-v4
drawable-hdpi-v4
drawable-land-hdpi-v4
drawable-nodpi-v4
drawable-mdpi-v4
drawable-land-mdpi-v4
drawable-ldpi-v4
...then of course the same folders lacking the "-v4" would be the corresponding counterpart. There's probably a few other folders that can have a "-v4", but if you just have your script search for that tag then search the target or source file for the same folder lacking the tag, you should be good.
What if I put in general logic to prevent the addition of any new entries in the patched apks, regardless of the folder name? In other words, if the entry doesn't exist in the target it wouldn't be created. Only entries that already exist in the target apk would be updated if included in the theme file.
Sent from my FroyoEris using XDA App
WOW. Ive recently stumbled upon this app and i must say it needs more recognition. Ive been able to use themes and mods from other devices on my Xperia X10. Ive used stuff from the Eris and from the Nexus One. Thanx a million times.
michael7168 said:
WOW. Ive recently stumbled upon this app and i must say it needs more recognition. Ive been able to use themes and mods from other devices on my Xperia X10. Ive used stuff from the Eris and from the Nexus One. Thanx a million times.
Click to expand...
Click to collapse
Thanks! I'm glad to hear that you like it.
Ken
kellinwood said:
Thanks! I'm glad to hear that you like it.
Ken
Click to expand...
Click to collapse
I wanted to say thank you for this app as well kellinwood. I've been pushing it alot with my themes for adding my sliders and other things that can't be addressed by theme chooser and am debating doing a Sense theme as well and will definately push it for that too. I like the fact that it creates an undo zip as well... Saves a lot of headaches for when people don't do a backup before applying a theme lol. No matter how much you remind people.. backup first... Most probably don't lol. They just don't think about it when they are in recovery I'm sure and if it's a MM they don't think to reboot and do a backup before applying it. Great work man
CondemnedSoul said:
I wanted to say thank you for this app as well kellinwood. I've been pushing it alot with my themes for adding my sliders and other things that can't be addressed by theme chooser and am debating doing a Sense theme as well and will definately push it for that too. I like the fact that it creates an undo zip as well... Saves a lot of headaches for when people don't do a backup before applying a theme lol. No matter how much you remind people.. backup first... Most probably don't lol. They just don't think about it when they are in recovery I'm sure and if it's a MM they don't think to reboot and do a backup before applying it. Great work man
Click to expand...
Click to collapse
Thanks for the kind words, I really appreciate it. Its this kind of response that makes it all worthwhile.
Ken
Thank you!
This truly is a wonderful accomplishment! Thank you! I just ported themes from Froyo to Gingerbread on Dream/Sapphire and recommending your app to make a zip for the Gingerbread ROM of their choice.

Themed System Apps not Working

I'm just trying a bit of theming myself, found plenty of guides on the topic however I have found one slight problem. No matter how I try to install my modded system apps, it always fails to install or doesn't change the original app at all.
I use APKmodder to do the editing if that affects anything, however the same issues arrise when using NinjaMorph on my NS.
I have tried multiple methods of getting the apps onto my device. Using adb push, creating a custom update.zip (which is all set out properly), NinjaMorph and even just the regular apk install, all of them either don't update the apps or are pushed to /system/apps but are not in the app launcher.
Any ideas? I have searched for hours about this and I haven't found anything to help me. Finally, if it helps I have tried with Launcher2.apk and Camera.apk.
Sent from my Nexus S using XDA App
Any ideas at all? I've never had much luck with Modding apps full stop. Could it be my copy of APKmodder?
Sent from my Nexus S using XDA App
is your rom deodexed?
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Jonathon Grigg said:
I imagine so, running CM7 and I can't find any odex files in /system. I also read somewhere else that CM6 was deodexed so I figured it would be the same.
What difference would it make if it wasn't deodexed? Would you need to remove the odex or something?
Sent from my Nexus S
Click to expand...
Click to collapse
CM7 is deoxed. It's probably because you're changing the apk, don't understand why you're playing with it but whatever.
No idea, my recommendation is to not mod it.
I am not familiar with the tools you're using, but I've heard that people have had trouble with them in the past.
The best tool for theming is Apkmanager 4.9 used along with Apktool 1.3.1.
However, if you're simply swapping some images, just do so in WinRAR or 7zip. No deed to decompile, resign anything. Just put your system apps in a Flashable zip in this order: Zip/system/framework/framework-res.apk and Zip/system/app/<your system apps> and drag and drop your images in the right locations.
Also, your zip must have a META-INF folder with the proper update script.
You can use any one of my themes as a template.
Hope this doesn't sound too convoluted.
Cheers.
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Double EDIT: For future reference if anyone finds this, there is a difference between update-script and updater-scripts. From Android 1.5 onwards, Google moved to updater-script's, leaving update-script's behind. Make sure you remember this!
Sent from my Nexus S
Jonathon Grigg said:
Thanks for that, some changes are image based but there are also some XML based changes which I require, would the 7zip method work there?
And sorry if I'm being vague, but Im not near my computer now, but how would you use two tools in conjunction? Because I have used apktool before but not the other.
Thanks very much though! I am finally getting somewhere
Edit: thanks for the template offer, I will have a look and see what's different to my tests. Just one final question, is there any difference between an update-script and updater-script?
Sent from my Nexus S
Click to expand...
Click to collapse
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
sonnysekhon said:
For xml changes you have to decompile/recompile the apk. Apkmanager is a GUI for apktool so you don't have to learn/remember the java commands.
If you download Apkmanager, it comes with Apktool 1.3.2, be sure to replace it with 1.3.1. It's way more stable and reliable.
Not sure about the difference between updater and update, maybe one has Amend scripts and one doesn't.
I am not a developer so can't say for sure , but the one person to ask would be ogdobber.
He literally knows everything about everything .
Click to expand...
Click to collapse
Ok thankyou very much for the help once again. I have finished school for the week so I should have time to test these methods out now.
If I need any further help I might drop ogdobber a note then.
Thanks for all your help!
Sent from my Nexus S

[Link] Theme-Porter

http://forum.xda-developers.com/showthread.php?t=737526
Heres a script that ports your themes from firmware to firmware, rom to rom.
How it works:
- Looks through app/framework folder for apks that exist in new/old rom
- Then extracts pngs from those apks
- Then deletes mismatching pngs
- Repacks old themes pngs into new rom
- Done
Click to expand...
Click to collapse
Easy cheesy multi rom theme ports
Here we go! This is gonna be fun this weekend.
xtremekilla09 said:
Here we go! This is gonna be fun this weekend.
Click to expand...
Click to collapse
lol... +1
Now I can port my themes for the whole world to share. Thanks for the find...and thanks for sharing.
sent using a phone.
Now what would really be nice would be if someone designed an .apk that did this on the phone(while adding the originals to a "theme-revert.zip" and the new theme to "theme.zip"). Then you just make one theme and post the link to the .apk.
The closest i ever found was zipthemer but it didnt work every time and thats no good.
If only someone could port the open source t-mobile theme choser to samsuck.
So this is it until someone who knows how to code jumps on that idea lol. Still glad it exists and that i bumped into it. And even more so that two of main people i had hoped would make use of it appear to be willing to do just that.
whiteguypl said:
And even more so that two of main people i had hoped would make use of it appear to be willing to do just that.
Click to expand...
Click to collapse
You bet. If this works, there are so many things that can be done, oh man. It will rain themes, well at least for FireFly to start with.
Again, thanks for pointing this out.
xtremekilla09 said:
You bet. If this works, there are so many things that can be done, oh man. It will rain themes, well at least for FireFly to start with.
Again, thanks for pointing this out.
Click to expand...
Click to collapse
From the limited testing ive done it seems to be working 100%. The only real potential problem im seeing (and the script might have a way to handel it) is porting a theme that uses drawable-hdpi to an apk that has both an hdpi AND hdpi-v4 folder in it. I would hope its defaulting hdpi to hdpi-v4. Lol... But i dont know.
Edit: and even that hope is based on the possible incorrect assumption that andriod will allways pull from the v4 folder given the choice? Anyone care to enlighten me?
whiteguypl said:
From the limited testing ive done it seems to be working 100%. The only real potential problem im seeing (and the script might have a way to handel it) is porting a theme that uses drawable-hdpi to an apk that has both an hdpi AND hdpi-v4 folder in it. I would hope its defaulting hdpi to hdpi-v4. Lol... But i dont know.
Edit: and even that hope is based on the possible incorrect assumption that andriod will allways pull from the v4 folder given the choice? Anyone care to enlighten me?
Click to expand...
Click to collapse
I think it does. Isn't the non-v4 there for compatibility reasons with older os versions? I saw something like that a little while ago, in a theming guide
Herp derp Captivate XDA app.
Well after a lot of testing i can safely say that it does not know how to handle hdpi vs hdpi-v4. And since our rom maintainers have decided to mix and match at will without smoothing anything out this script will not work a large majority of the time, depending on what rom you are on.
Quickish fix is to go into the apk before using the script and renaming all the drawable folders to match both the "themed" and "to be themed" apks. Then after the processes you can go in and rename them back to there original names.
............. Im also assuming that if you kept the folder name changes the xml wouldnt know where to look for the images???? I know little to nothing about how android handels that, if someone would like to chime in please do.
Well I most definitely be playing with it this weekend. Thanks again for the info.
sent using a phone.
whiteguypl said:
Well after a lot of testing i can safely say that it does not know how to handle hdpi vs hdpi-v4. And since our rom maintainers have decided to mix and match at will without smoothing anything out this script will not work a large majority of the time, depending on what rom you are on.
Quickish fix is to go into the apk before using the script and renaming all the drawable folders to match both the "themed" and "to be themed" apks. Then after the processes you can go in and rename them back to there original names.
............. Im also assuming that if you kept the folder name changes the xml wouldnt know where to look for the images???? I know little to nothing about how android handels that, if someone would like to chime in please do.
Click to expand...
Click to collapse
Maybe it could be tweaked.
Like after line 55(like roms) (and line 130 pre to post)
Code:
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" drawable-mdpi)
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" drawable-en-mdpi)
Line 240 seems to be for eclair. Most roms here are froyo.
It is possible. Daneshm90 knows his stuff and keeps it fairly simple. If you come up with something he would probably add it.
I will see what I can come up with.
Edit: Extracted file to C:\Theme-Porter_beta_3.
I added the above lines to to the script at lline 57 and 58.
Added files per directions. No errors. Changed files are dated 3/17. Untouched files still old date.
I may reflash soon to test it. Will follow up.
IamSonoma said:
Maybe it could be tweaked.
Like after line 55(like roms) (and line 130 pre to post)
Code:
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" drawable-mdpi)
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" drawable-en-mdpi)
Line 240 seems to be for eclair. Most roms here are froyo.
It is possible. Daneshm90 knows his stuff and keeps it fairly simple. If you come up with something he would probably add it.
I will see what I can come up with.
Edit: Extracted file to C:\Theme-Porter_beta_3.
I added the above lines to to the script at lline 57 and 58.
Added files per directions. No errors. Changed files are dated 3/17. Untouched files still old date.
I may reflash soon to test it. Will follow up.
Click to expand...
Click to collapse
Looks like that would take it one step closer. The main problem would still exist with those changes. It wont take images from a drawable-hdpi folder and migrate them to a drawable-hdpi-v4 folder. I posted in the op and asked if there might be a way for him to add an option to force the images into the other directory. I would assume it would be similar to part of what the script does to handle hdpi to mdpi conversions.

Categories

Resources