Before you ran installtointernal did the coreelec usb boot?
because it seems to me that you didnât use the correct device tree
Download the S912 image, burn to usb, on the newly burnt usb, you will see a folder of device trees, choose the correct device tree, copy it to the root of the usb, then rename it to dtb.img
If it doesnât boot, try another device tree, unless it boots, you wonât be able to installtointernal
The SD I burnt with the S912 image only boots if I manually add the u-boot file.
However after I add the file it boots fine , Wi-Fi and everything seems to run just fine, so I donât think I am using a wrong dtb.
Did: dd if=/dev/zero of=/dev/bootloader bs=4M count=1
And got: 1+0 records in 1+0 records out 4194304 bytes (4.0MB) copied, 0.015331 seconds, 260.9MB/s
Did: dd if=/storage/bootloader.PARTITION of=/dev/bootloader bs=512 seek=1
And got: 1824+0 records in 1824+0 records out 933888 bytes (912.0KB) copied, 0.011547 seconds, 77.1MB/s
And it doesnât want to boot the stock S912 image.
Could you be more precise about the OTA thing ,as I mentioned above I am very unfamiliar with this sort of stuff, the more in depth , the better.
I unfortunately have to go now but will come back tomorrow with updates if any.
After preparing SD Card with Burn_Card_Marker tool, replace aml_sdc_burn.ini which after burning in partition-1 (FAT âŚ) of the SD card and execute the update. aml_sdc_burn.ini (602 Bytes)
I just tried writing uboot to internal memory again,but it still wonât boot with a stock S912 CoreELEC image.
Then I tried burning the âupdate_MXIII-GII_rv109â image to the card and modified the aml_sdc_burn.ini file,leaving the package line as is.
However I usually use wireless for internet on the box so it does not have an ethernet connection,I donât know if I should connect it for this.
The thing I am doing in the .ini file seems just to force erase all which I have already tried,and got the android with a X sign(picture above).
Should I burn my image as I did now, should I burn no image(just the .ini and .uboot file) and connect to ethernet or should I burn aml_upgrade_package which I also happen to already have downloaded on my pc ?
In order to be able to boot CE-OS from the external storage (SDcard, U-disk), the u-boot in burning mode must be set -> execute the following commands e.g in the Android terminal.
Reboot to u-boot burning mode:
reboot usb_burner_reboot
or
reboot update
otherwise CE-OS will not boot.
Please follow the instructions linked by @anon88919003. After burning, just replace aml_sdc_burn.ini file and perform OTA update. If the OTA update fails at 2-5%, it means that the emmc driver could not be parsed (dtb partition is empty). To fix this, dtb partition must be written by hand over uboot interface (uart) or in the linux terminal.
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 this proves the box isnât dead - thatâs good news. So now you need to acquire the correct stock image and, once you do, you know you can restore the box - happy days! Get looking . . .
I do have an image which others have confirmed to work, but when I try to install it , it stops around 5% when I do it with Burn Card Maker and at 7%(formatting) when I do it with USB Burning Tool.
I tried with both âupdate_MXIII-GII_rv109.imgâ(MXIII GII S912 stock firmware) and âupdate_MXIII-GII_rv112.imgâ(a more recent version) You can find above links to both the box and the firmwares.
Maybe you should consider the fact that you might have faulty HW. If you have an image that youâre confident is for your box, try flashing just the boot / recovery partitions instead of the whole image. Then, maybe you can boot from SD / USB instead of internal?
I tought too that my internal memory is dead(as I wrote in the title) but @anon88919003 said it probably isnât dead.
As I said in point 5 of the recap
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.
I think what Adam was trying to tell you is that your box is not dead. You may well have faulty internal storage chip, where a part of it does no longer work, but, if enough works to get the boot process going, you can aim it at external media to run CE. When using USB Burning Tool, only select items to do with boot / recovery and see how you go
In USB Burning Tool I only select the âupdate_MXIII-GII_rv109.imgâ and then donât have much configuration available only: Erase flash,Erase bootloader,Reset after succes and Whether overwrite key.
To do what you said I think I have to somehow modify the .img file or maybe I am overlooking something.