Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 9, 2024
1 parent 49a6db5 commit 14e1abe
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;Библиотека функций
;Functions Library
;(c) avkiev
;Version: 040624
;Version: 080624
;PatchID: 10075
;Details: https://patches.kibab.com/patches/details.php5?id=10075
/*
Expand Down Expand Up @@ -183,7 +183,7 @@

0280: 0xA093EB4D ; 0A0: wsprintf(WSHDR *,const char *format,...);
0284: 0xA04FB3CB ; 0A1: wstrcpy
0288: 0xA04FADB1 ; 0A2: Unicode_GetCharByPosition
0288: 0xA04FADB1 ; 0A2: __thumb uint16_t wsCharAt(const WSHDR *ws, short pos);
028C: 0xA0568BA4 ; 0A3: __arm void ws_2str(WSHDR *ws, char *str, unsigned int size);
0290: 0xA093F611 ; 0A4: AllocWS(int len);
0294: 0xA04FAB85 ; 0A5: FreeWS_2(WSHDR *wshdr);
Expand Down Expand Up @@ -1011,6 +1011,8 @@
0F38: 0xA04FA84D ; 3CE: __thumb int wstrtolower(WSHDR *ws);
0F3C: 0xA04FA929 ; 3CF: __thumb int wstrcapitalize(WSHDR *ws);

0F40: 0xA05C4EDD ; 3D0: __thumb int ShowScreenSaverCodeProtection();


#pragma disable old_equal_ff
+0
Expand Down
21 changes: 21 additions & 0 deletions patches/E71v45/10843-using_elfs_screensavers_v1_1.vkp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
;E71v45
;Использование эльфов-скринсейверов
;Using ELFs screensavers
;(c) FIL
;Version: 1.1
;PatchID: 10843
;Details: https://patches.kibab.com/patches/details.php5?id=10843
/*
Патч для замены стандартных скринсейверов телефона на скринсейверы-эльфы.
Посмотреть реализацию эльфа-скринсейвера можно тут: [url]https://github.com/siemens-mobile-hacks/sie_crazy_saver[/url].
*/

0670C92: 9948 2000
0670C94: 88F15CEC 01F02EFF
0672AF4: 43616D41453A204170702E2063616C6C732043616D41455F A021C26810B50248024B0902984710BD09420000AB1E09A0

06710D6: 53F701FF 0020C046 ; bypass default code protection on close screensaver


;------------------------- end -------------------------

21 changes: 21 additions & 0 deletions patches/S75v52/10844-using_elfs_screensavers_v1_1.vkp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
;S75v52
;Использование эльфов-скринсейверов
;Using ELFs screensavers
;(c) FIL
;(p) Виктор89
;Version: 1.1
;PatchID: 10844
;Details: https://patches.kibab.com/patches/details.php5?id=10844
/*
Патч для замены стандартных скринсейверов телефона на скринсейверы-эльфы.
Посмотреть реализацию эльфа-скринсейвера можно тут: [url]https://github.com/siemens-mobile-hacks/sie_crazy_saver[/url].
*/

0303CFA: AA48 2000
0303CFC: E8F0BAEE 0AF020FF
030EB40: 4572726F722061742070617369635F4D6F6E6F436F6E7472 A021C26810B50248024B0902984710BD09420000942A09A0

03040FE: 9BF760F8 0020C046 ; bypass default code protection on close screensaver

;------------------------- end -------------------------

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;Библиотека функций
;Functions Library
;(c) avkiev
;Version: 150424
;Version: 090624
;PatchID: 8285
;Details: https://patches.kibab.com/patches/details.php5?id=8285
;!к патчу прикреплён файл, https://patches.kibab.com/cnt.php5?d=s75v52&f=S75sw52_Functions_library_231017.zip
Expand Down Expand Up @@ -187,7 +187,7 @@

0280: 0xA0968D75 ; A0: int wsprintf_2(WSHDR *,const char *format,...)
0284: 0xA01F77C3 ; A1: WSHDR *wstrcpy_2(WSHDR *wshdr_d,WSHDR *wshdr_s)
;288: ; A2: Unicode_GetCharByPosition
0288: 0xA01F71A9 ; A2: __thumb uint16_t wsCharAt(const WSHDR *ws, short pos);
028C: 0xA0253968 ; A3: void ws2str(WSHDR *ws, char *str, unsigned int size)
0290: 0xA0969839 ; A4: WSHDR *AllocWS_2(int len)
0294: 0xA01F6F7D ; A5: void FreeWS_2(WSHDR *wshdr)
Expand Down Expand Up @@ -1003,6 +1003,35 @@
0ECC: 0xA0303035 ; 3B3: __thumb IMGHDR *GetIMGHDRFromCanvasCache(unsigned int CanvasID);
0ED0: 0xA0902663 ; 3B4: __thumb GetDate_ws(WSHDR *ws, TDate *date, unsigned int unk);
0ED4: 0xA0902511 ; 3B5: __thumb GetTime_ws(WSHDR *ws, TTime *time, unsigned int unk);
;0ED8: ; 3B6: __arm int Obs_SetTransparent(HObj obs, unsigned int unk_3_4_5);
;0EDC: ; 3B7: __arm int sys_mkdir_ws(const WSHDR *dirname, unsigned int *err);
;0EE0: ; 3B8: __arm int sys_rmdir_ws(const WSHDR *path, unsigned int *err);
;0EE4: ; 3B9: __arm int sys_rename_ws(const WSHDR *old_name, const WSHDR *new_name, unsigned int *err);
;0EE8: ; 3BA: __arm int sys_unlink_ws(const WSHDR *path, unsigned int *err);
;0EEC: ; 3BB: __arm int sys_stat_ws(const WSHDR *path, FSTATS *stat, unsigned int *err);
;0EF0: ; 3BC: __arm int isdir_ws(const WSHDR *path, unsigned int *err);
;0EF4: ; 3BD: __arm int GetFileAttrib_ws(const WSHDR *path, uint8_t *attr, unsigned int *err);
;0EF8: ; 3BE: __arm int SetFileAttrib_ws(const WSHDR *path, uint8_t attr, unsigned int *err);
;0EFC: ; 3BF: __arm int FindFirstFile_ws(DIR_ENTRY *dir_entry, const WSHDR *mask, unsigned int *err);

;0F00: ; 3C0: __thumb int ShowWaitBox(int flags, int message);
;0F04: ; 3C1: __thumb int ShowPleaseWaitBox(int flags);
;0F08: ; 3C2: __thumb int ShowPBarBox(int flags, int message, PBAR_DESC *pbar_desc, int initial_value, WSHDR *initial_ws);
;0F0C: ; 3C3: __thumb int SetPBarValue(int gui_id, int value);
;0F10: ; 3C4: __thumb int SetPBarText(int gui_id, WSHDR *ws);
;0F14: ; 83C5: void *GetPBarProc3();
;0F18: ; 3C6: __thumb void SetHeaderScrollText(void *header, const WSHDR *title, const void *malloc_fn, const void *mfree_fn);
;0F1C: ; 3C7: __thumb void SetHeaderExtraText(void *header, const WSHDR *ws, const void *malloc_fn, const void *mfree_fn);
;0F20: ; 3C8: __arm int GetMimeType(int uid, WSHDR *mime_type, int unk_0);
;0F24: ; 3C9: __thumb int wstrncmp(const WSHDR *ws1, const WSHDR *ws2, size_t n);
;0F28: ; 3CA: __thumb int wstricmp(const WSHDR *ws1, const WSHDR *ws2);
;0F2C: ; 3CB: __thumb int wstrnicmp(const WSHDR *ws1, const WSHDR *ws2, size_t n);
;0F30: ; 3CC: __arm int PersMenuCSM_Open(const WSHDR *file_name, const WSHDR *dir, int flag, int open_mode);
;0F34: ; 3CD: __thumb int wstrtoupper(WSHDR *ws);
;0F38: ; 3CE: __thumb int wstrtolower(WSHDR *ws);
;0F3C: ; 3CF: __thumb int wstrcapitalize(WSHDR *ws);

0F40: 0xA029F1C3 ; 3D0: __thumb int ShowScreenSaverCodeProtection();

#pragma disable old_equal_ff
+0
Expand Down
10 changes: 8 additions & 2 deletions patches/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -23539,7 +23539,7 @@
"S75v52/8284-Disable_delimiters.vkp"
],
[
"S75v52/8285-swilib.vkp",
"S75v52/8285-swilib_v090624.vkp",
"S75v52/8285-S75sw52_Functions_library_231017.zip"
],
null,
Expand Down Expand Up @@ -28685,7 +28685,7 @@
],
null,
[
"E71v45/10075-swilib.vkp"
"E71v45/10075-swilib_v080624.vkp"
],
[
"EL71v45/10076-library.vkp"
Expand Down Expand Up @@ -30940,5 +30940,11 @@
],
[
"E71v45/10842-switch_off_menu_instead_of_fax_data.vkp"
],
[
"E71v45/10843-using_elfs_screensavers_v1_1.vkp"
],
[
"S75v52/10844-using_elfs_screensavers_v1_1.vkp"
]
]
28 changes: 24 additions & 4 deletions patches/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -15074,9 +15074,9 @@
"8285": {
"id": "8285",
"model": "S75v52",
"file": "S75v52/8285-swilib.vkp",
"file": "S75v52/8285-swilib_v090624.vkp",
"additionalFile": "S75v52/8285-S75sw52_Functions_library_231017.zip",
"mtime": 1713211092000,
"mtime": 1717876340000,
"title": {
"ru": "Библиотека функций",
"en": "Functions Library"
Expand Down Expand Up @@ -19133,6 +19133,16 @@
"ru": "ТЕСТ ПАТЧ",
"en": "TEST PATCH"
}
},
"10844": {
"id": "10844",
"model": "S75v52",
"file": "S75v52/10844-using_elfs_screensavers_v1_1.vkp",
"mtime": 1717874998000,
"title": {
"ru": "Использование эльфов-скринсейверов",
"en": "Using ELFs screensavers"
}
}
},
"SL75v31": {
Expand Down Expand Up @@ -91490,8 +91500,8 @@
"10075": {
"id": "10075",
"model": "E71v45",
"file": "E71v45/10075-swilib.vkp",
"mtime": 1717528016000,
"file": "E71v45/10075-swilib_v080624.vkp",
"mtime": 1717866140000,
"title": {
"ru": "Библиотека функций",
"en": "Functions Library"
Expand Down Expand Up @@ -93044,6 +93054,16 @@
"ru": "Меню 'Выключить' вместо 'Факс/данные' по горячей кнопке",
"en": "'Switch off' menu instead of 'Fax/Data' on hotkey"
}
},
"10843": {
"id": "10843",
"model": "E71v45",
"file": "E71v45/10843-using_elfs_screensavers_v1_1.vkp",
"mtime": 1717865654000,
"title": {
"ru": "Использование эльфов-скринсейверов",
"en": "Using ELFs screensavers"
}
}
},
"C81v51": {
Expand Down

0 comments on commit 14e1abe

Please sign in to comment.