VIM3 V13 can't install ubuntu

Hi!
Today I got a new Khadas VIM3 v13.
Does not allow you to perform an upgrade.
Signature verification error.
I take the images from here

What to do?
error screen

model view

@smatsak Can you try with Ubuntu firmware ?

@jasonl @Terry @tenk.wang Please help this

Hello, Welcome to the community. :slightly_smiling_face:

Images with SD/USB in the name are intended to be burned to and booted from an SD card or USB drive.
Images with EMMC in the name are meant to be flashed over USB, for instance, using the USB Burning Tool.
Both types of images can be found here.
Check that you are using the latest version of the USB Burning Tool, found here?

Also the Khadas in-house utility called Krescue can be used as well to flash images to the VIM3.

2 Likes

i took a firmware image for Ubuntu

I recorded it via balenaEtcher on the sd card
Through the buttons on the board I entered the firmware update menu
selected the update item from the SD card
selected aml_autosript.zip
when processing the file, an error message is immediately displayed:
signature verification failed
all messages during installation:
Supported API: 3
– Install /sdcard/aml_autoscript.zip
Finding update package…
Opening update package…
Verifying update package…
E: footer is wrong
Update package verification took 0.0 s (result 1).
E: Signature verification failed
E: error: 21
Installation aborted.

I tried your way, came to failure
I took screenshots, but I can’t post them here
How best to place links to images for your forum?

Ok.
I installed Ubuntu
login and password khadas

How did you fix it? I’m having the same error

Hello @fmagueflor-sf

What errors you have ?

I did the following procedures:

  1. Install latest Android Pie to emmc via usb burn tool
  2. Use update app in android to install Ubuntu gnome 5.18
  3. I get into Android Recovery mode and get the error:
    – Install /sdcard/aml_autoscript.zip
    Finding update package…
    Opening update package…
    Verifying update package…
    E: footer is wrong
    Update package verification took 0.0 s (result 1).
    E: Signature verification failed
    E: error: 21
    Installation aborted.

Also, when I try the alternate method of flashing from USB tool the
vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.0.11-220429-emmc.img

It gives me this error:

[09:15:07 821][Global][Inf]--User click start button
[09:15:07 823][Global][Inf]--SetErase Bootloader 1, Flash1
[09:15:07 823][Global][Inf]--Enable burning 1
[09:15:07 824][Global][Inf]--Scan usb device
[09:15:07 824][Global][Inf]--Aml scan WorldCup Device
[09:15:07 825][Global][Inf]--Burning thread HUB1-5 start
[09:15:07 825][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:07 825][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_43d5&subsys_11421b21&rev_01#4&61e4b1b&0&000a#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:07 825][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&18ea6df9&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:07 825][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:07 825][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:07 825][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:07 825][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:07 826][Global][Inf]-------->[Port4]\\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[09:15:07 826][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:07 827][Global][Inf]-------->[Port6]Other device
[09:15:07 827][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:07 828][Global][Inf]-------->[Port8]Other device
[09:15:07 828][Global][Inf]-------->[Port9]NoDeviceConnected
[09:15:07 828][Global][Inf]-------->[Port10]Other device
[09:15:07 828][Global][Inf]-------->[Port11]NoDeviceConnected
[09:15:07 828][Global][Inf]-------->[Port12]NoDeviceConnected
[09:15:07 828][Global][Inf]-------->[Port13]Other device
[09:15:07 829][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:07 829][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e1&subsys_7a381462&rev_00#4&20e00fc1&0&0441#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:07 829][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&15d2478f&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:07 829][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:07 829][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:07 830][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:07 830][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e0&subsys_7a381462&rev_00#4&20e00fc1&0&0341#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:07 830][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&d6fbcd4&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:07 830][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port4]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port6]NoDeviceConnected
[09:15:07 830][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:07 830][Global][Inf]--Scan USB host controller complete
[09:15:07 830][Global][Inf]--Update data center with HubMap
[09:15:07 830][Global][Inf]--Update hub1 device data
[09:15:07 830][Global][Inf]--Update HUB1-1 
[09:15:07 830][Global][Inf]--Update HUB1-2 
[09:15:07 830][Global][Inf]--Update HUB1-3 
[09:15:07 830][Global][Inf]--Update HUB1-4 
[09:15:07 830][Global][Inf]--Update HUB1-5 \\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[09:15:07 830][Global][Inf]--Update HUB1-6 
[09:15:07 830][Global][Inf]--Update HUB1-7 
[09:15:07 830][Global][Inf]--Update HUB1-8 
[09:15:07 830][Global][Inf]--Update HUB1-9 
[09:15:07 830][Global][Inf]--Update HUB1-10 
[09:15:07 831][Global][Inf]--Update HUB1-11 
[09:15:07 831][Global][Inf]--Update HUB1-12 
[09:15:07 831][Global][Inf]--Update HUB1-13 
[09:15:07 831][Global][Inf]--Update HUB1-14 
[09:15:07 831][Global][Inf]--Scan end 
[09:15:07 887][HUB1-5][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x000006b0
[09:15:07 949][HUB1-5][Inf]--Connect path=USB xHCI Compliant Host Controller/P0/P4
[09:15:07 949][HUB1-5][Inf]--Start burning...
[09:15:08 011][HUB1-5][Inf]--------------ERASE BOOTLOADER------------
[09:15:08 122][HUB1-5][Inf]--0-0-1-8
[09:15:08 122][HUB1-5][Err]--Identify status failed
[09:15:08 122][HUB1-5][Inf]--Failure : 1, FailureMax : 3
[09:15:08 122][HUB1-5][Inf]--[09:15:13 143][Global][Inf]--Catch DBT_DEVICEREMOVECOMPLETE
[09:15:13 144][Global][Inf]--Scan usb device
[09:15:13 144][Global][Inf]--Aml scan WorldCup Device
[09:15:13 145][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:13 145][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_43d5&subsys_11421b21&rev_01#4&61e4b1b&0&000a#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:13 146][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&18ea6df9&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:13 146][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:13 146][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:13 146][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:13 146][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:13 146][Global][Inf]-------->[Port4]NoDeviceConnected
[09:15:13 146][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:13 147][Global][Inf]-------->[Port6]Other device
[09:15:13 147][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:13 148][Global][Inf]-------->[Port8]Other device
[09:15:13 148][Global][Inf]-------->[Port9]NoDeviceConnected
[09:15:13 149][Global][Inf]-------->[Port10]Other device
[09:15:13 149][Global][Inf]-------->[Port11]NoDeviceConnected
[09:15:13 149][Global][Inf]-------->[Port12]NoDeviceConnected
[09:15:13 149][Global][Inf]-------->[Port13]Other device
[09:15:13 150][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:13 150][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e1&subsys_7a381462&rev_00#4&20e00fc1&0&0441#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:13 150][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&15d2478f&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:13 151][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:13 151][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:13 151][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:13 151][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e0&subsys_7a381462&rev_00#4&20e00fc1&0&0341#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:13 151][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&d6fbcd4&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:13 152][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port4]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port6]NoDeviceConnected
[09:15:13 152][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:13 152][Global][Inf]--Scan USB host controller complete
[09:15:13 152][Global][Inf]--Update data center with HubMap
[09:15:13 152][Global][Inf]--Update hub1 device data
[09:15:13 152][Global][Inf]--Update HUB1-1 
[09:15:13 152][Global][Inf]--Update HUB1-2 
[09:15:13 152][Global][Inf]--Update HUB1-3 
[09:15:13 152][Global][Inf]--Update HUB1-4 
[09:15:13 152][Global][Inf]--Update HUB1-5 
[09:15:13 153][Global][Inf]--Update HUB1-6 
[09:15:13 153][Global][Inf]--Update HUB1-7 
[09:15:13 153][Global][Inf]--Update HUB1-8 
[09:15:13 153][Global][Inf]--Update HUB1-9 
[09:15:13 153][Global][Inf]--Update HUB1-10 
[09:15:13 153][Global][Inf]--Update HUB1-11 
[09:15:13 153][Global][Inf]--Update HUB1-12 
[09:15:13 153][Global][Inf]--Update HUB1-13 
[09:15:13 153][Global][Inf]--Update HUB1-14 
[09:15:13 153][Global][Inf]--Scan end 
[09:15:13 157][HUB1-5][Inf]--Device is removed
[09:15:14 648][Global][Inf]--Catch DBT_DEVICEARRIVAL
[09:15:14 648][Global][Inf]--Scan usb device
[09:15:14 649][Global][Inf]--Aml scan WorldCup Device
[09:15:14 650][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:14 650][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_43d5&subsys_11421b21&rev_01#4&61e4b1b&0&000a#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:14 650][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&18ea6df9&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:14 653][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:14 653][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:14 653][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:14 660][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:14 669][Global][Inf]-------->[Port4]\\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[09:15:14 672][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:14 673][Global][Inf]-------->[Port6]Other device
[09:15:14 673][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:14 674][Global][Inf]-------->[Port8]Other device
[09:15:14 674][Global][Inf]-------->[Port9]NoDeviceConnected
[09:15:14 674][Global][Inf]-------->[Port10]Other device
[09:15:14 674][Global][Inf]-------->[Port11]NoDeviceConnected
[09:15:14 674][Global][Inf]-------->[Port12]NoDeviceConnected
[09:15:14 675][Global][Inf]-------->[Port13]Other device
[09:15:14 676][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:14 676][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e1&subsys_7a381462&rev_00#4&20e00fc1&0&0441#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:14 676][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&15d2478f&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:14 676][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:14 676][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:14 677][Global][Inf]--Host: USB xHCI Compliant Host Controller
[09:15:14 677][Global][Inf]--DevPath:\\?\pci#ven_1022&dev_15e0&subsys_7a381462&rev_00#4&20e00fc1&0&0341#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[09:15:14 677][Global][Inf]---->Roothub:USB#ROOT_HUB30#5&d6fbcd4&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[09:15:14 677][Global][Inf]-------->[Port0]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port1]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port2]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port3]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port4]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port5]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port6]NoDeviceConnected
[09:15:14 677][Global][Inf]-------->[Port7]NoDeviceConnected
[09:15:14 677][Global][Inf]--Scan USB host controller complete
[09:15:14 678][Global][Inf]--Update data center with HubMap
[09:15:14 678][Global][Inf]--Update hub1 device data
[09:15:14 678][Global][Inf]--Update HUB1-1 
[09:15:14 678][Global][Inf]--Update HUB1-2 
[09:15:14 678][Global][Inf]--Update HUB1-3 
[09:15:14 678][Global][Inf]--Update HUB1-4 
[09:15:14 678][Global][Inf]--Update HUB1-5 \\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[09:15:14 678][Global][Inf]--Update HUB1-6 
[09:15:14 678][Global][Inf]--Update HUB1-7 
[09:15:14 678][Global][Inf]--Update HUB1-8 
[09:15:14 678][Global][Inf]--Update HUB1-9 
[09:15:14 678][Global][Inf]--Update HUB1-10 
[09:15:14 678][Global][Inf]--Update HUB1-11 
[09:15:14 678][Global][Inf]--Update HUB1-12 
[09:15:14 678][Global][Inf]--Update HUB1-13 
[09:15:14 678][Global][Inf]--Update HUB1-14 
[09:15:14 678][Global][Inf]--Scan end 
[09:15:14 725][HUB1-5][Inf]--Device is connected
[09:15:14 725][HUB1-5][Inf]--Close device handle 0x000006b0
[09:15:14 790][HUB1-5][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#6&2d44a6ab&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000bac
[09:15:14 850][HUB1-5][Inf]--Erase bootloader GetNewHandle success!
[09:15:14 963][HUB1-5][Inf]--3-2-0-0
[09:15:14 963][HUB1-5][Inf]-------------Download DDR.USB-----------
[09:15:14 967][HUB1-5][Inf]--3-2-0-0-0-1-0-15
[09:15:14 975][HUB1-5][Inf]--Get GetChipID failed!
[09:15:14 975][HUB1-5][Inf]--Control write pll reg1 0xfffa0000:0x000000b1
[09:15:15 490][HUB1-5][Inf]--Control write pll reg1 0xfffa0000:0x00005183
[09:15:16 008][HUB1-5][Inf]--Write initial succeed
[09:15:16 008][HUB1-5][Inf]--Upload encrypt at 0xff800228
[09:15:16 011][HUB1-5][Inf]--chipid= 0x011c0600000c343641345650, ulValue = 0xe0f83180
[09:15:16 011][HUB1-5][Inf]--Read encrypt value succeed
[09:15:16 011][HUB1-5][Inf]--Download DDR.USB,size: 65536!
[09:15:16 035][HUB1-5][Inf]--Transfer complete 65536
[09:15:16 035][HUB1-5][Inf]--Run at address 0xfffa0000
[09:15:16 043][HUB1-5][Inf]--RunInRam success
[09:15:16 089][HUB1-5][Inf]--0-0-1-8-0-1-0-0
[09:15:16 089][HUB1-5][Inf]--Identify return 4
[09:15:16 089][HUB1-5][Inf]--CheckFileRunState return 1-8
[09:15:16 089][HUB1-5][Inf]-------------Download UBOOT.USB-----------
[09:15:16 093][HUB1-5][Inf]--0-0-1-8-0-1-0-0
[09:15:16 093][HUB1-5][Inf]--G12 init 
[09:15:16 093][HUB1-5][Inf]--Get Encrpt ulValue = 0xe0f83180
[09:15:16 093][HUB1-5][Inf]--Have Semaphore
[09:15:16 093][HUB1-5][Inf]--Download BL2
[09:15:16 093][HUB1-5]Aml_Libusb_bl2_boot2 start! 
[09:15:16 103][HUB1-5]sequence= 0, datasize= 16384, fipOffset= 65536
[09:15:16 117][HUB1-5]sequence= 1, datasize= 49152, fipOffset= 393216
[09:15:16 129][HUB1-5]sequence= 2, datasize= 16384, fipOffset= 229376
[09:15:16 144][HUB1-5]sequence= 3, datasize= 49152, fipOffset= 245760
[09:15:16 209][HUB1-5]sequence= 4, datasize= 16384, fipOffset= 65536
[09:15:16 223][HUB1-5]sequence= 5, datasize= 49152, fipOffset= 393216
[09:15:16 235][HUB1-5]sequence= 6, datasize= 16384, fipOffset= 229376
[09:15:16 250][HUB1-5]sequence= 7, datasize= 49152, fipOffset= 245760
[09:15:16 314][HUB1-5]sequence= 8, datasize= 16384, fipOffset= 65536
[09:15:16 328][HUB1-5]sequence= 9, datasize= 49152, fipOffset= 393216
[09:15:16 340][HUB1-5]sequence= 10, datasize= 16384, fipOffset= 229376
[09:15:16 355][HUB1-5]sequence= 11, datasize= 49152, fipOffset= 245760
[09:15:16 429][HUB1-5]sequence= 12, datasize= 49152, fipOffset= 294912
[09:15:17 110][HUB1-5]sequence= 13, datasize= 16384, fipOffset= 65536
[09:15:17 111]Get CSW, result[FAIL]
[09:15:17 111][HUB1-5]check sum FAIL
[09:15:17 111][HUB1-5]fail in download, sequence 13, ret= -1001
[09:15:17 111][HUB1-5]Aml_Libusb_bl2_boot2 end! 
[09:15:17 111][HUB1-5][Inf]--Release Semaphore
[09:15:17 111][HUB1-5][Err]--Uboot DownLoadGl2 failed
[09:15:17 274][HUB1-5][Err]--[0x10401001]Romcode/Bl2_Boot????

Can you try this image ?

https://dl.khadas.com/firmware/.test/vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.1.1-220915-emmc-develop.img.xz

Oh wait. I didn’t realize this was a different img. Will try now.

EDIT: This works :slight_smile: