yashsingh1/xdaforums huggingface dataset:
[Vibrant Themes and Apps] s15274n:
Possibly one of the most helpful threads. Just enough to make me feel I have 1/2 a brain. ;)
[Vibrant Themes and Apps] r6kid:
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.
[Vibrant Themes and Apps] Tonicacid:
What hex code are you using
[Vibrant Themes and Apps] r6kid:
Sorry I wasn't using my half a brain I found my mess up I over looked the "const/4"
[Vibrant Themes and Apps] toeshot:
I will take it that I don't need apk manager. Just need to unpack, repack, and sign. I could also just use a Hex editor to change the colors on the things I would like to change such as date, notification text, etc.. Just like I did with the G1.
[Vibrant Themes and Apps] Master™:
I am pretty sure you can't use Hexedit to edit the Clock. You need to decompile it.

Also, you don't sign /system apks
[Vibrant Themes and Apps] xxxman999:
Awesome! I barely qualify as a 1/2 brain. ApkManager is sweet simple program that does the job. In the many times I have used it, I noticed that recompilation of the files are not clean after images have been change/edit. So I always optimize images inside (option 2) everytime I recompile. Does this help and worth doing?

BTW: what xml editor are you guys using? Some of the ones that I downloaded are crap.
[Vibrant Themes and Apps] r6kid:
I used "9acd32" but my clock isnt showing up at all now, I should be able to flash this with NinjaMorph right? or do I need to go in and replace it?
[Vibrant Themes and Apps] toeshot:
ya I have to smali, to edit the clock. I was just wondering if apk manager offered anything out of unpacking the file.
[Vibrant Themes and Apps] Tonicacid:
Use the color code 6532CD for that color.
[Vibrant Themes and Apps] r6kid:
I'm still getting a no show for the clock?
[Vibrant Themes and Apps] Tonicacid:
Can you post the code you used
[Vibrant Themes and Apps] r6kid:
".prologue

const v7, 0x6532CD"
[Vibrant Themes and Apps] Tonicacid:
This is a dumb question but your not putting the " marks in are you?
[Vibrant Themes and Apps] r6kid:
haha nope:D
[Vibrant Themes and Apps] Master™:
use

ff6532CD

oh, and make sure there is no "-" in front of the 0x

yours would look likes this:

const v7, 0xff6532CD
[Vibrant Themes and Apps] r6kid:
So close! haha I have the clock back but it's purple, I'm trying the ff9acd32 now, rebooting and crossing fingers. thank you guys so much for the help.

EDIT- Woohoo success!
[Vibrant Themes and Apps] Master™:
Glad you got it
[Vibrant Themes and Apps] mmelo76:
Included in the list of sticky:

**"please read before posting - sticky threads"**
[Vibrant Themes and Apps] Tonicacid:
Heres how to change the colors from standard hex to smali code.

To pick a color you first start with the Hex color code you want to use. You will have to first convert your number into

binary, instead of making you have to look that up, I have included tables below. You will then invert the

binary digit (0 becomes 1 and 1 becomes 0) and then you will want to convert this back into Hex. This is

the color you want to use in the smali file.

​
[Vibrant Themes and Apps] Master™:
or..

for red:

const v7, 0xffff0000

for light blue:

const v7, 0xff0000ff

for yellow:

const v7, 0xffffff00

You get the point. I have always had it always work (for colors that aren't black/white) take the following:

const v7, 0xff

and add your html color code behind that.

I have not tested your way, but both should work. I for some reason find the way above, slightly more easier.

I added your post to the "helpful things" at the bottom of the OP
[Vibrant Themes and Apps] keda51:
Noob Question

After altering the files and removing "unsigned" part from the altered files what is the next step?

Do I now remove the original frameworks from the zip and paste these new altered files?

Edit: To clarify, I used the frameworks from a CWM flashable zip to theme my Vibrant blue on Bionix V 1.2. I altered the .pngs I wanted to then after the entire process removed the "unsigned" and replaced the original frameworks with the altered files in the zip. I then tried to reflash the Theme but I was stuck in a boot loop and had to Odin.

Pardon my ignorance but I'm trying to learn android theming now.

I had themed the evil iCrap phones before and have extensive PS experience, but lack the knowledge of theming for android and am anxious now to start on this platform!

Thanks in advance for any help!
[Vibrant Themes and Apps] toeshot:
That is what you do, however there are a couple things to note:

1) Need to make sure that the file names are exactly the same.

2) If pulling from a different rom make sure the rom you are pulling from was made for your phone.

If the rom that you are pulling from was made for a different phone you will have sizing issues and some stuff may not get implemented because there is no call for it in your phone. Could be disastrous.
[Vibrant Themes and Apps] Demiurgic:
Maybe a little more detail than select option # would be nice. Also, this is only for the windows version of apkmanager, but still a very helpful post thanks.
[Vibrant Themes and Apps] Master™:
I don't know how much more detail you need...? That is the option you select, it is pretty simple..
[Vibrant Themes and Apps] aamir123:
I have a problem trying to extract apk, I get the error:

An error occured, Please check log (option 21)

Someone please help
[Vibrant Themes and Apps] MWBehr:
Check log (option 21). What does it say?
[Vibrant Themes and Apps] aamir123:
I get the windows cannot find signer error box. is there something wrong with my framework? Maybe I should let you know that I used metamorph already to mod some things. And thanks MWBehr for helping in my other thread as well.
[Vibrant Themes and Apps] rel500:
Guide for Noobs

LET ME START OFF BUY SAYING THIS IS HOW I DO IT, it may vary from person to person

Phone Requirements

Latest Busy Box (can be found in Market)

Have USB Debugging enabled (Settings>Applications>Development>Check Usb Debugging)

Astro

Root Explorer

NinjaMorph

Programs required (maybe not now but along the future)

Droid Explorer (like ADB but sooo much easier, for me atleast)

Apk Manager found here http://xdaforums.com/showthread.php?t=695701

A zip manager (Win Zip or w.e. your preference is)

Im going to use the Frameworks as an example in this Tutorial but it works with any Apk and the theme we are Porting is the Tangerine theme from the I9000 section

Start off with a fresh flash of the Rom you want to work with

In my case i want to theme Bionix 1.2.1 so i would flash that rom

then go to Ninja Morph (basically this decompiles the apk so that u can see all the goodies inside)

Open Ninja Morph and select Start Checks>New Project>System>Framework>framework-res.apk or twframework-res.apk

Your apks are decompiled on your phone..

Connect Phone to PC

While in your PC your going to take your Theme that your porting over

Ex Tangerine

Open up APK Manager

Locate the Tangerine Zip and open it using the zip manager of your choice

Once in the zip folder locate the framework.apk

Drag it to the Apk Manager in the place apk here (or something like that)

When running the script select option 22 to locate the file and then the # of the file

Ex 1 for framework

Then hit 1 to extract the apk (some ppl like to use 9)

The script will do its thing

in the projects folder you will see the decompiled framework

***** WHAT WE ARE LOOKING FOR IS THE DRAWABLE-HDPI FOLDER... OPEN THE FLODER CLICK ON RES AND VIOLA YOU HAVE THE GOLD!!!******

Now connect your phone to the PC and locate your phones storage and look for the AndroidThemes Folder

go to Androidthemes>Workspace and choose the framework

Now open up the APK Manager Projects window side-by-side with

lOOK at all the images to make sure they are named the same... also pay attention to the actual images themselves, you will see 2 types PNGs and .9PNGS

Things to pay attention to is the Pixel size.. you dont want something too big in size to replace a tiny icon...

Copy the images you wish to copy from the tangerine framework over to the framework drawable folder inside the Android Themes Folder in your phone

Once you're content disconnect phone from PC and open up NinjaMorph

Choose Finish Project, Select the project your working on... Some pop ups are going to pop up, click yes, yes, then no.. reboot

Enjoy

Once you can handle this its easy to create flashable zip files... PM when ready or if you have any questions

Thank to buddahlou for trying my method....
[Vibrant Themes and Apps] keda51:
Phone Icon??????????????????

Ive been able to modify every .apk's launcher icon but the Phone.

I modified the ic_launcher_phone in the phone.apk/res/drawable (there was no launcher icon in hdpi) I modified the contacts.apk Ic_launcher_phone but nothing I've done has changed the phone icon at all.

I'm trying this on Bi-Winning Rom (2.2.1) jpj.

ANY HELP GREATLY APPRECIATED in finding how to finally modify the darned phone launcher icon!
[Vibrant Themes and Apps] rel500:
What your looking for is the dialer.apk
[Vibrant Themes and Apps] Sdobron:
DialerTabActivity.apk doesn't change anything?
[Vibrant Themes and Apps] jkhrist:
Awesomess thank you and please do update. I just got into this theming thing.
[Vibrant Themes and Apps] jkhrist:
Dialertab changes the dialer.(keypad0-9) Phone.apk changes the dialing and connected images you see when you make a call. Chrysis revolution has modded phone and dialeractivity files if you want an idea of what I mean
[Vibrant Themes and Apps] keda51:
DialerTabActivity was the correct .Apk to theme to change icon for launcher. Birgertime was kind enough to reply to another post I made about this.

Thanks to everyone!
[Vibrant Themes and Apps] ferhanmm:
Does anyone know which line controls the date color? I can't seem to find it.
[Vibrant Themes and Apps] rel500:
A Reference Guide for the Status Bar

A Reference Guide for the Status Bar... Nice Quick and Easy tut made by malfuncion from http://xdaforums.com/showthread.php?t=812541

Ever saw a bunch of Status Bar Images that you like and would like to make your own for your personal preference?\

1) Navigate to twframework.apk's

2) Find and open sub folder /res/ (use your preference, NinjaMorph, renaming to .zip, using Winzip on PC, telekinesis)

3) Once in /res/ find and open /drawable-hdpi/

4) Once in /drawable-hdpi/ locate the following files:

Once TwFramework

- status_bar_background.9.png (actual background of the drawer)

- status_bar_header_background.png (this is the 5 icons across the top of drawer)

- status_bar_close_on.png (this is the dropdown bar at the bottom of drawer)

- quick_panel_list_bg_01.9 (seperator between carrier and application info)

Once Frameworks

- status_bar_item_app_background_normal.9.png (not sure if this one is necessary)

- status_bar_item_background_normal.9.png (this is teh notifications)

zip up, compile or whatever and enjoy...
[Vibrant Themes and Apps] mulcahyd:
Sweet. Im gonna try it over the weekened.
[Vibrant Themes and Apps] ronhoover88:
Do you mean we have to delete the unsigned apks after compiling the edited apk or just change the name from unsignedframework-res.apk to framework-res.apk
[Vibrant Themes and Apps] xXcybersniperXx:
No you just change the name
[Vibrant Themes and Apps] aayushARM:
Hi am changing it to blue like ICS! My phone isn't vibrant so there are certain changes in statusbaricon.smali.

My oiriginal line is:-

.line 60

const/high16 v6, -0x100

invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V

And I am changing it to:-

.line 60

const v6/high16, 0xff33b5e5

invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V

Am I right?? there's that "high16" extra thing..........Also I wrote const v6 instead of 7 'cause i noticed it in the original line..............

Plz. someone reply!!!!
[Vibrant Themes and Apps] jzero88:
Awsome man thanks! This seems like a pretty sweet guide I've been looking for :)
[Nexus S General] winteum:
I just bought a Nexus S and think my Droid is betten than my Nexus S. Why?

Because that points:

1) No led notification. Can't live without it.

2) Call sound and Speaker louder in Droid.

3) Can't remove the back easly to put another battery.

4) If it falls for sure it will broke.

5) It's expensive. Not worth the change.

6) The Cell signal is better in Droid.

7) THe size doesn't fit well in hand.

8) I really like more the screen of Droid. Nexus's screen you can see the dots.

9) There is no original acessories like we had with Droid. I owe two batteries, external charger, car mount and car charger, all original. The Droid car mount is amazing.

Who agree with me?
[Nexus S General] kenvan19:
First of all, you are comparing two devices on two different carriers based on signal. And unless you mean original droid, you're being ambiguous as well. Not sure why a notification LED is a make or break feature when you can easily just wake the phone and check. I've never used a droid but the call quality on my NS is better than on any other phone. Taking off and replacing the battery panel on my SNS is much easier than on my Epic or my Evo. I've dropped my SNS multiple times and it doesn't even have a scratch. $520 is pretty on par for modern top-of-the-line phones, again if you're comparing it the original droid that is an unfair comparison as it just came out whereas the Droid is old hat. Can't compare different carrier reception and blame it on a phone, that is just ridiculous. The SNS fits in my and my wife's hands great. My wife has tiny hands compared to me and she couldn't use my Epic or my Evo but she loves the SNS. Basically, I doubt you've every actually handled a SNS and are just trolling.
[Nexus S General] tominater12:
Someone is trolling lol.
[Nexus S General] winteum:
Thank you for your opinion.

I'm using it with the same carrier.

Please see what I just edited my post with more points.
[Nexus S General] winteum:
Sorry but I really think so.
[Nexus S General] chrlswltrs:
I had a Droid, then a Droid X, and now a nexus S. The Nexus S is far better than the Droid. Just because it is made of plastic doesn't mean it is fragile. I have no case at all and I have dropped it several times and it is fine. This phone runs circles around the Droid. I do miss the notification light occasionally but everything else is SOOOO much better on the Nexus S!
[Nexus S General] Zardos66:
Am I getting trolled?

1. I've found I can live without it, I don't miss it.

2. I've found the call quality to be amazing compared to every other android phone I've owned. (Moment, Evo, Epic, Hero every sprint android etc.)

3. Battery life is amazing so far, but I've found the back easy to remove.

4. Valid point, but don't all phones stand a chance to break when dropped?

5. Depends if your on or off contract. I will never waste money on a non-stock android phone again.

6. I don't know if its T-mobile being better than Sprint, but this phone has the best signal ever. I get great service in places where other people have next to nothing, even with other T-Mobile phones.

7. Yes, it is big, but that will vary per person, my hands are big and its just right.

8. Valid complaint, I like Smoled alot, the colors and blacks are amazing, ebooks are a bit meh.

9. Valid point. The phone brand new, but I really don't see alot of companies jumping to make things for it, it probably won't sell well.

The only thing I miss is a keyboard, but I've become very good at typing on the 2.3 keyboard, and its great so far.
[Nexus S General] winteum:
But about all points the most annoying me are:

1) Lack of light notification.

2) The big pixels in the screen and color super saturated.

3) The battery. It has a little more juice but still not enough for heavy use.
[Nexus S General] Darrien13:
you fail sir.
[Nexus S General] leyvatron:
Hyperlink everything you just wrote to a rickroll video.... and we will all get rickroll'd.
[Nexus S General] Kubernetes:
What carrier is that?
[Nexus S General] demo23019:
pixels not dots
[Nexus S General] winteum:
Correct. Thank you.
[Nexus S General] mak213:
droid "betten" by NS? please lol if u dont like it return it...lol droid is PoS
[Nexus S General] robstunner:
You forgot:

10. it says DROID as a ringer.

Ibtl
[Nexus S General] zorak950:
I'm rather curious about that, myself. :P
[Nexus S General] tominater12:
So you are using the droid which is cdma on the same network as a gsm phone? Also the nexus s has a higher resolution screen so please just stfu out of xda.
[Nexus S General] ruben8448:
What's the point of this being posted here. You should post this in the Droid section where someone may care.
[Nexus S General] Kayatoast:
I would really like to know how you did this.
[Nexus S General] jacksonj51:
A verizon droid.... amazing he knew how to log into XDA
[Nexus S General] onthecouchagain:
It's people like this that make people like me -- who write lengthy and legitimate criticisms about the Nexus S -- look bad. ;)
[Nexus S General] Androyed:
1) No led notification. Can't live without it. No LED notification. Can live without it. But yeah, if you think it is a big deal, the Droid is better.

2) Call sound and Speaker louder in Droid. I have never heard anyone saying that, but maybe you are right. The Nexus S's call sound isn't bad though.

3) Can't remove the back easly to put another battery. You can't remove the back of the Nexus S, or the Droid? If it is the first, then I just dissagree with you.

4) If it falls for sure it will broke. No. Just no. Although some people don't like the 'cheapy' feeling of plastic, it absorbs the shock better. Fingerprints and scratches on the back is an issue, but falling damage: no

5) It's expensive. Not worth the change. Ok. I don't know what to say to this. If you think it isn't worth the change, don't change it.

6) The Cell signal is better in Droid. Again, I've never heard anyone saying that, but maybe you are right. The Nexus S's cell signal isn't bad though.

7) THe size doesn't fit well in hand. Again, what can I say to this? I think it does fit well in the hand, because of the curvings.

8) I really like more the screen of Droid. Nexus's screen you can see the dots. Good point. I always hear people say that Super AMOLED is the best screen in the world. I like it, but there are disadvantages. Like the oversaturated colours. The Droid's screen is the most color accurate on the market. I am really looking forward to the Nexus S with Super Clear LCD, and I hope that it will be color accurate.

9) There is no original acessories like we had with Droid. I owe two batteries, external charger, car mount and car charger, all original. The Droid car mount is amazing. Give it a while. That there are no original accesories, doesn't mean there won't be any accessories in the future.

All your points are things that almost anyone will disagree with. If you like the Droid better, you should keep it. I don't see why you should make a thread on a Nexus S forum, if you think the Droid is better while everyone thinks it isn't....
[Nexus S General] ryan562:
Sell me your NS. I need a spare lol.
[Nexus S General] DKYang:
My computer is better than my Nexus S.

Who agree with me?
[Nexus S General] ztm.000:
Only because my computer is a MacBook.
[Nexus S General] ztm.000:
BTW - OP is an idiot. Go troll on your precious droid forum, no one gives a rusty **** about your opinion on the god damn Nexus S forum.

-Droids are gay, whether they're from Motorola, HTC, Samsung, or any OEM for that matter. Pure Android phones are the best, whether they come from HTC (Nexus One) or Samsung (NS).

-Fragmentation of Android at its best, thanks to Verizon's stupidity.

-Verizon sucks ass 'n' balls in every aspect.

-Painfully slow data speeds, even with "4G LTE"

-You're trolling.

-You can't spell.

-You're somewhat illiterate, and probably have a hint of dysgraphia.

-You basically asked for a war and gave us permission to flame the **** out of you (rip ya a new one... ;).

Go be dumb elsewhere, you're just clouding up the forums, and the air, for that matter.
[Nexus S General] shrivelfig:
Keep the Droid, get rid of the Nexus S and bugger off then.

Or do you plan to keep the Nexus S just so you can hang around here and whine about it?

And my spelling is "betten" than yours.
[Nexus S General] winteum:
I'm sorry all you guys about to express sincerely my opinion.

About the carrier I'm an international user of droid so here its named milestone but it's the same as droid but gsm .
[Nexus S General] :
I think the g1 is a better phone than the Droid, and that's a fact;)

Motorolla suck,

Every time you see someone with an app problem doing a review on the android market its always a Motorolla user. Their phones are total jank...

JD

Sent from my Google Nexus S Black Neolithic Piece of Wonderment.
[Nexus S General] shrivelfig:
http://www.imdb.com/title/tt0094963/quotes?qt0224931
[Nexus S General] willcpfc:
THE NEXUS S RULEZ! IT WILL CONQUER THE WORLD AND CRUSH ALL OTHER PHONES PAST, PRESENT AND FUTURE....IT IS A SHINY PLASTIC COLOSSUS. YOU ARE INDEED BRAVE TO QUESTION IS WONDERFULNESS, AS IT WILL REMEMBER WELL AND TAKE TERRIBLE REVENGE BY RESETTING YOUR ALARM WHILE YOU SLEEP.

sorry for shouting but it had to be said :D
[Nexus S General] :
I'm still laughing that this Willow Osgood troll has the unintelligible audacity to think that a Droid is better than the Nexus S,

It really brings you to tears, some people just don't deserve this phone, do us all a favour dude and take your phone back, please.... Let it have a home with someone that understands it;)

JD

Sent from my Google Nexus S Black Neolithic Piece of Wonderment.
[Nexus S General] insanemachine:
Just so you know, Verizon owns the trademark name droid, they pay money to use the name to lucas films.

droid = android phone on verizon (cmda network). Android is the name of the Operating System running on the phone.
[Nexus S General] distortedloop:
Don't feed the trolls!

They'll get hungry and go away in search of easier feeding grounds...
[Nexus S General] frenzy757:
I have the NS and I am very happy with it...I came from a D1.

No LED, I thought it would be a big deal but its not that big a deal. Usually I open the phone up anyways even with the LED so I still can glance at the notification bar. Plus doing so will let you see that awesome power down animation!

Also, I use NoLED for when it is on my desk, which I think is cooler than the LED light.

Everything else has been super on my NS. With the speed that hardware is improving,t he ONLY way I can see myself being happy is with a Nexus so at least I'll have the latest software...all these new phones are still coming from Froyo...that sucks!
[Nexus S General] winteum:
Finally a decent response.

Thank you for understand.
[Nexus S General] RogerPodacter:
actually the originally droid/milestone has higher resolution than the nexus s.

nexus s: 800x480

droid: 854x480

so yeah, plus the droid has 3 sub pixels per full pixel, where the nexus s shares sub pixels. so its even worse!
[Nexus S General] MacGuy2006:
Not me.

The Droid is tacky.

The Nexus S is a Google Phone -- I personally would never go back to a locked, proprietary Android device again (I'd rather go back to the iPhone - it works better than any Droid I've used).
[Nexus S General] winteum:
The iphone has more solid hardware with amazing touch and screen.

What do you think about going back to iphone after Nexus S?
[Nexus S General] kenvan19:
I think you should use whatever phone makes you happy and its pretty clear that that isn't the nexus s.

Sent from my Sublime MoDaCo Nexus S running Netarcy's amazing kernel!
[Nexus S General] jlevy73:
very true, that's the beautiful thing about options you can chose whatever device is right for you.
[Nexus S General] deeren:
wow, i must have fallen asleep a whole week. how the *** do this thread have one star rating.

anyway since we are on topic, check this out.

http://goo.gl/uPGrb

even better than any phones on the market.

thanks to simms22 for the link.