Ajoj,da malo komplicirano? Blue Devil moj engleski je na razini ušlagiranih Pigmeja.
Ovo je direktni copy/paste sa HoFo-a. Ako se nekome da gnjavit s tim, samo naprijed. Ja sam probao dobiti da vanjski display žmiga kod dolaznog poziva/SMSa, ali nula bodova. Samo žmiganje unutarnjeg displaya i/ili tastature radi, kod dolaznog poziva. Govorim, naravno, o v525.
PA ako netko nešto iskemija, svima će nam biti drago.
Good luck!
__________________________________________________ _______________
funlight.pat demystified
Ok, lets get into it. The funlight pat file for the v600 has a well defined structure and once you understand it, it is easy to modify just time consuming.
To edit the funlight.pat you will need a hex editor, I am using XVI32 coz i use that to edit seems but any hexeditor will do.
If your new to hex editing when I refer to a byte, its just a grouping of two hexadecimal numbers.
I have to say thanks for Bitwise for doing all the hard work to start off with, without that I could never had figured the rest out.
Now to start, the first 5 bytes of the file is just the file header and contains information about the file. On a defult funlight.pat file for the v600 the first 5 bytes:
Offset | Bytes
|
0000 | 01 01 = seems to need to be this for some unknown reason
0002 | 10 6E = appears to be closely related to file size but doesn seem exact
0004 | 10 = number of sequences in this file, 10h=16 decimal Dont change this
Now if you add an extra part of a frame (will learn about that later) which is 3 byles by adding 3 to offset 0002 it still seems to work. This still needs some testing will revise this when known for sure.
Now that we have the header out the way lets look at the ring styles.
There are the selectable ringstyles, Nocturne, Solar, Passion, Aqua, Elemental, Red, Yellow, Green, Sky, Blue and Violet, and non-selectable ringstyles when you connect bluetooth, charging etc..
Here is a list of start and end offsets for each ringstyle.
Start End Ringstyle
==================================
0005 013A - Nocturne
013B 0252 - Solar
0253 0352 - Passion
0353 048E - Aqua
048F 05C4 - Elemental
05C5 06F4 - Red
06F5 0824 - Yellow
0825 0954 - Green
0955 0A85 - Sky Blue
0A85 0BB4 - Violet
0BB5 0BEE - unknown
0BEF 0E74 - Message indicator
0E75 0EFB - Bluetooth connect
0EFA 0F2D - Bluetooth active
0F2E 0FBE - Bluetooth disconnect
0FBF 1082 - Phone charging
==================================
So lets look at the "Phone charging" ringstyle
As with the file, each ringstyle has its own header (7 bytes long), and using the "Phone charging" ringstyle as an example, its in the form of:
Offset | Bytes
|
0FBF | 00 BD = Number of bytes for frames and delay, 00BDh = 189 Decimal
0FC1 | 1F = Number of frames, 1Fh = 31 decimal
0FC2 | 00 00 = Unknown
0FC4 | 9E = Sequence id?
0FC5 | 02 = Unknown, has to be 02h for ring light to function.
Dont worry about how to figure this out just yet as it will make sense soon I hope.
There is also a kind of a footer on most ringstyles and tese are the last 3 bytes of the ringstyle. It acts like a delay before it repeats. Without this the ringlight will go through one cycle and then finish.
Using the "Phone charging" ringstyle as an example the format looks like this
Offset | Bytes
|
1080 | 27 10 = Duration for delay 2710h = 10000 Decimal
1082 | 00 = Unknown / repeating sequence terminator?
So we have the header and the footer for the file now we need to talk about the frames.
As for the v600 all the ringstyles only change the ringlights, making it easy to edit because each frame is 6 bytes in length. We will get to the harder stuff later.
Now using the "Phone charging" ringstyle as our example lets have a look at a selection of frames as I am to lazy to type out 31 frames:
Offset Bytes Frame
=====================================
0FC0 00 00 01 03 00 00 Frame 1
0FCC 00 3C 01 03 01 11 Frame 2
0FD2 00 46 01 03 02 22 Frame 3
. . . . . . . .
. . . . . . . .
. . . . . . . .
106E 00 3C 01 03 02 22 Frame 29
1074 00 46 01 03 01 11 Frame 30
107A 00 46 01 03 00 00 Frame 31
Well by now you might be asking what the F**k is a frame. Have you ever drawn a series of stick figure pictures in the courner of a book and flip through it to make the figure move?
Well each frame is like a picture on a page and when you go through them over time it makes the dancing colours you see on your ringstyles.
To control this we need to know how the frames work and again using the "Phone charging" ringstyle as an example lets look at an example from Frame 2 at offset 0FCC:
00 3C 01 03 01 11
XX XX ** ** ** ** = Delay before frame starts
** ** XX ** ** ** = Number of 'Frame Parts", 1 in this example
** ** ** XX ** ** = Output device code
** ** ** ** XX XX = Colour/intensity of LED's
With the delay this is pretty easy, havent calculated it yet but most likely 100th or 10th of a second so 003Ch = 60 Decimal, most likel 0.6 of a second, will test this out at a later date, I am just tooo lazy.
For the number of frame parts we will look into this later, for the time being keep it at 01
Now the output device code coresponds to the LED's you want to control. here is the list for the v600.
Code Device
==================
01 Internal LCD
02 Keypad
03 Ringlights
05 External LCD
At the moment I dont know if there are anymore or why isnt 04 used. Maybe something redundant maybe it could be used to control each LED cluster in the ringlight, I just dont know, why dont you experiment!
Now back on track the, last 2 bytes of this frame control the colour and intensity of the LED's.
In each LCD cluster there is a RED, Green and Blue LEDs. Out of the 4 hexadecimal charaters in the last two bytes, the last 3 control each colour. Example:
01 11
===========================
X* ** = Not used
*X ** = Controls red LEDs
** X* = Controls Green LEDs
** *X = Controls Blue LEDs
Where 0 = off Brightness is controled from 1 which is the dimest to F which is the Brightest.
To make other colours you just have to mix and match like in our example, 0111 which is a dim white.
Ok, so now you know a basic frame, lets go into more advanced frames. Say you want to alter the keypad, external/internal LCDs and the ringlights. You can also do this in the frames.
One thing to note, the LEDs act differently in each Output Device. The others CANNOT change colour! For the external/internal displays they are either on or off tho the keypad has a range of brightness.
now that means that the Colour/intensity of LED's is diffrent than that I described for the ring lights so I will do a quick rundown.
For the external/internal LCD it can be either on or off, to make it simple I use all 0000 for off and 0FFF. Anything above 0000 will turn on the screen but to avoid confusion use 0FFF.
For the Keypad it is slightly different, you can actually change the brightness of it using 0000 for off, 0001 for dimest to 000F for brightest.
Ok now knowing that lets write a ringstyle that Turns the external LCD on and off
OK lets start with a frame
00 00 01 05 0F FF = Turns it on
0F 00 01 05 00 00 = Turns it off
so we have 2 frames that we want to repeat so we add the repeating footer like:
0F 00 00
Now we need the header. For the Number of bytes for frames and delay we know there are 2 frames of 6 bytes and 3 bytes for the repeat so that makes 15 = Fh
So we have for the header
00 0F 02 00 00 XX 02
The XX is the sequence id and that depends where you want the new ringstyle to be.
Here is a list for which ringstyle has what ID
ID Style
==========================
01h - Nocturne
02h - Solar
03h - Passion
04h - Aqua
05h - Elemental
06h - Red
07h - Yellow
08h - Green
09h - Sky Blue
0Ah - Violet
80h - unknown
8Ah - Message indicator
94h - Bluetooth connect
95h - Bluetooth active
96h - Bluetooth disconnect
9Eh - Phone charging
So lets choose the phone charing for our ID now we have our complete ring style.
00 0F 02 00 00 9E 02 - Header
00 00 01 05 0F FF - Frame 1
0F 00 01 05 00 00 - Frame 2
0F 00 00 - Repeat
Well that was a lot of work for something so simple but wait there was more.
What if you want to make the external LCD and the ringlight flash at the same time, impossible you say. Well you remember the Byte that I called the Number of part frames well this describes how many output devices you want to change in the frame. Lets do two for now and say we want to turn the external LCD on and the ring light to a dark bright blue. Well the frame will look like this:
00 00 02 03 00 0F 05 0F FF
XX XX ** ** ** ** ** ** ** = Delay
** ** XX ** ** ** ** ** ** = Number of part frames
** ** ** XX XX XX ** ** ** = First part frame (ringlight ot bright blue)
** ** ** ** ** ** XX XX XX = 2nd part frame (turning the Ext. LCD on)
You can even do 3 or 4 part frames if you want, just make sure you calculate the ring style and file headers correctly.
OK there you go! Now i wrote this straight off my head and only had a quick read through. If you find any errors or think of ways to improve/ make it easier for everyone then let me know.
Enjoy,
__________________________________________________ _______________
Bolje cica u ruci nego Frankfurt na Majni
Ajoj,da malo komplicirano? Blue Devil moj engleski je na razini ušlagiranih Pigmeja.
Sto jedan glup pokida sto pametnih ne popravi
Ah damn! Trebat će mi dan-dvada to isprevedem kako treba.
Ali... to nije sve! Ima još dodataka. No, redom, treba prvo ovo prevest, pa ćemo onda dalje....
Bolje cica u ruci nego Frankfurt na Majni
BD na onom tvom CD-u ima funlight.pat.try1,a mene zanima kako ti je ispao,jer svi oni drugi imaju blinkanje unutarnjeg displaya, a ja to ne bi.
I kako unosim funlight.pat,izbrišem onaj postojeći (backupiro sam ga) i onda krknem ovaj tvoj? ili nešto drugo. Imam 27 upitnika iznad glave, a frka me da nešt ne shebem.
Sto jedan glup pokida sto pametnih ne popravi
Nemaš ništa za zeznut. Ako išta pogriješiš - nema žmiganja. To je najveći bed.
File staviš preko onog postojećeg (pregaziš ga).
Onaj "try1" je jedan od pokušaja da i vanjski display žmiga. Ali možda je i u njemu već skinuto žmiganje unutarnjeg displaya, ne znam. Probaj, pa vidi![]()
Bolje cica u ruci nego Frankfurt na Majni
Probao sam,ne žmiga.Samo stroboskop.Fu*king.
Sto jedan glup pokida sto pametnih ne popravi
Poslao sam ti još jedan mailom. Probaj taj, trebao bi žmigati samo keyboard. Nemam kabel sa sobom pa da probam![]()
Bolje cica u ruci nego Frankfurt na Majni
Neće.Sad neće ni stroboskop.Hoće kad ga vratim originalnog. Al samo i jedino prokleti stroboskop.
Sto jedan glup pokida sto pametnih ne popravi
Izvorno postao BlueDevil
daj molim te postavi link na HO FO gdje se o tome priča, da pročitam sve....
hvala
Daj Inovator pogledaj molim te to,pa javi.Možda ćeš skužiti više od mene,jer moj engleskije najblaže rečeno na razini jadnosti.
Sto jedan glup pokida sto pametnih ne popravi
Izvorno postao vvidak11
evo direktan prijevod gore navedenog BlueDevilovog threada sa HoFO::
![]()
"funlights.pat pojašnjenje
OK, krenimo! Funlight.pat za V600 ima dobro definirano strukturu i kad ju jednom razumiješ,
bit će ti lao raditi promjene, samo vrijeme trošiš.
Za modifikaciju trebaš HEX uređivač. Ja koristim XVI32, ali valja bilo koji.
Ako si nov u ovom, kad ja kažem pogledaj byte, pri tome mislmi na dvije hex znamenke.
A sad na početak, prvih 5 bajtova datoteke je samo naslov. Na originalnom funlight.pat za
V600 prvih 5bajtova izgleda ovako:
Offset | Bytes
|
0000 | 01 01 = mora biti ovako, iz nepoznatog razloga
0002 | 10 6E = čini se povezano s veličinom filea
0004 | 10 = broj sekvenci u fileu, 10h=16d decimal NE MJENJAJ!
Ako dodaš dodatni dio framea ( o tome kasnije), koji je 3 byte, dodavanje broja 3 offsetu
0002, sve radi. Ovo još zahtjeva provjere.
Idemo sad na stilove zvona.
Postoje ovi stilovi za odabir:Nocturne, Solar, Passion, Aqua, Elemental, Red, Yellow, Green,
Sky, Blue and Violet,ima još onih koje ne možeš odabrat, zvuk spajanja BTa, punjenja itd
Ovo je popis početka i kraja offseta za svaki stil:
Poč Kraj Stil
==================================
0005 013A - Nocturne
013B 0252 - Solar
0253 0352 - Passion
0353 048E - Aqua
048F 05C4 - Elemental
05C5 06F4 - Red
06F5 0824 - Yellow
0825 0954 - Green
0955 0A85 - Sky Blue
0A85 0BB4 - Violet
0BB5 0BEE - unknown
0BEF 0E74 - Message indicator
0E75 0EFB - Bluetooth connect
0EFA 0F2D - Bluetooth active
0F2E 0FBE - Bluetooth disconnect
0FBF 1082 - Phone charging
Pogledajmo zvuk punjenja.
Kao i svaki file, svaki stil ima svoj naslov (dug 7 bajtova). Evo za primjer zvuk punjenja u
svom obliku:
Offset | Bytes
|
0FBF | 00 BD = broj bajtova za frame i kašnjenje, 00BDh = 189 dec
0FC1 | 1F = broj frameova, 1Fh = 31 dec
0FC2 | 00 00 = nepoznato
0FC4 | 9E = oznaka sekvence??
0FC5 | 02 = nepoznato, mora bit 02h da bi radilo
Ne morate se brinuti oko toga, bitno da radi.
postoji i nešto kao zaglavlje na svakom stilu, a to čine zadnja 3 bajta svalog stila. POnaša
se kao kašnjenje, prije ponavljanja. Bez toga, stil se jednom odvrti i stane.
Evio opet na primjeru zvuka punjenja:
Offset | Bytes
|
1080 | 27 10 = trajanje kašnjenja 2710h = 10000 Dec
1082 | 00 = nepoznato
Idemo sad na frameove:
opet primjer zvuka punjenja:
Offset Bytes Frame
=====================================
0FC0 00 00 01 03 00 00 Frame 1
0FCC 00 3C 01 03 01 11 Frame 2
0FD2 00 46 01 03 02 22 Frame 3
. . . . . . . .
. . . . . . . . //skraćeno, ponavlja se
. . . . . . . .
106E 00 3C 01 03 02 22 Frame 29
1074 00 46 01 03 01 11 Frame 30
107A 00 46 01 03 00 00 Frame 31
Sad se pitate šta je frame? Može se objasnit kao kadar, recimo u crtiću.
Evo da shvatimo opet na našem primjeru zvuka punjenja, idemo od framea 2 na offsetu 0FCC:
00 3C 01 03 01 11
XX XX ** ** ** ** = kašnjenje prije početka kadra
** ** XX ** ** ** = broj dijelova kadra, 1 u primjeru
** ** ** XX ** ** = oznaka izlazne jedinice
** ** ** ** XX XX = boja/jačina LEDa
kašnjenje od recimo 003Ch=60 dec je cca 0.6s
o broju dijelova kadra, kasnije.
oznaka vanjske jedinice (LED),objašnjenje:
oznaka jedinice
==================
01 unutarnji LCD
02 tipkovnica
03 svijetla zvona
05 vanjski LCD
04 se ne koristi, zašto, ne znam.
Zadnja 2 bajta kontroliraju boja i jačinu LEDa. U svakom dijelu displaya postoje RGB boje. u
4-znamenk. hex broju, u zadnja dva bajta, zadnja 3 kontroliraju boju, evo primjer:
01 11
===========================
X* ** = ne koristi se
*X ** = kontrola crvene LED
** X* = kontrola zelene LED
** *X = kontrola plave LED
0-ugašeno, znači ide od 1 (najtamnije) do F, najsvjetlije.
Za napravit ostale boje treba mješat, npr 0111 je svijetla bijela.
Idemo sad na naprednije kadrove (frameove).
Ako želiš mjenjat tipkovnicu, displaye, sve možeš pomoću kadrova.
LED se ponaša drukčije u svakoj vnjskoj jedinici. Ostale ne mogu mjenjat boju!.
Unutarnji/vanjski LCD može it ili upaljen(0FFF) ili ugašen(0000), dok tipkovnica ima
različite razine svjetla.
Ajmo napravit stil zvona koji pali/gasi vanjski display.
krenimo od kadra
00 00 01 05 0F FF = pali
0F 00 01 05 00 00 = gasi
za trebamo naslov. Znamo da terbamo 2 kadra od 6 bajtova i 3 bajta za ponavljanje, znači
15=F h
00 0F 02 00 00 XX 02 //eto naslova ;XX je oznaka sekvence i označava gdje želite da se novi
stil nalazi
evo nekih oznaka sekvenci:
oznaka stil
==========================
01h - Nocturne
02h - Solar
03h - Passion
04h - Aqua
05h - Elemental
06h - Red
07h - Yellow
08h - Green
09h - Sky Blue
0Ah - Violet
80h - unknown
8Ah - Message indicator
94h - Bluetooth connect
95h - Bluetooth active
96h - Bluetooth disconnect
9Eh - Phone charging
ako izaberemo punjenje moba za našu oznaku, ovako izgleda naš stil:
00 0F 02 00 00 9E 02 - naslov
00 00 01 05 0F FF - kadar 1
0F 00 01 05 00 00 - kadar 2
0F 00 00 - ponovi
puno posla za nešto jednostavno...
Što ako želiš da vanjski LCD i tipkovnica blicaju u isto vrijeme? Nemoguće, jel?
Sjeti se da bajt koji sam nazvao broj dijeliva kadra, opisjuje koliko imamo vanjski jedinica
za promjenu u svakom kadru. Ajmo probat sa dvije. ovako:
00 00 02 03 00 0F 05 0F FF
XX XX ** ** ** ** ** ** ** = kašnjenje
** ** XX ** ** ** ** ** ** = broj dijelova kadra
** ** ** XX XX XX ** ** ** = prvi dio kadra (paljenje tipkovnice, tamno plavo)
** ** ** ** ** ** XX XX XX = drugi dio kadra (paljenje vanj. LCDa)
MOžeš napravit i 3/4 dijelova kadra, ali dobro izračunaj stil i naslov...
Eto, to je to. Ovo je direkt iz glave.
Uživajte! "
eto, toliko! prevođenje ona dva linka s Ho Fo je bespotrebno...mislim.
Eto, ja (uz posao) preveo skoro do kraja, i onda me netko potkajla.
A dobro, c'est la vie...![]()
Bolje cica u ruci nego Frankfurt na Majni
bluedevil ajd me nazovfi hitno mi je na 043243120 ili na 0918847828
Za sve one koji su ostali vjerni v620 flexu, na HoFo je moguće skinuti nekoliko različitih kombinacija funlights.pat gdje vanjski lcd svjetli sa različitim kombinacijama unutarnjeg displeja i tipkovnice i poruka i bla bla. Link je na prvu stranicu gdje se prvi pojavljuje pa na dalje.
http://www.howardforums.com/showthre...&pagenumber=14
Powered by: R374_G_0E.42.09R & SE8615BXXH1097 Bootloader 8.26
Taj funlight.pat radi i na v600.
Ono što je problem (barem meni) je to što nikako ne mogu natjerati vanjski display da žmiga onako kako žmiga tastatura. Mislim da bi to bio very nice feature na v525. Ali jednostavno neće. Na v600 to radi, na v620 isto, ali na v525 ni čut![]()
Bolje cica u ruci nego Frankfurt na Majni
Ne kužim, meni na v300@v620 žmiga identično tastaturi (onaj prvi s 14. stranice)
Powered by: R374_G_0E.42.09R & SE8615BXXH1097 Bootloader 8.26
Žmiga ti VANJSKI display?
Bolje cica u ruci nego Frankfurt na Majni
Da, identičnom brzinom kao i tipkovnica. Genijalno izgleda, samo što u tom funlight nije uključeno žmiganje unutarnjeg displeja, samo tipkovnica.Izvorno postao BlueDevil
Powered by: R374_G_0E.42.09R & SE8615BXXH1097 Bootloader 8.26
A ka vragu. Ček da ga opet skinem... nije mi jasno zakaj meni ne radi??? A na koji mod ti je RingLights? Nocturno, ili?
Reci, žmiga i kad je mob zatvoren, ili samo kad je otvoren?
Bolje cica u ruci nego Frankfurt na Majni
Da, Nocturno iako mi na svima radi. Probaj baš taj koji sam ja stavio. Zove se funlight external flash with blue message blue yellow multicolour charge.zip i nalazi se na 14. stranici (čini mi se i da je jedini attachment na toj stranici)
Powered by: R374_G_0E.42.09R & SE8615BXXH1097 Bootloader 8.26
Neće pa neće. Sad mi nije jasno... Uključeni su mi i EventLights (ON) i RingLights (Nocturne). I štanga.
Dolazni poziv, display se upali i stoji upaljen.![]()
Bolje cica u ruci nego Frankfurt na Majni
Eh, eh, sad vidjeh nešto... Da nije fora u v620 flexu? Jer ja trenutno vrtim 10F9 flex...
Ima li još netko v620 flex odnosno 10F9 pa da proba dotični file i potvrdi da je do flexa?
Bolje cica u ruci nego Frankfurt na Majni
Jedno pitanje, kako Taj funlight.pat poslat u mob i jel je to za V525&V600.Hvala za odgovor!!!!! I kde da dobijem več urađeni !!!!Izvorno postao BlueDevil
![]()
E550@V620
radi
Bookmarks