Installation Ubuntu into MK808B

If you are thinking of make your mini PC used as server by install Ubuntu into it. Here’s my advice, buy MK808 instead of MK808B.

In order to install Ubuntu into your Mini PC, you need to install the image called Picuntu first. However official Picuntu site stated that MK808B is not officially supported yet. For me, I have tried to install Ubuntu into MK808B and I did it but internal wifi and bluetooth is not recognized. Here’s the photo shows the first time I installed Ubuntu into it.
This article is updated on 2013/6/16. So far, there is no article stated that MK808B’s internal wifi and bluetooth is worked with picuntu.
Anyway, I spend almost 28 hours to install picuntu. I hope my article will help your guys.


Prepare the following things before you start.

  1. Rooted Mini PC
  2. OTG USB cable
  3. Windows based PC
  4. Ubuntu based PC ( You can use virtual box on your windows PC )
  5. MicroSD card with at least 4GB size
  6. Monitor for Mini PC
  7. And patient, this is not simple as you thinks, so be patient please.

Creating linuxroot filesystem on MicroSD card

You need to download the following things from this link. The link ( provided by official miniand picuntu site is not available so I was using the link above.


If you are done. Boot your ubuntu and insert your MicroSD card. After you MicroSD card is recognized, open terminal and type

parted –l

Then, you will see the following output

Model: ATA MAXTOR STM332062 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 316GB 316GB primary ext4 boot
2 316GB 320GB 4294MB extended
5 316GB 320GB 4294MB logical linux-swap(v1)
Model: Sony Card R/W -SD/MS (scsi)
Disk /dev/sdg: 7948MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 7946MB 7946MB primary ext4

Find the path of your MicroSD. In my case, the path of MicroSD card is /dev/sdg

Then run your terminal as root by type

sudo su

Make sure your MicroSD card is not mounted by linux. If you are not sure, simply type

umount {devicename}

Then, substituting your MicroSD card name. Remember change /dev/sdg to your own path

mkfs.ext4 -F -L linuxroot /dev/sdg

You should see the following

mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=linuxroot
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
450560 inodes, 1799608 blocks
89980 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1845493760
55 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done

Writing inode tables: done

Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/done

It take almost 1 minutes to complete. After it completes, mount your MicroSD to directory /mnt/sdg

mkdir /mnt/sdg
mount -t ext4 /dev/sdg /mnt/sdg

Then, move to the directory where you have download the picuntu-linuxroot-0.9-RC2.2.tgz and extract it to linuxroot filesystem (Your MicroSD card) by type

tar zxfv picuntu-linuxroot-0.9-RC2.2.tgz -C /mnt/sdg

Note that there is nothing will shows on terminal, wait for it to be done. It takes almost 2 to 3 minutes.

Once you have complete, it should shows nothing. If there is something shows on your terminal like

gzip: stdin: unexpected end of file 
/bin/tar: Child returned status 1
/bin/tar: Exiting with failure status due to previous errors

It means the tgz file is broken, maybe you needs to find for another source to download it again. Check the file if it’s size is 180MB approximately.

If you have completes, type the following command


and wait for the sync to complete, then eject MicroSD and we are done with Ubuntu. Hope you are still able to stay patient as you have only complete 1/3 steps.

Installing the modified recovery image into MK808B on Windows

Boot your windows PC.

Downloads the from the link above and extract it and run RKAndroidTool.exe.

The tool will launch and you will see it looks like this.


Connect your MK808B to monitor and OTG USB cable to PC ( Note that don’t mess up with power slot and OTG slot, both of them are USB but two different use)

Once you MK808B is boot, click settings. install_ubuntu_into_mk808b_5

Next, click USB and check connected to PC install_ubuntu1

Once, you have check it, your windows PC may indicate “New Hardware Found”. Ignore it.

Next, go to Developer Settings and uncheck USB debugging. install_ubuntu3

Next, go to Storage and click on the 3 dotted colon in the upper right, then click USB computer connectioninstall_ubuntu2

If Mass Storage is not checked, check it and make sure the Tool indicate “Found RKAndroid Mass Storage USB”.


If Mass Storage is checked but “Found RKAndroid Mass Storage USB” is not showing, tried check regardless of what options on there and check back Mass Storage. The message should showing.

Based on what picuntu homepage said, There are two ways to boot MK808B into bootloader mode. For myself, I failed on the first method but success on the second method.

  1. Root your MK808B and simply click the button Flash Mode on the tool.
  2. Open your ADB terminal on windows PC and type adb reboot bootloader

If you don’t understand what is root and adb terminal. Do some google search with the keywords of “how to root android” and “how to setup adb for android”

If you are using windows 8, make sure that you disable signature enforcement before you install the MK808B device into your PC.

For myself, I success on the second method so I will only explain the second method. Make sure you have already installed android-sdk on your PC.

As we are going to use adb, so please check USB debugging on Developer Settings.

MK808B will indicated as unknown devices, so what we are going to do next is to install the device. There are 3 things we need to edit. Before we do any modifying, we need to know your vendor ID and process ID. Turn on your Device Manager and open your MK808B device properties. Then click Details and you will see something like following.


In my own case, vendor ID is 2207 and process ID is 0000.

(1) Modify adb_usb.ini

Open your command prompt as administrator. Then, go to .android directory by type

cd c:\Users\[USER_NAME]\.android 

Remember change USER_NAME to your own username. Next, type

echo 0x2207 >> adb_usb.ini

2207 is your vendor ID. Change it to your own vendor ID. Well, I guess it should be same.

(2) Modify android_winusb.inf [Google.NTx86]

android_winusb.inf should locate at android-sdks/extras/google/usb_driver. If google/usb_driver is not found. Install it by open your SDK Manager and go to Extras and check Google USB Driver. Install the package if it is not installed yet.


If you are not able to download and install the package, it might be the problems of permissions. Open your SDK Manager by administrator.

Open android_winusb.inf and find the keywords [Google.NTx86]

Add the following lines below it.

%SingleAdbInterface% = USB_Install, USB\VID_2207&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2207&PID_0010&MI_01

Remember change your PID (Process ID) and VID (Vendor ID) to your own.

(3) Modify android_winusb.inf [Google.NTamd64]

On android_winusb.inf, it needs to add the same things as above but this time, it is under [Google.NTamd64].

After finished modifiy, update your device and set the path to android-sdks/extras/google/usb_driver , it should start update the device. If you are using windows8 and the following error is occurs.


It means you have not done with disable signature enforcement. I wouldn’t explain about it as it will make my article longer. Do your own searching on Google.

Once your have installed the ADB driver into your PC. Turn on your command prompt and go to android-sdk/platform-tools.

Check if your MK808B is connected to your PC by type

adb devices

It should shows something like following

List of devices attached
0123456789ABCDEF        device

Next, ( make sure that your MK808B is already rooted ) boot your MK808B into bootloader mode by type following command

adb reboot bootloader

Your MK808B’s monitor will turn black and the Tool will now indicate Found RKAndroid Loader Rock USB . Then, click the button Flash ROM on Tool and it should take approximately 5 seconds to flash.

Your MK808B will then reboot.

Well, you have complete all the task on above. It means you have complete 2/3 steps. Stay on as there is one last step.

Boot your MK808B into Ubuntu

Insert the linuxroot MicroSD card ( prepared on 1st step) into your MK808B

Next, same things as above, open your adb terminal and type the following command

adb reboot recovery

Then, you should see the familiar linux screen. Login as user root with password 12qwaszx.

You can change root password by following command

passwd root

Next, go to picuntu folder by

cd /usr/local/picuntu

Finally, run by type


It should start with a blue screen and carry out a series of configuration. I wouldn’t go far from here anymore. You will find out that there is not option for MK808B but MK808. I have tried to configure it but failed as it doesn’t recognize the internal wifi device. You can solved this problems by insert a external wifi dongle for it I guess. But I never tried it before. Good luck.

Thank you for reading


This article is followed the following sites.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s