Browse by type
A modern, cross-platform Samsung device flashing utility written in C++23.
mkdir build
cd build
cmake .. -G Ninja
ninja
The compiled executable will be located at build/brokkr.exe
mkdir build
cd build
cmake .. -G Ninja
ninja
The compiled executable will be located at build/brokkr
Brokkr needs read/write access to the Samsung USB device node (/dev/bus/usb/...). If your user
only has read access, Brokkr will fail with UsbFsDevice: opened read-only and the GUI will show a
popup asking you to reopen as root.
Two ways to fix it:
bash
sudo ./<Executable>
sudo. Create
/etc/udev/rules.d/51-brokkr-samsung.rules with:# Samsung VID
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0660", GROUP="plugdev", TAG+="uaccess"
Then reload:
bash
sudo udevadm control --reload-rules
sudo udevadm trigger
Make sure your user is in the plugdev group (sudo usermod -aG plugdev $USER, then log out
and back in). Replug the device after the rule is in place.
The wireless listener binds TCP port 13579 on 0.0.0.0. If your firewall blocks incoming
connections, the connection won't happen.
For ufw:
sudo ufw allow 13579/tcp
sudo ufw reload
For firewalld:
sudo firewall-cmd --add-port=13579/tcp --permanent
sudo firewall-cmd --reload
For iptables:
sudo iptables -A INPUT -p tcp --dport 13579 -j ACCEPT
Both the host and the client must be on the same network (or at least be able to route TCP to each other on this port).
Brokkr is not notarized with Apple, so the system Gatekeeper will refuse to launch it on first run and may also tag it as "damaged" after download. This is not an actual problem with the binary — it's just the quarantine attribute Safari/Finder add to anything fetched from the internet.
To clear the attribute and allow the app to run:
sudo xattr -rd com.apple.quarantine <Path to brokkr app>
(Adjust the path to the .app.) After this, Brokkr launches normally
and the warning will not return.
Alternatively, on the first launch attempt you can right-click the app, choose Open, and
then click Open in the dialog — but the xattr command is faster and removes the warning
permanently.
Not all devices are supported to be flashed in the Android version. For problematic devices, please use the Windows version instead.
This project is licensed under the GNU General Public License v3 - see the LICENSE file for details.
Copyright (c) 2026 Gabriel2392
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This tool is provided as-is for firmware flashing operations. Users assume full responsibility for:
Flashing custom firmware may void device warranties and violate terms of service. Use at your own risk.
usbfsIOKit/IOUSBLiblibusb (as of 2.4.5)$ claude mcp add brokkr-flash \
-- python -m otcore.mcp_server <graph>