yashsingh1/xdaforums huggingface dataset:
[G1 Themes and Wallpapers] :
pershoot - no i didnt replace any xmls only png i have stericsons services.jar and android.policy on the phone already, when i push the framework it breaks.
[G1 Themes and Wallpapers] Stericson:
Korn, what version of Android are you using?

Diaz, I do not gaurantee this to work on any new builds as things may have changed. Also, not to be mean.....I will continue to share my work but I wont ensure that it works with every version out there, I dont have the time.

Also, As of right now I intend to stick with the build I have as it is pretty much what satisfies me at this time. If I find a reason to switch to another build then I will work on modding that one.

Stericson
[G1 Themes and Wallpapers] Beast84:
Welcome back boss! Congrats on the wedding again. Question, what program do you use to edit these xml's? I have xml notepad but it won't open these. Also which xml would I have to look at to make the clock bigger again?
[G1 Themes and Wallpapers] Stericson:
I do everything within linux and use mousepad to edit the xmls.

In order to edit these files you need to learn how to download and build the source before you can edit them. It is not an easy task.

Stericson
[G1 Themes and Wallpapers] Beast84:
Well then I guess I will have to leave all the cool stuff to the experts. Thanks anyway. I'll look into it more in depth on my own
[G1 Themes and Wallpapers] Stericson:
If you need any help, let me know. you can reach me on Gtalk most of the time. Stericson.g1@gmail.com

If I don't answer it means I'm away or busy ATM, I'll get back to ya.

OHH! Side note! My 500Th post! Sweeeet......Hopefully much more to come!

Stericson
[G1 Themes and Wallpapers] pershoot:
all, i have successfully ported stericson's framework to 1.51ADP (the 1.5ADP will work on ADP1.51, but a forceclose will happen when trying to change wallpaper, so it needed to be fenagled a bit).

to protect the integrity of stericson's work, i will not post which files need not be replaced (the xmls with the mods in them), but you can grab the gloss suite 1.51 port in that thread.

-pershoot.
[G1 Themes and Wallpapers] pershoot:
hi stericson. hope you are doing well.

did you ever manage/find time to turn the menu text to white?
[G1 Themes and Wallpapers] jonnybueno:
Ion

Errrr.... trying to theme Haykuro's Ion build...

I tried replacing framework.apk,services.jar and androidpolicy.jar with the ones you provided for JF1.5 but I'm only getting white notification text. I've got the custom lock screen but the battery meter just displays "%d%%".

Are there particular files I can replace in framework that will work with the Ion build? Or is something beyond me that Stericson or someone of his understanding would have to work out?
[G1 Themes and Wallpapers] Stericson:
PERSHOOT: nope not yet sorry bud.

JONNYBUENO: this most likely doesnt support the ion build.

Stericson
[G1 Themes and Wallpapers] Habaddon:
Hi,

I try to have the white clock on ion build, but it won't, it still black. How can i modify the services.odex for white clock ?

ps: sorry for my english, i'm not gifted for speak english ><
[G1 Themes and Wallpapers] SteveTilsed:
BrandenK i tried downloading and using your update.zip, i copied over my res/drawable folder. Assets folder. Apps folder. But i get bootloop :( Any ideas? anyone ese tried this? What my reverse option just copy over the images and services.jar?
[G1 Themes and Wallpapers] MontAlbert:
With cyanogen's new build - 3.5.2, the battery icon and % only show when charging. Which files do i edit to get it to show all the time?
[G1 Themes and Wallpapers] cyanogen:
I fixed it for the next version btw.
[G1 Themes and Wallpapers] Asswipe44:
Can I get the white clock going on JF CRB43 US in any way? I would like to modify my ported-to-US Hero theme.
[G1 Themes and Wallpapers] xenio2000:
I am on Cyanogen 3.9.7, I like to change the size (make it bigger) of the clock and date in the lockscreen.

I have read a lot but I don't find any way to modify size but only color, I have the HxD and resign for apk, I am looking at the keyguard_screen_lock.xml any suggestion where I can find the binary code for the size of Time clock and date to make it bigger?

Thanks
[G1 Themes and Wallpapers] m0nst3rr:
Is there any way of getting the custom lockscreen to work on Cyanogens 3.9.7?
[G1 Themes and Wallpapers] jayb222:
Is there a way to just change the lockscreen without changing the status bar? If so then what file do I push?
[G1 Themes and Wallpapers] rbtady:
is there a lock screen for kingklick's android 2.1 rom?
[G1 Themes and Wallpapers] johnnylicious:
some reason i can't cp services back into system

says

cp: omitting direction '/sdcard/services.jar'

hmm.
[G1 Themes and Wallpapers] Stericson:
I think he means mounting it readeable/writeable
[G1 Themes and Wallpapers] johnnylicious:
yeah i can't mount readable / writeable hmmm.

wonder whats wrong.
[G1 Themes and Wallpapers] johnnylicious:
nvm something wrong with the usb port on my mac

a restarted fixed this

gonna push this into framework and post screenshot

thanks again stericson :]
[G1 Themes and Wallpapers] pagubg:
I can confirm for NO problems while mounting the sd card on my desktop.
[G1 Themes and Wallpapers] JDMr2:
FYI. . . adb commands are the same on any other computer BUT for MACs you need to use ./adb

took me awhile to figure it out also.
[G1 Themes and Wallpapers] AGunz82:
I used this command in terminal emulator, followed by a reboot and this worked like a charm.

su

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

install /sdcard/services.jar /system/framework/

Thanx Stericson.
[G1 Themes and Wallpapers] evilone1969:
thnx for this :) very nice

quick question... I know theres another thread about white notifications ect.

is there a way to make the the text white from weather bug in the status bar? tyvm and keep up the great work .. much appreciated :)
[G1 Themes and Wallpapers] tehseano:
Great work Stericson!!! You are indeed a god among men!
[G1 Themes and Wallpapers] Stericson:
Thanks everyone, glad I could be of assistance.

As for the weatherbug text, I asume you are speaking about the temps, those from what I understand are images that have to be individually edited.

Stericson
[G1 Themes and Wallpapers] daveid:
Just wanted to post to say that although the notification text is indeed white (which is the most important piece), the date when you pull down the status bar is still black. No big deal to me, but just thought I'd point it out to anyone looking to get all white text up there.
[G1 Themes and Wallpapers] Stericson:
Oh, I have that in mine...hang on guys I'm about to push an update which will give you everything....but it will erase some of your themes if you have them....

In order to keep your theme you will need to take the framework.apk open it and put the drawables, and other related files, where they go, without overwriting any of my changed files....of course. Then push it and all should be good.

Stericson
[G1 Themes and Wallpapers] daveid:
Would you mind terribly telling me which file specifically I would need to replace in my theme to get the white date? Or, should I just be dropping my entire drawable directories onto whatever you provide? ;)
[G1 Themes and Wallpapers] MOONSSPOON:
framework/layout/status_bar.xml
[G1 Themes and Wallpapers] Stericson:
It would be easier to simply drop the drawable folders into what I provide.

Honestly the easiest way to do it...
[G1 Themes and Wallpapers] daveid:
Works for me.
[G1 Themes and Wallpapers] Stericson:
First post update with files needed for constant batt monitor, white status bar text, white clock, and white date.

Enjoy...

Stericson
[G1 Themes and Wallpapers] Beast84:
What files would I pull from this to just get the constant battery monitor?
[G1 Themes and Wallpapers] Stericson:
You will need framework-res.apk and android.policy.jar (I think)

If you dont want the white text then just swap out all the status bar xmls in layout with the ones in your current framework-res.apk that you have on your phone or from a 1.5 update.

Stericson
[G1 Themes and Wallpapers] Beast84:
Awsome worked like a charm! Thanks man
[G1 Themes and Wallpapers] Stericson:
Wait, give me some feedback.....

What version are you running, JF 1.5, dudes?

Do you have apps to sd hack?

Did you flash all files or just framework-res.apk and android.policy.jar?

Thanks for the info.

Stericson
[G1 Themes and Wallpapers] Beast84:
I have JF1.5 with apps to sd

I just did what you said, I took the statusbar xml's from JF1.5, put them in your framework-res.apk & then flashed both the framework-res.apk & the android.policy.jar

It took a while for the phone to boot up afterwards but it looks sweet with the battery info all the time.
[G1 Themes and Wallpapers] Stericson:
Thanks alot!
[G1 Themes and Wallpapers] frankwhitten:
If you let your battery charge to a 100% the battery monitor will not show the charge level. This isn't a problem, just letting others know if they don't see the charge level for the battery, just let the phone run down below 100%.
[G1 Themes and Wallpapers] Stericson:
Yes, oops forgot to mention that, it wont show at 100%.

If people find it that annoying I will fix it.....

(I'll probably fix it anyways)

Thanks for pointing that out.

Stericson
[G1 Themes and Wallpapers] Beast84:
YES! Fix please lol

But on another note, could you make the T-mobile smaller & the clock bigger? I liked having a big clock when just glancing for the time
[G1 Themes and Wallpapers] jdwme:
awesome work man! I pushed the files to my phone, running prodigal son on the dudes 8 build, I know it's old but I'm just being lazy with my updates right now :)
[G1 Themes and Wallpapers] Stericson:
I'lll fix it, give me a quick second ok?

Curiously how many people would like T-mobile gone?
[G1 Themes and Wallpapers] Beast84:
If it'll make the clock bigger, I'm all for it!
[G1 Themes and Wallpapers] pagubg:
I am using Gloss Suite theme (JF 1.5 firmware), but my notification bar is gone now :) It is replaced with the original. I should figure out how to preserve the old one :) ( i like verry much the gloss style )

Is it possible to change just the screen window with the battery precentage, without the notification bar?
[G1 Themes and Wallpapers] Stericson:
Updated, batt should show 100%, the bigger clock will be up in a moment. For the update, the batt fix, just push android.policy.jar to system/framework

should remedy it

Stericson
[G1 Themes and Wallpapers] Beast84:
android.policy.jat or jar?
[G1 Themes and Wallpapers] Stericson:
Oh goodness, come one you know :P android.policy.jar, fixed my post:P confirmed batt bug is fixed.

Stericson
[G1 Themes and Wallpapers] Beast84:
Haha I know just trying to keep everything uniform here but thanks for your hard work. Will patiently wait for the bigger clock now
[G1 Themes and Wallpapers] Stericson:
Bigger clock is done, check out first post for link...

Off to bed I go

Stericson
[G1 Themes and Wallpapers] Beast84:
You sir, are a MONSTER!!! Thanks for this!
[G1 Themes and Wallpapers] Stericson:
Np, maybe you can post a pic of it for others to see?

Stericson
[G1 Themes and Wallpapers] missxoash:
You gentlemen are both beasts.

: ) thanks to you both.
[G1 Themes and Wallpapers] Beast84:
I'll try it out as soon as I get it up & running
[G1 Themes and Wallpapers] Beast84:
What gentlemen?? Trust me, I deserve no credit for this at all! Everything you are seeing is from the genious mind of Stericson! He deserves all the credit here
[G1 Themes and Wallpapers] missxoash:
He deserves the credit for making this kick ass code/hack/whatever.

You deserve the credit for helping me so much! : )
[G1 Themes and Wallpapers] Beast84:
Here is this genious mans work in action! Enjoy peeps
[G1 Themes and Wallpapers] pagubg:
Ok, successfuly ported to Gloss Suite theme on my G1 :) It looks great. Will post screenshot tonight.
[G1 Themes and Wallpapers] daveid:
Thanks for this, amazing work!

Edit - just wanted to chime in that this does indeed work on my JF1.5 w/ apps to the sd. I dropped my drawable directories onto your framework, and included your android.policy.jar (already using your services.jar). Now it is good to go. Going to edit the xml to have my custom text on it later. Once again, thank you.
[G1 Themes and Wallpapers] borodin1:
Worked great. Thanks so much!!!!!

[note to myself[

I really have to catch up on my donations

[/note to my self]
[G1 Themes and Wallpapers] Serpico1979:
Hi,

i have dude's cupcake and regular edition (noapptosd).

I have read all the thread but my english is poor.............

i have downloaded the framework.zip.

how can install it?

I have tried to read the post to understand the procedure but my english is against me ;(

Can you write all the procedure in next post?

best regards

(bye)

Serpico
[G1 Themes and Wallpapers] chrisharang:
Cool, thanks for sharing this. Stericson - would it be possible for you to just quickly summarize what changed in the two .jar files? Thanks

- Chris
[G1 Themes and Wallpapers] Stericson:
Chris,

I changed the low battery threshhold used to detect when a low battery is present for keygaurd. Since we are going to be seeing the battery nonstop there is no reason for the keyguard to alert us to a low battery, since we will be staring at it.

I then had to insert a custom piece of code to make android find the change in battery life "interesting" even when the phone wasnt plugged in so android would send the updated information to the keyguard.

That is the change in android.policy.jar

service.jar is just a color value change from #ff000000 to #ffffffff

Stericson
[G1 Themes and Wallpapers] jonnybueno:
you wouldnt be planning on porting "impossible" with these changes would you? that would be bad cause then I'd have to have a cow or something...
[G1 Themes and Wallpapers] Stericson:
Impossible is being worked on. Not by me but the same person that ported it for RC33.

Also, I have an update to this coming out in a few minutes...

Stericson
[G1 Themes and Wallpapers] jonnybueno:
Oooh exciting... can't wait
[G1 Themes and Wallpapers] daveid:
And what would this latest update bring us? You've got me on the edge of my seat.
[G1 Themes and Wallpapers] Stericson:
Updated

I've also now included the custom background for the lockscreen, This is a great feature because it is independent of the other images, I actually added my own image to the source named zlockscreen.9.png. You can edit this to make your own background.

Also, I believe that you can use this as your own background for the lockscreen, like on RC33 but without the side effects as before. Just take the image and make it 320X480, that way it fills the whole screen.

For those updating, just take the framework-res.apk that you need either the t-mobile or non t-mobile one, and drop your drawables into as before.

I also seperated the frameworks from android.policy.zip as that is a universal file.

Stericson
[G1 Themes and Wallpapers] chrisharang:
Thanks! .
[G1 Themes and Wallpapers] RainCrow:
Working on my Hv1.5r3 and it looks fantastic. Although I'm running into an issue with altering the zlockscreen.9.png. It leaves a bit of space off the edges of the lock screen (see attached) although this might be something with Haykuro's build because I do recall giving up on messing around with the popup_full_dark.9.png with this build possibly because of this. Any ideas?
[G1 Themes and Wallpapers] Stericson:
Ah, thought that may happen. I will provide a file to correct this for you tomorrow, its an xml file. You will be able to simply drop it into your framework-res.apk and it will work.

Thanks alot for trying it this way and providing feedback.

Stericson
[G1 Themes and Wallpapers] pagubg:
Don't ask me why there are two Service providers :)

Everything works perfect for me. JF1.5 + Gloss Suite theme.
[G1 Themes and Wallpapers] knight4linux:
Holy S**T Stericson! :eek: LOL I'm actually laughing right now because its it's almost unbelievable to witness the amount of creativity flow out of you.

Great job on this breakthrough. I can see all the themers now...drooling in anticipation of using this in their respective themes. :p
[G1 Themes and Wallpapers] ultra spikey:
So, I took your no-T-mobile.zip and through all my drawables in it, then loaded it up into my Aero theme. I get the white notification/date, but the clock is still black. Also, the lockscreen just shows the time and date, the tmobile is gone, but there is no battery meter either.

Then, I pulled the keygaurd_screen_lock.xml and status_bar.xml and through it in my res/layout folder. Got the same results.

What would be the easiest way for me to get the white clock/notifications and the lockscreen without the tmobile and with the battery meter, without using ADB and just updating my theme file. Any help would be appreciated. Thanks.
[G1 Themes and Wallpapers] Stericson:
You need to push both the jar files I provided to your phone. the files are android.policy.jar and services.jar

Stericson
[G1 Themes and Wallpapers] Stericson:
What version of Android are you running?

Stericson
[G1 Themes and Wallpapers] ultra spikey:
Yea...I figured it out...is the date in the status bar supposed to be black text?(notifications are white text)
[G1 Themes and Wallpapers] Stericson:
Nope, if you used my framework the date should be white.

Stericson
[G1 Themes and Wallpapers] Ooglez:
JF1.5 ADP. Sorry I forgot to mention this earlier. I am using Apps2SD but that shouldnt matter

Edit: Christ.. of course it was something this simple. I was an idiot and assumed that I was supposed to rename the zip as a jar like an apk. I never opened the zip.. that would be why it couldn't find a classes.dex in there. Sorry for being an idiot.
[G1 Themes and Wallpapers] Stericson:
I can't explain why it isn't working for you....it is looping your phone when pushing it?

I can't explain it because so many have used it without a problem....I don't know what is different with your setup.....

Stericson
[G1 Themes and Wallpapers] Ooglez:
Sorry, check my ninja edit. It was idiocy on my part.
[G1 Themes and Wallpapers] Stericson:
LOL, It happens man, I'm glad you got it though.

How do you like?

Stericson
[G1 Themes and Wallpapers] Ooglez:
It's awesome, working on moving over my custom RC33 theme to your framework-res.apk and I'll finally be able to read the darn clock with a dark status bar.. Now to get weatherbug to have white text :)
[G1 Themes and Wallpapers] beagz:
I just want the white notifications and date. What files will do only that portion. I do not want to change the lock screen or the clock.
[G1 Themes and Wallpapers] Ooglez:
Speaking from my previous unfortunate experience, I can say that if you don't push the two .jars you won't get a white clock or the battery meter, and just dling stericson's first link in the OP will not remove Tmobile from the lock screen. I would just use that framework-res.apk
[G1 Themes and Wallpapers] Stericson:
You need to take the status bar xmls in res.layout if you want the white text.

Dont use the entire framework because when your battery gets low it will say Power is at, instead of connect your charger.

:)

Stericson
[G1 Themes and Wallpapers] supersize:
how would i do this through the terminal emulator? say for the non t-mobile one.

do i need to rename the zip anything?
[G1 Themes and Wallpapers] Stericson:
You cannot do this through terminal emulator.

Your phone must be in recovery mode when these files are pushed.

Stericson
[G1 Themes and Wallpapers] supersize:
ok, thanks.
[G1 Themes and Wallpapers] beagz:
Ok got white date and notifications. Thanks stericson
[G1 Themes and Wallpapers] :
actually you dont need the ./ if you have adb in your path... im on a mac too
[G1 Themes and Wallpapers] RainCrow:
Any hope of that xml file comin soon? Or where you not referring to my issue with Haykuros build...?
[G1 Themes and Wallpapers] Stericson:
Building it right now, give me about 10-15 minutes, I'll have it up for you.

Stericson
[G1 Themes and Wallpapers] daveid:
I actually like it the way it is, it doesn't stretch my image (since I used a 320x480) I guess I could crop out the area used by the status bar and it wouldn't stretch then either. But the dimensions should not be 320x480 if it isn't covering the statusbar.
[G1 Themes and Wallpapers] Stericson:
True, but android shrinks it down for us....
[G1 Themes and Wallpapers] daveid:
Right, but does it shrink proportionally or does it just resize to fit regardless of the original dimension? I am using a photograph where it would appear skewed if not resized proportionally, so I would probably want to make mine the correct dimensions if it just did a simple size to fit (which would make it shorter and fatter).
[G1 Themes and Wallpapers] Stericson:
True you would want to size it correct if it matters, android does not size it proportionally.
[G1 Themes and Wallpapers] Stericson:
post removed because the OP lost his mind!
[G1 Themes and Wallpapers] daveid:
hehe.. just checked the file I was/am using is already sized to 320x455 (-25 for the status bar), guess I thought of this before at some point. ;)

But you know, you left the property of and your phone number on this..
[G1 Themes and Wallpapers] Stericson:
That file is to remove the side bars that the other person experienced....
[G1 Themes and Wallpapers] daveid:
I know, and mine looks the same, so I figured I'd give this a try, but my point is valid, you left the "Property of Stephen Ericson", etc. in the file, and have now posted your phone number. Just thought you might want to fix that.
[G1 Themes and Wallpapers] Stericson:
Hahaha, thats funny....oooops...
[G1 Themes and Wallpapers] daveid:
Yeah, maybe I was the only one to download it, and obviously I am kind enough to point it out and delete the file. So, your secret is safe with me. ;)
[G1 Themes and Wallpapers] Stericson:
I appreciate that, upon looking at this I have decided it would be easier for everyone to do this little hack themselves.

Heres how:

Download HXD

take keyguard_screen_lock.xml from framework-res.apk, its in res/layout.

Search for this hex string - 08 00 00 05 01 14

Replace the 14 with 00, there should be two instances of this one after the other.

Now search for this hex string - 08 00 00 05 01 0F

Replace 0F with 00, there should be three instances of this one after the other.

Now save the file.

Put it back in framework.

Push framework back to phone.

Stericson
[G1 Themes and Wallpapers] daveid:
Excellent instructions, applying update now, only thing is the file is named keyguard_screen_lock.xml not keyguard_lock_screen.xml. I'm really not trying to be a smart-ass or a pain-in-the-ass (or any type of ass) just don't want people posting saying "I can't find that file!"...

It worked as expected. Looks great!
[G1 Themes and Wallpapers] Stericson:
LOL, keeping me on my toes. I corrected it.

Can you post a screenshot of your new background?
[G1 Themes and Wallpapers] RainCrow:
Didnt work for me : \. I went ahead and attached my editted keyguard_screen_lock file along with the original in case that helps.

As an aside I am also updating this on my phone by putting it into the zip that I use for my theme and then installing it via home+power menu. Not sure if that makes a difference but usually there are a few changes I make to the theme simultaneously.

Thanks for all your help man! : )
[G1 Themes and Wallpapers] Stericson:
It has to work if you make those changes and put the file into the correct place. It can't not work, if done correctly.....

Make sure you make those edits to the xml.

Make sure you put the xml back into framework-res.apk, specifically it should go into res/layout

Doesnt matter how you put the file, framework-res.apk back onto your phone as long as it gets on there.

Also make sure your image is at least 320 in width, or larger.

Stericson
[G1 Themes and Wallpapers] m0nst3rr:
Yo, thanks for this, its awesome!

Its working great, but for some reason the status bar clock is still white even though i put the status bar xmls from my own framework-res.apk, is there anything else i was supposed to change to keep the clock black?

I've attached the statusbar xmls and the framework-res.apk im using.

Thanks!