Player Has Claude Reverse Engineer Xbox 360 Kernel to Write Driver for New Controllers

Claude reverse-engineered the Xbox 360's undocumented low-level USB to write a kernel-level wireless controller driver and fix a deadlock on its own.
A player used Claude (via Cloud Code) to develop a kernel-level driver letting Microsoft's new Xbox controllers connect wirelessly to the 20-year-old Xbox 360—four controllers at once, with rumble and Guide button working. The challenge: the Xbox 360's USB subsystem was never documented by Microsoft, so Claude analyzed it segment by segment with reverse-engineering tools and ported pairing and encrypted handshake logic from a Linux open-source driver. After completion, a deadlock caused the Guide button to freeze the console; Claude autonomously traced it to the input thread and system UI call "waiting on itself" and fixed it by moving the call to another hardware thread. The human author only handled plugging in the receiver, rebooting, and reporting screen info, distilling three tips: give AI logs, enforce strict compilation, and cooperate physically. The code is open-sourced, sparking discussion about using AI to reverse engineer closed legacy devices.
A modded-console enthusiast had the AI model Claude (via Cloud Code) write a driver that lets Microsoft's new Xbox controllers connect wirelessly to the 20-year-old Xbox 360 console. Four new controllers can connect to the old console simultaneously over wireless, with rumble and the Guide button working properly. What makes this difficult is that the low-level USB portion of the Xbox 360 system was never publicly documented by Microsoft, and Claude used reverse-engineering tools to read through it bit by bit.
Reverse Engineering: From Zero Documentation to a Working Driver
According to a video sharing this case on Bilibili, the hardest part is the Xbox 360's low-level system. Microsoft never publicly documented this part, especially the implementation details of the USB subsystem. With no existing reference available, Cloud Code could only use reverse-engineering tools to analyze the undocumented USB portion segment by segment.

On this basis, it ported the pairing and encrypted handshake logic from an open-source driver on Linux, ultimately writing a program that runs in the system kernel. This means the driver isn't an external layer running in user space but is embedded directly in the console's kernel, which imposes higher demands on stability and compatibility.
The difference between kernel-level and user-space drivers: Drivers can be divided by where they run into user-space and kernel-space. A user-space driver runs at the privilege level of an ordinary application; when it fails, at worst the process crashes and the system can still recover. A kernel-space driver runs directly in the operating system's kernel space with the highest privileges, so once a null pointer, deadlock, or out-of-bounds memory access occurs, the system may freeze at best or blue-screen or fail to boot at worst. Kernel driver development therefore usually requires stricter code review, debugging methods, and rollback mechanisms. In this article, Claude embedding the driver directly into the Xbox 360 kernel means it must handle low-level details such as interrupts, thread scheduling, and hardware register access, which also explains why the subsequent Guide-button deadlock directly froze the entire console.
The Debugging Loop: AI Catches the Bugs Itself
The driver's development wasn't smooth sailing. According to the video, a serious bug appeared after the driver was completed: pressing the Guide button would freeze the entire console. Cloud Code located the problem on its own—the thread responsible for delivering controller input was also calling the system UI, creating a deadlock where it was "waiting on itself." It moved these calls to another hardware thread, and the problem was resolved.

This detail is worth noting: the AI didn't just write code; it also took part in the complete debugging chain from symptom to root cause. For kernel-level development, deadlock troubleshooting is often more time-consuming than writing the functionality itself, and Claude demonstrated autonomous reasoning ability at this step.
Deadlocks and "waiting on itself": A deadlock occurs when two or more execution units wait on each other to release resources, leaving all of them unable to proceed. The scenario described in the article is a typical self-wait deadlock: the thread responsible for delivering controller input, while holding a lock or waiting for an event, goes on to call a system UI function, and that system UI function internally requires the same thread to finish processing input first—creating a circular wait. Common solutions include moving blocking calls to a separate thread, adjusting the order in which locks are acquired, or using asynchronous message passing. Claude chose to move the system UI call to another hardware thread, which amounts to breaking the circular-wait condition so the input thread can continue running while the UI call completes in an independent context.
The Human's Role: Plugging In, Rebooting, and "Being the Eyes"
Throughout the project, the human author's work was reduced to very few operations. By the author's own account, he was responsible for plugging and unplugging the receiver, pressing the pairing button, rebooting when the system crashed, and then telling Cloud what he saw on screen. The loop of compiling, uploading, and reading logs was run by Cloud itself.

This raises a key question: what does AI remote development require? The author summarized three tips. First, give it eyes—have the driver write logs into memory so the AI can read them over the network. Second, give it the right tools—make every error fail compilation outright rather than passing silently. Third, maintain human cooperation at the physical layer to handle hardware operations the AI can't reach.

These three points actually outline a new mode of collaboration: the AI handles code and logic, while the human handles the physical world and the feedback loop. For tasks like embedded and kernel development that depend heavily on hardware state, this division of labor is especially important.
"Observability" in embedded and kernel development: When developing hardware-related code remotely or automatically, the biggest obstacle is often not being able to see the device's internal state. The author's proposal to "have the driver write logs into memory so the AI can read them over the network" is essentially building a software observability channel: persisting key kernel variables, error codes, and call traces into a readable memory region, then exporting them through a debug interface or network service. Combined with the strict compilation strategy of "make every error fail compilation outright," the AI gets clear, structured feedback in each iteration rather than relying on guesswork. This feedback loop is the precondition for autonomous AI debugging to work.
After Open-Sourcing: Imagining AI Teardowns of Old Devices
The code has been open-sourced. Some commenters have already begun imagining using the same approach to crack open smart TVs—to see what they're actually spying on. This reflects a broader sentiment: when facing opaque old devices or closed systems, AI reverse engineering could become a way to lower the barrier.
From a technical perspective, the significance of this case isn't that "AI wrote a driver" but that it demonstrates the feasibility of AI completing kernel-level adaptation on legacy systems lacking documentation by combining reverse-engineering tools with open-source references. The Xbox 360's USB protocol has no public documentation, the Linux open-source driver provided a reference for pairing and the encrypted handshake, and the reverse-engineering tools filled in the missing middle links—all three were indispensable.
For players who own old devices but are frustrated that official support has ended, this path offers a new possibility: there's no need to wait for the manufacturer to bestow compatibility—let AI read and understand the old system instead. Of course, the premise is that you're willing to bear the risk of kernel-level modifications and can, like this author, calmly reboot when the system crashes.
Which old device in your home would you most want AI to crack open?
Related articles

Ubuntu Parent Company Doubles Down on DEI and Trans Activism, Reigniting Open Source Community Controversy
Canonical partners with SheCanCode to advance DEI, sparking controversy in the open source community. Critics say its policies lean radical, lack counterpart resource groups, and discuss alternative Linux distributions.

Mysterious Cybersecurity Paper Sparks Panic in AI World: One Tweet from an Anthropic Engineer Ignites Speculation
An Anthropic engineer's cryptic tweet pointing to a 'Cryptography Incident Review Group' website of cryptographers from Stanford, MIT, and other institutions has sparked panic and speculation in the AI world about potential cybersecurity threats.

Vercel Connect Adds Managed AWS Connector: Keyless Access to Cloud Services
Vercel Connect launches a managed AWS connector: apps and AI Agents exchange OIDC identity for short-term STS credentials, eliminating stored AWS keys, with IAM role scoping and SNS event ingestion.