by : iykeDROID™
Nana Iyke Quame
Current Version : v1.8
NOTE Make sure that android_system_extraction_and_repack_tool is located at Desktop
- Run "Xtrakt" from it's location in terminal
- Copy "file_contexts.bin" from your Rom to "file_context_zone" folder
- Use "f" from menu to convert "file_contexts.bin" to text readable "file_contexts"
- Copy : system.new.dat, system.transfer.list & file_contexts to "convert-dat" folder.
- Use "i" from menu to unpack, which the output will be name as "rom_system" for modifications of apks & files.
- Use "y" from menu to repack, which the complete new "system.new.dat", "system.patch.dat" & "system.transfer.list" will be located at "Finish-new.dat" folder
- Done !
EXAMPLE:
In your terminal, type the following to start the script:
git clone https://github.com/iykequame/android_system_extraction_and_repack_tool.git
mv android_system_extraction_and_repack_tool ~/Desktop/
cd ~/Desktop/android_system_extraction_and_repack_tool/
./Xtrakt
OR
Double-click the Xtrakt file and choose "Run in Terminal" if your OS supports it.
sudo is requested in the script.
Sources :
Threads
For file_context.bin conversion by: Pom Kritsada @ MTK THAI Developers.
Credit to :
-all xda threads which helped
-Nana Yaa {Jennie} for her time.