[TOOL] Android 9.0 partition repack tool's

Post your great articles here :)
soldiaz
Expert Member
Posts: 405
Joined: Sat Sep 29, 2018 6:29 pm
Answers: 0
Has thanked: 28 times
Been thanked: 23 times

#1

There are several windows tools for repacking:

4PDA: https://www.mediafire.com/file/6zsu98mk ... 2.zip/file
even v3 available but could not finde anymore...

This one another: https://www.mediafire.com/file/oybbiv1d ... 5.zip/file
User avatar
em3ka
Moderator
Posts: 1835
Joined: Sun Jul 15, 2018 11:43 am
Answers: 0
Has thanked: 108 times
Been thanked: 370 times

#2

soldiaz wrote: Fri Jan 22, 2021 7:19 pm even v3 available but could not finde anymore...
Mini-kitchen for the first, second and third levels of working with .img firmware:
Changelog
SPOILER_SHOW
- Added third level of unpacking / packaging (boot, recovery, logo, devicetree)
- Added the ability to create full ota zip (fota) from level1 (Java is required).
vtx_kitchen_v3.zip

Instructions (translated):
Level 1
SPOILER_SHOW
Kitchenette to work with the first level of Amlogic firmware
-------------------------------------------------- -----

Instructions:

1) to unpack the firmware, take the UBT Image (.img) file and put it in the in folder.
If the name is confusing, rename it to something simple for example ax95.img

2) click _unpack_level1.bat

3) in the level1 folder, replace / edit the files:

aml_sdc_burn.UBOOT- bootloader, file 1
DDR.USB - bootloader, file 2.change simultaneously with f.1

boot.PARTITION - kernel

_aml_dtb.PARTITION - kernel settings file

recovery.PARTITION - recovery

logo.PARTITION - logo (sometimes depends on the bootloader).

odm.PARTITION -
product.PARTITION -
system.PARTITION -
vendor.PARTITION - These 4 sections contain the system files.

4) click _pack_level1.bat, in the out folder we take the finished img file.
to create a full OTA, click _pack_level1_fota.bat

5) Enjoy.
Level 2
SPOILER_SHOW
Kitchenette for working with the second level of firmware Amlogic
-------------------------------------------------- ------

Instructions:

1) to work with the second level, you must unpack level 1 (see level1.txt)

2) click _unpack_level2.bat

3) in the level2 folder, replace / edit the files in the folders:

system - the system section
vendor - the vendor section
product - product section
odm - odm section

If you add new files or folders that require special rights
(by default, new files and folders are assigned privileges 0644 and 0755 during packing)
then register these rights in the * _fs_config files.
* _File_contexts files are needed to register SELinux privileges
And * _size files set the size of this or that partition.

4) click _pack_level2.bat
to create a full OTA, click _pack_level1_fota.bat

5) then pack level 1 (click _pack_level1.bat, see level1.txt)

6) Enjoy.
Level 3
SPOILER_SHOW
Kitchenette to work with the third level of firmware Amlogic
-------------------------------------------------- ------

Instructions:

1) to work with the third level, you must unpack level 1 (see level1.txt)

2) click _unpack_level3.bat

3) in the level3 folder, replace / edit the files in the folders:

boot - boot partition (kernel)
recovery - recovery section
logo - logo section
devtree - devicetree section

4) click _pack_level3.bat

5) then pack level 1 (click _pack_level1.bat, see level1.txt)
to create a full OTA, click _pack_level1_fota.bat

6) Enjoy.
by XVortex [4PDA.ru]
You do not have the required permissions to view the files attached to this post.
soldiaz
Expert Member
Posts: 405
Joined: Sat Sep 29, 2018 6:29 pm
Answers: 0
Has thanked: 28 times
Been thanked: 23 times

#3

yes thats it, runs good!
Kameo
Posts: 1
Joined: Sun Mar 07, 2021 10:44 am
Answers: 0

#4

soldiaz
Expert Member
Posts: 405
Joined: Sat Sep 29, 2018 6:29 pm
Answers: 0
Has thanked: 28 times
Been thanked: 23 times

#5

offline :-(
User avatar
em3ka
Moderator
Posts: 1835
Joined: Sun Jul 15, 2018 11:43 am
Answers: 0
Has thanked: 108 times
Been thanked: 370 times

#6

The kitchen has been updated to v5 - removed the aosp2atv patch (now it is in a separate project*), made it fully compatible with x86 + minor fixes.
Image

vtx_kitchen_v5.1.zip
by XVortex [4PDA.ru], *Yandex Disk

modEDIT: [2021-11--27] file updated, [2022--17-01] broken link fixed
You do not have the required permissions to view the files attached to this post.
deno1911
Posts: 2
Joined: Sun Jan 16, 2022 6:39 pm
Answers: 0

#7

please new link for kitchen .i get message file cant be delivered
kalehrl
Verified Member
Posts: 11
Joined: Thu Jan 06, 2022 12:22 pm
Answers: 0

#8

oldman20
Verified Member
Posts: 17
Joined: Sat May 14, 2022 4:23 pm
Answers: 0
Has thanked: 4 times

#9

which version support Android Pie? thank!
syed007
Posts: 5
Joined: Thu Oct 29, 2020 8:52 am
Answers: 0

#10

soldiaz wrote: Fri Jan 22, 2021 7:19 pm There are several windows tools for repacking:

4PDA: https://www.mediafire.com/file/6zsu98mk ... 2.zip/file
even v3 available but could not finde anymore...

This one another: https://www.mediafire.com/file/oybbiv1d ... p/file<div class="open_grepper_editor" title="Edit & Save To Grepper"></div>
While repacking the image size is almost reduced upto 2gb while I'm just replacing the remote file in vendor/etc
Post Reply