O que é o formato de ficheiro FAP?
Um arquivo .fap é um Flipper Application Package, um aplicativo desenvolvido para a multiferramenta Flipper Zero fabricada pela Flipper Devices. Tecnicamente, é um arquivo de objeto .elf compilado para o núcleo ARM Cortex-M4 do STM32WB55, com metadados específicos do Flipper, um ícone e recursos agrupados em seções extras.
Como o microcontrolador do Flipper não pode executar código diretamente do cartão SD, o App Loader do firmware copia um .fap para a RAM, verifica se a versão da sua API é compatível, aplica realocações e resolve as funções de firmware que ele chama antes de executá-lo. Cada pacote registra a versão da API do firmware com a qual foi compilado, de modo que um aplicativo continue funcionando em diferentes versões de firmware, desde que a versão principal (major) coincida. Os desenvolvedores criam FAPs com a Flipper Build Tool (FBT ou a versão leve ufbt), orientada por um manifesto application.fam que marca o aplicativo como externo.
Segurança e proteção
RISCO: 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.
Detalhes do formato
em resumo- 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.
Programas que abrem arquivos 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. Detalhes técnicos
especificação profunda| 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. |
| Lançado | 2022 |
| Versão mais recente | Tied to firmware API version (major.minor) |
| Especificação | developer.flipper.net |
Conversões de FAP
Perguntas e Respostas da Comunidade
perguntado por usuáriosAinda não há perguntas - seja o primeiro a perguntar sobre arquivos FAP.
Perguntas frequentes
Como faço para abrir um arquivo .fap?
.fap para a pasta apps do cartão SD e inicie-o em Apps > External no dispositivo.Posso abrir um arquivo .fap no meu PC?
.fap como um binário ELF com ferramentas como readelf ou Ghidra, mas ele só funciona em um Flipper Zero.Para onde vão os arquivos FAP no cartão SD?
apps no cartão microSD do Flipper. A categoria vem do manifesto do aplicativo, e o aplicativo aparece em Apps no dispositivo.Por que meu arquivo FAP não carrega no Flipper?
Como faço para criar um arquivo .fap?
application.fam com apptype FlipperAppType.EXTERNAL e compile-o com a Flipper Build Tool (FBT) ou o ufbt independente.