osmanxD
08/08/2008, 17:07:08
HOla a todos... soi totalmente nuevo en esto de los elfs.
miren tengo puesto el SleepMode.elf en mi w810
la cuestion es que como que tiene algunos errores todavia.
alguien me puede ayudar a mejorar eso??
bueno aca dejo el ini
;ICONS currently in use FOR W810,w800,k750
;00 - MISSED_VOICE_CALL
;01 - MISSED_SMS
;04 - MISSED_MMS
;18 - KEYLOCKED
;19 - MUTE
;You can use the BW icons or any icon including 16bit if you like
;for W810, E5A1 is a test square
[ICON00]: 0xE5D2; missed calls
[ICON01]: 0xE963; missed sms messages
[ICON03]: 0xE8A5; missed mms messages
[ICON18]: 0xE7C1; keylock
[ICON19]: 0xE73B; mute (not working)
;ICONS currently in use for large format phones
;You need to find correct hex codes for your phone
;00 - KEYLOCKED
;01 - SOUNDOFF
;02 - MISSED_VOICE_CALL
;03 - MISSED_SMS
;05 - MISSED_MMS
;[ICON00]: 0xEC1B;
;[ICON01]: 0xF2D4;
;[ICON02]: 0xE5F5;
;[ICON03]: 0xEC4C;
;[ICON05]: 0xEC92;
;Fonts for all phones
;Choose FONT - valid range 0x00->0x23
;Not all fonts are available on all phones!
;If font not available(not in DYN_CONST.bin)
;elf will default to FONT_E_20R
;Set font to FF to turn off that display
;font size has no effect for missed icons
;00 - CLOCK_FONT
;01 - DATE_FONT
;02 - DAY_OF_WEEK_FONT
;03 - MESSAGE FONT
;04 - STATUS
[FONT00]: 0x0E;
[FONT01]: 0x11;
[FONT02]: 0x11;
[FONT03]: 0x06;
[FONT04]: 0x02;
;------Choose from this table------------------------;
;0x00=FONT_D_7R; 0x10=FONT_E_18R; 0x20=FONT_E_40R;
;0x01=FONT_E_14R; 0x11=FONT_E_18B; 0x21=FONT_E_60R;
;0x02=FONT_E_14B; 0x12=FONT_E_18I; 0x22=FONT_E_75R;
;0x03=FONT_E_14I; 0x13=FONT_E_18BI;0x23=FONT_E_100R;
;0x04=FONT_E_14BI; 0x14=FONT_E_22R; 0x24=FONT_ICON_16BIT_V2;
;0x05=FONT_E_16R; 0x15=FONT_E_22B; 0x25=FONT_ICON_2BIT_V2_2NDLCD;
;0x06=FONT_E_16B; 0x16=FONT_E_22I; 0x26=FONT_D_18B;
;0x07=FONT_E_16I; 0x17=FONT_E_22BI;0xFF=No display
;0x08=FONT_E_16BI; 0x18=FONT_E_24R;
;0x09=FONT_E_20R; 0x19=FONT_E_24B;
;0x0A=FONT_E_20B; 0x1A=FONT_E_25R;
;0x0B=FONT_E_20I; 0x1B=FONT_E_25B;
;0x0C=FONT_E_20BI; 0x1C=FONT_E_25I;
;0x0D=FONT_D_24B; 0x1D=FONT_E_25BI;
;0x0E=FONT_D_29B; 0x1E=FONT_E_30R;
;0x0F=FONT_E_8R; 0x1F=FONT_E_36R;
;Window positions
;00 - CLOCK
;01 - DATE
;02 - DAY_OF_WEEK
;03 - MISSED_ICONS
;04 - MESSAGE
;05 - STATUS
;example for 176x220 phones
[WIN00.TOP]: 0x40; //offset from top of screen to window box
[WIN00.HEIGHT]: 0x10; //window height has no effect unless set=0
[WIN01.TOP]: 0xA0;
[WIN01.HEIGHT]: 0x10;
[WIN02.TOP]: 0x8F;
[WIN02.HEIGHT]: 0x10;
[WIN03.TOP]: 0x01;
[WIN03.HEIGHT]: 0x10;
;custom message must be <= 20 characters
[CUSTOM_MSG]:ißüxzs
[WIN04.TOP]: 0x72;
[WIN04.HEIGHT]: 0x10;
[WIN05.TOP]: 0x16;
[WIN05.HEIGHT]: 0x10;
;example for 220x340 phones
;[WIN00.TOP]: 0x75; //offset from top of screen to window box
;[WIN00.HEIGHT]: 0xB9; //window height has no effect unless set=0
;[WIN01.TOP]: 0xCA;
;[WIN01.HEIGHT]: 0xDF;D4
;[WIN02.TOP]: 0xFE;
;[WIN02.HEIGHT]: 0xF0;FA
;[WIN03.TOP]: 0x01;
;[WIN03.HEIGHT]: 0x64;
;custom message must be <= 20 characters
;[CUSTOM_MSG]: GutZ!
;[WIN04.TOP]: 0x45;
;[WIN04.HEIGHT]: 0x20;
;[WIN05.TOP]: 0x16;
;[WIN05.HEIGHT]: 0x10;
;COLOR default white 0xFFFFFFFF
;;;;;;;;;;;;;;;;;;;;;;;TTRRGGBB
;1st two bytes(TT) set translucency and then next 6 bytes are RedGreenBlue
;00-CLOCK
;01-DATE
;02-DAY OF WEEK
;03-MISSED ICONS (color doesn't affect 16-bit icons)
;04-MESSAGE
;05-STATUS (temp, battery, heap)
;SET COLOR=0x01 TO USE THEME COLOR
: 0xCC99FF66;
[COLOR01]: 0xAA99FF66;
[COLOR02]: 0xAA99FF66;
[COLOR03]: 0xFF000000;
[COLOR04]: 0xFFFFFFFF;
[COLOR05]: 0xCCFF2020;
;screen background and outline
[COLOR06]: 0x[COLOR=Red]AA003366;
[COLOR07]: 0xFFFF9933;
;Set offsets and event according to phone model
;Offset and event codes
;all 176x220 phones
; offset1 - 0xD7;
; offset2 - 0xDC;
; event - 0x7BB (w810,w800,k750)
;
;
;240x320 phones
; offset1 - 0x146;
; offset2 - 0x14C;
; event - 0x851 (w880,K810, W610, W850)
[OFFSET1]:0xD7;
[OFFSET2]:0xDc;
[EVENT]: 0x7BB;
;Horizontal location of windows
[TIME_JUSTIFY]: 0x02; // 0=LEFT,1=RIGHT,2=CENTER
[DAY_JUSTIFY]: 0x02;
[DATE_JUSTIFY]: 0x02;
[ICON_JUSTIFY]: 0x02;
[MSG_JUSTIFY]: 0x02;
[DATE_FMT]: 0x00; 00=day-mon-yr, 01=day/mon/yr 02=mon/day/yr 03=mondayyr, others? try it.
[DOW_MODE]: 0x01; 00=short day of week names, 01=normal
[TIME_FMT]: 0x00; 00=12hr, 01=24hr
[ADD_LOCK]: 0x01; add keylock icon (only needed for db2010 phones)
[HEAP_FMT]: 0x01; 00=BYTES, 01=kB
;Do Not delete
BUENO. en verde esta lo que yo edite. ai va mi nombre o mi nick. xD
y en Rojo esta algo que no entiendo...
aparentemente para el color tiene que ir "0xFF003366" y alli esta "AA"
porque es?
otro problema es que aveces aparece y aveces no.
aveces se queda blanco.
bueno espero ayuda.. y gracias.
PS. lo encerre en un cuadro de parche. para qe no se viera mal. xD
miren tengo puesto el SleepMode.elf en mi w810
la cuestion es que como que tiene algunos errores todavia.
alguien me puede ayudar a mejorar eso??
bueno aca dejo el ini
;ICONS currently in use FOR W810,w800,k750
;00 - MISSED_VOICE_CALL
;01 - MISSED_SMS
;04 - MISSED_MMS
;18 - KEYLOCKED
;19 - MUTE
;You can use the BW icons or any icon including 16bit if you like
;for W810, E5A1 is a test square
[ICON00]: 0xE5D2; missed calls
[ICON01]: 0xE963; missed sms messages
[ICON03]: 0xE8A5; missed mms messages
[ICON18]: 0xE7C1; keylock
[ICON19]: 0xE73B; mute (not working)
;ICONS currently in use for large format phones
;You need to find correct hex codes for your phone
;00 - KEYLOCKED
;01 - SOUNDOFF
;02 - MISSED_VOICE_CALL
;03 - MISSED_SMS
;05 - MISSED_MMS
;[ICON00]: 0xEC1B;
;[ICON01]: 0xF2D4;
;[ICON02]: 0xE5F5;
;[ICON03]: 0xEC4C;
;[ICON05]: 0xEC92;
;Fonts for all phones
;Choose FONT - valid range 0x00->0x23
;Not all fonts are available on all phones!
;If font not available(not in DYN_CONST.bin)
;elf will default to FONT_E_20R
;Set font to FF to turn off that display
;font size has no effect for missed icons
;00 - CLOCK_FONT
;01 - DATE_FONT
;02 - DAY_OF_WEEK_FONT
;03 - MESSAGE FONT
;04 - STATUS
[FONT00]: 0x0E;
[FONT01]: 0x11;
[FONT02]: 0x11;
[FONT03]: 0x06;
[FONT04]: 0x02;
;------Choose from this table------------------------;
;0x00=FONT_D_7R; 0x10=FONT_E_18R; 0x20=FONT_E_40R;
;0x01=FONT_E_14R; 0x11=FONT_E_18B; 0x21=FONT_E_60R;
;0x02=FONT_E_14B; 0x12=FONT_E_18I; 0x22=FONT_E_75R;
;0x03=FONT_E_14I; 0x13=FONT_E_18BI;0x23=FONT_E_100R;
;0x04=FONT_E_14BI; 0x14=FONT_E_22R; 0x24=FONT_ICON_16BIT_V2;
;0x05=FONT_E_16R; 0x15=FONT_E_22B; 0x25=FONT_ICON_2BIT_V2_2NDLCD;
;0x06=FONT_E_16B; 0x16=FONT_E_22I; 0x26=FONT_D_18B;
;0x07=FONT_E_16I; 0x17=FONT_E_22BI;0xFF=No display
;0x08=FONT_E_16BI; 0x18=FONT_E_24R;
;0x09=FONT_E_20R; 0x19=FONT_E_24B;
;0x0A=FONT_E_20B; 0x1A=FONT_E_25R;
;0x0B=FONT_E_20I; 0x1B=FONT_E_25B;
;0x0C=FONT_E_20BI; 0x1C=FONT_E_25I;
;0x0D=FONT_D_24B; 0x1D=FONT_E_25BI;
;0x0E=FONT_D_29B; 0x1E=FONT_E_30R;
;0x0F=FONT_E_8R; 0x1F=FONT_E_36R;
;Window positions
;00 - CLOCK
;01 - DATE
;02 - DAY_OF_WEEK
;03 - MISSED_ICONS
;04 - MESSAGE
;05 - STATUS
;example for 176x220 phones
[WIN00.TOP]: 0x40; //offset from top of screen to window box
[WIN00.HEIGHT]: 0x10; //window height has no effect unless set=0
[WIN01.TOP]: 0xA0;
[WIN01.HEIGHT]: 0x10;
[WIN02.TOP]: 0x8F;
[WIN02.HEIGHT]: 0x10;
[WIN03.TOP]: 0x01;
[WIN03.HEIGHT]: 0x10;
;custom message must be <= 20 characters
[CUSTOM_MSG]:ißüxzs
[WIN04.TOP]: 0x72;
[WIN04.HEIGHT]: 0x10;
[WIN05.TOP]: 0x16;
[WIN05.HEIGHT]: 0x10;
;example for 220x340 phones
;[WIN00.TOP]: 0x75; //offset from top of screen to window box
;[WIN00.HEIGHT]: 0xB9; //window height has no effect unless set=0
;[WIN01.TOP]: 0xCA;
;[WIN01.HEIGHT]: 0xDF;D4
;[WIN02.TOP]: 0xFE;
;[WIN02.HEIGHT]: 0xF0;FA
;[WIN03.TOP]: 0x01;
;[WIN03.HEIGHT]: 0x64;
;custom message must be <= 20 characters
;[CUSTOM_MSG]: GutZ!
;[WIN04.TOP]: 0x45;
;[WIN04.HEIGHT]: 0x20;
;[WIN05.TOP]: 0x16;
;[WIN05.HEIGHT]: 0x10;
;COLOR default white 0xFFFFFFFF
;;;;;;;;;;;;;;;;;;;;;;;TTRRGGBB
;1st two bytes(TT) set translucency and then next 6 bytes are RedGreenBlue
;00-CLOCK
;01-DATE
;02-DAY OF WEEK
;03-MISSED ICONS (color doesn't affect 16-bit icons)
;04-MESSAGE
;05-STATUS (temp, battery, heap)
;SET COLOR=0x01 TO USE THEME COLOR
: 0xCC99FF66;
[COLOR01]: 0xAA99FF66;
[COLOR02]: 0xAA99FF66;
[COLOR03]: 0xFF000000;
[COLOR04]: 0xFFFFFFFF;
[COLOR05]: 0xCCFF2020;
;screen background and outline
[COLOR06]: 0x[COLOR=Red]AA003366;
[COLOR07]: 0xFFFF9933;
;Set offsets and event according to phone model
;Offset and event codes
;all 176x220 phones
; offset1 - 0xD7;
; offset2 - 0xDC;
; event - 0x7BB (w810,w800,k750)
;
;
;240x320 phones
; offset1 - 0x146;
; offset2 - 0x14C;
; event - 0x851 (w880,K810, W610, W850)
[OFFSET1]:0xD7;
[OFFSET2]:0xDc;
[EVENT]: 0x7BB;
;Horizontal location of windows
[TIME_JUSTIFY]: 0x02; // 0=LEFT,1=RIGHT,2=CENTER
[DAY_JUSTIFY]: 0x02;
[DATE_JUSTIFY]: 0x02;
[ICON_JUSTIFY]: 0x02;
[MSG_JUSTIFY]: 0x02;
[DATE_FMT]: 0x00; 00=day-mon-yr, 01=day/mon/yr 02=mon/day/yr 03=mondayyr, others? try it.
[DOW_MODE]: 0x01; 00=short day of week names, 01=normal
[TIME_FMT]: 0x00; 00=12hr, 01=24hr
[ADD_LOCK]: 0x01; add keylock icon (only needed for db2010 phones)
[HEAP_FMT]: 0x01; 00=BYTES, 01=kB
;Do Not delete
BUENO. en verde esta lo que yo edite. ai va mi nombre o mi nick. xD
y en Rojo esta algo que no entiendo...
aparentemente para el color tiene que ir "0xFF003366" y alli esta "AA"
porque es?
otro problema es que aveces aparece y aveces no.
aveces se queda blanco.
bueno espero ayuda.. y gracias.
PS. lo encerre en un cuadro de parche. para qe no se viera mal. xD