Initial title: MXIII G II S912 TV Box dead internal memory , how to make CoreELEC bootable from SD card only?
It seems like the internal memory of my box died so if I flash a S912 CoreELEC img to a SD card it just doesn’t boot because I suppose it uses something from the internal memory to boot and mine is dead so it won’t boot.
I need a detailed guide on how to make CoreELEC boot from only the SD card itself.
Problem that initial title was asking for solvedhere
OK so let’s recap :
1.My box stopped booting at all while I was using android(It does not boot at all,I get no video signal, no recovery mode, no nothing).
2.It did boot some images from the SD card though(TWRP,Armbian)
3.CoreELEC didn’t boot from SD.
4.I added aml_sdc_burn.UBOOT to the SD and then it booted to CoreELEC(with dd).
5.I then tried to add recovery.PARTITION on the internal memory via ssh while running CoreELEC so I don’t always have to manually add aml_sdc_burn.UBOOT to each CoreELEC image I flash to the SD,but it still wouldn’t boot.
6.I also tried to run “installtointernal” over ssh while running CoreELEC on the SD card with the added uboot file and I got:
One of BOOT, SYTEM, DATA or DTB partitions is missing.
Make sure that you are using a correct device tree and a device with internal memory!
Mention1: When it boots the box boots without pressing the AV port reset button.
Mention2: I tried burning the firmware image on the SD but it would fail around 5%.
So, I was using my box as usual then it froze so I unplugged and replugged it in,the led was lighting blue but I got no video input from it anymore.Then I tried a different power supply adapter, the blue led was still on and still no video.Then I plugged it in via usb in my pc and tried to flash a new firmware on it with " Amlogic USB Burning Tool".
I tried 2 or 3 firmwares but all would get the same result.
The box was getting recognized by the tool, then the flashing procces would start and go on until 7% which is formatting and then it would fail.
So I burnt the firmware on a SD card with “Burn Card Maker” tool , which would set up some sort of boot thing on the card itself instead of relying on the internal memory to boot.
I inserted the card in my box and this is the first time I got video signal from the box.
It was showing a android robot , below it it would say “Upgrading…” and a progress bar, although the video was very artifacty the droid was not green the progress bar neither, they were gray.
The progress bar would go on to like 5% and then got stuck there forever(I suppose it was being stuck at formatting).
So at this step I put an TWRP image on the card and renamed it recovery.img, put that into the box and again I got video signal, TWRP was working fine , the colors were fine everything was ok.
So at this point I figured out that most probably the internal memory died when I plugged the box out and then in, but everything else works fine so I could try to burn a OS on the sd card.
I discovered LibreELEC then CoreELEC and tried both of them.
I would burn the S912 version on the card with either “Win32DiskImager” “LibreELEC SD Creator” or “Etcher”.
Tried with each of them and tried every dtb file there was but the box never booted and I never got any video signal from it.
Then I burnt the Le Potato CoreELEC on the SD card,put that into the box and it booted and got video signal , I saw the CoreELEC logo and it said something about formatting partition, it did that then it powered itself off.I plugged the box out and replugged it in and now the CoreELEC logo would show again and its version, but it would never boot into Kodi , it would get stuck there forever.
I then tried the KVIM and KVIM2 versions of CoreELEC , got the box to boot , got video signal but I could only see a black or a green screen.
Then what I did is I flashed the SD with the Le Potato version and overwrite its files with the S912 version,except the dtb which if I would change the default Le Potato one for another it would just show a black screen.
However with the S912 files written over the Le Potato burnt SD card and using the default Le Potato dtb file, I was getting to the CoreELEC and version logo again and it froze there.
I tried the same but with LibreELEC written over Le Potato burnt SD, and got the same result, it was getting stuck at the LibreELEC logo.
So what I want now is to make the S912 version boot from the SD only without relying on something on the internal memory, like the KVIM and Le Potato versions do, and maybe that way it would work with my own dtb.
I found this guy who had the same problem but I can’t figure out exactly what he did , I would need an in depth guide, step by step because I am very unfamiliar with this sort of stuff
If the NAND has become corrupted in some fundamental way it can usually be cleared by shorting two pins together on the NAND chip. This will be specific to the NAND chip which you will have to identify first. Once the NAND has been blanked it is usually possible to flash an Android ROM using the USB-burn tool.
Trying different versions of CoreELEC for specific devices is just wrong, wrong, wrong.
You do not need to short pins and I would advise against this incase you touch the wrong pins and fry the SoC, I have purposefully bricked one of my boxes in the past by zero’ing the whole eMMC to see how recoverable these boxes where and because I wanted to try doing some bootloader development.
As I said earlier I have come back from the worst possible case of bricking you can do, there is always a way to recover these boxes.
Firstly you need the vendor firmware for your specific box and you have not stated what your device is.
Secondly this is the guide I followed to recover from a completely bricked device, if you follow it then you should have no issues in restoring your device.
The one from China Gadgets Reviews is the “update_MXIII-GII_rv112.img” one same as the one from Entertainment Box website.
The “update_MXIII-GII_rv112.img” has 743 MB.
The “update_MXIII-GII_rv109.img” has 885 MB.
Tried them both on USB Burning Tool and with the Burn Card Maker and both seem to get stuck around 5 to 10%, as in the picture.
Although GearBest already has the “update_MXIII-GII_rv109.img” version on their site I asked them for another one but they said they can’t help me because the one year warranty has passed.
I cant find the site of the manufacturer either.
This is exactly what I was asking for, I flashed an ubuntu image on a usb pen drive for this, but I am very unfamiliar with this things so could you please walk me trough every step and command line I need to type into the terminal?
Should I open the terminal where aml_sdc_burn.UBOOT is placed then just enter the two commands with the correct sdX?
The process of shorting NAND pins is a valid and well recognized recovery method for extreme bricks and I have used it myself when flashes corrupted the boot loader. It is a standard method for recovering Khadas products and described on their own forum and website. It is not described for most boxes since most boxes are not documented.
Here is a thread where it is discussed for various different boxes:
I did this again with the bootloader.PARTITION file.
Did : scp ~/Downloads/bootloader.PARTITION firstname.lastname@example.org:/storage
And got : bootloader.PARTITION 100% 912KB 8.0MB/s 00:00
Did : ssh email@example.com
Did : dd if=/storage/bootloader.PARTITION of=/dev/bootloader
And got : 1824+0 records in 1824+0 records out 933888 bytes (912.0KB) copied, 0.009870 seconds, 90.2MB/s