22 pagesV  « < 19 20 21 22 > »  
 
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#402
19.12.18, 18:46
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* masterrer, I have already said several times that this is a markup error. I just have nothing to watch here
Redscorpio
Message#403
20.12.18, 21:44
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

Sha-man @ 12/14/18 17:41*
imgRePackRK asks me to send you an email, but the email is inconvenient for me, so I leave the file here, then I can remove it - there is some non-standard signature length in the header.
...
Attached fileuboot.zip (585,18 КБ)

Finally got to see.
I hasten to rejoice - RockChip u-boot appeared, which are beyond my control.
Let me explain: the format of thisu-bootallows the use of RSA electronic signatures. Earlier, I never met u-boot with such a signature, and now they have appeared. In principle, I did not see the need to change the u-boot, but if someone needs it, they will have to “scratch” a lot of things and the success of the final result is not guaranteed.
Sha-man
Message#404
20.12.18, 21:58
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 346
Check in: 20.08.07
Asus mypal a716

Reputation:-  49  +

RedScorpio @ 12/20/18, 19:44*
The format of this u-boot allows the use of RSA e-signature. Earlier, I never met u-boot with such a signature and now they appeared

There still appeared something - the signature of the firmware and the bootloader, which without this signature does not want to load the firmware ... Tighten the nuts: (
However, they themselves made a hole in this protection in the form of SD_Firmware_Tool :)
Redscorpio
Message#405
20.12.18, 23:26
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* Sha-man,
If the firmware is signed by RSA - we are in the span
Sha-man
Message#406
21.12.18, 00:18
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 346
Check in: 20.08.07
Asus mypal a716

Reputation:-  49  +

RedScorpio @ 12.20.18, 21:26*
If the firmware is signed by RSA - we are in the span

No need to panic :)
With SD_Firmware_Tool, you can always replace the loader with the old version, which does not check any signatures. So we will stretch some more time until they insert these checks into the primary loader :)
Faust3000
Message#407
19.02.19, 02:16
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 808
Check in: 01.10.12
Freelander PX2, PX1p

Reputation:-  144  +

People, help me figure it out. I want to pick the firmware Digma R634. There are two firmware files to choose from, through the utility and through the memory card. Which image should I unpack? And how best to do it?
OS Linux.


--------------------
LKA_
Message#408
19.02.19, 08:18
Old resident
*******
[online]

Group: Friendssavagemessiahzine.com
Messages 933
Check in: 23.10.14
Philips Xenium W732

Reputation:-  55  +

* Faust3000,
it looks like the same thing, only at the beginning of the image for the map is an update script, in which, by the way, you can spy different things.
PS: judging by the signature of R.K.2.8.X.X. it's a rockchip, so it just won't be.


--------------------
In this forum there is an acute shortage of requests for help without answers, so do not read the cap, write right away.
Danvert
Message#409
06.03.19, 17:59
Visitor
**
[offline]

Group: Active users
Messages 19
Check in: 03.03.19

Reputation:-  2  +

when I pack the resource.img file I get this:

imgRepackerRK (version 1.06 windows)
Rockchip firmware batch / update images unpacker / packer

(c) RedScorpio, Moscow, 2013-2017
[email protected]

Detected OS: Windows 8 Home [build 9200] x64
Real OS: Windows 10 Home [build 17763] x64
========================== [START] ===================== =====

--- Firmware creating ---

- "image.cfg" configuration file reading -
Can't open file "resource.img.dump \ image.cfg" for reading
Can't read image.cfg. Second layer files can't be processed.


How to solve?
Redscorpio
Message#410
06.03.19, 23:13
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

DanveRt @ 03/06/19, 17:59*
How to solve?

Use the right command. Quote from help
imgRepackerRK.exe [options]<[path \] name [.ext]>.cfg - for 2nd layer files packing

Post has been editedRedscorpio - 06.03.19, 23:13
Diman_3452
Message#411
07.03.19, 05:41
Help
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3891
Check in: 26.02.13
Oukitel C4

Reputation:-  545  +

Hal9k
Message#412
08.04.19, 23:37
Developer
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2685
Check in: 12.07.11

Reputation:-  622  +

* RedScorpio,imgrepackerrk (version 1.07d_test linux) cannot open the * .img file larger than 2Gb.
Can't open file "update.img" for reading
Could you pay attention to this moment? : rolleyes:


--------------------
Redscorpio
Message#413
09.04.19, 08:50
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* Hal9k, and the link?
Hal9k
Message#414
09.04.19, 09:14
Developer
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2685
Check in: 12.07.11

Reputation:-  622  +

Turexg
Message#415
15.04.19, 16:40
a guest
*
[offline]

Group: Users
Messages 7
Check in: 07.07.18

Reputation:-  0  +

Good afternoon, does it work with RK3126 based devices?
I'm trying to pack an empty frp partition into the original firmware file.http://ftp.dexp.club/T…01_05.05.2018_V1.1.zip
added it to package-file
frp Image / frp.img
in parameter.txt it already exists
Packages successfully, but when trying to flash Test Device Fail
Redscorpio
Message#416
15.04.19, 17:28
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* TurexgIf the firmware is a standard format, then no difference. Try to just unpack and pack without changes. If it is stitched and there will be no problems - look for what you are doing wrong
Redscorpio
Message#417
17.04.19, 21:47
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* Hal9k,
A new version. In principle, I did not change a single line of code, I just added one command for the compiler (I had to look for what to add, for a very long time)

Post has been editedRedscorpio - 17.04.19, 21:48
Hal9k
Message#418
17.04.19, 22:26
Developer
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2685
Check in: 12.07.11

Reputation:-  622  +

aserge
Message#419
03.05.19, 22:01
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 891
Check in: 12.12.11

Reputation:-  188  +

Tell me, I understand my Chip ID is not supported?
A photo
Attached Image


Post has been editedaserge - 04.05.19, 07:19
Diman_3452
Message#420
04.05.19, 06:57
Help
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3891
Check in: 26.02.13
Oukitel C4

Reputation:-  545  +

Redscorpio
Message#421
04.05.19, 12:33
Passerby
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1491
Check in: 19.09.09

Reputation:-  273  +

* aserge,
It seems that this is not the first year on the forum, and instead of logs you catch pictures ...

22 pagesV  « < 19 20 21 22 > » 


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