Interesting. I had a similar issue, flashing stalling at 7% (the formatting stage). If I unchecked "erase flash", the flashing process would proceed but no matter what ROM I tried, the process would never reach 100%. So I used the smallest compatible ROM and deleted all the APKs in /system to make the ROM even smaller using Customization Tool. I was then able to flash the ROM. The OS may not have worked but at least it restored my recovery.
Have you attempted to flash a ROM via USB Burning Tool with "erase flash" unchecked?
No booting as in "not even getting the LibreElec splash screen", or that it never completes the boot - until Kodi??
Any diodes showing filesystem activity (or similar, I don't know the box you have)
Have you updated the device tree file?
Try to boot from a sd card, and see if you can access the mmcblk0 device... if so, it is probably the device tree that needs to be updated.
The positive (and this is really great), dd reporting that it copied the files show very clearly that the eMMC is not bricked
Blue power LED doesn't light up and no video output. Flashing a uboot to eMMC corrects this (power LED lights up) but the screen remains black. Tried flashing the correct dtb but it made no difference. Perhaps I flashed it to the incorrect location. These were the commands I entered.Code
I wonder if there is a way to restore /dev/system... as you pointed that appears to be the issue. I've ran installtointernal successfully before the last time when it froze. So if the eMMC isn't bricked, I'm assuming the partitions are corrupt. I have access to terminal through TWRP, which may not be as limited as LE.
Perhaps you overcomplicated this a bit...
Let me share my experience. I just purchased an Odroid C2, and a eMMC card (with sd adapter)..
That box was able to boot the eMMC (generic linux), but my pc could not write LE to the eMMC card via the adapter. So I burned a linux (could probably even be LE) to the SD card, and booted from there. (with the eMMC also present)
Then - instead of dd'ing a u-boot to the eMMC (or running this "installtointernal" command, that seems to be assuming that /dev/system is on the eMMC), I just downloaded the latest Odroid LE image - gunzipped - and then dd that to the eMMC card...
Probably for you something like sudo dd if=LibreELEC-S905.arm-8.2-188.8.131.52.img of=/dev/sdb bs=4M
(with the disclaimer that I don't know the correct image for you, and if indeed sdb is your internal eMMC - but anyway, worth the shot
Then - removed the sd, and LE now runs from the eMMC...
I assume you could do similar - since you where able to copy the u-boot to the eMMC and boot from there...
please share progress
Appreciate your input. Gave it a go, but the box wouldn't boot afterwards.
Okay, progress is being made. I have LE running on the box now. SSH'd to the box and ran installtointernal.Code
This script will erase BOOT, SYSTEM, DATA and DTB on your device and install LE that you booted from SD card/USB drive. It will create a backup of device tree and recovery partition on your boot media . The script does not have any safeguards! Type "yes" if you know what you are doing or anything else to exit: yes Backing up device tree...done. Backing up recovery partition...done. Formatting SYSTEM partition.../dev/system contains a ext4 file system last mounted on /system on Thu Jan 1 00:00:12 2015
Didn't make any progress beyond that point, stuck there for an hour. Any ideas on what commands I should enter?
It gets stuck at this command:
Going to assume the eMMC is kaput. Ran the above command without the silent flag, this is what it spat out until it stalled.Code
LibreELEC:~ # mke2fs -F -t ext4 -m 0 /dev/system mke2fs 1.43.4 (31-Jan-2017) /dev/system contains a ext4 file system Discarding device blocks: failed - Input/output error Creating filesystem with 524288 4k blocks and 131072 inodes Filesystem UUID: 43ad4c17-0930-4835-abb3-5df5ad9335e2 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: 0/16
Will have to settle with the fastest UHS-I microSD, https://www.amazon.com/dp/b06xyhn68l
create a new bootable image on a usb drive, use rufus from windows, then at least you could have a working system from usb.
then instead of trying to format the eMMC just install to internal
To get a Linux machine, you can create a Live linux distro like Knoppix.
Cheers. Got Linux running. Created a bootable SD card in LE Creator using one of @kszaq's LE images. Then added the u-boot Nothing found — Yandex.Disk to it in Linux.Code
[email protected]:~$ cd Downloads [email protected]:~/Downloads$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 14.9G 0 disk sda 8:0 0 232.9G 0 disk ├─sda4 8:4 0 216.9G 0 part /media/jack/3E8889B988897067 ├─sda2 8:2 0 100M 0 part /boot/efi ├─sda7 8:7 0 14.2G 0 part / ├─sda5 8:5 0 856M 0 part ├─sda3 8:3 0 16M 0 part ├─sda1 8:1 0 450M 0 part └─sda6 8:6 0 488M 0 part [SWAP] [email protected]:~/Downloads$ sudo umount /dev/sdb umount: /dev/sdb: not mounted [email protected]:~/Downloads$ sudo dd if=u-boot.bin.sd.bin of=/dev/sdb conv=fsync bs=1 count=442 442+0 records in 442+0 records out 442 bytes copied, 0.0264831 s, 16.7 kB/s [email protected]:~/Downloads$ sudo dd if=u-boot.bin.sd.bin of=/dev/sdb conv=fsync bs=512 skip=1 seek=1 1728+0 records in 1728+0 records out 884736 bytes (885 kB, 864 KiB) copied, 0.986449 s, 897 kB/s
Popped the card into my box but it didn't boot, tried with the reset button pressed too. Will try the other 2 u-boots provided by balbes150
If a ROM flashed to an SD with Burn Card Maker, which adds a u-boot to the root of a SD, can get my box to boot to this screen, booting into other stuff should be possible right?
why don't you try it
Because I don't have a computer with Linux laying around so I was looking for somewhat of a confirmation before I format my hard drive to install Linux. Plus I wouldn't know what commands to enter even if it were possible.
Theoretically, yes perhaps. I'm not sure if LE's busybox has commands for formatting an eMMC, but since the warranty on your box is already out the door, you might as well try. Otherwise contact the Mini M8S manufacturer first.
Well out of warranty. At least there's hope, thanks.
Sorry to bump this old topic but I believe I corrupted my Mini M8S 2's eMMC when I tried to install LibreELEC on it. Box froze during the flash. Can no longer flash ROM's using USB Burning Tool as flashes hang at 7%, the formatting stage.
If I manage to boot LibreELEC from an SD, would it be possible to format the eMMC?
I have the TICTID M9C Max box with 2G/16G. I know its a s905x chip, but when trying to install libreelec via toothpick method - it does not work as there is no hole to reset it.
Does anyone have dummies instructions for me to install this..really want to get this working and apologies for such newbie questions...
When running 'installtointernal', /dev/system and /dev/data are formatted, so I assume you can boot to a LE7 card and flash to internal.
Cheers for the suggestion. Will give it a whirl and report back.
Edit: That did the trick. Thanks.
Any other methods to downgrading to LibreELEC 7.0 apart from flashing Android and then re-flashing LibreELEC?
kszaq, my man, if I recompile your build with chromium browser will chromium work... or is chromium browser incompatible with your build?
Hey fellas, is it possible to install chromium browser in this build?
Nice one. Confirming AP6212A BT is now working. Cheers.