Remove All Ads from XDA

[TOOL] imgRePackerRK (RockChip's firmware images unpacker/packer)

335 posts
Thanks Meter: 233
By RedScorpioXDA, Senior Member on 30th April 2013, 04:01 AM
Post Reply Email Thread
24th September 2019, 07:14 PM |#331  
Junior Member
Thanks Meter: 2
Originally Posted by RedScorpioXDA

Works great! thanks a ton!
25th September 2019, 08:21 AM |#332  
OP Senior Member
Thanks Meter: 233
Donate to Me
Originally Posted by osm0sis

It's sha1 for the header "id" checksum, but I've seen some weird variant images which were sha256 as well on Huawei.

Thanks so much.
Note that this algorithm (SHA1) does not match RockChip in V. 0. For it you need to add
  SHA_update(&ctx, &hdr->tags_addr, sizeof(hdr->tags_addr));
  SHA_update(&ctx, &hdr->page_size, sizeof(hdr->page_size));
  SHA_update(&ctx, &hdr->header_version, sizeof(hdr->header_version));
  SHA_update(&ctx, &hdr->os_version, sizeof(hdr->os_version));
  SHA_update(&ctx, &hdr->name, sizeof(hdr->name));
  SHA_update(&ctx, &hdr->cmdline, sizeof(hdr->cmdline));
The Following User Says Thank You to RedScorpioXDA For This Useful Post: [ View ] Gift RedScorpioXDA Ad-Free
27th September 2019, 07:45 AM |#333  
OP Senior Member
Thanks Meter: 233
Donate to Me
New test version
5th October 2019, 06:37 PM |#334  
Senior Member
Thanks Meter: 249
Donate to Me

I tried to unpack the image for a95x r3 rk3318 but it seems that the system.img cannot be extracted:

imgRePackerRK.exe /2nd /rkcrc A95XR3-RK3328.img
--- Firmware unpacking ---

        2-nd layer file unpacking
        sparse image format detected
        "C:\Users\Aco\Desktop\Rockchip\imgRePackerRKa\A95XR3-RK3328.img.dump\Image\system.img" (sparse image) unpacking
        Processed blocks        = 524288
        Stored CRC32            = 0x00000000
        Calculated CRC32        = 0x9b59d6b0
        Stored and calculated CRC32 are not equal
        Probably CRC32 don't used
        Configuration file"C:\Users\Aco\Desktop\Rockchip\imgRePackerRKa\A95XR3-RK3328.img.dump\Image\system.img.cfg"
        Unpacked image format: ext4 image (16)

                Ext3/Ext4 file properties:

                Size:                   2147483648
                Label:                  "/"
                Blocks count:           524288
                Reserved blocks count:  0
                Free blocks count:      60086
                Block size:             4096
                Blocks per group:       32768
                Inodes count:           131072
                Free inodes count:      127648
                Inode size:             256
                Inodes per group:       8192
                Reserved GDT blocks:    127
        "C:\Users\Aco\Desktop\Rockchip\imgRePackerRKa\A95XR3-RK3328.img.dump\Image\system.img"  unpacked
or did I do something wrong?
7th October 2019, 07:51 AM |#335  
OP Senior Member
Thanks Meter: 233
Donate to Me
Originally Posted by acocalypso

sparse image format detected
Unpacked image format: ext4 image (16)

all unpacked (sparse -> ext4)
Post Reply Subscribe to Thread

rockchip unpacker

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes