PDA

View Full Version : Fading LEDs for Nokia 3310 v5.79 & 3330 v4.50 here!



Al
04-01-2003, 10:12 PM
Original idea by g3gg0
Code modifications by Al ([email protected])

Use only CLEAN mcu!!!

Offsets are from start of MCU.

Offset: Modification:

for 3310 v5.79: (tested, 100% works)
00E327C: F0 00 FF 4B -> F0 4B FD 4E
012ED1C: insert here contents of file 'Fade_3310_579_12ed1c.fls'

for 3330 v4.50: (I don't test it (I've no 3330), but also must work)
0177EE2: F0 03 FF 6A -> F0 C6 FD 2F
023E944: insert here contents of file 'Fade_3330_450_23e944.fls'

recalculate checksums

Files in attachment: see my last post with attachment :),
try it!!!

BR,
Al

rpalmer
04-01-2003, 11:40 PM
Is it possible that you could figure out (or someone else) where this code could be used to add fading LEDs on 8250. Cheers

nkresource
05-01-2003, 12:18 AM
do you think you could post the MCU For 3310 579 as i cant get it anywere. Also what program do you think is best for this kinda work.

slikmik
05-01-2003, 03:10 AM
cheers, but please EXPLAIN why does that

00E327C: F0 00 FF 4B -> F0 4B FD 4E
012ED1C: insert here contents of file 'Fade_3310_579_12ed1c.fls'


work?

as in why does F0 4B FD 4E point to offset 012ED1C - whats the resemblance????

Cheers

Mike

syndromtr
05-01-2003, 06:04 AM
Thx Al;
I examined your code all night and solved it
I made the fade effect for my 5210.I have already flashed.
But there is a serious problem...
When I shut the phone off,it's OK.It fades,but...
when the auto-keylock happens,the phone screen fades unexpectedly and I cannot do anything!This happens some times and there's completely NO SCREEN.But the phone is open :)
I found a simple way.I do not allow auto keylock
I lock the keys by pressing yes and * :)
My question is,does it happen with 3310 and 3330 ?

Thx again for your code...

DigitalJepoy
05-01-2003, 07:27 AM
NOpe..so far everythings fine with the faiding lights on 3310...no problem of some sort...

AI, thanks for the inovation... :cool:

Al
05-01-2003, 08:45 AM
@rpalmer
I'l try

@slikmik
F0 4B FD 4E - its ARM instruction: bl 012ED1C (from offset 00E327C, its relative)
use WinArm (or any other ARM disassembler) & ARM instruction set to understand.

@syndromtr
no such problem on my 3310



Also if you want to change time of fading, just change 4 last bytes in code ( originally 00 00 04 00 )
example:
00 00 02 00 - 2 times faster
00 00 08 00 - 2 times slower

!!!REMEMBER!!! when LEDs fading - keypad don't work!

Al
05-01-2003, 10:33 AM
@rpalmer & others

for 8250 v5.06: (check it, must work)
00F719A: F0 00 F9 4A -> F0 3F FA 77
013668C: insert here contents of file 'Fade_8250_506_13668c.fls'

Files in attachment: see my last post with attachment :)

nEMO
05-01-2003, 12:19 PM
Sorry Al can you do that for 5510 ????

Al
05-01-2003, 01:23 PM
Fading LEDs for 3310, 3330, 6250, 8250

Don't use 8250 fade code from fade2.zip!!!! It's bad!!!
New one in attached file (see my last post with attachment)

now with 6250 support :)

for 6250 v5.03: (tested, 100% works)
02D69E6: F0 00 FE F0 -> F0 53 FE 93
032A710: insert here contents of file 'Fade_6250_503_32a710.fls'

@nEMO
I'l try :)

BR,
Al

Al
05-01-2003, 02:20 PM
And 5510 :)

for 5510 v3.53: (tested, 100% works)
0182C8E: F0 03 FF 6A -> FO CA FE A7
024D9E0: insert here contents of file 'Fade_5510_353_24d9e0.fls'

check attachment on my last post :)

BR,
Al

slikmik
05-01-2003, 03:05 PM
Originally posted by Al
@rpalmer
I'l try

@slikmik
F0 4B FD 4E - its ARM instruction: bl 012ED1C (from offset 00E327C, its relative)
use WinArm (or any other ARM disassembler) & ARM instruction set to understand.


Mmmmm cheers okay, well what does the F0 4B FD 4E do?? Simply point to the new code?

One problem i have a highly modded flash and the hex values u said to search for i cant find at that offset :(

So please tell me if i insert the code at a different offset in my extended MCU space ;) how do i go about getting the "arm instruction hex" to insert into my flash??

Cheers al

Mike

Al
05-01-2003, 03:18 PM
And for 5210 v5.20 :)

for 5210 v5.20: (check it, must work)
01BC1BE: F0 01 F8 E2 -> F0 B0 FF 0F
026CFE0: insert here contents of file 'Fade_5210_520_26cfe0.fls'

@slikmik
you can't insert this code in any place (need to modify calls in fade code, coz it's relative)

Maybe I'll write proggy that will insert fade code in any place/any phone :)

BR,
Al

see attachment in my last post :)

nEMO
05-01-2003, 03:33 PM
BIG THX Al !!!! You are the best (no sorry g3gg0 is the best :D You have 2 place :D )

nEMO
05-01-2003, 04:06 PM
for 5510 v3.53 work 100%
Once again big THX for Al !!!!

Kicco_79
05-01-2003, 04:48 PM
i've try on my 3330 v.4.50 C but it doesn't work :( when the lights try to fade (?) my phone's resetting :(((((((

I have edited the original mcu 4.50 with Hex Workshop 3.1, recalculate chk & flashed into the phone but don't work.

what prg do I use to modify the offset & insert the bytes modified? WinArm? how can i modify & insert with winarm? :(( :P

Thank U!

Al
05-01-2003, 05:05 PM
@Kicco_79
Fade code seems to be Ok (I use WinArm). Are you insert it at 023E944 offset?? (Fade code must start from 023E944 offset)

BR,
Al

Kontact
05-01-2003, 05:42 PM
hello Al,

yes. ur fade lcd works!

could u. or is it possible to make fading in reverse? i mean make a glowing lcd routine.. off to on slowly... thanks

br,

GeeZuZz
05-01-2003, 06:06 PM
Originally posted by Al
!!!REMEMBER!!! when LEDs fading - keypad don't work!

So i suppose we have to consentrate when answering the phone? (like we have to do with g3gg0's patch)

The LED's are blinking when the phone rings, and since the LED's fade, pressing the answere button will only work when the light turns on... :(

Kandy
05-01-2003, 07:47 PM
Help made "LIGHT OFF" forever with help modification MCU.

Al
05-01-2003, 09:09 PM
Try this new one
Fade in and out for 3310 v5.79

for 3310 v5.79: (tested, 100% works)
00E327C: F0 00 FF 4B -> F0 4B FD 4E // if you wanna fade out
00E32BA: F0 00 FF 2C -> F0 4B FD 2F // if you wanna fade in :)
012ED1C: insert here contents of file 'Fade_in_out_3310_579_12ed1c.fls'


@Kandy
In 3310 v5.79 just do this (with HEX editor):
00E327A: D0 1E -> 46 C0
and lights will NEVER go ON :)

BR,
Al

!!! New attachment here !!! (some code corrections for fade in, now it looks better:))

Kandy
05-01-2003, 09:28 PM
@Al

Possible do a point in the menu LIGHT OFF?

syndromtr
05-01-2003, 09:39 PM
And this is the fade for 5210 MCU 5.22..I'm using it now and has no problems.Thx again Al for the modified code 0x64 bytes.The screen doesn't go off anymore...

download the attached file.instructions are in the txt file
Have fun...

nokiafreak_2003
05-01-2003, 09:40 PM
is it possible to have the fading light on 5110?:confused:

Al
05-01-2003, 09:42 PM
@Kandy
Only if we can add own menu in wich we can select On/Off (and of course some memory (RAM or EEPROM) to store our choice :)
, making OFF code is simple.

@nokiafreak_2003
I'll try

w0rf
05-01-2003, 09:55 PM
got fading working on a 3330 v4.50, BUT, I had to mcukill & deadfaid my firmware first (and a set faid the first time I used the file with killed checks) - no prog calculates the right FAID for 3330v4.50 (so they told me at least)

@Kicco_79 .. that might be your problem too, I had the same symptoms, resetting all the time (every 20-30secs)..and no network coverage..setting faid didn't help

bgcngm
05-01-2003, 10:29 PM
Hi ppl :)

Just one question... Do I insert the fade function only in the MCU file, or on the entire flash file (MCU+PPM)? I'm getting troubles recalculating checksums... Which program must I use? Thanks

Al
05-01-2003, 10:34 PM
@bgcngm
That doesn't matter, to recalculate cs (or kill them ) use g3n0lite

rpalmer
05-01-2003, 10:46 PM
When i inserted the code into the code into 8250 5.06 using Hex Workshop, the filesize increased to 2,049KB and when i attempted to flash the file using Rolis it said the file was too big.

To try and solve it i removed a few FFFF's after where i had inserted the code, then flashed it and it works!, however the fading effect seems to be quite flickery and when I turn off the phone the screen fades out but half of the screen disappears where the profiles list is displayed.

Does anyone have a solution or can you tell me what i've done wrong?, cheers.

P.S. Good Work Al

Al
05-01-2003, 11:02 PM
When i inserted the code into the code into 8250 5.06 using Hex Workshop, the filesize increased to 2,049KB...
Next time insert over FF's to avoid this :)


...however the fading effect seems to be quite flickery...
Thats normal, flickering - it's fade code feature


...when I turn off the phone the screen fades out but half of the screen disappears where the profiles list is displayed...
that also normal :)

BR,
Al

gardz
05-01-2003, 11:08 PM
when i insert the code the always reboot

Al
05-01-2003, 11:12 PM
@gardz
You are doing something wrong, code works on 8250 (see above posts)

Vili
05-01-2003, 11:16 PM
Good work man !!!
And thanx that you share your knownledge with us... :)

bgcngm
06-01-2003, 01:27 AM
Thanks Al!

I've tried the fade in a 3310 and in a 3330. Both are working 100%! The 3310 has fade in and out. :)
Can the fade in be added also to the 3330?

Thanks again.

DigitalJepoy
06-01-2003, 01:34 AM
Exactly, what prog should i use to insert the codes? I tried using g3nolite 1.7, but it fails to open the flash which you (AI) posted here...3310 v5.79...

bgcngm
06-01-2003, 02:12 AM
I used the best proggy around: Ultraedit :D to edit the flash and insert the code. You open the flash and the fade code, then you simply copy/paste from one file to another, replacing the FF's in the virgin flash. Remember to replace the same bytes that the fade code has...

Good luck! :cool:

fgl30
06-01-2003, 02:37 AM
can someone give a step-by-step on fading led´s? I don´t understand nothing!

thx

DigitalJepoy
06-01-2003, 02:47 AM
hey bgcngm, could you post the link of your prog? that ultra edit thinggy..thanks

bgcngm
06-01-2003, 03:31 AM
Originally posted by DigitalJepoy
hey bgcngm, could you post the link of your prog? that ultra edit thinggy..thanks

You are very lazy... Just search for "Ultraedit" on any search engine and you'll find the website...

jigger
06-01-2003, 03:44 AM
@AI

pls include 8890 v12.20

nonu_don
06-01-2003, 06:36 AM
hey shouldnt it be for 8210 also..

plz try for this one,,

Al
06-01-2003, 09:15 AM
bgcngm: Can the fade in be added also to the 3330?
Of course it can

@nonudon & jigger
I'll try :)

Kicco_79
06-01-2003, 09:31 AM
OK now Work my 3330! sorry Al !

there was a little problem with hex editor !

Very Very good work Al !! thank U

nonu_don
06-01-2003, 01:09 PM
and one more thing, why cant we do this fading for other flashes, like 8250 5.04 or any other modified one,,,,

Al, plz tell me how to do it in an allready modified one..

Naman

Swiftie
06-01-2003, 01:12 PM
Originally posted by Al
@rpalmer & others

for 8250 v5.06: (check it, must work)
00F719A: F0 00 F9 4A -> F0 3F FA 77
013668C: insert here contents of file 'Fade_8250_506_13668c.fls'

Files in attachment: see my last post with attachment :)

Jus wonderin where the attachment for the 8250 is?? :rolleyes:

w0rf
06-01-2003, 05:35 PM
Well, I wanted fade in+out for 3330 (since I have one)
and only the 3310 version was available, so I made a conversion for it:)

Well, all I did was converting the BL *calls* to the right offset with winarm and a hexeditor..seems to work over here
(could grab these offsets from the fade out file for 3330)

So, I thought I'll share it with you guys...:)

Find the file+instructions in the attached zip


great mod Al;)

gardz
06-01-2003, 07:15 PM
it's 100% working in 8250 thanks to Al

Al
06-01-2003, 09:01 PM
Sofware for adding fading LEDs here (http://nokiafree.org/forums/showthread.php?s=&threadid=12348)

Swiftie
06-01-2003, 11:57 PM
Originally posted by Al
Sofware for adding fading LEDs here (http://nokiafree.org/forums/showthread.php?s=&threadid=12348)


Nice bit of kit here!! ;)

Keep up the good work!! ;)

Does it support 8250 SW v6.00

Or would I have 2 do it manually!!

Thanx in advance!!

Brgs

Swiftie
07-01-2003, 02:20 AM
Got the patch for v6.00 thanx to Al!!

Nice 1 m8!!

Keep up the good work!! ;)

Brgs

pipoy
07-01-2003, 05:26 AM
@vili

3350 also please :)

jigger
07-01-2003, 06:20 AM
Originally posted by Al

Of course it can

@nonudon & jigger
I'll try :)

Al, thanks a lot for including 8890 in your NFader...
keep up the good work!!!

bgcngm
07-01-2003, 04:19 PM
Hey Al!

I've been studying your nfader :) and I made the support for the 5210 v5.22. Just see if it's ok:

[5210 v5.22]
data = 1bc1f6, 1bc210, 1bd3be, 1BD3F8, 26d018, 1

One last question: what's the last item on the data line? I put "1" because 5210 v5.20 also has.

algis
08-01-2003, 02:24 PM
Hi
Is this light-fade thing possible to do on a 3315 (3310 actualy, software 5.57) and a 5110. I read that auto keylock works krappy on a 5210 with this faider-stuff activated. Will this be the same in 3315?

bgcngm
08-01-2003, 02:35 PM
Why don't you read the thread from the begining? Just download the last nfader version from Al.

sajtony
08-01-2003, 05:02 PM
@ AL : Pls calculate the values 4 6110 v5.47 ROM-3 & ROM-4,bcoz here in Hungary we have special characters like "á,é,ó,ö,ő,ú,ü,ű" & the SW v5.48 can't Uz correctly these chars in SMS & shows/sends a blank space on their places... :(((

Keep up the very good work! :)

I rate U for 5 stars... :)))

All the best:sajtony:rolleyes:

jspm
08-01-2003, 06:12 PM
8850 fading with nfader 1.03 works great, except when shutting down the handset screen flickers and disappears at firs partially and then wohle..