yashsingh1/xdaforums huggingface dataset:
[Android Themes] Kons90:
Daneshm90

I got question.I have Samsung Galaxy Spica,so can I porting with this program for example theme's from HTC G1/Magic/Legend because it's the same screen resolution and I can't for example porting theme from Motorola Milestone, HTC Desire/Nexus One to my phone ?

Please reply me,I'm waiting ;)
[Android Themes] Daneshm90:
exactly, it has to be the same resolution. I might implement in future where it'll resize images by 66% to port to mdpi but the results are flawed for now so ill wait a while.
[Android Themes] Kons90:
Ok thanks,so in old folder I must put theme from my Samsung Galaxy Spica phone and to new folder I must add theme from other phone ? I good think ? ;)
[Android Themes] Daneshm90:
Right, so in the old folder goes the theme u want to transfer and in the new folder goes the rom u want that theme transferred to.
[Android Themes] Daneshm90:
Ok, so i just finished a beta version of 3 modes for this script.

1 - Port from/to same firmware

2 - Port from (pre eclair) to (post eclair)

3 - Port from (post eclair) to (pre eclair)

I'll upload soon and I hope theres some brave testers to try it out and let me know ;)

As for the previous posts of all the suggestions. I have no problem adding those and i will once this script is stable and confirmed to be working in these 3 modes. Also i might add an option (hdpi to mdpi and vice versa) where all it does is, resize all pngs (not .9.pngs) by 66%. This results in a "decent" port of the theme but the user must fix tiny things themselves that don't look good.
[Android Themes] Daneshm90:
Ok so here u go :

Try the backward compatibility mode (option 3) Let me know how it works out.
[Android Themes] Daneshm90:
Heres a second beta. This one has an option to turn on hdpi-to-mdpi mode.

With that mode on, what happens is, while porting ur theme, it will take the .png's (not .9.pngs) and resize them by 66%.

Let me know how it works out.
[Android Themes] es0tericcha0s:
Hey there. Just wanted to chime in and say thank you so much for this! It's saved me hours of work and now I won't be too burnt out to help others even somehow less tech savvy than I to fix up their roms. If you lived close, I'd buy you a drink, but since I can't do that, I'll just thank you profusely and wish some good karma comes your way.
[Android Themes] Daneshm90:
Ur thnx is good enough. Can u tell me wht modes u tried and had success with? im trying to get this out of beta ;p
[Android Themes] mnjm9b:
batch is not working in wine...

waiting for linux version.

this looks awesome.

Just a thought, but being that Android is linux why are so many android fans so reluctant to leave windows.

native developing (linux 4 android / windows 4 winmo) seems to be a smarter move all around.

again, not a complaint... just a thought.
[Android Themes] Daneshm90:
I agree. I've however tried to completely move over to ubuntu, but have had bad luck when it comes to my nvidia card :( I'll switch over perhaps when a new release comes around the corner.

Bash/shell scripts are so much more powerful than batch scripts. Till then though i'll just have to wait for people to port it :(

K so i just need some confirmation if the new modes ive added are working for ppl (especially that hdpi-to-mdpi option). Once done, i'll move this out of beta, add in the suggestions u guys gave and it'll make it easier for the xda user who is porting this to linux.
[Android Themes] shinyfong:
hi so all i got to do is to pull the framework from my old rom and new rom and patch it, then in the new folder i push it back to the rom? and

what is the command to pull the framework?

cd \

adb remount

adb push framework-res.apk system/framework/

adb reboot

am i right?

or can we just open the rom rar.file and look for the framework folder and pull it out?
[Android Themes] shinyfong:
i hope you can fully explain clearly what am i suppose to pull and everything step by step.

really appreciate it thanks!
[Android Themes] Daneshm90:
Either is fine. As long as the ur current rom or the theme u want to transfer is in "old" folder and the rom u want it to transfer to is in the new folder ur set.

Well if u have ur theme setup on ur phone, u can just

adb pull /system/framework/framework-res.apk <drag old/framework folder here>

adb pull /system/app <drag old/app folder here>

Then insert ur new rom's framework/app folder in new folder. U can just extract it from the update.zip u download for the rom.

Once done, u'll find the new folder's app/framework themed. Just push it to ur phone

adb push <drag new folder here> /system/
[Android Themes] shinyfong:
thanks alot but i was wondering if i could pull vanilla theme over to sense rom?
[Android Themes] Daneshm90:
Heres the tricky part with sense. They have their own images n stuff as well. Still, u can put a vanilla rom in the old folder (preferably same firmware as the sense rom) and the sense rom in the new folder. Remember this script only copies images from the old folder that exist in the new folder. So worst comes to worst, the result will be a half sense half vanilla rom. Let me know how ur unique experiment turns out :p
[Android Themes] shinyfong:
well i transfering vanilla to sense, so sense should be in old instead right?
[Android Themes] Daneshm90:
U want sense to look like vanilla correct ?

Basically in the old folder goes the theme u want to port to the stuff in the new folder.
[Android Themes] shinyfong:
there is a loop at the boot screen cant pass the htc quietly brilliant page

actually i only like slide lockscreen in vanilla and the slide to answer call. i know by rm htclockdcreen i can get the slide lockscreen, but i am unable to get the slide to answer call. do you know how can i do it?
[Android Themes] Daneshm90:
That has to be part of the rom. Remember all this script does is port images over, nothing more/less.

So did u push the new folder after u flashed the rom ? U gotta flash the rom first. Do atleast one boot for it to create the dex's, then flash ur themed stuff on top after. Also post ur log (adb logcat) while phones stuck at that screen.
[Android Themes] shinyfong:
so how do i do it?
[Android Themes] Daneshm90:
I got no clue. U'll have to add in the code, considering its a sense rom and closed source, its almost impossible :(
[Android Themes] shinyfong:
well i dont know how to do it? maybe you could help me? i will buy you a drink :D
[Android Themes] shinyfong:
because i do not like the vanilla contacts and i prefer the sense people, so i thought of sticking with sense, but i like the slide in vanilla, any solution?
[Android Themes] Daneshm90:
Not right now, im at work lol. Hit me up in the evening.
[Android Themes] shinyfong:
haha i am at different timezone from you, how many more hours from now is your evening? if you could help me include the slide in the sense that will be damn great! :D looking forward man!!
[Android Themes] Daneshm90:
In about 8hrs lol.
[Android Themes] shinyfong:
haha okay!! in 8 hours time its my 7.30am i will be awake by then, then we can continue hahaha see you at 7.30!! :D
[Android Themes] FadeFx:
hi, afaik to change the color and background of the clock in framework_res.apk we need to change a .xml file. will this be ported over also? and if not, could you consider implementing this also?
[Android Themes] es0tericcha0s:
I tried a couple of Droid themes on my Eris before I realized that there were differences in the HDMI / MDPI formats making them unuseable. But I did have success with porting the Buuf 2.1 Theme from: http://xdaforums.com/showthread.php?t=690902&highlight=buuf to Tazz's newer Cyanogen Froyo rom: http://xdaforums.com/showthread.php?t=733897 making the first Buuf Froyo theme for the Eris that I've heard of.

Looks pretty sweet, but looking for others now. Think I'm hooked lol.
[Android Themes] Daneshm90:
Yea this only brings over images from the old framework/app that exist in the new framework/app.
[Android Themes] Daneshm90:
Cool yea i use this everytime a cm6 nightly is out, so in that area its def solid. Now im going to try to port that "palm-pre" from the golden days to cm6 and put this script to the test ;)

Update : Yea it worked as i expected. Only thing that didn't transfer was the status bar. Theres no way around that because pre eclair, those use to be png's and now they're .9.pngs.
[Android Themes] shinyfong:
HI Daneshm90, im back. Do you think you can help me with that? :D

I'm using cronos 2.12 and I hope to bring the slide over and if even possible the theme, but I want to the sense mail and sense people. It's going to be hard but Hope you got a way to help me, will get you a drink :D thanks!
[Android Themes] shinyfong:
Are you there haha
[Android Themes] shinyfong:
hi Daneshm90

are you there?
[Android Themes] mahd-leb:
i tried converting a theme to work with the biffmod newest rom and every thing went through fine but when i flash it, the theme doesnt apply idk why :S can some please help me convert this theme it would be much appreciated

theme :

http://forum.cyanogenmod.com/topic/1656-theme-black-and-red-theme/

rom :

http://xdaforums.com/showthread.php?t=745478
[Android Themes] Daneshm90:
Which script did u try ? The one in OP only works if firmwares are same. For porting to diff firmwares, try the beta i posted a few pages back.
[Android Themes] mahd-leb:
i tried the on in op and it did not work :S
[Android Themes] Daneshm90:
Yea that one doesn't support diff firmwares.

Try this one, remember its still in beta ;)

Click Here
[Android Themes] mahd-leb:
they are same firmware they are both froyo rom themes the theme is for cm 6.0 rc2 and i am using cm 6.0 rc3 which are the nightlies for cm6 and i tried both programs and it did not work i think what i am doing wrong is where am creating it to an update.zip to flash it is there a step by step direction how to create an update.zip with the update.zip script
[Android Themes] Daneshm90:
Oh nvm then. You can refer to my signature (Update.zip modified) and use that to create the update.zip. To check if the theme was transferred, u can always extract the apk's in the "new" folder and see if they have been themed. Fyi, i theme-port using this script everyday cuz i keep up to date with the nightly's, trust me it works ;)
[Android Themes] mahd-leb:
haha alright thanks i will try and let you know
[Android Themes] mahd-leb:
the files install fine and they flash fine but after the phone boots up the theme doesnt show its applied :S is someone capable of doing it for me the right way
[Android Themes] Daneshm90:
K i think ur doing something wrong lol. Let me see and i'll upload a flashable zip.
[Android Themes] Daneshm90:
Here try this and let me know. Just flash on top of the rom.

Link
[Android Themes] mahd-leb:
it worked ur a genious i dont understand why though i did follow the directions step by step but thank you so much
[Android Themes] Daneshm90:
Well figure it out though, cuz remember a new nightly is made every 24hrs. For the update script all i did was put the app/framework folder in "placehere" folder and ran script. Choose create updatescript, choose copy folders these were my inputs in order

SYSTEM

app

app

SYSTEM

framework

framework

Then create update.zip. Done.
[Android Themes] mahd-leb:
o that part i did not do right haha thank you for the help
[Android Themes] o2do:
used this to successfully get enoch's and celadon's framework-res.apk to push to my MT3G.

[a little off topic but...]

Some still don't work no matter what I do and those are Simplistic and Suavesque -- which are so nice. I can only get the status bar and a few other items to flash/push/morh without it not causing a bootloop or a FC nothing to do with this app though

AWESOME app thanks for it
[Android Themes] Snoring:
I've been trying to port Minimal Matte 1.5 to BB .4 on my Moto Droid 1, but I'm not having much luck so far. I pulled the app/framework directly from my phone, setup the files from Minimal Matte in the other folder and let the script do its thing. It seems to work without a hitch but then when I try to push the new theme files to my droid I always get an error about whatever apk not existing or something. If I delete that particular file it just errors on the next one.

I tried using the update.zip 2.0 modifier/creator and successfully made an update.zip that runs and installs fine but doesn't actually make any changes to my phone's theme. Any help with this would be appreciated.

By the way, when I tried to adb push the files to my phone I used:

adb push <filepath for app folder> /system/app/

adb push <filepath for framework folder> /system/framework/

Edit: I was able to successfully push all of the new theme files with my phone in recovery, but there are still no changes to the theme at all :(
[Android Themes] Daneshm90:
Are u pushing to "old" foler ? thats where ur theme shud go. also are the theme and rom diff firmwares ? if so use the beta of this script i posted a few pages back.
[Android Themes] Roladriz:
I Love all your work and effort Daneshm90. It would be a lot more difficult for me to theme, if it weren't for your tools and I have given you credit for the work you do...I tried using theme porter and everything worked great except the edits I made in framework-res/values/styles.xml. I ported my inspired theme from Sapphire 0.8.4 to Sapphire 1.0.0 and I still have black text everywhere instead of the edited white. Is there anyway to implement colors and values (although i only edited styles.xml from values) to the theme porter tool, Unless you know of an easier way..lol Thanks again for you contributions.

Here is the credit given http://www.droidforums.net/forum/cvpcs/65559-theme-inspired.html
[Android Themes] Snoring:
Nah I pushed the files currently on my phone to the "new" folder and put the files from the theme that I want to port in the "old" folder.

That's correct, right?

They're both 2.2 roms, but I believe the one on my phone is FRF84B and the one in the theme is FRG01B. So yeah I'll try the other file and see if that works.
[Android Themes] Daneshm90:
Yup. So now my question is is ur theme and rom different firmwares ?
[Android Themes] Daneshm90:
Cool.

As for porting xml's, the problem occurs where its not as simple as "moving" the xml over, its u gotta decompile the apk, modify the xml and recompile (we do this to make the changes to the resources.arsc file). This would prolong the process tremendously. Also it would only work for porting similar firmware theme/roms. I'll see but no promises ;)
[Android Themes] Snoring:
Nope, both 2.2 but I'm trying the script you posted on page 11 right now.

e: Still no luck, pushed the themed app/framework files just fine but no change to the phone.
[Android Themes] Daneshm90:
ok imma give it a shot n gey back to u.
[Android Themes] Roladriz:
Ok no problem..I use apk manager to decompile make my .apk and make the edits...its easy enough as it is...so no worries ..thanks again.
[Android Themes] Daneshm90:
Ok so i just gave it a shot, from what it looks like the theme was transferred fine. Are u sure ur downloading the hdpi version of the theme from the nexus forums ?
[Android Themes] mighty21:
Port EVO theme to Hero

Would happily donate $20 to be able to port an EVO theme to the hero.

This is the best idea on the forum that i've seen.

Everyone else man up. Let's take care of the man.

Who's in?
[Android Themes] Daneshm90:
Lol the gesture is enough for me ;)

As for ur plans, i found a minor glitch in my last beta, when u turn on "hdpi-to-mdpi" mode, although it resizes the hdpi images to mdpi, it doesn't rename the folder from hdpi to mdpi, once i fix that u should be able to have a decent port of themes from different devices. I might put it up 2nite.
[Android Themes] Daneshm90:
Ok so heres a new beta lol. This one has the proper naming convention for when converting a hdpi-theme to mdpi. I just tested on a galaxy s theme for nexus on a cm6 rc3 D/S and the results are acceptable lol. Try it out. Make sure u turn hdpi-to-mdpi on before porting
[Android Themes] es0tericcha0s:
Thanks again sir! I have had my eye on some Droid themes for my Eris for awhile...
[Android Themes] Daneshm90:
Alright, let me know how it goes. First do just the framework-res.apk and test the results.

Remember its beta plus theres no perfect way of converting a hdpi theme to mdpi aside from starting from scratch. This just resizes/renames the folders appropriately. The results in my opinion are acceptable, considering it does most of the work for u ;)
[Android Themes] :
so can i port say, a nexus one theme to my droid1?
[Android Themes] Daneshm90:
Not yet. In order to make it compatible for other ppl to use, i'll have to include a customizable resize percentage. So you would have to figure out, wht percentage the images must be resized by from one device to yours in order to look decent. In ur case, the images must be enlarged a bit since the droid's vertical height is larger than that of the nexus. Until i incorporate this, wht u can do is open the script with a text editor, replace every occurance (theres only 3 occurences) of 66% with w/e u want. So in ur case it'll be 100%+.
[Android Themes] LinuxNewb:
So I know the Samsung S users are the unloved children of these forums, but I was wondering if people have any success porting themes TO their Galaxy device. I have a Captivate and was using Metamorph with the EVO 4g black bar mod and after updating to new firmware and applying a new lagfix it no longer works :(

I'm hoping this will work now that metamorph won't do it.
[Android Themes] Daneshm90:
I might b wrong, but the reason i think it metamorph doesn't work is because of the different partition where the files are moved with the "lag fix". With this u get to choose where the files go hence it will work.

Also considering ur device and evo has the same resolution, you should have no trouble porting themes.
[Android Themes] LinuxNewb:
Then I'll give this a try when I get off work and let you know if I have any success.
[Android Themes] Cryptor68:
Hi Daneshm90,

i love this tool but i have some probs, i don´t wanna update a whole theme i only need to convert this status bar from htc desire to my samsung galaxy i7500.

http://xdaforums.com/showthread.php?t=754908

i use your new beta 3 turn hdpi-to-mdpi on before porting on and push my app/framework folder into "old" folder then i push the same into the "new" folder only by replacing the framework-res from the thread above with the black statusbar. then i made a update.zip using Auto-sign. boot in recovery, fix permission and "Apply any zip from sd" but "installation failed Can´t find update script"

where is my fault ?

Sorry for my english
[Android Themes] Daneshm90:
U got it reversed. The old folder is the theme u want to be ported to the "new folder". So in the old folder put the theme and in new folder put the rom u want it to be ported to. Also no need for update.zip for now just

adb remount

adb push framework-res.apk /system/framework/framework-res.apk

adb shell reboot
[Android Themes] Cryptor68:
Ok i try it again, sorry, but after

adb push framework-res.apk /system/framework/framework-res.apk

adb shell reboot

i´m on the boot loop

maybe the framework-res.apk from desire can´t work on my galaxy i7500 ?

Which option i have to chosse in the beta3 ? "4" - toogle hdpi to mdpi mode and then "3" Port theme (Theme is (eclair,froyo) and rom is (cupcake,donut)) ?
[Android Themes] Daneshm90:
right so turn hdpi to mdpi on. then depending on the rom theme ull choose the option. wht theme r u trying to port and to what rom?
[Android Themes] sydtrakked:
sorry if this is OT but has anyone here succesfully ported Minimal Matte 1.5 to Eris yet??? or to any similar mdpi device?
[Android Themes] Daneshm90:
isnt minimal matte already mdpi theme ?
[Android Themes] sydtrakked:
not the Desire version:

http://xdaforums.com/showthread.php?t=745854
[Android Themes] Daneshm90:
oh k well theres mdpi version too. are they different ?
[Android Themes] sydtrakked:
i actually want the widgets from the desire version... those are different...

will those work without porting or do they need to be converted from mdpi to hdpi?
[Android Themes] cal3thousand:
awesome

This blows Metamorph out of the water!!!!

I was wanting a SuperFly themed ROM... but I like Chromatic's overall ROM package better.

This tool TOTALLY delivers the goods.

Thanks sooooo much.
[Android Themes] Daneshm90:
hmmm well most widgets use

9.png as their background so simply copying them should work. No harm in using this script with hdpi to mdpi on as it ignores .9.pngs anyway while resizing the rest of images.
[Android Themes] Daneshm90:
ur welcome. few more success stories and minor features n ill bring this bad boy out of beta ;)
[Android Themes] es0tericcha0s:
Hey there. I'm in the middle of trying to port this theme: http://www.droidforums.net/forum/droid-themes/54995-iron-man-v-1-0-1-all-froyo-roms.html for the Droid to this rom: http://xdaforums.com/showthread.php?t=685594 for the Eris. I installed your newest beta script, put the apks and jars from the Iron Froyo rom in the old, the apks and jars from KaosFroyo into the new and ran step 1 port same to same. It gave me this:

The application has failed to start because its side-by-side configura tion is incorrect. Please see the application event log or use the com mand-line sxstrace.exe tool for more detail. Downsizing drawable-mdpi Images ... The application has failed to start because its side-by-side configura tion is incorrect. Please see the application event log or use the com mand-line sxstrace.exe tool for more detail. Calculator File not found - *.9.png Downsizing drawable-mdpi Images ...

And so on and so forth. Did I miss a step somewhere? I have used your 1st script with success in this way, but it's quite possible it's user error.
[Android Themes] Daneshm90:
Wow i have never seen that error lol. Can u try restarting ur pc and see if it fixes the issue ? let me know.
[Android Themes] sneaky_zekey:
this script is great but the theme i use also has some xml edits that change the background color. if i port it to the newest UD 7.0, i will loose the xml edites. my understanding is this only ports images, it seems like it would be to hard to port xmls. have to do it the manual way or with apk manager but im not skilled enough to do all of the xml edits that the original themer did, heres to hoping the original themer ports it,lol great job on another great script OP
[Android Themes] Daneshm90:
Thnks.

Yea xml transferring will pose too many problems, you can always manually port it making sure nothing has changed between ur rom n the theme in terms of the xml ur copying over.
[Android Themes] Cryptor68:
I got a modify Mod "Galaxo 1.6.4. for Samsung Galaxy i7500" its Android v 1.6, so i can use any of the themes from Android 2.0 or 2.1 ? ? if yes which option in beta3 Theme Porter ? or is it imposssible ?

1 Port theme (Rom/theme are same firmware)

2 Port theme (Theme is (cupcake,donut) and rom is (eclair,froyo))

3 Port theme (Theme is (eclair,froyo) and rom is (cupcake,donut))
[Android Themes] Daneshm90:
Right, so if u want that, you would place a 2.0/2.1/2.2 theme (mdpi) in the old folder, place ur (1.6) rom in the new folder. Then select Option 3. Now remember a lot has changed since donut compared to froyo, so the theme will have some missing parts but it'll do most of the work for u.
[Android Themes] Cryptor68:
Thank you, i give it a try later today
[Android Themes] he_stheone64:
Great work - this saves me plenty of time, once I have to port my themes to froyo for my MS. Since I already released 10+ themes, you can imagine HOW much work this saves me, so I owe you a biiiiiiiiig beer.

So now I can really focus on xml and resources edits (which is work enough, since I was stupid enough to do plenty of them...) for my ports.