[MOD] avlock[11], a real, system-level lock screen replacement (fixed 04/22/2010)

Status
Not open for further replies.
Search This thread

bobtentpeg

Senior Member
Jan 18, 2010
502
16
OK, I understand the reason behind making it a "long" pause, but atleast for me, I enter my 'digits" in much faster succession. If I knoew which framework that needed the editing for that, I might just go in and do it myself :)
 

_avatar

Member
Aug 19, 2009
36
7
I've spent the past couple days cleaning up the sources and getting this better integrated into the Android system as a whole. I added the PIN lock as an option in the system's Settings, and also added back the original "drag" lock for users who prefer it:

http://files.clangen.org/avlock/avlock_settings.png

Also, disabling the "Use visible pattern" option works now.

In other words, the source should be ready for integration into other projects/ROMs, even though it still uses CM as a base.

Code is available here (I'll also update the first post):

http://github.com/avatar5d
 

Wysie

Senior Member
Jul 4, 2009
1,122
6
Nice work! Will you be releasing an update.zip with the settings integrated? :) Can't wait to see this included in future ROM releases.

Just a suggestion, make the "lag" time configurable, say, 250ms, 500ms, 750ms, 1000ms, 1500ms, 2000ms? :)
 

pershoot

Inactive Recognized Developer
Dec 1, 2008
7,996
4,364
I've spent the past couple days cleaning up the sources and getting this better integrated into the Android system as a whole. I added the PIN lock as an option in the system's Settings, and also added back the original "drag" lock for users who prefer it:

http://files.clangen.org/avlock/avlock_settings.png

Also, disabling the "Use visible pattern" option works now.

In other words, the source should be ready for integration into other projects/ROMs, even though it still uses CM as a base.

Code is available here (I'll also update the first post):

http://github.com/avatar5d

thx for this. building from source now, and will check it out.
 

_avatar

Member
Aug 19, 2009
36
7
Wysie said:
Nice work! Will you be releasing an update.zip with the settings integrated? Can't wait to see this included in future ROM releases.

Just a suggestion, make the "lag" time configurable, say, 250ms, 500ms, 750ms, 1000ms, 1500ms, 2000ms?

I'm currently a bit reluctant to release a new update.zip with the most recent changes because I had to modify a couple resources in framework-res.apk. The concern is that someone will flash a theme (or something) on top of my mod, then will be unable to unlock the screen or spin into a boot loop. Even though it is totally fixable by the user, I'd rather not cause problems for anyone. However, I may reconsider and push a new update.zip later today or tomorrow, after a bit of testing.

And yeah, I agree the delay should be configurable. I'll look into adding that soon.

pershoot said:
thx for this. building from source now, and will check it out.

Cool -- please let me know if you have any problems. I just started toying with git yesterday... I'm pretty certain I pushed everything to github correctly, but I'm not 100% sure. A confirmation would be great. :)
 

PacoBell

Senior Member
Sep 12, 2006
93
6
Seriously, someone needs to make an unlock screen that looks like bubble wrap. Just sayin'...
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    avlock[10] is a (the first?) real, *system-level* lock screen replacement for Android (CM 5.0.6).

    it replaces the standard "connect the dots" behavior with pin-like mechanism. patterns can be arbitrarily large, and nodes can be repeated. also, there are no numbers -- just circles. definitely not for everyone, but i think some people may like it.

    here's how it works:

    http://files.clangen.org/avlock/avlock.m4v

    if you want to try it you must have CM 5.0.6 installed, then:

    1. reboot to bootloader
    2. nandroid backup <-- do it. seriously. just in case.
    3. flash avlock[x].zip
    4. reboot
    5. if you don't have a lock pattern already, set one: Home > Menu > Settings > Location and Security > Set Unlock Pattern

    faq:

    q: what happens if something goes really wrong and i can't log in?
    a: i've been tweaking this mod for a long time and you shouldn't have any problems. BUT IF YOU DO:

    * restore from nandroid backup made in step 2 above

    OR

    * if you know how to use adb, just delete the file pattern file and reboot:

    adb remount
    adb shell rm /data/system/gesture.key
    adb shell reboot

    q: what files are replaced by the patch?
    a: framework.jar, framework-res.apk, android.policy.jar, Settings.apk

    q: why not just distribute this as a simple .apk file?
    a: this is a system-level mod because it replaces system-level components. it cannot be distributed as an .apk.

    changelog:

    avlock[8]:
    * initial release

    avlock[9]:
    * added tactile feedback
    * reduced login delay

    avlock[10]:
    * disabling "Use visible pattern" works now
    * better integration with system and Settings.
    * re-added drag lock option.

    avlock[11]:
    * added the ability to specify a pattern timeout

    use at your own risk. i am not responsible for any damages caused by this software. MAKE A NANDROID BACKUP FIRST!

    caution: if you update your rom, install a theme, or flash another mod that replaces framework.jar, framework-res.apk, or android.framework.jar, you may not be able to log in upon reboot (or even spin into a boot loop). either (1) make sure you disable your lock screen before flashing or (2) rm gesture.key as described in the faq!

    download:

    avlock[11]: http://droidbasement.com/db-blog/?p=202 (thanks, pershoot)

    sources:

    http://github.com/avatar5d