r/hardwarehacking • • 4h ago

My First Time Posting Here - Would it be possible to unlock an iPhone that belonged to someone else?

0 Upvotes

I just bought a decent iPhone online, it's a 7 and I'm stuck at the screen that states "iPhone Locked To Owner". Mind you the seller who sold me it wasn't the original owner so I can't contact them for unlocking it. Is there anyway I can just unlock it via phone number cheat codes, soldering, etc? I have already done a factory reset.


r/hardwarehacking • • 6h ago

DW-H5600-EMU

Thumbnail
gallery
0 Upvotes

CasioLab — DW-H5600-EMU: What Actually Works
I’m developing DW-H5600-EMU, an independent emulator and reverse-engineering platform for the Casio G-SHOCK DW-H5600.
The project already has several working components and verified protocol-analysis capabilities.

  1. Hardware and Emulator

  • Functional ESP32-S3 emulator with a 3.5-inch touchscreen.

  • Touch interface and display system.

  • Raspberry Pi hosting the main DW-H5600-EMU software engine.

  • Hardware/software architecture for protocol analysis and simulation.

  1. Bluetooth and GATT

  • BLE communication analysis.

  • Casio service UUID identification.

  • 8 confirmed Casio service UUIDs.

  • 5 services and 14 characteristics identified in the APK analysis.

  • ATT handle mapping and protocol investigation.

  • HCI event analysis and connection-state tracking.

  • Bluetooth command identification and classification.

  1. LifeLog — Activity Data

  • LifeLog synchronization state machine.

  • LifeLog synchronization dialogue analysis.

  • 122 LifeLog-related entries in the analyzed capture corpus.

  • Header timestamp behavior confirmed for a full day.

  • LifeLog slot 0x50 identified and confirmed.

  • Energy data class 0x51 identified; payload interpretation still in progress.

  • Data structure and synchronization sequence investigation.

  1. All Features

  • 24 All-Features classes identified.

  • 40 commands catalogued.

  • Handler architecture investigated.

  • Android application methods and BLE operations being mapped.

  • ATT command and response analysis.

  1. Protocol Verification

  • 5 BTSnoop captures and 5 ATT CSV datasets.

  • 408 ATT blocks identified.

  • CRC verification: 121 of 122 copies verified.

  • Real device addresses and connection behavior documented.

  • HCI event counters reproduced and cross-checked.

  1. Nordic DFU

  • Nordic bootloader public-key extraction.

  • ECDSA P-256 signature verification.

  • All analyzed DFU init-packet signatures verified successfully.

  • Reusable verification tooling implemented.

Current Development Goals

  • Complete LifeLog decoding, including energy data.

  • Complete the handler → method → characteristic → operation mapping.

  • Improve BLE emulator interoperability.

  • Reproduce more DW-H5600 synchronization operations.

  • Investigate configurable sensor intervals and power-saving modes.

  • Explore language selection and additional user-requested features.

Important: Protocol analysis, signature verification and emulator functionality are separate achievements. Not every analyzed operation is yet implemented or reproduced on the physical watch.
The goal is to build a functional, extensible DW-H5600 emulator and eventually provide features that the original software does not expose.
CasioLab | DW-H5600-EMU

I’m working on CasioLab – DW-H5600, a reverse-engineering project aiming to bring new features and improvements to the G-SHOCK DW-H5600.
My goal is to potentially integrate features that many users have been requesting:

  • 🇫🇷 Language selection: switch the watch interface language, including French.

  • ⚡ Quick ECO Mode: enable or disable power-saving mode with a single button.

  • ❤️** Heart-rate contr**ol: completely disable heart-rate monitoring or customize measurement intervals (5, 15, 30 or 60 minutes).

  • 🩺 Sensor scheduling: configure heart-rate, SpO₂ and sleep monitoring according to personal needs.

  • 🌙 Automatic ECO scheduling: automatically activate power-saving mode at night or during selected hours.

  • 🔋 Battery optimization: create Normal, ECO and Ultra ECO profiles.

  • 🎛️ Quick settings: customize shortcuts and assign functions to physical buttons.

  • 📱 Application improvements: better battery information, sensor settings, activity management and customization.

The idea is to give DW-H5600 owners more control over their watch, improve battery life and make everyday use more flexible.
These features are currently being investigated, not guaranteed. I’m reverse-engineering the Bluetooth communication, application and firmware to determine which functions can actually be implemented.
I’d also like to hear from DW-H5600 owners: What features would you most like to see added?
CasioLab — DW-H5600 Reverse Engineering & Feature Development.


r/hardwarehacking • • 10h ago

I have a Windows on ARM port running on two MediaTek phones. What's the best way to release it so others can contribute?

Thumbnail reddit.com
2 Upvotes

r/hardwarehacking • • 13h ago

I built a small open-source Ethernet field tester for quick switch-port diagnostics

Thumbnail gallery
9 Upvotes

I work with networked equipment in the field, and sometimes troubleshooting starts with very basic questions:

  • Is the Ethernet link actually up?

  • Which switch and port am I connected to?

  • Is DHCP working?

  • Can I reach the gateway?

I don't always want to pull out a laptop just to answer those questions.

So I built Syndetis, a small, battery-powered Ethernet diagnostic prototype based on an ESP32 (WT32-ETH01).

What it currently does:

  • Link status: Reports link up/down, negotiated 10/100 Mbps speed, and duplex.

  • Switch discovery: Passively listens for LLDP/CDP advertisements and displays available switch identity, port, and VLAN information.

  • DHCP: Requests a lease and displays the assigned IP, subnet, gateway, and DNS servers.

  • Manual IPv4: Allows temporary static addressing with ARP conflict detection.

  • Connectivity testing: Pings a gateway or specified IPv4 address, showing latency and packet loss.

  • Field interface: Uses a small OLED and three buttons, with an optional local Wi-Fi dashboard accessible from a phone.

One design decision was to keep IPv4 diagnostics explicitly user-initiated. I can connect to a switch port and check physical link status and LLDP/CDP information without automatically requesting a DHCP lease.

Network tests can be stopped and repeated when moving between ports, without rebooting the device.

It's not intended to replace a cable certifier, PoE tester, or professional network analyzer. The goal is simply to handle quick, targeted checks when working at cabinets, racks, or remote installations.

The last hardware-tested firmware is v0.5.2, and the project is open-source under the MIT license.

GitHub: https://github.com/theo79/Syndetis

For those doing field networking work, I'd be interested in hearing about edge cases or limitations you've encountered with small Ethernet diagnostic tools.


r/hardwarehacking • • 14h ago

ESP32 Bus Pirate 1.0 - A Versatile Hardware Hacking Tool for All Protocols - Digital and Radio Standards - Updated Features - New Devices

Post image
5 Upvotes

r/hardwarehacking • • 14h ago

Reverse-engineered and cloned a 2.4 GHz lamp remote with an ESP32, an nRF24 and a CC2500

Thumbnail
gallery
58 Upvotes

Second-hand ceiling lamp (Lindby Velua), 8-button remote, PCB marked YM-2.4G-B: one unmarked SOP16, a 16 MHz crystal and a meander antenna. No app, no hub, nothing online about it. I wanted it in Home Assistant, so I cloned the remote with an ESP32-S3. No SDR or logic analyser, and I didn't solder on the remote since it's the only one I have.

Finding the signal. nRF24L01+ in promiscuous mode got me to 2-FSK, 250 kbps, hopping 2402/2448/2479 MHz, with B9 A1 99 0D BF 29 in every packet. Using B9 A1 99 as the nRF24's address gave clean 17-byte frames.

The rolling code that wasn't. Every press looked different, so I assumed a rolling code. After logging 30 presses it was an 8-state counter in a fixed order. Sending the same frame three times toggled the lamp three times, so the receiver doesn't check it at all. XORing frames showed the whole frame is linear over GF(2), so it's a CRC-style scramble, not crypto. Each button's press frame is the on/off frame XOR a fixed 17-byte mask, which is the same at every counter state.

The wall. I built a transmitter with a CC2500 + CC2591 PA (VT-CC2500PA-S2). Checked with the nRF24, my packets were identical to the remote's, bit for bit. The lamp reacted about 1 press in 3. More power made it worse.

Going through the registers I found MCSM1 = 0x32 (TXOFF_MODE = stay in TX) where I meant 0x31. So the radio sat in TX between packets and every packet waited out a timeout. That was a real bug, and fixing it got me clean 849 µs packets with no underflows. Still 1 in 3.

The actual problem. An RTL-SDR doesn't reach 2.4 GHz and I don't have a HackRF. But it hit me that both my receivers only ever showed me bytes after a sync word match. I had never seen what the remote sends before B9 A1 99.

So I put the CC2500 in RX with no sync word, free-running, dumping 48-byte windows, and had the ESP32 search for B9 A1 99 at every bit offset. 189 packets in 4 seconds, and the bits in front were the same every time:

remote:  10101010 11001100 11001100 11001100 11001100 | B9 A1 99 | frame
mine:     1001100 11001100 11001100 11001100 11001100 | B9 A1 99 | frame

The remote sends an AA preamble and mine never did, so the lamp's receiver only locked on when it got lucky. The same capture gave the real timing: 1245 µs between packets, three per channel, ~11.7 ms per hop cycle. After adding AA AA AA AA and matching the timing, every press works, through walls. Removing the preamble brings the misses straight back.

Cheaper radios didn't work. An nRF24 and an A7105 sending the exact same packet and timing were both ignored. My guess is the remote's deviation (around ±250 kHz) is too wide for them. The A7105 also never decoded the remote, although its RSSI scan saw it.

One quirk I can't explain: on each channel the second packet is garbled from byte 9 onwards, on both nRF24 and CC2500, about half of all packets. The lamp doesn't care. Firmware bug in the remote?

Lessons: packet-mode radios hide the preamble and sync. Matching bytes after sync doesn't mean the transmission matches. And when tuning stops helping, build a way to measure instead.

It's my own lamp and remote. The lamp doesn't authenticate anything, so I keep the TX power low.

The code, protocol notes and logs are open source in my GitHub repo (lindby-velua-rf-bridge), and I'm happy to link it if anyone wants it.

Does anyone recognise the unmarked SOP16 (photos 1–2)? With a 16 MHz crystal, 250 kbps FSK and wide deviation, I'd love to know what it actually is.


r/hardwarehacking • • 20h ago

How much can you actually be certain of when debugging at the firmware/hardware level?

1 Upvotes

Coming from software, I'm used to well-defined standards and protocols. If a server returns a 404, I can be confident that, almost always, it means exactly what the HTTP spec says it means.

Lately I've been getting more hands-on with my own hardware and tinkering with electronics, and I've noticed there's no equally clear mapping between the signals the hardware gives you (POST codes, a fan that won't spin, and so on) and what they actually mean or what you can safely infer from them.

Where does that certainty come from in the hardware world, if anywhere? How do experienced people decide which signals they can trust besides just trying out a suspcious piece of hardware in a new system?


r/hardwarehacking • • 21h ago

Bricked a Smartlink SL6801 ("Jointbees" / Amazon "Cason" MP3) after an interrupted flash - need the mask-ROM boot strap to reach 301A:2800

2 Upvotes

Generic Amazon "Cason" MP3 player (Smartlink SL6801, 2 MB flash inside the SoC package).

What happened

  1. Dumped the full 2 MB over USB twice (byte-identical), built a .up package and verified it against the dump.

  2. Wanted album art, so I used dbrant/SL6801_player (built for yp3_2.0.43, a different model of the same family) to build an image, and wrote it with smartlink_flash starting at offset 0.

  3. The transfer died at [TODO: how far - bytes or offset, or unknown]. Since then: no USB device of any kind. Pressing Home makes the screen flicker, then it goes black [TODO: confirm].

An interrupted 2 MB write left the app partition corrupt. Now: black screen, nothing enumerates on USB. I need the mask-ROM USB download mode (301A:2800) to restore my backup, but no button combo triggers it. Looking for the boot-strap pin/pad on this board, or anyone who has recovered one.

Hardware

  • Player: Amazon "Cason" 16 GB MP3 player (the 16 GB is the bundled microSD; the brand is a sticker)

  • Board: silkscreen T90198-MP01-V2

  • SoC: marked "Jointbees MP3", QFN-48 [TODO: verify pin count], Smartlink SL6801 family (the string SL6801 is in the bootloader)

  • Flash: 2 MB inside the SoC package. No external SPI flash, so no clip or programmer route

  • Firmware: yp3_2.0.44

  • Other: [TODO: display type, confirm], microSD, USB-C, 5 buttons, small LiPo

  • USB IDs: card reader 301A:2801 "SMTLINK CARDREADER 1.00"; ROM bootloader 301A:2800 "SMTLINK DEVICE 2.00"

Flash layout from my dump:

0x00000   HLKJ header + bootloader (to ~0xC94C)
0x0D000   partition table
0x0E000   FIRM (~1.6 MB)
0x1A3000  TONE
0x1FC000  PSMP

Current state

Observed: nothing enumerates on USB (monitored with [TODO: dmesg -w / other tool], including the first second after plug-in). Screen flickers on Home, then black.

My reading (inferred, I can't read flash back now): the bootloader is still stock and running, and FIRM is corrupt. Basis: [TODO: what you checked, e.g. HLKJ header entry point, code offset, size, CRC16 recomputed and matching; how you know the transfer didn't overwrite 0x0-0xE000]. Please challenge this if you think the boot region could be damaged.

Boot path analysis (Ghidra + Capstone)

  • The bootloader picks its mode from a 3-bit value in the on-chip PMU registers (0x40085000): bit 0 of reg 0 plus bits 7:6 of reg 0x23. 6 = SD update (opens 0:\update.up and rewrites flash), 7 = update from PC over USB, anything else = normal boot.

  • Only software sets that value (the app's "firmware update" routine). With FIRM dead, nothing can set it.

  • I walked every instruction reachable from the reset vector. It never reads a button, GPIO input, or strap. It only touches the PMU, NVIC/SysTick, and GPIO writes for SD pin setup.

  • The SD updater has one call site, inside the mode == 6 branch. There's no "firmware broken, try the card" fallback. When loading FIRM fails, it prints an error over UART only (I can't reach it) and spins with interrupts off.

  • Mask ROM (per [TODO: link to the ROM-dump writeup, or delete this bullet]): it reads GPIO port 3 pin 0 at reset (active low). If low, it briefly waits for a USB host and shows up as 301A:2800. If the flash header/CRC is invalid, it stays in download mode.

What I tried

  1. update.up on the SD card (correct name and size). Nothing, which makes sense since the mode flag is never set.

  2. Each of the 5 buttons held on its own from a fully unpowered state (battery disconnected, USB out), then USB plugged in while still holding. Nothing.

  3. A few button pairs. Nothing.

  4. USB enumeration watched throughout. No device appears, not even briefly.

  5. Button wiring check: 4 of the 5 buttons share one analog ADC key ladder (there's a labelled ADC test pad), and only the center/power button is a plain GPIO line.

Questions

  1. Which button or pad is wired to the boot-strap pin (P3.0?) on SL6801 / "Jointbees" / T90198-MP01-V2 boards? Is it the center/power key, and does it have to be low at power-on reset rather than at USB insertion? My battery is disconnected during tests, so reset = USB plug.

  2. Is there a dedicated test pad on the back? The front has labelled pads for 5V, DM, DP, GND, ADC only. I haven't mapped the back yet.

  3. Does anyone know the UART TX pad? The bootloader prints its failure message there.

  4. Any other way to force ROM download mode (VBUS/D+ timing, a short-while-plugging trick)?

  5. Has anyone actually recovered one after a bad write? Even "it was button X" helps.

What I can share

Full 2 MB stock dump with checksums and layout, my annotated disassembly notes for the boot decision and the SD updater, the .up package, photos of both sides of the board. I also have an ESP32 and basic bench tools, so I can drive pins, sniff UART, or power-cycle under software control.

The mistake was mine: I flashed from offset 0 without first confirming how to reach ROM mode. I'm not after a lecture, just a way back to stock. Thanks!


r/hardwarehacking • • 1d ago

Need help booting into recovery mode on a automotive board without recovery button

Post image
45 Upvotes

This is a headunit board of mercedes i can’t find any resources on how to boot into recovery mode RCM.

These are better higher quality picture of the front and back

https://imgur.com/gallery/hu6-board-x0pHj9l


r/hardwarehacking • • 1d ago

I emulated a Realtek Smart TV SoC in QEMU and booted full Android TV 9

Thumbnail
github.com
45 Upvotes

I reversed a TCL Smart TV board (Realtek RTD2841 / RTK284x SoC, AArch32) with no public datasheets and wrote a custom QEMU machine model to boot its commercial Android 9 Pie firmware.

I just reached the milestone where the full 1080p launcher boots and can be navigated with a host mouse and IR remote.

The big hurdles I had to solve:

  1. Hardware Timer Reversal Realtek's timer registers count down, breaking Linux's monotonic sched_clock. I patched the QEMU model to expose limit - count

  2. Freestanding PID 1: Built mini_init in pure ARM32 syscalls without glibc to manage Android cgroups, permissions, and bypass crashing OEM telemetry daemons.

  3. Mali GPU Replacement**: With no proprietary GPU drivers, I debloated the ROM and bound ARM32 Google SwiftShader so SurfaceFlinger could render the entire desktop on the CPU.

  4. Native Input: Added a virtual USB OHCI controller and mapped Venus IR scancodes for direct mouse and keyboard navigation in the host window.

Demo video is in the repo:


r/hardwarehacking • • 1d ago

I turned a 2007 Nokia N810 (128 MB RAM) into an off-grid APRS, CW, and Reticulum/LXMF field terminal with a reverse-engineered GPU driver

Thumbnail reddit.com
0 Upvotes

r/hardwarehacking • • 1d ago

Fixing an impact-damaged Samsung QD-OLED from inside its panel controller: per-lane skip flags and scan-time sensing gains over the TCON's internal USB service link

Post image
0 Upvotes

r/hardwarehacking • • 1d ago

Fixing an impact-damaged Samsung QD-OLED from inside its panel controller: per-lane skip flags and scan-time sensing gains over the TCON's internal USB service link

Thumbnail
gallery
3 Upvotes

TL;DR: Impact damage on my Samsung S95F 77" QD-OLED caused (1) a blackout / controller-reset loop, every 46–51 s at worst, and (2) a dark 6-column line. Both are fixed from the TV's own Linux side by talking to the panel controller (TCON) over its internal USB service link. RAM writes only, nothing flashed by me. Blackouts: set the controller's own per-lane skip bit for lanes 540–661, re-applied on every controller boot (24/24 boots clean). Line: lower the damaged columns' sensing gain at the moment the controller wakes for the standby compensation scan, so the TV's own scan computes and saves a proper boost. Code (Python on a server + C# helpers run on the TV's .NET) and docs on GitHub. Before/after: images 1–2.

Prerequisite: root access. Both TV-side fixes require a working root shell on your own TV. Use the S95F rooting toolkit and its root setup guide, then verify your TV root session. Firmware decryption is not required for either fix.

Hobby project on my own TV, nothing for sale. Writing to the panel controller can brick a TV and voids the warranty.


The access path (image 3)

  • The TCON hangs off the main SoC on an internal USB link: 04e8:2001, interface 2, bulk OUT 0x02 / IN 0x82. As root on the TV it opens through usbfs. No extra hardware, no firmware mods.

  • Each request is a 12-byte little-endian header (op, address, length), plus data for a write:

OpDoes
0x101read RAM / registers
0x1read the ID block
0x103read storage (flash); read-only for us
0x102write one 32-bit word to RAM
  • The link isn't clean: under long bulk write runs it lost ~1 write in 3,600. So every write is one word, in five steps: status block 0x47012400 must be Clean (stop 0, fault 0, gate 1, limit 40) → read and compare the old value → bounds compiled into the helper → write → read back (mismatch = restore). The first write on any setup is an identity write.

  • Tooling: Python on a home server reaches a root shell on the TV and stages a small C# helper that runs on the TV's own .NET runtime. The helper does the USB transactions and returns a receipt.

Bug 1: the blackout loop (image 4)

  • While the picture is on, the controller runs a per-lane sensing consistency check (RT Protect). 24 lanes failed, all within ~554–649, which is the damaged area.

  • Failing lanes push a fault score: 0 → 38 → 44 against a limit of 40. Over the limit the controller stops the picture and raises its error line; the main board's monitor resets the controller, it re-enumerates on USB, and fails again.

  • The primary lane table has a per-lane skip flag (bit 0). Lanes 540–661 = 122 halfwords at 0x47010438–0x4701052A, RAM only.

  • RAM clears on every controller power-up, so a watcher service tracks boot id and USB devnum, reads and classifies the controller (Clean, Quiescent, Faulted, first scan after power-on), writes the 122 bits and requires an exact read-back. A separate first-scan writer ignores six free-running scan-counter bytes when it compares two reads. 24/24 boots clean.

  • Optional recovery for an already-faulted controller: switch the TV to its own Apps home (stock input_keyevent, focus checked after every key), then one stock controller power cycle through the TV driver (/dev/tztv_tcon, ioctl 0xc010749f, payload 41, 2, 0, 0). Budget: 3 per hour, 6 per day.

  • Trade-off: that one check is off for those lanes. Current monitoring and panel power control are untouched.

Bug 2: the dark line (image 5)

  • In standby the TV runs a sensing scan and builds per-column compensation from it. The firmware only ever adds drive, and only to columns that read weak. The damaged columns' stored sensing result read far too high, so they got nothing.

  • Fix: lower the per-column sensing gain (a per-lane 32-bit word holding two 16-bit column halves) just for the scan. A scan-arm helper waits for the controller's USB device to appear when it powers up for the scan, waits until the gain table is loaded and the controller is Clean, writes, reads back, then logs the scan stage every 50 ms. Hard bounds: lanes 600–660 only, halves 8000–26000, at most 8000 change per write, ×0.65-of-stock floor.

  • The scan then stores a result that reads those columns as weak, the TV's own save writes it to storage, and the live compensation is built from it at every power-on. The next stock scan would overwrite it, which is the rollback path.

  • 11 calibration runs to converge. Two runtime trims on top (a second gain stage on lanes 627–630, and the blue compensation weight 205 → 820), re-applied after each controller boot.

  • Dead ends: the blue curve tables (panel-wide only; one write faulted the controller) and editing raw blue samples mid-scan (worked, but with 1 write in 3,600 lost it isn't reliable).

Results

Links

Ask away about the protocol or the controller internals.


r/hardwarehacking • • 2d ago

Please help to crack this jio stb jsmd200a.

Thumbnail
reddit.com
1 Upvotes

r/hardwarehacking • • 2d ago

Copying Garage Button Fob

Thumbnail reddit.com
1 Upvotes

r/hardwarehacking • • 2d ago

My digital photo frame keeps trying to access this website and xfinity is stopping it. Any concern?

Post image
104 Upvotes

Too scared to go to the website to see what it is. Any advice? I will link the frame in the comments.


r/hardwarehacking • • 3d ago

reverse engineer phone

0 Upvotes

Hi, so i don't know too much about this, but i wanted to ask, how hard is it to reverse engineer a blackberry z10 stl-100 1 in it's entirety so i can put some different os like linux on it? it's got some omap4470 processor i think

take care yall


r/hardwarehacking • • 3d ago

What fun thing can I do with this?

Thumbnail
gallery
12 Upvotes

A family member gave me 2 of these cheap smartwatchs, I don't really use them, but I also don't want to throw them away, so I want to know what kind of fun projects I can do with them.


r/hardwarehacking • • 3d ago

Esp32c3 supermini

1 Upvotes

Esp32c3 usb aygıtı tanınmadı hatası alıyorum bunu nasıl kullanılabilir hale getirebilirim yardım edim


r/hardwarehacking • • 4d ago

Selling cyber deck uconsole

Thumbnail gallery
11 Upvotes

r/hardwarehacking • • 4d ago

DVR8302 Gate driver simulation

Thumbnail reddit.com
0 Upvotes

I'm working on 3 phase inverter , and i have problem with simulation because TI don't add a spice file so i need method to add dvr8302 ic into my simulation


r/hardwarehacking • • 4d ago

Attempting to emulate Microsoft Mediaroom from an AT&T Uverse box

Thumbnail reddit.com
0 Upvotes

So I've been at this since 2024. It all started with Dish and DirecTV, but I quickly grew bored, what can i say, beyond recovering the recordings there’s not much exciting about satellite boxes beyond the fact that they run on MIPS, Linux, and VxWorks.

The whole "install a desktop os the boxes and make the worlds most cursed file server!" idea quickly backfired because i realized the bootloader is almost certainly locked, the nand is ancient, the hdd's are even older, and it runs at the speed of smell with the RTOS's or linux distro that's on it already. (interestingly enough directv and dish appear to use GPT, as you can slap in 2TB + drive and it'll happily format on the fly (this is an assumption based off of observed behavior)

Regardless,

You might be wondering, why bother with a middleware platform that’s been sold and sunset twice? The honest answer: curiosity and boredom. I wanted to tackle something completely absurd. Seeing the Sonic POS and McDonald’s POS systems running on consumer hardware was both fascinating and hilarious. I boldly assumed, “Sure, just recreate the processor in C# how hard could it be?” After all, VMware, VirtualBox, QEMU, and Bochs do similar things.

What began as a simple shim to run the software on Windows led me to discover MIPS... specifically the R4000 and BCM MIPS 5000 (If its not mips it wont flips 😂). And now, here I am, asking for help on something utterly cursed, certain that many of you have encountered even stranger projects, like running Doom on a light bulb or a receipt printer. Either way, I’ve hit a wall.

(I got another one, if its MIPS it Ships!.)

If you made it this far, congrats and welcome aboard to the "Why, why ,why, WHY?!" ship.


r/hardwarehacking • • 4d ago

I reverse-engineered a cheap AI badge so you can put any AI in it

Thumbnail
github.com
0 Upvotes

r/hardwarehacking • • 4d ago

I built an open-source tool that turns a USB capture of a Windows-only gadget into a protocol report and a Linux driver

4 Upvotes

I kept buying hardware (case LCDs, RGB controllers, fan hubs) that only works with a Windows vendor app, and doing the same reverse engineering by hand every time: capture with USBPcap or usbmon, stare at hex, diff packets, guess which byte is the fan speed and which one is a counter or CRC.

So I built usb-rea to automate the boring part. You capture traffic while you use the vendor app, mark what you did ("set fan to 40%", "set color red"), and it infers the command structure: constant headers, counters, value fields, lookup tables and checksums (it brute-forces common CRC variants). The output is a Markdown protocol report plus a standalone pyusb driver you can run on Linux.

How I checked it without guessing: I run it on public captures of devices whose protocol is already documented. On NZXT Kraken X captures it recovers the same fan command liquidctl sends, byte for byte, and the generated driver builds correct packets for values that never appeared in the capture. There is also a lookup command that checks a VID:PID against about 270 devices that already have an open-source Linux implementation, so you don't redo work someone already did.

It is MIT licensed, pip install usb-rea. It also runs as an MCP server if you want an LLM client to drive the analysis, but the CLI works on its own.

Repo: https://github.com/emirmrkaljevic/usb-rea

Limits, honestly: it is alpha. Linear value fits have to survive a leave-one-out cross-check, otherwise it falls back to a lookup table and says so, and a matching USB ID alone does not prove your unit speaks the same protocol. I would love captures or feedback from devices where it gets things wrong.