- 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 18.104.22.168
- 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)
- Download Jackpal Terminal Emulator for Android and copy the file to the USB Flash drive.
- Download the mbox variant ui image for BPI-M5 (at the time of writing release 2021-05-20, Android 9.0 with kernel 4.9.113)
- Download and install Amlogic USB Burning Tool v 22.214.171.124
- Prepare µSD Card for use with CoreELEC using the Banana Pi M2 Pro dtb.img
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
- Insert Remote Controller USB Adapter
- Reconnect USB Charger Cable to PC USB slot
The SBC should boot into Android
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
The SBC should restart from SD Card and start expanding the storage partition. Allow for the CoreELEC pre-installation script to finish.
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.