2022-03-23 20:30:34 +00:00
# Flipper Zero Unleashed Firmware
2020-09-17 07:43:04 +00:00
2022-03-23 20:30:17 +00:00
< a href = "https://ibb.co/wQ12PVc" > < img src = "https://i.ibb.co/wQ12PVc/fzCUSTOM.png" alt = "fzCUSTOM" border = "0" > < / a >
2020-08-01 19:54:58 +00:00
2022-05-27 19:59:18 +00:00
Welcome to Flipper Zero's Custom Firmware repo!
Our goal is to make any features possible in this device without any limitations!
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
Please help us realize emulation for all dynamic (rolling codes) protocols and brute-force app!
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
### This software is for experimental purposes only and is not meant for any illegal activity/purposes. <br> We do not condone illegal activity and strongly encourage keeping transmissions to legal/valid uses allowed by law. <br> Also this software is made without any support from Flipper Devices and in no way related to official devs.
### Please use for experimental purposes only!
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
< br >
< br >
Our Discord Community:
< br >
< a href = "https://discord.gg/58D6E8BtTU" > < img src = "https://discordapp.com/api/guilds/937479784148115456/widget.png?style=banner4" alt = "Unofficial Discord Community" > < / a >
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
# Update firmware
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
[Get Latest Firmware from GitHub Releases ](https://github.com/Eng1n33r/flipperzero-firmware )
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
- Unpack `flipper-z-f7-update-(CURRENT VERSION).tgz` (or `.zip` ) into any free folder on your PC or smartphone
- You should find folder named `f7-update-(CURRENT VERSION)` that contains files like `update.fuf` `resources.tar` and etc..
- Remove microSD card from flipper and insert it into PC or smartphone
- Create new folder `update` on the root of the sdcard and move folder from archive `f7-update-(CURRENT VERSION)` into `update`
- So it should be like `update/f7-update-(CURRENT VERSION)/update.fuf` and other files, remember iOS default Files app doesnt show all files properly (3 instead of 5), so you need to use another app for unpacking or use PC or Android
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
- After all you need to insert microSD card back into flipper, navigate into filebrowser, open this file
2021-01-29 11:18:10 +00:00
2022-05-27 19:59:18 +00:00
`update/f7-update-(CURRENT VERSION)/update.fuf`
- Update will start, wait for all stages, when flipper is started after update, you can upload any custom [IR libs ](https://github.com/logickworkshop/Flipper-IRDB ), and other stuff using qFlipper or directly into microSD card
2021-01-29 11:18:10 +00:00
## With USB DFU
2020-10-23 08:42:53 +00:00
2022-05-23 18:47:24 +00:00
1. Download latest [Firmware ](https://github.com/Eng1n33r/flipperzero-firmware/releases )
2020-10-23 08:42:53 +00:00
2021-12-05 11:47:02 +00:00
2. Reboot Flipper to Bootloader
2020-11-04 09:49:35 +00:00
- Press and hold `← Left` + `↩ Back` for reset
2021-10-21 12:52:06 +00:00
- Release `↩ Back` and keep holding `← Left` until blue LED lights up
- Release `← Left`
2020-10-23 08:42:53 +00:00
2022-05-27 19:59:18 +00:00
3. Run `dfu-util -D flipper-z-f7-full-(CURRENT VERSION).dfu -a 0`
2020-10-23 08:42:53 +00:00
2022-05-27 19:59:18 +00:00
# How to Build by yourself:
2020-08-18 17:18:09 +00:00
2022-05-27 19:59:18 +00:00
## Clone the Repository
You should clone with
```shell
$ git clone --recursive https://github.com/Eng1n33r/flipperzero-firmware.git
```
## Build with Docker
### Prerequisites
2021-08-16 20:22:30 +00:00
1. Install [Docker Engine and Docker Compose ](https://www.docker.com/get-started )
2021-11-18 08:46:47 +00:00
2. Prepare the container:
2021-12-05 11:47:02 +00:00
```sh
docker-compose up -d
```
2021-08-16 20:22:30 +00:00
2022-05-27 19:59:18 +00:00
### Compile everything for development
2021-10-21 12:24:34 +00:00
```sh
2021-11-18 08:46:47 +00:00
docker-compose exec dev make
2021-10-21 12:24:34 +00:00
```
2022-05-27 19:59:18 +00:00
### Compile everything for release + get updater package to update from microSD card
2021-08-16 20:22:30 +00:00
```sh
2022-05-27 19:59:18 +00:00
docker-compose exec dev make updater_package TARGET=f7 DEBUG=0 COMPACT=1
2021-08-16 20:22:30 +00:00
```
2022-05-27 19:59:18 +00:00
Check `dist/` for build outputs.
2021-08-16 20:22:30 +00:00
2022-05-27 19:59:18 +00:00
Use ** `flipper-z-{target}-full-{suffix}.dfu` ** to flash your device.
2021-08-16 20:22:30 +00:00
2022-05-27 19:59:18 +00:00
If compilation fails, make sure all submodules are all initialized. Either clone with `--recursive` or use `git submodule update --init --recursive` .
2021-08-16 20:22:30 +00:00
2022-05-27 19:59:18 +00:00
### Flash everything with qFlipper
2021-08-16 20:22:30 +00:00
2022-05-27 19:59:18 +00:00
Connect your device and select `Update from file`
then select ** `flipper-z-{target}-full-{suffix}.dfu` **
And wait, if all flashed successfully - you can manually upload IR libs and other stuff to sd card
2021-11-18 08:46:47 +00:00
2022-05-27 19:59:18 +00:00
### Flash everything with ST-Link
2021-08-16 20:22:30 +00:00
2021-11-18 08:46:47 +00:00
Connect your device via ST-Link and run:
```sh
make whole
```
2020-08-18 17:18:09 +00:00
2020-08-15 06:59:22 +00:00
# Links
2022-01-05 16:10:18 +00:00
2022-05-27 19:59:18 +00:00
* Unofficial Discord: [discord.gg/58D6E8BtTU ](https://discord.gg/58D6E8BtTU )
* Official Discord: [https://flipperzero.one/discord ](https://flipperzero.one/discord )
* Official Website: [flipperzero.one ](https://flipperzero.one )
* Official Forum: [forum.flipperzero.one ](https://forum.flipperzero.one/ )
2021-08-08 18:03:25 +00:00
2022-01-10 19:46:20 +00:00
# Project structure
- `applications` - Applications and services used in firmware
- `assets` - Assets used by applications and services
- `core` - Furi Core: os level primitives and helpers
- `debug` - Debug tool: GDB-plugins, SVD-file and etc
- `docker` - Docker image sources (used for firmware build automation)
- `documentation` - Documentation generation system configs and input files
- `firmware` - Firmware source code
- `lib` - Our and 3rd party libraries, drivers and etc...
- `make` - Make helpers
- `scripts` - Supplementary scripts and python libraries home
Also pay attention to `ReadMe.md` files inside of those directories.