The MK802 is a tiny PC that looks like a USB thumb drive. While it ships with Google Android 4.0, it’s actually pretty easy to convince it to run an alternate operating system. In fact, if you have a properly prepared microSD card, all you need to do is insert the memory card, turn on the MK802, and it will boot Ubuntu 10.04 Linux.
Update: You can also run Ubuntu 12.04, Puppy Linux, or other operating systems on the MK802.
Ubuntu boots very quickly on the little computer, although performance is a little on the slow side. That’s not surprising, given the MK802’s relatively anemic hardware. It has a 1.5 GHz Allwinner A10 ARM Cortex-A8 processor and 4GB of storage — pretty much what you’d expect from a 2010-era smartphone.
While the MK802 won’t win any speed awards, it’s pretty impressive that this $74 computer can run a full desktop-style operating system at all. While it takes a kind of long time to launch some apps such as OpenOffice.org and Firefox, they all work pretty well once they’re up and running.
How to install Ubuntu 10.04 on a microSD card
The easiest way to install Ubuntu Linux is to grab a disk image prepared for the Mele A1000, another inexpensive device with an Allwinner A10 processor, and then write it to a 4GB or larger microSD card.
Here’s how to do that. These instructions will assume you’re working with a Windows PC, but the steps should be similar if you’re using a Mac or Linux computer.
1. Download the mele-ubuntu-lucid.img.lzma disk image from the links at rhombus-tech.net or Linux Questions.
2. Extract the mele-ubuntu-lucid.img file to a folder on your computer. You can use 7-zip or another utility to do this.
3. Insert a 4GB or larger microSD card into your computer.
4. Download and unzip Win32 Disk Imager to your PC.
5. Run Win32DiskImager.exe.
6. Choose the drive letter for your microSD card in the “Device” area and choose the mele-ubuntu-lucid.img file for your “image file.”
7. Click “Write.”

After a few minutes the process will complete and your microSD card should be prepared with Ubuntu 10.04.
If you’re using Mac or Linux, you can find instructions for writing a disk image to an SD card at NookDevs. Note that the site recommends using an app called WinImage.exe for Windows — but I had no success with that method and found that Win 32 Disk Imager worked better.
How to run Ubuntu 10.04 on the MK802
Now that your microSD card is prepared, you can insert it into the TF card slot on the MK802. TF is just another name for microSD.

Theoretically all you have to now is connect a display, power source, mouse, and keyboard and you should be good to go.
But the first time I tried this, my MK802 booted into Android instead of Ubuntu. I ejected the microSD card, inserted it again, unplugged the power and plugged it back in and second time was a charm — Ubuntu loaded a few moments later.
There are few more things you need to know though:
Logging in
When you hit the login screen you have two options for logging in:
- username: root / password: ubuntu
- username: ubuntu / password: ubuntu

Enabling WiFi
WiFi will not work out of the box. But it’s very easy to enable. Just login as root, open a terminal window, and enter the command “depmod -a” (without quotes) and hit enter. When that’s complete, use the Ubuntu system menu to restart the computer.
The MK802 simply freezes every time I try to actually shut down Ubuntu (or Android, for that matter), but the restart option seems to work just fine. Once you’ve restarted the operating system WiFi should work.
What’s next?
We’re still in the early days of MK802 hacking. Ubuntu 10.04, for instance, is about two years old at this point. It should be interesting to see if people can get newer versions of Ubuntu or other Linux-based operating systems to run on the hardware.
Light-weight Linux distributions that work well with smaller amounts of RAM such as Bodhi Linux or Puppy Linux could also be interesting.
The MK802 with Ubuntu also ran into some display issues — the edges of the operating system didn’t fit on my 1920 x 1080 pixel display. That’s because the MK802 seems to only want to output at a 720p resolution (whether running Android or Ubuntu). Theoretically it should be capable of higher resolutions, but it might take a little work to enable them.
Update: There’s a way to enable 1080p HD output.
Leave a Reply
47 Comments on "How to run Ubuntu Linux on the MK802 $74 PC-on-a-stick"
Looks like your display is thinking the gadget is a video device instead of a PC and is enabling overscan. Look in the settings on the display and try to disable that. On my LG TV for example, I have to use the format button and pick “Just Scan” instead of 4:3, 16:9 or even “auto” as all of the others overscan. Changing the input label to PC silently switches that HDMI input from Studio (16-248) to Full (0-255) color range as well. But there seems to be a different method (or worse, none) for every brand/model of display out there. You just have to play around and hope your vendor actually gives you those features.
Yeah, it’s probably a monitor issue — I’ve tried every setting I can think of, and none of them seem to work with an HDMI input on my display. I have far more options available when using a VGA or HDMI input.
Maybe I’ll look for an HDMI to VGA adapter and see if that does anything…
Any monitor with HDMI input should let you disable overscan when using HDMI. It will probably be listed as Scan Mode, HDMI Mode or PC/AV Mode on the monitor’s OSD.
thanks for the update….
Do you mean Ubuntu 12.04?
Nope.
Strange, why boot a 2-year-old version of Ubuntu when also the last couple of versions of Ubuntu really have been optimized for ARM?
Because that’s what’s available at the moment. I’m sure we’ll see more development in the future, but at the time people started hacking the Mele A1000 Ubuntu 10.04 was the latest LTS version of the operating system.
Can anyone compile a new version now?
Ive downloaded and installed 1st time!
So very happy but unable to properly make use as no user apart from root can get an IP over wifi and root doesnt want to load programs such as VLC so Im stuck between a rock and a hard place.
I sell the 1GB and 512MB. Not added on my site yet but if you’d like to get one or many email me at admin@ovalelephant.com. Can FedEx in 3-5 days extra cost. Standard shipping 5-12 days in U.S. Units are $74 for 1GB RAM and $69 for 512 plus shipping. I have them in stock now.
http://www.ubuntugeek.com/how-to-fix-firefox-slow-problem-in-ubuntu-10-04lucid.html
Ubuntu 12.04 is not difficult to install either, or Debian for that matter.
The performance is highly dependent on the SD card performance. Alternatively your could boot from SD and run the system on a USB thumbdrive, the system should be much faster.
Great video!
What happens if you plug this into a computer that’s already running, but use another monitor? Does it die, or does it function just the same as it would normally? I’m curious… Can you run sudo fdisk -l and see if it can see the hard drives listed?
Thanks for the write up. This looks like a great item for experimenting. Are you able to do any experiments with flash video? I’d like to use it to watch Star Wars Clones or The Daily Show from the web(trying to cut cable) so I’m curious if they would run. Thanks!
I have to wonder if something like this is ever going to be usable with any full Linux desktop people would actually want to run. And I can’t really see wanting to run Android on it either. The most I could see is this as a headless ultra low power draw Linux server running a CLI. Actually that would be pretty cool, but a bit of a niche market.
The real interesting times will be when the hardware gets a little better and the full Ubuntu ARM port is mature, and fully matched to some of this hardware. If this kind of thing shipped a fairly responsive Ubuntu 12.04 on it and ran 1080p video fast enough for a movie, and was around $100? I think they would fly off the shelves.
any success to port xbmc on it?