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

Root Custom Theme

Spike G

Android Enthusiast
Oct 5, 2011
271
26
CT
www.facebook.com
***I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE***

OK so since this is the only thread about themes for the commando I decided to rewrite it as a How-to. This tutorial will be a simple How-to on the UOT Kitchen.


I recommend doing a nandroid backup before getting started, chances are you'll end up using it if you ever want to go back to stock (for warranty purposes or personal preference)


First things first, what you'll need:
1. A computer with ADB
2. A custom recovery
3. Internet connection
4. Your commando

Once you've got all those lets get started.

1.Connect your Commando to your computer and run the following ADB commands to pull the necessary files. Make sure you save them somewhere convenient on your computer.
Code:
adb pull /system/framework/framework-res.apk C:\somewhere\on\your\computer

If you have froyo, you're all done this step. If you have gingerbread also run this command
Code:
adb pull /system/app/SystemUI.apk C:\somewhere\on\your\computer

2. Head on over to The UOT Kitchen and start choosing your icons and what not, check the box to get started and be sure to check out all the tabs. and tweaks you want. Take your time and make sure you read every option. If there is an option to generate preview, click it or it will say you didnt complete all the steps at the end. When you reach the "Upload" tab proceed to the next step

4. You've reached the upload tab, congrats... thats a lot of options you just went through! Now look on the right hand column and find the "Select your rom from kitchen's list, or upload your own files" section. You're going to be uploading your files that you pulled from your phone with those ADB commands so choose "upload system files". Upload your framework-res.apk file and if you're on gingerbread upload the SystemUI.apk

5. Once your files have uploaded click the summary tab and be sure all the sections you chose to mod are highlighted by green so they're complete. If they are, click submit work to kitchen. It will bring you to a new page with your batch number. copy it.

6. Head over to the Pickup page and be patient, it will take some time for your file to appear. The page auto updates and it will soon appear in your "Recently cooked files". If not, search (ctrl+f) for your batch number. Download it

7. Put your phone into mass storage mode and drag your cooked up theme onto the root of your SD card and then reboot into recovery
Code:
adb reboot recovery

8. Once in recovery go to "wipe" and clear your cache, and your dalvic cache. *DO NOT WIPE DATA/FACTORY RESET* then go back to the main recovery and choose Flash zip menu. Navigate to your new file you put on your SD and flash it. Once its complete reboot and enjoy your new theme!



ADVANCED TWEAKING:

To change the lock slider and Status bar, I opened the UOT-xx-xx-xx-xx-x.zip with winrar and navigated to \framework\framework-res.apk\res\drawable-hdpi

In this folder you will find tons of pics used for the theme. what I did was extract a copy of the whole folder to use as reference. I would modify the images I wanted from my refrence folder (for the lock slider it is nec_btn_lock_slide.png, and for the status bar it is nec_statusbar_background_vertical.png)

Now once you modify the images (I use gimp) go to winrar where the big list of pictures are, right click and choose "add files to archive" choose the modified files you made and add them. they should replace the stock ones as long as you keep the same name. Remember, you arent unziping the file! (except if you choose to make a reference folder, but it is just for reference, use the still-zipped file to modify)

Also, in framework-res.apk\res\raw\ you will find the file fallbackring.ogg, this is that horribly annoying sound your phone reverts to when it cant find the file it needs (ringtone when youre sd card is unmounted, and for me, occasionally on boots) i replaced this with another file i made (mario coin noise \m/) just be sure that it is titled fallbackring.ogg and it is in fact an ogg file.

Want to add some nice new ICS icons to it?
I pulled the framework-res.apk off an Ice Cream Sandwich (4.03) device. Now i've only used to to steal all the icons and what not for mine and i'm in the process of making an ICS theme for the commando, however if you want to snag some of these and give it a go yourself here are my dropbox links:

ICS Framework-res.zip (i decompiled the .apk and zipped it up so its easier to download, unzip and pick around through all the icons, again your best bet is to go to \res\drawable-hdpi however i provided all the folders with it

if you just want the .apk file i also have that here
Now back out of winrar and it will prompt you to update the .zip, do so.

once you are done, flash it just like any other theme

keep in mind if you are changing your status bar color, the clock does not change color. This is fine for me because i use a clock widget on my home screen and the lock screen has a big clock.

also the lock screen slider is the same as the call answer slider, which I dont mind because when people call me i get to slide Mario over to answer it for me haha.

Want to edit those annoying .9.png files too? Dont worry, its easier than you'd think
Brief description about them, theyre basically stretchable pictures, or pictures without borders. so normal editing wont be able to encode them. The how-to's online are all wayyyy to complicated (decompiling the .apk files and using eclipse to recode them and what not) so i'm gonna show you the easy way if you want to modify these

The one i'm choosing to modify is the status_bar_close_on.9.png

now i wanted to make my own to resemble the ICS one since i couldnt locate it.

I opened the one i had in my framework file with gimp and edited it to my liking and saved it as a .png

once done i navigated to my \Android\android-sdk\tools\draw9patch

its a batch file, let it run an you will get a window with an arrow, drag and drop your .png here that you want as your new .9.png click file, then save-9-patch, save as status_bar_close_on and it will create your new encoded .9.png file. now you just add that to the correct framework folder and youre done!

Not enough theming for one day? Tackle the commando's boot animation while you're going theme crazy!

NOTICE:
The first startup will take some time. If you want to change just the font, you can use apps from the market. Not all tweaks will stick with our phone. The bootanimation is one of these i know for sure. So expect the theme to look slightly different than you plan. Also, if you do not have a Commando and you are following this guide, be aware that some phone require more than framework-res.apk and SystemUI.apk.




Here is a short video of what I currently have going on, notice the black bar in froyo
(not shown, red battery bar, custom download bar, yingyang loading wheel, ect...)
Froyo commando custom theme - YouTube




BTW big thanks to El Presidente for keeping the Commando: All Things Root Guide up to date and providing the links necessary to learn how to do this

._ ._ ._
|_|*|_|
|_|_|*|
|*|*|*|
 
So, I flashed a simple mod to change the battery icon and the status bar icons and simple tweaks, i went back after it worked and tried changing a lot more things

First off i'm running froyo (2.2.1)

i went through all the options i wanted on the UOT kitchen including:
Battery (worked)
Emoticons (not sure)
Status bar icons (worked)
Top Bar (did not work)
Notification Background (worked, transparent with android animation)
Loading cycle (worked)
Download bar (worked)
Bootanimation (did not work, which was expected)

I designed these icons to go with the black status bar that failed to apply so i'm gonna go change these to something more visually pleasing but heres some proof, pics or it didnt happen right?

420647_10150560503891006_602661005_9249846_837586483_n.jpg



424312_10150560503536006_602661005_9249842_1491834179_n.jpg



429450_10150560503271006_602661005_9249838_2142680081_n.jpg
 
  • Like
Reactions: jfever311
Upvote 0
So, I flashed a simple mod to change the battery icon and the status bar icons and simple tweaks, i went back after it worked and tried changing a lot more things

First off i'm running froyo (2.2.1)

I used adb to pull my framework-res.apk
Code:
adb pull /system/framework/framework-res.apk C:\somewhere\on\your\computer
(gingerbread requires you to pull another file, it will tell you

i went through all the options i wanted on the UOT kitchen including:
Battery (worked)
Emoticons (not sure)
Status bar icons (worked)
Top Bar (did not work)
Notification Background (worked, transparent with android animation)
Loading cycle (worked)
Download bar (worked)
Bootanimation (did not work, which was expected)

Wow, cool!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones