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

[feature] Detect correct resource type in obfuscated resource folder names #952

Closed
alissonlauffer opened this issue Jun 12, 2020 · 5 comments

Comments

@alissonlauffer
Copy link
Contributor

alissonlauffer commented Jun 12, 2020

Actually, if an app have its resource folder names obfuscated, Jadx won't try to decode/correct them.

Take a look at https://github.com/alissonlauffer/via-browser-dump/tree/master/src/main: Obfuscated resources are under the r folder with obfuscated subfolders, while others (Which are under resources.arsc) are under the res folder with non-obfuscated subfolders.

Note: If I decompile and rebuild the app with apktool, resource folder names will be decoded and jadx will decompile them fine, but this could be done by Jadx directly.

APK: https://apkpure.com/via-browser-fast-light-geek-best-choice/mark.via.gp/download

@liatsineam
Copy link

I think this feature is very useful, Jadx should add this feature like apktool.

@bagipro
Copy link
Collaborator

bagipro commented Oct 25, 2020

@alissonlauffer
Can you recheck please?

@alissonlauffer
Copy link
Contributor Author

Ok, I've built jadx with the bug_994 branch and tested saving the project as a Gradle project, but resource files are being saved inside src/main instead of src/main/res:
image

@bagipro
Copy link
Collaborator

bagipro commented Oct 25, 2020

@alissonlauffer
Updated the PR

@bagipro
Copy link
Collaborator

bagipro commented Oct 25, 2020

Should be fixed

@bagipro bagipro closed this as completed Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants