Qu'est-ce que le format de fichier FAP ?
Un fichier .fap est un Flipper Application Package, une application conçue pour le multi-outil Flipper Zero fabriqué par Flipper Devices. Sous le capot, il s'agit d'un fichier objet .elf compilé pour le cœur ARM Cortex-M4 du STM32WB55, avec des métadonnées spécifiques à Flipper, une icône et des ressources regroupées dans des sections supplémentaires.
Comme le microcontrôleur du Flipper ne peut pas exécuter de code directement depuis la carte SD, l'App Loader du micrologiciel copie le .fap dans la RAM, vérifie que sa version d'API est compatible, applique les relocalisations et résout les fonctions du micrologiciel qu'il appelle avant de l'exécuter. Chaque paquet enregistre la version de l'API du micrologiciel avec laquelle il a été construit, de sorte qu'une application continue de fonctionner sur différentes versions du micrologiciel tant que la version majeure correspond. Les développeurs créent des FAPs avec le Flipper Build Tool (FBT ou le plus léger ufbt), piloté par un manifeste application.fam qui marque l'application comme externe.
Sécurité et sûreté
RISQUE : 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.
Détails du format
en bref- 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.
Programmes qui ouvrent les fichiers 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. Détails techniques
spécifications approfondies| 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. |
| Publié | 2022 |
| Dernière version | Tied to firmware API version (major.minor) |
| Spécification | developer.flipper.net |
Conversions FAP
Q&R de la communauté
posées par les utilisateursPas encore de questions - soyez le premier à poser une question sur les fichiers FAP.
Foire aux questions
Comment ouvrir un fichier .fap ?
.fap dans le dossier apps de la carte SD et lancez-le depuis Apps > External sur l'appareil.Puis-je ouvrir un fichier .fap sur mon PC ?
.fap en tant que binaire ELF avec des outils comme readelf ou Ghidra, mais il ne fonctionne que sur un Flipper Zero.Où vont les fichiers FAP sur la carte SD ?
apps de la carte microSD du Flipper. La catégorie provient du manifeste de l'application, et l'application apparaît ensuite sous Apps sur l'appareil.Pourquoi mon fichier FAP ne se charge-t-il pas sur le Flipper ?
Comment créer un fichier .fap ?
application.fam avec apptype FlipperAppType.EXTERNAL, et construisez-la avec le Flipper Build Tool (FBT) ou l'outil autonome ufbt.