[INFO] Please update your update-scripts to the Edify versions! - Epic 4G Themes

As the Topic says. Clockworkmod 3.0+ requires the use of Edify scripts
(Those are the ones with updater-script and update-binary in them instead of update-script)
See post #2 of this thread for common methods of doing things in Edify. Copy the update-binary from a rom.
http://forum.xda-developers.com/showthread.php?t=897612

Ill be on that as soon as I get home,thanks for the heads up.
Sent from my SPH-D700 using XDA App

Since My thread is in the development forum I figured I'd share it here as well (w/o making a new thread for it).
amend2edify Script converter with zip support

Related

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

[REQ] Transition animations

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

[Q] Making Minor Theme Modifications

Hello Devs,
I'm interested in making a few very minor modifications to the overall theme for my phone. I'm currently using FireFly, and although I like it for the most part, I'm not very fond of the current animation used to display dialogs.
I currently develop for Android, so I'm familiar with aspects of applying styles and themes to my own app as well as using styles from within the android.jar. I've read a few things about doing this, but I'm hoping there's a way to clear up some loose ends.
1. If I were to just open up and modify the main FireFly zip package, paricularly the files under /system/framework/framework-res.apk, would it be possible to to zip it back up, flash back to stock and then follow the usual procedure to install the Rom?
2. Is it possible to modify that .apk and just upload it directly to the my current rom?
3. Do I need to be concerned with apk signing?
Thanks to everyone in advance,
Jeremiah
Im not a moderator but I believe this should be in themes section or Q&A. =/
From what Ive done. You can modify the zip packages. Best results I'v had is using 7zip to modify them internally. Ive only modified images in them, and my little experience you have to keep the same amount of images it had from the beginning. Im not sure if that is changed by modifying the xml's or something else.
prbassplayer said:
Im not a moderator but I believe this should be in themes section or Q&A. =/
From what Ive done. You can modify the zip packages. Best results I'v had is using 7zip to modify them internally. Ive only modified images in them, and my little experience you have to keep the same amount of images it had from the beginning. Im not sure if that is changed by modifying the xml's or something else.
Click to expand...
Click to collapse
Damn it... I had a feeling I missed a section this would be belong more in, my eyes glazed right past the words Theme in the App/Theme section. A mod is more than welcome to move it, sorry for the mistake.
Thanks for the advice though
I haven't done any themeing myself mainly because I'm too lazy, but from what I understand based off what other people who do theme have said to modify the number of images you need to edit the corresponding xml file.
http://forum.xda-developers.com/showthread.php?t=1227179
Might help alleviate some of your worries about signed apks and what not.
Many of the colors are handles by XML. You will need to decomplie apks to modify xml files and then recompile them again.
You can use APK Manager to decomplie and recomple the APK packages.
Also, go through this thread.
PS: Request mods to move this thread to Q&A section.
Takes time to do it. I used to do a lot of themeing to roms but had to hang it up. You have to know what picture files to change and then what each line is in each .XML.
IlluminatedOne said:
Many of the colors are handles by XML. You will need to decomplie apks to modify xml files and then recompile them again.
You can use APK Manager to decomplie and recomple the APK packages.
Also, go through this thread.
PS: Request mods to move this thread to Q&A section.
Click to expand...
Click to collapse
Awesome, thanks so much for this, exactly the information I was looking for.

[TOOLs & UTILITYs]

ok...am going to share some applications that *might* help you in getting life your droid life easier.
please note, these apps are NOT mine. am sharing it because i feel that EVERY black owner deserves to know every tweak to get the best of the p970 ...after all, we are SUCH a nice and integrated community.
i'll simply link some apps and going to attach some.
QTADB
it is the most essential and user friendly app that EVERY droid owner - be it a dev, a cook, a user or a noob, anyone.
download here:
http://qtadb.wordpress.com/download/
APK Manager & APK Multitool
a great utility tool. essential for me.
please note, APK MULTITOOL is the changed name of APK Manager after v.4.9
here is the link to the thread of the dev for latest :
http://forum.xda-developers.com/showthread.php?t=1310151
Color Edit
ok...this is a bit off-beat and is for the cooks and devs. this is a graphical hex code chooser for the ones modifying the colors. works very simple (and thus, so well )
(i found this in a thread of xda, but am sorry am not able to locate it right now. so am attaching the program directly.)
please check the attachment for the application
(please inform me the actual thread, if you know, so that i can link it to the devs actual post )
MIUI Theme Editor
this is for modifying or creating a mtz for the MIUI ROM (thanks flatzki )
check the following:
it works for me.
http://forum.xda-developers.com/showthread.php?t=1563780
APK Batch Installer
ok...this is again VERY handy for me. am SICK of installing the apk's one by one. u can choose the apk's you want, and this app will batch install it. saves me a LOT of time. (am flashaholic )...check the thread:
(there are many, but am sharing the one i use, and it works for the p970)
http://forum.xda-developers.com/showthread.php?p=23291051
APK Edit
ok....this is a small app. it's neat too. it allows minor changes to the application. allows you to change the name of the app(the one you see @ drawer), lets you edit the icon and allows you to poke the app information (like change the author )
http://forum.xda-developers.com/showthread.php?t=890199
Online HTC-keyboard maker
get this site to make awesome keyboards for YOUR p970. get "personal" keyboards.
site:http://www.gimpsta.com/themer/index.php
username: p970
password: optimusblack
Online Theme Ktchen
unnecessary to waste words on this since ALL of us know what it is.
link: http://uot.dakra.lt/kitchen/
Android Ktchen
dsixda's kitchen. needs no intro. get it here:
http://forum.xda-developers.com/showthread.php?t=1227549
PLEASE SHARE IF YOU KNOW OF ANY APPLICATION THAT CAN HELP THE FELLOW MEMBERS.and also share tutorials, how-to's, guides, etc. share the handy and nifty applications, if you please.
hope this helps all of us
Thanks man... Nice collection for noobs like me........
Sent from my LG-P970 using XDA
Hw to install the keyboard after you have created one??
P. S. Currently on Zeus 6.1 o
Sent from my LG-P970 using XDA
abhi_g1 said:
Hw to install the keyboard after you have created one??
P. S. Currently on Zeus 6.1 o
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
take the .apk and replace HTC_ime_22 or something similar @/system/app and reboot.
It's a zip file...
Sent from my LG-P970 using XDA
Don't share tutorials? sounds like propaganda. Hero?
gabwerkz said:
Don't share tutorials? sounds like propaganda. Hero?
Click to expand...
Click to collapse
lolzz....there are loads f them at xda...i wanted this thread to be clean and have small tweaks for the owners.
but nevertheless, i feel am wrong then. gotta correct it ASAP ...sorry bro
i was thinking in wrong line
EDIT: 1st post edited
abhi_g1 said:
It's a zip file...
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
unzip it...find the .apk under the system folder.
thanks for the thread, it's not good for my free time
thanks for the info but i dint get how to use colour editing
can you post the the thread where you got it
Wow! This is great! Thanks a lot bro! Really helpful
there isn't a CM7 Theme creator for Themechooser as MIUI Theme Editor, isn't?

[3.0.0 beta] EVilTheme: VRTheme Reborn

About
Eviltheme (Enhanced VillainROM Theme Engine) is an Android system modification platform meant for use with custom Android recoveries.
It allows modification of application resources without the need to replace the whole app or install a new operating system.
Eviltheme is based on the VRTheme Engine from 2011, though versions 3.x.x and up heavily differ from the original VillainROM code.
Disclaimer
Eviltheme is provided to you without warranty. You are free to try it on your device, but you are doing so at your own risk. I will not be responsible for bricked devices, wiped devices, etc.
Features
Automatic systemless mode with version 3.x.x+ (Magisk required, version 13.1+ recommended)
System mode fallback in case Magisk is not present
Supports both Dalvik and ART platforms
Smart bytecode refresh (delete classes.dex/classes.art only if it is replaced by the theme)
Easy uninstallation via automatically generated flashable ZIP or through Magisk Manager (if installed systemlessly)
Delete files (even inside APKs)
Support for pre/post-(un)installation scripts
Support for dual /system partitions
Downloads
Latest beta: 3.0.0-beta4
Last 2.x release (no systemless support): 2.0.6
Changelogs
GitHub
Documentation
Second post
Help
Third post
Credits
The VillainROM team
@djb77
@Spannaa
@topjohnwu
Source code (GPLv3)
Eviltheme main repo
Eviltheme restore ZIP repo
Documentation
Things to remember​
Compile your res/smali/etc files first before you put them in your theme! You can use APKtool for that, then just extract the files from the resulting APK.
Theming user apps is not supported, because modifying the contents breaks the signature.
Remember to properly edit .9.png files, or else you might get a bootloop!
You do not need to put theme files in a subfolder inside the main APK folder, e.g. /system/priv-app/SystemUI/SystemUI.apk. EVilTheme automatically does that for you.
Do I need to download the official Magisk module template?​Nope! EVilTheme includes post-fs-data.sh, service.sh, and system.prop. Look for them in META-INF/tk/aureljared/magisk-common and edit them to your liking. The module.prop is automatically generated from information you put in eviltheme.prop.
In the event that the official module template is updated, I will update EVilTheme to ensure compatibility as soon as I can.
How do I theme an app (or apps) using EVilTheme?​Inside the ZIP, there are three folders that you can modify as needed; namely, data, system, and vrtheme.
Your patches/theme files go in vrtheme, while APK files that you want to install onto the device go in data and system.
For example, you want to theme Settings.apk, which is located in /system/priv-app.
Let's say your theme replaces res/drawable-hdpi/battery_icon_50.png in the APK, and also replaces classes.dex because you changed some smali files.
These are the steps you need to follow to make a flashable theme ZIP:
Ensure you've downloaded the appropriate template ZIP. Make a folder somewhere you can remember and extract the ZIP there.
The folder should now contain the folders META-INF, data, system, vrtheme, and a file called eviltheme.prop.
Open eviltheme.prop in a text editor (please use Notepad++ if you are on Windows!) and add your theme information there.
In the vrtheme folder, go to system and make a new folder called priv-app. Inside it, make another folder called Settings.apk. Make sure you capitalized correctly!
Now make folders as necessary, according to the location of the files you want to theme. For example, battery_icon_50.png is located in res/drawable-hdpi, so make a folder named res inside Settings.apk. Inside it, create a folder named drawable-hdpi, then paste your new battery_icon_50.png inside.
Repeat step 5 until you've placed your theme files in their appropriate locations.
When you're done, go back to the root folder of the theme (the one that contains new, vrtheme, etc.) and put all 5 objects in a ZIP file. You should use Deflate compression method only. Any compression level will work.[/u]
If the recovery that the theme is intended to be used with requires signing, sign the ZIP now.
Test your theme! :victory:
How do I uninstall a theme?​If the theme was installed systemlessly, remove it in Magisk Manager.
Otherwise, flash the relevant zip in /data/eviltheme-backup.
How do I delete files inside APKs to be themed?​To delete files, add the filenames to a text file named "delete.list" inside the APK theme folder.
This is an example of a delete.list:
Code:
res/drawable-hdpi/ic-launcher.png
res/drawable-xxhdpi/battery_full.9.png
How do I delete files that aren't inside APKs?​You will also need a "delete.list". Remember to use full paths:
Code:
/system/app/Bloatware/Bloatware.apk
/system/etc/hosts
Put that in the "vrtheme" folder.
How can I exclude deleted files from being backed up?​Eviltheme versions 3 and up will automatically back up files that your theme deletes (in non-systemless mode).
To exclude a file, add "no-backup" to the end of the corresponding line in vrtheme/delete.list.
Code:
/system/app/Bloatware/Bloatware.apk [B]no-backup[/B]
How do I force installation on /system?​Eviltheme versions 3 and up will automatically install in systemless mode with Magisk 13.1+, but if you want to force your theme to install to /system, create a file named .eviltheme-force-system (notice the preceding dot) in /sdcard before installing.
I need to execute some commands during the theme (un)installation.​Inside META-INF/tk/aureljared/eviltheme, there are files named "pre-install.sh-example", "post-install.sh-example", "pre-uninstall.sh-example", and "post-uninstall.sh-example". Remove the "-example" part from the file name of your desired script, and edit that file in the text editor (please please please use Notepad++ if you're on Windows).
Use the comments in that file as a guide.
Help section
The theme wasn't successful, and I believe that the problem lies in the engine itself.​Post here describing the problem. Be as descriptive as possible. I will ignore all bug reports without an attached logcat dump and/or recovery.log. I'll try to look into the problem when time permits.
I am just a student, not a full-time developer. I may not be able to provide a fix for some bugs, so feel free to help me and everyone else out. If you know how to work with Git, an upstream patch to the project would be highly appreciated :good:
The theme was / wasn't successful, but I am stuck in a bootloop.​Try wiping your Dalvik cache. If the problem is still there, uninstall the theme and post a bug report in this thread. Include the relevant /cache/recovery.log and the theme you installed.
The theme was successful, but the app I was theming does not reflect my changes.​This is a tough one to solve. Try recompiling the APK itself with your theme files. If it works, it's either the problem lies in how you put the theme files in the ZIP, or maybe it's the script that's buggy. Try to make a ZIP again, following the instructions to the letter. If it still doesn't work, you can file a bug report here and attach your logcat dump, recovery.log, and (if you want) the themed APK.
The theme was successful, and now I'm ready to release my theme to the public.​All I ask for is some credit and a link back to this thread. :fingers-crossed:
The theme wasn't successful, and I found a problem in your engine script(s).​If you're familiar with Git, you can make a pull request to the EVilTheme repository.
If you don't know how to use Git, you can just edit the script(s) you need and send me a PM containing the fixed script(s). I'll add you to the credits list in the first post if your bugfix is effective!
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Spannaa said:
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Click to expand...
Click to collapse
Let me know if you need any help on the scripting side of things butty.
Sent from my GT-I9505G using XDA Free mobile app
hawkerpaul said:
Let me know if you need any help on the scripting side of things butty.
Click to expand...
Click to collapse
I will - cheers mate
Got it working but I'm sure you'd do a better job - .sh scripting isn't my thing at all.
Apologies to the OP for the OT...
Sent from my GT-I9300...
Spannaa said:
Great work :good:
I particularly like the smart selective dalvik-cache wiping
Maybe it could be even smarter if the script only wipes an apk's dalvik-cache if the apk has had it's classes.dex replaced by the theme...
I'm working on something like this myself but mine is based on the unreleased GS2XFormROM by @hawkerpaul
I'll throw you a link when it's ready
Click to expand...
Click to collapse
Hmm, yes I think I'll implement this in v1.1. Thanks for the suggestion!
Sent from my GT-I8730 using Tapatalk
Version 1.1 released!
v1.1: Link
What's new?
- Even smarter Dalvik wiping: delete dex files only for those apps whose classes.dex were changed (thanks @Spannaa)
- Corrected a typo in the restore script (please delete 'restore-vr' inside your /system/xbin, if any!)
- Removed unused methods in installtheme.sh
Click to expand...
Click to collapse
aureljared said:
Version 1.1 released!
v1.1: Link
Click to expand...
Click to collapse
How about making this TWRP compatible too - then it'd be even more useful
Reference 1
Reference 2
Spannaa said:
How about making this TWRP compatible too - then it'd be even more useful
Reference 1
Reference 2
Click to expand...
Click to collapse
Version 1.2 released!
v1.2: Link
What's new?
- Refinements to Smart Dalvik Wipe
- Switch to Linus Yang's BusyBox 1.21.1, which will hopefully make theming TouchWiz < 4.2 possible
- TWRP compatibility: switch to a static zipalign binary, grep method for OUTFD to look for updater binary
- Cleaner zip hierarchy: new apps to be installed to /system and /data are now in their respective folders in a folder named 'new'
Click to expand...
Click to collapse
Sent from my GT-I8730 using Tapatalk
aureljared said:
Version 1.2 released!
v1.2: Link
Sent from my GT-I8730 using Tapatalk
Click to expand...
Click to collapse
Very good job on this...one thing, in kitkat 4.4.2 touchwiz roms half of the apps that need to be themed are in /system/priv-app. This folder location does not seem to be in your installtheme.sh script. I can manually change everything myself but if you would like other users to take advantage of your work, you may want to consider updating for these users.
deuce_biggins said:
Very good job on this...one thing, in kitkat 4.4.2 touchwiz roms half of the apps that need to be themed are in /system/priv-app. This folder location does not seem to be in your installtheme.sh script. I can manually change everything myself but if you would like other users to take advantage of your work, you may want to consider updating for these users.
Click to expand...
Click to collapse
Oh right... How could I forget Am working on this now.
Thanks for the heads-up!
Version 1.3 released!
v1.3: Link
What's new?
- Support for KitKat's system apps in priv-app
Click to expand...
Click to collapse
Silly me, forgetting this while using a KitKat ROM
aureljared said:
Version 1.3 released!
v1.3: Link
Silly me, forgetting this while using a KitKat ROM
Click to expand...
Click to collapse
Nice work aureljared, the quick response and update is much appreciated :good:
Thank you @aureljared, deuce_biggins pointed me here, and I must say nice work to you.. Thank you
I tried to vrt a data/app, and it may have broke the signature.. It did theme the app, but it was no longer visible/available in my app drawer.. I could see the themed icon in data/app tho.. I don't think the original VRT could theme in data/app either... I did use your new version 1.3 with twrp on my Galaxy Tab 3, so that is good news.. It also made two folders on my internal sd, one was for data/app and one for system/app.. It did make a copy of the apk it themed in data/app, and placed it in the folder on my internal sd . I will test this on my Note 3 with twrp later..Thank you
aureljared said:
Version 1.3 released!
v1.3: Link
Silly me, forgetting this while using a KitKat ROM
Click to expand...
Click to collapse
cerj said:
I tried to vrt a data/app, and it may have broke the signature.. It did theme the app, but it was no longer visible/available in my app drawer.. I could see the themed icon in data/app tho.. I don't think the original VRT could theme in data/app either... I did use your new version 1.3 with twrp on my Galaxy Tab 3, so that is good news.. It also made two folders on my internal sd, one was for data/app and one for system/app.. It did make a copy of the apk it themed in data/app, and placed it in the folder on my internal sd . I will test this on my Note 3 with twrp later..Thank you
Click to expand...
Click to collapse
@aureljared, just curous...to follow up on with what cerj said, have you ever successfully themed an app inside of /data/app with your VRT? Seems to kill the app every time, your thoughts?
deuce_biggins said:
@aureljared, just curous...to follow up on with what cerj said, have you ever successfully themed an app inside of /data/app with your VRT? Seems to kill the app every time, your thoughts?
Click to expand...
Click to collapse
No, I only tried it with the old VRTheme, and it didn't work either (no icon in drawer). I don't think it'll work on EVilTheme either as I haven't changed the process of /data/app.
aureljared said:
No, I only tried it with the old VRTheme, and it didn't work either (no icon in drawer). I don't think it'll work on EVilTheme either as I haven't changed the process of /data/app.
Click to expand...
Click to collapse
Do you even think it's possible?
deuce_biggins said:
Do you even think it's possible?
Click to expand...
Click to collapse
It could be possible, if we can find a way to go around the sig verification. Or perhaps it just needs a Dalvik wipe, I don't really know [emoji26]

Categories

Resources