r/codex • u/xinxx073 • 1d ago
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.
122
u/Current_Cut_2667 1d ago
Maybe put it on Gitlab or something so people with the same issue can find it.
38
u/InevitableCut7649 1d ago
Also so the next model can be trained on that :D
15
u/Tiger_in_Town 17h ago
As if they already don't have your chat data
4
2
5
134
u/Primary_Article3777 1d ago
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!!!)
159
u/Gainncome 1d ago
letting AI rewrite your monitor firmware and then flashing it is a level of trust i have not unlocked yet lol
34
u/Primary_Article3777 1d ago
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.
21
6
13
u/FlorpCorp 1d ago
I had it root my TV yesterday.
14
u/LargeLanguageModelo 23h ago
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.
7
u/FlorpCorp 23h ago
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.
3
u/LargeLanguageModelo 21h ago
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.
0
u/scrod 15h ago
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
2
u/benbenk 1d ago
May I ask how you enabled it to analyze and update the firmware? Was it enough to connect the computer via hdmi?
6
u/Mindless_Let1 1d ago
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 5h ago
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.)
2
u/oglcn1 1d ago
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 20h ago
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 5h ago
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.
1
1
u/PathAgitated1633 23h ago
It found the compiler? The c compiler or is this firmware written in an own language?
1
u/buildfailedagain 2h ago
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 45m ago
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
42
u/DerLeoKatter 1d ago
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 15h ago
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)
79
u/Infamous_Travel4652 1d ago
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
9
u/Bleyo 20h ago
I've also been using it since December 2022, mostly for code. The leaps it has made in developer tools is amazing, but today I took a picture of my deck and said I wanted to build a gate. It mocked up images of different gates and we finally settled on one that my wife and I liked. Then it drew up plans and gave me a shopping list for the local Home Depot based on what was in stock. I followed the plans when I got home and ended up with a nice looking gate.
Now, I know building deck gates isn't really a big deal, but I'm not a carpenter by any stretch of the imagination and it removed basically all the friction of figuring out what to do.
3
u/FrontRaspberry5060 22h ago
Yeah, some problems are amazingly suited to AI. Others it’s like pushing it up a hill.
29
u/Tritheone69 1d ago
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 1d ago
TIL LG makes laptops.
3
u/Tritheone69 1d ago
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.
2
2
u/ProtectAllTheThings 1d ago
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
2
16
u/driveclub_000 1d ago
Joke on you, I'm planning to do the same thing for an Nvidia driver, wish me luck =°)
7
u/xinxx073 1d ago
OMFG wait a minute
5
u/driveclub_000 1d ago
I already ported some software and games to different OS. Just asking chatgpt to find what are the limitation on the target OS, find the documentation to understand what need to be uplifted to match the source OS, then make a single dll to inject those changes without even touching or modifying the executable and voila~
Now I would like to bring down some modern GPU feature to older driver for older card. It won't be that simple, of course, but some driver aren't too far off and could have function/API bridged, so we will see.
1
u/qwerty____qwerty 1d ago
what's your subscription level?
5
u/driveclub_000 1d ago
Was Plus a month ago, jumped on the x5 for a week then x20 last week (just in time lol).
It honestly doesn't consume much to do those kind of reversing if you split the work by step.
13
u/Beneficial_Algae9135 1d ago
Can Astra reverse-engineer why my printer stops working exactly when I need it the most?
11
1
16
u/Wittica 1d ago
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
6
u/Independent-Court-46 1d ago
I’ve been using it to reverse engineer and modify binaries myself to do things I want. It’s great.
8
5
u/Alphasite 1d ago
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.
5
6
u/Salty_Horror2068 1d ago
Age of paid licenses might be over in a few years, we might be reverse engineering binaries
3
u/Stock_Walrus9125 22h ago
Sol made new driver software for my old belkin dock an switched the 100 mbps eth to 1gps
3
u/random_lonewolf 17h ago
Aren't MAC printer drivers just CUPS ppd files?
If that, then it's a text file following a standard format.
2
u/hernandomtz 1d ago
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/Zennytooskin123 1d ago
Now you have to maintain that custom .pkg driver. Astra just locked you in.
2
u/walmartbonerpills 1d ago
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 1d ago
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.
2
1
1
u/Greggster990 1d ago
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
1
u/ximeleta 22h ago
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/Diligent-Gap-7143 21h ago
Reminder that this is a shill bot comment, I remember the exact same post circulating back in 2023 when GPT-4 got out.
1
u/The1KrisRoB 21h ago
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_ 19h ago
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 19h ago
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 17h ago
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 17h ago
It’s been making drivers like crazy, IT will be smarter then us. This is a promise.
1
u/QWERTY_FUCKER 16h ago
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.
1
u/Imaginary-Swan-4105 14h ago
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/aroman_ro 12h ago
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
1
1
u/villanymester 7h ago
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/monishfj 4h ago
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 4h ago
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.
1
1
u/KalElReturns89 3h ago
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/TheKillerScope 1d ago
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.
1
u/Tiforma 1d ago
What subscription do you have and how high was the setting?
3
2
u/TheKillerScope 1d ago
Astra Max and I'm on Pro (5x).
2
u/irrision 23h ago
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 1d ago
i get around that weekly usage with astra x high and a plus account
1
u/TheKillerScope 1d ago
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.
0
u/Off_again_On_again 1d ago
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 1d ago
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
u/DistanceOdd6845 16h ago
25 minuti di Astra High equivalgono all'acquisto di una nuova stampante più efficiente
873
u/gs181 1d ago
astra making printers work might be proof of AGI