Activate a theme apk to be used after flashing - Android Q&A, Help & Troubleshooting

Kind of hard to explain...
I have a theme apk that installs to /system/app during source compile in cm-10.2. Works great as does the ROM) if I select it in settings > themes.
However, I want that theme 'activated' , without user intervention, when ROM first boots up.
How would I do that?

Related

CM7 Theming help!!!

so i was working with cyonbread theme and turning it into a tron theme.
I got all my icons i want so far, but am unable to install the apk (all i did was replace files in the current theme and then emailed it to myself, to try and install) but it keeps saying it fails to instal the apk
any help on what i'm doing wrong...
thanks in advance!
Is it a flashable theme or morph?
If it's morph, the name of the zip has to be EXACTLY the same as the .xml file in the root of the .zip.
it's a theme that you would install like with an apk
this is probably the issue, what xlm file is it? and where can i find the line of code to change the name?
also any good free xlm editors out there?

[Q] UOT Kitchen?

So if I make a custom theme in UOT kitchen, I can just make it a theme to use in Theme Chooser?
Do I still have to flash anything in Recovery?
And I thought boot animations couldn't be changed with a Theme Chooser theme...
Edit: OK so I got the zip, and does appear that yes I need to flash it, since its more than just an .apk. But is all of the mods done in Theme Chooser or are some independent (ex. boot animation).
Also, read somewhere else that flashing a new ROM build won't undo the custom mods. True?
Edit 2: "This theme was improperly compiled and cannot be applied. Please report this incident to the theme author"
There something special we have to do out of the norm?
YouArePoop said:
So if I make a custom theme in UOT kitchen, I can just make it a theme to use in Theme Chooser?
Do I still have to flash anything in Recovery?
And I thought boot animations couldn't be changed with a Theme Chooser theme...
Edit: OK so I got the zip, and does appear that yes I need to flash it, since its more than just an .apk. But is all of the mods done in Theme Chooser or are some independent (ex. boot animation).
Also, read somewhere else that flashing a new ROM build won't undo the custom mods. True?
Click to expand...
Click to collapse
You can technically make a theme Chooser APk. But it never worked for me. I had to use the zip way. And had to use every workaround to get it to work. Its true that it does modify things other than theme Chooser files. But flashing a new rom wipes everything.
Sent from my HTC Vision using XDA Premium App
You can pull the .apk out of the zip file and apply it using theme chooser.
I have had the best success using the empty theme apk available from the UOT site, just make sure you uncheck the "Theme chooser preview" box on the upload tab and choose CM7 theme.
It won't apply the boot animation, but you can also extract the bootanimation.zip and apply the boot animation through romtools.
ykameron said:
You can pull the .apk out of the zip file and apply it using theme chooser.
I have had the best success using the empty theme apk available from the UOT site, just make sure you uncheck the "Theme chooser preview" box on the upload tab and choose CM7 theme.
It won't apply the boot animation, but you can also extract the bootanimation.zip and apply the boot animation through romtools.
Click to expand...
Click to collapse
Even with 'theme chooser preview' it still fails for me. did a straight .zip from files and most all works. Did battery, animation, and font fine. Icons didn't seem to take however
Edit: Scratch that, icons took too. Just had to undo the 'Bionic Blue' theme and go back to 'System'

[Q] Metamorph over CM7.1 Theme Engine

Hello,
It's been a while since i last posted a theme.... I've been used to making themes using Metamorph. I have a question, I recently decided to create a few concepts/themes. I have everything setup ie Eclips,SDK,... and when i try to apply the themes using metamorph it does not theme parts of current ui in CM7.1... i read somewhere that CM7 Theme Engine overwrites any modification done with metamorph, can anyone confirm this?
Also here a few images of the themes i'm currently working.... It would definitely be great help if someone can help me to get metamorph to run in CM7.1.
Thanks in Advance.
I have never had an issue applying metamorph themes as long as I don't have a theme chooser theme applied. So before I apply the theme I make sure to select "system" in the menu. If that doesn't work you can back it up, delete it and then try it..
I think you are correct i just applied one of my old metamorph themes usng the System theme from theme manager and it worked. Upon looking into the 9png files i found that they are labeld differently now in the new cm7.1 build, and have to rename my old .9png files to the new file name to work... I will report back to see if this is correct when i get back to my android station.

MIUI Theme Problem. Reverting back to default.

Hola guys. To all of you. Particularly the ones who are familiar with MIUI. I will just stick to the point. If you ARE familiar with miui then you must have come across those flashy themes. You must also have found out the way to bypass the infamous theme policy WSM tools and Xposed and all. But I recently started taking interest in those flashy themes. You know that once you download a theme from the default Themes app the mtz file starts getting downloaded and as soon as the downloading has finished it gets unpacked into bits (com.android.contacts, com.miui.home, icons, lock_wallpaper, locksreen and so on) and gets copied to the MIUI folder in main storage and again into data/system/theme. This is the first problem. I can't copy the whole mtz file to a safe place because it gets unpacked as soon as it has been downloaded which is basically a zip file containing several other zip files that is, the 'bits' I was talking about. Second thing. the default themes app does not recognize mtz files downloaded from the official miui themes website. It declares them as third party themes. What I did was, took some of those 'bits' and replaced some XML files inside them and some png elements and put them back into data/system/theme. But miui has a way to prevent this from happening. As soon as it detects a modified file present in data/system/theme it reverts back to the default plain theme by deleting all files from data/system/theme. My guess is it keeps checking out verifying in regular intervals the checksums that it must have generated earlier. The same thing happens if I just replace a bit in the mentioned directory with a bit from another theme. So my questions are:
1. Is there a way to preserve the mtz file downloaded from within the default Themes app as a whole mtz file?
2. Can I make changes to just the Themes app so that it would apply any mtz file?
3. Is there a way to prevent miui from continuously checking or verifying the checksums that it has generated? (just a guess but I reckon thats what it actually does) because for an hour or so after replacing or modifying the 'bits' everything works fine but the reverting process takes place in an hour or so.
Thats all folks! jk. Any help or suggestion would be really appreciated because I think a thread like this was long since needed here. And dont talk about visiting MIUI's official forums. Most of the guys there don't know half the things that is really worth discussing. Thank you guys.
note- dont want to use WSM tools nor can I find one for miui7.
note2- if I change the permissions of the folder (data/system/theme) to 444 allowing READ permissions only, the phone would just reboot without warning and continue to reboot until the permissions are changed back to normal (755).
seriously guys. no one?
I'm right now at your point.
I want to modify some files or overwrite some files in "data/system/theme" and after a while the theme manager applies the original miui theme .
Does someone have any solution to this?
Damntoosleepy did you get any solution?
Xiaomi doesnt let global phones use unapproved icons, themes, fonts etc. If you changed any of these you will be reverted to default. Only way to design your theme or apply one is becomming a designer in miui website(theres tut at gearbest.com). Or you can adjust your current one in themes \app bottom right corner\ click button/ customize theme. You can mix things there. Take icons from one theme, bg or font from another one and so on. But the themes you must have downloaded from approved miui themes app. I had issue when 3rd party icon pack caused me this problem on a approved theme from miui themes app. Then i changed the pack through the miui themes app and problem solved
Any solution?

I've a founded a way to have a samsung theme and the appicon of another theme .

First of all the pre requirements are :
You should have a marshmallow running device in this case i have
non root samsung galaxy j7 2016.
You need to have 2 different themes of your choice either paid or frre .
You can apply a theme you want which you can easily download from theme store. After downloading backup the theme components, next you download the theme from which you want your appicons, backup this theme components also.
Now the theme that u have applied , open it's component thst is various apk's inside it such as home, appicon etc. Copy the name which appicon apk uses.
Now using apk editor pro open the appicon apk of the theme you want to have icons of, open it full edit as we need to edit it's manifest. After opening it go to manifests 2nd line from top and clivk on it in package line erase the present name and paste the nane you previously copied from another theme.
Now build the apk and install by first removing the previous installed apk and then install the latest build.
Now reapply the theme and restart your device you will have your loving theme but the icons will be of the other theme which you wanted.
Thank you

Categories

Resources