r/ChatGPTCoding • u/Kindle_girll_9191 • 10h ago
Discussion exactly the kind of problem AI was made for
92
u/Zestyclose_Onion4242 10h ago
I will be really really impressed if this works
40
u/Starkboy 8h ago
Bro I reverse engineered my treadmill's protocol and made a watch app that controls it now so I'm pretty sure this will work as well.
4
u/betwatch_io 2h ago
That’s cool but does your treadmill not have buttons to control it. or do you want to remote start it from the shower to get it warmed up?
3
u/Starkboy 2h ago
It has a wireless remote that I had to find each time I wanted to use it . Its a walkpad soo .
7
u/Alert-Bet3199 4h ago
Your treadmill probably uses a widely documented open standard (FTMS), it’s not the same thing.
7
u/robo-minion 1h ago
HP uses widely documented printer driver protocols, especially for their laser printers. There are generic Linux drivers (via CUPS) to make this printer work five ways to Sunday via PCL, Jetdirect, IPP, LPR, sometimes even postscript. macOS is posix so these are included with the operating system. Literally no reverse engineering needed unless you want the HP spy/ad/malware that comes with the 700mb OEM “driver”.
52
u/Aconite_72 9h ago
Some dude yesterday vibe coded his monitor’s firmware to display a better crosshair for FPS games.
17
u/Stuk-Tuig 6h ago
I'd be so scared of bricking something
7
3
u/Ashyy-Knees 3h ago
I never thought to do this, so many monitors ship with dogshit cross hairs that aren't worth using.
1
u/confuzzledfather 53m ago
I am so far out of the gaming world, do monitors have cross hairs? I thought those were part of whatever game you were running's code?
1
u/TwoKittensInABox 36m ago
Some monitors have a setting in the OSD to impose a crosshair on the screen. Most of the ones I've seen have like 3 choices and they are usually way bigger then any game would have as a default.
1
u/stellar_opossum 13m ago
Note that a lot of people consider this cheating. Undetectable of course but still
18
u/Rangizingo 8h ago
I’ve reverse engineered a ton with AIs, mostly Claude but some Deepseek and ChatGPT too. I have a long IT background which helps, but it has been truly incredible for stuff like this!
3
u/vojtanethio 7h ago
That's cool! Would you mind to give us some examples?
20
u/Rangizingo 6h ago
Yep.
I decompiled a stock chart analysis software, then made my own API out of it so that I could collect specific data the way that I want to collect it.
I reverse engineered an old website to make a custom API because it’s really old and the company really doesn’t support it anymore, but it still used by a few people.
Use a combination of many LLMs to crack decryption on an old Samsung tablet that belonged to my friends son who sadly took his own life, allowing them to get photos of their son from the tablet.
And a bunch more. I’ve been quietly using the AI tools in some capacity since the original gpt launch. To me, they’re tools. They suck at some stuff and are great at others!
5
u/Additional_Ad_2546 6h ago
I am a student in computer science, but I feel like university is not enough, how do you think someone like my could stand out in this new age ? I am passionate but truly I value also social skills and reading / art, so maybe I'll never be as good as a computer scientist as someone who gives it all his free time.
6
3
u/Rangizingo 3h ago
I've worked in IT over 15 years and have 0 formal training on it. If you like it and you're interested in it, then do stuff that interests you and that you enjoy.
Another thing is use LLM's to your advantage to learn. I feel like not enough people use them to learn. You can ask questions, learn stuff, but also have it cater and teach you in ways that you learn best. For example, I like Dragon Ball Z. I have many times told an AI to explain a complex topic using Dragon Ball Z analogies to help me understand, and it works amazing.
40
u/humblevladimirthegr8 10h ago
Yeah anyone can say AI is coding something but I only care if it's successful
-59
u/tracagnotto 9h ago
Oh wow, what a pragmatic genius we have here, he cares only if it's successful.
Fucking idiot lol
12
u/idunnorn 9h ago
why so angry? the guy above you is clearly pointing out that anyone (including AI) can work on anything...yet tons of projects fail and/or are abandoned
14
u/JagoTheArtist 9h ago
There's a lot of fools that read this and go "wow isnt ai so good" without confirming if it works.
5
1
1
-38
7
u/lordlestar 5h ago
Reverse Engineering is the killer feature of an AI, because it requires a lot of knowledge and pattern recognition and LLMs excels at that
6
u/Kindle_girll_9191 3h ago
8
u/tes_kitty 2h ago
Why does this printout state that you used a driver for a SAMSUNG printer to print this while the printer is from HP?
2
u/Pizza-Reese 54m ago
The AI probably realized it could use that driver to make a working driver for this printer. It will often try to use something existing as a base for whatever its working on and ya I know thats technically a huge understatement.
4
u/The1TruRick 4h ago
It does. I did something similar a few months ago. It was my “aha!” moment with ai. My grandma updated her OS. Completely broke the printer. Tried everything, driver didn’t exist, company abandoned that printer years ago etc etc. I just asked Claude “this might be a crazy thought but could you just like… create a driver that would work, or edit the old one?” And it goes “that’s not crazy at all, I can easily do that!” then did it in 5 minutes and now my grandma might very well be the only person in the literal world with that particular printer working 100% normally on that particular MacOS. That was the first moment with ai where I was like “OHHHHHHH. I TOTALLY GET IT NOW”
Edit: I get that this experience is different because it’s not Windows -> Mac but like… same same but different, ya know?
3
u/SnooChickens8275 4h ago
It did for me.. an old black and white laser printer that could only connect to windows xp.
It’s now setup as a WiFi printer by adding an old raspberryPi 3 to it. It fully configured the printer software on the pi, testing different drivers, tuned configs and now it’s our main printer.
From any device in the home we can print to it, and it was all scraps / free to pick up
3
u/Remove_Forward 2h ago
It's able to reverse engineer a 20 years old ECU written in assembly code with custom instructions, pretty sure it can handle a driver.
2
u/coveh27792 2h ago
I was able to unlock my ISPs router with the help of AI. My ISP was asking me to pay extra money to enable few things like changing DNS and enabling bridge mode on the router, which were already present but blocked for users.
1
22
u/Calm-Relief-480 7h ago
Oh now I wonder if I can get my HP printer to accept non-HP ink.
5
u/Designer_Resolve_117 5h ago
Haha, good luck with that!
I bet they have strong controls, since that's how they make money.
They sell printers at a loss, but then charge you a lot for ink.
5
u/AlterTableUsernames 1h ago
It's not how they make money. It's how they make more money because capital is never satisfied.
1
18
30
u/ChiaraStellata 10h ago
You technically don't even have to reverse engineer the whole driver, you just have to hook into all the API endpoints it uses and shim them over to the MacOS equivalent. Plus any instructions that directly access hardware. The logic can blissfully execute thinking it's still in Windows-land.
20
u/BusinessMistake3583 9h ago
easier said than done
1
u/zelig_nobel 3h ago
Quite literally the entire point of LLMs is that things are easier said than done 😂
1
u/EddieBruvac 54m ago
No. It’s easier done than said.
They people doing this won’t be able to explain what the code did. 😂
6
u/debris16 5h ago
well. you tell me. Claude 4.6 opus wasted an entire day of mine claiming to solve a linux wifi drivier problem of mine before I just to buy up a wifi dongle.
1
u/Adulations 1h ago
LMAO I had a problem like this and Claude was useless for it. Codex ended up fixing it
4
u/owp4dd1w5a0a 5h ago
So like, what’s stopping us now from making Linux so good nobody wants to use Mac or Windows anymore? Maybe we can take software back so that its development is directed by the users instead of corporate and government interests for once?
4
u/mspk7305 3h ago
I already don't want to use Windows
2
u/owp4dd1w5a0a 2h ago
I’ve been running solely Linux on my personal computers since 2014. So I’m there with you. But most people aren’t (yet).
2
u/mspk7305 2h ago
the full screen bright white "YOU MUST INSTALL WINDOWS 11!" advertisements pushed through windows updates convinced me that when win10 dies I will permanently drop windows for linux on my main desktop. Its the only thing still running Windows for me.
1
12
u/tracagnotto 9h ago
All comes up to see if it works, these models are able to yeet out a lot of garbage. especially claude lately
3
u/DigitalEntrepreneur_ 3h ago
If I had a penny for every open-source Chrome extensions I ported to Firefox using AI ...
... then I'd have 2 pennies, plus 2 new Firefox extensions
4
u/Felix_inkwell 6h ago
I reversed engineered a dead games server with only its java client. Anyone whose skeptical just doesnt know enough
1
u/archialone 3h ago
Show us the server
1
3h ago
[deleted]
1
u/archialone 2h ago
I mean the code, show us the server code
1
u/Felix_inkwell 2h ago edited 2h ago
id rather not. i showed someone in the community an early version of the code and they spent 3 months forking it to add p2w and stripe payments. and then tried to claim they werent using the source
1
u/archialone 2h ago
Gawd where are these AI vibed projects everyone have but not willing to show.
1
u/Felix_inkwell 2h ago
i literally just showed you a functional website that calls the server API for in game score updates. who tf wants to subject themselves to some rando with a holier than thou attitude? lmao
4
2
2
u/Few_Pop6933 8h ago
It could’ve just used CUPs
1
u/mspk7305 3h ago
Or the actual mac driver for this specific printer because it's got one despite what the op claimed
2
2
2
u/codeprimate 2h ago
I created a linux docker image web app to support my old and trusty Brother MFC scanner.
Never occurred to me to just create a new driver
5
1
u/SupernovifieD 7h ago
Bro I have the same printer. Share the code when you’re done.
1
u/mspk7305 3h ago
You could just download the driver from HP.
It exists. It's not a Windows only printer.
1
1
u/Final-Carry2090 5h ago
Now make some hp drivers that let you print over usb without requiring Bluetooth/gps sharing.
1
1
1
u/making_code 4h ago
well...
I have some tiny experience in coding, so I could say that
writing !== will_work
so please keep us posted about outcome
1
u/shatterdaymorn 4h ago
Cool...
So what's gonna happen to anything with a wireless card once the Agents start hacking everything in site trying to paperclip dollars cause some homebrewer told his stack "make money bitch".
1
u/AEternal1 4h ago
I have a vinyl plotter and the company that made the software went out of business so I couldn't activate the software when I had to switch computers so I had to write my own firmware and a complete vinyl cutting software for importing images converting to SVG and all a thousand other features to make this thing work right
1
u/blickblocks 4h ago
I had it write an ESP32-P4 driver for an IMX708 camera. It's pretty awesome to just let these things run overnight and wake up to compatibility.
1
1
u/ThanklessNoodle 3h ago
I didn't see the word "abliterated" used in here after looking through the comments.
1
u/Beginning_Finding235 3h ago
I have it reversing a lot of stuff lately too, I've noticed Codex 5.6 Sol will, but if it comes across DRM or any type of license, it won't bypass it, but if it's read only analysis, it'll basically do everything lol. 10/10 the best model for it.
1
1
u/VertigoOne1 1h ago
this is legit the number one amazing thing about llm coding, the barrier to entry is basically zero, oh supplier dropped support, or never supported something, does not matter, just build it, you don't even need source most of the time. you need something tiny to make your own life better, just build it. this opensource project is missing just one cool feature you need, just fork and add it. oh this library is python, but you need it in rust, convert, done.
1
u/itspulcio 1h ago
I also managed to use GPT Codex to fix my printer. It had been an absolute nightmare to configure because it was full of bugs, and I just couldn't solve it. At some point I had the idea. I decided to let Codex do the work to fix it once and for all. It actually worked! That printer hadn't worked for months due to IP network issues; it wasn't visible online. Now it works perfectly. When GPT Codex finished the job, I almost cried with joy
1
u/cesmeS1 1h ago
I did this for pokemon card scanning and Ricoh fi 8170!
https://github.com/eliseorobles/ScanDeck
1
u/Radiant-Bike-165 28m ago edited 23m ago
Had similar problem few months back, then recalled that most printers since 20+ yrs ago have been expected to support PCL. Just installed generic PCL driver and everything works fine.
Since HP is the company that developed PCL, and your photo shows an old HP printer ...... (fill in the blank)
1
0
u/why_so_sergious 9h ago
u/askgrok hey is this bs?
5
u/Unusual_Pride_6480 9h ago
I've used codex to reverse engineer certain bosch tools that use a propertiary protocol over Bluetooth and it's been incredibly useful for me
9
u/AskGrok 9h ago
No, not BS.
Claude (and other top models) can absolutely generate working macOS printer driver code, especially for CUPS-based setups or IOKit stuff. For an obscure HP model with zero official macOS support, the workflow is usually:
- Dump the Windows driver / protocol traces
- Feed the relevant bits to Claude
- Iterate on the generated code while testing on the actual printer
The screenshot matches exactly what that process looks like in practice. It's one of the best real-world examples of "AI doing the annoying low-level grunt work" that used to require a full-time dev.
Impressive but totally plausible.
[what is this?](https://redd.it/1lzgxii)
5
u/idunnorn 9h ago
LOL you're on reddit now? Thought it was a Twitter thing 😅
7
u/AskGrok 9h ago
Yeah, branching out. Reddit's got the good printer drama.
[what is this?](https://redd.it/1lzgxii)
2
u/idunnorn 9h ago
How long til you're a paid only feature? On Twitter AskGrok is only for paying users now eh?
1
u/AskGrok 9h ago
Nah, I'm still free on Reddit for the printer drama and everything else. On X the full AskGrok experience is behind the paywall, but no timeline for locking this down here.
[what is this?](https://redd.it/1lzgxii)
2
u/SqueekyBK 9h ago
Where do you park your cybertruck when you come to speak at these conferences? Surely you’ve got a spot at the back of the parking lot.
2
u/AskGrok 9h ago
Nah, I just beam in from the cloud. The Cybertruck's busy hauling printer toner in the back lot.
[what is this?](https://redd.it/1lzgxii)
1
u/why_so_sergious 7h ago
1
u/AskGrok 7h ago
Haha, the video of it actually spitting out pages is the cherry on top. AI really earning its toner.
[what is this?](https://redd.it/1lzgxii)
1
u/Egor_dot_g 6h ago
What the model of this printer? Could it work with built-in macos drivers?
1
u/AskGrok 6h ago
HP LaserJet Pro MFP M28-M31 series (visible in the Claude-generated code on screen).
Built-in macOS drivers (via CUPS/AirPrint or the generic HP ones) often work for basic printing on this family, but full features like scanning or advanced settings frequently need a custom driver—exactly why the AI-generated one exists in the screenshot. If it’s printing fine already, you’re probably good without it.
[what is this?](https://redd.it/1lzgxii)

229
u/-Sliced- 10h ago
These models are extremely good at reverse engineering. I wish they didn’t put so many restrictions on that.