FORUMS
Remove All Ads from XDA

Custom Lockscreen Background (OpenDesire and DeFrost)

746 posts
Thanks Meter: 228
 
By ClassicalGas, Senior Member on 18th October 2010, 12:29 PM
Post Reply Email Thread
...presenting
Lockscreen mod with Customizable Background
for OpenDesire and DeFrost

I've modded the framework and enabled custom lock-screen backgrounds. I've currently got it working on my custom mods for OpenDesire and DeFrost.

This is not lockbot or widgetlocker, this is a modified vanilla lock-screen.

Please don't attempt this if you don't understand all of this. I am not responsible for any damage this may cause. I recommend doing a nandroid before playing around with this.

This will make your screen look silly when answering a call from a locked screen. There is nothing I can do about this.

I've included 2 lockscreen images for the black mod and templates for both black and white. If you are using the stock sliders, you don't need to use a template, just make sure the image is the correct size.

Here is proof:

...now in white

----------------------------------------------------------------------------
What you need to have
---------------------------------------------------------------------------

HTC Desire, S-Off'ed and running OpenDesire 4.0.34-37 or DeFrost 5.6

Ninjamorph and dependencies

My Custom framework

Photoshop/GIMP.

----------------------------------------------------------------------------
What you need to do
---------------------------------------------------------------------------
Flash one of my themes through recovery, ensuring signature verification is off.

Let phone restart

Bask in glory of new lockscreen for a second, then realise you can't read the status bar.

Extract the .xml files to \SDcard\CMTheme\ and apply either through the settings menu (Settings > CyanogenMod Settings > User interface > Tweaks extras > ) then restart for configuration to load.

Enjoy new theme

Make a lockscreen that is 480*800, If you want it to look best, place it under either of the layers photoshop. If using the white lock widget use the white psd file.

Place lockscreen on SDcard.

Open Ninjamorph

>New Project
Navigate to system>framework>framework-res.apk>res>drawable-hdpi>lockscreen_bg.png

Select the file you would like to have as your background

Select "finish project" select framework-res.apk, then "yes", "yes" or "no", "yes", "yes". Let phone restart to new lockscreen background.

----------------------------------------------------------------------------
If you don't have an S-OFF'd Desire
---------------------------------------------------------------------------
Download one of my themes.

Open the file in an archive program (I use 7zip) and navigate to framework\framework-res.apk\res\drawable-hdpi\. Locate "lockscreen_bg.png" and extract this file.

Edit the file, put it back in the archive, flash theme.

----------------------------------------------------------------------------
Alternatively you want other framework
---------------------------------------------------------------------------
Ok, here it is guys. My first attempt at a Metamorph and only for OpenDesire.

You can only use this on stock, or simple themes. My definition of "simple theme" is one which is only changed icons, this means no battery mods which use more than the 6 steps that is the default, ie. no *.xmls are edited. or...

you will get stuck in a boot-loop

Instructions.

Download "custom_lockscreen.zip"

Open Metamorph and point it to this file.

Select apply all - it should reboot into your new background.

Then use ninjamorph to change background as outlined above.

As this is my first attempt at a metamorph, please be sure you backup before testing it. I am not responsible for anything going pear-shaped.
Attached Images
File Type: psd Lockscreen_background.psd - [Click for QR Code] (119.3 KB, 758 views)
File Type: psd Lockscreen_background_white.psd - [Click for QR Code] (119.7 KB, 508 views)
Attached Files
File Type: zip Black_xml.zip - [Click for QR Code] (968 Bytes, 155 views)
File Type: zip Lockscreens.zip - [Click for QR Code] (896.2 KB, 485 views)
File Type: zip custom_lockscreen.zip - [Click for QR Code] (1.08 MB, 460 views)
File Type: zip FLATBLACK_NEWLOCKMOD.zip - [Click for QR Code] (1.90 MB, 367 views)
File Type: zip FLATWHITE_NEWLOCKMOD.zip - [Click for QR Code] (1.96 MB, 287 views)
The Following 2 Users Say Thank You to ClassicalGas For This Useful Post: [ View ] Gift ClassicalGas Ad-Free
 
 
18th October 2010, 12:30 PM |#2  
ClassicalGas's Avatar
OP Senior Member
Melbourne
Thanks Meter: 228
 
Donate to Me
More
Reserved, just in case
The Following User Says Thank You to ClassicalGas For This Useful Post: [ View ] Gift ClassicalGas Ad-Free
18th October 2010, 01:10 PM |#3  
zHk3R's Avatar
Senior Member
Flag Hoth
Thanks Meter: 1,466
 
Donate to Me
More
****in' A...

This is AWESOME!

Nice work, dude!

EDIT: Here's a screenshot of the lockscreen in action. Looks GREAT!

18th October 2010, 01:51 PM |#4  
Chaqmol's Avatar
Senior Member
Thanks Meter: 277
 
More
Isn't there any way to use it in other ROMs?
18th October 2010, 02:21 PM |#5  
ClassicalGas's Avatar
OP Senior Member
Melbourne
Thanks Meter: 228
 
Donate to Me
More
Quote:
Originally Posted by unknowndesire

Isn't there any way to use it in other ROMs?

Not currently. It requires modding the xmls in the framework of the rom. As far as I know, this will require each rom to be decompiled then edited then recompiled which I don't have time to do and/or maintain.

Sent from my HTC Desire using XDA App
18th October 2010, 04:40 PM |#6  
mr.r9's Avatar
Senior Member
Thanks Meter: 50
 
More
Quote:
Originally Posted by ClassicalGas

Not currently. It requires modding the xmls in the framework of the rom. As far as I know, this will require each rom to be decompiled then edited then recompiled which I don't have time to do and/or maintain.

Sent from my HTC Desire using XDA App

Can't you add your code to Cyanogen or Open Desire or anything like that & maybe they can create a new option? I know nothing about developing but I know that they can merge your code within android.
18th October 2010, 04:58 PM |#7  
pa.pn2's Avatar
Senior Member
Düsseldorf
Thanks Meter: 1,018
 
More
does this work also with your white theme classglass?
can i use aswell the white.xml file for that lockbar?
18th October 2010, 07:59 PM |#8  
sudeki300's Avatar
Senior Member
Flag london
Thanks Meter: 47
 
More
@classicalgas what theme is that you are using in the pic. i love the look of it, do you care to share.thanks.....................sudeki300
18th October 2010, 11:14 PM |#9  
ClassicalGas's Avatar
OP Senior Member
Melbourne
Thanks Meter: 228
 
Donate to Me
More
Quote:
Originally Posted by mr.r9

Can't you add your code to Cyanogen or Open Desire or anything like that & maybe they can create a new option? I know nothing about developing but I know that they can merge your code within android.

Yeah I too know nothing about developing. I have no idea how to go about this. I tend to leave this to more capable people as it takes me too long to code anything. I only really post what I come up with and use, its become a bit of a hobby. I don't have time to port/merge code, as I don't require it and it's not worth my time.

Quote:
Originally Posted by pa.pn2

does this work also with your white theme classglass?
can i use aswell the white.xml file for that lockbar?

Not as yet. If you use the "flat_white.xml" file you should get a white statusbar, but the icons will look inverted.

I probably won't have the white version up until late this week.

Quote:
Originally Posted by sudeki300

@classicalgas what theme is that you are using in the pic. i love the look of it, do you care to share.thanks.....................sudeki300

My own theme, see sig. You can find the wallpaper here. The clock is a mod of the in-built analogue clock.
19th October 2010, 04:35 AM |#10  
Raadius's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 1,205
 
Donate to Me
More
Anyway to get this to work on the Evo?
19th October 2010, 10:51 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Defrost?
Is there an easy way to get this working on DeFrost?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes