MSYS2 And The No-Fuss Way To Get More GNU Into Your Windows

As great and streamlined as the Windows desktop experience is, one area where it’s at best disappointing and at worst rage-inducing is when it comes to its command line interface (CLI) offerings. In Windows 9x/ME this could be excused by the fact that it was essentially just a dressed-up MS-DOS CLI experience, but on Windows NT-based OSes no such excuse exists.

Yet even after Microsoft finally acknowledged the shortcomings of the cmd.exe shell by 2006, they then proceeded to go their own way with PowerShell, industry standards be damned. Especially for those of us who have no beef with the UNIX/BSD/Linux CLI experience and the joys of shell scripting, this insistence was disappointing. Simultaneously, everyone from OS X/MacOS to Haiku were happily offering a familiar CLI environment alongside POSIX compatibility.

Although Windows NT OSes were POSIX compliant, they never offered a suitable shell along with it, nor any of the other things you’d expect in a modern-day BSD, Haiku or Linux CLI environment. In a recent article by my esteemed colleague Al Williams, these sore points were somewhat addressed as far as basic CLI tools go, but the issue goes obviously much deeper than just the basic userland tools. Which is where MSYS2 comes into the picture.

Continue reading “MSYS2 And The No-Fuss Way To Get More GNU Into Your Windows”

When A Favicon Becomes The Entire Website

Putting hidden data in places where few expect it can be a fun hobby or even a professional career. In the case of [Tim Wehrle] it’s just the former. His most recent project in this area uses a favicon image for storing a HTML-based website and rendering its contents within the browser after the favicon has been downloaded.

To pull this off, a very basic HTML page was turned into a series of UTF-8 encoded bytes that were then declared to be a standard PNG image. The original 208 byte payload plus 4-byte PNG header only used part of a 9×9 pixel favicon. With a larger favicon image as typically used you could thus easily store more data, whether as visual noise like here or a bit more hidden.

Of course there’s a catch, and in this case it’s the Typescript code to unpack the bytes from the “image” and render them; you have to load that separately. But still, in these days of all-singing, all-dancing websites that take forever to render, it’s refreshing to see what you can do with so few bytes that they fit in a favicon.

As for the purpose of such an approach, that’s left as an exercise for the reader, but you’re more than welcome to take a poke at the GitHub project and the demonstration site..

 

Hacking The Mi Band 10 Smart Band And Its Bestechnic SoC

In between playing Doom on the most ergonomically challenged devices, [Aaron Christophel] likes to take a relaxing break with reverse-engineering Xiaomi Mi Band fitness trackers and writing custom firmware for them. Also so that he can play more Doom on those, natch. The latest subject comes in the form of the Mi Band 10, which features a BES2700iMP SoC, known internally at the manufacturer Bestechnic as the BEST1503. This is all documented on the GitHub project.

In the accompanying video we get some more details on this project, with the main challenge being that for this Mi Band 10 there’s no public SDK for its SoC. This was a major bummer until [Aaron] realized that the BEST1306 (BES2700IHC) is effectively the same SoC, but with a leaked SDK available via apparently audio-focused development kits. From there a BEST1503-compatible SDK could be assembled.

Naturally, to check that all of this was working correctly Doom was ported to the device courtesy of the GBADoom project. This mostly works aside from the display running in single-bit SPI mode instead of quad-SPI that it should be capable of, along with limited color depth. Despite burning all the tokens on the Claude, this provided little help, probably because the required information hasn’t leaked out of Bestechnic yet and ended up in the training data set.

Since the Mi Band 9 uses the same SoC, it’s expected that this reverse-engineered SDK will also work for that fitness band, though that hasn’t been tested yet.

Continue reading “Hacking The Mi Band 10 Smart Band And Its Bestechnic SoC”

How To Bias A CRT After Installation

For most of us the abbreviation “CRT” brings to mind a monitor or TV. But at its core it’s about the special vacuum tube that makes the images appear.

Regardless of whether it’s just a simple monochrome CRT in an oscilloscope or a full RGB CRT, the basic steps to make it work in a device remain the same. In a recent video by [Void Electronics] these steps are worked through, including the biasing at the end that is necessary to get a stable image.

A big part of installing a CRT and driving it is knowing how to read its datasheet. Much like other vacuum tube types, there are heaters, control grids and a range of voltages to get right and keep happy. Even then you can still have a situation where you must troubleshoot problems, which is also touched upon in the video. All of this is demonstrated using an RFT B6S1 CRT as the subject, including how to build your own bias circuit.

Despite calling it an “obsolete skill”, there is still a lot of demand for CRTs in vintage lab equipment, arcade restorations and far more obscure fields that still have new CRTs produced for them. Not to mention that even today CRTs have characteristics that make them competitive with flat-screen technologies.

Continue reading “How To Bias A CRT After Installation”

Autopsy Of A Freshly Cooked 10Gbit SFP+ Network Adapter

With the advent of affordable 2.5 Gbit, 5 Gbit, and 10 Gbit consumer networking gear, more and more people are taking advantage of these higher networking speeds, with [This Does Not Compute] having used 10 Gbit SFP+ modules over regular Cat-5e copper to connect to a NAS in the next room. Only problem was that after a while these SFP+ modules began to start dropping frames. On taking a closer look at these modules, he found that they were running pretty hot: 40°C while idle. A teardown of one of these modules showed severe discoloration due to heat.

Side view of the SFP+ module's PCB. (Credit: This Does Not Compute, YouTube)
Side view of the SFP+ module’s PCB. (Credit: This Does Not Compute, YouTube)

Inside these 10Gbit modules is the Marvell-branded Alaska X 88X3310/40P PHY, which despite the ‘low-power’ claims have a metal heatsink glued onto the actual IC and thermally coupled to the module’s metal enclosure. The other side of the PCB was quite discolored, further indicating how hot these modules run in operation. Some digging revealed that this can go up to around 2.5 watts.

Perhaps the most fascinating part of this teardown is the discovery of an 8051-based MCU that’s responsible for telling the switch the module is put into that it is a 30-meter multi-mode fiber module, presumably for compatibility purposes. It’s definitely an interesting feature of these FS-branded SFP+ modules.

These old modules were replaced with Wiitek-branded modules that are supposed to use only up to around 1.5 watts in operation courtesy of a newer chipset, in the hope that these wouldn’t fry themselves. At idle these do however still run at 30 °C. As noted in the comments, it might be a good idea to have active airflow over high-speed networking gear like this, as they generally can get pretty hot and sometimes crispy.

The final solution for the video’s networking problem was to just run single-mode fiber to the room and use appropriate SFP+ modules for that, also because these run noticeably cooler. If you still have room in your cable ducts, that would seem to be the optimal solution.

Continue reading “Autopsy Of A Freshly Cooked 10Gbit SFP+ Network Adapter”

Defeat Blood-Sucking Mosquitoes By Becoming The Bug Zapper

One of the stun gun modules with battery pack. (Credit: Dani Cruster DiWHY, YouTube)
One of the stun gun modules with battery pack. (Credit: Dani Cruster DiWHY, YouTube)

Few things are more satisfying during a Summer night than hearing the crackle and pop of another mosquito hurling itself against a bug zapper and knowing that it won’t be trying to suck your blood any more. The only problem with those bug zappers, whether the mounted or hand-held type is that you cannot get every single attacking mosquito. Unless you were to put the bug zapper on yourself, of course. This is basically what [Dani Cruster] of the aptly named ‘DiWHY’ channel decided would be the right course of action.

The video is apparently dubbed over from the original Russian – with the team claimed to be based in Moldova – which probably explains a lot of the reasoning behind this engineering. At the core of the whole-body bug zapper is galvanized mesh, with a big question being how close you can get it to the body before said body gets zapped too. With about a millimeter of clearance between both layers of mesh required at 1 kV, this was another design consideration.

Ultimately the guts of stun guns were used, which output around 10 kV and thus require a 1 cm gap between the mesh layers. PVC plates were used to create the structural elements of the walking bug zapper suit, using a heatgun to form it into a body-appropriate shape. That’s when human testing started, to try and not make it zap the wearer.

The final suit of bug zapping armor uses six stun gun modules, each powered by a 3 V power source created from two 1.5 V alkaline cells that are good for an hour of zapping. One issue found during a human trial run was that the zip ties used turned out to actually cause arcing, which had to be addressed first before heading to the mosquito-infested woods. In the video these are said to be near Tarkov in what appears to be the national park in Russia’s Tver Oblast and clearly a prime mosquito breeding ground.

During the real-life test run many mosquitoes and apparently even some ticks find their electrifying demise, before for some reason they seem to clear out after an hour or so. Overall it seems to work well, even if it’s not that ergonomic and things get spicy when it starts to rain.

Continue reading “Defeat Blood-Sucking Mosquitoes By Becoming The Bug Zapper”

The Repair Nightmare That Are Smart Rings

In the quest to make every wearable device ‘smart’, a lot of electronics along have to be crammed in very small spaces, along with ways to make them resistant to environments that our bodies do not mind, like getting hit by a rainstorm or simply washing our hands. These two factors combined make especially devices like smart rings an interesting case study for repairability, with [iFixit] recently taking apart a modern Oura smart ring to assess its e-waste factor after the built-in battery dies.

The tiny 10.5 mAh Lipo cell in the Oura Ring 5. (Credit: iFixit)
The tiny 10.5 mAh Lipo cell in the Oura Ring 5. (Credit: iFixit)

The subject of the teardown video is the Oura Ring 5, a $400 smart ring that’s designed to track your vitals much like a wrist-worn fitness tracker — just in a much smaller package. This metal-and-epoxy sandwich can definitely survive a good rain shower and washing of hands, but to get to the internals rather forceful methods were needed, unlike previous Oura and Samsung smart rings where some applied heat was enough.

In the Ring 5’s case even more heat was needed to make the inner ring start to slide out, but by that point the Li-ion battery inside had already popped from the heat. The inner ring then got stuck and more violence was required to continue the disassembly and get to the super-tiny, 10.5 mAh battery. Of course, at this point the smart ring really won’t be getting back together, never mind still work or be waterproof, which is a central issue with these smart rings.

With the EU’s February 2027 deadline for user-replaceable batteries looming on the horizon, it’ll be interesting to see whether devices like this can squeeze into an exception category, or whether manufacturers will have to massively redesign or stop selling these devices to this rather large market. So far this particular regulation has already forced Nintendo to make a special Switch 2 console for the EU.

Continue reading “The Repair Nightmare That Are Smart Rings”