Ayrx / axmldecoder

Decoder for the binary XML format used by Android.
Apache License 2.0
20 stars 10 forks source link

Failed to parse Google Chrome AXML #2

Closed ghost closed 2 years ago

ghost commented 2 years ago

File: https://apkpure.com/google-chrome-fast-secure/com.android.chrome/variant/103.0.5060.129-APK

error:

Namespace missing: http://schemas.android.com/apk/res/android',
Ayrx commented 2 years ago

Fixed in a40580820b61396580deed67d86371224f846922. This is a very weird sample where there is no RES_XML_START_NAMESPACE_TYPE chunk, never came across that before.

Keep the issues coming if you see anything else! I'll cut a new release with the updates in a few days if I haven't heard anything else from you. :)

ghost commented 2 years ago

I'm downloading 200gb of APK files and will scan for all of them but need to wait until the weekends to test properly

Ayrx commented 2 years ago

@grubeli You have code to pull the APKs from the Play Store or somewhere else? Is that public anywhere or could you share it? I've been meaning to write something for that since all the ones I've seen are pretty dodgy.

ghost commented 2 years ago

will try to use this one: https://archive.org/details/2018-02-random-apk-collection

ghost commented 2 years ago

this collection also looks solid: https://archive.org/details/phonesoftware