MEcool KII Pro s905d 2gb version, dead bricked, Purchase in 2020, Help Required

  • s4shail

    To avoid the installation errors, perform the following steps in the u-boot terminal (gxl_p230_v1#):
    1. Copy u-boot.bin and gxl_p230_2g_pie.dtb to the FAT partition of the previously prepared mSD card. Boot the box from the mSD card and execute the following commands:

    Code
    store disprotect key
    store init 3
    reset

    2. Write the u-boot.bin into the eMMC

    Code
    fatload mmc 0 ${loadaddr} u-boot.bin
    store rom_write ${loadaddr} 0 100000
    reset

    3. Write the *.dtb file into the eMMC (partitioning)

    Code
    fatload mmc 0 ${loadaddr} gxl_p230_2g_pie.dtb
    store dtb write ${loadaddr}

    After these steps you must now be able to boot from the LibreElec SD card.
    Insert the LE SD card into the box and execute this command in the u-boot terminal:

    Code
    run update

    or use the RESET button.

    I will upload Android IMG a little later...

  • Please post the android image, if prepared....

  • I ask because I have k1 plus, I don't know what to do next. I uploaded the u-boot.bin.sd.bin file from your post to the mSD card.

    I don't think this uboot image for KII Pro would work on your device because KI Plus only has 1GB of RAM.

  • steps tried result is attached

    please suggest where i am wrong...

  • s4shail

    Code
    [store]amlmmc erase 1Cannot find dev.

    emmc was not found. Insert the sd card and manually switch to emmc:

    Code
    mmc dev 1

    Now repeat steps 1-3, but without the "reset" command.

    There is a little DDR timing problem, I'll try to fix it later.

  • s4shail

    Code
    [store]amlmmc erase 1Cannot find dev.

    emmc was not found. Insert the sd card and manually switch to emmc:

    Code
    mmc dev 1

    Now repeat steps 1-3, but without the "reset" command.

    There is a little DDR timing problem, I'll try to fix it later.

    tried as per instruction provided,

    [store]amlmmc not worked for me, was giving error cmd does not exists

    tried amlmmc after search on google

    02 nos logs attached (tried 2 different attempts)

    also attached files present on sd card during the procedure.

    (Sd card was prepared with boot card maker, then file pasted on it)

    I think my mmc is bad, or need to be replaced...on board...

  • Code
    [mmc_init] mmc init success
    switch to partitions #0, OK
    mmc1(part 0) is current device

    No, everything is fine. I suspect a weak power supply, or something like that..

    Code
    reading aml_autoscript
    ** Unable to read file aml_autoscript **

    This bootloader needs aml_autoscript so that booting from the SD card works. This script is currently missing on the FAT partition of your SD card. I haven't used an LE for a long time - which files are on your LE SD card?

  • Android you can also write to emmc by hand. To do this, you first have to unpack the aml_upgrade_package.img with a repack tool, copy unpacked partitions to the sd card and write to emmc with the following commands:

    (First you have to burn the dtb that you already did in step 3), then

    Code
    sdc_update dtbo dtbo.PARTITION normal
    sdc_update boot boot.PARTITION normal
    sdc_update recovery recovery.PARTITION normal
    sdc_update logo logo.PARTITIO normal
    sdc_update system system.PARTITION sparse
    sdc_update vendor vendor.PARTITION sparse
    sdc_update odm odm.PARTITION sparse
    sdc_update product product.PARTITION sparse
    reboot

    Edited once, last by bumerc: added logo partition (August 19, 2021 at 9:30 PM).

  • Code
    [mmc_init] mmc init success
    switch to partitions #0, OK
    mmc1(part 0) is current device

    No, everything is fine. I suspect a weak power supply, or something like that..

    Code
    reading aml_autoscript
    ** Unable to read file aml_autoscript **

    This bootloader needs aml_autoscript so that booting from the SD card works. This script is currently missing on the FAT partition of your SD card. I haven't used an LE for a long time - which files are on your LE SD card?

    files available on sd card are already shown in attached image, in the previous post, (sd card is prepared from boot card maker, then files pasted on it.

    ie

    aml_upgrade_package.img

    gxl_p230_2g_pie.dtb

    u-boot.bin

    do not have any aml_autoscript

  • Android you can also write to emmc by hand. To do this, you first have to unpack the aml_upgrade_package.img with a repack tool, copy unpacked partitions to the sd card and write to emmc with the following commands:

    (First you have to burn the dtb that you already did in step 3), then

    Code
    sdc_update dtbo dtbo.PARTITION normal
    sdc_update boot boot.PARTITION normal
    sdc_update recovery recovery.PARTITION normal
    sdc_update system system.PARTITION sparse
    sdc_update vendor vendor.PARTITION sparse
    sdc_update odm odm.PARTITION sparse
    sdc_update product product.PARTITION sparse
    reboot

    "copy unpacked partitions to the sd card"

    means copy all unpacked files to sd card root and then

  • files available on sd card are already shown in attached image, in the previous post, (sd card is prepared from boot card maker, then files pasted on it.

    ie

    aml_upgrade_package.img

    gxl_p230_2g_pie.dtb

    u-boot.bin

    I mean LibreElec files.

    Quote

    "copy unpacked partitions to the sd card"

    means copy all unpacked files to sd card root and then

    Yes.