Flashable Theme Zip Base/Template - Nexus S Themes and Apps

Hey guys...I don't know about all of you but I'm eager to start porting MattedBlues to and themeing my Nexus S!
I tried putting together a flashable theme zip but failed. Apparently I didn't have the update scripts setup correctly, but I'm not sure what I was doing wrong. I'm not good with the script stuff so I'm wondering if someone has or can make a flashable theme zip for me? Or if someone could point me in the right direction for properly doing the update scripts then I'm happy to figure it out. Once I have the base with METAINF (and proper udpate scripts), then I can get going on themeing this incredible device.
Thanks guys.
EDIT: SOLVED (I had to delete the 3 cert files in METAINF). Here's a sample zip (Zune Font Pack) that you guys can use a base: http://dl.dropbox.com/u/11901383/ZuneFontPack1223.zip
To use this as a base for your theme, you'll want to add a "framework" folder and an "app" folder to the "system" folder and then place the themed/modified apks in their respective locations. Happy themeing!

Related

Round Battery Meter from BakedSnack in Other ROMs?

So I'm finally settling down on a ROM configuration I like. I'm currently using the following:
DamageControl 3.2.3
DroidX Boot Screen
Rotary Lockscreen
ADW Launcher
It's a great combination, but the one thing I miss right now came from the BakedSnack 9.6 ROM and that's the 6 segmented round battery meter in the status bar. Anyone know how to get that or at least something better than the default battery icon?
Thanks!
PSULightingGuy
Total Geek/Nerd, Proud EVO 4G owner, Android n00b.
P.S. This is a duplicate thread from androidforums.com, just figured it might help to ask here as well...
Theme the battery yourself, the icons you need to change are located in the framework-res.apk file, or wait a day or two whilst im making a video tutorial on how to change the battery
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk
http://www.mediafire.com/file/uwz0k1mwtzm/Circle_Batt.zip <<download
icegad said:
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk
Click to expand...
Click to collapse
Thanks! Works Beautifully! This makes my dream theme almost complete! Next step, is there a way to bundle a set of updates (I have the zip files) into one zip I can flash over any ROM? Anyone point me to a link about building flashable zips? Time to learn to do these on my own...
So Bump... This isn't working as well as I thought... I ran it all day and it worked fine for the first half of the battery life, but it then went all the way down to 22% while still showing half battery (3 of 6 bars)... Sigh... Anyone else?
PSULightingGuy said:
Next step, is there a way to bundle a set of updates (I have the zip files) into one zip I can flash over any ROM? Anyone point me to a link about building flashable zips? Time to learn to do these on my own...
Click to expand...
Click to collapse
yes you can its really simple!!
if you have more than one zip to flash, you have to extract all the apks keeping the exact position of them
(if app apk -> system/app or framework apk -> system/framework)
try to download any rom or theme, open the zip and you will see how it works!!
keep in mind that you need the updater-script --> (download any theme and copy the whole directory "meta inf" in your new flashable zip.
once you have meta inf and system/app system/framework (or anything else) into your zip, Sign it!!!
signing is really simple too!
http://forum.xda-developers.com/showthread.php?t=473580
read all!!!!!!!
then..
i've downloaded this battery stats themed (thank to icegad who made the metamorph) but, android 2.1 has the icons located in a new directory, not drawable-hdpi but drawable-mdpi. so, that archive posted by him doesnt work!
you have need to change that letter if you are using 2.1.
right now im on 75% so i dont know if i've got your problem too.. hope no
I dont speak english very well, but I hope you understand anyway ^^
icegad said:
Here's a morph of it
download metamorph from market(free)
drop zip in AndroidThemes folder on sdcard
i take no credit for this i only created the morph the actual icons were created by brandenk :c<<download
Click to expand...
Click to collapse
meta-morph doesn't work on 2.2

One Click Theme Injector (Updated 11/15) With HDPI to MDPI resizing!! RE-READ THE OP

READ THIS FIRST:
The original post is here alot of questions have been answered, here browse around there first.
UPDATE 9 PATCH TWEAKS:
This new version will port your favorite hdpi theme to an mdpi rom... yes 9 patch resizing. I want to be the first to say this is not 100% and it probably never will be, and over the next couple of days we can discuss this.
What it will do is resize every 9 patch in a rom and move it over to the mdpi theme. Yes this is the same method I used for all my hdpi ports.
What it might not get is the 9 patching data correctly, which means that it might get stretched incorrectly, most times you won't noticed but others it will be obvious. This will happen anywhere from 1% to 30% of the 9 patch pngs in a port, but all you will need to do is redraw them using the 9 patch draw tool in the adb folder.
My next version will have this included along with some instructions, along with font and boot animation porting.
Please respect other peoples work. If you port a theme using this and repost it don't just link back to the op... mention the author and give them props.
Also want to say I spent a looooong time trying to figure this out, and I tried many different ways, and I'm open to others suggestion on making this better
Oh and don't forget to to install Image Magick, its included and the HDPI to MDPI will not work without this.
This tool will take your favorite theme and inject it into your favorite rom... provided they are compatible with each other (might work if they aren't but thats for later). I did this cause alot of themers and people who like themes are always waiting for the nightly theme to get applied, well this will do it for you.
You can think of this as almost a theme installer.
INSTRUCTIONS by Norm12:
1. Download and extract.
1.5 Install image magick from the image magick folder... just run the installer and its ready to go. This is important the hdpi to mdpi will not work without it.
2. Copy both the theme and rom into the 1 click folder---the extracted one.
3. Open the 1-click folder and you should see your theme, rom, lib folder, and the injector script.
4. Doubleclick on the injector script----if you did everything correct it will open a cmd prompt
5. Enter the names of the rom and theme when asked...I did use the exact names and added ".zip" to the end.
5.5 Answer y if this is an hdpi to mdpi port otherwise n.
6. Hit enter and wait. When it is really done it will auto-close the cmd prompt. This may take 15 minutes.
7. Your newly themed rom will be in the same folder as the unthemed rom and theme zips. If it worked it should be slightly larger than the original rom. Enjoy
!!!IMPORTANT... BECAUSE 7ZIP SHOWS OUTPUT IGNORE THE "EVERYTHING IS OK" LET THE SCRIPT FINISH WHEN ITS DONE IT WILL CLOSE ITSELF IF YOU DOUBLE CLICKED IT OR IT WILL RETURN TO COMMAND PROMPT!!!
Ignore any errors your seeing while it runs, this is normal like before let it run completely through till it closes out.
Run time could be up too 20 minutes (60 with HDPI to MDPI) on a big theme/rom, but faster that waiting!
You must now install Image Magick if you would like to use the hdpi to mdpi resizing!
ISSUES:
There also seems to be an issue with the gallery3d.apk and the differences in the mdpi and hdpi version. For now remove this from the theme your porting otherwise it won't come out right.
Update 4:
HDPI to MDPI porting!!!!!
Update 3:
Removed verbose but added optopng verbose just let it run. It works but you have to let it finish, the cmd window will close it self.
Update 2:
Added verbose output so that you guys will know to close it out before its done...even tho 7zip says everything is ok... just let it do its thing.
Update 1:
Had the optimization stuff commented out... sorry its back on.
Script will clean up now after it finishes.
JAVA CLASSPATH:
Its needed for the signer to work properly goto a command prompt and type in java -version. if you get and error back java is not in your classpath and needs to be.
just right click on my computer, then goto properties, then click on the advanced tab, at the bottom click on the "Environment Variable" button.
Now click on the new button... the one on the bottom for system variable and put in this
variable name: JAVA_HOME
variable value: C:\<path-to-where-java-is>
Now click ok and select the path system variable and then click edit. IMPORTANT only append to the end of the value this... ;%JAVA_HOME%\bin
then click ok and ok out of all those windows and open a new command prompt and type java -version you should get no error if you do your path to java was wrong follow the steps above again and make sure the path is correct.
WHAT THIS WON'T DO:
It won't port over xml or smali edits.
It wont port over what it can't find... so if your theme has a facebook widget or something but the rom does not then it will ignore that.
It will not port over fonts or anything other than the framework-res.apk and all the themes apks in the system/app folder. If this is popular Maybe other stuff can get included.
WHAT THIS WILL DO:
Shrink a 9 patch from HDPI size to MDPI size.
Push over all the themes pngs from the apk with it to the roms matching apk.
Optimize every png in the theme you are porting over.
Zip align all the apks in your newly themed rom.
Sign the newly themed rom.
Give me feed back.
I might make this easier and make the injector steal the apks for injection right from your phone and then inject and make a flashable to put right back on... tell me what you think.
New HDPI to MDPI version with 9 patch porting download
reserved 10char..
Nice work
Sent from my HTC Desire using XDA App
TheRedDrake said:
Nice work
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thank you. hasn't caught on in this forum yet i guess.
I'll try this out now, this seems easier than the theme porter that's already on the forum.
Looks promising! I will try it out right now!
dl and try after work
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
vura said:
will this work for porting themes to the HTC Tattoo?? does it rescale the theme to suite the phone?
Click to expand...
Click to collapse
This will port any theme to any rom... provided they are compatible. So while you can go from a sense theme and inject it into a AOSP rom, it probably won't catch everything since it works off of matches. It also does not have any scaling included.
The biggest thing with this is that the theme and rom have to have a same file structure so all rom come and the have the system/app folder and the system/framework/framework-res.apk, this is what the injector looks for. So honestly you could build a theme from a buncha different apks from other themes it will inject that into your rom and give you back a flashable zip. So a good theme structure example would be Gommarah's Black Mod in the HERO CDMA forum.
I do however have a way to port HDPI theme to and MDPI ROM but its not 100%... if I get enough request I'll put it in its just the process I use to accomplish this is very complicated and requires some extra software, its also adds a significant overhead to the script run time (and 3x longer to run) It works in the since the it will shrink the HDPI 9patch png but the 9 patch data is wrong about 10-20% of the time. This won't cause the roms to force close but will just make some of the 9patch pngs to stretch wrong and would require a simple edit in the 9patch draw to fix it.
+1 for hdpi to mdpi scaling!
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
theu2621 said:
Just curious if I did this right as I am still fairly new to this whole scene and this whole process seemed to work way to easy. But basically I got both the rom and theme converted and then signed both zips. Does that mean that I can now successfully flash the new theme? Thanks in advance!
Click to expand...
Click to collapse
There is no need to sign anything, the injector will sign the final output zip. Take your theme zip and your rom zip and place it in the folder next to the script. Then just run the script when its finished you will get a a new zip called themed-<roms-name>.zip.... this is ready to flash (optoed, align and signed).
ASimmons said:
Any others want the hdpi to mdpi scaling? I've considered releasing it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Can I vote multiple times?
Ill try and get it ready for this weekend and see what you think.
Sent from my PC36100 using XDA App
First of all,great software worked as a charm...
I subscribe to the resizing,all the best themes are for HDPI...would make this the best theming tool out there for android
thanks that did it!
what if the rom needs has a seperate gapps.zip with it? thanks!
theu2621 said:
what if the rom needs has a seperate gapps.zip with it? thanks!
Click to expand...
Click to collapse
Just put the gapps system/app files into your ROM's system/app files. Then inject your theme, the tool does the rest
thanks again for the help! yall really helped, and rather quickly too!

How to Port themes

First off, BIG BIG thanks to dhemke17, this is only me adding to his guide.
How to Port Themes To Other roms:
First off, Slow down, relax, look at what you are doing, this is a generalization, if the xml, or image file does not exist
in the apk your trying to theme, do not add it, or subtract it, you add or subtract anything it will not work, YOU ARE ONLY
REPLACING!!(doin some math here is your ticket to boot camp)
1) Download 7-zip, or winrar as they can open .apk files without unarchiving them.
2) Download both the rom you want to theme, as well as the theme you want to port.
3) Using 7-zip, open the rom and pull out the following files:
a. Browser.apk
b. DeskClockGoogle.apk
c. GoogleQuickSearchBox.apk
d. Launcher2.apk
e. SystemUI.apk
f. Framework-res.apk
4) Make a separate folder and unarchive the theme your want to port there.
5) Open a theme .apk file(s), Open in 7zip or winrar, dont extract, just open and manipulate.(keep in mind, all your image
files you will need to replace will be in the following folders)
6) Open these folders in your themes .apk(s) files:
a. Drawable-mdpi (may be drawable-xlarge-mdpi/hdpi/nodpi)
b. Drawable-nodpi
c. Mipmap-hdpi
d. Mipmap-mdpi
7) Now, open the corresponding folders in the roms apk file,(agian, winrar, 7zip)
a. Select all images from the theme's .apk and drag-and drop to the corresponding location in your roms apk file.do this
for each image and you will be about 90% there…
b. If the image you want doe snot exist in the theme, use photoshop or gimp to produce it as you see fit, when your done
make sure you put it in the right folder, make sure its the same size and resolution and name as the original, or it will
not work!!!
8) There are several xml files that need replacing…
a. DeskClockGoogle.apk/layout-xlarge-land/desk_clock.xml
b. Launcher2.apk/layout-xlarge/
i. all_apps_paged_view_application.xml
ii. button_bar.xml
iii. customize_paged_view_item.xml
iv. customize_paged_view_wallpaper.xml
v. customize_paged_view_widget.xml
c. SystemUI.apk/drawable/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
d. SystemUI.apk/layout-xlarge/
i. status_bar_notification_area.xml
ii. status_bar_notification_panel_title.xml
e. framework-res.apk/layout-xlarge/ keyguard_screen_status_land.xml
I your making a new theme or have nothing to port, you will need to decompile with apk tool to actually go in and edit values and colors in xmls
Below is the link to download a update.zip template, (how you and everyone will apply the theme)
By this step the structure of the folders inside of the update.zip should seem familier, just bare in mind anything you put
in there will 1. replace the existing 2. add if not there already. You will Open the update in winrar 7zip as well, if you theme an
app thats not a system app, it will go to update.zip/data/app, if it is a system app it will go to update.zip/system/app,
and the themed framework-res goes to update.zip/system/framework/
http://www.mediafire.com/?6getd70r869d7j1
Good luck, happy theming, if you need help PM me or dhemke7 and we'll see if its salvagable
Nice post...looks familiar lol...I would like to add a couple of things though since this was very specific for the the HoneyBread Theme:
Additional Steps:
1) Pull the images as described above
2) In order to determine what xml files were originally edited, one can arrange the folders by date modified and go through and find what xmls were most recently edited and pull them...OR
3) To modify the xmls yourself, you must use apktool to decompile the specific apk files. Once decompiled, you can actually read the xml files and you can edit them yourself.
Remember, when porting a theme, always give credit where credit is due and you should ask permission from the initial creator before posting. Have fun everyone...if you need any help with theming/apktool, feel free to contact me here or PM me and I will be happy to help.
Thank you thank you
So how hard do you think it would be to port the Matted Blues Theme? with jabbawalkee permission of course! Always been a fan of that theme.
Post a link, ill get it ported.asap...
Sent from my SCH-I510 using XDA App
what is the the theme from?
Its from CM...gbread...they just made it an apk to run on their theme engine. I would love to learn how to port the themes myself...I have read through this tutorial, but at some points I am getting lost. Here is the theme...I mean if you guys could help it would be awesome!
http://forum.xda-developers.com/showthread.php?t=768848
Ryan
you on this D? Let me know if there is anything I can do
MitchTank said:
you on this D? Let me know if there is anything I can do
Click to expand...
Click to collapse
I hate to say this, but there would be all sorts of compatibility issues being that the theme comes from a phone, which has different dimensions and sized images, they all have different names..it would honestly take forever to port. One would be better to completely redesign the theme for honeycomb. I don't have time for that right now
that is a good point, it is sweet though.....onward to the Charge
Id love to see this on the charge...if you plan on tackling this.beast, you have to modify the XML files yourself as aosp files aren't compatible.
Sent from my ADR6400L using XDA App
hey guys. I've been beta testing bigdx's zoom zoom theme for the galaxy tab 10.1. I've ported it to Caulkins touchwhiz km7 rom but I can seem to change the clock colors. Can you help me out?
on ours its in a values folder after recompiling with apktool
hey i was porting the aosp theme of galaxy s to galaxy fit....everything worked fyn xcpt one !! in main theme a green line comes below every power button of the pulldown status bar when it is switched on...i am just nt able to put it,pls help!!!
Sent from my GT-S5670 using XDA Premium App

Adding a Theme Chooser theme to a ROM permanently (as default/system setup)

If this is in the wrong forum, please move for me, could not determine where to ask this...
A quick question, I hope someone can point me in the right direction....
On Theme Chooser themes, how can I take a theme and integrate it into a ROM so it is the "default" of "system" theme. I know I can just migrate the graphics over to the proper files (framework-res and systemUI) but there are also quite a few xml files involved, and no easy way I can tell as to where to put these or how to use them as their filenames don't all match the original files in the ROM. When you apply a Theme Chooser theme, it does not effect the atcual framework files, correct? In other words, if you aplly the theme you can't just copy the frameowrk and systemUI files to capture it. I tested this and from I could tell, it did not work like that. I hope this makes sense, very much looking forward to any help someone experienced with this can offer.

[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