How to: XBMC with perfect HD (1080p) support on Android (mk802 III)

banner

Update: I created an updated version of this article with a more recent build, you probably want to check it out now: http://makesmarttv.net/external-players-support-mx-player-etc-fix-for-xbmc-on-android-perfect-hd-with-no-compromise/

Important note: The following tutorial should work on any android device. Although we tested on a specific model below, we would love your feedback if it works fine (or not) with your own Android! Share the knowledge, let people know in the comments! Thanks for your help 🙂

If you’re the happy owner of an Android Mini PC to turn your TV into a smart TV, you might have found out that XBMC support on these devices is not as good as you’d like it to be. XBMC is one of the best video managers out there, unfortunately it is having a hard time playing HD videos on Android in general, and our beloved Mini PCs in particular.

One of the main problems I see regularly with XBMC for Android is the lack of hardware acceleration leading to lack of support for HD videos. This, to me, rendered XBMC pretty much useless as the ultimate media center.

I believe I found the best solution so far, which lets me play full HD videos on my Android Mini PC (mk802 III, my review here), while still enjoying the great XBMC interface.

In this article I will describe what I use, how to install the custom xbmc version, how to use it, and alternate approaches I’ve tried but that didn’t work. That last part is important because depending on your use case and your device, the alternate approaches might be better for you.

xbmc_breakingbad

First of all, let me start by saying that I found only one XBMC binary that lets me play HD files on my MK802 III. This binary works by allowing XBMC to use MX Player as an external video player. MX Player is optimized for HD videos on Android, and the only video player I use on the MK802 III. For details on why I recommend this binary and not others, check the “Alternatives” section below.

The method below has pros and cons. The pros is that HD videos will play perfectly on your Android device, and that you can use XBMC to manage your video library. The cons is that you’ll lose some of the benefits of playing videos from within XBMC itself.

Let me again emphasize once more that I’ve tried other binaries, including the original XBMC code, the XAF build, and the libstagefright build, none of them worked correctly on my device (details below)

xbmc-gameofthrones

Installation

Important: Before starting, you should make sure you have at least 200 or 250MB Free on your internal storage (check in settings > Apps > Downloaded) before you install XBMC. The first run can take very long, but do not cancel it. If things go wrong, go back to the settings and check you free storage. If you have less than 50MB free, you’re in trouble.

  1. Download this specific build of XBMC for Android.
  2. Download and install MX Player Free from the google play store. ( and launch it at least once)
  3. copy the playercorefactory.xml  file below to your /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata folder. Be sure to show hidden folders in your explorer’s options (I recommend ES Explorer), or you will not see the .xbmc folder
    https://nuskunetworks.box.com/s/wzzbunuqew9rh3ospczj

Done. The playercorefactory.xml change above is necessary to tell XBMC to use MX Player as the default player for videos. The specific XBMC apk I’m suggesting is necessary because the normal xbmc cannot properly call MX Player.

xbmc_walkingdead

Usage

Clicking on the XBMC icon will launch XBMC (duh…). The first launch might take a while (several minutes on the MK802 III) as XBMC is building its initial database. If you get a black screen or o response after 10 minutes at this point, delete the app, make sure you have at least 250MB Free on your internal storage, and try again.

You will want to build your database of movies for XBMC. I personally connected this 2TB USB Hard Drive to a USB Hub on my MK802 III. The XBMC Wiki has great documentation on how to organize your folders for Movies and TV Shows.

Your folders on the USB drive can be added by selecting “Add folder” in the Movies section of XBMC. It is pretty straight forward, but again you need to follow the folder structure described in the wikis above, to make sure your movies will be correctly detected by xbmc.

xbmc

I recommend to try with a small folder initially, as the scanning process can be fairly long, just to make sure everything works.

Once your library is created, clicking on a Movie should launch MX Player, which is known to be the perfect player for the mk802 III and other Android mini PCs. Check the video below, playing a 1080p movie smoothly.

Exiting playback will unfortunately take you back to MX Player instead of XBMC, but to me that’s a small price to pay given the convenience of XBMC. (if, after playback, getting back to xbmc seems to crash, make sure you have “Don’t keep activities” unchecked in your android setting’s “Developer options”)

keep_activities

That’s pretty much it, besides that, this version of XBMC is pretty much fully operational, although I haven’t tested music playback or the pictures section yet.

For those of you living outside of the US, you might also want to check my guide on how to get Netflix to work on the mk802 and its clones.

xbmc_android_incredibles

Alternatives

Before finding the version of XBMC I mention above, I have tried several other versions that claim to work fine with the MK802 III. All of them offered a poor experience, and the result might be different for you. However, many naysayers have pretended my method was “unnecessarily complex”, but none of the alternatives worked on my device.

There are many builds and forks of XBMC around here, and I have tested many of them on the MK802 III. In general, there are two types of issues with XBMC on the MK802 III:

  • – XBMC will not start properly (typical problem: you keep getting the “first run” progress bar, then a crash after several minutes of a black screen)
  • – When it runs, XBMC does not have proper hardware acceleration on Android, making 1080p impossible to play, and depending on your build, even 720p is a stretch

Latest XBMC for Android

The “vanilla” xbmc for android supposedly supports external players. Unfortunately, it does not support MX Player (last time I tried), which is the only one I really want to use. If you have another favorites external player, then by all means get the latest XBMC, and configure its playercorefactory.xml to target your player.

xbmc_weather

XAF Build

This is a recent XBMC build that automates the installation process I describe above, and targets MX Player. Sadly, somehow, that build is twice as big as any other XBMC build, and installing it never succeeded on my MK802 III. The first startup would always fail (black screen for several minutes, then back to the launcher). Close investigation showed me that this build has way too much stuff (addons?) packed with it, it will not install on the mk802 III, either because it is too slow, or because it does not have enough internal storage. People with an MK802 III S have reported success, however. Details here

Libstagefright build

This is a build which aims at bringing hardware acceleration to xbmc for Android. Sadly, there seems to be some incompatibility with the GPU/CPU of most Android Mini PCs, and in my experience, 720p on this build is not great, while 1080p barely reaches 5fps. This is not useful today, and might never be. Details here

xbmc_totoro


Posted

in

by

Comments

18 responses to “How to: XBMC with perfect HD (1080p) support on Android (mk802 III)”

  1. Evgeniy Avatar

    Hi there, thanks for the article. Just to let you know the 720p& 1080p using the internal player on RK3188 is something that possible. Use the latest Ouya XBMC release for this purposes.
    Later you can use the DroidBOX wizard addon to get the latest addons installed for this XBMC release.
    Please see the following thread:
    http://droidboxforums.com/threads/how-to-install-droidbox-wizard-addon.12/

  2. […] is why I had been recommending an old build from last year, in this article. That xbmc build did have a patch with a fix for external player support. As I’ve also […]

  3. richard Avatar
    richard

    ive tried the xbmc version you have posted and does work flawlessly. i do have one problem though. when adding the repo’s and addons they all fail on me, such as 1channel, mash2k etc… can i just copy the xml from your drop box into an official xbmc installer?

    thanks in advance

      1. richard Avatar
        richard

        will try in the next minutes and let you know. thanks again

      2. richard Avatar
        richard

        absolutely perfect. i cant believe it finally got this build to work on my usb hdmi dongle. this is the dongle if its of any help to you.. http://www.energysistem.com/es/products/home_video/serie_android_tv/39175-energy_android_tv_dongle

        thanks once again you just made my new year comming up 😀

        richard

        1. admin Avatar
          admin

          Awesome, glad it worked!

  4. Jeff Avatar
    Jeff

    I can’t get MX Player to come up in XBMC. The XML file is in the right directory on my CR11S and XBMC works bit it doesn’t call up MX Player…any ideas? The version of XBMC is the version you mentioned.

    Thanks in advance…

  5. l0co Avatar

    Many, many thanks. The only remark is that you should remove the MX player option for rtmp and rtsp, because a lot of online video doesn’t work with this player. But, for local and LAN HD media this works perfectly.

    Here’s the fix for playercorefactory.xml:

    1. Roudy57 Avatar
      Roudy57

      Do you have the fix for playercorefactory.xml

  6. kornie Avatar
    kornie

    hello, is it possible that the default player for all video files will be mxplayer?

  7. Gerrard Avatar
    Gerrard

    Great work, this is the best build I have found for my MK802 (original version). I have one question, I’m running this same build on a very cheap $40 7″ tablet – it works great on it as well. My only problem is I get a error message when one channel script is loaded…one channel works but I get an error message when xbmc first opens…its strange. Any idea what might be wrong?

  8. sam Avatar
    sam

    i have bluetimes mx5 android with xbmc xaf built in.the problem i have is i can’t view arabic live tv channels it said external player active click ok when playback has ended.but as of 720p-1080p movies works great.i uninstalled xbmc xaf and installed frodo 12.3 its the opposite plays arabic live tv not 720p-1080p….please please please help.

  9. Alice Avatar
    Alice

    using mk802 iv , installed on smart tv
    selecting xbmc
    keeps saying that the source is down?
    am i suppose to download the movies? it does not prompt me for this

    thanks

  10. Mansour Avatar
    Mansour

    MX player works great but it doesn’t support online subtitle search which is very important to me. I would like to be able to stream movies from YIFY HD using Bsplayer. I tried to edit playcorefactory to make BSplayer the default player but that caused xbmc to crash. Tried other players for the heck of it (vplayer, mplayer, archos, wodershare ) but they all caused xbmc to crash. So the question is: can I stream YIFY HD videos using BSplayer or any other player that support online subtitle search?

    1. admin Avatar
      admin

      I am using a secondary app to do online subtitle search: subloader (https://play.google.com/store/apps/details?id=com.sregg.android.subloader).
      This doesn’t answer your question directly, and I don’t know why all the other players would make xbmc crash when mx player would not, but my current suggested combination is mx player + subloader, if that helps…

      1. Mansour Avatar
        Mansour

        Thank you for the suggestion. I tried subloader but unfortunately that did not work well for streaming video. I hope someone can figure out how to replace MX Player with BSplayer .

  11. Sam Avatar
    Sam

    Everything worked fine but every time you watch a film and then try and exit xbmc it freezes, because the mx player does not shut down? i’ve tried going to developers options, but that kicks you out back to the android desktop after you exit a film???? does anyone know a way around this???

    it also does not want to play the iplayer anymore??? and plays when it feels like it?