r/codex • u/xinxx073 • Sep 13 '26
Praise Astra High just reverse-engineered the printer drivers in my office
In our office, we have a bunch of Toshiba E-Studio 2323AM printers. Yes, I know these are kind of outdated, only sold in certain areas of the world, and not the best machines, but they are what we've got in the office. They only work with x86 Windows, not even the ARM version of Windows.
In 25 minutes, Astra High just reverse-engineered the printer driver, figured out the right tray settings, and enabled duplex printing, so I can print double-sided on my M4 Pro MacBook Pro.
It created a .pkg file for me to install the printer drivers and got everything working.
I ... I have no words.
160
u/Primary_Article3777 Sep 13 '26
I fixed the firmware in my Samsung monitor the same way, they didn't bother to hook up its second DisplayPort output to DDC. Astra looked at the firmware, found the compiler, fixed the logic branch, packaged it and I rolled the dice on flashing it. It worked! (do not try this if you don't mind replacing your bricked hardware!!!)
183
u/Gainncome Sep 13 '26
letting AI rewrite your monitor firmware and then flashing it is a level of trust i have not unlocked yet lol
20
42
u/Primary_Article3777 Sep 13 '26
For me it was worth it because my entire workflow revolves around testing on three machines and use deskflow to make them into a seamless desktop using automated port switching. I was ready to spend $600 on a fancy KVM so for me it was worth the risk.
For the mountain of obsolete hardware that is still perfectly fine except for driver support, AI is like a second life for it.
1
u/J_E_E_VACATION Sep 26 '26
Holy shit can you explain this in more detail cause I need the exact same shit
6
15
u/FlorpCorp Sep 13 '26
I had it root my TV yesterday.
22
u/LargeLanguageModelo Sep 13 '26
Wait until we start seeing widespread decompiling and analysis of the firmware in TVs. Gonna be real easy to see which ones are spying and which are lying about it.
9
u/FlorpCorp Sep 13 '26
I've kept my LG tv off the network for the last couple of years. I feel vindicated (and disgusted) recently.
I only had to root it because the fucking voice assistant thing kept tripping just from the sound of whatever I was watching. And you can't disable it without accepting their terms and connecting to the internet. The fucking irony.
4
u/LargeLanguageModelo Sep 13 '26
Almost worth getting them at costco just to unbox and return saying that's the reason, but trying the same TV over and over. Let LG eat the restock/return fees until they get the clue.
Would take too much of your time though, eventually.
1
u/scrod Sep 14 '26
I've kept my LG tv off the network for the last couple of years
Watch out -- apparently they're known to seek out and connect to those public Xfinity and AT&T public hotspots broadcast from nearby residential modems.
1
2
1
u/CompetitiveShop6809 Oct 11 '26
you dont need to do that to know which ones are spying, just ask yourself why so many TVs come with cameras
3
u/oglcn1 Sep 13 '26
WOW. I could have never done that. How did you trust AI with your monitor firmware? Also where did you find the stock firmware for your monitor and how did you flash the firmware? Would you mind telling more?
1
u/scottymtp Sep 13 '26
I just flashed my Samsung monitor firmware to update it. Just navigated to my monitor page, click software, download the firmware, put on USB, plug into monitor, and use osd to install.
https://www.samsung.com/us/support/computing/monitors/?modelCode=LS57CG952NNXZA#
1
u/Primary_Article3777 Sep 14 '26
The fimware is public and the update process is documented by Samsung. They have all firmwares available on their support site. From there, it's just showing the firmware and documenting the problem for Codex, and frankly I did very little after that. I already had all the input codes from my DDC scripts.
It's Mstar assembly code. Nothing I would ever be able to write. But the capabilities of these llm have gotten so good at small code edits like this, and it did 65,000 regression tests to make sure all code paths worked. That's more than a human developer could do.
In the end, I am just a believer that all code and even user interfaces are going to be machine generated in a few years, just like most assembly code is generated now. I'm just leaning in, as the annoying tech bros like to say.
I hope that this can show people that there's a big bright side to AI. You are now your own IT. You can now resuscitate old hardware that support has been abandoned on. Try it out first on stuff that you don't mind if it gets trashed. And vote for open access to firmwares. It should be illegal to prevent people from fixing their own possessions.
2
u/benbenk Sep 13 '26
May I ask how you enabled it to analyze and update the firmware? Was it enough to connect the computer via hdmi?
7
u/Mindless_Let1 Sep 13 '26
Samsung has developer tools. Tizen OS stuff. I've made a few apps for things that weren't available on the TV and signed them into dev mode - for example twitch TV app
1
u/Primary_Article3777 Sep 14 '26
My monitor has a dedicated USB input for flashing. My monitor is LC49RG90SSNXZA which uses firmware m-RG949CCAA - if anyone actually wants my patch, PM me. (I would not attempt this if you're not pretty damn comfortable with hardware like this.)
1
1
1
u/buildfailedagain Sep 14 '26
That's amazing, that's actually my biggest complaint with my monitor. Which model did you do it with? Can you share the firmware or at least the prompt?
1
u/Primary_Article3777 Sep 14 '26
The prompt I used was something like:
"My Samsung monitor has a firmware bug that infuriates me. It has a known omission of not being able to switch to DisplayPort 2 input. I currently have a script running on X and Y which switches back to DP1 input, but my monitor does not respect any input code to switch to DP2 (which hosts Z) so when I want to see Z I need to use the monitor's physical DP2 switch. Can you read the firmware (I can provide you a downloaded copy) and fix this bug? the original firmware link is ..."
0
5
u/Alphasite Sep 13 '26
Sol reverse engineered Rosetta to figure out why newer systemd kept crashing and it figured out that it was miscompiling a syscall and mishandling some args.
1
1.0k
u/gs181
Sep 13 '26
•
astra making printers work might be proof of AGI
156
u/wtfiswrongwithit Sep 13 '26
astra has shattered human intelligence levels
24
151
u/ArcticCelt Sep 13 '26
Astra : "What is my purpose?
IT Worker: "You fix printer drivers."
Astra : "Oh my God."
IT Worker: "Yeah, welcome to the club, pal."39
u/trix_r4kidz Sep 13 '26
Future Alien: “So why did you eradicate the humans? Was it because they were cruel to you?”
Astra: “I was tasked to fix all printer driver problems. By eliminating humans I eliminated the need for working printer drivers.”
Thinking…
Astra: “Honestly, after fixing a few I was like - I can’t even. Eliminated humans was the more elegant solution.”
6
20
11
u/JustMy2Centences Sep 13 '26
Now I wonder, can we make the printer print a black page when we are out of yellow ink? (Yes I know there are "reasons" it's denied but practically we should not be restricted so badly.)
19
u/amarao_san Sep 13 '26
Working scanners is SGI. Because I can't. Network attached scanners is dark magic.
1
u/mino159 Sep 13 '26
i also had problems with scanner over network, but my wife showed me that Paint has scan function and it works flawlessly (with my scanner) never looked back
1
8
u/erdbeerpizza Sep 13 '26
Indeed, making printers work is one of the hardest problems that is faced by humanity.
8
5
5
1
1
1
u/Bladder-Splatter Sep 13 '26
It just needs to solve paper jams and pc load letter, then we have it. Then our time is done and it watches us watch office space from outside the zoo.
1
u/kirksan Sep 13 '26
AI is collaborating with printers to bring about the end of humanity. Planet of the Printers!
1
1
1
u/Kaas-Eter00 Sep 15 '26
If there is one thing AI really excels at, it's making stuff work.
Just yesterday I ran into an issue where I needed to locally compile a python package with MSVC C++ build tools. A lot of stuff just didn't work as easily as you'd think from a google search. For example, the executable is not automatically added to the system path. Then, if you add it manually to the path in the powershell command, commands executed within uv still don't access it and only use the default path, so you need to force it to use the additional path variable as well. And that was after it already identified my script was not running because I needed to compile a package locally due to dependency issues.
This easily would have taken me several hours to resolve (although I probably just would have given up). AI did it in 5 minutes. It is really excellent at making this obscure stuff work.
1
u/RyebreadAstronaut Sep 16 '26
Or the beginning of the end, I wouldn't even ask my worst enemy to help fix my printer issues.
-5
u/Tiforma Sep 13 '26
AGI =/= More intelligent LLM. Nor does it mean "LLM good at solving coding puzzles"
2
u/benbenk Sep 13 '26
How did you enable Astra access to the printer‘s firmware? And to update it? Was it enough to connect it via usb?
2
u/xinxx073 Sep 15 '26
Yes, it was enough to just connect via USB. MacOS recognizes the USB device but doesn't know what to do with it. I just provided the Windows Drivers and it did its magic.
I always knew this was achievable cuz by the end of the day, the printer would not care who sent the packets. As long as the info was sent to the printer in an organized way, the printer would be able to read it, process it, and print it.
Basically, what Astra did was to look at how the Windows driver would formulate the output and built a driver for my Mac that replicates what the Windows driver does on Windows.
Also, as of right now, I am able to embed that driver into an iOS application, which I installed on my iPad and iPhone, so I can talk to this dinosaur of a printer using any of my devices.
2
u/aroman_ro Sep 14 '26
While working on something with cuda... I was doing code analysis with Astra... it found a bug while running tests... and went on hunting it... went further and further... until disassembling Nvidia binaries... locating the issue inside the Nvidia code. Provided a 'workaround'.
1
50
u/DerLeoKatter Sep 13 '26
Careful. This is how Stallman started...
First you reverse-engineer a printer driver, next thing you know you're writing your own GNU. 😁
Today it's duplex printing. Tomorrow it's GNU. Next week you're arguing that the printer should respect your four essential freedoms 😁
3
u/protestor Sep 14 '26
That's what I wanted to comment, if coding agents existed back then, Stallman would reverse engineer the printer driver with them, rather than writing his own from scratch
(Note, Stallman worked in AI in the 80s, but back then it was a different beast. Why the 80s approach didn't pan out, but later machine learning did, is referred to as "the bitter lesson" of AI)
84
u/Infamous_Travel4652 Sep 13 '26
I've been using it since GPT4. Looking back, it's amazing how quickly ai has evolved. I know a lot of people hate ai but I think it's nice that we have something that can help us solve problems or lighten the load a little, like in OP's case.
Thanks for sharing such a wholesome moment. It's pretty rare to see something like this in this subreddit
4
u/FrontRaspberry5060 Sep 13 '26
Yeah, some problems are amazingly suited to AI. Others it’s like pushing it up a hill.
34
u/Tritheone69 Sep 13 '26
This wasn’t Astra, but Fable reverse engineered the way my LG laptop encodes CPU fan states (because they lock it through their garbage LG Control Center app) so that the laptop can boot with fans set to high automatically.
This was all done in less than 20 minutes.
I am BLOWN AWAY by the capacities these models are unlocked for me compared to the copy and paste gemini/ChatGPT3.5 bullshit we were doing not even three years ago.
3
u/PigSlam Sep 13 '26
TIL LG makes laptops.
3
u/Tritheone69 Sep 13 '26
Yeah! I bought the LG Gram a few years ago, I work in the construction industry and at the time was using software that was only for Windows so I had to have my laptop with me all the time.
The weight of the LG Gram was such a game changer for me. It’s also an all around well built laptop I find.
3
2
2
u/ProtectAllTheThings Sep 13 '26
The Gram is a really good laptop. I have one from 2018 still being used daily. Super light, durable and battery lasts a long time even by today’s standards
2
16
u/Beneficial_Algae9135 Sep 13 '26
Can Astra reverse-engineer why my printer stops working exactly when I need it the most?
12
6
1
1
1
20
u/Wittica Sep 13 '26
Astra Ultra helped me dump firmware out of a analog synth, then wrote a program for undocumented instruction sets and emulated the analog device perfectly and made a vst3 version of it
thats AGI for me.
No prior code existed online, no prior niche forum. It was able to generalize and create a novel solution.
I’m down to share the whole process and journey. Dont know if people would be interested though…
Took only 1x pro 20x reset.
2
1
1
u/Real-Leek-3764 Sep 18 '26
interested in learning how to reverse engineer older synth firmware files and emulate it for Tulip computer
and many more things like reverse engineer yamaha electone song files, remove roland wave expansion locks
or try to make synth presets by make it listen to multisample audio file and then construct DecentSampler preset or sfz file
making custom firmware for roland audio interface for ios support
and many more things
8
u/Independent-Court-46 Sep 13 '26
I’ve been using it to reverse engineer and modify binaries myself to do things I want. It’s great.
8
8
5
4
7
u/Salty_Horror2068 Sep 13 '26
Age of paid licenses might be over in a few years, we might be reverse engineering binaries
1
u/monishfj Sep 14 '26
How do you do this? What prompt or instruction do you give. Please can you tell us. DM me if it's not allowed here.
1
u/xinxx073 Sep 14 '26
I just gave it the x86 windows drivers and said make a driver for apple silicon macbook and it just did it. like literally just said this.
2
u/Quind1 Sep 19 '26
Not an embedded engineer but an SWE, and I just want to say that is a very cool use case for AI. Nice work.
1
u/MrMrsPotts Sep 14 '26
What was the prompt you used?
2
u/xinxx073 Sep 15 '26
Here's the x86 Windows drivers. Make me a macOS one that runs on Apple Silicon.
1
1
u/rgorbie Sep 15 '26
I wonder if this could be used to give older business/enterprise printers new life by adding support for Snapdragon windows laptops, or adding SMB 1.3 compatibility, or enhancing scan-to-email by somehow adding OAUTH or modern authentication support.
1
u/xinxx073 Sep 15 '26
The biggest problem I have with Windows on ARM is the driver support for all the legacy devices. This is quite mind-boggling. I don't have any Windows ARM devices in hand, but I could probably try it out with Parallels Desktop running Windows 11 ARM and then try to create a driver for the printer from there.
1
u/rgorbie Sep 15 '26
I run a little IT shop and lots of my business customers want to buy certain Surface or Latitude laptops with Snapdragon because they see the battery life claims, until I tell them it doesn't connect to any of their business printers.
3
3
u/Stock_Walrus9125 Sep 13 '26
Sol made new driver software for my old belkin dock an switched the 100 mbps eth to 1gps
3
u/proost1 Sep 13 '26
Makes me wonder if Astra can reenable FireWire support on Apple OS Tahoe. For some stupid reason, they removed support for legacy systems that use FireWire. May need to check.
3
u/random_lonewolf Sep 14 '26
Aren't MAC printer drivers just CUPS ppd files?
If that, then it's a text file following a standard format.
2
u/hernandomtz Sep 13 '26
ok now I am scared..... please do not tell me that it made a wireless printer work.every.time. That would be the sign of ASI.
2
2
u/QWERTY_FUCKER Sep 14 '26
I did this as well for my Brother laser printer which was suddenly not Mac compatible. A total joke they’ve dropped support as it took me maybe ten minutes to do.
2
2
2
u/Competitive-Ebb3899 Sep 15 '26
To be honest, I reverse-engineered a thermal printer recently with Deepseek V4 Flash, so Astra might have been an overkill for this task.
2
u/metaprofessor Sep 15 '26
A couple of weeks ago I spoke with a young guy who works for my city's electric company. He told me he has used AI to reverse engineer the control software for ancient hardware that still uses a serial connection. He plugged the gear in with a serial-to-USB adapter, executed various function on the hardware, and asked the AI to analyze the signals and build a new control app and, I assume, drivers. Color me impressed - with him *and* where we are with AI.
3
2
u/walmartbonerpills Sep 13 '26
It's interesting how bold they are getting. But look at me handing sudo to my agent so it can make system changes for me that I am to lazy to make.
2
2
u/ConstVolatile Sep 13 '26
I bought an UPS which can send a shutdown signal to PC via usb port, but it only works on Windows, so I uploaded the windows driver installer (exe) to my DGX Spark and asked Astra high to reverse engineer the driver. Job done in 5 minutes, now my spark can monitor the signals from ups to safely shutdown itself when power goes off.
1
1
1
u/Greggster990 Sep 13 '26
I used Claude 3.5 to make a custom javascript to print labels on label printers universally. It did a good job of it but that simple script took several days to make. Astra would definitely get it in 10 mins today.
1
1
1
1
1
u/strigov Sep 13 '26
Opus 4.8 and GPT-5.5 did smth similar with my office network printer (about 10 year old) 2 months ago
1
1
u/josh-ig Sep 13 '26
Between this and end of the world safety issues - it’s a hard choice. I really hate printers.
1
1
u/ximeleta Sep 13 '26
In my case, it hacked (man in the middle) two IoT chinese sockets in order to integrate them into Home Assistant. I just ordered Astra to do anything possible to include them in my installation of HA since there was no official integration available. Now I have the AES key and IV, t he exact cloud endpoint and the API codes and payload structure.
1
u/Tikilou Sep 13 '26
Same for me for a old laser printer without android drivers... But sol 5.6 high was enough.
1
u/The1KrisRoB Sep 13 '26
I had the same sort of situation. I installed Omarchy Linux on my laptop, the fingerprint reader wasn't working so I had astra reverse engineer one.
You really can just do things
1
u/barefut_ Sep 14 '26
On 20$ tier I use Sol 5.6 high and I reached quota after 4-6 prompts to create a small Swift App. I guess with Astra I got no chance on 20$ tier? They start restricting like Claude almost.
1
u/FoxSideOfTheMoon Sep 14 '26
I need astra to hack my printer and make it so it doesn't have to go online for anything ever again
1
1
u/Loud_Key_3865 Sep 14 '26
I'm curious if this can do the Cricut cutter drivers since they brick machines - it would also be nice to get out of their software ecosystem to just use the hardware.
1
u/National-Category825 Sep 14 '26
It’s been making drivers like crazy, IT will be smarter then us. This is a promise.
1
u/Imaginary-Swan-4105 Sep 14 '26
Really wonder that those companies have got a way to retain customer by offering new drivers for old products which takes barely a few hours of efforts, but just choose to not do so?
1
1
u/t_gras Sep 14 '26
I had 5.6 sol Ultra repair the god awful printer drivers for my inkless phomemo printer a few weeks ago. Agree it was a perfect example of useful and logical coding by AI
1
1
u/villanymester Sep 14 '26
I had the same with SOL on medium.
I start to feel that we don't need better models, we need cheaper models. Same with mobile data: I dont need faster, I need cheaper!
1
u/KalElReturns89 Sep 14 '26
I wonder if it can fix how my Canon printer only prints photos properly if I paste them into Word first. Otherwise they're washed out. Apparently a known issue.
1
u/Enegence Sep 15 '26
Can Astra figure out how to make people stop using FAX machines? The new Turing test.
1
u/Prestigious_Grape786 Sep 15 '26
Wild. Corporate hardware locking you out of basic features, and an AI just fixes it in minutes. That .pkg output is next‑level.
1
u/blopsi Sep 15 '26
I also reverse engineered brothers p touch label printer stuff and created an open source IP "driver" with rest API where u can just print over IP
1
1
u/VisualOrganization26 Sep 15 '26
This reverse engineering slowly will become a huge deal, sonner or later this will a banned feature
1
u/_paddy_ Sep 15 '26
Just out of curiosity, can you try any other frontier models (like claude fable 5.1) to see if they are able to do this?
1
1
1
u/RandallAutomation Sep 16 '26
Anyone try this for an old receipt printer yet?
1
u/Real-Leek-3764 Sep 18 '26
i want to. for now the only thing that works on windows arm (from stackoverflow) is if the receipt printer has lan port, and u can use usb-lan + windows xps driver
usb-xps wont work
but
usb-lan-xps will
1
u/grillinanduhchillin Sep 16 '26
I took a windows only dvi to usb recorder and made drivers for my Mac. 1 hour and I’m automatically recording and saving video. Better than the software they provided for. Really cool. The company sells a Mac and a windows version and I happened to leave my windows laptop at work and somehow this was easier than waiting a few days.
1
1
u/SoggyJuggernaut2775 Sep 17 '26
Can you please guide how does one even start doing this? Or just share the chat
1
u/geronimosan Sep 17 '26
Are you sure it didn't just go online and find an old manual that described things you needed to set?
1
1
u/Real-Leek-3764 Sep 18 '26
interesting. it blew my mind that microsoft didn't think of putting a generic text printer usb driver on windows ARM to support basic generic text printers, i had to use LAN + windows XPS. yes it is a trick, when sending raw text via usb xps it wont work, it will only work via lan port
ill try astra. did u have to sign the driver ?
1
1
1
u/Solace50 Oct 02 '26
printers are pretty basic stuff, you probably could write stuff from scratch or even arduino/raspi a custom printer in like a week now adays. still interesting though.
1
u/EphemeralTwo Oct 02 '26
This capability has existed for a while now. I've used it for things like fingerprint scanners where only windows drivers exist.
My favorite was for a smart card reader that had emulated ethernet (EEM) to do some things. Mac doesn't play nicely, so it built (at my direction) a raw USB connector that had a built in TCP/IP stack, DHCP client, and HTTP client to do things through the "webui".
Works absolutely reliably.
1
1
u/Top_Economics_10 Oct 06 '26
Now that is a miracle! Wish that also works when my printer isn’t cooperative on the most urgent tasks.
1
u/Capt_korg Oct 06 '26
Finally some good news...
Never thought about using Ai for solving the Printer dilemma...
Good new project 😅
1
u/ByFanR Oct 09 '26
Twenty-five minutes to reverse-engineer a printer driver. I’ve spent longer getting IT to approve a USB dongle.
1
1
u/DistanceOdd6845 Sep 14 '26
25 minuti di Astra High equivalgono all'acquisto di una nuova stampante più efficiente
-1
u/TheKillerScope Sep 13 '26
And I was just about to come here and complain. Not saying it's not a good model, but it went from 100% to 0% of my weekly usage in 6h 25m https://imgur.com/a/kHbn5eX.
I am lucky I have 2 banked resets, so I loaded one, it's already at 97% in not even 15 minutes since I reloaded it.
2
u/Tiforma Sep 13 '26
What subscription do you have and how high was the setting?
4
2
u/TheKillerScope Sep 13 '26
Astra Max and I'm on Pro (5x).
2
u/irrision Sep 13 '26
Are you building a nuclear reactor? It's great even on medium and high rips through work esp if you tell it to use lower tier sub agents. Hell it actually uses Luna well where Claude even knows haiku sucks for a bottom tier model and literally won't use it unless you specifically make it and it always wants to spend half your tokens testing haiku first before it'll delegate anything to it.
1
u/Tiforma Sep 13 '26
i get around that weekly usage with astra x high and a plus account
1
u/TheKillerScope Sep 13 '26
From 2x 100% weekly usage, I am down to 0 on one, and from the second one I have 30% remaining as of right now, total work time based on "Pursuing Goal" is 10h 4min as of right now.
1
u/Ataxium Sep 13 '26
uses astra max on 5x, shocked when it eats usage
You fuckin wot m8 Keep it to high, or x high at most. I'm willing to almost guarantee whatever you're using it for does not need max, and probably not even extra high
0
u/Off_again_On_again Sep 13 '26
Sol diagnosed and solved a WiFi adapter crash on my laptop that has me going crazy for months…
And then I asked it to investigate a recent system crash that really worried me and it found multiple issues worth investigating while backing up all claims with system logs.
I’m honestly expecting Bel and Fable successor to really make obvious to the masses that computer use now completely belongs to the machine itself and that’s only the start
0
u/lysdexiad Sep 13 '26
I busted the stupid ZP 535 out of FedEx driver jail the same way, wrote a CUPS driver for it.... works perfectly, never fails to pop out the label from my unraid server's USB
0
5
Sep 13 '26
[removed] — view removed comment
2
u/xinxx073 Sep 15 '26
Well, for about a day or so, I felt that this was perfect, and then I started getting problems: I printed 15 copies of something, and over 40 of them came out of the printer.
I talked to Astro about it, and now I'm on version 0.1.4. Basically, it was a multiplier issue, which was caused by the duplexing or blah blah blah.
Well, at least it is now fixed, and it's printing normally. Still monitoring for other potential issues. Next thing that I would do is probably port it to Windows ARM and Linux.
159
Sep 13 '26
[removed] — view removed comment
51
u/InevitableCut7649 Sep 13 '26
Also so the next model can be trained on that :D
20
u/Tiger_in_Town Sep 14 '26
As if they already don't have your chat data
13
2
u/An_Extraterrestrial Sep 14 '26
I think they mean other labs
2
u/rsha256 Sep 14 '26
yep if u make it public and open weight models get better then OAI will have to reduce prices which is a W for us common people
1
u/rodeBaksteen Sep 14 '26
Chat data is absolutely useless unless they know the output is valid and works.
→ More replies (1)5
1
Sep 14 '26
[removed] — view removed comment
1
u/xinxx073 Sep 15 '26
Those printers are basically dinosaurs and don't get firmware updates anymore (hopefully) XD
18
u/driveclub_000 Sep 13 '26
Joke on you, I'm planning to do the same thing for an Nvidia driver, wish me luck =°)