;
***Hourly event and sound alerts after missed_events and full_battery v10***;© avkiev
;® SiNgle
;
S65 v50 /*
Phone executes every hour some tasks.
Besides, if you miss some event - mobile plays each N minutes according ringtone.
Alerts plays only from H1 to H2 hour, see options.
Alerts plays not often, than once per N minutes.
Alerts aren't play if sound is off.
Ringtone 7F doesn't play.
If ringtone more than 80h, than ringtone (R-80h) plays and phone are vibrate.
For example, if you set ringtone DF, than ringtone 5F plays and phone is vibrate.
If current profile is 7 - patch doesn't work.
*/
;
***Date at the bottom of maincsreen as "We, 11 May" v6***;© avkiev
;
S65 v50 0C37846: FFF7E0FF F0F0EBFB
#pragma enable old_equal_ff
0D28000: 426F74746F6D20446174652076362020
0D28010: A961766B6965762031302E30362E3035
0D28020: 4FB522488047013007280FBC02D10FF7
0D28030: ECFB40BD0C1C194F381C391C08310EF7
0D28040: C4FB381C164B98470D3000F01FF89523
0D28050: A178002900D1A370E3702C2323712023
0D28060: 6371237279790A200F4B98473030A071
0D28070: 3031E1710934387900F008F801BC093C
0D28080: 211C01220023E2F72CED00BD00B50849
0D28090: 4018211C034B984700BDC046000077A8
0D280A0: CF5782A0ED4F40A1F08A83A059958CA0
0D280B0: 97120000
#pragma disable old_equal_ff
;0D2805A: 2C 95 ; remove comma
;0D28028: 07 NP ; Profile "No patches"
/*
Buffer of Hourly Events Tuning contains 24 bytes, which defines tasks,
which will execute when according hour comes.
If according byte equal to 00 - then no tasks will execute.
Bits of these bytes define in such manner:
-0 (1) - Play HourlyBeep
-1 (2) - Reserved
-2 (4) - Run midlet
-3 (8) - Switch mobile off
-4 \
-5 > Set Profile
-6 /
-7 - Reserved
Example 1. If in this buffer byte 09 equals to 31 (=30+1),
then at 9:00 mobile switches to 3rd profile and plays HourlyBeep.
Example 2. If in this buffer byte 18 equals to 25 (=20+1+4),
then at 18:00 mobile switches to 2nd profile, plays HourlyBeep and run midlet.
Example 2. If in this buffer byte 23 equals to 08, then at 23:00 mobile switches off
*/
169B84E: 16F0A8EA 1FF001FF ; mainscreen
169E59E: 12F0B4E9 1DF05DF8 ; screensaver
#pragma enable old_equal_ff
16BB600: 536F756E6420416C6572747320763130
16BB610: A961766B6965762032352E30362E3035
16BB620: 01B57F21084081B0031C102042210902
16BB630: 093100220092F5F77AE901B001BC8028
16BB640: 07D33B48804704D02F2001210322394B
16BB650: 984700BD00B5F6F7A4EB02E000B5F5F7
16BB660: 54E9FFB4F5F7A4EB013007285ED0344C
16BB670: 384DA288A78ABF08BF18182F00D3183F
16BB680: 618800291DD12868B8421AD02F6032A0
16BB690: C65D002E15D0300902D0013826498847
16BB6A0: 0120304202D03320FFF7BAFF04203042
16BB6B0: 02D02FA0F6F7CEEC0820304201D01F48
16BB6C0: 804708200021884202D3B84204D901E0
16BB6D0: B8422BD88F4229D8DF201A4A11780222
16BB6E0: 114014D1F6F7D6EA011CDC2000290ED1
16BB6F0: D620154A1188002909D1144A11880329
16BB700: 14D3134A11680A79FF2A0FD83920FF28
16BB710: 0CD0696862888A4200D23C32521A012A
16BB720: 04D362886A6001D1FFF77AFFFFBDC046
16BB730: 2B9E8DA0645E94A027948CA0903D26A1
16BB740: 4C0264A82C8368A83CF63FA86E0667A8
16BB750: 08A66BA8300077A8
;Buffer of Hourly Events Tuning
; 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
16BB758: 01,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01
;In this example - Just play HourlyBeep from 8:00 till midnight
16BB770: "0:\Java\jam\Applications\HourlyEvent\HourlyEvent.jar",00 ; Midlet
#pragma disable old_equal_ff
;16BB6C2: 08 0i0H1
;16BB6C4: 00 0i0H2 ;All alerts play only from H1 to H2 hours
;(07,23) - 07:00-23:00, (08,00) - 08:00-00:00, (00,00) - always, (24,25) - never
;
;16BB6A6: 33 Rh ;Ringtone for Hourly Beep
;16BB6D8: DF Ra ;Ringtone for Missed Alarm
;16BB6EA: DC Rc ;Ringtone for Missed Call
;16BB6F0: D6 Rs ;Ringtone for Another Missed Events
;16BB70C: 39 Rb ;Ringtone for Full Battery
;16BB71E: 01 NN ;Play alerts each NN minutes
;
;16BB646: 04D0 C046 ;Vibrate even if vibra off
;16BB64C: 03 VV ;Vibra duration
;
;Don't play Ringtone for Full Battery if charging via cable
;16BB708: FF 0C
;
;16BB66A: 07 NP ; Profile "No patches"
;
***Dynamic replacing of Provider name v8***;© avkiev
;® Bennie, arsh0r, Acid
;
S65 v50 ;Attention ! For function 08 must be installed BODY of patch "miniGPS"
;Other words - line "16B1D9C: D307B9A0 071580A0" must be commented
/*
The name of the Provider replaced with dynamic changed string.
The Frequency of the renovation is a frequency of the questioning to network by telephone.
32 bytes in area 800100-80011F are four cyclic buffers, which define content of the screen.
First buffer (800100-800107) defines strings in mainscreen mode, keyunlocked.
Second (800108-80010F) - in mainscreen mode, keylocked.
Third (800110-800117) - in screensaver mode, keyunlocked.
Fourth (800118-80011F) - in screensaver mode, keylocked.
Replacing string consist of two parts, separated with Space.
Example N1: (800100) = 34h.
It means, that ProviderName will changed with results of
function N3 and function N4, separated by Space.
In our example it will be "Time + Date".
Because of next byte is 06h, then next string will be "Date".
It's cycle, 8 times, after this cycle we again return to byte (800100)=34h
Example N2: if you want always "Time+Temperature" fill this area with 3Bh.
If total length of string more than 16 (?) chars - string will be truncated.
If current profile is 7 - patch doesn't work.
Screenshots:
http://avkiev.kiev.ua/Siemens/Patches/s65/...ov/dyn_prov.htmAvaliable functions:
+---+-------------------------+-----------------+------+-------------------------------------+
| N | Íàçâàíèå | Ôîðìàò | Äëèíà| Êîììåíòàðèè |
+---+-------------------------+-----------------+------+-------------------------------------+
| 0 | Empty | | 0 | |
| 1 | Unicode-string | | | |
| 2 | 0:\Misc\DynProvider.tmo | | | |
| 3 | Time | 15:56 | 5 | |
| 4 | Date | 11.02.2005 | 10 | |
| 5 | Date | 02/11/2005 | 10 | |
| 6 | Date | Fr, 11 Feb 2005 | 15 | |
| 7 | Date | February, 11 | | |
| 8 | Patch "miniGPS" works | | | |
| 9 | Day of the week | Wednesday | | |
| A | Accumulator | 3,685 = 70% | 11,12| Voltage and capacity of accu |
| B | Temperature | 31,9'C | 6 | |
| C | Provider | UMC | | |
| D | Net level | -65 dB | 6,7 |"-" - 900, "=" - 1800 |
| E | Net info | 844:05513:1010 | 15 |CH:CI-LAC - Current channel,cell,LAC |
| F | Misc\GPS\LAC\CI-LAC.tmo | Kreschatik, 27 | |From miniGPS-patch |
+---+-------------------------+-----------------+------+-------------------------------------+
*/
;16B1D9C: 071580A0 D307B9A0 ; Disable miniGPS's hook
16B1D9C: D307B9A0 610180A0
#pragma enable old_equal_ff
;Four cyclic 8-bytes buffers, adjust their at your own
0800100: 34,06,09,08,BA,CD,DE,0F ; mainscreen, keyunlocked
0800108: 34,06,09,08,BA,CD,DE,0F ; mainscreen, keylocked
0800110: 34,06,09,08,BA,CD,DE,0F ; screensaver, keyunlocked
0800118: 34,06,09,08,BA,CD,DE,0F ; screensaver, keyunlocked
0800120: 'Unicode-ñòðîêà ',00 ;Unicode-string. MaxLen = 15
0800140: 44796E2E2070726F7669646572207638
0800150: A961766B6965762032342E30362E3035
0800160: B3B5C9F0F9F90130072803BC03B402D1
0800170: 90F32FFB25E004680025DD4FC9488047
0800180: 4600C74880470136361AF60038690130
0800190: 072108403861C74BF618365C381C391C
08001A0: 0831BC4B9847102E05D3330900F00AF8
08001B0: 2023023563530F23334000F003F86D08
08001C0: 2580B3BD08B5381C25F001FB08BC5B00
08001D0: 9F4400BDFDE70DE00FE011E018E021E0
08001E0: 2AE041E04DE052E058E078E096E0A3E0
08001F0: BDE0D0E0AF482030F7E0AF480022DEE0
0800200: 397A00F01EF93A2302356353797A19E1
0800210: 00F016F92E2302356353397900F011F9
0800220: 2E231DE0397900F00CF92F2302356353
0800230: 00F006F92F2313E09D490D3100F0DDF8
0800240: 2C230235635320230235635300F0F8F8
0800250: 2023023563533879954900F0CEF82023
0800260: 023563533988F9E03879112109028B31
0800270: 00F0C3F82C2363532023023563537979
0800280: E0E001BCB3BC04BC96468C4A10470130
0800290: 072800D1002004210902AFE000200921
08002A0: 7D4A9047023500F0D7F8063D00F0EAF8
08002B0: 0635202363533D23023563537A492023
08002C0: 023563530988642903D3312302356353
08002D0: 002100F0B6F825230235635300BD0120
08002E0: 03216D4A90470A210902AA31401A0021
08002F0: 0A061116401803D52D23023563534042
0800300: 00F0AAF8043D00F0BDF800F0BBF8B023
0800310: 0235635343230235635300BD381C1430
0800320: 611901600A8804B490F353FA04BC615B
0800330: 625349006D1800BD2D235C480188FF29
0800340: 00D33D23023563538179642903D33123
0800350: 02356353643900F074F8202302356353
0800360: 64230235635342230235635300BD4F48
0800370: 018800F072F82020A91F60523A230235
0800380: 63534A48023000F072F82D2302356353
0800390: 4648818862E08AB04448828843880092
08003A0: 01A845491831A9F0A8E801A8042200F0
08003B0: 05F80AB017D540BC0826F4E600B5391C
08003C0: 183104B4D4F3D7FD04BC0CD4B8690188
08003D0: 4900023000234352801800F005F8B869
08003E0: D8F396FB002000BD00B5038802300235
08003F0: 6353002BF9D1023D00BD00B54018391C
0800400: 1831264B9847381C183000210A010378
0800410: 0130002B13D0A42B11D0952BF5D00821
0800420: 962BF3D01021972BF0D038219A2BEDD0
0800430: 40219B2BEAD09B1802356353E7E700BD
0800440: 797900B50A2038F054EB303002356053
0800450: 30310235615300BD011C00B5642038F0
0800460: 48EB02B4011CFFF7ECFF02BCEAE700B5
0800470: 018827200002103038F03AEB30300235
0800480: 6053EBE700B5605B2C216153023D6053
0800490: 043500BDCB67C3A0A00024A1ED4F40A1
08004A0: 538A15A199EF69A16C0667A878CF67A8
08004B0: 97120000000180A0C00480A0071580A0
08004C0: 303A5C4D6973635C44796E50726F7669
08004D0: 6465722E746D6F00303A5C4D6973635C
08004E0: 6770735C25695C25692D25692E746D6F
08004F0: 000077A8
#pragma disable old_equal_ff
;Don't show Year (4,5,6)
;0800260: 0235 00BD
;Adjust temperature in function B by 0.1'C: 000 - TBA, 030 - TEN, 015 - (TBA+TEN)/2, -010 - TBA-1
08002EE: 00 0i015
;Don't show voltage of accum (A)
;08001E8: 58 68
;Don't show CH (E)
8001F0: BD C7
;If file in function F doesn't exist - use function 2E, not 08
;08003B8: 08 2E
;800168: 07 NP ; Profile "No patches"