22 pagesV  < 1 2 3 4 5 6 > »  
 
REPLY
> [TOOL] imgRePackerRK -
Redscorpio
Message#1
29.04.13, 22:16
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

imgRePackerRK
Utility for unpacking / packing firmware imagesRockchip(* .img)


Version 1.06 windows & linux Attached fileimgRePackerRK_106.zip(176.25 KB)

Purpose:
Unpacking for making changes and then packing RockChip format firmware images. It can also be used to correct the checksums md5 and RockChip CRC.

Opportunities:
- unpacking and packingRkfw- images (format descriptiona) firmware (with / without processing files of the 2nd layer);
- unpacking and packingRkaf- images (format descriptiona) firmware (with / without processing files of the 2nd layer);
- unpacking and packing files of the 2nd layer; supported:Android boot image (04), RockChip bootloader image (15), gzip / cpio archive file (14), cpio_ascii_new archive file (19), Rockchip resources image (30).
- verification and correction of checksumsmd5andRockChip CRC.

Tested on firmware:
- RK28xx (ChipID = 0xXXXXXX21);
- RK29xx (ChipID = 0xXXXXXX5X);
- RK30xx (ChipID = 0xXXXXXX6X);
- RK31xx (ChipID = 0xXXXXXX7X);
- RK32xx (ChipID = 0xXXXXXX8X);
- RK33xx (ChipID = 0xXXXXXX4X).

Utility use

Note:
The Windows version of the utility uses an external library for unpacking / packing gzip / cpio files.zlib1.dll (http://www.zlib.net/)and its own simplified algorithm for unpacking / packing cpio (however, similar, judging by the result, the original). The Linux version uses a call to external native gzip / gunzip and cpio utilities (so simple repacking without changes does not directly match the resulting firmware).
Used codes designate file types:
-1 - not defined;
00 - Unknown;
04 - Android boot image;
06 - ext3 image;
11 - RockChip KRNL signed file;
12 - RockChip PARM signed file;
14 - gzip / cpio archive file;
15 - RockChip bootloader image;
16 - ext4 image;
17 - cpio_bin_odc archive file;
18 - cpio_ascii_odc archive file;
19 - cpio_ascii_new archive file;
20 - cpio_ascii_crc archive file.

The composition of the archive:
1. imgRePackerRK.exe - Windows version.
2. zlib1.dll - gzip file support library for Windows version.
3. imgrepackerrk - Linux version.
4. ReadMe.txt - this file.
5. ReadMe_utf8.txt - the same in UTF-8 encoding.

Special thanks:
Jean-loup Gailly & Mark Adler for zlib library (http://www.zlib.net/)

Change log and old versions
1.06 [W & L] (03/05/2017)
+ Added support for the format RockChip uboot;
+ added DirtyBlk method;
+ support for old format RKFW;
+ RK support ???? (ChipID = 0x00000021);
+ RK33xx support (ChipID = 0x00000041);
+ if the file size is undefined in parameters, set in firmware 0;
+ create files with size = 0;
+ check / pass BOM;
+ added the definition of OS;
+ added key / rmd4;
~ improved reading algorithm bcpath and lname;
~ minor improvements.
1.05 [W & L] (08/10/2015) Attached fileimgRePackerRK_105.zip (153.68 KB)
~ using WinAPI to create directories;
+ support format Rockchip resources image;
+ support RK32xx (ChipID = 0x00000080);
+ added key / symb;
+ added key / bcpath;
+ added key / lname;
+ creating configuration files for RKAndroidTool v.1.xx / 2.xx;
+ check of "intersections" of sections and "holes" between them;
+ comparing file length with partition size.
1.04 [W & L] (02.17.2014) Attached fileimgRePackerRK_104.zip (132.86 KB)
+ unpacking / packing PARM-signed single files;
~ the unpacking algorithm of the KRNL-signed files is changed (we cut off the "superfluous");
~ Improved algorithm for automatic correction of the error describing the size of the area reserved for individual files;
- removed the key / blk;
+ minor improvements.
1.03 [W & L] (01.21.2014) Attached fileimgRePackerRK_103.zip (131.45 KB)
~ fixed bug checking symlink-s with absolute paths (CPIO);
+ Added automatic error correction describing the size of the area reserved for individual files;
+ added key / blk;
+ added key / cid.
1.02 [W & L] (Oct 3, 2013) Attached fileimgRePackerRK_102.zip (130.35 KB)
~ Fixed bug with unpacking / packing of "single-faced" KRNL-signed images.
1.01 [W & L] (10/01/2013) Attached fileimgRePackerRK_101.zip (130.15 KB)
+ Added support for the nongzipped format. cpio_ascii_new archive file;
+ added key / skip.
1.00 [W & L] (09/06/2013) Attached fileimgRePackerRK_100.zip (125.34 KB)
! Release;
+ Added support for gzip / cpio archive file;
+ Added support for the cpio_ascii_new archive file format;
~ optimized some code sections;
- key / inter is deleted;
- fixed minor errors in the code;
+ minor improvements.
0.95 [W & L] (05/26/2013) Attached fileimgRePackerRK_095.zip (57.5 KB)
! pre-release # 5;
+ Added support for the RockChip format bootloader image.
0.94 [W & L] (05/17/2013) Attached fileimgRePackerRK_094.zip (51.52 KB)
! pre-release # 4;
+ added key / 2nd;
+ Added support for Android boot image format.
0.93 [W & L] (04/29/2013) Attached fileimgRePackerRK_093.zip (38.54 KB)
! pre-release # 3.
0.92 [W & L] (04/21/2013)
! pre-release (for internal use)
Known Issues Pending
Description of firmware formats and component files

Alternative download link

Post has been editedRedscorpio - 03.08.17, 15:12
Redscorpio
Message#42
21.01.14, 22:19
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

kruvas,
new utility version (1.03), key/ blk- everything is digested
kruvas
Message#43
11.02.14, 16:35
Novice
***
[offline]

Group: Active users
Messages 37
Check in: 16.06.12

Reputation:-  5  +

new version of utility (1.03), key / blk - everything is digested

I apologize for the long silence, thank you very much for the update. Unpacked, I will pick the firmware.
Redscorpio
Message#44
17.02.14, 21:21
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

imgRePackerRK
Utility for unpacking / packing firmware imagesRockchip(* .img)

Version 1.04 windows & linux (17.02.2014)

+ unpacking / packing "standing alone"PARM-signedfiles;
~ modified unpacking algorithmKRNL-signedfiles (cut off the "extra");
~ Improved algorithm for automatic correction of the error describing the size of the area reserved for individual files;
+ key removed/ blk;
+ minor improvements.
Sanaes
Message#45
20.02.14, 18:50
Veteran
********
[offline]

Group: Curators
Messages 1478
Check in: 17.06.10
Oneplus 5T 6/64

Reputation:-  359  +

RedScorpio,Thanks for the utility. But one thing, if you write at the same time under GNU / Linux in the Readme.txt, it would be nice to expose the Orthodox coding


--------------------
Redscorpio
Message#46
20.02.14, 22:49
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

Sanaes,
Is Orthodox the 866 table? I am writing in Far-e, I don’t really look at what encoding is worth.
Sanaes
Message#47
22.02.14, 19:20
Veteran
********
[offline]

Group: Curators
Messages 1478
Check in: 17.06.10
Oneplus 5T 6/64

Reputation:-  359  +

RedScorpio,
This is UTF-8)))


--------------------
Redscorpio
Message#48
22.02.14, 20:17
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

Sanaes @ 02.22.2014, 20:20*
This is UTF-8)))

Hmm, OK, if I don’t forget, in the next version I will try to do it (in general I don’t use nix; I’ll have RHEL an old virtual server on one server a few kilometers away - I will compile / test utilities on it).
Redscorpio
Message#49
22.02.14, 23:38
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

MVolodya,
It was possible to parse and "further" if you use the key/ 2nd
Well, collect - the same
Redscorpio
Message#50
23.02.14, 11:12
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

MVolodya @ 02.23.2014, 10:06*
imgRePackerRK.exe 2nd update.img
That's right:
imgRePackerRK.exe/2nd update.img
Redscorpio
Message#51
23.02.14, 23:53
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

MVolodya @ 02.23.2014, 16:23*
system and misc not printed

You mean not unpacked?
In misc, there is usually nothing to unpack, and the system you have is ext3, what kind of unpacking do you expect? If you want to dig deeper, you can:
a) Mount this file in some * nix
b) Use WinImage or UltraISO programs (I don’t know what ext3 supports, check)
c) There are a lot of pretty serious projects to support ext3 / ext4 in Windows (look on the Internet)

I think that there can be no better support than the OS, for which this file system is native, (in your case ext3 and, accordingly, some * nix). Therefore, I have some virtualized Linux at hand, and I did not promise support for unpacking / packing file systems.
goodoane
Message#52
23.04.14, 17:15
Novice
***
[offline]

Group: Active users
Messages 30
Check in: 04.02.10
Meizu M2 Note

Reputation:-  21  +

Hi RedScorpio,
Thank you for your wonderful tool.
I used your tool to unpack the backup.img as a curiosity becouse my MINIX NEO-X7 use this partition too. It seems that it is contain boot.img, misc.img, recovery.img, loader.bin, parameter. If I try to pack it back then I’ll find the parameter file in /backup.img.dump/image.dump/ then if I put the parameter file it I am looking for an update. imk RKFW. Can you add an option to unpack / repack the backup.img to your wonderful tool? ..
Thank you!
Sorry for writing in english.
Redscorpio
Message#53
24.04.14, 06:59
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

goodoane
Please use/ rkafoption

Ps. Can you send me a link to this firmware?
genrih123
Message#54
11.05.14, 13:37
Visitor
**
[offline]

Group: Active users
Messages 19
Check in: 21.09.12

Reputation:-  2  +

I tried to unpack the firmware from rk2928 was refused: (
Photo attached

Attached images
Attached Image
Redscorpio
Message#55
12.05.14, 06:49
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

genrih123,
Use the key/ cid
alinghi2
Message#56
07.07.14, 21:55
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 109
Check in: 05.01.09
Honor 5C (Europe)

Reputation:-  2  +

Azzazazazazza !! I'M STUPID!!!!! : thank_you:
kikster
Message#57
07.07.14, 23:02
Visitor
**
[offline]

Group: Active users
Messages 16
Check in: 04.08.12
Samsung Galaxy Gio GT-S5660

Reputation:-  0  +

Good time of day!
Tell me please. And where are the drivers in the firmware?! need to raise wifi ...
Thank you in advance!
suici
Message#58
17.07.14, 10:24
a guest
*
[offline]

Group: Users
Messages 1
Check in: 27.07.07
HP iPAQ hx2410

Reputation:-  0  +

Is it possible to say a few words about the differences between the livesuit and livesuit2 (phoenixsuit) formats?
Redscorpio
Message#59
10.09.14, 12:33
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

Is it possible to say a few words about the differences between the livesuit and livesuit2 (phoenixsuit) formats?

Sorry for the delay in answering - for some reason I did not go to the forum for a long time.
Regarding the formats:
1. You are wrong topic. It concerns imgRePackerRk(i.e. unpacking RockChip firmware)
2. While I can not make time for "theoretical calculations"
rubitwa
Message#60
25.10.14, 17:01
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1403
Check in: 25.05.09

Reputation:-  124  +

Good afternoon, I downloaded .img for marsboard with Linux build in it, the utility really helped to unpack everything, but I’m wondering how I can pour the RKFW image into my mk809II (rk3066 8gb) whistle, of course you can use a simple flasher (RKAndroidTool) and upload everything in the unpacked form, but another method is still interesting with the use of the rkfw image.

Post has been editedrubitwa - 25.10.14, 17:18


--------------------
Redscorpio
Message#61
25.10.14, 17:17
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* rubitwa
RkBatchTool

22 pagesV  < 1 2 3 4 5 6 > » 


 mobile version    Now: 05/20/19 08:12