Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P65_package_extractor apk_extractor not working #558

Closed
jblu42 opened this issue Mar 31, 2023 · 2 comments · Fixed by #603
Closed

P65_package_extractor apk_extractor not working #558

jblu42 opened this issue Mar 31, 2023 · 2 comments · Fixed by #603
Assignees
Labels
bug Something isn't working Extractor (Pxx) some extractor thing (Pxx modules)

Comments

@jblu42
Copy link
Contributor

jblu42 commented Mar 31, 2023

Describe the bug
Doing a test run on an android image, get errors for extracting the APKs with P65_package_extractor and the apk_extractor submodule.

The APKs are actually extracted by some of the other modules (have to check which), but the command line in the module:

tar xpf "$APK" --directory "$R_PATH" || true

does not work for any APKs for me.
APK can be extracted with unzip, unblob or binwalk, never seen it with tar.

Expected behavior
apk_extractor submodule working

Priority issue
N - low priority

@m-1-k-3 m-1-k-3 added bug Something isn't working Extractor (Pxx) some extractor thing (Pxx modules) labels Mar 31, 2023
@m-1-k-3
Copy link
Member

m-1-k-3 commented Mar 31, 2023

apk files are handled in multiple areas within EMBA. Binwalk should extract them, unblob also. The main idea from P65 is to extract it in the identified root directory. With this mechanism all files are in the correct place which is important for the emulation modules.

The failed extraction is a bug which should be fixed. Thanks for reporting.

@github-actions
Copy link

This issue is stale because it has been open for 28 days with no activity.

@github-actions github-actions bot added the stale label Apr 29, 2023
@m-1-k-3 m-1-k-3 self-assigned this Apr 29, 2023
@github-actions github-actions bot removed the stale label Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Extractor (Pxx) some extractor thing (Pxx modules)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants