How to install CoreELEC

Update

Please follow the more recent installation guide on CoreELEC Wiki

New installation
Prepare an SD card (class 10) / USB flash drive as follows;

NOTE: On some devices, only 1 USB port is able to boot the device, you may have to try them all to see which one works for you, some boxes are also unable to boot from a USB drive.

  1. Download the latest .img.gz file from here.
  2. Use Rufus, usbimager (or your preferred image writing software) to burn the downloaded image file to your SD card / USB flash drive.
  3. If successful, the SD card / USB flash drive capacity will be shown as 512MB, this is OK as there is a second (hidden) partition for CoreELEC user data.
  4. Browse to the Device Trees folder, now present on the SD card or USB flash drive, and copy the correct .dtb image file for your device to the root folder of the SD card / USB flash drive, and rename it to dtb.img.

To boot the system for the first time you have to use one from the following methods, sometimes only one of these methods will work!

  • Khadas VIM: insert the CoreELEC prepared SD card and boot into Upgrade Mode, CoreELEC will start automatically: Howto Boot Into Upgrade Mode - Khadas
  • MINIX U1 / U9: insert the CoreELEC prepared SD card, plug in the power cord, then hold in power button for at least 6 seconds or until the CoreELEC logo appears.
  • Terminal Emulator: boot into Android, insert the CoreELEC prepared SD / USB, install Terminal Emulator app (either from Google Play or APKMirror), run it and type reboot update. Your device should reboot into CoreELEC.
  • Toothpick method: Disconnect the power supply, insert the CoreELEC prepared SD / USB, push and hold the reset button and reconnect the power, wait until CoreELEC logo appears and release the button.
  • Menu Button method (works with very few devices): disconnect the power supply, insert the CoreELEC prepared SD / USB, push the menu button on your remote control and connect the power while holding the button. Wait until the CoreELEC logo appears and release the button.
  • Recovery method: Boot into Android, insert the CoreELEC prepared SD / USB and choose Reboot to recovery. Your device should boot into CoreELEC.
  • Recovery method (2nd variant): If you have the Update app pre-installed in Android, open it, insert the CoreELEC prepared SD / USB and choose any ZIP file displayed in the app as an update. Your device should reboot into CoreELEC.
  • Recovery method (3rd variant): enable ADB (Google it) and issue adb reboot update command on your computer.

Updating

  1. Download the latest .tar file from here.
  2. Copy the .tar file to the /storage/.update folder on your device.
  3. Reboot to start the update process.

Note: You must be using a device tree from 28-10-2017 or later. You can check it by running this command: cat /proc/device-tree/le-dt-id. If this command gives you device tree name, you have all that is needed for an automatic dtb update.

Additional guides
Replace any references to LibreELEC with CoreELEC and instances of LE with CE in the
following guides for more details;

Back to Android?
Simply turn off your device, disconnect the media with CoreELEC and turn on the device.

14 Likes
Command to boot to SD Card
KM9 Pro Classic - Android 10 Factory ROM - Coreelec wont boot
Error updating Corelec
9.2.5 Discussion
Suport for Datamax DM14 Amlogic S905D
Coreelec in Amlogic X96 max Plus S905X3
X99 max PLUS
Beelink GT-King Pro
CoreELEC 9.2 (Kodi 18.x - Leia) with IPTV Archive support
T95 allwinner h616 Cortex-A53
Lot of confusion how to install, please help!
CoreELEC 19.2 K1 Pro S905X Error internal install
9.2.7 Discussion
[S905X3] X96Air_P2/P3 4/32GB 1Gbit Lan (How to config)
[SOLVED] A95X MAX S905X2 cannot boot CE
Support added for S905X2, S922X and A311D!
T95 Max plus
S905X SoC Android 7.2.1 firmware - "Universal" no brand specific
CoreELEC not booting - Nexbox A95X
Multiboot amlogic
Banana Pi BPI-M2 Pro & CoreELEC
How to input and flash A95X F3 for help
Rikomagic RK25 and CoreELEC
Install image confusion, cannot get it to work
CoreElec N2 Stopped Working - Cannot Boot
Searching CoreELEC for X96 2GB / Kodi 18 with DVB driver
Vorke Z5 / Tanix 3 Mini Dual OS update LE 8.92 to 8.95.1 has ended with an error
Huge difference in FPS between CE and Android
Issue with X2 Air Cube after update to Matrix
Which Github file for MXQ pro S 2GB Leelbox?
A95X-R1 install CoreELEC
Accidentally deleted CoreELEC
Coreelec on MyGica ATV 495X-B (Amlogic S905X-B)
Upgraded to 8.95.1 - Crashed into Safe Mode
A95X F3 Air Feedback Install CE
X96 mini S905W instalation problem?
M8 Box update
Nexbox A95X B7N Failed update to NG Nightly
Mecool m8s plus dvb
3GB Ram X98 Pro and CoreElec
Dune HD Premier 4K Pro Android: No Remote Control
9.2.7 Discussion
Support for Mecool M8S Plus W ($15, Amlogic S905W)