Install CE from SD card to eMMC on VIM3

Hello,

I got my VIM3 back from repair at Khadas.
I used to have CE installed on eMMC in single boot mode and it seems it’s now wiped and the device is booting into Android.

I downloaded and flashed CoreELEC-Amlogic-ng.arm-20.3-Nexus-Generic.img.gz with etcher to an SD card. Inserted SD card to VIM3 and followed the booting instructions and it booted just fine into CE.

However, now I want to move it to eMMC like I did years ago.

Tried following the instructions here to do it with ceemc:
https://wiki.coreelec.org/coreelec:ceemc_use
Results:

eMMC size: 0x000747c00000 [32GB]

No CoreELEC installation found on eMMC

Install in dual boot mode, CoreELEC and Android on eMMC
  Use CoreELEC data from
    [1] current used SD or USB device
    [2] existing backup on current used SD or USB device

Install in single boot mode, only CoreELEC on eMMC
  Use CoreELEC data from
    [3] current used SD or USB device
    [4] existing backup on current used SD or USB device

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

Free space of 'partition CE_FLASH': 512MB
Warning: Could not find 'dto' partition!
Could not find 'CE_STORAGE' partition!
Failed to read size of partition 'CE_STORAGE'!
Failed to create new partition table!

Does not seem to work. What am I doing wrong?

Would appreciate help - thanks!

Flash again another VIM3 Android image. Not all are supported anymore.
When you had single install before it’s not possible to boot into Android at all anymore: single!

1 Like

Thanks for your reply Portisch.

I’m a basic user, not a typical nix/SBC user.

The VIM3 returned from Khadas. I hooked it up to the TV hoping that it will boot into CE from eMMC like it left me, but instead it had Android come up. I’m guessing they reflashed eMMC with some Android version? I really have no idea or understanding.

Would be great if you can help me with more precise instructions of what I need to do. I have 0 idea which Android image to get or how to install it instead of the existing one on the device.

Edit:
I removed the SD card so it will boot into Android again - here’s what is on it:

Model: VIM3
Version: 9
Android Security Patch Level: August 5, 2018
Baseband Version: Uknown
Kernel Version: 4.9.113 #26 Fri Dec 17 17:42:09 EST 2021
Build: VIM3_Pie_V211220

I found a ton of Android versions here:

no idea which should work and/or how to replace the current Android :frowning:

My device is VIM3 Pro if that matters.

You have a very old android on it, flash another one with USB burning tool and try again.

1 Like

OK. Thanks. I’ll try.

Would that be a good one for that purpose? I’m a bit lost with all the options available to download:
vim3-android-9-64bit-v231122.img.xz

I don’t have a PC with USB-C and I have to get one from a friend, so I want to get it right.

You can try installing oowow to sd card to install android images.

1 Like

I installed vim3-android-9-64bit-v231122.img.xz with USB burn tool.
Booted into CE in upgrade mode per instructions. Wired internet connection working, However, now SSH with Putty refuses to work. I SSH’d easily yesterday and today it won’t work.

Error:
Unable to open connection to coreelec.
Host does not exist.

Ideas?

Edit:
Despite showing wired connection working, I tried to download and install some addons and they all fail.
Could this be related to the Android version I installed?

You did restore any backup?
Check if SSH is enabled in CoreELEC settings.

1 Like

I didn’t restore a backup. I used the same flashed latest NG I did yesterday on an SD card and booted from it after upgrading Android.

SSH is enabled.

Despite showing wired connection working, I tried to download and install some addons and they all fail.
Could this be related to the Android version I installed?

BTW, on CE–>Connections–>Wired it’s showing:
State: ready
Type: Auto
and an IP address.

Should it show ready or connected? I think it might not be actually be connected.

Flash 32bit Android image with USB Burning Tool. CE networking will not work with 64bit Android image!

1 Like

A-ha!I Now there is network with vim3-android-9-32bit-v231122. I did ask if 64bit is OK to use.

With Android 32 Bit from 23-11-22, I get the same error as before using ceemmc:

CoreELEC:~ # ceemmc

Starting CoreELEC eMMC installation tool...

eMMC size: 0x000747c00000 [32GB]

No CoreELEC installation found on eMMC

Install in dual boot mode, CoreELEC and Android on eMMC
  Use CoreELEC data from
    [1] current used SD or USB device
    [2] existing backup on current used SD or USB device

Install in single boot mode, only CoreELEC on eMMC
  Use CoreELEC data from
    [3] current used SD or USB device
    [4] existing backup on current used SD or USB device

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

Free space of 'partition CE_FLASH': 512MB
Warning: Could not find 'dto' partition!
Could not find 'CE_STORAGE' partition!
Failed to read size of partition 'CE_STORAGE'!
Failed to create new partition table!

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

Free space of 'partition CE_FLASH': 512MB
Warning: Could not find 'dto' partition!
Could not find 'CE_STORAGE' partition!
Failed to read size of partition 'CE_STORAGE'!
Failed to create new partition table!

Both options 3 and 4 give the same error as I got with the ancient Android.

Then use an older Android and try again, I don’t remember what is the last working one.

The error shows something is not as it should be with the written image. Do not use RAW image. vim3-android-9-32bit-v231122.raw.img.xz is a no go.
Try burning this https://dl.khadas.com/products/vim3/firmware/android/vim3-android-9-32bit-v231122.img.xz

2022? 2023?

Thanks. That’s the exact one I used on this last try. I did not use raw.
vim3-android-9-32bit-v231122.img

Try again with any other (not raw) 32bit image. After successful burning process it should work. Use the correct dtb.img for VIM3 coreelec.
I’ve used two days ago the one I suggested for You.

Burn was successful on both 231122 32/64bit.
The problem I don’t have a PC with USB-C so I had a friend come over for it and now he left and I have to find another one haha.
I downloaded these now:
vim3-android-9-32bit-v230329.img.xz
vim3-android-9-32bit-v221228.img.xz

My SD card already has 20.3 ng flashed on it with the CoreELEC-Amlogic-ng.arm-20.3-Nexus-Generic.img.gz with g12b_a311d_khadas_vim3.dtb copied to root and renamed to dtb.img as per instuctions. CE is working fine from SD boot. I just want to get it moved to the eMMC and not run it from SD.

I’m sorry but have no clue why it is not working. You may try to remove all partitions and make a full EMMC format with owow and do a factory device reset before burning Android again.

Just installed Coreelec-no on VIM3, had to select number 1 for it to boot from emmc.

Works just fine.

I didn’t try the older Androids I downloaded yet as I have to get a PC with USB-C again to do it. It’s quite limiting my tryouts at this point.
Not familiar with owow and it’s functions yet.

I guess I can try and do dual boo (option 1), I just have no use for Android, so Single boot seemed like a better option.

vim3-android-9-32bit-v230329.img.xz
vim3-android-9-32bit-v221228.img.xz (earliest image on Khadas that isn’t from 2021 like the one I had installed)

Both resulted in the same error when trying to execute options 3 and 4.
I’m guessing it’s not an Android issue then.

@karmantyu - I’ll try and read on owow
@Portisch - any other suggestions?

I tried option in the dual boot options and it didn’t complain at least till the stage I had to OK the installation. Didn’t proceed though. I guess I may go that route if there is no other ideas.