Posts by KOPRajs

    Thanks for your reply.
    /dev/mmcblk0p1---- 27.0mb is very small in my brother's case.Can it resize with partition program only and should work fine?

    how many partitions after properly making storage on sd card we should see?

    It seems that the partition did not get resized.

    I've made some changes and re-uploaded the storage.img.gz. Please re-download and try it again. Hopefully it will get resized this time.

    I'm afraid you are making false conclusions here. Let's make it more clear:

    - /dev/system - this is internal read-only partition with system files (that's where LibreELEC or Android is installed)
    - /dev/data - that is internal partition used for storage (it is not there because you are not using it)
    - /dev/mmcblk0p1 - this is first partition on your SD card
    - /dev/sda1 - that would be first partition on your USB drive

    Now please try again to create the storage on SD card or USB drive using the storage.img.gz with LibreELEC USB-SD Creator and see if it gets correctly resized to the size of your device upon first boot.

    Sorry, I'm not going to create another version. It would cause even more confusion and it would take a lot of time as I would have to make all following versions twice.

    Please read the above guide carefully. Is it really so hard to follow? You don't need to create the ext3 manually anymore, just use the provided image of empty storage.

    I have the same problem when updating to this build using tar from my LE 8.0.1.

    EDIT: Does anyone actually got this to work? My box now seems to be dead after trying to flash the zip from recovery. Cannot enter the recovery using toothpick anymore. Any suggestions? The device is G-Box Midnight MX2. Now I only get blue light and no signal on HDMI.

    The question remains the same: Does anyone got this build to work?

    Even after fixing the bootloader I can't get this build to boot. The kernel seems to be corrupted (or not compatible with the device) so the device boots into the recovery instead.

    My build (thread-4858.html) boots fine so the bootloader is recovered successfully.

    On the internal storage looks like is no more space due to defective nand.
    The only option for him is to create external storage propertley.(My question is why he need to keep the card all the time in?? ---- without card hi is getting the eror.)
    How to create correctly external drive? to make sure the unit will give him an option to load some repisatory like Aries, etc..... but that require space.

    The storage is the place where your system stores all its runtime data (settings, add-ons, downloads, cache, thumbnails, etc.). So if you use external device for storage you can't remove it. Clearing the storage means factory reset.

    If you're not sure how to properly create an empty storage with the needed LIBREELEC_DISK label, you can use the image I've provided (storage.img.gz). Just write it to SD card or USB drive with LibreELEC USB-SD Creator.

    Still having problems with finding this setting here are the directions I am trying to follow.. Anyone have an idea why this option isn't here?

    kodi 17.1 to enable: Addons -> My Addons -> VideoPlayer InputStream -> RTMP input

    Try Addons -> Install from repository -> LibreELEC Add-ons -> VideoPlayer InputStream -> you know what ;-)

    I got version 8.0.1 working using the usb method as I couldn't get access via SSH - kept getting an error saying that I was 'refused'. I think this might be because I had previously accessed openelec via SSH and it has the same IP address are libreelec.

    The build seems good but I can't seem to get my old addons to work like they used to (e.g. ******). Anybody else having this problem?

    You need to enable SSH service in LibreELEC Configuration -> Services before connecting to SSH.

    I couldn't get any addons to function with the Libreelec/Krypton build so I've downgraded back to openelec 6.0.3.

    Am I the only one who cannot get addons to function? Is there something I missed?

    What does it mean "couldn't get any addons to function"? If you don't see anything under the Enter add-on browser section from main menu try Addons -> Install from repository -> ...

    If you want to use the internal NAND for storage you need to login via SSH and run the tune2fs command from OP. Then you can remove the external SD card or USB drive. The not enough space problem might be caused by a small storage partition. You can try to create it from this image (storage.img.gz) using LibreELEC USB-SD Creator. It is only 512 MB but it is set to be automatically resized to a whole device upon first boot.

    Hope this helps! :-)

    I only wish I had the box in my possesion so I could go through the steps from above. Thank you for your great efforts Koprajs! Quick question though, does this create an external storage on the SD or USB and not create it on the onboard internal partition for it, meaning I'd have to leave the card or usb stick in?

    Yes, this creates the storage on SD card or USB drive. You have 2 options:

    1. Leave the SD card or USB drive in and continue to use it (this is good if your internal NAND is not working anymore or if you want bigger or even faster storage).

    2. Or you can enable SSH, login and run the tune2fs command from OP to enable storage on internal NAND. Then you can remove the SD card or USB drive.

    In either way you only need to do this once (when setting this build up). Updating to the next versions will work as usual (copy the TAR file to Update folder and reboot).

    Since many people seems to have problems with creating the storage partition with the label, I have created an image (storage.img.gz) so you can now create it with LibreELEC USB-SD Creator.

    The easiest way to install LE 8.0:
    1. install the zip from recovery as usual (please note that you don't need the ext3 partition for this step!)
    2. power off the device
    3. create the storage partition on SD card or USB drive using storage.img.gz and LibreELEC USB-SD Creator
    4. insert the storage device and power on the box

    Hope this helps!

    The good news is that it is actually possible to recover from the bootloader brick. However all provided solutions seems to be incomplete.

    1. The solution:
    - the extracted .img file is not actually a RAW disk image file but rather a compressed image file format from HDD Raw Copy Tool
    - it can be burned to SD card ONLY by HDD Raw Copy Tool (using any other software will result in a corrupted SD card)
    - you have to rename the MX2.img to MX2.imgc before opening it in HDD Raw Copy Tool
    - however even then I was not able to use the SD card to recover my device

    2. The solution:
    - this solution is essentially the good one but it is very brief

    The essential part is that we need to write the bootloader to MBR of the SD card. More complex and working guide can be found at [HOW-TO] Unbrick DroidTV MX (the second solution).

    hmm looks like the new bootloader is not compatible i will revert to the old one and re upload the images.
    Sorry for the trouble guys but you should be able to flash back android and re-try easily.

    Playing with the bootloader on a device you don't have and releasing the image to public without any testing is not very good practice. Since the bootloader doesn't work at all how we are supposed to revert back to Android? The device is dead now, it cannot boot from SD card anymore.

    HI i tried to install using .tar file from Nemesis 72 (openelec 16.0) and it says when updating then update was success but once it starts it shows openelec start screen and then goes to android recovery straight after

    This is the same case with one of my friend's box as well. Exact same thing updated from Nemesis 72

    I have the same problem when updating to this build using tar from my LE 8.0.1.

    EDIT: Does anyone actually got this to work? My box now seems to be dead after trying to flash the zip from recovery. Cannot enter the recovery using toothpick anymore. Any suggestions? The device is G-Box Midnight MX2. Now I only get blue light and no signal on HDMI.

    Hi. I have a MX2 with CodeSnake's OpenElec on it right now. I'd like to try this so that I can have Kodi 17. I followed the instructions, formatted a flash drive with ext3, unzipped the recovery zip onto it, named the flash drive LIBREELEC_DISK. However, when I go to reset the box with the flash drive plugged in by pressing in the A/V button, nothing appears to happen. It just boots up like normal, no android recovery screen. I tried several times, and I can feel the toothpick pressing in the button. I think maybe OpenElec overwrites this, so the recovery button doesn't do anything anymore? Is there something else I should be doing if OpenElec is already installed on it?


    If you already have a working OpenELEC or LibreELEC on your device and you want to continue using internal NAND for storage please use installation instructions for updating existing installations:
    1. set the label on your internal NAND by running tune2fs -L LIBREELEC_DISK /dev/data using SSH
    2. update using TAR as usual (copy .tar to .update/ folder and reboot)

    If you want to do a clean install:
    1. flash the ZIP from recovery as usual (using FAT32 formated SD card or USB drive)
    2. power off the box (don't worry about the error during first boot)
    3. insert empty SD card or USB drive with ext3 filesystem and the LIBREELEC_DISK label and power on the box (the system will use it for storage instead of the internal NAND)
    4. (optional) if you prefer to use the internal NAND for storage you can now set the label using SSH, remove the external storage device and reboot

    I'm only familiar with flashing the box with sd card. i would like to know how to run the code through ssh, sorry newb. hope someone can help. I'm also using a mac.

    You'll need to search and learn a bit as I cannot provide a complete step-by-step guide for everyone however these are the basic steps needed:

    1. you need to enable SSH service on your box in LibreELEC Configuration Add-on (Settings -> LibreELEC Configuration -> Services -> SSH)
    2. connect to the box using your favourite SSH client (use PuTTY in Windows, for Mac you should open terminal window and run ssh [email protected]_address)
    3. login as root with password libreelec

    A quick Google search revealed this:
    How to SSH into Raspberry Pi for remote administration?

    Please note that if you set the label on internal NAND using SSH you will then have to update to 8.0.x using tar! Flashing the zip from recovery will erase the label!

    Yes, you need to set the label on your storage partition for 8.0.x if you haven't done that before. However if you are already running 8.0.0 you don't need to set the label again. Just update using tar as usual.