yashsingh1/xdaforums huggingface dataset:
[Android Themes] upndwn4par:
Post a link to the zip you created.

Also, do you see secsettings.apk in the vrtheme backup folder on your SD card?

Sent from some device using XDA Premium mobile app
[Android Themes] Spannaa:
I know that the VRTheme template works for SecSettings.apk on 4.4.2 ArchiPort because I used it for my theme for ArchiPort Preview 5

What folder(s) in SecSettings.apk are your themed icons in?
[Android Themes] Shrewdy:
Nothing was present in the vrtheme backup folder !!

I have made some changes in icons in the following folders: drawable-sw360dp-hdpi, drawable-sw360dp-xhdpi and drawable-xhdpi..

Here is the attached version of the zip that i have created...

Thanks for the help guys ... really appreciate it :good:
[Android Themes] Spannaa:
I see the problem...

You've put your pngs in folders in the \system\priv-app\SecSettings.apk\res\ folder but the \system folder is for full apks not themed pngs\xmls

You should put them in folders in the \vrtheme\system\priv-app\SecSettings.apk\res\ folder

The reason there was nothing in the vrtheme-backup folder is that nothing was themed.
[Android Themes] Shrewdy:
How utterly stupid can a person be!! :p

Anyways thanks for correcting me out ... will make those changes and flash it again ...

and hopefully if i do everything correctly .... it will work :fingers-crossed:

Apart from this ... would you mind answering my other problem ....

actually i have been trying to play around with the framework-res.apk .... although i am able to decompile it successfully i am not able to recompile it again...

the apktool throws me tons and tons of error messages and i am clueless ... i even put up a thread regarding my problem but havent found the solution until now...

I am using ArchiPort rom KK 4.4.2.... if possible kindly shed some light :eek:

Thanks buddy .... :good:
[Android Themes] Spannaa:
A bit OT but which APKtool are you using?

Sent from my GT-I9300...
[Android Themes] zioriky:
I'm trying to change the number of toogle from 5 to 6 in portrait and in landscape 10 in notification panel, I am on Blekota beta 6 (S3), but following the guide and putting the xml in the zip after i flash nothing happens

How can I fix?

This is the zip that I flashed http://www.mediafire.com/download/48l00jvv8eup258/4.4.2_SystemUI.zip
[Android Themes] Spannaa:
Ok...

You've decompiled and edited a couple of xml files.

To add them to a VRTheme zip, you need to recompile the apk, extract the xmls and then drop them into the VRTheme zip.

But... As the xmls you've edited are from the res/values & res/values-land folders, you won't be able to extract them from the recompiled apk as these folders are merged into resources.arsc when the apk is recompiled.

Instead, you need to extract resources.arsc from the recompiled apk and drop this file into the VRTheme zip.

Lastly, you need to ensure you put your files in the correct folders in the VRTheme zip.

The one you attached has xmls in the \system folder but this is for full apks, not theme files.

Theme files should go in sub-folders inside the vrtheme folder - in your case \vrtheme\system\priv-app\SystemUI.apk\

Sent from my GT-I9300...
[Android Themes] zioriky:
I have a problem when decompiled SystemUi apkmultitool error

resources.arsc I can not take to put it in the zip VRTheme

How can I decompile SystemUI without errors

I installed the framework, systemui and twframework
[Android Themes] Spannaa:
That's not really an issue for this thread but...

APKmultitool is just an interface for Apktool and, if it's an older version, it won't work on apks from later roms. Try a later apktool.

If you can't decompile SystemUI.apk, where did the xmls in your zip come from?

Sent from my GT-I9300...
[Android Themes] zioriky:
SystemUI Blekota beta 6 S3

Edit:where can I find a guide to decompile SystemUI that

Sorry for OT
[Android Themes] The Sickness:
APK Tool

Look at my sig. Link for modding.
[Android Themes] Shrewdy:
Hi [MENTION=2948558]Spannaa[/MENTION],

sorry about answering after so looooooooooooooooooong ....

I am using a dos based apktool (i found the link after watching a youtube video) ...

Version of the apktool i am using is 1.5.2

Thanks
[Android Themes] Spannaa:
For ArchiPort 4.4.2 try using APK tool 2.0.0 beta9 instead of 1.5.2

Sent from my GT-I9300...
[Android Themes] Shrewdy:
Thanks for the reply buddy....after asking you even i did the same and was able to compile framework and secsetting files...

Thanks :good:
[Android Themes] Shrewdy:
Hi [MENTION=2948558]Spannaa[/MENTION],

I have a doubt ... while developing a theme i made changes to the SystemUI.apk file...

Here are the steps i followed....

1. I decompiled the SystemUI.apk and made changes to some images...

2. made changes to some xml files in the layout folder...

3. I recompiled the same and created a signed flashable zip for SystemUI.apk

4. flashed it on my phone and things worked the way i wanted...

Next

1. I copied the changed files (images and compiled xml files) to the vrtheme folder after creating proper folders..

2. I also copied the classes.dex and resources.arsc files from the compiled SystemUI.apk file...

Now when i flash this....it flashes it fine ... but when the system starts the Notification Bar disappears altogether...

And so i was wondering what the problem could be...i am attaching the zip file for your reference....

I am developing a theme for Archiport 4.4.2 and i used the optimized VR theme zip you gave me some time back...

Thanks
[Android Themes] Spannaa:
It's unlikely that the VRTheme zip itself is the cause but, without knowing exactly what edits you made, I can't really give you any decent pointers.

Try it with just \vrtheme\system\priv-app\SystemUI.apk\ and see what happens.

You have classes.dex & resources.arsc in this folder - what smali edits did you make and what edits did you make in the res\values folder?

You have some decompiled .9.pngs in other apk folders - these need to be compiled before adding them to the VRTheme.zip
[Android Themes] xehed:
help please, I tried to change some system app icon in CM11 and it flashed sucssesful, but while I choose to reboot the device the cwm said "it may break the root, would you fix it?" and I choose to "yes fix it" but after rebooting the icon doesn't changed,?? anyone help please..?
[Android Themes] andrewwright:
Post you're zip so we can help you.

Why not use cm11 template for changing of icons and a lot more in a tidy apk. Vr is amazing but cm has its own system to use :)
[Android Themes] xehed:
I don't know where to get cm11 theme template, been searching but nothing found, that's why I decided to make it with VRT

here is..
[Android Themes] andrewwright:
Check the updater script. There is a template posted by spannaa that work very well. :thumbup:
[Android Themes] xehed:
in the updater script? I don't find anything?
[Android Themes] andrewwright:
I'm no expert at this but you're updater script is the problem. Change it to the one a few pages back and retry.
[Android Themes] Spannaa:
That's on old vrtheme template that isn't built to theme system\priv-app apks.

It's not the updater-script that needs updating, it's the installtheme.sh file.

Like [MENTION=5132813]andrewwright[/MENTION] says, look back a few pages for an updated version that'll work with priv-app.

I'd give you the link but I'm away from my PC...

[EDIT] You can grab it from this post [/EDIT]

Sent from my OnePlus One...
[Android Themes] xehed:
thanks dude, will try it..:good:

---------- Post added at 05:07 PM ---------- Previous post was at 05:02 PM ----------

btw, anyone know where I can get cm11 theme template?
[Android Themes] Vivek_Neel:
Check CyanogenMod Github ;)

Even I have one with few activities.

VivekNeel github.:)
[Android Themes] masksan23:
How to use this in my CM11 Samsung Galaxy s3.
[Android Themes] Spannaa:
The updated vrtheme template I linked to a couple of posts above yours should work with cm11 but, like [MENTION=5132813]andrewwright[/MENTION] & [MENTION=5022494]Vivek_Neel[/MENTION] mention, it's probably better to use a CM11 theme if you can.

Sent from my OnePlus One...
[Android Themes] andrewwright:
So I was interested to see if this would work..and the answer is yes. :D I swapped some file around 'settings.apk' to see what would happen. And I found that with my cm theme set this would override vr theme and not show change...but with stock theme set the pngs were changing to the affect I was looking for. I guess with some work vr can work but cm has a template ready and so does vivek.
[Android Themes] Spannaa:
Whilst CM themes can make theming most things a lot easier, there are some important files you can't modify with them - anything in the layout folder for example...

Use a VRTheme for device/rom specific layout edits etc. and then overlay this with your CM theme.

Sent from my OnePlus One...
[Android Themes] Spannaa:
I've rewritten & updated the VRTheme template so that it'll work on Android 5, Lollipop roms.

Devices\roms tested and working:

Nexus 7 2012/LRX21P Android 5.0

HTC One M8/GPE Android 5.0

SGS3 i9300/Resurrection Remix 5.2.2 Android 5.0.1

Theme files need to be added to the vrtheme folder using the same directory structure as on your rom.

e.g. to change a png in SystemUI.apk\res\drawable-hdpi-v4, the modified png should go in the vrtheme\system\priv-app\SystemUI\SystemUI.apk\res\drawable-hdpi-v4 folder.

I've also added a couple of things:

Prints progress to the screen whilst processing apks.

Selectively deletes dalvik-cache files for themed apks (if they're present).

Creates a vrtheme_restore.zip in \data\vrtheme-backup\ so that all themed apks can be reverted back to their pre-themed versions.

Lollipop_VRTheme_Template.zip

Feedback appreciated ;)
[Android Themes] Rycon33:
^^Very nice mate. Going to try it soon on my OPO. Thank you!☺
[Android Themes] andrewwright:
You are the man!!! Many many thanks. :) now I'll do something with cm12 on i9300 and get you some feed back in the morning.

I've added a link to my g+ so loads can enjoy this mate. Top work :thumbup::thumbup:
[Android Themes] Shaftamle:
VR Theme engine is gonna make a massive comeback! Not that it went anywhere, but with Xposed not being an option with Lollipop, VR is gonna be crucial for themeing!

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

149ThemedGoogleKeyboards!!!!!!

Friends don't let friends buy iPhones!

MyColorScreen
[Android Themes] andrewwright:
With help from [MENTION=2948558]Spannaa[/MENTION] "at least it wasn't my spelling this time mate ;)" it's working on i9300 running RR lp.
[Android Themes] Spannaa:
Cheers mate :good:

I'm just finishing off a universal vrtheme zip that should work on Android 5 AND Android 4 roms.

Just need more testing to check that the folder paths are set correctly depending on what the value of ro.build.version.release in build.prop is.

Tested and working on Nexus7 Android 5.0, OnePlus One CM11S Android 4.4.4 & Galaxy S2 Android 4.1.2 so far...
[Android Themes] Spannaa:
JB_KK_L_VRTheme_Template.zip

Feedback appreciated ;)
[Android Themes] manuelmagix:
Perfect work fine G2+cm12 Evomagix
[Android Themes] petzku:
I modified:

system/priv-app/SystemUI/SystemUI.apk/res/layout/system_icons.xml

and

system/priv-app/SystemUI/SystemUI.apk/res/values/dimens.xml

I know that /values are inside resources.arsc so i need to compile the systemui.apk back and then use the resources.arsc, but I still allways end up systemui fc... Does the resouces.arsc include the /res/layout/xml files too? or do i need put into the zip-file the system_icons.xml file separately?

edit: that didnt work either...
[Android Themes] Spannaa:
resources.arsc just contains the values folder so you need to put system_icons.xml in the vrtheme/system/priv-app/SystemUI/SystemUI.apk/res/layout folder in the zip (and this file has to be extracted from your recompiled SystemUI.apk too).
[Android Themes] petzku:
Yep, I did just that but ended up with systemui fc.. The modifications does work with pushing the recompiled systemui.apk to its folder. but i cant get the vrtheming working.
[Android Themes] Spannaa:
Strange - if the modded apk works when it's pushed, the vrtheme should to.

Does it work if you put the modded apk directly into the priv-app folder in the zip instead of adding your edited files to the vrtheme folder?

Attach your recovery log if you want me to take a look.

Sent via Bacon...
[Android Themes] petzku:
Yep it does works just like that.

I have the files set up like this when trying to install via vrtheme.. is it right?

here is the recovery log too,,,
[Android Themes] Spannaa:
The files are in the right place and the log shows it flashed properly but system_icons.xml in the zip is still decompiled.

Sent via Bacon...
[Android Themes] petzku:
Ok thanks. Now I copied the compiled system_icons.xml to the vrtheme file, and it didnt work. Maybe something goes wrong in compiling/decompiling.... btw, does it matter if the rom is odexed or deodexed? This one what im trying to mod is deodexed.
[Android Themes] Spannaa:
It doesn't matter if the rom is odexed or deodexed if you're not adding classes.dex (which contains the smali).

If it works when you flash the full recompiled SystemUI.apk it should work if you flash just the edited, recompiled files using the vrtheme.

Check inside SystemUI.apk on your device to see if the two files were replaced and look to see if the recovery zip was created.

Sent via Bacon...

EDIT:

Just had another look at your recovery log.

It says: ro.build.version.release=4.4.4 which is KitKat but you've put your theme files in

\vrtheme\system\priv-app\SystemUI\SystemUI.apk which looks like the Lollipop file system.

Shouldn't they go in \vrtheme\system\priv-app\SystemUI.apk ?
[Android Themes] petzku:
I am on lollipop system. I had the [N9005XXUGBOA5] Echoe Rom v.23..

But now I got fed up with it and started all over. Now I have rooted stock Polish N9005XXUGBOA5 and I made the zip again with new files (only the resources.arsc), and it works like a charm :)

Maybe now that I have the stock on the bottom I can try the echoe once more. Now my ro.build.version.release shows 5.0.. I have been in stock lollipop before, so I wonder why on earth the version number was 4.4.4 on echoe rom...

Again, thanks for your help. I will be bothering you later on I'm sure! :)
[Android Themes] thermax04:
Lollipop theme

Hi All

Which zip file i should use to theme Lollipop roms? i theme png files only

is this working properly ?

do i need to modify any thing in it?
[Android Themes] Spannaa:
That still works for me on 5.0.2 & 5.1 - you shouldn't need to modify anything.

Sent via Bacon...
[Android Themes] thermax04:
Thanks, will give it a try and feed you back later
[Android Themes] karan.mangtani:
Try this for Micromax a102 canvas doodle 3
[Android Themes] Spannaa:
Try it and report back - I can't test it on every device or rom!

Sent via Bacon...
[Android Themes] thermax04:
you said : the modified png should go in the vrtheme\system\priv-app\SystemUI\SystemUI.apk\res\drawable-hdpi-v4 folder.

is that a lollipop thing? since in JB and KK usually the pass is vrtheme\system\priv-app\SystemUI.apk\res\drawable-xxxxx folder

I mean there is no SystemUI in the pass , just SystemUI.apk

you said : Creates a vrtheme_restore.zip in \data\vrtheme-backup\ so that all themed apks can be reverted back to their pre-themed versions.

how it works? i will find the vrtheme_restore.zip in \data\vrtheme-backup , by by flashing this file i will revert all themed apk back to to pre-themed version?
[Android Themes] Spannaa:
You quoted the wrong post - this is the one for the version you said you're using:

The themed files go in the vrtheme folder and the folder structure you use for them should be exactly the same as on your device/rom. Lollipop has an additional level of folders within app & priv-app.

Like the post says: It creates a vrtheme_restore.zip in \sdcard\vrtheme-backup\ so that all themed apks can be reverted back to their pre-themed versions.
[Android Themes] thermax04:
confirm it is working with Lollipop 5 Omega rom v25, your name is mentioned in my theme thread
[Android Themes] Azharkanorwala:
[MENTION=2948558]Spannaa[/MENTION]

Will This Work With LG Phones(LG G2,G3) On Stock Rom??
[Android Themes] Spannaa:
It should do, but I don't have an LG to test on.

Nandroid and try it for yourself ?

Sent via Bacon...
[Android Themes] Kickoff:
The unmodified vrtheme will not work. I use vrtheme adapted by skin1980 in my themes. Look at that threads and use it as template. And give to Spannaa and Skin credit for this beautiful tool.
[Android Themes] Spannaa:
Cheers ;)

IIRC, You & Skin both use modded aroma versions but mine was just a basic flashable vrtheme.

FYI, I've just updated my VRTheme Template to fix a couple of reported bugs.

It should work on most JB, KK & L roms by setting folder paths depending on the value of ro.build.version.release in build.prop.

It also selectively wipes dalvik-cache entries for themed apks that include classes.dex and creates a vrtheme_restore.zip in \sdcard\vrtheme-backup\ so that all themed apks can be reverted back to their pre-themed versions.

It still needs modifying so that it'll theme /system/framework/lge-res though...
[Android Themes] Azharkanorwala:
[MENTION=2948558]Spannaa[/MENTION]

A bit confused..

There are two system folders in the template,the one in root folder and one in vr-theme folder..

So where do i put the themed files that have i changed in the root folder or in the vr-theme folder...
[Android Themes] Spannaa:
It's exactly the same as in the original vrtheme template - the system folder in root is for full apks and the system folder in the vrtheme folder is for themed files (pngs, compiled .9.pngs, compiled xmls etc.)
[Android Themes] Azharkanorwala:
Sorry For Bothering Again.. :p But I Am Having Some Trouble..

The Individual files like .png and .xml i put them at correct location eg vrtheme/system/priv-app/LGGallery/LGGallery.apk/res/drawable-xxhdpi and /values and also include the resources.arsc and classes.dex from orignal apk.

I also copy the full apk into the root system/priv-app/LGGallery/LGGallery.apk and copy the three Files from META_INF to META_INF of VR Theme and make a zip..

When I Flash It Causes FC..

What am I doing wrong..

Thank You..
[Android Themes] Spannaa:
Don't add xmls to the \res\values folder - these are compiled into resources.arsc and can't be added separately.

Only include resources.arsc if you've modified anything in the \res\values folder of the apk

Only include classes.dex if you've modified the apk's smali

No need to add the full apk as well as the themed files for it

Don't add the META_INF files from the apk to the META_INF folder of the vrtheme template.
[Android Themes] Azharkanorwala:
Thanks..

But I noticed when i was only adding res/layout/... and after flashing it had two res folder.. :confused:
[Android Themes] Spannaa:
In root explorer?

Pull the themed apk and open it with 7-Zip on your PC ;)
[Android Themes] dully79:
SGS2 running VR2.4.2

Tried again tonight countless times after re-flashing Villain Rom 2.4.2 and this time i only have one res folder and one drawable-hdpi folder but nothing has changed at all despite saying -

"Ui Theming complete" and

"Additional files copied"

I dont like to give up, but i also dont like pissing against the wind. i've uploaded my zip if you would be kind enough to have a look.

VR theme john doe mod

This has amazing potential but unfortunately for me, that's all it is.:(

Just a little suggestion, the "vr theme" ui print is a little on the big side, maybe a reduction?:)

Edit: I uploaded wrong zip like a tool.:)
[Android Themes] roscoenr:
Same with the br theme on my phone it is so large it just messes it up

Swyped from my Orange Peeled Synergist EVO
[Android Themes] ZeuBug:
OK.... you are themers, this thread is only 5 pages for now, and you didn't read?.... :o it's not a good example... :D

See 4 posts before, I made another script for that...
[Android Themes] dully79:
Not a good example of what??

You made a custom script for your theme well done, ive created my own as well, it means nothing though. It was a suggestion aimed to help others.
[Android Themes] ZeuBug:
It was said with a smile... now you know what I mean.

But yes, I made a script for my theme, "well done", but in the concerned post, I made ​​a script for everyone, with your "little suggestion"...

If you could try it and tell me if it suits you... thanks!
[Android Themes] dully79:
As I say m8, I have my own custom script, it was just a suggestion for others who might not know how to modify them, or are too lazy too.:)
[Android Themes] D.O.C:
Script made by zeobug looks good to me, although I havent tried it yet, If I find some time today I will post my theme aswell....Zeobug has understanded this project completely....Zeo, if enough people at your thread report it working, lets remove the apps themselves from zip and theme only SystemUI.apk and framework-res.apk, that way, someone on anoher device and another build can test it too...;-)

I will try to make my theme universal, without including any samsung/htc whatever pngs or xmls, just theme the pngs found in any android system......if working now we can prove our point...

You already made a universal theme for s2

Now lets go for multidevices...(I think I know how to do it)
[Android Themes] ZeuBug:
Yes, I'm waiting for some report and after I will do a version without system apps in /raw for all devices. ;)
[Android Themes] seshmaru:
Updated the template, just minor changes though.
[Android Themes] Vertumus:
I just read whole thread in glance, but I am not sure that I got it. Is it possible to change xmls in for example values folder or no?

Thanks,
[Android Themes] pulser_g2:
If you include resources.arsc it should be.
[Android Themes] pulser_g2:
I am now back from my time away and will be looking at VRTheme when I can
[Android Themes] Lennyuk:
I am really surprised that more people have not yet made the move to this method of themeing, it just makes sense people!
[Android Themes] ante0:
Works great!

All I'm missing now is something that would allow me to baksmali -> insert code -> smali and sign the apk again. That would be the ultimate tool!
[Android Themes] pulser_g2:
If you have a way to baksmali via shell in recovery, or apktool, then it is possible :)
[Android Themes] wewoapsiak:
I've done that and it works.

But I have one question you or someone might be able to answer, how to I know what xml files require the resources.arsc file to be included, or is it all xml files?
[Android Themes] roscoenr:
if you look in your apk before you decompile the app you we see some folders. Everything in those folders can be put in there individually. Now decompile the apk and more folders will show up in the res folder. If you change just one thing in one of those you need the resources.arsc.
[Android Themes] ZeuBug:
Yes... and most surprising is that most people use my version KG6!

Maybe not, because VRTheme have currently non-negligible limits... (one exemple, battery theme...)
[Android Themes] pulser_g2:
Hmmm... What isn't working on a battery theme?

I'm sure we had tested that
[Android Themes] ZeuBug:
I use UOT kitchen for that: only battery theme, with "hybrid" charging animation.

For PNG no problem. But for xmls, I put all battery files to be sure (battery_charge_fill, stat_sys_battery, stat_sys_battery_charge, zzz_stat_sys_battery_1,zzz_unlock_indicator_battery,zzz_unlock_indicator_battery_charge) and it's not enough: when VRTheme is applied, I have only the "stat_sys_battery_unknown.png" who appears in notif zone. :(

I have tried several different ways and I'm affraid to add "resources.arsc" in VRTheme, for all roms compatibility. And it would be surely the same to replace Framework-res.apk totally! :o No?
[Android Themes] pulser_g2:
Hmmm. Try resources.arsc, but I'm not sure how it works properly...

If we can work out a way to remove and repack the resources in there (apktool basically), then we can likely add this ability :)