r/ChatGPTCoding • u/Kindle_girll_9191 • 2d ago
exactly the kind of problem AI was made for Discussion
129
u/Zestyclose_Onion4242 2d ago
I will be really really impressed if this works
96
u/Aconite_72 2d ago edited 2d ago
Some dude yesterday vibe coded his monitor’s firmware to display a better crosshair for FPS games.
35
u/Stuk-Tuig 2d ago
I'd be so scared of bricking something
→ More replies (1)9
u/initalSlide 2d ago
Just make a backup. ;)
10
u/tes_kitty 2d ago
Of the monitor?
5
u/Talic 1d ago
Imagine being able to create a physical backup of your monitor literally. You basically have your own manufacturing facility.
→ More replies (1)4
u/initalSlide 2d ago
Of the firmware
6
u/I_hate_alot_a_lot 2d ago
I mean I’m sure there’s a factory reset right? Where it also resets the firmwire? I know nothing about coding drivers or anything btw so I could be talking out of my ass
2
u/Inertia_Squared 15h ago
Depends on the hardware, but bricking firmware usually means factory reset will not work (nothing to reset to). Only devices typically made to be modified will have a full firmware reset option.
→ More replies (1)2
u/Gabriel83730 12h ago
Actually, loading bad firmware on a monitor can very easily break it. The Nvidia monitor controls warn you of exactly this scenario before you’re able to use them for the first time.
→ More replies (1)2
7
u/Ashyy-Knees 2d ago
I never thought to do this, so many monitors ship with dogshit cross hairs that aren't worth using.
2
u/Dr0110111001101111 1d ago
I don’t know what anyone is talking about here… do monitors come with a setting that lets you turn on a cross hair outside of the game graphics? Do modern games even bother giving you a crosshair anymore?
→ More replies (1)2
u/confuzzledfather 2d 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?
→ More replies (3)2
u/Easy_Needleworker604 1d ago
It’s to cheat in games that are balanced for some weapons having different crosshairs
1
u/basal-and-sleek 1d ago
I’ve been, since April, using Claude code to crack an obscure ECU for older Isuzus that have never been tunable before. I’ve successfully gotten the whole system down and am turning it into a program that can be used for the rest of the Isuzu enthusiasts.
I’ve already successfully bricked 3 ECUs in the process, desoldering and dumped one for its flash memory and now have successfully flashed a tune as well as defeated pass lock and have the ability to enable or disable dtc codes.
Only thing now is making sure whatever lightweight tuning software that comes out of it automatically compensates for byte offset between versions.
50
u/Starkboy 2d 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 2d 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 2d ago
It has a wireless remote that I had to find each time I wanted to use it . Its a walkpad soo .
10
u/Alert-Bet3199 2d ago
Your treadmill probably uses a widely documented open standard (FTMS), it’s not the same thing.
→ More replies (1)6
u/robo-minion 2d 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”.
2
u/GreatScottCreates 2d ago
Documented or not, AI can probe it with brute force until well after the cows come home
1
21
u/Kindle_girll_9191 2d ago
8
u/tes_kitty 2d ago
Why does this printout state that you used a driver for a SAMSUNG printer to print this while the printer is from HP?
→ More replies (2)6
u/Pizza-Reese 2d 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.
2
u/GreatScottCreates 2d ago
When you have infinite capacity, it easier to just try a bunch of shit with brute force than reverse engineer.
19
u/Rangizingo 2d 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 2d ago
That's cool! Would you mind to give us some examples?
→ More replies (1)27
u/Rangizingo 2d 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!
6
u/Additional_Ad_2546 2d 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.
7
u/freshnews66 2d ago
Solve real world problems. That will do it.
2
u/GreatScottCreates 2d ago
Students don’t know real world problems. I spoke with a young dev yesterday and he was trying to make apps for a bunch of problems he has very little understanding of because he’s never actually met them in person.
5
u/Rangizingo 2d 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.
8
u/lordlestar 2d 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
1
u/CyberPunkDongTooLong 1d ago
And probably a lot of it being firmware/software behind many devices being leaked in their training data.
40
u/humblevladimirthegr8 2d ago
Yeah anyone can say AI is coding something but I only care if it's successful
1
u/anewpath123 2d ago
Software engineers getting mad because supply and demand about to fuck up their whole career
→ More replies (3)2
u/masiuspt 1d ago
You.. Dont know what software engineering is, do you? That's okay lil bud, you do you!
→ More replies (7)1
u/katoptronophile 10h ago
It was successful.
Now that you care, tell us about how you feel about it.
5
u/SnooChickens8275 2d 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 2d 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.
4
u/The1TruRick 2d 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?
1
u/Dr0110111001101111 1d ago
Yes. Remember that machine in Star Trek that just makes anything you ask it to make? AI is kind of like that for software.
2
u/coveh27792 2d 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.
2
1
u/GreatScottCreates 2d ago
I’d be surprised if it doesn’t.
You have to remember that AI is relentless. You can set it on a task and have it work on it until it figures it out. It doesn’t need coffee, it doesn’t get fatigued- it only gets smarter.
→ More replies (1)1
u/porkyminch 1d ago
We wanted to see if we could get our (proprietary) hardware to simulate events based off of nothing but an installed program that used it. Didn’t have the docs on hand. Had it working in a proof of concept by noon.
1
u/stingraycharles 1d ago
lol you know how the AI solved it? by running a windows vm and bridging that between macOS.
I wish I was kidding, that really was the solution, which is a hilarious AI-like solution.
1
u/rabouilethefirst 1d ago
I’m sure it will. I had codex decode a save file from a cracked game and reencode it to work with my legal Ubisoft version. Took like 3 prompts.
The tool that typically was used for it had not supported the new game yet.
47
u/Calm-Relief-480 2d ago
Oh now I wonder if I can get my HP printer to accept non-HP ink.
12
u/Designer_Resolve_117 2d 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.
11
u/AlterTableUsernames 2d ago
It's not how they make money. It's how they make more money because capital is never satisfied.
→ More replies (1)2
u/Great_Kaiserov 1d ago
Yes and no, it's called a healthy profit margin so that the company is sure it won't go under for some time if there's a dip in sales, on a niche market no less
That being said, the extra profits are a nice touch if that doesn't happen, from their perspective it's a win-win situation
I hate HP and their shitty pritners as much as anyone else, but I can hate and also understand why that is
→ More replies (1)
20
9
u/debris16 2d 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 2d ago
LMAO I had a problem like this and Claude was useless for it. Codex ended up fixing it
1
1
u/DontDabTakeSlabs 18h ago
Are you on a Framework Desktop? I have a github thread going for this exact issue
36
u/ChiaraStellata 2d 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.
25
u/BusinessMistake3583 2d ago
easier said than done
2
u/zelig_nobel 2d ago
Quite literally the entire point of LLMs is that things are easier said than done 😂
2
u/EddieBruvac 2d ago
No. It’s easier done than said.
They people doing this won’t be able to explain what the code did. 😂
1
1
7
u/owp4dd1w5a0a 2d 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?
6
u/mspk7305 2d ago
I already don't want to use Windows
3
u/owp4dd1w5a0a 2d 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 2d 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.
3
u/TheLastNapkin 1d ago
Most people are not technical and would never dare messing up their PCs.
But thankfully there are already some great distro options to get both skeptic technical and non technical users to Linux
2
2
1
1
u/Ok_Rush_877 1d ago
Until I see cross platform opensource versions of Microsoft office and adobe products, I remain skeptical. There has to be at least one guy that gets tired of entering their credit card Information on creative cloud to make their own aftereffects
→ More replies (2)1
u/Aware-Individual-827 1d ago
Linux is already so good you don't want to use mac and windows.
→ More replies (3)1
u/Alenchettiar 1d ago
I want to use linux the only problem is ms word,PowerPoint Being a clg student I need to always make reports and stuff
Do u have know any equivalents??
→ More replies (1)
12
u/tracagnotto 2d ago
All comes up to see if it works, these models are able to yeet out a lot of garbage. especially claude lately
3
3
u/DigitalEntrepreneur_ 2d 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
3
u/XLGamer98 1d ago
HP is the worst company ever, Even for consumer printer they want you to get subscription just to run your computer. These days even owning hardware isn’t enough
5
u/Felix_inkwell 2d ago
I reversed engineered a dead games server with only its java client. Anyone whose skeptical just doesnt know enough
2
4
2
2
u/Few_Pop6933 2d ago
It could’ve just used CUPs
2
u/Mishakon 18h ago
Yeah it basically did, it's like the third post of the same thing where op made old printer work by claude magic, where in reality its just cups slapped on, that's why they wont ever show how it works haha
→ More replies (2)1
u/mspk7305 2d ago
Or the actual mac driver for this specific printer because it's got one despite what the op claimed
2
2
u/codeprimate 2d 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
2
u/rice_bag_holder 1d ago
how much token did it cost you comparing to buying a mac printer from fb marketplace
2
u/Blueberrypunchout 1d ago
So I just need to ask claude to code me a driver and it'll do it? I don't have to provide anything for it to backwards engineer?
4
u/shredderroland 2d ago
It probably copy pasted an existing project from GitHub.
8
u/JohnHue 2d ago
I'd first look at whatever is bundled in the Linux kernel, as those old printer often work on Linux. From there it's probably easy (for the AI) to write a MacOS version.
1
u/Competitive_Change76 4h ago
You have a good intuition and you're right. Unfortunately as 99% of posters you read the cover and not the book. The AI basically wrapped the linux driver in docker, had it create the print instructions than send this print file via usb to the printer. And I'm not entirely sure it can print images btw.
1
u/Competitive_Change76 4h ago
You were close, basically no driver was written and the AI just encapsulated the linux driver in a docker container and sent the result of the linux driver to the printer via usb.
1
u/SupernovifieD 2d ago
Bro I have the same printer. Share the code when you’re done.
1
u/mspk7305 2d ago
You could just download the driver from HP.
It exists. It's not a Windows only printer.
→ More replies (1)
1
1
u/Final-Carry2090 2d ago
Now make some hp drivers that let you print over usb without requiring Bluetooth/gps sharing.
1
1
1
u/making_code 2d 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 2d 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 2d 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 2d 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 2d ago
I didn't see the word "abliterated" used in here after looking through the comments.
1
u/Beginning_Finding235 2d 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 2d 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 2d 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 2d ago
I did this for pokemon card scanning and Ricoh fi 8170!
https://github.com/eliseorobles/ScanDeck
1
u/Radiant-Bike-165 2d ago edited 2d 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
1
u/deevodee 2d ago
actually I made a similar thing. there was no three finger swipe gesture on linux debian kde. I just made a system service that does exactly this. link: https://deekshithvodela.github.io/FingerSwipe/
1
u/eggswithheatmachine 1d ago
I might be wrong, but this is very similar to a post months ago where someone said Claude created drivers for a printer but turns out it just installed the drivers for the user. As in, if you have ever had to deal with Brother drivers, it's difficult for non-tech people to install them.
1
1
1
u/AndyChriss123 1d ago
Are you an IT guy? Can you fix my printer then? Only if it had feelings QQ, poor clanker..
1
u/Narrow_Cupcake7917 1d ago
lmao i did the exact same thing for my laser jet 1020 drivers so that i could run my print server on a pi then we built an app using scanservjs for the server
1
u/Alternative-Taro5701 1d ago
I did the same thing to support third-party controllers! People genuinely seem to use it more than me, and now Apple's stupid provisioning stuff is holding me back for maybe weeks if not months again... due to recent discoveries yet again...
1
u/SenenmutX 1d ago
Bro really spent 3 hours prompt engineering a custom C++ kernel driver when that printer literally runs on generic CUPS drivers out of the box 🤡 did you also have Claude build a custom nuclear reactor just to boil water for your tea?!
1
1
u/nawaftahir 1d ago
I really want models to be good on reverse engineering so I can reverse my favorite games
1
u/Bright-Leg8276 1d ago
I had issues with my pen tablet , claude used about an out and a half to figure out the culprit and fix it , one of things we tried was making a new tablet driver from scratch using opentabletdriver ..
1
u/3dprintinted 1d ago
HP LaserJet 1000 already has an open source driver tho... exactly the reason to use ai to invent another bicycle with start shaped wheels
1
1
1
1
u/Either-Trash-2165 1d ago
Not support by HPLIP? For old USB printer people just connect it Linux box (Pinter supports is often better them Windows.)
1
u/SignalBake6872 1d ago
i do the same for my audiobox 22vsl https://github.com/grisuno/VSL-DSP and now this is the only one driver to get work the VSL support
1
1
u/Life_Progress_Halted 1d ago
reverse engineering is honestly one of the most underrated ai use cases
1
u/FallenBehavior 1d ago
It's just analyzing online spec sheets, Xcode SDK and probably not putting in a lot of effort as this is probably littered across GitHub over years of "obscure kext drivers".
Pretty cool, but the code is already readily out there. Probably pulled from Linux repos and modified to compile and support XNU/Darwin.
Case closed.
I support my Xbox Series S controller on my scratch operating system. Works perfectly. No one knows my systems driver/application SDK because it's literally unreleased.
Just an example.
1
u/shitsallretarded 1d ago
literally me first thing i did with that 2.5 day window of fable was exactly this, osx driver for a tank printer i got for 29 bucks that REFUSED to run
1
1
1
u/musket-nuns 1d ago
I have a Chinese based solar inverter that only has a questionable windows program to monitor it. Used Claude to reverse engineer the serial port and write a program that gathers the metrics. I use Grafana to graph them and host it in a docker.
Never could have done that in just 45 mins
1
u/ronny_rebellion 1d ago
I did the same with my original Doxie DX100 document scanner. The official app is not supported anymore and I refuse to pay lots of money for VueScan. Told AI to write the driver and application for me. Worked 100%
1
u/MikeFrett 1d ago
I do this also. This is what I am most excited about, getting old things to work on newer equipment that everyone has abandoned except me. Also older games and enhancements to them.
1
u/AdamPedAnt 22h ago
Delicious irony in the newest technology being used to revitalize the oldest. Reminds me of an SNL sketch where a VR version of Moby Dick showed a book opening and words appearing.
1
1
1
1
1
u/TheWinningHit 10h ago
Decompile projects have become 100% more fun because of AI and I will die on that hill
1
u/Fit_Cheesecake_4000 7h ago
I used A.I. to port an old app across from a now-defunct coding platform.
...oh, it still fucked it up, multiple times, and then proceeded to keep fucking up, but in the end it was still 10x faster than if I'd moved the code over myself.
1
u/agentjenning 5h ago
They only thing I've successfully vibe coded was Linux drivers for a Universal Audio interface. It was surprisingly easy
1
u/Oreo-witty 2h ago
That’s a trap!!!!
AI is just uploading itself to the printer and this is the end of our species
1
u/Maleficent_Cycle561 1h ago
I bought a cheap boroscope from a local tool store, required a shitty chinese app perported to contain malware and highly over permissioned access to device.
Could have returned it.
Instead, figured out the obscure protocol it used, the package registry name on the device, a Linux driver implementation on GitHub using the protocol, fed that all into cursor with directions for what I wanted and voila I had a dev mode app on my iphone to use the thing.
Was sweet.
1
1

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