• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Guide] How to make Theme Chooser themes with UOT

brotherswing

Android Expert
This is a placeholder for the full tutorial, and it will be edited massively in the coming days. This guide is for Windows, sorry about that. I'll add in Linux when I get a chance.

:: Requirements ::
7zip (or similar)
Notepad++
Android SDK
Auto_ApkTool_2.0.0 (just found this, will test and edit accordingly)
an empty theme apk (Download courtesy of UoT kitchen)

:: Process ::
1) Decompile the empty theme with the apk tool
2) Use Notepad++ to edit AndroidManafest.xml, styles.xml, and strings.xml. This can get quite involved, much more info coming in future edits
3) Recompile apk, rename to what your theme name is.
4) Go to the kitchen an make theme as usual (don't bother with bootanimation or lockscreen mods, they don't work with apks, and uncheck preveiw)
5) Upload your edited apk.
6) Cook. Wait. Watch TV. Walk your baby. Change your dog's diaper.
7)Download zip, extract apk.

That's the basics of what I've figured out. I'm a lot deeper, future edits will have a metric boat load of more info.

::Edit:: The rabbit hole was deeper than I thought, and I had to stop working on it for a bit. The good news is I will be resuming work on this project in the next few days.
 
All of the xml edits are optional, just rename the apk before you upload it. There's a ton of info on XDA about it, to. The big thing to edit is the xml files in the res folder of the decompiled apk. The edits are obvious when you get in there. Just open the xmls with notepad++, put in your info, save and recompile.
 
Sounds easy enough ;-) going to give it a shot later on tonight. I'm sure ill be happy then pissed then happy then sad then happy when I try to figure it out lol. :D :banghead:
 
Kitchen is cooking bad themes tonight. Got three attempts in a row that turned out with compile errors. I'll try again tomorrow, they're pretty good at keeping the servers humming along and I'm sure it'll be fixed by then.
 
Can't get my themes to stick using theme Chooser also half the time I can't get uot to compile my theme
I've had both issues in the past, and still do on occasion. As far as getting it to stick, I've heard others have problems, but I don't remember the details. It has always stuck on my phone. The compile error, on the other hand, I can help you with. The kitchen was originally designed for an HTC, so it has some options that don't quite jive with our framework files. It confuses the compiler and thus your error. Try disabling some of the mods, starting with the lockscreen. More often than not, that solves the problem.
 
I've had both issues in the past, and still do on occasion. As far as getting it to stick, I've heard others have problems, but I don't remember the details. It has always stuck on my phone. The compile error, on the other hand, I can help you with. The kitchen was originally designed for an HTC, so it has some options that don't quite jive with our framework files. It confuses the compiler and thus your error. Try disabling some of the mods, starting with the lockscreen. More often than not, that solves the problem.

Uuseful
 
I've had both issues in the past, and still do on occasion. As far as getting it to stick, I've heard others have problems, but I don't remember the details. It has always stuck on my phone. The compile error, on the other hand, I can help you with. The kitchen was originally designed for an HTC, so it has some options that don't quite jive with our framework files. It confuses the compiler and thus your error. Try disabling some of the mods, starting with the lockscreen. More often than not, that solves the problem.

Also glad ur on these forums as well lol
 
1) Decompile the empty theme with the apk tool
QUICK HOW TO:
THE 1-2-3-4 + 5 PROCESS
- Place ALL apks to decompile in _INPUT_APK folder
- Place the framework-res apk in the _INPUT_APK as well (filename: framework-res.apk)
Ok, I got the EmptyTheme.apk inside the _INPUT_APK folder. Where does the framework-res.apk file come from?

Or am I just supposed to hit #2?

Never mind. I got irritated and deleted it.
 
Back
Top Bottom