DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 127

Thread: Text Color Change (Complete how to do)

  1. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #1

    Text Color Change (Complete how to do)

    There seems to be a lot of people wanting to change the color of notification text to go with the changing of the clock color. I struggled with this myself and found vague instructions on how to do this not knowing anything. So here we go . It isn't that hard to do just takes some time. First of all you need to be rooted and it is strongly suggested to have sprecovery (nandroid). PLEASE DO A BACKUP BEFORE DOING ANY OF THIS. I am in no way responsible for anything that may happen to your phone.


    Things to download to complete this process.

    First off is Java. java.com: Java + You download and install
    Then we need this colorChange.jar v3.1 - Modify Cyan template text colors [ALL VERSIONS] 11/29 - xda-developers .Just take the .zip off the end of the file
    Next we need HxD - Freeware Hex Editor and Disk Editor | mh-nexus .
    Last thing is optionally, but I find it very helpfully. PowerCmd - A Better Command Prompt Replacement Tool
    Another optionally program is 7-zip. I find this helpfully for opening .apk files without changing the name. 7-Zip

    Things needed from your droid

    Both the framework-res.apk and services.jar. They can be found in /system/framework. Either use ADB, Terminal Emulator or RootExplorer to copy to you the root of your sdcard.



    Putting things in their place.

    1. Connect your phone to the computer by USB cable. Mount your droid to the computer and open up the corresponding removable drive.
    2. Create a new folder on your desktop called framework.
    3. Move framework-res.apk and services.jar from your sdcard to the framework folder on your desktop.
    4. Right click on the folder, add to achive. Select .zip compression. You should now have a file called framework.zip on the desktop.
    5. Go to where you downloaded the colorChangev3.jar. Placed this file in your C drive. The path should now be C:\colorChangev3.jar
    6. If you haven't done so already install Java.


    Getting things started.

    1. Open either Command Prompt or PowerCmd. I suggest PowerCmd cause it allows copy and paste.
    2. Change directory to C:\ . cd C:\
    3. Now type java -jar colorChangev3.jar . If using PowerCmd you can copy and paste that command
    4. You should now have info on the options within colorChangev3.
    It should look this.

    HTML Code:
    **************************************************************************
    ** Color Changer v3.1 (ALL YOUR VERSIONS ARE BELONG TO US) by Ohsaka **
    **************************************************************************
     
    Usages: 
    java -Xmx512M -jar colorChangev3.jar <theme.zip> [colorLabels ...] [debug] [zipDebug] [goFull]
     
    < > means required, [ ] means optional
    <theme.zip> - Android theme update file (not a full ROM update)
    [ticker] - ARGB color for ticker notifications on the status bar
    [clock] - ARGB color for the clock text
    [date] - ARGB color for the date
    [ongoing] - ARGB color for "Ongoing" Label
    [latest] - ARGB color for "Notifications" Label
    [none] - ARGB color for "No Notifications" Label
    [clear] - ARGB color for text on Clear Notifications button
    [network] - ARGB color for network name (T-Mobile usually)
    [roam] - Not sure where this color shows up, possibly network name when roaming
     
    Progress Bar Color Change (Must specify BOTH at once)
    [progressBarBackground] - Progress bars background color
    [progressBarForeground] - Progress bars foreground color
     
    [debug] - Turns on debugging output
    [zipDebug] - Turns on zip debugging output
    [goFull] - Force updater to process a full rom instead of just templates
     
    Example 1) java -Xmx512M -jar colorChangev3.jar themeXYZ.zip ticker=FFFF0000 date=FFFF0000 clock=FFFF0000
    This will change ticker, date, and clock to red
     
    Example 2) java -Xmx512M -jar colorChangev3.jar themeXYZ.zip clear=FFFFFFFF network=FF0000FF
    This will change the clear notifications button text to white and network name (usually T-Mobile) to blue
    Example 3) java -Xmx512M -jar colorChangev3.jar themeXYZ.zip clear=FFFFFFFF network=FF0000FF debug zipDebug
    Same as example 2 but with debug and zipDebug turned on
     
    C:\>
    5. Now here we can try to change everything clock, date, carrier, and the words ongoing, none, latest, the button text.
    6. All of these are controlled by the services.jar file and must all be done here. Unless you want to manual edit in smaili
    7. Type or copy this. java -Xmx512M -jar colorChangev3.jar C:\users\"username"\desktop\framework.zip clock=FFFFFFFF gofull

    Lets take a break here to explain some things. The path in the command above is to the zip folder of framework.zip. Yours may differ depending on what version of windows you are using. Also the FFFFFFFF is the Hex code for white with alpha. It is represented this way from beginning to end. FF is Alpha, the next FF is for red value, next FF is for green value, and the last FF is for blue value. To get these codes visit this site. Web Color Chart - Hexadecimal - by VisiBone Just remember to put FF then what ever Hex color code you what.

    8. If the command from above ran successfully you will now have a new file on the desktop called framework-new.zip.
    This concludes the color change of the for the services.jar.


    Now onto the manually editing of the xml files

    1. Right click on the file named framework-new.zip and extract to /framework-new folder.
    2. Open the folder framework-new. There should be two folders (framework and META-INF)
    3. Open the folder framework. There is going to be two files in here (framework-res.apk and services.jar)
    4. Right click on framework-res.apk, and go to 7-zip, open archive.
    5. Navigate to /res/layout . There are three files we looking for in here (status_bar.xml , status_bar_expanded.xml , and status_bar_latest_event_content.xml).
    6. Move these three files to the desktop.
    7. Open HxD and the go to the file menu and then open. Navigate to the desktop and open all three files.
    8. We will start with status_bar.xml first. Do Ctrl+F to bring up the search window. Type 08 00 00 1C and change Data type to be Hex-string. Click ok.
    9. In the file you will see that 08 00 00 1C is now hightlighted. The next string next to it is a color code for text. An example would be FF FF FF FF. In the example this would be for white with alpha. First thing to remember here is that the Hex codes are backwards. They follow the pattern of BGRA instead of ARGB like we did in the command prompt. Also within the BGR values they are backwards also. So I am going to give an example to help clarify. The color orange has a Hex code of FF6600 from the web color chart. In HxD it needs to be 0066FF and then FF will follow that. The last FF is for alpha, leave it alone.
    10. After changing the Hex code to the color you want hit Ctrl+F. 08 00 00 1C should still be in there with Hex-string for data type. Just hit ok and it will take you to the next text color code. Change to the desired color like before. You will have to do this one more time within this file, making a total of 3 color codes to change. One may already be changed due to running the colorChangev3.jar. Save the file and head onto status_bar_expanded.xml .
    11. Do the same as in the first file by doing Ctrl+F for 08 00 00 1C. There are three that can be changed in here. The last one is for the "clear" text that shows in the button on the notification drop down. I usually leave this one to 00 00 00 for black, since it is on a white background. Save after making changes.
    12. Open status_bar_latest_event_content.xml. There are three changes to be done in here as well. Once done making the changes save the file.
    13. Now go to the folder that says framework-new. Navigate to /framework and right click on framework-res.apk. Go to 7-zip in the menu and open archive. From here open /res/layout and drag the three xml files from the desktop into this folder. It will ask if you want to over the existing files, go ahead and do so.
    14. Grads. you have now edited the files to change the colors. Now all we need to do is push them back to the phone.


    Pushing framework-res.apk and services.jar back to the phone.

    To do this I use ADB through sprecovery. Pushing this system files over by using Root Explorer or even Terminal may cause the phone to freak and lock up if not done through recovery.
    1. Take the framework-res.apk and services.jar file from framework-new folder and place them in the tools directory of ADB.
    2. Connect you phone to your computer with the usb cable. Put your phone into sprecovery and go to mount options. Mount the system.
    3. Open command prompt and change directory to the tools directory of ADB. Example of mine is cd C:\android\tools
    4. Then do adb push framework-res.apk /system/framework . You should get daemon started with so many bytes sent.
    5. Then do adb push services.jar /system/framework . You should get the same as before with so many bytes sent.
    6. Back to sprecovery, unmount system and reboot phone.
    7. Your phone will take longer to boot this time due to the changes of the files. It will only boot this long once.
    8. After booting you should see the changes to your text. ENJOY
    Attached Files
    Last edited by thebowers; 07-08-2010 at 12:57 PM. Reason: updating
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  2.  
     
     
     
  3. Droid Ninja
    52brandon's Avatar
    Member #
    28679
    Join Date
    Jan 2010
    Posts
    1,021
    Liked
    42 times
    Phone
    motorola droid
    #2
    lol, and the shocking conclusion to this episode... is coming after this
  4. Master Droid
    baniels's Avatar
    Member #
    17067
    Join Date
    Dec 2009
    Location
    52556
    Posts
    577
    Phone
    Motorola Droid
    #3
    Consider me subscribed to this thread.
  5. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #4
    Walk through is up in OP. I sure hope this helps you guys out.
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  6. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #5
    I guess there was no takers!!
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  7. Master Droid
    stlcity's Avatar
    Member #
    24727
    Join Date
    Jan 2010
    Posts
    307
    Phone
    Enter Current Phone Here
    #6
    the bowers thanks for the guide. I landed up getting errors when I tried the first part of the giude. So I used instructions from your giude as well as this:

    [Guide] Change notification/clock/pull down text colors - Android Forums

    Now running Pete's new 2.1 ROM with Chevey's 1.2 OC kernel with high res blue icons and now: changed color to date, clock, ongoing, Verizon wireless(changed it to my name). Plan to work on the colors on the pulldown tommorow..happy camper...
  8. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #7
    Your specifics are for framework files from 2.0.1 ROMs only. Its slightly different for 2.1 Roms.
  9. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #8
    Quote Originally Posted by kevdog View Post
    Your specifics are for framework files from 2.0.1 ROMs only. Its slightly different for 2.1 Roms.
    Yes, 2.1 there is only one or two instances of the 08 00 00 1C string in the three files. As long as they search for that and adjust accordingly, they should be fine. It also depends on what 2.1 rom they are on too.
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  10. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #9
    Although I believe colorchangev3 works on 2.1 Roms I haven't gotten any firm confirmation from anyone of credible value.
  11. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #10
    Quote Originally Posted by kevdog View Post
    Although I believe colorchangev3 works on 2.1 Roms I haven't gotten any firm confirmation from anyone of credible value.
    I have tried it on Utlimate Droid and it works just fine. My screen shot of it is on my sig for Bowerbar MM. It is the purple with white background. So it works, but it seems to be rom specific. I have another user try it on BB 2.1 and it didn't work.
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
Page 1 of 13 12311 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Change LED color?
    By 350-Jason in forum Android Applications
    Replies: 44
    Last Post: 09-15-2010, 03:38 PM
  2. Replies: 106
    Last Post: 08-12-2010, 02:18 AM
  3. How to change notification text color
    By thebowers in forum Android Hacks and Help
    Replies: 17
    Last Post: 03-07-2010, 06:16 AM
  4. change led color
    By kraxyk in forum Android Applications
    Replies: 2
    Last Post: 02-19-2010, 08:24 PM
  5. How do I change the color of the keys in Better Keyboard?
    By DurangoJim in forum Android Applications
    Replies: 0
    Last Post: 11-27-2009, 02:15 PM

Search tags for this page

android change text color

,
android text color
,
change color of text on rooted android
,
change droid text color
,

change droid text colors

,
color text android
,
colour text for android root
,
droid text color change
,
how to change text color galaxy s4 home page
,
how to get text in color with motorola
Click on a term to search our site for related topics.
Find us on Google+