[Galaxy S I9000 Android Development] Project1.exe:
Credits to Ateisti for this http://xdaforums.com/showthread.php?t=779803

Notes:

I'm posting this for those who are in JM8 and want a vanilla lockscreen but are stuck

UPDATE: and JPH (froyo)

UPDATE: then JPK (froyo)

UPDATE: then JM9 (eclair)

UPDATE: then JPM (froyo)

Current setup when I made this

when JM8:

JM8 of Richthofen http://xdaforums.com/showthread.php?t=780867

Voodoo3 of supercurio http://project-voodoo.org (tho i don't think it's a requirement for this to work, perhaps i could promote it ;) )

when JPH: of Richthofen and Aery http://xdaforums.com/showthread.php?t=783596

when JPK: of Aery http://xdaforums.com/showthread.php?t=790686

when JM9: of Richthofen http://xdaforums.com/showthread.php?t=802909

when JPM: www.samfirmware.com

Always good idea to backup the file first before doing this

Highly recommend enable USB Debugging just so when something goes wrong you can restore from backup using ddms

Disclaimer: DO IT AT YOUR OWN RISK :) (haven't tried it on other 2.1 roms that's why I specified JM8 on the title. You might want to test it on other 2.1 rom tho if you know what you're doing, just DIAYR)

To install:

Need Root

Need Root Explorer (or similar caliber)

Navigate to /system/framework

Backup existing android.policy.odex (.jar for those using deodexed mods) to PC (either bluetooth, or SD then PC)

Before proceeding...

If you're using a deodexed firmware (applied DocRambone's or Tayutama's or other deodex mod), or you can't find the android.policy.odex file in your framework folder, use the .jar rar

If you're using an untouched firmware (you can see the android.policy.odex file) in the framework folder, use the .odex rar

Extract the rar, put to sd, copy or overwrite inside /system/framework

Reboot :)

Update 2: Added for JPH

Update 3: Added for De-odexed jar versions

Update 4: Added "menu button" fix for all attachments except android.policy.odex.jm8.rar (sorry guys, you understand how tedious it is to flash back to jm8 just to do this don't you?). You could perhaps do this step yourself to re-odex them yourself and patch the signature. dexopt-wrapper and busybox (from market, or built-in from latest BackfireNL root) needed.

rename your original odex file you backed up to "android.policyo.odex" and copy that to /system/framework

rename your original .jar file you backed up to "android.policyo.jar" and copy to /system/framework

extract android.policy.jar from deodexed-jm8.android.policy.jar.rar and copy to /system/framework

extract and copy dexopt-wrapper to /system/framework

delete patched.odex and existing android.policy.odex if it exists in /system/framework

do this in ADB or terminal app

$ su

# cd /system/framework

# ./dexopt-wrapper android.policy.jar patched.odex /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policyo.jar:/system/framework/services.jar

# bb dd if=android.policyo.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc

rename patched.odex to "android.policy.odex"

delete existing android.policy.jar (this is deodexed, greather than 100k size)

rename android.policyo.jar to android.policy.jar

reboot

if it's working (it should), send it to this thread as attachment so i can add it to the first post with your name :P

Update 5: JPK .odex for "untouched" versions, and .jar for deodexed rom mods

Update 5.1: with the trouble of new JPK kernel "feature" that render current SGS rooting methods (as of this update, Sept. 24) to have read-only access to /system, please see these posts

http://xdaforums.com/showpost.php?p=8305284&postcount=92

http://xdaforums.com/showpost.php?p=8307050&postcount=101 <-- thanks jodue

Update 5.2: Stock Lockscreen for untouched JPK with Recovery 2e as update.zip with Autobackup

http://xdaforums.com/showpost.php?p=8308233&postcount=160 <-- thanks Aery

Update 5.3: Aery--"And now? What will come next? Maybe: How can i go back to Samsung Lockscreen?"

Stock Lockscreen Remover for untouched JPK

Download: http://www.multiupload.com/0KP69HOTIK ;-)

Update 6: JM9 versions added

Update 7: JPM versions added

Update 8: JPA versions added, JP6 odex only

Update 9: added emphasis on JPA being not the official version.

*shot from AdamDowning http://xdaforums.com/showpost.php?p=8204826&postcount=24*

JPM Update

android.policy.odex.jpm.rar

deodexed-jpm-android.policy.jar.rar

JPA Update by Mike.sw (warning: this is for the first leaked JPA version[the one that came around the same time with JP6], not the officially released November JPA version[the one that came around JPO] that everyone has gotten confused with, and please take time to read the whole post if you haven't read them yet [specially the very small disclaimer], thanks for understanding guys)

http://xdaforums.com/showpost.php?p=8615457&postcount=179 <-- odex and deodexed

JP6 Update

http://xdaforums.com/showpost.php?p=8619042&postcount=183 <-- odex by Dirhael

http://xdaforums.com/showpost.php?p=8624410&postcount=194 <-- deodexed by DocRambone