1. Download our Official Android App: Forums for Android!

Root [GUIDE] !!THEME GUIDE FOR NOOBS!! Adding lots more!

Discussion in 'Android Devices' started by mikekelso421, Jan 10, 2012.

  1. mikekelso421

    mikekelso421 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    671
    Joined:
    Feb 1, 2011

    !ULTIMATE THEME GUIDE!

    :Requirements:
    -editRA or Notepad++ (i suggest EditRA)
    -smali+baksmali.jar files in a folder
    -PNG editor (photoshop,adobe fireworks,gimp,etc)
    -apk manager/apk multi-tool
    -0riginal UNTHEMED framework-res/SystemUI/LGE-res/etc files CANNOT BE THEMED!

    :CHANGING PNG FILES:

    To change or port png images into YOUR framework.simply follow these instructions-

    1.Use apk manager/apk tool to EXTRACT the apk.

    2.open the projects folder and navigate to the res folder. (png's located in the "drawable" folders)

    3.pick the images you would like to change (ONLY REGULAR PNG's NOT .9's)

    4.NOW,either swap it with the icon you would like to replace OR you can color/modify the existing icons.

    5.after doing all your modifications,go back into apk tool/apk multi tool and select optimize images.

    6.once its done optimizing the png's simply compress the apk and the finished product will be in the "place here for modding" folder.

    7.if you chose to sign it,it will be called "signedXXXX.apk" and if you DIDNT sign it (system apps) it will be called (unsignedXXXX.apk)..the xxxx's represents the name of the apk u modded.

    8.To copy the file to the phone using root explorer,simply replace the existing .apk with your modded one,make sure the permissions for the modded apk get changed to match the original file..(check permissions BEFORE you replace)

    Or make a flashable zip file.(will include instructions for flashable zip later.



    :CHANGING .9.PNG'S AND EDITING XML:

    1.Decompile the selected apk.(framework-res or whatever)

    2.Navigate to the res folder if your trying to edit a .9.png

    3.open the .9 up in your png-editor of choice.

    4.NOTICE THE BLACK GUIDELINES AROUND THE ICON AND DO NOT TAMPER WITH OR ALTER THEM IN ANY WAY!OR U WILL FAIL! lol (these black lines are to represent how far and to where the icon stretches)

    5.you can edit the png to your liking as long as the guidelines are untampered with.

    6.once you change the .9's to your liking,OPTIMIZE THE PNG's and COMPILE.

    1a.to modify xml,same process all around except these next steps.

    2a.open the xml with editRA or Notepad++ and make the selected modifications.link below for practice.

    3a.after modifying the xml you can just compile (no need to optimize pngs if none were edited)

    4a.now flash/push/copy to your phone.(if copying with root explorer,check permissions again)


    :HOW TO CHANGE THE STATUS BAR CLOCK COLOR:

    1.First take your Services.jar from your current rom.Open the services.jar using WinRAR or 7zip and extract the classes.dex

    2.Now drop the classes.dex into the smali/baksmali folder.

    3.Open the command prompt in the directory of smali/baksmali by holding shift and right clicking,then select open command prompt here.

    4.now paste this command in the command prompt and hit enter: java -jar baksmali-1.1.jar -o classout/ classes.dex

    5.MAKE SURE THE 2 SMALI.JARS are named "baksmali-1.1" and "smali-1.1" or the command wont work.

    6.Now browse to /classout/com/android/server/status/ in the smali folder you were in and open the file "StatusBarIcon.smali" with EditRA or other xml editor.

    7.navigate to LINE 60 and you will see this "const/high16 v6, -0x100" (this is the stock black clock,to change to white change this line to "const v6, -0x1" and save it.you are finished editing.

    8.If you want a different color continue on.

    9.Get the color code you want using some kind of png program (like the color white is #FFFFFF)
    so we now need to convert the color you want to the 1s compliment binary with this chart below

    [​IMG]

    10.now that you have color you want converted simply change the "const/high16 v6, -0x100"
    to "const v6, -0x(XXXXXX)" ((XXXXXX) should be the color you converted-6 characters long)

    :FOR EXAMPLE:

    you start with 8fce00...you take each character and convert it using the table. 8 becomes 7, f becomes 0, c becomes 3, e becomes 1, 0 becomes f and finally 0 becomes f. 8fce00 = 7031ff. So you would add "const v6, -0x7031ff" in at line 60 in "StatusBarIcon.smali" to make the clock the green colour i started with which was 8fce00.

    11.SAVE THE FILE,CLOSE TEXT EDITOR AND NAVIGATE BACK TO YOUR SMALI/BAKSMALI FOLDER and OPEN THE COMMAND WINDOW HERE AGAIN (hld shft + right click)

    12.delete the original classes.dex file and open the command promt window the same way i showed you before.

    13.no paste this command and hit enter- java -jar smali-1.1.jar classout -o classes.dex

    14.now you will have the new classes.dex file in the smali/baksmali folder

    15.open the services.jar file with Winrar and drap and drop the new classes.dex file into the services.jar archive and overwrite the original file..

    16.make sure that its set to UPDATE MODE,ZIP FILE AND COMPRESSION NORMAL on the interface of WINRAR

    17.once you have overwritten the original classes.dex with winrar,simple push/copy/or flash the new services.jar to /system/framework..then reboot

    18.AFTER THIS MOD,YOUR PHONE WILL TAKE A WHILE TO BOOT UP,as long as your not boot looping,youll be good to go.

    also,i recommend whiping dalvik and cache before these kinds of changes if you are flashing in recovery.
    :HOW TO USE THE UOT KITCHEN-OPTIMUS M SPECIFIC:
     

    Advertisement

  2. Bryonium

    Bryonium Member
    Rank:
    None
    Points:
    16
    Posts:
    42
    Joined:
    Oct 19, 2011

    Oct 19, 2011
    42
    2
    16
    Ohhh exciting! What can it be? A pony?!! Lol :)
     
  3. discua8

    discua8 Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    245
    Joined:
    Aug 25, 2011

    Aug 25, 2011
    245
    21
    38
    :O cool il be checkin :D
     
  4. Android?What!?

    Android?What!? Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    600
    Joined:
    Aug 1, 2011

    Aug 1, 2011
    600
    43
    68
    eh,
    Detroit,mi
    Its been an hour! Lol no big hurry
     
  5. undacova

    undacova Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    338
    Joined:
    Sep 14, 2011

    Sep 14, 2011
    338
    68
    53
  6. bobdamnit

    bobdamnit Android Enthusiast
    Rank:
    None
    Points:
    63
    Posts:
    401
    Joined:
    Jul 31, 2011

    Jul 31, 2011
    401
    91
    63
    Oh, the anticipation, it's killing me!
     
  7. mikekelso421

    mikekelso421 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    671
    Joined:
    Feb 1, 2011

    Effing A.lol my daughter woke up early. Didn't get to finish it. But it will be up by tobighy fosho. Haha

    I'm gonna post some of it in the next few minutes (that is if my daughter lets me) and the rest by tonight.
     
  8. bobdamnit

    bobdamnit Android Enthusiast
    Rank:
    None
    Points:
    63
    Posts:
    401
    Joined:
    Jul 31, 2011

    Jul 31, 2011
    401
    91
    63
    No hurry. Family first, bro.
     
    mikekelso421 likes this.
  9. mikekelso421

    mikekelso421 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    671
    Joined:
    Feb 1, 2011

    WELL I GOT SOME OF It UP FOR YOU GUYS!! BUT DONT GET TOOOOO EXCITED CUZ THIS ISNT EVEN HALF OF WHATS GOING INTO THIS...PLUS A FEW HD VIDEOS!! :) but heres something to keep you occupied.

    hope you like it,and if this helped you,make sure to hit the thanks button,and feel free to post your final products here for bragging.lol

    happy theming!
     
    p-bOt likes this.
  10. p-bOt

    p-bOt Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    908
    Joined:
    Jul 18, 2011

    Jul 18, 2011
    908
    262
    113
    haha thanks alot man!! finally got it working :)
     
  11. mikekelso421

    mikekelso421 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    113
    Posts:
    671
    Joined:
    Feb 1, 2011

    did u finally get the clock color the way u wanted it??
     
  12. p-bOt

    p-bOt Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    908
    Joined:
    Jul 18, 2011

    Jul 18, 2011
    908
    262
    113
    yeah i am doing a complete over haul of a stock 2.2.1 rom and themeing it to look exactly like ICS Mint. loving it!
     
Tags:

Share This Page

Loading...