Skip to main content
View on YouTube to comment and like!

Syntax Video

Jailbreaking a $50 photo frame

Chapter 1 0:00

Fixing a $500 Skylight calendar headed for e-waste

This is a $500 Skylight calendar that about a week ago was an expensive piece of e-waste. You see, I got it from my sister. She bought it, booted it up, no Wi-Fi networks, company sent her a new one, told her to recycle it. Me being the raccoon that I am, I figured out how to fix it for just 11 bucks. In this video, I'm going to show you how I fixed it. I'm going to detail the entire process, and then I'm going to do it again from scratch with a random $50 picture frame that I bought from Amazon.

I think we might be on to something here because these $50 calendars are not a bad deal and I think they are a bit of a Trojan horse to get into your house to get you to pay the old subscription fee. I've had the Skylight calendar sitting in my office for about a year now. I cracked it open, checked the antennas. I even soldered directly to the UART pins on the board. And while I got a lot of information on how this thing works, I could never actually get the Wi-Fi working. Every couple months, I try to revive this thing, but ultimately ended up being a hardware failure with the Wi-Fi chip on the board. But last week, I had a major breakthrough when I hooked it up to the latest and greatest models with a coding agent. On the back of this thing, there's a micro USB port that is marked as for service only. And when you plugged it into a computer, it didn't do anything at all. And that's when I discovered that holding down one of the buttons and then plugging into the power forced this thing into debug mode or recovery mode. and it appeared as a USB device on my computer. Once this thing was showing up on my computer as a

Chapter 2 1:00

Finding the hidden debug mode and rooting it

device, it was very clear to me that this was an Android 14 device and we could interact with it with ADB mode. I stuck a coding agent on it and it figured out what the hidden passcode was and told me to tap seven times in the upper leftand corner in order to turn on this special Android development bridge mode. Once we had that, we're able to root the entire phone, get out of the Skylight software into the native Android features. [music] We installed a launcher on there so we could see what all the apps were. And we wrote a bunch of scripts that were able to confirm that yes, this was indeed a hardware failure of the Wi-Fi chip on the board.

Chapter 3 2:05

Getting it online over USB (Ethernet, then a Wi-Fi dongle)

After a few more hours of back and forth, we realized we can use that micro USB port on the back if we force it into host mode. That gave me this, which is an OTG micro to USBC. Then I took my USBC dongle to Ethernet, plugged in the Ethernet, the agent forced Ethernet on, and boom, we had internet access on this puppy. But wired isn't good enough. So I thought, what about a Wi-Fi dongle?

Agent led me to buy this, which is a TP Link little Wi-Fi dongle external. It then added the drivers for support for this thing into the skylight frame. And I was able to take this monstrosity, which is USBA to USBC, USBC to USB micro, and then slap that puppy in there. Added a couple scripts so that on bootup, it would force the USB back into host mode. And boom, we got internet on this thing. Everything's working as expected. Now, this is my absolute favorite use case for coding agents where you can take a piece of hardware where you are either not happy with it.

Chapter 4 3:00

Why coding agents are perfect for hacking hardware

My own lights in my studio has the worst software ever. So, I had an ESP32 coded up with a bunch of custom firmware. Now, I can control it over Wi-Fi via my own home assistant. You paid for this technology. You should be able to make your own software and interact with it however it is that you want. older hardware where it might be e-waste because a little part on it is broken and the company doesn't want to pay to ship it back and fix it or things where they have sold it and they no longer want to support it. They want to strong your arm you into a subscription.

You now have the power to take back your hardware and actually interact with the things that you own and paid your good money for. So, I thought let's build another one absolutely from scratch and I'll show you the entire process. Just got it in the mail from Amazon. I've never seen this one before. I have no idea what to expect, but I'm going to bring you along with me.

Chapter 5 3:55

Round 2: a random $50 Amazon frame

All right, we got a 10.1 in digital frame. Those people look beautiful in there. All right. Well, it wasn't working right out of the box, so I thought it I would instead of returning it, why don't we just open it up and see what we got here? So, looks like we got a nice touchscreen LCD here. And this is what I was really excited about seeing, which is it says rock chip on there.

That's exactly the same chip that is in a lot of these low-end Android devices. And that's the exact same chip that was in the other one that I fixed. Take two. Last one was busted that I get for ordering uh Amazon returns. So, let's give this one a shot now. Screw that. Screw that. There we go. So, the old one that didn't work. I did crack it open and it leads me to believe it's running Android 6, which is 10 years old. I don't know if we're going to be able to get something on this, but let's certainly try. I'm going to go ahead and plug this sucker in. Oh, it's booting.

Chapter 6 5:05

Connecting the agent and forcing recovery mode

[music] All right, so first thing we're going to do is we're going to go to our coding agent and say I've plugged in a new Android device. It's a 10.1 in picture frame and I think it has a rock chip chip on it. [music] see if we can connect to it. At this point, I started fussing with it, trying to figure out how to force it into recovery mode. Some devices require you to hold a button while plugging it in.

In this case, I simply needed to press the reset button with a little pin for about 15 seconds while it's in the off state, and that would force it to boot into Android recovery mode and make itself available to the computer. One nice thing about this one is you could power and data over a single USBC connection, unlike the Skylight one which had a separate barrel jack connector and a micro USB connector. If you're having trouble with this part, ask your agent to write a script to watch for new devices as they sometimes will just make themselves available for a few seconds before booting into regular mode. We did it, Joe. I'm so stoked. I spent a whole bunch of time fussing with it to get it to work as fast as possible. So, quick rundown.

Chapter 7 6:00

Rooted: stripping bloat, new WebView, motion sensor

Rooted the entire thing. Removed all of the services and software that came built on it for the actual showing of photos cuz I don't care about that and I also don't trust that on a 10-year-old version of Android. I installed the latest possible version of Chrome or Web View that I can, which is Chrome 106.

Supports most of the stuff that I want. You know, CSS grid, flexbox, even a couple container queries. That's more than enough to get a [music] modern display of whatever it is that we want to show on this type of thing. I switched up how much RAM was available to the thing. Again, it's only a gig of RAM, but in order to make the browser a little bit more smooth, I increased the amount of swap RAM that it has. And then finally, I figured out how to actually use the motion sensor so this thing can sort of go into dim or dark mode when nobody has passed it for maybe 20 minutes or so. I did look into running Linux on this thing and it it's just not practical for how low power the hardware is. And I am very happy with how smooth and snappy this little dashboard software that I whipped up to go on it.

Chapter 8 7:15

A family dashboard with an agentic backend

Right now that we have this thing rooted running a modern web view. The question is what what should you display on this type of thing? And that comes down to the person. But for me quite honestly it's we've got a lot going on with our kids and we want to be able to see calendar for everything that's going on in our life. If we want to be able to track chores, reminders, shopping lists, and see photos of what's going on, I have already built out what I call the agentic backend to this type of thing.

And what that does is ingest all of the emails that are coming in from my kids teachers and from the school and all that type of stuff, right? You get emails, you get PDFs, you get links to Google Classroom, and it will simply just download all of that information. It will add things to the calendar. It'll add reminders. It makes word searches for their spelling words every single week. and it will right now I have it updating in e- in display but the first thing I did is I showed the kids hey look we made a calendar of everything that's going on and it's just continually updating on this e- in display and the first thing they do is they try touch it right everything is touchscreen to kids so having something and also it doesn't really work very well in like dim like at night when you go into the kitchen you can't really see it so I think a touchscreen nicely back lit hung in the kitchen is going to be fantastic for our family and I'm excited to show it to them. Now, I've shown it to a couple people and everybody asked, "Which frame did you buy, Wes? I want to do that as well." And my answers to that is, I don't know. I just grabbed the cheapest one that I could possibly find.

Chapter 9 8:30

Which frame should you buy?

They all are sold under different names, but you can kind of get an idea looking at the photo of it. They all have some sort of app that's associated with it so that they can once you give it to grandma for a week and you have these beautiful photos showing up in grandma's, they're going to bam hit you with the monthly charge. [music] So, don't buy it for that, but just grab whatever one. I'll put a link to the actual one that I bought, but I'm sure it's different in your country. I'll put the software up on GitHub so you can do this yourself. But this is actually kind of weird because the process for building this is not actually all that much code and it is more just a list of instructions that you can give your agent. So, basically what you'll have to do is I have a instructions document and then a whole bunch of like research document. Point your agent at that and say, "I want to do the same thing."

Chapter 10 9:00

Do it yourself

Quote it with credit and a link. Quoting Syntax