Posts by kostaman


    I was using TWRP from SD / USB as recovery.img, so had no problems with the nand installation. TWRP still works fine from SD, as far as I can tell

    I had no ethernet after installing LE on nand using TWRP and reading the progress script after flash details it did not write ledtb.img . It did read it but did not write it.
    Are you saying you're using a TWRP image and factory device tree image on sd card to get into recovery ?


    Restore from TWRP (recovery.img on SD card) backup and start again?

    Thank you for reply.
    I got it done as last edit im my thread.
    Just a word of caution and advice regarding TWRP being installed as a recovery.
    If you elect to install LE to Nand and use TWRP, for some reason the ledtb.img is not written. (It is read)
    You will have to use your original recovery image and device tree to go into recovery and then when you're in factory recovery
    you swap cards using the sd card with the install files. Follow menu to install from ext sd card and install LE update zip.
    Hope this helps those who will get the same issue.
    By the way it flies on Nand Installation. Big Difference Like Night and Day.


    Why it says "This step is not needed for first install"? When you have original factory firmware on internal memory, you also have original device tree that works with recovery image. So when you install LE to internal memory for the first time, you don't need to provide recovery and device tree images.



    Note; You will only have 3 files on your sd card if it is first time flash.
    1. aml_autoscript, 2. factory_update_param.aml, 3.a zip file with an update,.

    Okay i tried the flash to Nand with the 3 files only for first install.
    The box logo appears and dissapears every 2 seconds whilst toothpick method is used.
    I then let go of recovery switch and box boots to Android.

    I then took out the SD card and toothpicked into recovery.
    Whilst i was in recovery i inserted the SD card and chose the LE update zip to install.
    I chose reboot and LE installed.

    Issue now is i have no ethernet. I presume this is related to the Device Tree for this box
    is not the correct one ?
    Edit: I did not carry out step 4
    Download a device tree for your box rename it to ledtb.img and copy it to main folder of SD card.

    No idea what to do now that this step was missed ?
    Because this box has no OTA i do not have access to the recovery image.
    I do have the firmware package for installing using Amlogic Bootmaker.
    aml_sdc_burn.ini
    aml_upgrade_package, u-boot.bin.sd but cannot proceed with the last step.

    Edit: Used recovery image from another box.
    Got into recovery and reflashed with the ledtb.img added to the sd card.
    All working now.


    Internal memory is divided into several partitions - one of them is recovery and another is dtb. When you use toothpick method, u-boot looks for recovery and dtb image on SD card/USB drive and if it doesn't find them, it loads them from internal memory. When you install >=.006 build to internal memory, factory device tree in internal memory is replaced and it won't work with factory recovery (not true for boxes with the latest kernel, i.e. S905X and maybe some S905).

    Why it says "This step is not needed for first install"? When you have original factory firmware on internal memory, you also have original device tree that works with recovery image. So when you install LE to internal memory for the first time, you don't need to provide recovery and device tree images.


    Thanks kszaq
    I just wrote my version of instructions below after reading your explanation.
    I got thrown off with the before and after count of files on the card before flashing.
    Greatly appreciated in explaining how this works.

    Download zip file from LibreELEC release folder.
    Unpack downloaded file to SD card/USB drive - you should now have 5 files on your card

    1.aml_autoscript, 2. factory_update_param.aml, 3. a zip file with an update, 4.dtb.img and 5. recovery.img.

    Note; You will only have 3 files on your sd card if it is first time flash.
    1. aml_autoscript, 2. factory_update_param.aml, 3.a zip file with an update,.
    Factory recovery and device tree images are already on internal memory.

    I am about to try NAND install MiniM8s Pro S905 2g/8g and i am confused by the step 1 below's meaning ?
    This step is not needed for first install ?
    I understand the rest.

    Internal memory (NAND/eMMC):

    • (This step is not needed for first install) Download Android ZIP update for your box and extract 2 files: recovery.img and dtb.img to your SD card.


    Sounds like the wrong device tree.
    That ip address is invalid. Default number when you have no ethernet.
    It should start with 196.
    Check that you havent used the wrong device tree. Replace with the right one.


    Then i replace on root dtb.img with (gxbb_p200_minimx.dtb renamed dtb.img)
    I tryed to use toothpick method but recovery doesn't start, device freeze on bear logo.

    After it freezes you unplug box and pull out SD card.
    Then you put the dtb.img on sd card.
    Now insert the SD card and use toothpick method.
    That is the sequence.

    Mine doesn't find any OTA updates, I guess it's because it already has 107L1 build.
    I just wanted the stock FW in case of bricking, the TWRP backup will have to do for now


    Yeah that must be the latest.
    Good idea to save the stock whilst you have it. Save it as an image file in TWRP.
    OTA will only apply if your system is completely stock, without ever having been mounted rw.


    Yeah, I already tried that one - gives me a footer error and aborts (thanks anyway)



    @kostaman
    Have you managed to locate a stock image to restore your MiniMX (non Beelink) to latest (S905_107L1) build?

    [STOCK] Guides and Stock Backups/Recovery/OTA/RUU - Post #544

    I updated OTA on my box. If you installed TWRP please read post link.
    Should work after you follow instructions. Do a wipe clean and cache clean also.