Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP RedScorpioXDA

30th April 2013, 05:01 AM   |  #1  
OP Senior Member
Thanks Meter: 130
 
162 posts
Join Date:Joined: Apr 2012
Donate to Me
imgRePackerRK
RockChip's firmware images (*.img) unpacker/packer


Version 1.04 Windows & Linux

Supported firmware images (known):
- RK29xx (ChipID=0x00000050);
- RK30xx (ChipID=0x00000060);
- RK31xx (ChipID=0x00000070).

Supported second layer file formats:
- Android boot image;
- RockChip bootloader image;
- gzip/cpio archive file;
- cpio_ascii_new archive file.
Attached Files
File Type: zip imgRePackerRK_093.zip - [Click for QR Code] (38.5 KB, 3719 views)
File Type: zip imgRePackerRK_094.zip - [Click for QR Code] (51.5 KB, 1292 views)
File Type: zip imgRePackerRK_095.zip - [Click for QR Code] (57.5 KB, 1781 views)
File Type: zip imgRePackerRK_100.zip - [Click for QR Code] (125.3 KB, 1301 views)
File Type: zip imgRePackerRK_101.zip - [Click for QR Code] (130.2 KB, 928 views)
File Type: zip imgRePackerRK_102.zip - [Click for QR Code] (130.3 KB, 3307 views)
File Type: zip imgRePackerRK_103.zip - [Click for QR Code] (131.4 KB, 1516 views)
File Type: zip imgRePackerRK_104.zip - [Click for QR Code] (132.9 KB, 9538 views)
Last edited by RedScorpioXDA; 17th February 2014 at 03:10 PM. Reason: New version
The Following 30 Users Say Thank You to RedScorpioXDA For This Useful Post: [ View ]
17th May 2013, 06:55 PM   |  #2  
OP Senior Member
Thanks Meter: 130
 
162 posts
Join Date:Joined: Apr 2012
Donate to Me
imgRePackerRK
RockChip's firmware images (*.img) unpacker/packer


New version (0.94 Windows & Linux) ready

+ /2nd key added
+ Android boot image support added
The Following 2 Users Say Thank You to RedScorpioXDA For This Useful Post: [ View ]
26th May 2013, 11:10 AM   |  #3  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Thumbs up imgRePackerRK working very well
Hi,
Thank you for this wonderful piece of software.
I tested it on windows 7 64 with an official image for 97RQ tablet (found on slatedroid)

So this is RK3188 tablet.

I used "imgRePackerRK tablet.img",
then with th system.img in the dump/Image folder, I was able to mount in ubuntu and modify build.prop and modify some apk as well.

Then, i made "imgRePackerRK tablet.img.dump",
and the image was built correctly.

I flashed the img using RKBatchTool V1.6 and....

Works perfectly !

So thank you very much for this tool RedScorpioXDA.

Cheers,
sam
27th May 2013, 10:57 AM   |  #4  
OP Senior Member
Thanks Meter: 130
 
162 posts
Join Date:Joined: Apr 2012
Donate to Me
imgRePackerRK
RockChip's firmware images (*.img) unpacker/packer


New version (0.95 Windows & Linux) ready

+ RockChip bootloader images support added
The Following 2 Users Say Thank You to RedScorpioXDA For This Useful Post: [ View ]
9th June 2013, 07:18 PM   |  #5  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by RedScorpioXDA

imgRePackerRK
RockChip's firmware images (*.img) unpacker/packer


New version (0.95 Windows & Linux) ready

+ RockChip bootloader images support added

Hey, I confirm your tool opens bootloader images for Rockchip images. It works both ways (packing & repacking)

Do you plan to be able to open images that are done with "dd" command ?
e.g. when rooted in android terminal, sending the command:
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk.img

Thanks !

Sam
9th June 2013, 09:35 PM   |  #6  
OP Senior Member
Thanks Meter: 130
 
162 posts
Join Date:Joined: Apr 2012
Donate to Me
Quote:
Originally Posted by powerpsy

Do you plan to be able to open images that are done with "dd" command ?
e.g. when rooted in android terminal, sending the command:

Code:
dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk.img

Please provide an example of such image
10th June 2013, 07:52 PM   |  #7  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by RedScorpioXDA

Please provide an example of such image

To get such image, please follow the link here:
http://forum.xda-developers.com/show...php?p=31141300

The image seems to be a FAT32-LBA
If I do not specify count / skip parameters, I get an image of 4Go (I will not put here).

Instead I tried quickly to make an image of 1024*4ko (4Mo)


Is it enough or do you ned more ?

++
Attached Files
File Type: 7z test1024.7z - [Click for QR Code] (12.1 KB, 616 views)
13th June 2013, 09:44 PM   |  #8  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Hello,
when unpacking a rom for RK3188 tablet, i noticed the backup image is not extracted:
example of the image taken is a VISTURE 10.06.2013 full image (found in pan.baidu.com)
It says: backup (RESERVED) skipped

any explanation to do job ?

Thanks

Code:
imgRePackerRK (version 0.95 windows)
Rockchip firmware batch image unpacker/packer

(c) RedScorpio, Moscow, 2013
    RedScorpio@land.ru

==========================[ START ]==========================

--- Firmware unpacking ---

"RKFW" image file detected

Image properties:
        Type            RockChip batch image (RKFWf)
        Version         4.1.1
        Date            2013.06.11
        Time            15:09:33
        ChipID          0x00000070
        Code(?)         0x01060000

-- boot.img processing --

-- update.img processing --
Image properties:
        Type            RockChip update image (RKAF)
        Id              "007"
        Model           "V97 HD"
        Manufacturer    "RK30SDK"
        Version         4.1.1

- Files extracting -
Image files count = 10

package-file (package-file)             extracted (format: unknown)
bootloader (RK3188Loader(L)_V1.04.bin)          extracted (format: RockChip bootloader image)
parameter (parameter)           extracted (format: RockChip PARM signed file)
misc (Image/misc.img)           extracted (format: unknown)
boot (Image/boot.img)           extracted (format: Android boot image)
recovery (Image/recovery.img)           extracted (format: Android boot image)
system (Image/system.img)               extracted (format: ext3/ext4 image)
backup (RESERVED)       skipped
update-script (update-script)           extracted (format: unknown)
recover-script (recover-script)         extracted (format: unknown)

- rkCRC summ of update.img checking -
Stored rkCRC            = 0x70fd48ef
Calculated rkCRC        = 0x70fd48ef

- md5 summ checking -
MD5 summ (Z:\xpad\rom\20130610 VISTURE V97 HD FW.img.dump\_img.files\image.md5)         saved
Stored MD5              = "b2ff6c1da264fc8a379ad8e79d7adb3d"
Calculated MD5          = "b2ff6c1da264fc8a379ad8e79d7adb3d"

- image.cfg creating -
image.cfg created

==========================[ STOP  ]==========================
13th June 2013, 10:06 PM   |  #9  
OP Senior Member
Thanks Meter: 130
 
162 posts
Join Date:Joined: Apr 2012
Donate to Me
Quote:
Originally Posted by powerpsy

To get such image, please follow the link here:
http://forum.xda-developers.com/show...php?p=31141300

Unfortunately I have not found images in this discussion. Can you provide a direct link?

Quote:
Originally Posted by powerpsy

backup (RESERVED) skipped

This means the file is absent in firmware, the partition name is reserved
14th June 2013, 03:38 PM   |  #10  
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: May 2013
Unfortunately, I still can't post links due to posts <10.
Firmwares images for RK3188 can be found on slatedroid on N90FHDRK topics.
Hope I can put links in next posts !

And thanks for the explanation. This means there is no recovery partition... But what happends when flashing an image without recovery partition ? the existing is not replaced or it is erased ?

Quote:
Originally Posted by RedScorpioXDA

Unfortunately I have not found images in this discussion. Can you provide a direct link?



This means the file is absent in firmware, the partition name is reserved


Post Reply Subscribe to Thread

Tags
rockchip unpacker
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes