Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,164 Members 49,841 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
RedScorpioXDA
Old
(Last edited by RedScorpioXDA; 17th February 2014 at 02:10 PM.) Reason: New version
#1  
Senior Member - OP
Thanks Meter 122
Posts: 140
Join Date: Apr 2012

 
DONATE TO ME
Default [TOOL] imgRePackerRK (RockChip's firmware images unpacker/packer)

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, 2541 views)
File Type: zip imgRePackerRK_094.zip - [Click for QR Code] (51.5 KB, 960 views)
File Type: zip imgRePackerRK_095.zip - [Click for QR Code] (57.5 KB, 1525 views)
File Type: zip imgRePackerRK_100.zip - [Click for QR Code] (125.3 KB, 1041 views)
File Type: zip imgRePackerRK_101.zip - [Click for QR Code] (130.2 KB, 679 views)
File Type: zip imgRePackerRK_102.zip - [Click for QR Code] (130.3 KB, 3000 views)
File Type: zip imgRePackerRK_103.zip - [Click for QR Code] (131.4 KB, 1165 views)
File Type: zip imgRePackerRK_104.zip - [Click for QR Code] (132.9 KB, 5201 views)
The Following 29 Users Say Thank You to RedScorpioXDA For This Useful Post: [ Click to Expand ]
 
RedScorpioXDA
Old
#2  
Senior Member - OP
Thanks Meter 122
Posts: 140
Join Date: 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: [ Click to Expand ]
 
powerpsy
Old
#3  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: 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
 
RedScorpioXDA
Old
#4  
Senior Member - OP
Thanks Meter 122
Posts: 140
Join Date: 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: [ Click to Expand ]
 
powerpsy
Old
#5  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: May 2013
Quote:
Originally Posted by RedScorpioXDA View Post
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
 
RedScorpioXDA
Old
#6  
Senior Member - OP
Thanks Meter 122
Posts: 140
Join Date: Apr 2012

 
DONATE TO ME
Quote:
Originally Posted by powerpsy View Post
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
 
powerpsy
Old
#7  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: May 2013
Quote:
Originally Posted by RedScorpioXDA View Post
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, 455 views)
 
powerpsy
Old
#8  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: 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  ]==========================
 
RedScorpioXDA
Old
#9  
Senior Member - OP
Thanks Meter 122
Posts: 140
Join Date: Apr 2012

 
DONATE TO ME
Quote:
Originally Posted by powerpsy View Post
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 View Post
backup (RESERVED) skipped
This means the file is absent in firmware, the partition name is reserved
 
powerpsy
Old
#10  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: 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 View Post
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

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

Advanced Search
Display Modes