CrealityOfficial/K1_Series_Annex

What is password for OTA image archive?

Opened this issue · 2 comments

I see it's CR4CU220812S11_ota_img_V1.3.2.1.img is 7zip archive, what is the password for it?

I see it's CR4CU220812S11_ota_img_V1.3.2.1.img is 7zip archive, what is the password for it?

I've found a way, but you need to have root privileges on your K1.

save the .img file on the usb stick and connect it to your machine

ls -l /tmp/udisk/sda1/
total 113808
-rwxr-xr-x    1 root     root     116480474 Sep 13 03:05 CR4CU220812S11_ota_img_V1.3.2.1.img

and use the usr/bin/ota_file binary on your K1 to extract its contents into a folder.

mkdir /tmp/udisk/sda1/test

/usr/bin/ota_file e /tmp/udisk/sda1/CR4CU220812S11_ota_img_V1.3.2.1.img /tmp/udisk/sda1/test
7-Zip 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,32 bits,2 CPUs LE)

Scanning the drive for archives:
1 file, 116480474 bytes (112 MiB)

Extracting archive: /tmp/udisk/sda1/CR4CU220812S11_ota_img_V1.3.2.1.img
--
Path = /tmp/udisk/sda1/CR4CU220812S11_ota_img_V1.3.2.1.img
Type = 7z
Physical Size = 116480474
Headers Size = 3418
Method = LZMA2:24 7zAES
Solid = +
Blocks = 1

Everything is Ok

Folders: 2
Files: 119
Size:       117532014
Compressed: 116480474

Afterwards; You can see the files contained but I don't know what to do with it, or how it can be useful.

and how can get .ingenic file as per recovery firmware tool?because my k1 stuck at logo now.