Not completely. In theory wiping /dev/userdata and formatting to EXT4 format would allow to use storage partition on eMMC. But I never tried that because reflashing device is too annoying. Also in case something goes wrong makes device broken.
This would make single boot possible - maybe. Dual boot will never be supported.
And wouldn’t a direct copy with DD work either? In the worst-case scenario, I’d have to use the Amlogic Burning Tool again, right? Or is it likely to completely brick the TV box if all the partitions are deleted?
I’ll try the DD method in a couple of hours and see what happens.
DD copies 2 partitions but userdata is just one. That’s why formating it to EXT4 would be better. If then still boots CE from USB you can proceed with next chapter.
This was used on Homatics with old Android where mounting the partition was possible:
servidor:~ # mkdir -p /media/data servidor:~ # mount /dev/userdata /media/data
mount: /var/media/data: special device /dev/userdata does not exist.
dmesg(1) may have more information after failed mount system call. servidor:~ # mount /dev/data /media/data
mount: /var/media/data: special device /dev/data does not exist.
dmesg(1) may have more information after failed mount system call. servidor:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 344.8M 1 loop /
sda 8:0 0 10.9T 0 disk
\xe2\x94\x94\xe2\x94\x80sda1 8:1 0 10.9T 0 part /var/media/12TB
sdb 8:16 0 12.7T 0 disk
\xe2\x94\x94\xe2\x94\x80sdb1 8:17 0 12.7T 0 part /var/media/14TB
mmcblk0 179:0 0 58.2G 0 disk
mmcblk1 179:32 0 116.5G 0 disk
\xe2\x94\x9c\xe2\x94\x80mmcblk1p1 179:33 0 512M 0 part /flash
\xe2\x94\x94\xe2\x94\x80mmcblk1p2 179:34 0 116G 0 part /storage
mmcblk0boot0 179:64 0 4M 1 disk
mmcblk0boot1 179:96 0 4M 1 disk servidor:~ #
ervidor:~ # mkdir -p /media/data servidor:~ # mount /dev/userdata /media/data
mount: /var/media/data: special device /dev/userdata does not exist.
dmesg(1) may have more information after failed mount system call. servidor:~ # mount /dev/data /media/data
mount: /var/media/data: special device /dev/data does not exist.
dmesg(1) may have more information after failed mount system call. servidor:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 346.3M 1 loop /
mmcblk1 179:0 0 29.8G 0 disk
\xe2\x94\x9c\xe2\x94\x80mmcblk1p1 179:1 0 512M 0 part /flash
\xe2\x94\x94\xe2\x94\x80mmcblk1p2 179:2 0 29.3G 0 part /storage
mmcblk0 179:32 0 58.2G 0 disk
mmcblk0boot0 179:64 0 4M 1 disk
mmcblk0boot1 179:96 0 4M 1
Oh wait, in the last attempt to install using ceemmc I think it asked me if I wanted to force partition deletion, or I think I deleted it… since we’re in this state, wouldn’t the dd command work with the deleted partitions?
Well, hard to tell what to do. Not sure if device will boot from eMMC if you just use dd from USB to it.
Also don’t know if this device needs any file from Android. Seems not if there is no partitions visible.
I will not say anything how to proceed to not be blamed for anything. There is firmware available for device and I assume recovery is always possible with aml tool. But I’m not familiar much in this area.
“messed up” wouldn’t be the right word, since, as I said in another post, I’m not interested in Android. Since then, I’ve only been using CoreELEC from a microSD card. I’ll try the hard drive thing if something goes wrong… that’s life.
Copying everything with dd doesn’t work, the screen is just a flickering black screen… the TV box is dead, I’m reinstalling Slimbox right now. If I only use the userdata partition, would I still need the microSD card to boot, or for CoreELEC?