yashsingh1/xdaforums huggingface dataset:
[Android Themes] mianosm:
.jar files are compressed java files (either compressed or uncompressed), if you uncompress the services.jar that comes with the builds at the moment you will be looking at a .dex file which is a compiled java class.

I just made my first build, and have a long way to go before I will be at a point where I can modify it myself, hopefully cyanogen hooks it up with a services.jar that has white text - I really think that that is the only thing holding back theme development for this and the hero theme from what I've seen/read so far....

But it is his builds, so we are at his mercy. ; )
[Android Themes] stellarman:
Are you planning on incorporating the various tweaks Cyanogen has made since 3.6.0? I have been holding off upgrading to 3.6.5 because I want to continue to use the AeroBlack theme, but don't want to break anything. Cyanogen says 3.6.5 will probably be stable for a while, as he is going out of town.

Thanks for your good work. I really like the theme.

<edit> Never mind. I read back a page and found my answers. Thanks. </edit>
[Android Themes] bbuchacher:
Gah i updated Cyan 3.6.5 before seeing this theme wont work! ><

New theme template is posted
[Android Themes] inmyrem:
I was waiting on Moon Dust to be updated, but it's been way too long. So after some research and a little hesitance, I updated to this theme a few weeks back. Loved it! I've since updated to the latest version 3.6. It's about time the camera and camcorder zoom ability became functional. The addition of the Overclock! utility, PDF Viewer and Quickoffice are nice touches as well. The overall look of the status bar and icons are nice too. All in all, a much recommended theme.
[Android Themes] sir*mez:
@mianosm dude we have white clock running. hit me up as soon as you see this so i can send you the file you need.
[Android Themes] mianosm:
Thanks for the update, I've been PM'ing with Ohsaka about it, and plan on making a new services.jar specifically to fit the theme. With just the clock and notifications appearing in white as opposed to too much white. : )

Thank you for the heads up though! = )
[Android Themes] Mikey:
Is the update coming soon since the white clock has been figured out?
[Android Themes] mianosm:
The update will be here before the weekend I'm hoping (before friday nights festivities).

ultra_spikey has implemented the services.jar as is into his theme:

http://xdaforums.com/showthread.php?t=482799

Might hold ya over. ; )
[Android Themes] mianosm:
This is where I'm at for now, it looks like there are 84 instances of the setText being added to the services.jar && android.policy.jar....Hopefully I can get 42 done today, and 42 more done tomorrow and test/update/sign/host. : )
[Android Themes] Ohsaka:
That might be overkill. I only changed the text color in nine places in the current services.jar modification I made.

I am remaking it now with just the clock/date/notifications as white. I never really intended the current incarnation for mass consumption, I just wanted to see what each of the nine places affected and then was so tired I posted it to the PSun thread so they could test it while I slept... :) Should have new version within 30 min or so. I will give it its own thread since eventually I'm going to make one that theme devs can customize themself real easy.
[Android Themes] mianosm:
This actually looks like the only portion that matters:

/services/com/android/server/status/StatusBarIcon.smali: invoke-virtual {v4, v7}, Landroid/widget/TextView;->setTextColor(I)V

I created my own constant (added registers up to 14 from 13, and made a v13), and am defining v13 and replacing v7, should see how it works out in a second.

I don't understand how my notifications aren't coming up with the defined color though, for instance USB Connected comes up the wrong color, but, Turn off USB storage comes up white...
[Android Themes] Ohsaka:
Yeah, I am currently debugging the same thing.

What I have found is that every other ticker notification is white then black. They are using a TextSwitcher object which can contain more than one TextView inside it.

In Ticker.smali:

const/4 v2, 0x0
invoke-virtual {v1, v2}, Landroid/widget/TextSwitcher;->getChildAt(I)Landroid/view/View;

which equals:

// Copy the paint style of one of the TextSwitchers children to use later for measuring
TextView text = (TextView)mTextSwitcher.getChildAt(0);
mPaint = text.getPaint();

So I am wondering how many TextView childs there are by default, or where they add the new ones, or if there is a better place to intercept them as they get retrieved for display...

FYI, in StatusBarService.smail around line 4111, you want to modify the mDateView color to white also...
[Android Themes] Ohsaka:
Looks like hacking the smali files directly might be at the end of its usefulness on this issue...

It looks like the code that needs to be modified is in the core widget code.

In android.widget.TextSwitcher class:

/**
* Sets the text of the next view and switches to the next view. This can
* be used to animate the old text out and animate the next text in.
*
* @param text the new text to display
*/
public void setText(CharSequence text) {
final TextView t = (TextView) getNextView();
t.setText(text);
showNext();
}

/**
* Sets the text of the text view that is currently showing. This does
* not perform the animations.
*
* @param text the new text to display
*/
public void setCurrentText(CharSequence text) {
((TextView)getCurrentView()).setText(text);
}

We need to override the text color on one or both of those functions. I am attempting to override those methods in the com.android.server.status.TickerView class since it extends TextSwitcher already. The problem is that I am writing the byte codes by hand...

I have been working on setting up a real Ubuntu build environment for myself, then I could just edit the Java directly. But I am waiting till I get back from vacation for that...

Worse comes to worse, we can beg Cyan to do it and recompile us a special services.jar :)
[Android Themes] Ohsaka:
My attempt failed, and now the wife is awake...

Gotta run...

I attached my modified smail files that go in the un-dexed 'status' folder to create the white text...

ATTENTION: THE TICKERVIEW FILE IS UNFINISHED AND BROKEN. EITHER FIX IT FOR ME OR USE AN ORIGINAL COPY OF IT...

Here is the error the TickerView.smali file causes:

07-09 12:06:31.300: WARN/dalvikvm(135): VFY: tried to get class from non-ref register v0 (type=0)
07-09 12:06:31.300: WARN/dalvikvm(135): VFY: rejecting opcode 0x6e at 0x0000
07-09 12:06:31.300: WARN/dalvikvm(135): VFY: rejected Lcom/android/server/status/TickerView;.setText (Ljava/lang/CharSequence;)V
07-09 12:06:31.300: WARN/dalvikvm(135): Verifier rejected class Lcom/android/server/status/TickerView;
07-09 12:06:31.300: ERROR/dalvikvm(135): Class lookup Landroid/content/Context; attemped while exception Ljava/lang/VerifyError; pending

Good luck guys, my wife is about to punch me for not getting off the laptop :)
[Android Themes] mianosm:
I'm in and out of this project (work is happening...).

invoke-virtual {v1, v2}, Landroid/widget/TextSwitcher;->getChildAt(I)Landroid/view/View;

I'm wondering if v2 can be moved to v13 and add your registers to 14 (0 to 13 remember).

That way we can still do it with smali/baksmali....slow going at the moment...
[Android Themes] mianosm:
I'm having major boot looping issues with my services.jar updates. : (
[Android Themes] Ohsaka:
Yeah, doing byte code programming is not the easiest thing in the world...

Do you have any previous experience?

V0 = this (in the java/c# sense)

V1-Vn = function parameters if any

Vn+1 ... = local variables for the function

I found it helpful to compare existing java source to its coressponding smali file to get a feel for how the language works...
[Android Themes] mianosm:
No byte programming experience for me....

I've got the source and the analogy files but its really a pita dealing with three items at once, and the dumps really don't make it easier, just accessible.

I'm away from my computer (build enviroment) until Monday now too. : (
[Android Themes] mianosm:
I'm hitting a wall for the moment between finding the pieces that I need (maybe if I shrug off doing some of my finals preperation I'll work harder on the services.jar).

For now I've updated my own 3.6.5 with some minor tweaks, and some nice images given to me by kyleds:
[Android Themes] milesukaoma2010:
wifi issue

i like this theme but cant connect to wifi. so i gotta go back to the ophone theme looks good though fix the issue
[Android Themes] mianosm:
That's pretty odd, I'm posting from my phone..(cm3.6.5 ,and the posted theme) over WiFi....

Not sure what you might be having a problem with. : (
[Android Themes] Ohsaka:
Can you hook your phone up to a computer and run "abd logcat > logcat.txt" and attach the file to a post in this thread?

Another helpful thing would be to go to the terminal and run 'df' command and tell us how much space you available on the /system partition...

Those are good starting points for troubleshooting...
[Android Themes] stellarman:
Various

Is there any significant difference between this theme and the Aero 1.5 Black 3.6.5 in the other thread. I was using yours and liked it. But I switched to that one because they got it 3.6.5-compatible a bit sooner. Any particular differences?

Do I understand correctly that when you get the theme transferred completely to the 3.6.5 theme template, we will be able to flash only once and have both CM 3.6.5 and the AeroBlack theme?

Finally, one nit-picky little thing you might want to fix. The check boxes in Setup and elsewhere currently have a green color that is SO LIGHT that, to my aging eyes, it is hard to tell whether or not the box is checked. Could you darken that green up a bit for us old fogies?

Thanks for all you good work on this.
[Android Themes] mianosm:
No. ultra spikey was the first person to release an AeroBlack theme, when I started working on a theme I saw his and decided to just port it along with what I was using (from JF1.5 to CM), for the most part our themes are nearly identical, and his is the original. I theme it to my taste (added the home rotate, and a couple of small things along the way).

Yes, I'll push that up later today/tonight I think actually, a full 3.6.5 themed, and a 3.6.5 minimum, as well as the theme update itself. I'll need to test them both out though and see how it works.

It's not work really, it just what I want - and I'm letting others use it if they so desire as well. ; )

The check mark is a .9.png, I haven't tackled one yet, but it's not as simple as just opening up and editing. I'll see what I can do when I start working with the .9's though. = )
[Android Themes] stellarman:
Thanks. Looking forward to it...
[Android Themes] Ohsaka:
Honestly, all the source is available. You can always download it all, edit it, recompile it, and deploy it...

Byte code editing was a path of least resistance for me because setting up a build environment requires a Linux VM or trudging along with Cygwin... Plus whenever Google decides to release something without source available, I'll be able to understand it and edit it. Byte code practice is fun. :)

I wonder how easy it is to compile a single XML to its compiled version and reinsert it into an .apk.... Thats the real ticket for layout/color changes me thinks.
[Android Themes] mianosm:
Editing the decompiled source was gritty for me, I had/have the source to follow along with but most of those classes were expecting a value to be passed to them (v1 - vN), being able to just adjust the xml using a hex editor, and knowing that the right colors are getting passed into the classes seemed like the most correct method, as opposed to inserting additional registers and hoping that the recompile takes it correctly. We've got a solution for now at least....

My builds aren't completing yet, so theme'ing I'll be pushing anywho. Thanks again though Ohsaka, couldn't have done it without you! : )
[Android Themes] bloopblah:
awesome. everything working good. good job!
[Android Themes] Genesis206:
I tried to steal hat sexy wallpaper from the screen shots but its not in the build. Can you post it?
[Android Themes] mianosm:
You didn't try hard enough. ; )

http://miano.us/android has it. = )

Enjoy!
[Android Themes] Genesis206:
Lol. Apparently not. Gracias. Much appreciated.
[Android Themes] Mikey:
*shakes my head to your website*

:(
[Android Themes] mianosm:
Was it down, or just slow? I'm looking into new hosting solutions but need to find a little more scratch ($$$) first. Sorry if it was down or slow. : (
[Android Themes] stellarman:
Suggestion Box

A couple of suggestions:

How about using the narrower battery image on the lock screen, or even the one that is a series of colored dots?

And could you make the text on the lock screen a bit bigger? I use the Owner Info program to put my contact info on the lock screen. With the current text size, it is almost un-readable.

Thanks for the great theme. And particularly, thanks for making the complete 3.6.5 package that allows for only one flash instead of two.
[Android Themes] Rekna:
Great theme. Here is my feedback:

1) The white bar that fills up the top of the screen (top half of the notification bar) seems out of place and makes things hard to read. I think a solid black bar would look better. Right now that little white bar makes icons look odd and makes things hard to read.

2) When I hit menu the pop up menus are semi-transparent making them very difficult to read.

3) The launcher tab is a too transparent.

Thanks
[Android Themes] mianosm:
Sorry guys but I don't think that I would like to change the status bar or the lock screen at the moment. If you show me some amazing pictures, I might be tempted, but as it stands - I really like the text/size on the lock screen as well as the battery size/image...

ultra_spikey might be more willing/inclined to make those changes, but for now I think the only thing that I'll be working on is probably changing the green check mark (9.png)to a blue (more like the status icons).

Sorry about my stubborness, if I see download number decreasing I'll stop posting updated ports.
[Android Themes] AngryCookieMonster:
Hey this is a nice theme I think I'm hooked, absolutely no problems, especially bootup it don't take 10 minutes to boot. really like the gloss effect and especially the feedback colors on button.

______________________________________

Phone: T-Mobile G1 Black

Theme: Aero Black

Rom Build: Cyanogen's Mod 3.6.5

Recovery Menu: Cyanogen's Recovery 1.3.1

HSPL: Haykuro's SPL 1.33.2005

Radio: 2.22.19.26I

4Gb SDHC card w/801Mb Ext3 70+ apps 719Mb free

Overclocked @528
[Android Themes] mianosm:
Do you include your signature to all your posts? It might make it easier on you if you go to your: UserCP, and edit your signature.

I like your style sir!!!

Thanks for the endorsement! = )
[Android Themes] mianosm:
You can say that again....
[Android Themes] henrylim:
i am using this theme and it works great!

I also noticed that the notifications alternate between white and black. E.g. is APNdroid

when i enabled it, it shows white text "3G/EDGE/GPRS Enabled".

when i disabled it, it shows black text "3G/EDGE/GPRS Disabled".

Not sure if it's the fault of the app, but I don't have another one to try.
[Android Themes] dan0zone:
sure you got the right theme ?? because with ultra spikey's 3_6_5 mod I get the alternate between white and black notifications , but with mianosm 3_6_5 mod I get white text all the time with everything that uses the status bar .With ultra spikey's mod all it's missing is the status bar xml form mianosm and its good to go .. This is what i'm running now ultra spikey's 1.6 aero black with mianosm's status bar xml ...

Mianosm and ultra spikey thank you for your great work ..ultra spikeyfor the original theme
[Android Themes] mianosm:
That simply doesn't happen with my theme, sorry I was unable to replicate that issue:

Please double check which theme you are using, and let me or ultra spikey know if there is something amiss. ; )
[Android Themes] sputnik99:
mianosm please keep up the lite version! Good work. Maybe just the background of the apps a little more transparent?
[Android Themes] mianosm:
The lite version doesn't touch the apps, it's only the launcher.apk and framework folder. If I make an icon scheme then the theme will get big and fat again (most of the udpate/time comes from the app update/s).
[Android Themes] mianosm:
Updated for the latest cm-3.6.6:

Now has "Work Email" - Exchange Sync (working for me).

Now has 6x3, and 5x4 application tray.

Please let me know if there is anything missing, or highly noticeable.

Suggestions are always welcome, and check marks are my next endeavor I believe...
[Android Themes] question.com:
download link isnt working for just the theme. now whats the main difference between the full zip and just the theme?
[Android Themes] mianosm:
Updated the theme (new md5sum) with a working camera/camcorder, some people are reporting the need to wipe - just FYI.

The difference between the full and theme will be:

Full == cm-3.6.6 + Theme.

Theme == Theme.

Tiny == Theme - Icons.
[Android Themes] question.com:
thanks for the quick reply. i just finished a nandroid restore cause i tried the pre theme. didnt work, so lets see how your theme goes.
[Android Themes] mianosm:
I have a feeling that there is going to be a 3.6.7 very quickly...with the camera/camcorder/wipe pandemic going on in cyanogens thread...we'll see.
[Android Themes] question.com:
hmm, my cam seems to be working fine. and im getting a "404 not found" when i try to download the theme
[Android Themes] mianosm:
Both the mini, and regular themes should be good to go.

Be sure to check the md5sum for coruption (if any).
[Android Themes] davil124:
sorry for the dumb question, but what does this "MD5SUM" means ? i see this in almost every post and i idk what the heck it means.
[Android Themes] mianosm:
It's a hashing method, or validity checker.

You can download an md5sum executable for windows and drop it in your system32 directory for quick and easy validation of the files you download.

Then it's just a simple:

c:\>md5sum c:\users\mianosm\Desktop\update.zip
1654fdc78v90fsd890 update.zip

Then you can compare to make sure you have an exact copy.
[Android Themes] davil124:
ohhhhhhh !!!!!! thank you so much !
[Android Themes] question.com:
just tried to flash the theme and got this error on flash

E: wrong digest:

app/camera.apk

E: verification failed
[Android Themes] mianosm:
Sigh, no more late night updating for me!

Just resigned, and uploads should be done within 10 minutes:

C:\Users\mianosm\Desktop>md5sum theme-smm-3.6.6.zip
f0c0dc0abb3440319f4c46272b67be00 *theme-smm-3.6.6.zip

C:\Users\mianosm\Desktop>md5sum mini-theme-smm-3.6.6.zip
ba6e52258589d6dfa4035a7232463e48 *mini-theme-smm-3.6.6.zip
[Android Themes] davil124:
yeap the same here. thanks for helping us mianosm
[Android Themes] mianosm:
No problem, that's what the md5sums are for...they look 100% to me now, and I resigned the theme, so it should have a working camera.apk now.

Enjoy!
[Android Themes] question.com:
downloading now. lets hope for the best
[Android Themes] mianosm:
I'd like to know if you get a good update, I'll try and hang out until I hear yea or nea...

The zzz's are calling my name though...
[Android Themes] question.com:
just finished flashing and im at the android screen, lets pray it doesnt loop.

just booted up and looking good so far. im also going to bed. ill test everything out tomorrow
[Android Themes] mianosm:
Shouldn't loop - if it does try to catch an adb logcat.

If 3.6.6 is working for you though, the theme shouldn't have an issue.
[Android Themes] question.com:
damn i need an icon pack. ive had that hero theme for so long and didnt need a pack for it
[Android Themes] mianosm:
The mini has stock icons, the theme (~13.5MB) uses the aero icons from ultra spikey.
[Android Themes] kyleds:
great :)

i just flashed cm 3.6.6 without wipe and this theme right after and everything is working fine so far :)
[Android Themes] mianosm:
Interesting, even your camera/camcorder have no issues?
[Android Themes] question.com:
i love the aero icons. ill just flash the mini for now i guess
[Android Themes] mianosm:
That doesn't make sense.

The theme has the icons, the mini has the theme without the aero icons.....
[Android Themes] ubernicholi:
i found an theme bug, the trash can icon is stock. i used the rom+theme update. other than that, looks good.

cant wait for the .9 files to get updates :)
[Android Themes] mianosm:
The trash can actually isn't really stock, I'm pretty sure if you compare the two there is a difference, it's just gray instead of clear so you can clearly see it with a red glow on hover. : )
[Android Themes] bloopblah:
awesome! everything is working fine for me.
[Android Themes] ubernicholi:
ahh gotcha, good idea :)
[Android Themes] MotherMayI:
when flashing themes, is it okay to switch and switch back like go from ophone to this one and if i dont like, go back to ophone? or would i have to reflash?
[Android Themes] mianosm:
It should be fine going from one to another as long as the themes you are testing out are for the same android build (like cm3.6.6). Otherwise you might see some residuals left behind from previous themes...
[Android Themes] bloopblah:
Cyanogen just released 3.6.7. i was wondering if you're going to release the theme along with it?
[Android Themes] tekkitan:
It may work with it. Waiting for confirmation.
[Android Themes] Ohsaka:
3.6.7.1 appears to break all existing themes....
[Android Themes] mianosm:
New theme is in the works, needed more zzz's then normal last night. : )
[Android Themes] bkmo:
Hey.......if you got a minute............................ :)
[Android Themes] mianosm:
What's up?, I'm just wrapping up the icons/apps, and will have a 3671 up in a moment.
[Android Themes] mianosm:
Updated for 3.6.7.1

Full ROM + Theme still in the works.
[Android Themes] brandenk:
Thank you for the awesome work, and I especially love the minimal theme update, I am going to borrow that for my theme. :)
[Android Themes] mianosm:
You are always welcome, Open source is a beautiful thing! : )
[Android Themes] sync3:
Cheers..

Loaded and ready to roll..ty for ur prompt porting..no issues so far...keep em coming
[Android Themes] ultra spikey:
How the hell do you pump out these updates so fast? haha...I'm starting to update mine now(even though you do it too, I like to do it myself just to make sure I get everything).
[Android Themes] mianosm:
Use the script that updates your theme....that's pretty much it - takes less than an hour.

I only started doing this because I'm impatient and wanted a few minor tweaks - I'm glad that you aren't annoyed by my persistence. ; )
[Android Themes] brandenk:
Do you have a thread link?
[Android Themes] mianosm:
http://xdaforums.com/showthread.php?t=530081

I'm sure if you're really clever, you could make the same thing in windows using a batch script instead of a shell script...
[Android Themes] ubernicholi:
can you change out the camera with this one?

there is a bug in the stock camera that causes force closes once you run "work mail"
[Android Themes] mianosm:
Added new Camera.apk to both the theme and the mini-theme.

So if you had previously flashed the theme, just the mini will work for you just fine. : )

New md5sum's as well.
[Android Themes] ubernicholi:
dude, your as fast as cyanogen, maybe faster?!? :eek:
[Android Themes] mianosm:
cyanogen does much more work than I. It's all about what you like to do I guess. : )

Hopefully the camcorder gets fixed soon...
[Android Themes] ubernicholi:
hes making another Camera.apk right now, not sure when it will be up, ill post it here if you dont get to it first
[Android Themes] ubernicholi:
i had this idea a while back, i could never get it to work, for one, ima noob at theme editing, and two, i wouldnt know where to start.

but i was wondering if you could port the calculator button animations to dialer? the red looks cool, but blue swirls would be awesome for you theme
[Android Themes] bkmo:
He just upped 3.6.7.2 it has fixed camera.apk and music.apk , all the rest is the same as far as the template goes he says. Can you maybe post just those 2 files for us?