Che cos'è il formato di file FAP?
Un file .fap è un Flipper Application Package, un'applicazione creata per il multi-tool Flipper Zero prodotto da Flipper Devices. Sotto il cofano è un file oggetto .elf compilato per il core ARM Cortex-M4 dell'STM32WB55, con metadati specifici per Flipper, un'icona e risorse raggruppate in sezioni extra.
Poiché il microcontrollore del Flipper non può eseguire codice direttamente dalla scheda SD, l'App Loader del firmware copia un .fap nella RAM, verifica che la sua versione API sia compatibile, applica le rilocazioni e risolve le funzioni del firmware che richiama prima di eseguirlo. Ogni pacchetto registra la versione dell'API del firmware con cui è stato creato, in modo che un'app continui a funzionare tra le varie build del firmware finché la versione principale (major) corrisponde. Gli sviluppatori creano i FAP con il Flipper Build Tool (FBT o il più leggero ufbt), guidato da un manifesto application.fam che contrassegna l'app come esterna.
Sicurezza e incolumità
RISCHIO: 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.
Dettagli del formato
in sintesi- 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.
Programmi che aprono file 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. Dettagli tecnici
specifiche approfondite| 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. |
| Rilasciato | 2022 |
| Ultima versione | Tied to firmware API version (major.minor) |
| Specifica | developer.flipper.net |
Conversioni FAP
Domande e risposte della community
chiesto dagli utentiAncora nessuna domanda - sii il primo a chiedere informazioni sui file FAP.
Domande frequenti
Come apro un file .fap?
.fap nella cartella apps della scheda SD e avvialo da Apps > External sul dispositivo.Posso aprire un file .fap sul mio PC?
.fap come binario ELF con strumenti come readelf o Ghidra, ma funziona solo su un Flipper Zero.Dove vanno i file FAP sulla scheda SD?
apps sulla scheda microSD del Flipper. La categoria deriva dal manifesto dell'app, e l'app appare quindi sotto Apps sul dispositivo.Perché il mio file FAP non si carica sul Flipper?
Come si crea un file .fap?
application.fam con apptype FlipperAppType.EXTERNAL e compilalo con il Flipper Build Tool (FBT) o lo strumento standalone ufbt.