PDA

View Full Version : New Script [Keylock_slideshow.nrx ]



danwood76
17-11-2004, 04:22 PM
I made this script a few days ago and thought that maybee some of you might like it
It basically loops the slideshow whilst the keypad is locked


Keylock_slideshow.nrx By Danwood76 ;)
(C) 2004

This is a small patch that runs the slideshow
whenever keypad is locked

Any comments/bugs/suggestions please visit
nokiafree.org in nokix section

I made this script as a demo patch to test
the keylock_status byte
There are issues with animations when you
lock keypad and unlock but as it was only
a test file I was not bothered

If you really want me to make it so that
the screen doesnt flicker between animations
please say and I might make it

But please test first

regards,
Danny

danwood76
17-11-2004, 04:26 PM
Forgot to say make sure this patch is below slideshow in the patch list when you process otherwise it wont find the slideshow funcions ;)

regards,
Danny

ShadoW2004
17-11-2004, 05:15 PM
COOL !!!!!!!!!!!!!!!!!

If it work ... ;)

danwood76
17-11-2004, 05:26 PM
It works

The only problems that happen is it changing between slideshow and the keylock animations when they run it switches constantly between the two

Making it not do this will take a little longer
It involves re-routing in the message tables and I have only done one experiment so far

regards,
Danny

ShadoW2004
17-11-2004, 05:50 PM
I just tested your script...it is realy cool
I too see litle bugs with keylock animation...
I think it is great idea!!!

NokDoc
17-11-2004, 06:23 PM
Hi,

Cool to see real developers getting born here.

Nice job Dan, we believe in U.

(ps, I still gotto look at it. ;) )

NokDoc

kraze1984
18-11-2004, 02:46 PM
It works

The only problems that happen is it changing between slideshow and the keylock animations when they run it switches constantly between the two

Making it not do this will take a little longer
It involves re-routing in the message tables and I have only done one experiment so far

regards,
Danny

Cool!

Maybe i will rework Netgraph script to make it work, when you keyboard locked. I had that idea earlier, but i couldn't understand clearly yak's script...

grreetz

danwood76
18-11-2004, 05:21 PM
but i couldn't understand clearly yak's script...


If you mean his keylock_clock I didnt even view it
This was more of a personal observation ;)

This script is very simple it simply checks the keypad status which, if you look through the flash file most scripts do

If the keylock bit is 3 then keypad is locked if it is not locked then the keylock bit is 0

If you set this bit to 2 then the phone will lock the keypad and if you set this to 3 then the phone thinks the keypad is locked even when it isnt and will behave quite strangly ;)

Here is the armada code I inserted ;)



Push R0, LR

LDR R0, @keypad_status
LDRB R0, R0, #0

CMP R0, #3
BNE @end
bl @slideshow

@end:
POP R0, PC

@keypad_status:
DD 0011FCFA (this is 3310 v6.33 value)


regards,
Danny

mestrini
18-11-2004, 08:22 PM
great achievement dan :smile:

i found that myself last week and already integrated it in my spymode script. now when LCD is restored, phone checks if keypad is locked and lights remain OFF. If it's unlocked then lights are authorised to go ON :grin:

btw, i think u should use a pattern to find the keypad_status function and after that the RAM address because you'll always get people using the script with other models and even with different versions ;) (just a tip)

keep up the good work m8

cheers

danwood76
19-11-2004, 01:40 AM
@mestrini

Take a look at my script ;)
You will see my pattern

I only used my Armada code to show what I injected
as an example to future dovelopers

regards,
Danny

mestrini
19-11-2004, 02:05 AM
@mestrini

Take a look at my script ;)
You will see my pattern

I only used my Armada code to show what I injected
as an example to future dovelopers

regards,
Danny


sorry for the mistake bro :oops:

i took a glimps at your script and forgot when posting here hehe

cheers

danwood76
19-11-2004, 02:24 AM
Is ok
Just look before you leap ;)

thanks again,
regards,
Danny

szczuru
19-11-2004, 06:56 PM
This Script have 1 very bad bug :( , when is turned on (flash is patched & keypad is locked) & anybody calling to me & don't see who calling to me :(

Sorry i don't speak english well...

danwood76
19-11-2004, 07:55 PM
Well like I said this was just a test patch
I will upload one that stops when you get a call in the next couple of days

regards,
Danny

g3gg0
21-11-2004, 07:57 PM
nice to see that ongoing hackers use armada ;)

yak
06-12-2004, 11:00 AM
keylock_slideshow.nrx is nice but can't work well without big changes. slideshows were created when we didn't know much about nokia user interface and it should be obsolete for a quite long time now. i'm working on a new animated screensavers system and new welcome animations that will replace the functionalty of slideshow.nrx. new scripts will use nokia timers and refreshing zones to manage frames delays and screen refreshing. it will use user interface task messaging system to detect events like incomming call/message or keypresses. it will be fully system friendly. i still have a lot to do (the welcome animations project isn't even started) and i want to remove some bugs from current NokiX/scripts so you will still have to wait some time but it will be done.