FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

[REF]How to theme - Samsung Vibrant[02/03/2011]

3,211 posts
Thanks Meter: 1,237
 
By Master™, Senior Member on 4th February 2011, 01:01 AM
Post Reply Subscribe to Thread Email Thread
How to theme
Samsung Vibrant Edition

Quote:

Disclaimer: this guide is not idiot proof! You must have 1/2 a brain, 1/4 a brain will not work! Currently we have no way to know if you actually have 1/4 a brain or 1/2 so please take caution!

Quote:

If you have extra images in your framework folders, it may cause problems later.. so try not to copy & paste or add extra images! - jumaaneface

What you will need:
-Apk Manager (Click)
-Android SDK (Click)
-An image editor, Adobe Photoshop is recommended!
-One brain.. (Edit: Half a brain is needed, not the full thing)
-Two hands..
-Fingers, 10 of them recommended!
-framework-res.apk
-twframework-res.apk
-services.jar (If you want to change the clock color)


How-to edit the apks:
1.) Get your two apk files (framework-res.apk & twframework-res.apk)
2.) Place them in apk-manager/place-apk-here-for-modding/
3.) Open apk-manager/script.bat
4.) Select option 22
5.) Select framework-res.apk
6.) Select option 1
7.) Select option 22
8.) Select twframework-res.apk
9.) Select option 1
10.) Go to apk-manager/projects/framework-res.apk/res/drawable-hdpi (or /drawable-hdpi-v4)
11.) Edit the .png files that you would like to change
12.) Go to apk-manager/projects/twframework-res/apk/res/drawable-hdpi (or /drawable-hdpi-v4)
13.) Edit the .png files that you would like to change
14.) Go back to script.bat
15.) Select option 22
16.) Select framework-res.apk
17.) Select option 3
18.) Select option 22
19.) Select twframework-res.apk
20.) Select option 3
(Don't zipalign)
21.) There will be two files in your place-here-for-modding folder.. They are called unsingedframework-res.apk & unsingedtwframework-res.apk just backup the originals, and delete the unsinged from part from the two new files.

How-to edit services.jar, clock color:
1.) Go to your SDK folder.. example: C:\android-sdk-windows\tools
2.) Get your services.jar file & open it with winrar
3.) Take the classes.dex from it & put it in your android-sdk-windows\tools\ folder
4.) Open CMD
5.) Run the following command: "CD C:\android-sdk-windows\tools" (directory may not be the same)
6.) Run the following command: "java -jar baksmali.jar -o classout/ classes.dex"
7.) Go to classout\com\android\server\status\StatusBarIcon.s mali
8.) On line 34 it will look something like: "const/4 v7, -0x1"
9.) On line 34 change the above to: "const v7, 0xffffff" (That will be black)
10.) Compile the classes.dex by using this command: "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"
11.) Get the new-classes.dex from android-sdk-windows\tools\ folder & move it to your desktop
12.) Rename new-classes.dex to classes.dex
13.) Re-open the services.jar using winrar & past your new classes.dex in there
(Notice: After editing the clock color, it will take longer to boot the first time! Be patient!)


I may update this if people need an even easier guide...
I wrote this a while ago, and just had it on my forums.

Original: Click here

Helpful things:
"How to change colors from standard hex to smali code" - Tonicacid
"How to use html colors for changing the clock" - Master (me)
Last edited by Master™; 4th February 2011 at 10:52 PM.
The Following 14 Users Say Thank You to Master™ For This Useful Post: [ View ]
 
 
4th February 2011, 01:11 AM |#2  
willsnews's Avatar
Senior Member
Flag Chicago
Thanks Meter: 37
 
Donate to Me
More
Nice dude thanks
4th February 2011, 01:50 AM |#3  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
Donate to Me
More
Thumbs up
This is awesome.
4th February 2011, 02:09 AM |#4  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
Donate to Me
More
shouldnt you be able to change the ffffff in "const v7, 0xffffff" to whatever color you want?
4th February 2011, 04:22 AM |#5  
Senior Member
Flag Georgia
Thanks Meter: 10
 
More
Yeah, you can change it to whatever you want.. When I get home I'll add the directions to change the text color in the pull down and market downloads...
4th February 2011, 08:08 AM |#6  
Master™'s Avatar
OP Senior Member
Thanks Meter: 1,237
 
Donate to Me
More
Quote:
Originally Posted by Tonicacid

shouldnt you be able to change the ffffff in "const v7, 0xffffff" to whatever color you want?

It would actually be

"const v7, 0xffff0000" for red, etc. But yes, you can change that value.
The Following User Says Thank You to Master™ For This Useful Post: [ View ]
4th February 2011, 11:34 AM |#7  
s15274n's Avatar
Senior Member
Flag N.C.
Thanks Meter: 1,132
 
Donate to Me
More
Possibly one of the most helpful threads. Just enough to make me feel I have 1/2 a brain.
4th February 2011, 02:35 PM |#8  
r6kid's Avatar
Member
Thanks Meter: 1
 
More
stuck
Hey I'm new to this and first of all thank you so much for this!

Second I'm having a problem, I'm stuck at "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"

I keep getting "classout\com\android\server\status\StatusBarIcon. smali[0,0] 10145074 connot fit into a short"

I'm trying to change the status bar clock to Green.

Thank you again.
4th February 2011, 02:38 PM |#9  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
Donate to Me
More
Quote:
Originally Posted by r6kid

Hey I'm new to this and first of all thank you so much for this!

Second I'm having a problem, I'm stuck at "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"

I keep getting "classout\com\android\server\status\StatusBarIcon. smali[0,0] 10145074 connot fit into a short"

I'm trying to change the status bar clock to Green.

Thank you again.

What hex code are you using

Sent from my SGH-T959 using XDA App
The Following User Says Thank You to Tonicacid For This Useful Post: [ View ]
4th February 2011, 02:44 PM |#10  
r6kid's Avatar
Member
Thanks Meter: 1
 
More
Sorry I wasn't using my half a brain I found my mess up I over looked the "const/4"
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes