Updated 5/26/10 with new version supporting Fresh 2.1.2. See Here for download.
EDIT 4/12/10: See last link at the bottom of this thread regarding the shaded notification area apk/option
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, as well as some modifications to your taskbar, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default, as well as some stock taskbar icons.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
cd /system/customize/resource
rm htc_wallpaper*
exit
Note: You may or may not have anything to delete in /system/customize/resource, so if you get an error message, don't worry.
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip <--- Also clears the lockbar (w/side affect of having to flash stock espresso launcher found in Fresh 2.0d)
Download Signed Zip <--- Also clears the lockbar (w/side affect of having to flash stock HTC Rosie launcher found in DC v2.05)
EDIT: Attached is another zip that will ONLY change the HtcLockScreen.apk. ONLY flash this if you ALREADY have the clear lockbar flashed from a previous mod. Using this will prevent changing of your launcher and/or taskbar elements, but also will NOT clear out the lockbar icons (gray/black arches on stock HTC lockscreen). So again, ONLY flash if you already have a clear lockbar. Otherwise, you will have to manually edit your com.htc.resources.apk file to insert the clear lockbar images (see post later in this thread)
Download Signed Zip <--- If you already have a clear lockbar.
Reference (note: this shows my own custom launcher, however, as mentioned above, the attached zips includes the stock ROM launcher):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EDIT 2: By popular demand, I have also created a completely "clockless / date-less" clear lockscreen (see below), which can be found Here. As mentioned in that post, since it is completely clear, I had to drop-in / default something, so you know the lockscreen is active, so I made it the android logo you see below. Change as desired.
Reference (w/o clock & date):
---- Menu key disabled apk below ----
EDIT 3: I have also modified the HtcLockScreen apk to disable the 'Menu' key for unlocking the screen. If you prefer this functionality, see here.
EDIT 4: Inverted version, with black text on white background, including menu key unlock disabled can be found here.
EDIT 5: To add a shaded notification at the bottom of your lockscreen, ONLY when a notification is present, see here.
JsChiSurf said:
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
exit
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip
Referance:
Click to expand...
Click to collapse
Can not wait to try this out. Huge fan of creating custom lockscreens
Care to share how you accomplished this being as the original file was a jpg?
ccapasso said:
Can not wait to try this out. Huge fan of creating custom lockscreens
Care to share how you accomplished this being as the original file was a jpg?
Click to expand...
Click to collapse
I decompiled the apk and nulled out the call to the jpg all together. This ends up with a default black background, that I then hex edited in the XML to change to transparent instead. That's the short version.
JsChiSurf said:
I decompiled the apk and nulled out the call to the jpg all together. This ends up with a default black background, that I then hex edited in the XML to change to transparent instead. That's the short version.
Click to expand...
Click to collapse
You mind sharing the xml name that you edited? I've been working on this for a while LOL
You beat me hahah
I nulled the call, but I don't know a lot about hex editing, I had the black screen. Didn't know what to do
regaw_leinad said:
You mind sharing the xml name that you edited? I've been working on this for a while LOL
You beat me hahah
Click to expand...
Click to collapse
You can see it based on last modifed dates right in the apk, that the 2 files changed were:
htc_keyguard_screen_lock.xml
lock_screen_bar.xml
But this was not it. I also modified the classes.dex file to alter some calls as well.
JsChiSurf said:
You can see it based on last modifed dates right in the apk, that the 2 files changed were:
htc_keyguard_screen_lock.xml
lock_screen_bar.xml
But this was not it. I also modified the classes.dex file to alter some calls as well.
Click to expand...
Click to collapse
i updated my post after you quoted apparently lol
and where do you do your hex editing?
So I am assuming that we can edit the lockscreen_topedge.png file same as before to get the results that we want with custom images correct?
ccapasso said:
So I am assuming that we can edit the lockscreen_topedge.png file same as before to get the results that we want with custom images correct?
Click to expand...
Click to collapse
Correct, as referenced in my first post.
nice flashing now
702DROID said:
nice flashing now
Click to expand...
Click to collapse
I have the clear rosie theme and I am trying get rid of the nasty lockscreen that came with it. I used the zip one you put in here but the rosie comeback. Man this sux.
JsChiSurf said:
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
exit
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip
Referance:
Click to expand...
Click to collapse
OK, must admit to being slightly confused
I have Regawmod with black launcher.
If I flash this (which I Just did) it defaults to espresson launcher.
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
marcusva79 said:
I have the clear rosie theme and I am trying get rid of the nasty lockscreen that came with it. I used the zip one you put in here but the rosie comeback. Man this sux.
Click to expand...
Click to collapse
Not sure what you are talking about here.
i get remount failed any tips?
grifforama said:
OK, must admit to being slightly confused
I have Regawmod with black launcher.
If I flash this (which I Just did) it defaults to espresson launcher.
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
Click to expand...
Click to collapse
Did you read the first post?
I have the white launcher because I customized 'com.htc.resources.apk' to be that way. Since 'com.htc.resources.apk' also includes the launcher, as well as the graphics that you need to make transparent for the clear lockbar, I have no choice but to inlcude the stock espresso as the launcher in the attached zip.
sdotcarlisle said:
i get remount failed any tips?
Click to expand...
Click to collapse
Is your phone connected to USB? If you are not comfortable with adb you can use Fresh's kitchen as mentioned.
JsChiSurf said:
Did you read the first post?
I have the white launcher because I customized 'com.htc.resources.apk' to be that way. Since 'com.htc.resources.apk' also includes the launcher, as well as the graphics that you need to make transparent for the clear lockbar, I have no choice but to inlcude the stock espresso as the launcher in the attached zip.
Click to expand...
Click to collapse
So.
how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
grifforama said:
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
Click to expand...
Click to collapse
You have to merge / modify your original 'com.htc.resources.apk' file to keep (not change), your original black launcher, but include the clear lockbar graphics. Unfortunately, they are BOTH in the same file.
Go to the com.htc.resources.apk file in the attached zip, and in the:
com.htc.resources.apk\res\drawable-mdpi
folder, grab the images:
lockscreen_arc.png
lockscreen_arcglass_bottom.png
lockscreen_arcglass_top.9.png
And drop them in the same folder in your original com.htc.resources.apk file, and push it back to your phone, and you will retain your original launcher but have the clear lock bar to go along with the clear lockscreen.
what hex editing software do you use?
regaw_leinad said:
what hex editing software do you use?
Click to expand...
Click to collapse
Everybody has a preference, I LOVE Hex WorkShop.
Everything seems to work fine so far, but I've hit a snag.
Here's what happens. I've made some changes to my rom. I'm on modaco's latest, I have theme with the battery percentage mod installed (can't remember which), but everything runs perfectly with no hiccups or hangups.
The problem I'm running into is with the battery icons.
Here's what I do.
1) Pull framework-res.apk from device(to keep my changes)
2) Pull battery icons from framework-res
3) Modify icons
4) Put icons back into framework-res
5) Push framework-res back to device
As soon as I push this back to the device, everything starts force-closing. Phone, gmail, launcher, contacts...everything.
I've made changes like this before and this has never happened. Am I doing something wrong here? Any help would be appreciated. I would like to eventually release this as a theme that people can flash.
try pushing the modded files while in recovery...
..never pushed framework-res.apk.
In recovery sounds good..
But why not makin a morph?..or you could do an update.zip.
i am assuming you rebooted after pushing the new framework-res.apk across?
Did you zipalign before pushing? I know CM zipaligns on boot after changes in recovery but can't remember for stuffed pushed across- i either just zipalign it myself or the easiest and best thing to do is what rori~ said- just make a metamorph- that way when the rom gets updated you dont have to change anything at all (assuming there are no xml changes)..
eg. i have been using the same CM metamorph theme i made since about 5.0.X and it still works on every nightly- i have had tyo remove xml edits etc as CM now does that itself but it makes it all so easy.
instead of using adb, try doing it the easy way with Metamorph. Basically you'll need to create custom pngs with the same name as the ones you want to replace in the framework-res.apk.
So get a copy of your framework-res.apk and rename it to .zip and unzip it. Erase all the folders where you have no custom images to push. You'll prob just end up with some nested folders like "framework-res-->res-->drawable-hdpi" or a similar last folder. Place the custom images in there, then just reuse this attached xml file, making sure to change the pertinent information such as the file structure to be the correct path so the images push to the correct folder when you apply it with Metamorph. Be sure to save the xml file with a reasonable name, then zip the xml and framework-res folder containing your custom images together. Make sure the zip has the same name as the xml file only with .zip extension or you may get an error.
From there install Metamorph. Load the zip you created onto your sd card inside the "android themes" folder. Launch Metamorph, grant su, then "unzip new theme", and "apply all".
Hope this is helpful. A bit longer than I pictured it, but easy to do. If you run into trouble just DL a couple ones other people did and it should become easier to figure out.
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
icegad said:
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
Click to expand...
Click to collapse
Awesome! Thanks a ton! I'll report back my findings...
Sorry, no such luck. Endless force closes and reboots. Bummer. I'll have to sleep on it for a day or two and come back to it.
If anyone has any ideas, please let me know.
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
icegad said:
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
Click to expand...
Click to collapse
That would be great, thanks!
morphed the icons onto my phoneno fc or bootloops here
see screenshot....(i have a black status so it maybe hard to see your icons )
only thing i can think of is.... dont know if you were putting your folder within the drawable-hdpi folder that can cause errors..put the standalone images only
and i went ahead and put the icons in the morph you so you can jus morph this zip >>>
http://www.mediafire.com/file/9ldnfsf4t894kz6/Framework_res_obama.zip
Hello, So I flashed Calkulin's Disable USB Debugging Notification and it worked perfectly but then I flashed Smooth-Sense with White Sync Icon 1.0.2 which changes some of the taskbar icons and the USB Debugging Notification now comes on again, is there any way I could modify the framework-res.apk in Smooth-Sense with White Sync Icon 1.0.2 to get Calkulin's Disable USB Debugging Notification to still work? Calkulins mod has a services.jar instead of a framework-res.apk so I'm not sure what that means. If anyone could tell me where I could get help for this I would appreciate it...
Yes. Change the "apk" extension of both framework-res files to "zip" and open them up as you would any other zip file. Look in /res/drawable hdpi/ for the relevant images and replace the ones you don't want with the images you do want from the other theme.
Once finished, go back rezip the files, change the extension back to apk, and replace on phone. This can be done through a variety of methods depending on your knowledge level. adb push is one way or you could simply put them back in the update.zip and reflash
Ok I got it all figured out, Thank You!
This theme is based on the iNexus theme and several other themes and theme elements. All credit goes to the individuals that have created them, I simply took what I liked and merge them all in one.
NOTE: I have attached the apks that have been modified. If an experienced dev can turn this into a flashable zip that would be great.
Features:
- themed pop-up menu icons
- fully themed notification bar icons
- themed power notification widget icons
- skinned pop-up windows
- skinned dialer
- some other visual enhancements
Installation:
Nandroid before flashing or installing anything.
Use adb to push the files to your favorite CM6.1 Nightly
adb remount
adb push contacts.apk system/app
adb push vending.apk system/app
adb push accountandsyncsettings.apk system/app
adb push framework-res.apk system/framework
reboot immediately
Unzip the iNexusColorBar to sdcard/cmtheme
then go Settings>CyanogenMod Settings>User Interface>Tweaks and extras>Select a theme>and choose the iNexusColorBar
reboot again to see all changes
I hope this works.
Can you use root explorer
Sent from my PC36100 using XDA App
Crossrocker said:
Can you use root explorer
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Though unfortunate, system apps usually have to be pushed to the phone through adb for them to function correctly.
Attached is a flashable version of the framework-res.apk. I would exercise caution when flashing this though. The framework has changed several times in the last few nightlies. That being said, if this theme was created on a recent build, then it will probably only work with that specific build because of the changes to the framework. Just a thought. Make a backup and you will be fine.
I really like the txt msg and gmail notification bar icons that chingy uses in gingeritis....anyway to get those for other roms?
Download the Rom you want icons from and the Rom you plan to use on a pc. Use winrar or 7zip to open un the zip files. Navigate to system, then framework, then it'll either be in framework res.apk, or com.htc.resources.apk. if the icons aren't in either of those it may be in systemui.apk (because its gingerbread which I haven't used) this is located in system, then app. It may be easier to find the icons by unzipping the Rom you want the icons from (in order to unzip an apk you need to first zip it and rename it .zip instead of .apk then unzip)
Check out UOT Kitchen
UOT Kitchen gives you some customization options for Battery, Icons, ect... May not be exactly what you are looking for but its fun to customize things and it's pretty idiot proof. You upload your files, make the changes, it spits out a ZIP, you flash it in recovery.
I use BAMF but I hate the battery icon it defaults with so I just change it after every update to the Rom they push out.
Bignev said:
I really like the txt msg and gmail notification bar icons that chingy uses in gingeritis....anyway to get those for other roms?
Click to expand...
Click to collapse
Normally the text and gmail (and email) icons are stashed in their own .apk file. I just changed mine over the weekend to match my other colorful icons. I had to edit the Mail.apk, Gmail.apk and Mms.apk to get those icons to show up. The framework-res.apk and the SystemUI.apk (GB ROM) is where you will find the other icons for signal, battery etc..
I use ADB to copy those files out, make the changes put them back and then reboot the phone. You could also make the changes and then put them in a flash-able zip to be flashed via recovery