Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Android 9 partition repack tool!
Collapse
X
-
I'm trying to unpack an android 9 image with this but I am getting this error
mkdir -p "out/amlogic/device/1-2g/img-unpack"
touch "out/amlogic/device/1-2g/img-unpack/.stamp.dir"
tools/linux/aml_image_v2_packer -d ingredients/aml_upgrade_package.img out/amlogic/device/1-2g/img-unpack
[Msg]Image package version 0x2
[ERR]f(AmlImagePack.cpp)L306:Image check error! CRC check failed!
[ERR]f(AmlImagePack.cpp)L1635:Image file check failed!
make: *** [build/img-amlogic-unpack.mak:31: out/amlogic/device/1-2g/img-unpack/.stamp.unpack] Error 253
Comment
-
Originally posted by no1special View Posthmm
it comes back with this
aml_upgrade_package.img
Error in pixReadHeader: unknown format in file aml_upgrade_package.img
Error in writeImageFileInfo: failure to read header of aml_upgrade_package.img
Code:binwalk ingredients/aml_upgrade_package.img
Comment
-
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
1248 0x4E0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
3552 0xDE0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
4704 0x1260 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
5856 0x16E0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
7008 0x1B60 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
8736 0x2220 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
10464 0x28E0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
11616 0x2D60 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
12768 0x31E0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
13920 0x3660 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
15072 0x3AE0 Ubiquiti partition header, header size: 56 bytes, name: "PARTITION", base address: 0x00000000, data size: 0 bytes
722869 0xB07B5 Android bootimg, kernel size: 1280131328 bytes, kernel addr: 0x55434553, ramdisk size: 1094713377 bytes, ramdisk addr: 0x7E004C4D, product name: " : fail to load internal RSA key!"
727512 0xB19D8 SHA256 hash constants, little endian
1197571 0x124603 LZO compressed data
1198521 0x1249B9 SHA256 hash constants, little endian
1317552 0x141AB0 gzip compressed data, from Unix, last modified: 1970-01-01 00:00:00 (null date)
2108201 0x202B29 Android bootimg, kernel size: 1280131328 bytes, kernel addr: 0x55434553, ramdisk size: 1094713377 bytes, ramdisk addr: 0x7E004C4D, product name: " : fail to load internal RSA key!"
2112844 0x203D4C SHA256 hash constants, little endian
2582903 0x276977 LZO compressed data
2583853 0x276D2D SHA256 hash constants, little endian
2703488 0x294080 Android bootimg, kernel size: 9535672 bytes, kernel addr: 0x1080000, ramdisk size: 0 bytes, ramdisk addr: 0x1000000, product name: ""
2705536 0x294880 uImage header, header size: 64 bytes, header CRC: 0x5DF80BD0, created: 2019-10-09 06:26:13, image size: 9535608 bytes, Data Address: 0x108000, Entry Point: 0x108000, data CRC: 0xA271987A, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-4.9.113"
2705600 0x2948C0 Linux kernel ARM boot executable zImage (little-endian)
2708036 0x295244 device tree image (dtb)
2734140 0x29B83C gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null date)
12243072 0xBAD080 gzip compressed data, from Unix, last modified: 1970-01-01 00:00:00 (null date)
12327200 0xBC1920 device tree image (dtb)
13228984 0xC9DBB8 gzip compressed data, from Unix, last modified: 1970-01-01 00:00:00 (null date)
13239744 0xCA05C0 Linux EXT filesystem, blocks count: 32768, image size: 33554432, rev 1.0, ext2 filesystem data, UUID=659b9b4d-880e-42cb-87c8-b3e9a47da47d, volume name "odm"
46833696 0x2CAA020 xz compressed data
whats the command to save it to file
Comment
-
I got the image from here https://androidtvbox.eu/t95-max-plus...-soc-20191119/
I appreciate your help.
I'll rename it now and open it
Comment
-
Originally posted by Justsomeone View PostI got the image from here https://androidtvbox.eu/t95-max-plus...-soc-20191119/
I appreciate your help.
I'll rename it now and open it
Comment
What's Going On
Collapse
There are currently 1449 users online. 0 members and 1449 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment