Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ClassicalGas
Old
(Last edited by ClassicalGas; 21st October 2010 at 04:59 AM.)
#1  
ClassicalGas's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 703
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Talking Custom Lockscreen Background (OpenDesire and DeFrost)

...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, 753 views)
File Type: psd Lockscreen_background_white.psd - [Click for QR Code] (119.7 KB, 504 views)
Attached Files
File Type: zip Black_xml.zip - [Click for QR Code] (968 Bytes, 153 views)
File Type: zip Lockscreens.zip - [Click for QR Code] (896.2 KB, 479 views)
File Type: zip custom_lockscreen.zip - [Click for QR Code] (1.08 MB, 454 views)
File Type: zip FLATBLACK_NEWLOCKMOD.zip - [Click for QR Code] (1.90 MB, 361 views)
File Type: zip FLATWHITE_NEWLOCKMOD.zip - [Click for QR Code] (1.96 MB, 281 views)
My Previous Phones:
Nokia 3315, Nokia 3315, Samsung i450, HTC Touch Dual, HTC Desire

Current Phone:
HTC One XL (Grey)
The Following 2 Users Say Thank You to ClassicalGas For This Useful Post: [ Click to Expand ]
 
ClassicalGas
Old
#2  
ClassicalGas's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 703
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Reserved, just in case
My Previous Phones:
Nokia 3315, Nokia 3315, Samsung i450, HTC Touch Dual, HTC Desire

Current Phone:
HTC One XL (Grey)
The Following User Says Thank You to ClassicalGas For This Useful Post: [ Click to Expand ]
 
zHk3R
Old
(Last edited by zHk3R; 19th October 2010 at 09:49 AM.)
#3  
zHk3R's Avatar
Senior Member
Thanks Meter 1263
Posts: 1,299
Join Date: Aug 2009
Location: Hoth

 
DONATE TO ME
****in' A...

This is AWESOME!

Nice work, dude!

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

 
Chaqmol
Old
#4  
Chaqmol's Avatar
Senior Member
Thanks Meter 264
Posts: 121
Join Date: Aug 2010
Isn't there any way to use it in other ROMs?
 
ClassicalGas
Old
#5  
ClassicalGas's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 703
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by unknowndesire View Post
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
My Previous Phones:
Nokia 3315, Nokia 3315, Samsung i450, HTC Touch Dual, HTC Desire

Current Phone:
HTC One XL (Grey)
 
mr.r9
Old
#6  
mr.r9's Avatar
Senior Member
Thanks Meter 27
Posts: 471
Join Date: Oct 2006
Quote:
Originally Posted by ClassicalGas View Post
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.
Galaxy S4 (i9500) - Wanam 1.2 (ME1) Rom
 
pa.pn2
Old
(Last edited by pa.pn2; 18th October 2010 at 08:20 PM.)
#7  
pa.pn2's Avatar
Senior Member
Thanks Meter 378
Posts: 2,386
Join Date: Jul 2010
Location: Düsseldorf
does this work also with your white theme classglass?
can i use aswell the white.xml file for that lockbar?
Samsung Galaxy Nexus 16gb
Rom-Carbon nightlies
Kernel-Morfics Trinity
Radio-XXLJ1

LG Nexus 4 16gb
Rom-Carbon nightlies
Kernel-latest franco
Radio-.33


My Dropbox for Wallpaper,Docks, Icons and more:
http://db.tt/RTuSn4E
http://papn2.deviantart.com/gallery/
My actual ProgressiveSet
https://soundcloud.com/pa-pn2/progressionsession


Click Thanks if I helped you!!
 
sudeki300
Old
#8  
sudeki300's Avatar
Senior Member
Thanks Meter 37
Posts: 463
Join Date: Jul 2010
Location: london
@classicalgas what theme is that you are using in the pic. i love the look of it, do you care to share.thanks.....................sudeki300
 
ClassicalGas
Old
#9  
ClassicalGas's Avatar
Senior Member - OP
Thanks Meter 210
Posts: 703
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by mr.r9 View Post
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 View Post
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 View Post
@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.
My Previous Phones:
Nokia 3315, Nokia 3315, Samsung i450, HTC Touch Dual, HTC Desire

Current Phone:
HTC One XL (Grey)
 
Raadius
Old
#10  
Raadius's Avatar
Senior Member
Thanks Meter 1147
Posts: 2,370
Join Date: Mar 2010
Location: Los Angeles

 
DONATE TO ME
Anyway to get this to work on the Evo?
Sprint HTC Evo 4G  AT&T HTC One X

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more