Live data from Hacker News

I turned a $80 RK3562 Android tablet into a Debian Linux workstation

github.com

41–50 of 248 posts

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#41

Since it seems AI is pretty good at reverse-engineering stuff like this, is there any educational material on how to use it for that purpose? Seems like it could really help port things like postmarketOS to new devices (and improve support on existing ones)?

You should try asking AI itself about it

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#42
post #19

Earlier quoted context omitted.

> No BSP, no kernel source, no vendor documentation — just a DTB extracted from the stock Android firmware and rebuilt from there. That's exactly how I'd write it, save for the em dash with spaces around it, which is not how em dashes are normally used in English language. I think it's an overreaction.

What? That's exactly how em dashes are used in normal English.

An em dash is used without spaces in most typography manuals. But that’s for typeset books, it’s not like everybody writes that way in casual communication.

I think surrounding it with spaces comes from people using a regular dash (the em dash is not readily accessible on the keyboard), then surrounding it with spaces to make sure it’s not interpreted as a dash.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#43

What was the motivation for this? Why this particular tablet?

the tablet is cheap and was launched a few years ago, but they still sell it. because it boots from the SD card first, it makes a perfect candidate for this project.

Did you get it from AliExpress? If so can you post the link to the listing, because I'm not certain that you'll get the same CPU even for the model number.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#45
post #34

Earlier quoted context omitted.

Pretty much everything. I only had 4GB ram until two or three years ago. No swap. Never ran into an issue.

I have 8GB, which I've had since 2012. Never had a problem - I run a lean Nixos with just xmonad and dmenu, chrome, emacs, and about a dozen open pdfs and video tutorials.

Same here still use my laptop with 8GB DDR4 with Manjaro running.

Since I have a desktop I do use rustdesk way more often to just boot into that.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#46
The situation right now with the Doogee U10 tablet: not commonly available.

Once the news gets out about epic breakthroughs on commodity hardware and devices, there's unfortunately a likely spike in the purchase cost, even if such devices can be found at all anymore on the usual online sources of new and used goods.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#47
post #43

Earlier quoted context omitted.

the tablet is cheap and was launched a few years ago, but they still sell it. because it boots from the SD card first, it makes a perfect candidate for this project.

Did you get it from AliExpress? If so can you post the link to the listing, because I'm not certain that you'll get the same CPU even for the model number.

I got it from Amazon DE. The listing said it had an RK3562. There are a few different listings with Android 13/14/15/16. I only bought two, one with Android 15 and one with Android 16, and both turned out to be the same hardware.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#49
post #2

I reverse-engineered a Doogee U10 (Rockchip RK3562) to boot Debian natively from an SD card. No BSP, no kernel source, no vendor documentation — just a DTB extracted from the stock Android firmware and rebuilt from there. The tablet boots Linux directly from SD without modifying internal Android storage. Remove the card and Android still boots normally. The process is intentionally simple: write the image to an SD ca…

I’m running the risk of just getting an AI response back, but: How are you able to boot Debian from an SD card, and without unlocking the bootloader? Does the bootloader look for an OS on SD card by default? SD and eMMC are basically the same thing, is it just the same lines but an SD card takes priority over the eMMC? And does it not enforce verified boot properly / at all? Maybe being a Rockchip and not MTK/QCOM ha…

Likewise, I don’t know if I’m getting a question from an AI or not :)

But the answer is fairly simple, on a lot of Rockchip devices I’ve used, if there is no SPI flash or custom boot order, the BootROM checks the SD card first and then falls back to eMMC.

That is what happens here. Take the tablet out of the box, write the image to an SD card, insert it, and it boots directly into Linux instead of Android.

So the eMMC Android bootloader can be locked, but it doesn’t matter much if the SoC boots from SD first. Verified boot applies to the Android boot chain on eMMC, not to an external boot path that is accepted earlier by the Rockchip boot flow.

And now you’ll never know if this was an AI answer or not :)

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#50
post #24
post #2

I reverse-engineered a Doogee U10 (Rockchip RK3562) to boot Debian natively from an SD card. No BSP, no kernel source, no vendor documentation — just a DTB extracted from the stock Android firmware and rebuilt from there. The tablet boots Linux directly from SD without modifying internal Android storage. Remove the card and Android still boots normally. The process is intentionally simple: write the image to an SD ca…

> No BSP, no kernel source, no vendor documentation — just a DTB extracted from the stock Android firmware and rebuilt from there. Judging from the build.sh, it looks like this is just using unmodified upstream u-boot and tools from the rockchip-linux repository, so "from scratch" is really just analyzing the DTB to see what drivers need to be loaded?

yes, that is mostly on point. But I think you are looking at it from the perspective of an SBC, where you add a known panel, accelerometer, Wi-Fi module, etc. and already know what components you are integrating.

here the hardware is fixed and undocumented. I didnt modify the tablet, I had to figure out what was inside, what could be supported, where to find missing drivers and how to integrate and debug everything until it actually booted and worked.

I am not claiming to be a C or kernel developer. I am just someone hacking around until the device works. Maybe for others this is trivial, but for me it was a very exciting project.

Post reply on HN