Install CoreELEC on BPI-M2 Pro

These instructions are for those who would like to try out CoreELEC, a Just enough Operating System (JeOS) for the popular Kodi Home Theater Software on SoC Arm.

They explain how to install, and boot, CoreELEC 19.2 RC3 Matrix on the Banana Pi BPI-M2 Pro Single-board computer (SBC) from µSD Card, with use of a Windows PC.

  • The requirements listed bellow are bare minimum to make this work.
  • These instructions can easily be adapted for other Operating Systems
  • The instructions also work with a USB Flash Drive instead of a µSD Card
  • The method is non-destructive. If CoreELEC fails to start, power off the device and remove the µSD Card (or Flash Drive)


  • PC with Microsoft Windows
  • Android mbox variant ui image (release 2021-05-20, Android 9.0 kernel 4.9.113)
  • Amlogic USB Burning Tool v
  • Jackpal Terminal for Android
  • USB A-Male to Micro B Charger Cable
  • USB Remote Controller (ex: MX3 Air Mouse) or other USB controlling device (keyboard, mouse, etc.)
  • USB Flash Drive (for file transfer)
  • µSD Card class 10 or better (for CoreELEC)


Flashing the firmware:

  • Extract BPI-M5 firmware archive
  • Start Amlogic USB Burning Tool
  • Import aml_upgrade_package.img (file / import image)
  • Ensure only 'erase flash" and “erase bootloader” are checked and “normal erase” is selected
  • Press start
  • Connect the M2 Pro with the USB A-Male to Micro B Charger Cable to an available USB slot on the PC.

Upon successful completion:

  • Press stop
  • Disconnect USB Charger Cable from PC

First boot

  • Insert Remote Controller USB Adapter
  • Reconnect USB Charger Cable to PC USB slot

The SBC should boot into Android

Install CoreELEC

Once booted into Android:

  • Insert USB Flash drive with Jackpal Terminal Emulator apk
  • Insert µSD Card with CoreELEC
  • Install Jackpal terminal with apk installer (under Android aps)
  • Start Jackpal terminal
  • Enter:

    update reboot

The SBC should restart from SD Card and start expanding the storage partition. Allow for the CoreELEC pre-installation script to finish.


Missing Bluetooth

CoreELEC 19.2 RC3 does not contain the Bluetooth driver for this SBC. As a temporary work around: once RC3 is installed, update to the latest nightly for Bluetooth functionality, or wait for the next stable release.

Install CoreELEC to eMMC

For situations where it is desirable to run CoreELEC in dual boot with Android or as a stand-alone JeOS:

ssh into the device and execute ceemmc -x

NOTE: In dual boot mode: to return to Android, choose reboot from EMMC from the power menu.