Installing *ELEC OS on external sd-card from Android terminal emulator

  • Hi all ELEC-users!

    I want to suggest a way to install LibreELEC, CoreELEC .img.gz on an external sd-card from the android terminal emulator.

    1. Load tv-box into Android

    2. Insert and formatting sd-card

    3. Installing terminal emulator from Google Play store.

    4. Donwnload file of rom *.img.gz in empty directory

    5. Open terminal and input code:

    Code
    cd /sdcard/<folder with rom>
    su
    gunzip -c ./*.img.gz | dd of=/dev/block/mmcblk1 bs=4096

    6. Extract/insert sd-card, going into root sd and copy your device tree (dtb.img)

    Code
    cd /storage/<mount dir>/device_trees
    cp -fv ./<your dtb> ../dtb.img
    reboot update

    7. Enjoy! Your device will reboot into ELEC system...

    Edited 3 times, last by A.S._id (April 19, 2018 at 10:42 PM).

    • Official Post

    I've removed the HOWTO tag because that approach to installing (and all internal emmc installs) should be discouraged. We already see too many issues with people who don't know what they're doing running scripts and shell commands against Android boxes.