Giter Site home page Giter Site logo

flipflop's Introduction

hackerman-flipper


Flipper Scripts & Writeups

Just shitposting useless tools that are useful for me, maybe for others as well ¯_(ツ)_/¯

Tools

patcher.py

patch custom firmwares to preserve my own custom tweaks after flashing.

Currently supports:

  • Patching the name of the dolphin in the firmware.
  • Patching the points of the Flappy Bird game in the firmware.
  • Building the firmware with custom arguments.
python patcher.py -p <path_to_firmware> -f <firmware_type> -b -a <build_args>

levelup.py

patch .dolphin.state file to increase icount (xp) and level up the Flipper Dolphin levels

hacking-the-hackers-tool-pwning-flipper-zero

python dolphin_state_patcher.py <file_path> <xp_value>

/etc/

  • bytes.py - Convert num to bytes little endian etc.

Writeups

hacking-the-hackers-tool-pwning-flipper-zero

Cheatsheet & tips

Building Firmware

Compile everything for development

./fbt FIRMWARE_APP_SET=debug_pack updater_package

Compile everything for release + get updater package to update from microSD card

./fbt COMPACT=1 DEBUG=0 updater_package

Check dist/ for build outputs.

Use flipper-z-{target}-update-{suffix}.tgz to flash your device.

Updating Firmware

Replace (CURRENT VERSION) with version that you downloaded from releases

  • 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 (you can skip this step and upload all files using qFlipper)
  • Create new folder update on the root of the microSD card and move folder that you previously extracted from archive - f7-update-(CURRENT VERSION) into update on microSD card
  • So result should look like update/f7-update-(CURRENT VERSION)/ with all files in this folder on microSD card, remember iOS default Files app doesn't show all files properly (3 instead of 6), so you need to use another app for unpacking or use PC or Android
  • Verify that all files are present on your microSD card
  • After all you need to insert microSD card back into flipper, navigate into filebrowser, open this file update/f7-update-(CURRENT VERSION)/update.fuf
  • Update will start, wait for all stages
  • Done manual

source

flipflop's People

Contributors

noypearl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.