Page 1 of 1

[GUIDE] Unpacking System and Vendor partitions in Amlogic Image

Posted: Sun May 19, 2019 5:06 pm
by Nayam
Back with another one :D
I've been having trouble using Ricky's tools because of a few reasons. The file_contexts are not read correctly and that makes ATV ROMs to not boot properly. Second reason is the repacking is a bit different so it doesn't work with SD CARD.

My solution?
Use Official Amlogic Customization Tool and unpack/repack manually ;)

Here are the steps that I follow:

1. Load an Image
Make sure you select the logo option, not the system option.
Go to

Code: Select all

C:\Program Files (x86)\Amlogic\CustomizationTool\tmp
Open Level 1 folder and copy
system.PARTITION and vendor.PARTITION
5. Download Ricky's Amlogic Tools v6 and extract them somewhere.
Now open the tool folder and go to its bin folder.
Paste the files that you copied earlier in this folder.

6. Open CMD by Pressing Windows + R button and type cmd and click ok. Now cd to your Amlogic Tools v6 directory.
7. Now, you have to unpack these 2 files.
Just drag these PARTITION FILES over the ImgExtractor.exe and you'll have the respective folder of the PARTITION file extracted :)
Repacking is broken because of file contexts issue. I'm still searching for alternative solution and hence the delay in oreo boi.