5,604,631 Members 42,429 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Master™
Old
(Last edited by Master™; 4th February 2011 at 10:52 PM.)
#1  
Master™'s Avatar
Senior Member - OP
Thanks Meter 1236
Posts: 3,211
Join Date: Sep 2010

 
DONATE TO ME
Default [REF]How to theme - Samsung Vibrant[02/03/2011]

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)

Device: T-Mobile Galaxy S4
Rom: KitKat KangBang 4.4
The Following 14 Users Say Thank You to Master™ For This Useful Post: [ Click to Expand ]
 
willsnews
Old
#2  
willsnews's Avatar
Senior Member
Thanks Meter 37
Posts: 1,320
Join Date: Sep 2010
Location: Chicago

 
DONATE TO ME
Nice dude thanks
 
Tonicacid
Old
#3  
Tonicacid's Avatar
Senior Member
Thanks Meter 212
Posts: 622
Join Date: Nov 2010
Location: St. Augustine, Florida

 
DONATE TO ME
This is awesome.
MERC Theme Developer
 
Tonicacid
Old
#4  
Tonicacid's Avatar
Senior Member
Thanks Meter 212
Posts: 622
Join Date: Nov 2010
Location: St. Augustine, Florida

 
DONATE TO ME
shouldnt you be able to change the ffffff in "const v7, 0xffffff" to whatever color you want?
MERC Theme Developer
 
junkdruggler
Old
#5  
Senior Member
Thanks Meter 10
Posts: 1,056
Join Date: Jun 2009
Location: Georgia
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...
My phone has been flashed more than Girl's Gone Wild..

Current Devices:
T-Mobile Vibrant-- Still rocking Axura 2.0.3 Themed by me
T-Mobile MyTouch Slide-- Rooted CM6 nightly
T-mobile G1, My favorite Android...-- Rooted since forever, with my own version of CM4.2.15

Did I help? Like what I do? follow me on Twitter or maybe
Donate
 
Master™
Old
#6  
Master™'s Avatar
Senior Member - OP
Thanks Meter 1236
Posts: 3,211
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by Tonicacid View Post
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.

Device: T-Mobile Galaxy S4
Rom: KitKat KangBang 4.4
The Following User Says Thank You to Master™ For This Useful Post: [ Click to Expand ]
 
s15274n
Old
#7  
s15274n's Avatar
Senior Member
Thanks Meter 1114
Posts: 4,811
Join Date: Aug 2009
Location: N.C.

 
DONATE TO ME
Possibly one of the most helpful threads. Just enough to make me feel I have 1/2 a brain.
THANK YOU for using the these links!
DROPBOX / GROUPON / FOLLOW ME
/ BUY ME A BEER
 
r6kid
Old
#8  
r6kid's Avatar
Member
Thanks Meter 1
Posts: 44
Join Date: Aug 2010
Default 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.
 
Tonicacid
Old
#9  
Tonicacid's Avatar
Senior Member
Thanks Meter 212
Posts: 622
Join Date: Nov 2010
Location: St. Augustine, Florida

 
DONATE TO ME
Quote:
Originally Posted by r6kid View Post
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
MERC Theme Developer
The Following User Says Thank You to Tonicacid For This Useful Post: [ Click to Expand ]
 
r6kid
Old
#10  
r6kid's Avatar
Member
Thanks Meter 1
Posts: 44
Join Date: Aug 2010
Sorry I wasn't using my half a brain I found my mess up I over looked the "const/4"

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes