I'm currently trying to compile a new ROM based on the WWE GB release.
Can anyone tell me how to add the CRT animations?
filipharvey said:
I'm currently trying to compile a new ROM based on the WWE GB release.
Can anyone tell me how to add the CRT animations?
Click to expand...
Click to collapse
Haha, I have been trying to do that myself since this morning, but failed miserably (but I am a rookie, this explains that).
What I read is that the animations are in system/framework/framework-res.apk, which is a renamed zip anyway.
So what I understood is: unzip this file, replace anim/lock_screen_enter.xml and/or anim/lock_screen_behind_enter.xml with the proper ones, rezip the newly framework-res.zip, rename to .apk, and supposedly build the ROM with this.
But I tried with l0st.prophet's files from LPRemixHD, and it did not work here :'(
I am sure there is something I missed.
angerized said:
Haha, I have been trying to do that myself since this morning, but failed miserably (but I am a rookie, this explains that).
Click to expand...
Click to collapse
So am I mate!
Haven't played with ROMs since the Hero, and even that was mild fiddling - This will be my first proper ROM.
angerized said:
What I read is that the animations are in system/framework/framework-res.apk, which is a renamed zip anyway.
So what I understood is: unzip this file, replace anim/lock_screen_enter.xml and/or anim/lock_screen_behind_enter.xml with the proper ones, rezip the newly framework-res.zip, rename to .apk, and supposedly build the ROM with this.
But I tried with l0st.prophet's files from LPRemixHD, and it did not work here :'(
I am sure there is something I missed.
Click to expand...
Click to collapse
Could you attach those files for me, to save me downloading the whole ROM - I'm on fairly limited bandwidth.
Trouble is, I won't really be able to test this until my XTC Clip arrives - I'm just getting prepared!
You cant just replace xml files, the apk has to be decompiled, xmls modified and then the apk recompiled or else you will get a boot loop.
There's quite a few changes to services.jar, framework-res.apk and HTC-resources.apk. I can't remember off the top of my head but I suggest you take the files from my Rom, take stock files and compare.
Sent from my HTC Incredible S using Tapatalk
Thanks for that. I'll give it a look over.
Related
Can anybody point me in the right direction so I can port Stericson's lockscreen over to a Roger's rom?. I imagine there are other people that switch themes often and would just want the lockscreen without having to flash an entire theme so even if this is something that is exclusive to Cyanogens roms is it possible to just port the lockscreen?
CC CEO said:
Can anybody point me in the right direction so I can port Stericson's lockscreen over to a Roger's rom?. I imagine there are other people that switch themes often and would just want the lockscreen without having to flash an entire theme so even if this is something that is exclusive to Cyanogens roms is it possible to just port the lockscreen?
Click to expand...
Click to collapse
yes can someone explain the process for porting stericsons lockscreen over to a rom/theme what all needs to be included?
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
beagz said:
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
Click to expand...
Click to collapse
how do you just go about putting it into another cm 4.0.4 based theme then?
david1171 said:
how do you just go about putting it into another cm 4.0.4 based theme then?
Click to expand...
Click to collapse
Armyranger did it for dark hero
Services.jar
Policy.jar
Framework.jar
Framework-res.apk
Then just copy png files
beagz said:
Armyranger did it for dark hero
Services.jar
Policy.jar
Framework.jar
Framework-res.apk
Then just copy png files
Click to expand...
Click to collapse
thank you beagz, you always save my ass some way or another lol. if i have any problems with i will pm him.
beagz said:
It has hooks in the .jar files. So until Stericson provides info on which smali files are needed.it cannot be ported
Click to expand...
Click to collapse
i believe he did. unfortunately i am not familiar with github and havent the slightest clue what i might be looking for. u seem to be knowledgeable tho care to share?
Where is his github for the lockscreen?
http://twitter.com/stericson
david1171 said:
thank you beagz, you always save my ass some way or another lol. if i have any problems with i will pm him.
Click to expand...
Click to collapse
you also have to use jdwme's services.jar also until one is released the regular services.jar from cyanogens rom will not work i think stericson changed some stuff in it to allow the lockscreen
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Stericson said:
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Click to expand...
Click to collapse
Will the smali files have the same names?
More or less.... Might be a little different...
Any questions just ask me about them....
Stericson
Stericson said:
Heres my Github guys, got it up last night: http://github.com/stericson
The files that I edited are:
Strings.xml
Drawables folder
/anim/fade_in1.xml
/anim/fade_out1.xml
/anim/fade_in1_delay.xml
/layout/keyguard_screen_lock.xml
framework/policies/base/phone/com/android/internal/policy/impl/Lockscreen.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
framework/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java
And I think thats it...
In reality these files should build into most dream builds...
Stericson
Click to expand...
Click to collapse
uhhhhhh....that and that github site are like reading a different language to me. I just want to get the lockscreen from xtheme onto my phone. Not sure where to locate those files on github. Im usually not this dense as ive ported the majority of ted's hero theme to my rogers rom. maybe someone would be so kind as to post links to the files or make a update.zip for it?
CC CEO said:
uhhhhhh....that and that github site are like reading a different language to me. I just want to get the lockscreen from xtheme onto my phone. Not sure where to locate those files on github. Im usually not this dense as ive ported the majority of ted's hero theme to my rogers rom. maybe someone would be so kind as to post links to the files or make a update.zip for it?
Click to expand...
Click to collapse
framework/policies refers to the android.policy.jar file and those are the .java files he edited.
beagz said:
framework/policies refers to the android.policy.jar file and those are the .java files he edited.
Click to expand...
Click to collapse
where is strings.xml?
it becomes resources.asrc
stericson told me
beagz said:
it becomes resources.asrc
stericson told me
Click to expand...
Click to collapse
do u know what files specifically in the drawables folder? if its just the files starting w/ZZ i did that but it hangs on the g1 screen when i try to boot it up. I think its because i am unable to edit the policy.jar myself as i am on a mac so i just took the jar file from the cyan build and placed it on the rogers 1. I also did the same with "resources.asrc". Im fairly certain if i can edit the files for the respective builds it will work.
stericson on the hero rom
hey just wondering, tried looking around for this answer and i didnt see any so i thought i ask the question. Can i flash the stand alone stericson lockscreen to a hero rom? or any other way to get this lockscreen in to a hero rom? im currently using the jacHEROSKI 1.6r2. any answer would be great because i really like that lockscreen.. thanks again
saywhat4118 said:
hey just wondering, tried looking around for this answer and i didnt see any so i thought i ask the question. Can i flash the stand alone stericson lockscreen to a hero rom? or any other way to get this lockscreen in to a hero rom? im currently using the jacHEROSKI 1.6r2. any answer would be great because i really like that lockscreen.. thanks again
Click to expand...
Click to collapse
I spoke with Stericson about that and it doesn't seem possible to port it. (for now anyway).
This is a gingerbread framework for froyo to reproduce -work in Fresh Froyo and CM 6, took it from krispy.
The different from froyo is the animation after sliding the unlock screen and the pop up notification.
I have try it, and this is nice just for refreshing our froyo before the source is come out.
This is not an update package.
How to apply it ?
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Don't worry! I already did make a theme for CM lol. I just pulled the animations and it looks great with CM.
lol, i know that CM guys is better than me. goodluck with the new rls.
Thank you guy. It looks very good
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
This update works quite well on any Froyo
Very cool animations and looks - Thanks!
I patched my framework and then reinstalled it via ADB shell (using root file manager caused a boot loop for some reason)
This theme looks fantastic, and I love the animations. My only problem is that I can no longer see my clock on the notification bar. I'm assuming it's because the numbers are still black therefor match the background.
Any way to change this? I can't make sense of the XML files, they don't look like anything I've ever seen before.
im guessing this doesnt work with odex'ed builds?
leoleotheiii said:
im guessing this doesnt work with odex'ed builds?
Click to expand...
Click to collapse
themes will never work on odex'd builds, its one of the few drawbacks to the odexing process
Hi!
I have been trying to extract the theme from this ROM
http://forum.xda-developers.com/showthread.php?t=869408
It looks awesome and I want to add some animations from a different ROM and use it with Darkys or Assonance for example but this seems to be much harder than I though unless someone has a quick and easy for dummies procedure for poor me that is.
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
rrrrramos said:
It should be as easy as extracting the framework-res.apk, twframework-res.apk, mms.apk, bootanimation.zip and fonts as that is what is listed as being themed in the ROM thread. Then use the theme porter posted in the Android Themes section of XDA to inject them in your apk's, then manually change whatever didn't copy over.
Click to expand...
Click to collapse
mmm sounds simple when you say it lol I will need to dig deep here it seems but that is a good post to point me towards the right path
I usually just extract the framework-res.apk and twframework-res.apk from the ROM I am taking the theme from and the ROM I want to put it in, then I copy the res/drawable-hdpi folder from the old apk into the new one. It is a quick/dirty method, and wont let you change font colors or add a circle battery mod to one without it, but I have never had problems with it before.
You also have to be sure it is compatible with the rom you are using. Some roms have different xml code behind and if you simply put the framework and tw framework in your rom you risk getting fc at boot and not getting past them.
Sent from my SAMSUNG-SGH-I897 using XDA App
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
shaolin95 said:
Both are JPY Roms so I hope that is enough. I guess worst thing that could happen is having to flash again
Click to expand...
Click to collapse
Try first with /system/framework/framework-res.apk and /system/framework/twframework-res.apk
I'm attaching a cwm zip file that has those files as found in Doc's 6.1 rom.
Just replace them with the files from whatever rom you want and keep that as a backup in case something goes wrong. It will save you from reflashing
If both are JPY roms then it shouldn't be an issue.
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
shaolin95 said:
I tried doing what Ryukeima mentioned but I ended up with a Frankenstein of a theme as not all things from the them I wanted came over to the new one!
This is going to require some practice. That ROM has also some very nice Icons for Launcher Pro so is going to be another thing to look for..in fact I think I could be happy just getting those Icons.
Click to expand...
Click to collapse
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
icezar1 said:
Rip all the framework folder. Make a CWM zip and flash it over your ROM. It should work without problems. Then try to either apply animations on UOT kitchen or inject them with metamorph.
Click to expand...
Click to collapse
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
To answer the first question, it won't straight out work. You have to add the images to the file 'framework-res.apk' in the 'drawable-hdpi' folder located within it. Different framework-res.apk's will differ from ROM to ROM, and will just FC or bootloop your phone if you use one that it doesn't like. That's why most themes have the ROM they will work with posted in the title. If it is the same base ROM (in the case of my phone, running Assonance, any JK3 theme will work), then it is as simple as drag & drop. But if it's between say Axura and Assonance, it would have to be manually changed as stated above, since there may be subtle differences in the framework.
As for the second question, here ya go
http://forum.xda-developers.com/showthread.php?t=717437
viny2cool said:
Sorry for my noobness...Just trying to learn this stuff
So if i rip out all framework folders from one rom and manually replace them in another rom (like i did for kernel..replacing zimage file)...will it work?
Also, can anyone tell me how to make a CWM zip...i know there is a post for that on XDA but i am not able to find it...
Click to expand...
Click to collapse
If the theme was made for JPY and the Rom you want to put it on is JPY, it should work. However, there are sometimes system apps which need to be installed with the theme. Easyest thing would be to rip it off, put it on your rom and see if it works. Experiment a bit, thats how you'll learn.
thanks and thanks.
Its really interesting to have a full control of your phone....so i am enjoying learning this stuff....tried using UOT kitchen but got errors...
I just want to modify notification bar...
I am on darky's 7.7...i will have to look for compatible theme
viny2cool said:
I am on darky's 7.7...i will have to look for compatible theme
Click to expand...
Click to collapse
There's plenty of jpy based themes in the i9000>theme section.
You could metamorph it if it doesn't require any xml edits... it looks like Marilyn img edits which could be taken foment that rom..
Sent from my SAMSUNG-SGH-I897 using XDA App
i have a question along these same lines. if one wanted to copy the notification pulldown from a different ROM|theme, how would you do so? im using Perception 9.5 which is built on JK3, but the Androdena theme is built on JPX files. all i want is the notification pulldown elements. can you just copy those image files over and go? i always see themers talking about 9.pngs and i was just wondering if they'd prohibit just a simple copy from one tw-framework to another.
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
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.