Decompile XAPK file
Asked Answered
B

1

30

I have worked pretty a lot analyzing Android projects with different reverse engineering tools, generally for secure purposes, to see what can be seen by a hacker when he/she gets my app. I've met a problem that I couldn't find any of decompilers capable to decompile files of "XAPK" format (not simple APK). I know, asking for a way to find a tool is not kind of questions good for stack overflow, but I am pretty sure there are many people with the same problem and I find it highly relevant. I tried apk-tool, decompilers provided with androguard tool, online-decompilers, none of them are capable of working with XAPKs.

Basle answered 28/1, 2016 at 19:13 Comment(1)
@Antimony That's an apk file, wihch contains also obb file (opaque binary blob) related to an application in apk file. This kind of files are generally used by different apk-download sevices, like apkpure.com/xapk.htmBasle
N
41

The .xapk is just a ZIP file which contains the original .apk along with some other files. You can simply unzip the .xapk and decompile the .apk within.

For more details, there's Decompiling XAPK Files.

Nordau answered 28/2, 2016 at 16:0 Comment(2)
how do I put it back together, then?Coypu
Looking at the blogpost you could zip it in the original order, and it would be good to go. The only difference from my case was that i got 2 apks, rather than 1. One for the actual application, and second one called "config.arm64_v8a.apk". Looks like the latter is only native libraries.Pill

© 2022 - 2024 — McMap. All rights reserved.