| ▲ | Porting Rockbox to an undocumented $9 AliExpress 'YP3' MP3 player with LLMs(jayd.ml) |
| 176 points by jaydenmilne 2 days ago | 74 comments |
| |
|
| ▲ | beala 5 hours ago | parent | next [-] |
| 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 4 hours ago | parent | next [-] | | 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 4 hours ago | parent [-] | | 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. |
| |
| ▲ | Velocifyer an hour ago | parent | prev | next [-] | | For $40 you can also get a no cell android phone(advertised as a "Wi-Fi MP3 player") on AliExpress. | |
| ▲ | phreeza 2 hours ago | parent | prev | next [-] | | I wonder if we'll see a world where one can basically "vibe code" a bespoke device like this. I guess we're really not that far off, I could order a 3d printed enclosure from somewhere, a PCB from somewhere else? But there would probably still be some soldering involved in final assembly. | |
| ▲ | VariousPrograms 4 hours ago | parent | prev | next [-] | | 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. | |
| ▲ | Ungh 4 hours ago | parent | prev | next [-] | | 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. | |
| ▲ | tikimcfee 4 hours ago | parent | prev | next [-] | | 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 4 hours ago | parent [-] | | Lilygo, elecrow, and seeed studio all produce similar prototyping hardware. Worth a browse. |
| |
| ▲ | theturtletalks 4 hours ago | parent | prev | next [-] | | 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. | |
| ▲ | gspr 2 hours ago | parent | prev [-] | | I don't mean to critique your taste – your taste is yours alone, and none of my business. But since you chose to share that taste with the world, I'll share how it differs from my taste: for me, what you describe is just one step removed from "I bought a yoto box". Sure, your version is cheaper and perhaps better, but that's a detail. You could imagine the original to have those attributes. So now we're down to "I bought a thing", in essence. Or, "I had a thing made for me", at best. From your kid's perspective, that's probably fine. Maybe my kids are being deprived of something by waiting for their dad to make a clone of yoto. It's just that as a reader on Hacker News, I don't know what this all entails. For me it's infinitely far from the hacker spirit. It makes me depressed. Not that you had one made, or even bought one – almost everything I own someone else made and I merely bought – but I don't understand where the joy is supposed to be. | | |
| ▲ | 0c3ca83 2 hours ago | parent [-] | | It's someone who spent their life harping on how chess is getting their hands on a chess engine, and using that to decide on every move. "Yeah, but look at how I win more games!" At some point, you realize they never liked chess. | | |
| ▲ | gspr an hour ago | parent [-] | | Aye. In their defense, this is a variant of chess where a win can be useful even if you don't like the game. I don't think it's nearly as useful as these people think, but that's another debate – here we can assume the yoto clone has useful value. So in that sense I'll grant them that it's different from "playing chess" by letting the chess engine pick your moves. They didn't care about chess, but they did get something out of "winning" a game. But, and here's the biggest problem: in that analogy, this site, and the wider hacker and maker communities, are chess enthusiast communities. Not communities for unboxing videos, which I feel half of HN is fast becoming :-( |
|
|
|
|
| ▲ | tikimcfee 4 hours ago | parent | prev | next [-] |
| 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 4 hours ago | parent [-] | | 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 4 hours ago | parent [-] | | 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 |
|
|
|
| ▲ | saintaardvark 5 hours ago | parent | prev | next [-] |
| 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 5 hours ago | parent [-] | | Why not just get a Sansa Clip again? Still the GOAT. I recently got a used Clip+ for $50 in decent condition. | | |
| ▲ | jaydenmilne 4 hours ago | parent | next [-] | | 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 4 hours ago | parent | prev | next [-] | | The memory can wear out. My dad put tons of hours on them and had more than one fail. | |
| ▲ | rglullis 5 hours ago | parent | prev [-] | | Because $50 is quite a lot of money for a music player that can not hold more than 32 GB of music? | | |
| ▲ | functionmouse 5 minutes ago | parent | next [-] | | I have a 128gb microSD in mine, with rips of all my CDs in .flac | |
| ▲ | theandrewbailey 4 hours ago | parent | prev | next [-] | | 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. | | |
| ▲ | hamdingers 25 minutes ago | parent | next [-] | | That's quite low bitrate even for Opus. Fine for audiobooks and podcasts but the loss in quality would be noticeable in music. More power to you if you can tolerate that but I couldn't. You can still save space with Opus but you need at least double that bitrate to match regular streaming (e.g. Spotify) quality. | |
| ▲ | rglullis 3 hours ago | parent | prev [-] | | Yes, but my phone also can play anything and it support SD cards up to 512GB, and I can put my whole music collection there just by syncing with my NAS. I know, not fair to compare phones with the sansa clip, but I already carry my phone everywhere. So it is $50 for a dedicated music player vs the sunk cost of the phone and sd card. |
| |
| ▲ | unwind 3 hours ago | parent | prev [-] | | 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? | | |
| ▲ | rglullis 3 hours ago | parent [-] | | But my music collection is mostly FLAC and high CBR mp3 and is probably in the 200GB range. I could make a whole setup to compress it, or I could just get a large SD card for my phone and play the songs there. |
|
|
|
|
|
| ▲ | 10729287 4 hours ago | parent | prev | next [-] |
| 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. |
|
| ▲ | jaydenmilne 4 hours ago | parent | prev | next [-] |
| 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! |
| |
|
| ▲ | MatekCopatek 5 hours ago | parent | prev | next [-] |
| 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. |
|
| ▲ | codeonline an hour ago | parent | prev | next [-] |
| Reading the post yielded this gold nugget. I would love to see this.. > RockGPT
This is going to get its own blog post because it is deeply amusing. A ~1 million param model running on your MP3 player. Almost coherent, fine tuned to be aloof and dismissive of humanity. Weights are streamed from SD card. Crazy |
| |
|
| ▲ | soleveloper 4 hours ago | parent | prev | next [-] |
| 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. |
|
| ▲ | doe88 3 hours ago | parent | prev | next [-] |
| Seriously it is fascinating, all these almost one shot one device reverse engineering posts are like sci-fi from a future i didn't even thunk about before. This is the practical ai i like, somehow it is scary but beautiful. |
|
| ▲ | ajot 4 hours ago | parent | prev | next [-] |
| 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 4 hours ago | parent [-] | | I have some ~$20 players booting that are better than this one (more RAM) but still pretty chinsy |
|
|
| ▲ | VariousPrograms 5 hours ago | parent | prev | next [-] |
| 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 4 hours ago | parent | next [-] | | 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 | | |
| ▲ | VariousPrograms 2 minutes ago | parent [-] | | I just installed OP's firmware. It is so good! This thing weighs 28g, slim form factor, big color screen, Rockbox, USB-C, bluetooth, chonky buttons, $9??? I loved everything about this MP3 player except the software. I easily slopped up some better audiobook bookmark and chapter support. I'm really excited about this player now. |
| |
| ▲ | glimshe 5 hours ago | parent | prev [-] | | 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 4 hours ago | parent | next [-] | | 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 4 hours ago | parent | next [-] | | 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 3 hours ago | parent [-] | | 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 3 hours ago | parent | prev [-] | | 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) | | |
| ▲ | petra 2 hours ago | parent [-] | | I still don't understand why there isn't a trivial option(not just for techies) to switch to rockbox, or other open/closed firmware types. Maybe even something like a standard, embedded app store. |
|
| |
| ▲ | kube-system 5 hours ago | parent | prev [-] | | 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. | | |
|
|
|
| ▲ | samamanjaro 2 hours ago | parent | prev | next [-] |
| This is great! You wouldn’t believe it but I did the exact same thing. In Australia we have a store called Kmart which rebranded and sold these yp3s. I am in the process of finishing up the Bluetooth menu in rockbox. I really want to port over doom. I’ll share it later (repo is private). |
| |
| ▲ | jaydenmilne 2 hours ago | parent [-] | | incredible haha, I'm glad I'm not the only person insane enough to do this. It will be very interesting to diff the drivers it came up with - how did you do reverse engineering work? Send me an email! |
|
|
| ▲ | Spunkie 6 hours ago | parent | prev | next [-] |
| Love seeing more and more reverse engineering articles like this pop up. I tried to do the same thing for a Famue BF30 on something like chatgtp 5.4 earlier this year but didn't make any real progress. I figured it was partially because there was no docs or even reviews on this model because it was such a new device. But maybe it's worth revisiting with a claude model. I think the hardware/form factor of the Famue BF30 is just awesome, but the software making it effectively unusable. |
|
| ▲ | TonyTrapp 6 hours ago | parent | prev | next [-] |
| > It seems like in 2026 there aren’t any cheap MP3 players that Rockbox supports though. Just in case anyone wonders, Rockbox supports several recent "high-resolution music players" from Chinese companies - they aren't $9 but they aren't particularly expensive either, and they offer decent sound and build quality. |
| |
| ▲ | jaydenmilne 4 hours ago | parent [-] | | Yup, this is shovelware. But I think there is value in a cheap option that can get people going for the price of a burger (less!) |
|
|
| ▲ | ParanoidShroom 5 hours ago | parent | prev | next [-] |
| I did the same thing with mechen d53
asked it to build 'adb' style command interface
read out the screen from the framebuffer. Sounds easier for claude than the webcam solution. its great fun!! and these low power controllers have insane battery if you are used to regular android power consumption |
| |
| ▲ | 05 5 hours ago | parent | next [-] | | > asked it to build 'adb' style command interface read out the screen from the framebuffer. Sounds easier for claude than the webcam solution. But the obvious shortcoming is that it doesn't work for bringing up display driver itself, framebuffer is what you want displayed, not what's actually displayed :) | |
| ▲ | jaydenmilne 4 hours ago | parent | prev [-] | | The webcam is just for LCD driver bringup. There is a dev shell that has a screenshot command |
|
|
| ▲ | yewenjie 4 hours ago | parent | prev | next [-] |
| I am curious, what other cheap hardware from China or otherwise are people hacking or upgrading or repurposing these days? |
|
| ▲ | nomel 5 hours ago | parent | prev | next [-] |
| This looks like a pretty great home automation remote! Too bad there's no WiFi, but putting an ESP32 in the same rooms would fix that! |
| |
| ▲ | jaydenmilne 4 hours ago | parent [-] | | This is 100% on my roadmap, it should be able to be a bluetooth clicker paired with a PC |
|
|
| ▲ | simlevesque 5 hours ago | parent | prev | next [-] |
| Hey I liked seeing your webcam trick. I'm working on Android TV apps and I have a similar setup. |
|
| ▲ | jcmfernandes 6 hours ago | parent | prev | next [-] |
| This brought me memories of installing Rockbox on my iRiver H140, years ago... it still works (not that I use it)! |
| |
| ▲ | jaydenmilne 4 hours ago | parent [-] | | That is 100% why I did this project, but on my E200. Come back in! The water is great! |
|
|
| ▲ | syntaxing 5 hours ago | parent | prev | next [-] |
| > More charts that I don’t understand Hah I got a good chuckle out of that |
|
| ▲ | echelon 5 hours ago | parent | prev | next [-] |
| Rockbox is still around? That's wild! I used it over twenty years ago on an Archos Jukebox, which was one of the ugliest and chunkiest music players. I was super happy to get it as a gift, though. |
| |
|
| ▲ | anthk 3 hours ago | parent | prev | next [-] |
| If you can use a BT mini-keyboard as an input method for RockBox then you can run Frotz on a tiny device. |
|
| ▲ | dsr_ 6 hours ago | parent | prev | next [-] |
| I don't use Rockbox because it works, although that is a prerequisite. I use Rockbox because the people who build it and support it understand it, have specific goals which align with mine, and fix bugs and improve things. The problem with "it works" is that if you don't understand why it doesn't quite work, you can't fix it. |
| |
| ▲ | jaydenmilne 4 hours ago | parent | next [-] | | Well, I have an attitude that it is fine to use LLMs for a project if no one was going to do it anyway. I think its safe to assume that no one was going to spend hundreds of hours reverse engineering a $9 MP3 player's chipset, so the fact that it does exist now seems to be a net benefit to the world | | | |
| ▲ | pessimizer 5 hours ago | parent | prev [-] | | I agree with the sentiment, but I hope it isn't an anti-AI argument. If AI gets better, it should get better at abstracting properly and teaching people what it's doing and why. The fact that we're relying on its tastes and its own limited and transient understandings of the systems it's working on is a sign of how primitive it still is. Hopefully the day is not too far off where it can explain to us every decision it made, which will empower us to prompt it with precision. |
|
|
| ▲ | jgbuddy 4 hours ago | parent | prev | next [-] |
| just bought one, super cool |
|
| ▲ | idiotsecant an hour ago | parent | prev | next [-] |
| I remember in old video games how laughable it was that characters could 'hack' electronic systems by throwing a little machine on it and watching a progress bar. Now, not sure sure .... |
|
| ▲ | kangim86 5 hours ago | parent | prev [-] |
| Tinkering with undocumented AliExpress boards is honestly one of the best practical uses I've found for LLMs. They still hallucinate plenty, but feeding them half-translated Chinese datasheets or register dumps to spot patterns cuts out days of tedious guesswork compared to digging through dead forums. |
| |
| ▲ | jaydenmilne 4 hours ago | parent [-] | | This one didn't even need a datasheet! It just pulled apart the old firmware with ghidra (in a cleanroom setup) |
|