yashsingh1/xdaforums huggingface dataset:
[Android Themes] Westi01:
I have done exactly this steps and nothing is changing :( I also have extracted the framework-res.apk and the icons were ported to it but nothing of that is showing up in Rom. btw i pushed it over adb.

Edit: something has changed. The default Wallpaper was restored :D
[Android Themes] Daneshm90:
Ur doing adb push framework-res.apk /system/framework/ correct?
[Android Themes] Westi01:
right! As mentioned above.
[Android Themes] Daneshm90:
I dunno wht else to say.

Ur sayin the apk it spits out is themed but when u push it, nothing shows.

Maybe try another apk?
[Android Themes] Westi01:
The PNGs in drawable-mdpi are correctly changed (see attachment ) but for some reason it is not showing up :( The Guy who made the theme mentioned that CM6 has problems to adapt themes perhaps it is a problem of cyanogenmod. I will now pull the framework-res.apk from phone to look if the icons are replaced also in the version of phone and if it was adapted by the system.

cheers :D

Edit: The PNGs on phone were not replaced!!! I must have done something wrong what has nothing to do with the theme-porter.

Ok full adb log:

cmd:

cd C:\SDK\tools

adb shell

mount dev/block/mtdblock4 /system

exit

adb push framework-res.apk /system/framework

adb reboot

exit

No errors or something.
[Android Themes] Daneshm90:
Doubt it matters but what the heck :

Do

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

Instead of

adb push framework-res.apk /system/framework
[Android Themes] Westi01:
Ok I will try it as soon as i have a Framework-res.apk ported. The script has stopped working for me since i tried to port the framework-res.apk from phone (via pull...). I am trying to get it working though...

Edit: i have used the backup of the other Theme-Porter Folder and it worked now. But pushing with these modified lines, as you said, Haven't brought any changes.

I will now try to push an normal system apk and not framework...

Edit2: No success. Replaced the Contacts apk. Could it be that i need rw rights ? or a system overlay ?

Edit3: Problem solved. I didn't know that i have to go to clockwork recovery and mount /system there! Done that steps again and it worked. Thanks for Support though.
[Android Themes] t3project:
this batch file doesnt work for me either. im trying to port the iNexus theme from the N1 to the EVO. followed all directions to the T and after a reboot no changes are made. i can decompile the framework and the images are there but not showing up. i've even made flashable zips and still no effect. this is with a CM6.1 port. anyone offer any help?
[Android Themes] bigboss09:
Hey guys. First time on this website after I stumbled across it on google but I used this (I think correctly) and when I go into recovery and try to apply it, it says

E: Can't find update script but I saw it in there. So now I am all confused. Any suggestions?
[Android Themes] Café King:
Anyone who know how to make this work who please would help me on Skype or MSN? :)

Thank you in advance...

/CK
[Android Themes] fifthstreetjammer:
I've used this many times without issue, so what exactly is your need?
[Android Themes] Café King:
I've tried it some times without any success... Must be doing something wrong... Would be nice having a helping hand who could help me succeed :)

/CK
[Android Themes] fifthstreetjammer:
Can you elaborate on what isn't working? Are you able to run the script? OS your theme not fully porting?
[Android Themes] Café King:
Well... I take my current themes framework.apk and put it in the "old" framework folder... I take the theme I want and put the framework.apk in the "new" framework folder... Then I run the script and it seem to work... I then take the new framework.apk from the "new" framework folder and push it to my phone. Nothing at all is changed... Got any ideas what's going on?

/CK
[Android Themes] Daneshm90:
They have to have the same filename ;)
[Android Themes] Café King:
Hmm, I'm a bit confused now... Both framework-res got the same name before I run the script? :confused:

/CK
[Android Themes] Daneshm90:
Nvm misread it.

Try a different folder on ur system.

like c:\themeporter

Try to avoid wierd paths with wierd symbols and spaces.
[Android Themes] Café King:
I just moved it to that location :D

But will give it another go...

Thanks for your time so far :)

/CK
[Android Themes] Café King:
The theme I want to replace is a theme I made in the online kitchen... Does that have something to say?

/CK
[Android Themes] Daneshm90:
Well wht are the source/target firmwares ?

Is it non proprietary ? Like are u trying to port a htc rom to a stock android rom ?
[Android Themes] Café King:
Mate... Is it possible to have you in MSN or Skype? I am stuck... Would be easier to talk to you "live" :) Hope it's possible...

/CK
[Android Themes] Mich2Ga:
Will give it a try
[Android Themes] parker09:
This script is awesome!

I was getting so sick of the default android white notification bar, my new notification bar has a sleek feel to the UI,

Thanks again!
[Android Themes] vercetti:
hey danesh!

could it be that this doesn't work if i want to use it with the official t-mobile froyo release for htc magic?

i pulled out both the framework from my CM nightly build (black status bar with colored icons) -> folder "old", the framework from the official t-mobile rom -> folder "new", ran the script then adb pushed the framework in folder "new".

i rebooted and the status bar was black, but the text color of the clock was black also (was white in the nightly build of course) and when i pulled down the status bar the curtain is white (not black) and different things messed up here and there.

does it maybe not work on the official froyo release?

thx,

v.
[Android Themes] Daneshm90:
Nope it did work. remember it doesnt port smali files or xml needed to change text colors. i dont know ne theme transfer app that dpes so mostly cuz its not safe
[Android Themes] SiNJiN76:
Not sure if this has always been happening...but, after the script works on the framework-res.apk I see a message just before the dos windows closes...but can't make out what the message is...whether it's an error message or not...the window closes too fast.

Is that Normal? If the Window closes, it means that everything went according to plan, right? The theme seems to have been updated fine...just wondering about that message.
[Android Themes] vido.ardes:
Just wanted to post a message to say thanks, used this to port a theme to my hero and it worked perfectly!
[Android Themes] pswin09:
I have a question, can we port a rom(already themed) to other rom(already themed)?
[Android Themes] AndDiSa:
Why not? But what do you expect? The result will be, that the pngs of the 'old' rom will overwrite the pngs of the new one ...

Send from my G1 with HTCClay's UNOFFICIAL Superfly 1.6 D/S ADS using XDA App
[Android Themes] ermacwins:
Can this be used to port MIUI to HTC Hero?
[Android Themes] Hultra:
Hi everybody

I'm sorry but I really don't understand the process to do this...

Does someone could detail more precisely please ? I think that's will be better with an example, if you can..

Thanks ! :)
[Android Themes] 4thfloorcaveman:
I'm kinda curious too.

If I don't want to port the whole theme, but just a part of it (say the dropdown notification screen), can i open the "old" framework delete that which I don't want, and run the script with an un-complete old framework?

or how to approach this?

or just manually copy over the image and push it trough adb?
[Android Themes] Daneshm90:
You put the themed apk in old folder

You put the unthemed apk in the new folder

Run script, choose accordingly.

Once done the themed shud have transfered over to the new apks.

Done.

Well if its a single image it would be easier to just drag/drop. But yea the other method prescribed will work equally well. (Remember it only copies what it finds exist in both the new and old apks)
[Android Themes] alexthearmo:
Just want to convert HDPI to MDPI...can I?

Can I use this script to simply change png size?

I want to use this to convert the pngs in the MIUI rom to be the correct size for the same exact ROM only for MDPI devices. Can I do that? In other words...I want the rom to be exactly the same...each app will get each and every png and none will be deleted...they will all simply be shrunk to the correct size. Will that work? I'm kinda having some problems, can you tell me if I can do it, and if so, if I am doing it properly?

I copied the MIUI App folder and placed it IN the APP folder in your script (both in the new section and the old section). I did the same for the Framework folder. In other words, it looked like this:

Old>App>App> apk files

Old>framework>framework>files

New>App>App> apk files

New>framework>framework>files

I selected convert to mdpi, and chose option 1 (run from same rom to same rom).

It immediately said it was finished, but nothing had changed. So I tried taking the app folders out of the app folder and just having the app folder with the apks. Same with the framework. To this, the script said: Could not find specified file.

Can you please tell me if this is possible or what I'm doing wrong? Thanks!
[Android Themes] jr313:
Ok im a total NOOB at this porting themes but would like to try and make this happen so any and all advice will be greatly appreciated....ok so i have to take every system app thats listed and put it into the old folder (app) from the rom/theme i want to port over, and also just the system framework-res.apk into the old folder (framwork) or everything that is listed system/ framework? PLEASE dont blow me up for being such a beginner. Im tryng to port over the Avolon theme from saphire 1.1.1 to CM 6.1 RC5
[Android Themes] Daneshm90:
Yes ur correct.

Remember it only works on apks, so as long as its deodexed, u can put any .apk in the old folder and same name apk in new folder and it will transfer images from old to new.
[Android Themes] alexthearmo:
Hi Daneshm90...could you answer my question at the bottom of the last page? I want to know if the theme porter can simply convert a ROM from HDPI to MDPI? Will it keep the 9.pngs in tact or will I have to do those by hand?

Also...how do I go about converting from hdpi to mdpi? I tried putting the app folder from the rom in the app folders from your porter...but it didn't do anything.

Could you please let me know if what I want to do will work, and how I should go about doing it? Thank you so much!
[Android Themes] alexthearmo:
also, do i put the apks in your app folder? or do I put the ROM's app folder in your app folder with the apks still inside?

I tried the first way and it said: item not found. Then I tried the second way and it just said: "completed" instantly, even though none of the files changed. Please let me know. Thank you!

-alex
[Android Themes] Daneshm90:
Hey,

Yes my script ignores .9 png's when in that mode (hdpi to mdpi)..

I think u didn't download the latest beta then, redownload from OP

Put ur theme(hdpi) in old. Rom in new (mdpi).

Select to turn on hdpi to mdpi.

And then port according selection.
[Android Themes] Daneshm90:
Old folder (Theme)

New folder (Rom u want the theme ported to)

framework folder's = apks from /system/framework

app folder = apks from /system/app
[Android Themes] alexthearmo:
Thanks...but there is no theme...I just want to take the MIUI ROM and make the pngs smaller using your script. Will that work?

Do I just put the same apks in both old and new?
[Android Themes] Daneshm90:
Oh yea sure, u can do that.

That will work, except for .9 png's ofcourse
[Android Themes] alexthearmo:
So what should I select? Toggle 4, then option 1? Put the same app and framework folders in your app and framework folders for both the old and new of the porter?
[Android Themes] Daneshm90:
Yes that is the correct method.
[Android Themes] alexthearmo:
Ok. That's what I did last time and it just instantly finished and didn't change anything. I'll try downloading the newest theme porter in your original post. Thanks for all your help. I really appreciate it!
[Android Themes] Patriot Virus:
Going to give this a try soon. Thanks!
[Android Themes] Systemfraud:
So this doesn't do things like notification bars and battery icons, etc? It only ports the themes of apks?
[Android Themes] Daneshm90:
Those are png's.

It transfers :

png (if a match is found in source and target)

.9.png (if a match is found in source and target and not in hdpi to mdpi mode)

xml's and the rest (Never)
[Android Themes] Systemfraud:
Ah, I see.

Is it possible for me to use the system/app and the framework from themes ONLY or do I actually need the ROM+theme for it to work the way it should?

Right now I'm having a problem with a theme, I have an AOSP theme for my Sense ROM, so my main goal was to get the gingerbread theme working for the Sense ROM, but I'm having no luck at all..
[Android Themes] Daneshm90:
Here is how it works :

Find apk in folder (app/framework in old)

Find matching apk in folder (app/framework in new)

If found, extract it :

If matching folder found within the apk continue :

If matching png/.9png's found copy them over

Once done, zip it up.

So yes, u put w/e apk's u want theme's transfered.
[Android Themes] Systemfraud:
So if I zip it up, will I be able to simply flash it in recovery?
[Android Themes] Daneshm90:
Nope, u'll need a update-script

Use my update.zip packager script if you need assistance.
[Android Themes] Systemfraud:
Alright, I'll try my best. Thanks a lot. :D
[Android Themes] teddyearp:
Curious and forgive me for not reading everything, I did peruse the last ten pages or so . . . .

I have a MM (.xml style) theme that I would like to port to CM6.1 for the A855 Droid 1. As it may be known, the MM theme file when extracted doesn't contain any .apk's, just the main .xml file and folders with the proper subfolders with the respective .png files for application to the respective .apk files. Can I use this beta_3 app to accomplish my dirty deed? I've tried the manual method and have had market issues, so I'm hoping this app might be my ticket.

TIA
[Android Themes] shady503403:
im so confused :confused:

alright well kinda.. i just don't know where im going wrong and need some help.. i must be doing something slightly wrong. ive read this thread up and down.. still can't find anything to help.. so no im here..

heres the steps i take, which i believe are correct..

-place theme i want in OLD folder i.e. stick.e's black.efied nexus one theme...

--app and framwork folders

---(just extract zip to these folders. im just placing everything in folder from app\framwork theme zip inside app\framework folder into themeporter OLD folder)

hope that makes sense.. :)

-placeing the rom which i want to be themed into NEW folder.. i.e. cyanogenmod 6.1.vision.

--extract framework\app from cyanogenmod to themeporter folder..

then run script... select options 1.. hspi to mdpi is off.. says its done.. goes superfast.. idk if its supposted to be that quick. literally takes about 2 seconds.

im thinking this is where im messing up somewhere.. :o

then with cyanogenmod6.1 unzipped i place into scipt that OP has in signature to make an update.zip.. where i folled his video guidlines on how to make an update.zip since i don't like working with adb i find this easier.. then gives me the update.zip and iflash...

and nothing happens.. pretty sure im messing up somewhere in the pngs being coppied from the theme to the rom in app\framework folders.. but idk anymore..

im a n00b to this.. never tried any of this before.. please dont bash me. :eek:

i just want this theme ported over to my G2... :(

From what I understand I can use a nexus one theme and use this script to get it on a G2 rom...

thanks in advanced.. i'll try again in the morning..
[Android Themes] Daneshm90:
Try moving the script to something like c:\themepoter
[Android Themes] shady503403:
Okay.. will try shortly. How can I check to see I'd the new folder has been themed?
[Android Themes] shady503403:
solved the problem.. i can tell cause i can see the script running now. thanks you sooo much for your help and guide with this. ive gone from n00b to h4x0r 1337.. :p

no really. i appreciate it alot for all the hard work youve done on this.
[Android Themes] bradm23:
Is the link not working? When I click the link it says "access to webpage denied". Is there another mirror I can get this from, I really want to port some themes to my Inc
[Android Themes] Daneshm90:
Working fine here.

Try Link
[Android Themes] youdug:
i need some help. i made some changes to the colors of some of the png's just in the drawable-mdpi folder in gomorrah's cm 6.1 theme and im trying to port the theme to jaybob's froyo2.2 DEC 17 BLACKMOD rom. i put gomorrah's framework in the old folder and jaybob's framework in the new folder, run the script, select 1, and it just says "The system cannot find the file specified." for both the apps and framework. heres a screenshot. thanks for any help.
[Android Themes] bluepinkpanther:
What with sense roms?
[Android Themes] fileboy22:
Can sumone make a Video tutorial for this? It's kind of really confusing beacuse I don't

know what to transfer in what? It would be really helpful and I really want to use this!
[Android Themes] Salsation:
Thanks man, works great :)
[Android Themes] MattDrumz:
Been using this to port themes to SuperE, works great.

However, porting Donut themes to Eclair/Froyo ROMs doesn't seem to be working quite right. I tried porting the theme in the SuperCSDIv4 ROM to SuperE, and it ported everything except for the black bar. I haven't tried any other donut themes yet though.
[Android Themes] glhelinski:
Can someone please look this over please before I do this and see if I got the concepts?

Your steps from original post are in BOLD. My questions/comments are in between.

- PLACE OLD FRAMEWORK/APP IN OLD FOLDER (ROM THAT HAS THE THEME)

What I have for this is not really a rom but a theme that was made for Ultimate Droid 2.3 by Redman on droidforums. In this zip file contains folders: META-INF, and system. Within the "system" folders are folders: app and framework. There are a bunch of other stuff in the system folders.... so what happens to those?

35 files in apps folder (.apk files)

1 file in framework folder (framework-res.apk)

- PLACE NEW FRAMEWORK/APP IN NEW FOLDER (ROM U WANT TO PORT IT TO)

The Rom that I like (except for the colors) is called "Charity" and is based off of Android 2.2 Froyo

Do I take the deodexed Charity Rom I downloaded in zip format and extract to this "old" folder?

If I unzip this rom, the contents are folders: META-INF, su, and system folders and file: boot.img. Further, in the "system" folder are two folders that i'm guessing are the two I need: "app" and "framework". So I copy the contents of "app" to the "old app" folder and likewise the framework folder contents.

78 files in apps folder (apk files)

17 files in framework folder (jar files and framework-res.apk)

- RUN BATCH SCRIPT

- THE NEW FOLDER IS NOW THEMED

Questions:

what do i do with the contents of the new folder? do i put the contents of the apps and framework folders i assume back into the charity rom folder structure? Then does something need to be signed? then zipped back up using 7zip?

what have i missed here?

thanks

greg
[Android Themes] MattDrumz:
This works great, however, there are a few problems with the HDPI to MDPI function.

1) All of the buttons are huge. (Popup windows, status bar, lockscreen sliders, etc.)

2) Phone.apk isn't sized properly. (Can only see 4-6 buttons on the screen, makes the Phone.apk useless)

I'm not sure if these are issues that can be fixed, but if they're not, that's fine. It's a great program anyway. :D
[Android Themes] gkenny1991:
this is a great script ! :D good job ^^
[Android Themes] cowboyboats:
I would love to see an update to go from froyo to Gingerbread
[Android Themes] myn:
First of. Daneshm90 you have made my life a ton easier. I use this and ApkManager daily. Totally indispensable tools for a Rom Dev.

I was wondering.

I see Ver 1.0 in topic title but the download link is beta 3?

Also I was wondering if this accommodates v4 mismatch directories?

If the target apk has say /res/drawable-hdpi-v4 and the source is /res/drawable-hdpi will it map correctly?

Thanks again buddy for all of your contributions to XDA :)
[Android Themes] abu_noah:
please update from Froyo to Gingerbread. some of the framework is now in systemUI on the gingerbread roms.
[Android Themes] emichroc:
This is amazing! Thank you!
[Android Themes] factualpuddle:
i'm kinda lost.. i'm trying to port Simplistic_CF_1.7.2 for Chronos to my phone running Floyo, is it possible? lol, i have no clue what to do..
[Android Themes] Androidious:
Sweet, thanks for this app. :-)
[Android Themes] MDUK:
I was having the same problem as you until I moved the folder containing the theme porter to "C:/themeporter". Any spaces will prevent the script from running.

May I suggest that the OP be amended to make this clear as I'm sure it will save a lot of similar posts / people's time?
[Android Themes] JoelyMole:
This is great thankyou
[Android Themes] punkmonkey1984:
me and you both, not sure were im meant to place the files, says its done, but dont see no new folders or changes.
[Android Themes] DarthPiggie:
I just want to say:

I just wanted to say that this is a fantastic tool; great job with the batch script and use of ImageMagick console app. Fantastic work overall, worked wonderfully porting the Red Gingerbread theme from Liberty to Apex.
[Android Themes] Daneshm90:
Awesome, great to see it still works ;)
[Android Themes] parker09:
Does this work on the HD2, I tried doing it but when it rebooted it didn't change the look.
[Android Themes] alher591:
what do after i run the script. it said it couldn't find most of the apks
[Android Themes] roboots21:
In theory would this work porting a Droid 2 theme to an LG Ally ROM? I am looking at using this or theme injector to do this .. and don't care which one I have to use but really want to port a theme over :)
[Android Themes] LeeRiley:
I'm sure this has been said a few times over but I can't get my head round it. I'm running CM RC1 7, do I

then,

Once both these commands have been completed, put all the files in the OLD folder and the FRAMEWORK and APP folders from my desired theme in the NEW folder? Run the script and then where will my new FRAMEWORK and APP (ready to push back to the phone) be?

Thanks for any help given!

Forget all that, managed to work itout myself, but I can't get it to work how it should, the theme just won't work, does anything need to be wiped before pushing the files back?
[Android Themes] zeppelinrox:
Actually...

OLD folder = existing theme

NEW folder = the theme you want from a different ROM

After you run theme porter, the files in the OLD folder get modified and you install those files.

How well does this work for converting from CM7 to CM6?
[Android Themes] PMGRANDS:
I've been Looking for Something like this.... Thanks!!

*Sent on My*

Fast as its Ever Been....

"Sprint" Hero.... Running My, *ExpressoEnergyHero* ROM, KIFNO's Build.Prop.Tweek, & The XDA BLUE.apk!! "Page 10" of My Thread!!

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

http://www.megaupload.com/?d=WTMLMK6M

http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS
[Android Themes] zeppelinrox:
you're welcome :)
[Android Themes] whiteguypl:
Im stuck with one problem with this script. A lot of themes that im attempting to port have miss matched folder structures. Ill try to explain it...

Now i can take the images by hand and migrate them from the hdpi to the hdpi-4 folder with no problems. New apk will be themed and accepts changes without any problems. When i use the script it doesnt seem to be able to handle this situation. It will more or less ignore the hpdi-v4 folder if the Old apk doesnt have one.

In other words would there be a way to make an option to force the conversion i stated i can do by hand? Sort of like part of what the script already does with hpdi to mdpi only with no file size change. If needed i can attach two apks that will allow you to recreate the problem.

Sorry about the long post if this was covered somewhere in the thread and i somehow missed it.