Finally, A Use For Old Cellphones

In what is now a three-year long search, I’ve finally found the perfect use for an old cellphone. And with it, the answer to a burning question: Why aren’t we hacking cellphones?

First, the application. The Octo4a project lets you use an old Android phone as a 3D printer server, web interface, and even time-lapse camera to make those nice movies where the print seems to grow up out of nothing before your eyes. It’s the perfect application for an old phone, making use of the memory, WiFi, graphics capabilities, and even the touch-screen if you want local control of your prints.

Connecting to the phone was the main hurdle that I’ve always seen in developing for cellphone projects, because I have robotics applications in mind. But Octo4a gets around this with low or no effort. Most 3D printers are designed to run on USB anyway, so connecting it to the phone is as simple as buying a USB OTG cable. With the USB port taken over, powering the phone long-run becomes a tiny problem, which can be solved with a Y-cable or a little solder. Keep the OS from going to sleep, somehow, and it’s problem solved!

But here’s why this isn’t a solution, and it points out the deeper problem with cellphone hacking that many pointed out in the comments three years ago. Octoprint is written in Python, and because of this is very easy to write extensions for and to hack on, if that’s your thing. When I first saw Octo4a, I thought “oh great, a working Android Python port”. Then I went to dig into the code.

Octo4a is written in Kotlin and uses the Gradle framework. It’s a complete port of Octoprint, not just to a different platform, but to a different programming language and to an almost entirely different programming paradigm. My hat is off to [feelfreelinux] for doing it, but my guess is that the community of other people fluent enough in Kotlin and Python to help port across upstream changes in Octoprint is a lot smaller than the community of Python programmers would have been. Octo4a is a great project, but it’s not a walk in the park to develop on it.

So all of you who wrote in the comments to my previous piece that it’s the Android software ecosystem that’s preventing phone reuse, well here’s the exception that proves your rule! A dedicated and talented, multi-lingual developer community could pull it off, but the hurdle is so high that few will rise to it.

Anyway, thanks [Feelfree Filip] for your great work! I’ll be putting this on my old S4.

Hackaday Podcast 147: Animating Traces, Sucking And Climbing, Spinning Sails, And Squashing Images

Hackaday editors Mike Szczys and Elliot Williams get caught up on the week that was. You probably know a ton of people who have a solar array at their home, but how many do you know that have built their own hydroelectric generation on property? Retrocomputing software gurus take note, there’s an impressive cross-compiler in town that can spit out working binaries for everything from C64 to Game Boy to ZX Spectrum. Tom took a hard look at the Prusa XL, and Matthew takes us back to school on what UEFI is all about.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (55 MB)

Continue reading “Hackaday Podcast 147: Animating Traces, Sucking And Climbing, Spinning Sails, And Squashing Images”

This Week In Security: GoDaddy, Tardigrade, Monox, And BigSig

After the Thanksgiving break, we have two weeks of news to cover, so hang on for an extra-long entry. First up is GoDaddy, who suffered a breach starting on September 6th. According to an SEC filing, they noticed the problem on November 17th, and determined that there was unauthorized access to their provisioning system for their WordPress hosting service. For those keeping track at home, that’s two months and eleven days that a malicious actor had access. And what all was compromised? The email address and customer number of the approximate 1.2 million GoDaddy WordPress users; the initial WordPress password, in the clear; the SFTP and database passwords, also in the clear; and for some customers, their private SSL key.

The saving grace is that it seems that GoDaddy’s systems are segregated well enough that this breach doesn’t seem to have led to further widespread compromise. It’s unclear why passwords were stored in the clear beyond the initial setup procedure. To be safe, if you have a WordPress instance hosted by GoDaddy, you should examine it very carefully for signs of compromise, and rotate associated passwords. The SSL keys may be the most troubling, as this would allow an attacker to impersonate the domain. Given the length of time the attack had access, it would not surprise me to learn that more of GoDaddy’s infrastructure was actually compromised. Continue reading “This Week In Security: GoDaddy, Tardigrade, Monox, And BigSig”

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The Cat Keyboard

Special thanks to [Maarten], who stumbled upon this old gem of a geekhack thread by [suka]. It’s essentially a show and tell of their DIY keyboard journey, complete with pictures. [suka]’s interest started with a yen for ergonomic keyboard layout alternatives. They soon found the geekhack forum and started lurking around, practicing layouts like Neo and AdNW, which [suka] still uses today.

A pair of num pads wired up to a Teensy becomes a keyboard.When it was time to stop lurking and start building something, [suka] got plenty of support from the community. They knew they wanted a split ortho with a trackpoint and plenty of thumb keys. [suka] started by building them from old Cherry keyboards, which are easier to come by in Germany.

The first build was a pair of num pads turned landscape and wired up to a Teensy, but [suka] wanted those sweet, clacky Cherry MX switches instead of MLs. So the second version used a pair of sawed-off num pads from old MX boards.

When the Truly Ergonomic came out, it got [suka] interested in one-piece splits. Plus, they were tired of carrying around a two-piece keyboard. So their next build was a sexy monoblock split with a laser-sintered case and keycaps. But that was ultimately too uncomfortable, so [suka] went back to split-splits.

Everyone takes a different path into and through this hobby, and they’re all likely to be interesting. Is yours documented somewhere? Let us know.

What Could Have Been: The Dygma Raise

I do some streaming here and there, mostly for the sense of focus I get out of being live on camera. I like to find out what my people in chat are clacking on, and one of them told me they have a staggered split called the Dygma Raise. I hadn’t heard of it before that day, but this keyboard has been around for a few years now.

This same person told me that Dygma might make an ortholinear version sometime soon, but apparently Dygma wanted it that way from the beginning. According to the timely video below sent to the tips line by [deʃhipu], Dygma’s original plan was a split ortho with few keys and presumably a layer system.

Continue reading “Keebin’ With Kristina: The One With The Cat Keyboard”

Ask Hackaday: Why Don’t Automakers Make Their Own EV Batteries?

Sales of electric vehicles continue to climb, topping three million cars worldwide last year. All these electric cars need batteries, of course, which means demand for rechargeable cells is through the roof.

All those cells have to come from somewhere, of course, and many are surprised to learn that automakers don’t manufacture EV batteries themselves. Instead, they’re typically sourced from outside suppliers. Today, you get to Ask Hackaday: why aren’t EV batteries manufactured by the automakers themselves? Continue reading “Ask Hackaday: Why Don’t Automakers Make Their Own EV Batteries?”

Linux Fu: The Ultimate Dual Boot Laptop?

I must confess, that I try not to run Windows any more than absolutely necessary. But for many reasons, it is occasionally necessary. In particular, I have had several laptops that are finicky with Linux. I still usually dual boot them, but I often leave Windows on them for one reason or another. I recently bought a new Dell Inspiron and the process of dual booting it turned out to be unusually effective but did bring up a few challenges.

If you ever wanted a proper dual-booting laptop, you’ll be interested in how this setup works. Sure, you can always repartition the drive, but the laptop has a relatively small drive and is set up very specifically to work with the BIOS diagnostics and recovery so it is always a pain to redo the drive without upsetting the factory tools.

Since the laptop came with a 512 GB NVMe drive, I wanted to upgrade the drive anyway. So one option would have been to put a bigger drive in and then go the normal route. That was actually my intention, but I wound up going a different way.

Continue reading “Linux Fu: The Ultimate Dual Boot Laptop?”