Co to jest format pliku FAP?
Plik .fap to Flipper Application Package, aplikacja stworzona dla multinarzędzia Flipper Zero produkowanego przez Flipper Devices. Pod maską jest to plik obiektowy .elf skompilowany dla rdzenia ARM Cortex-M4 układu STM32WB55, z metadanymi specyficznymi dla Flipper, ikoną i zasobami umieszczonymi w dodatkowych sekcjach.
Ponieważ mikrokontroler Flipper nie może uruchamiać kodu bezpośrednio z karty SD, moduł App Loader oprogramowania układowego kopiuje plik .fap do pamięci RAM, sprawdza, czy wersja API jest kompatybilna, stosuje relokacje i rozwiązuje funkcje oprogramowania układowego, które aplikacja wywołuje przed uruchomieniem. Każdy pakiet rejestruje wersję API oprogramowania układowego, dla której został zbudowany, dzięki czemu aplikacja działa w różnych kompilacjach oprogramowania, o ile zgadza się wersja główna (major). Deweloperzy tworzą pliki FAP za pomocą narzędzia Flipper Build Tool (FBT lub lżejszego ufbt), sterowanego przez manifest application.fam, który oznacza aplikację jako zewnętrzną.
Bezpieczeństwo
RYZYKO: MEDIUMA .fap is native ARM code that runs on the Flipper Zero, so a malicious or buggy app could misbehave on the device, though it runs in the Flipper's constrained environment and cannot infect a desktop PC by sitting on it. The main caution is that FAPs can drive the Flipper's radios and GPIO in ways that may be illegal or harmful if misused. Install FAPs from the official catalog or trusted repositories, and be aware community apps are not reviewed as strictly as official ones.
Szczegóły formatu
w pigułce- FileMaker (older ACT! / generic) - The .fap extension has occasionally appeared as an application or project file in older niche software, unrelated to Flipper Zero.
- Generic 'application package' data - Some legacy tools used .fap as an ad hoc application data file; these predate and are unrelated to the Flipper Application Package.
Programy otwierające pliki FAP
.fap to write it to the device. .fap straight from the catalog or a local file. .fap from source using ufbt or fbt fap_{APPID} targets. .fap to install it. .fap from the web catalog while the Flipper is plugged in over USB. .fap from app source using the ufbt toolchain. .fap to flash it to the device. .fap onto a connected Flipper Zero. ufbt launch or fbt fap_{APPID} to build a .fap and load it onto the device. .fap from the catalog. .fap you want. Szczegóły techniczne
specyfikacja| Encoding | Binary ELF object file |
| Byte order | Little-endian |
| Container | ELF (Executable and Linkable Format) |
| Elf Machine | ARM (Cortex-M4F / Thumb), targeting the STM32WB55 MCU on Flipper Zero |
| Code Model | Relocatable / position-independent; the App Loader processes relocations and resolves imported firmware symbols at load time |
| Symbol Resolution | Imported functions are resolved against the firmware symbol table generated from api_symbols.csv |
| Embedded Metadata | App name, icon, category, stack size, fap_version and required firmware API version stored in dedicated ELF sections |
| Resources | Static and animated images can be bundled as private assets via the fap_icon_assets manifest field |
| Build Tool | Flipper Build Tool (FBT / ufbt), configured through an application.fam manifest with apptype FlipperAppType.EXTERNAL |
| Loading | Cannot execute in place from SD card; the App Loader copies the FAP into RAM, verifies compatibility, applies relocations, then runs it |
| Typical size | A few kilobytes to a few hundred kilobytes |
| Integrity | App Loader verifies API-version compatibility before running; no separate CRC/hash in the file itself |
| Platforms | Flipper Zero firmware (FreeRTOS-based) |
| Structure | Standard ELF layout (ELF header, program/section headers, .text/.data/.rodata, relocation and symbol tables) plus custom sections carrying Flipper app manifest data and icon assets. |
| Notes | FAPs are not tied to one firmware build; compatibility is decided by the required API version embedded in the file. Distributed through the official Flipper Apps catalog (lab.flipper.net), the Flipper mobile app, and community repositories. |
| Wydano | 2022 |
| Najnowsza wersja | Tied to firmware API version (major.minor) |
| Specyfikacja | developer.flipper.net |
Konwersje FAP
Pytania i odpowiedzi społeczności
pytania użytkownikówBrak pytań - bądź pierwszą osobą, która zapyta o pliki FAP.
Najczęściej zadawane pytania
Jak otworzyć plik .fap?
.fap do folderu apps na karcie SD i uruchom go z Apps > External na urządzeniu.Czy mogę otworzyć plik .fap na moim komputerze PC?
.fap jako binarny ELF za pomocą narzędzi takich jak readelf lub Ghidra, ale działa on tylko na Flipper Zero.Gdzie trafiają pliki FAP na karcie SD?
apps na karcie microSD Flipper. Kategoria pochodzi z manifestu aplikacji, a aplikacja pojawia się następnie w menu Apps na urządzeniu.Dlaczego mój plik FAP nie ładuje się na Flipperze?
Jak utworzyć plik .fap?
application.fam z typem apptype FlipperAppType.EXTERNAL i zbuduj ją za pomocą Flipper Build Tool (FBT) lub samodzielnego ufbt.