Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Master™

4th February 2011, 02:01 AM   |  #1  
Master™'s Avatar
OP Senior Member
Thanks Meter: 1,237
 
3,211 posts
Join Date:Joined: Sep 2010
Donate to Me
More
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 11:52 PM.
The Following 14 Users Say Thank You to Master™ For This Useful Post: [ View ]
4th February 2011, 02:11 AM   |  #2  
willsnews's Avatar
Senior Member
Flag Chicago
Thanks Meter: 37
 
1,320 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Nice dude thanks
4th February 2011, 02:50 AM   |  #3  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
622 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Thumbs up
This is awesome.
4th February 2011, 03:09 AM   |  #4  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
622 posts
Join Date:Joined: Nov 2010
Donate to Me
More
shouldnt you be able to change the ffffff in "const v7, 0xffffff" to whatever color you want?
4th February 2011, 05:22 AM   |  #5  
Senior Member
Flag Georgia
Thanks Meter: 10
 
1,056 posts
Join Date:Joined: Jun 2009
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, 09:08 AM   |  #6  
Master™'s Avatar
OP Senior Member
Thanks Meter: 1,237
 
3,211 posts
Join Date:Joined: Sep 2010
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, 12:34 PM   |  #7  
s15274n's Avatar
Senior Member
Flag N.C.
Thanks Meter: 1,130
 
4,828 posts
Join Date:Joined: Aug 2009
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, 03:35 PM   |  #8  
r6kid's Avatar
Member
Thanks Meter: 1
 
44 posts
Join Date:Joined: Aug 2010
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, 03:38 PM   |  #9  
Tonicacid's Avatar
Senior Member
Flag St. Augustine, Florida
Thanks Meter: 212
 
622 posts
Join Date:Joined: Nov 2010
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, 03:44 PM   |  #10  
r6kid's Avatar
Member
Thanks Meter: 1
 
44 posts
Join Date:Joined: Aug 2010
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