libffshit/inc/ffshit
Konstantin Pereiaslov 79d0702c8e
Some checks failed
Build dev / ubuntu-noble-dev-build (push) Has been cancelled
Build dev / debian-bookworm-dev-build (push) Has been cancelled
SGOLD names in the phone's codepage
SGOLD keeps a name in the 8-bit codepage of the phone's language when the
codepage has all of its characters, and else as 0x1F followed by the name
in UTF-8, which is what the emulated CX70 v56 stored for names sent over
OBEX. Filesystem::Base::set_codepage() picks the codepage, CP1252 by
default: CP1251 for Cyrillic languages, CP1250 for Central European ones.

The SGOLD reader decodes names with it instead of returning the bytes, and
the writer encodes them the way the firmware does, so names beyond ASCII
can be written. The firmware folds the case of ASCII letters only and
hashes the stored bytes, 0x1F included. A name in another codepage than
the phone's is listed by the phone, but it cannot open it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MhNPkhMCs197RC4AQ3Nfgs
2026-09-29 21:12:43 +00:00
..
filesystem SGOLD names in the phone's codepage 2026-09-29 21:12:43 +00:00
log Разделение логики 2025-07-19 05:12:18 +03:00
partition Writing AI prototype 2026-09-29 15:39:29 -05:00
patterns игрища 2025-07-21 09:00:29 +03:00
platform Немного рефакторинга 2025-07-27 15:05:10 +03:00
ex.h Возможность извлечь повреждённую файловую систему 2025-07-05 14:53:06 +03:00
fullflash.h Writing AI prototype 2026-09-29 15:39:29 -05:00
help.h Немного реструктуризации 2025-06-14 12:02:33 +03:00
rawdata.h Writing AI prototype 2026-09-29 15:39:29 -05:00
system.h Изменение принциа логирования 2025-07-25 02:30:03 +03:00
version.h Возможность узнать версию библиотеки 2025-06-27 05:45:56 +03:00