Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Skip additional payload data of TYPE chunk #1324
Some APKs' arsc has additional payload data (like TYPE 8 chunks and/or padding) in the TYPE chunk. After the ARSCDecoder read such kind of chunk, it acts erratically. Most of the time, it just stops parsing the ARSC, therefore, some resources are not decoded because they are not in the apktool's resources' spec table.
The example APKs, attached below, is from Huawei P9 Plus ROM (VIEL29C636B170). Both APK's resource are successfully decoded by aapt included in build tools v24.