Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is password for OTA image archive? #1

Open
EvilGremlin opened this issue Sep 12, 2023 · 2 comments
Open

What is password for OTA image archive? #1

EvilGremlin opened this issue Sep 12, 2023 · 2 comments

Comments

@EvilGremlin
Copy link

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

@beatwinthewave
Copy link

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.

@ckvteamresque
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants