Top
Best
New

Posted by jaydenmilne 1 day ago

Porting Rockbox to an Undocumented $9 Aliexpress 'YP3' MP3 Player with LLMs(jayd.ml)
104 points | 55 comments
beala 1 hour ago|
There are several companies like M5 that make development kits for prototyping IoT/embedded projects. $40ish for a touch screen and battery and speaker etc in a small case. For example: https://shop.m5stack.com/products/m5stack-core2-esp32-iot-de...

I had one of these in my box of unfinished projects. It's fun to dream about the possibilities, but actually programming it is time consuming.

Or at least it used to be. I plugged it in and had Claude write a Yoto box clone for my kiddo. It serves a webpage for uploading tracks and I have the m5 rfid accessory so I can associate rfid cards with songs. I can add album art and there's a carousel for picking songs. I even added some music visualizations and games.

I could publish the repo, but why bother? Just have Claude write you a new one from scratch exactly to your specifications. It takes about 30 minutes.

We live in an age of marvels and monsters. Riemann? Super intelligence? Is a singularity just around the corner? I have no idea but it doesn't seem so unlikely these days. Life comes at you fast, as they say.

jaydenmilne 1 hour ago||
What I find really compelling is that Rockbox is about ~25 years of careful, handcrafted work. It really is quite good. I don't think LLM can come up with it, it is a matter of taste, testing, and tuning.

But rockbox ports? Seems an excellent use for LLMs

beala 1 hour ago||
There's definitely something to this. My yoto clone is not as polished as an actual yoto. Sometimes a tap doesn't register and sometimes the web interface takes a second to load. Why? I have no idea. I didn't so much as open a single source file and my prompting was very lazy. But the results are incredible relative to the effort. In the before times it would have taken me 30 minutes just to get a new project set up.

What's disturbing is that given the trajectory of things, it doesn't seem unlikely that in a year or two it will be able to produce something as polished as rockbox from a single prompt, all while I'm still sipping my morning coffee.

VariousPrograms 53 minutes ago|||
This was one of the best alternative I found to hacking together an ESP32 MP3 player, but both options were bulkier and heavier than the cheap Aliexpress player.

It is hard to find a tiny hackable MP3 player that weighs under 40g (let alone widely available with bluetooth and USB-C). For comparison the iPod Shuffle is 13g and most popular iPod Nano is 37g. I think the PineTime smart watch might be another option. It's tough to find a really good option for books while running since the cheapy garbage players don't support audiobook formats out of the box.

tikimcfee 1 hour ago|||
Thank you for the link! I've been bumping into these folks a bit while looking for devices, and their offerings are great. If you have any other known manufacturers/resellers/wholesalers/hobby-shops you like, please do drop me a line!
beala 55 minutes ago||
Lilygo, elecrow, and seeed studio all produce similar prototyping hardware. Worth a browse.
theturtletalks 1 hour ago|||
I think the future of software will be skill.md files you pass around and have your AI build it. I think so many companies will be replaced with in-depth skill files.
Ungh 1 hour ago||
Hang on a minute. Business is involved. Your 30 minutes will turn into $50 at some point in the near future. Everywhere you turn there will be a charge, approval or perhaps even some menial slavery in front of a camera for model improvement if you don't have enough scrip left.

You'll look fondly back at the 6 month lead times then realising the 30 minutes was magical but just the dealer getting you hooked.

I haven't decided if this is in jest yet.

saintaardvark 1 hour ago||
This is amazing. I have such fond memories of my Sansa Clip. Now I play music on my iPhone that I've bought from Bandcamp -- but I run Linux at home, most of my music is encoded as ogg files, and all these self-imposed restraints have kept me from having the majority of my music with me everywhere I go. (I do use Navidrome to stream music, but it's not the same.) I'm looking forward to having a standalone, non-networked, everything-on-it music player again.

Also, though, this is just wild. The ability to point Claude at these sorts of problems and say "Here, figure this out" is just incredible. I agree with OP that reverse-engineering one of these things is one of the hardest problems I can imagine (well, that and the Riemann hypothesis), and seeing it do so well is yet another eye-opening moment in a year that's been full of them.

functionmouse 1 hour ago|
Why not just get a Sansa Clip again? Still the GOAT. I recently got a used Clip+ for $50 in decent condition.
jaydenmilne 1 hour ago|||
A lot of those old players (not the Clip) have poor battery life and use special USB connectors. The CPU in the YP3 will do circles around a Clip+ too, and there is something to be said for being able to run it on currently supported hardware
driverdan 43 minutes ago||||
The memory can wear out. My dad put tons of hours on them and had more than one fail.
rglullis 1 hour ago|||
Because $50 is quite a lot of money for a music player that can not hold more than 32 GB of music?
theandrewbailey 32 minutes ago|||
A Clip+ with Rockbox will support Opus. Opus @ 96kbps sounds fine, which makes about a month's worth of music on a 32GB microSD card.

Source: I do exactly that.

unwind 11 minutes ago|||
Uh I'm certainly old but at around 7 MB per 3-minute song, that'd be around 4,500 songs (or 225 hours). Surely that's quite a long listen before having to refresh the contents?
10729287 59 minutes ago||
Like a lot of people here I guess, I have fond memories of rockbox running on a Sansa clip+. Those are now too pricey on the used market and I’m glad to hear there will be alternatives in the future thanks to LLM.
tikimcfee 1 hour ago||
I am so, so happy to see this. This exact idea has been my obsession for the last month or so.

I've been building a 'tinybot' from this flow. The devices you see out there at ridiculously cheap prices are so - SO - much better than the current-gen software that runs on them. Android running on a MediaTek is so hard-hamstrung by the OS and the many many layers of abstraction and virtualization.

$10 for a complete hardware product is incredible.

When you bump that up to just $20, or even more to like $50+, you can get some really, really nice specced 'microdevices', like the ones mentioned by `beala` here: https://news.ycombinator.com/item?id=50644855.

I've got plans for these things, and because of the shift away from software being sold, it's time for the powerful hardware that it sat on to rise again!

P.S.: If any of this sounds intriguing to you, please do drop me a line! I'm going to be open-sourcing the repo I'm using to build my prototypes, and if all goes well, I'll have some pages up soon explaining the build process, the tools, How-To's, limitations, etc. I could use all the help I can get, and this site has plenty of folks that like to tinker on the very small and the very "underpowered" ;) (yes, I think this is what folks call the 'nerd snipe', and you have my blessing to save yourself before you get caught in it. We're all supposed to be working, after all.)

jaydenmilne 1 hour ago|
It's amazing you can get Pentium-ish performance - but in a dual core - with an entire finished product for his price. I've got a pretty wild list of bluetooth releated projects I want to do (bluetooth multiplayer, bluetooth walkie talkies, etc). Cheap MP3 players are a platform!
tikimcfee 55 minutes ago||
100x yes! I'll be sure to ring you up when I post up the project and it does the stuff I want it to. I think you'd really enjoy it, and for the price, you might have more toys to play with too! =D
jaydenmilne 1 hour ago||
It's worth pointing out that since this post I have ~4 more <$20 players on my desk running Rockbox, I'm just working on QA and writing it up!
jaydenmilne 1 hour ago|
See https://github.com/jaydens-tasty-slop/auto-rockbox for the skills / testing tool kit for bringing more players up
MatekCopatek 2 hours ago||
This is awesome, I saw similar custom firmware projects pop up for some Snowsky players:

https://recho.atzkey.workers.dev/

https://zmd22.github.io/diskos-disco/

https://b0hemia.github.io/diskOS/

Disclaimer: I have no affiliation, I'm just following the space.

ajot 56 minutes ago||
There was a recent unofficial Rockbox port to the "Innioasis Y1" player. Not as cheap as OP's player, but it seems to be 66 USD in their store (probably before shipping and tax)

https://github.com/rockbox-y1/rockbox

https://www.innioasis.com/products/y1

I learnt about it thanks to the Dammit Jeff youtube channel

https://www.youtube.com/watch?v=3d2cATPt8Nk

jaydenmilne 53 minutes ago|
I have some ~$20 players booting that are better than this one (more RAM) but still pretty chinsy
soleveloper 1 hour ago||
It would be cool to have a list of hackable cheap aliexpress hardwares.

Can be listed with capabilities and filtering of wifi+lcd / bluetooth+2buttons+lcd / 5leds+wifi.

anthk 4 minutes ago||
If you can use a BT mini-keyboard as an input method for RockBox then you can run Frotz on a tiny device.
VariousPrograms 2 hours ago|
This is great! These cheap little things are incredibly lightweight and their stock firmware is trash. Most modern MP3 players are heavy and chonky and really lightweight ones that support Rockbox like the Sansa Clip Zip have a big premium on the collector market now.
jaydenmilne 1 hour ago||
It is hard to express how terrible the stock firmware it. Mine watchdogs every time I plug it into a computer.

I have a personal vendetta against crappy software that holds back otherwise capable hardware, it's honestly a reason I got into tech to begin with

glimshe 2 hours ago||
They probably won't be trash for too long. If hobbyists can vibe code better firmware, the manufacturers will soon start doing that too.
jaydenmilne 1 hour ago|||
I don't think you can prompt your way to something as tasteful and creative as Rockbox is. The theming support is deep, decades of plugins, etc
glimshe 58 minutes ago|||
The people working at these companies are smart too. And I'm sure a few have good taste. But creating tasteful firmware takes time and money which they often don't have.
pessimizer 15 minutes ago||
They could just vibe-code Rockbox itself onto their devices first. No reason to avoid the GPL if people can vibe drivers for your hardware anyway.
jaydenmilne 11 minutes ago|||
To expand on my point: a lot of the manufacturer firmware is optimized to look nice in a listing. Rockbox's menu driven UI isn't flashy (with themes it can look nice though), but is 100% the better UX pattern (it's what iPods did after all!).

So I still think they're going to optimize for the wrong thing and usability is going to be lost. Since Rockbox is made by - well - users it is more aligned with them (insert Stallman argument about FOSS here)

kube-system 1 hour ago|||
The OEM firmware wasn't crap on these things in the first place because of a lack of capability. I suspect the manufacturers who are currently releasing products with sloppy minimum-viable firmware, will do the same thing when they adopt AI, and release minimum viable vibecoded slop firmware.

That could still be an improvement though.

More comments...