*SOLVED* ceemmc dual boot install failed on Beelink GT Mini A

Hi,

I tried the ceemc tool to dual boot and copy my SD card to emmc however it did not complete and if I re-run ceemc this is the output:

s905x2-office:~ # ceemmc 

Starting CoreELEC eMMC installation tool...

eMMC size: 0x000750000000 [32GB]

Existing CoreELEC dual boot installation found on eMMC

Migrate CoreELEC dual boot to single boot installation
  Use CoreELEC data from
    [1] current used SD or USB device
    [2] the existing data on eMMC
    [3] existing backup on current used SD or USB device

Renew current CoreELEC dual boot installation on eMMC
  Use CoreELEC data from
    [4] current used SD or USB device
    [5] existing backup on current used SD or USB device

[6] Make a backup of current CoreELEC dual boot installation on eMMC to current used SD or USB device
[7] Remove current CoreELEC dual boot installation on eMMC

Please choose one option? [1/2/3/4/5/6/7]: 4

Usable space of 'partition CE_FLASH': 512MB
Used space of '/flash': 233MB

There is enough free space on flash partition on eMMC for installation!

Warning!
ALL existing CoreELEC data on flash partition on eMMC will be lost!
Continue with [y] or press enter to skip flash partition!
Continue? [y]: y
mount: mounting /dev/loop1 on /media/CE_FLASH failed: Invalid argument
Error running pclose on cmd: `mount -o rw,loop /dev/loop1 /media/CE_FLASH`. Error: 255
Error executing cmd 'mount -o rw,loop /dev/loop1 /media/CE_FLASH'
Failed to mount 'CE_FLASH' partition!
s905x2-office:~ #

ceemc -v displays the following:

Starting CoreELEC eMMC installation tool...

eMMC size: 0x000750000000 [32GB]

Original partition table:
[mmcblk0p01]           bootloader  offset 0x000000000000, size 0x000000400000 [4 MB], unkn
[mmcblk0p02]             reserved  offset 0x000002400000, size 0x000004000000 [64 MB], unkn
[mmcblk0p03]                cache  offset 0x000006c00000, size 0x000046000000 [1120 MB], cache
[mmcblk0p04]                  env  offset 0x00004d400000, size 0x000000800000 [8 MB], unkn
[mmcblk0p05]                 logo  offset 0x00004e400000, size 0x000000800000 [8 MB], code
[mmcblk0p06]             recovery  offset 0x00004f400000, size 0x000001800000 [24 MB], code
[mmcblk0p07]                 misc  offset 0x000051400000, size 0x000000800000 [8 MB], code
[mmcblk0p08]                  dto  offset 0x000052400000, size 0x000000800000 [8 MB], code
[mmcblk0p09]             cri_data  offset 0x000053400000, size 0x000000800000 [8 MB], cache
[mmcblk0p10]                param  offset 0x000054400000, size 0x000001000000 [16 MB], cache
[mmcblk0p11]                 boot  offset 0x000055c00000, size 0x000001000000 [16 MB], code
[mmcblk0p12]                  rsv  offset 0x000057400000, size 0x000001000000 [16 MB], code
[mmcblk0p13]                  tee  offset 0x000058c00000, size 0x000002000000 [32 MB], code
[mmcblk0p14]               vendor  offset 0x00005b400000, size 0x000010000000 [256 MB], code
[mmcblk0p15]                  odm  offset 0x00006bc00000, size 0x000010000000 [256 MB], code
[mmcblk0p16]               system  offset 0x00007c400000, size 0x000074000000 [1856 MB], code
[mmcblk0p17]                 data  offset 0x0000f0c00000, size 0x00063f400000 [25588 MB], data
[mmcblk0p18]           CE_STORAGE  offset 0x0000f0c00000, size 0x00063f400000 [25588 MB], data
[mmcblk0p19]             CE_FLASH  offset 0x000730000000, size 0x000020000000 [512 MB], data

Thanks in advance for any guidance on this.

You can try option 7 to remove dual boot and after reboot retry to install dual boot again

Hi,

I tried option 7 and got the same error shown below:

s905x2-office:~ # ceemmc 

Starting CoreELEC eMMC installation tool...

eMMC size: 0x000750000000 [32GB]

Existing CoreELEC dual boot installation found on eMMC

Migrate CoreELEC dual boot to single boot installation
  Use CoreELEC data from
    [1] current used SD or USB device
    [2] the existing data on eMMC
    [3] existing backup on current used SD or USB device

Renew current CoreELEC dual boot installation on eMMC
  Use CoreELEC data from
    [4] current used SD or USB device
    [5] existing backup on current used SD or USB device

[6] Make a backup of current CoreELEC dual boot installation on eMMC to current used SD or USB device
[7] Remove current CoreELEC dual boot installation on eMMC

Please choose one option? [1/2/3/4/5/6/7]: 7

Warning!
ALL existing CoreELEC data on eMMC will be lost!
Press enter to abort!
Continue? [y]: y
mount: mounting /dev/loop1 on /media/CE_FLASH failed: Invalid argument
Error running pclose on cmd: `mount -o rw,loop /dev/loop1 /media/CE_FLASH`. Error: 255
Error executing cmd 'mount -o rw,loop /dev/loop1 /media/CE_FLASH'
Failed to mount 'CE_FLASH' partition!

Am going to try and flash the stock Android image to the device and assuming that works, I will try the ceemmc tool again. I’ll let you know how this goes.

Thanks very much.

Hi,

This is what I tried next:

  1. Used Burn Card Maker and created an SD card using image file “GT1_Mini_Hwid_006P0_20200323.img”

  2. Put the SD card in the device and held down the flash button on the underside of the device.

  3. The recovery menu appeared and I choose to erase the partitions. This completed successfully.

  4. I then tried update from EXT. This would not mount the SD card.

  5. I power cycled the device and removed the SD card and Android 8.1 booted up and worked fine.

  6. I put my Coreelec SD card in the device and powered up the device. Corelec booted up fine.

  7. I ran the ceemmc tool again via ssh and had the same result as in my first post, so essentially nothing had changed.

Am I doing something wrong with the Android recovery process if I want to restore the Android image and start over?

Thanks again for any guidance.

With burn card maker you should see only a progress bar flashing the device, no recovery menu.
Maybe you pushed not long enough the reset button on power on?

Android recovery/update is not working with CE installed on emmc.

The uSD created with burn card maker should wipe the emmc completely and all previous installed CE on emmc should be gone. So no CE_FLASH in verbose mode should be visible.

Ok, I sorted out the issue with the SD card and I now have Android 9 installed and working.

Am now struggling to get the device to boot the Coreelec SD card.

  • Tried with the reset button held in when powering on but I just get the Android recovery menu, it does not boot from the SD card.
  • Tried with a zero byte update.zip in the root of the SD card and selected it from local update within Android and this rebooted & failed and went straight into the Android recovery menu.
  • Tried the Reboot to Libreelec Android app and nothing happens when I click ok.
  • Tried using the Terminal Emulator in Android and entered “reboot update” but it then reboots into the Android recovery menu.

What should I try next please?

Ok, I resolved the issue.

I was using the g12a_s905x2_beelink_gt_mini_a.dtb

Having realised I had used a Beelink GT1 Mini Android 9 image to flash Android 9 onto my Beelink GT Mini-A device, I switched to using g12a_s905x2_beelink_gt1_mini.dtb and held the reset button down and powered on and it booted Coreelec. I then ran ceemmc and the dual boot install completed successfully, so everything is now running solely from emmc.

Thanks very much for producing and maintaining Coreelec!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.