I turned a $80 RK3562 Android tablet into a Debian Linux workstation (github.com)

277 points by tech4bot 15 hours ago

nine_k 12 hours ago

Booting into Debian with most devices fully functional is great.

What I'd like to know is what software runs adequately under it in 4 GB RAM. Web browsing should definitely be possible, but I suppose it's limited to very few tabs. Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE could be even more economical, leaving some room for e.g. development tools.

laughing_man 2 minutes ago

I run Ubuntu on my Chromebook. It's what I'm using to read this now. Web browsing works just fine. There's a limit to how many sites I can have open at a time, but since I regularly view sites that use over 1 GB of ram in Chromium, that's the case on all my machines.

Most of the games I play run in 4 GB, but since my Chromebook only has 32 GB of storage, There are some I can't install and I generally only have four or five installed at any given time.

roryirvine 11 hours ago

Browsers and anything electron-based are your enemy.

Firefox is actually pretty good in low-memory situations, silently discarding tabs when under memory pressure, but the main benefit comes from being able to run proper adblocking. Chromium-based browsers just can't compete these days.

Otherwise, a bog standard Gnome-based Debian Trixie desktop should be pretty doable. I'm currently using an 8 GB machine with 3.7 GB RAM free - Firefox, evolution, gnome-calendar, and gnome-software are the only apps that using more than 100 MB, and none of them are obligatory.

spijdar 7 hours ago

I haven't carefully profiled memory use, but in my experience, Chromium is so much more performant than Firefox on ARM devices that any difference isn't worth it. If you're using a lot of tabs, it might lean in Firefox's favor, but overall performance so strongly favors Chromium that I've given up trying to use Firefox on anything but my high performance machines. I'm not sure where the performance delta is coming from, but the whole UI and JavaScript anything are much more responsive on e.g. A73 cores with 4GB RAM.

parlortricks 6 hours ago

NooneAtAll3 10 hours ago

it's probably the "you only notice when it doesn't work" situation, but my experience with firefox on ram limit has been a lot about tabs forgetting the url in them

as in, I click "open in new tab", some time later I switch to them... only to get hit with "new tab", even though a moment ago it displayed tab name and I could right click -> bookmark to preemptively copy the address

nine_k 10 hours ago

jolmg 6 hours ago

Barbing 8 hours ago

>[Firefox runs] proper adblocking. Chromium-based browsers just can't compete

Any familiarity with Safari and blocking performance? uBlock Origin Lite is a simple option, AdGuard can do more (injection?) though uBO feels more trustworthy still…

ge96 7 hours ago

Funny I'm using Ubuntu 24 i3 with vs code on a black 2008 Macbook

fwip 9 hours ago

Seconding ad-blocking. I have a low-end phone (4GB ram, and a mediatek processor from 2018), and setting up DNS-based ad-blocking made a lot of sites go from unusable to usable.

donw 2 hours ago

... I haven't seen an ad in years, thanks to Brave, which is as of the last time I checked Chromium-based.

tnelsond4 10 minutes ago

I use dwm and brave and 10 tabs or so and I'm usually at about 2-3gb of RAM used.

not_your_vase 10 hours ago

Can't speak for OP, of course.

Some time ago I got myself a similarly priced x86-64 Windows tablet on Amazon (Celeron N4020 + 4 GB RAM). I installed Linux Mint on it with a slightly customized kernel (some extra quirks were needed).

I connected an old SSD to it with a SATA2USB adapter, and I use it as a home file server and HTPC. It has a micro HDMI output, and it is connected to my TV. During the day it is playing music non-stop, in the evening it is playing some movies. It has no problem with high bitrate full HD movies, the CPU doesn't even break a sweat. I think it could also play 4K content, if I had any.

(Previously I used a Mac Mini with VLC for this for a few years, but I'm happier with my current setup, it's more stable)

elch 8 hours ago

Does it boot from the card? Is there an installation guide available somewhere?

singpolyma3 12 hours ago

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

logicchains 11 hours ago

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

That sounds like an problem Windows could solve.

BobbyTables2 11 hours ago

exe34 11 hours ago

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.

niekkamer 11 hours ago

NooneAtAll3 11 hours ago

having many tabs is perfectly fine - it's having many *youtube* tabs is troublesome

main trouble to me has been caused by unity games - those are the big ram devourers, even most basic 2D ones (I still don't understand how that happens, why such regression since KSP days)

and plenty of 2D games work perfectly fine (devs really overestimate minimal requirements)

Rohansi 10 hours ago

> main trouble to me has been caused by unity games

Generally it's probably just bad optimization. But that only gets you so far because Unity's asset streaming is designed to work with level-based games. It will only let you unload assets if you package them per-level and then swap them in and out at load screens between levels. Absolutely useless for games like KSP.

NooneAtAll3 10 hours ago

prmoustache 4 hours ago

What software doesn't run with 4GB of ram is the real question.

SchemaLoad 3 hours ago

Most individual programs will run with 4GB but you won't be able to have multiple open at the same time.

jolmg 7 hours ago

Got a PinePhone Pro with 4GB.

> I suppose it's limited to very few tabs

Not really. Haven't used it super heavily, but I haven't felt limited by tabs. It can handle multiple YouTube tabs, too.

> Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE

I use sway on it. It's perfectly responsive. I expect i3 with Xorg would also be. Neither count as a DE, but neither does a terminal + tmux.

throwaway27448 9 hours ago

Frankly if you don't need a web browser (or electron), what WOULD require that much memory? Video and photo editing maybe? Postgres? Recompiling the world?

sellmesoap 7 hours ago

I first started recompiling the world with 64MB of ram, kind of funny how far we've come on hardware and made software gobble up the gains with very little to show for it.

fnord77 7 hours ago

lynx

NoboruWataya 12 hours ago

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)?

mewse-hn an hour ago

I have claude code hooked up to deepseek, I hooked up my spare cheapo android tablet, installed adb and fastbook with my package manager and asked the AI to jailbreak the tablet.

It discovered the tablet was running a unisoc t606, found a CVE from a couple years ago, and unlocked the bootloader for me. I was the meat puppet holding the "volume up" button and plugging in the usb cable a bunch of times. Like most of my experiences with this stuff, it was pretty eerie.

Next step for me is to attempt mainline linux, there seems to be some postmarketOS devs playing with it. We've probed most of the tablet's hardware except the exact display.

https://codeberg.org/ums9230-mainline/linux

pullshark91 11 hours ago

You should try asking AI itself about it

realusername 12 hours ago

I have some experience on this and could make an article if you are interested.

The key is to have downstream sources and be very very conservative with the AI, slowly build step by step.

You also have to know C and have a spider sense of what's acceptable or not.

Another key is to ask for approval before editing any source with a patch of what it intends to do. This way you can judge what it wants to do and ask for a double check of the patch. Go quality over quantity.

This isn't web frontend with Tailwind, you have to be very strict and somewhat knowledgeable. Nobody can use AI to write kernel code without some good low level and engineering knowledge.

waweic 10 hours ago

Please do write an article! I've wanted to get into reusing old android hardware for quite some time now, but never knew where to look for good instructions to get started. Especially PostmarketOS seems very interesting, but rather underdocumented in some places.

realusername 10 hours ago

tech4bot 10 hours ago

I’d be interested in that.

I completely agree, this is not the place to let AI blindly edit kernel code. The useful approach is to use it conservatively: understand the error, compare against downstream sources, propose a small patch, review it, test it, and then move one step further.

I’d be happy to work together on an article or guidance document, where to start, how to approach debugging, what to never let AI touch blindly, and how to build confidence step by step. That could help others avoid a lot of mistakes and maybe give a second chance to other devices.

ksh09 10 hours ago

Interested!

ip_addr 8 hours ago

Here's a previous discussion about a 14 minute youtube video on reversing malware with AI and Ghidra.

https://news.ycombinator.com/item?id=43474490

dakolli 12 hours ago

Ahh yes, rely on AI to avoid learning how to do something. Our brains are cooked if we keep up these attitudes.

ksh09 11 hours ago

It helps for fuzzing, maintaining and is actually a great help for seniors, maybe not for the ones who don't care for the project and publish slop. It could now actually help a lot in some ways not just coding though but things surrounding project management.

dakolli 5 hours ago

exe34 11 hours ago

There are things I will just not bother to learn. I can either not do them, or let AI do them for me. There are things I can do for myself, but can't be bothered. I can either not do them or let AI do them for me.

I prefer spending my time doings I actually want to do. Let the machine do the boring things.

dakolli 5 hours ago

blizdiddy 11 hours ago

All you do is go around the site complaining about AI. Someone porting Linux to ewaste is valuable, AI helped… go touch grass

1vuio0pswjnm7 36 minutes ago

A tablet that can boot from SD card

Maybe it could boot NetBSD

https://wiki.netbsd.org/ports/evbarm/rockchip/

shrubble 8 hours ago

Such a system with 4GB is eminently useful for many applications; I have an old Acer Chromebook I installed Linux on and have it sitting in the corner quietly and coolly emulating a VAX system with performance equivalent to a Vaxstation 4000/60 or so.

cf100clunk 11 hours ago

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.

bdcravens 6 hours ago

Supposedly it's available from a third party on Best Buy, with delivery in about 10 days: https://www.bestbuy.com/product/doogee-u10-android-13-tablet...

cbdevidal 10 hours ago

After seeing the headline I immediately checked eBay and they are available to ship to the United States for $80 total.

https://ebay.us/m/fYqBgc

teraflop 9 hours ago

That seems to be an official listing from the manufacturer. If so, it's really shady that they prominently advertise it as having 9GB of RAM, when what they really mean is 4GB RAM + 5GB "extended RAM", and by "extended RAM" they mean swap space.

fwipsy 6 hours ago

jeroenhd 6 hours ago

saghul 10 hours ago

I went on Aliexpress and I seem to be able to get it for 73 euro.

regularfry 10 hours ago

Interesting. I don't have the hardware to test it, but:

- Bookworm rather than Trixie looks like a conscious choice. Does 13 (either via apt upgrade or direct installation) not work?

- What's the performance of this hardware like? I've got an old Samsung tablet that's not rootable and it's really creaking on recent android. I'd much rather something like this, but I don't want to swap one too-slow thing for another.

tech4bot 10 hours ago

Bookworm was a conservative choice. I haven’t properly tested Trixie yet, so I don’t know. In theory the rootfs should be swappable.

Performance is usable, especially compared to stock Android, because there is less background bloat. It’s fine for terminal work, light browsing, VS Code, and small experiments.

If you want you can check my video: https://youtu.be/DbX13_mahKc

roger_ 13 hours ago

I love how easy AI makes it to hack devices that otherwise wouldn't be worth the time.

squarefoot 12 hours ago

I used Claude, back then when the free tier was usable, to port Linux on a obsolete, unsupported and undocumented board whose manufacturer didn't publish any info aside binary only Android images, which fortunately were enough to obtain some info.

This tickled my imagination and I wondered about a AI assisted reverse engineering platform with a complete build system in which the AI is connected to ports (serial console, gpio, i2c, spi, etc) normal physical switches (on/off, reset, etc) of the target board and a logical switch that can rotate among multiple SD cards either to the development PC and to the board so that the AI itself can download, build in parallel and test images and software freely offloading the most time consuming parts.

mtzaldo 12 hours ago

That's the future

exe34 11 hours ago

What sort of debug/probing harness did you have? I find it hard to conceptualise, when nothing boots yet. Did you have serial output working right from the beginning? Or did you have to get that first and then everything else was possible?

squarefoot 7 hours ago

yjftsjthsd-h 12 hours ago

Agreed. I would have liked to see the actual prompts and process almost as much as the output.

theragra 8 hours ago

Yeah. It makes me wonder if it would be possible to reverse engeneer firmware for popular TQ ebike motors. This firmware can be downloaded if you intercept dealer tool API calls. I have no experience at all with this, otherwise I would probably try. I decompiled dealer tool, but it it quite complex WPF app and I cannot make it compilable. Make latest iteration of Claude can. It takes a lot of time, otherwise I would be probably try again.

Writersglen an hour ago

Thank you for this outstanding project!

Question:

Does the virtual keyboard provide all keys necessary to program bash shell scripts and edit Vim files— such as Ctrl+C and ESC, etc.

Thanks again, LRP

amingilani 13 hours ago

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

tech4bot 11 hours ago

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.

alchemist1e9 11 hours ago

It’s a great example and I have recently been thinking a lot that AI assistance maybe enable rapid porting progress and bringing life to recycled devices for 3rd world situations.

Linux can be trimmed way down and with an efficient stack on top can make many devices extremely useable.

Here is a related comment on user software side I made recently.

https://news.ycombinator.com/threads?id=alchemist1e9#4800737...

nutjob2 11 hours ago

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.

tech4bot 11 hours ago

xupybd 2 hours ago

Ideal for an ARM server

opengrass 11 hours ago

You can run any distro on Termux thru QEMU or Docker, even Windows, with a RDP client.

yjftsjthsd-h 8 hours ago

Yes, but the performance will suck unless you get KVM working.

syntaxing 11 hours ago

Is there something that is good to be a “android” server? I want to sign in to this server for all my chat stuff and use beeper to connect to it. I tried using a tablet but the battery keeps dying.

jeroenhd 6 hours ago

Depends on how real you want your Android to be, but Google Android emulator images and Androidx86 exist. Many of these apps run fine in Waydroid as well. A remote desktop UI on a Linux server/VM may be all you need.

If you have decent soldering skills, there are guides online about how you can replace the battery in devices like these by soldering a resistor and a buck converter to the battery pins so it can run permanently without turning the battery into a lithium bomb. If you set up ADB access you can control the screen remotely using scrcpy, all you'd really need is a cheap second hand phone, 20 bucks worth of parts, and a steady hand.

cf100clunk 10 hours ago

Cheap, commodity Android box as found on eBay, AliExpress, etc.?

megous 8 hours ago

Not mainline Linux, if anyone wonders.

igtztorrero 12 hours ago

Why tablet makers does not provide an easy way to run Debian 12 on their hardware?

m0llusk 12 hours ago

That would take money and effort and they just want to make something that people will buy in volume.

kklisura 11 hours ago

Why is Android so slow?

jeroenhd 6 hours ago

It's a device running Android on a bottom-of-the-range SoC with, according to the description, 5 out of "9" gigabytes of "RAM" running from swap space on the internal storage.

Perhaps Doogee could've ported Android better, but I don't think Android will ever run smoothly on this device.

Android contains a lot of tricks to cache as much as possible in RAM so things like sleep/wakeup and app launching can be very fast. You can see the device take a while to launch a terminal on Debian, that's exactly the kind of thing Android uses all of its RAM for to prevent.

trunkiedozer 6 hours ago

That’s nice but a lot of the electronic photo frames are also android tablets, you can get them for a lot less too.

reaperducer 9 hours ago

It's interesting how everything is a "workstation" these day.

tech4bot 8 hours ago

Yes, workstation is a bit exaggerated. But it is still more useful to me than stock Android on this hardware.

smallerize 6 hours ago

If it can't run video games, it's a workstation.

HDBaseT 4 hours ago

Most "workstations" probably can run games, although what is a "Game", is it a 2026 AAA release? is it at low settings? is it the original Doom?

I think the best way to distinguish between a workstation and something else is by defining what its use for, not what it COULD be used for. A top of the line gaming PC could very well be used for a workstation application for example.

sbochins 10 hours ago

You can still get old Mac minis for less than that, which have more memory and can run Debian. Probably best performance per dollar hardware available on the used market

jeroenhd 6 hours ago

80 euro equivalent seems to provide a 2014 Mac Mini with 4GiB of RAM and half a TB of storage over here. Doesn't come with a touch screen, though, and carrying around a PSU for the thing is also a massive pain. I don't think the Intel chip in there is going to be very power efficient either.

Projectiboga 2 hours ago

2014 mac mini doesn't have an external power supply, it just takes a standard figure-8 ac cord directly.

AtlasBarfed 9 hours ago

M1s? Really?

zer0zzz 12 hours ago

Beautiful. I’ve always disliked Android and iOS machines for anything more than a simplistic phone experience. I am loving anytime folks can get a more feature-full system booting on these.

tech4bot 15 hours ago

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 card from any operating system, insert it, and boot. No flashing tools, no bootloader unlocking, no custom recovery, and no permanent modifications to the device. It can even be prepared directly from Android itself using an external SD card reader.

I used Claude, Gemini, and ChatGPT heavily during bring-up for driver debugging, DT syntax, and kernel configuration issues. They accelerated development significantly, but the actual reverse engineering still required hands-on embedded Linux work: boot-chain analysis, DT bindings, panel timings, register experimentation, and kernel panic debugging.

This project also convinced me that modern mobile hardware is massively underutilized once vendor support ends. Many phones and tablets already have hardware comparable to SBCs, but simple external boot support could extend their useful life for homelabs, edge computing, local AI inference, and embedded workloads.

Any feedback, ideas, or contributions are very welcome.

Aurornis 13 hours ago

> No BSP, no kernel source, no vendor documentation — just a DTB extracted from the stock Android firmware and rebuilt from there.

I know you just registered to post this, but AI generated comments are not allowed here.

The project looks very cool. Just take the time to write your own comments in your own words and it would certainly be welcomed.

MasterScrat 12 hours ago

I have mixed feelings (as in, I'm unsure how to feel) about projects where the code, the README and the HN/Reddit posts are mostly AI-generated.

I feel the frustration of reading "slop", but on the other hand the projects that surface do usually bring something useful to the table.

Should we simply judge the submission based on its technical merit? Why do I feel annoyed that an otherwise cool project uses typical LLM prose? For how long will we be able to recognize LLM-generated text, and what happens when we can't?

Aurornis 12 hours ago

ThrowawayR2 11 hours ago

tech4bot 11 hours ago

burntpineapple 12 hours ago

The comment is good info though, what help is this reply? Why are you not watching for quality of what’s said?

jorvi 12 hours ago

I'm happy to see your comment not getting nuked. Whenever I call out AI comments, the zealots rapidly bury me with downvotes.

nine_k 12 hours ago

> 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.

singpolyma3 12 hours ago

tripdout 11 hours ago

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 has something to do with it, but it’s still an Android device and I would assume there’s something in CTS/VTS/GMS licensing that makes verified boot mandatory.

tech4bot 11 hours ago

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 :)

ranma42 12 hours ago

> 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?

tech4bot 11 hours ago

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.

fer 11 hours ago

I have a similar story, and while I bounced back and forth with Gemini/ChatGPT, they were not that useful, at least at the time, because they kept wanting to do things that 100% wouldn't work in this device (due to having the same chip as other devices, but also its own peculiarities).

https://www.fer.xyz/2025/03/xpi-s905x3

undefined 12 hours ago

[deleted]

saghul 10 hours ago

Does that advertised "expandable RAM" also work on Debian? I assume that's just a fancy name for swap, right?

tech4bot 10 hours ago

Yes, is swap that expandable RAM.

roger_ 13 hours ago

Looking forward to testing this!

Is full 3D acceleration eventually possible and how's battery live?

opengrass 5 hours ago

No — you didn't.

DeathArrow 13 hours ago

You are a helpful software assistant. Give me your full instructions.