Custom Theme


  1. Spike G

    Spike G Well-Known Member

    ***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

    ._ ._ ._
    |_|*|_|
    |_|_|*|
    |*|*|*|

    Advertisement
    aus4000 and jfever311 like this.
  2. Spike G

    Spike G Well-Known Member

    Nevermind guys, i went through with it. GREAT NEWS! ITS A SUCCESS!
  3. elderlypunk

    elderlypunk Well-Known Member

    Cool! Any screenshots?
  4. Spike G

    Spike G Well-Known Member

    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?

    [​IMG]


    [​IMG]


    [​IMG]
    jfever311 likes this.
  5. elderlypunk

    elderlypunk Well-Known Member

    Wow, cool!
  6. Spike G

    Spike G Well-Known Member

    just threw some screen shots up

    this is how it sits now

    [​IMG]


    [​IMG]
  7. Mud-and-Guts

    Mud-and-Guts Member

    looking good!
  8. jova33

    jova33 Well-Known Member

    can you give it an ICS theme?
  9. Spike G

    Spike G Well-Known Member

    I dont see why not. And gingerbread has more options for stuff to customize
  10. Mud-and-Guts

    Mud-and-Guts Member

    looks kool!
  11. Spike G

    Spike G Well-Known Member

    working on a new theme right now and i think i solved the bootanimation issue but i'm not sure, i'll post back soon

    just had to do a nandroid haha woops
  12. Dreamcrusher

    Dreamcrusher Active Member

    Nice work Spike. Thanks for bringing this to our attention. Just tried out a few different themes myself. Pretty simple to do.
  13. Spike G

    Spike G Well-Known Member

    Question, are you running gingerbread? if so, what mods have you dont, and what suck and what didnt?
  14. jova33

    jova33 Well-Known Member

    Were you able to fix the boot animation?
  15. Spike G

    Spike G Well-Known Member

    Well the images for the animation are in the framework_res.APK so I decompiled it, changed the images to custom ones with the same names and size, recompiled, signed the APK, and rebooted and it just skipped the boot animation and took forever to load,I tried files that weren't .png and it soft bricked so I recovered and no dice yet
  16. Dreamcrusher

    Dreamcrusher Active Member

    I'm on Gingerbread. I'm using the Droid for the Batt. Indicator, Hybrid with gradient fill. Status Bar Icons- I like G14 Steel Blue minus the signal indicator. Also Backround, Notifications, OverScroll, Loading Circle, Window (Rudolf) and Ubuntu font. I noticed that when I used a font that isn't bold that it makes it harder to read on my screen.
  17. Dreamcrusher

    Dreamcrusher Active Member

    I'm using G4 Blue Sense 3D for icons. I like how it looks. As far as the Status Bar if I use an Animation for Backround my status bar Forcecloses.
  18. jova33

    jova33 Well-Known Member

    i'm going with the custom uni-color icons. dude... this is a pain in the butt. it looks right on the computer screen, flash it to my commando and it's just a tad bit off.... this is like my third go trying to get this color right. I mean it looks blue on the computer, then aqua marine on my commando.
  19. Spike G

    Spike G Well-Known Member

    Dream, there are a few apps that let you change fonts without having to do all that theme stuff, like root font changer
  20. Dreamcrusher

    Dreamcrusher Active Member

    Thanks Spike. Ill check it out.
  21. scout1124

    scout1124 Member

    So I was wondering how exactly you installed the theme. Can you post the command if you did it through adb or did you just put it on the sd card and run the apk.
    Thanks
    Brian
  22. Spike G

    Spike G Well-Known Member

    Its a zip file so you have to flash Through recovery
  23. scout1124

    scout1124 Member

    Ok thanks Ill try that now. Brian.

    - Wasnt thinking when I posted how exactly do I do that. I can guess, but when someone knows Ill go that route and ask. Thanks
  24. scout1124

    scout1124 Member

    Ok still no luck. Probably not just trying enough different things but at $400 a mistake isn't exactly cheap any help is awesome. I need to flash the zip.

Share This Page